/* ================================================================
   WC Afiliados Externos — Frontend
   Layout idêntico desktop e mobile: 3 colunas fixas em linha
   ================================================================ */

.wcae-box {
    border: 2px solid #f5c518;
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
    margin: 0 0 20px 0;
    box-shadow: 0 1px 6px rgba(0,0,0,.08);
    width: 100%;
    box-sizing: border-box;
}

.wcae-row {
    display: flex;
    align-items: center;
    border-bottom: 2px solid #f5e642;
    padding: 10px 14px;
    min-height: 62px;
    box-sizing: border-box;
    /* Nunca quebra linha — igual no desktop e mobile */
    flex-wrap: nowrap;
}

.wcae-row:last-child {
    border-bottom: none;
}

.wcae-row:hover {
    background: #fafaf5;
}

/* Coluna 1: Logo */
.wcae-logo-cell {
    width: 100px;
    min-width: 100px;
    max-width: 100px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    flex-shrink: 0;
}

.wcae-logo-cell img {
    width: 90px;
    height: 34px;
    object-fit: contain;
    object-position: left center;
    display: block;
}

.wcae-store-text {
    font-size: 13px;
    font-weight: 700;
    color: #222;
    line-height: 1.2;
    word-break: break-word;
}

/* Coluna 2: Preço */
.wcae-price-cell {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 8px;
    min-width: 0;
}

.wcae-price {
    font-size: 16px;
    font-weight: 800;
    color: #e05c00;
    white-space: nowrap;
    letter-spacing: -.3px;
}

.wcae-price-na {
    font-size: 12px;
    color: #999;
    font-weight: 500;
}

/* Coluna 3: Botão */
.wcae-btn-cell {
    width: 90px;
    min-width: 90px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.wcae-btn {
    display: inline-block;
    background: #1a73e8;
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
    padding: 8px 0;
    border-radius: 6px;
    text-decoration: none !important;
    text-align: center;
    width: 84px;
    white-space: nowrap;
    transition: background .15s;
    cursor: pointer;
    border: none;
    box-sizing: border-box;
}

.wcae-btn:hover {
    background: #1558c0;
    color: #fff !important;
    text-decoration: none !important;
}

/* ── Crédito abaixo do box ── */
.wcae-credit {
    text-align: right;
    font-size: 9px;
    color: #aaa;
    margin-top: 1px;
    padding-right: 2px;
}

.wcae-credit a {
    color: #aaa;
    text-decoration: none;
}

.wcae-credit a:hover {
    color: #888;
    text-decoration: underline;
}
