/* ============================================================
   AIRBORNE SHOP — Sidebar Styles v1.3.0  (Phase 3)
   Sidebar: Countdown · Deals · Trust Badges · Payment Icons
   ============================================================ */

/* ── Sidebar column ──────────────────────────────────────────── */
.airborne-side-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: sticky;
    top: 24px;
    align-self: start;
}

/* ── Base sidebar box ────────────────────────────────────────── */
.ab-sidebar-box {
    border-radius: 14px;
    padding: 18px;
    border: 1.5px solid rgba(201,168,76,0.45);
    background: var(--ab-card);
}

/* ══════════════════════════════════════════════════════════════
   1. COUNTDOWN BOX
   ══════════════════════════════════════════════════════════════ */
.ab-countdown-box {
    text-align: center;
}

.ab-limited-badge {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--ab-gold);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.ab-sale-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--ab-text);
    margin: 0 0 18px;
    line-height: 1.25;
    font-family: 'Merriweather', Georgia, serif;
}

.ab-countdown {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 18px;
}

.ab-cd-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 52px;
    padding: 10px 8px 8px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.07);
    background: rgba(255,255,255,0.04);
}

.ab-cd-num {
    font-size: 26px;
    font-weight: 700;
    color: var(--ab-gold);
    line-height: 1;
    font-variant-numeric: tabular-nums;
    letter-spacing: -1px;
}

.ab-cd-label {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--ab-muted);
    margin-top: 4px;
    text-transform: uppercase;
}

/* ══════════════════════════════════════════════════════════════
   2. DEALS OF THE DAY
   ══════════════════════════════════════════════════════════════ */
.ab-deals-box {
    padding-bottom: 16px;
}

.ab-sidebar-heading {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--ab-text);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--ab-border);
}

.ab-flash-icon {
    font-size: 14px;
    line-height: 1;
}

/* Deal list */
.ab-deals-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Individual deal row */
.ab-deal-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--ab-border);
    text-decoration: none;
    transition: background 0.2s;
}
.ab-deal-item:hover {
    background: var(--ab-glow);
    border-radius: 8px;
    padding-left: 8px;
    margin: 0 -8px;
}
.ab-deal-item:last-child {
    border-bottom: none;
}

.ab-deal-img {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: var(--ab-img-bg);
    border: 1px solid var(--ab-border);
}
.ab-deal-img img,
.ab-deal-img .ab-deal-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ab-deal-info {
    flex: 1;
    min-width: 0;
}

.ab-deal-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--ab-text);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ab-deal-price-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}

.ab-dp-now {
    font-size: 14px;
    font-weight: 700;
    color: var(--ab-text);
}

.ab-dp-was {
    font-size: 11px;
    color: var(--ab-muted);
    text-decoration: line-through;
}

.ab-dp-badge {
    font-size: 10px;
    font-weight: 700;
    color: #0A0A0B;
    background: var(--ab-gold);
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

/* Mini timer inside deal row */
.ab-deal-timer.ab-mini-timer {
    font-size: 10px;
    font-weight: 600;
    color: var(--ab-muted);
    letter-spacing: 0.5px;
    font-variant-numeric: tabular-nums;
}
.ab-mini-timer span {
    color: var(--ab-gold);
    font-weight: 700;
}

/* View all deals button */
.ab-view-deals {
    margin-top: 14px;
    display: block;
}

/* ══════════════════════════════════════════════════════════════
   3. TRUST BADGES
   ══════════════════════════════════════════════════════════════ */
.ab-trust-box {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ab-trust-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.ab-trust-icon-wrap {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 8px;
    border: 1px solid var(--ab-border);
    background: var(--ab-card-2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ab-gold);
    padding: 8px;
}
.ab-trust-icon-wrap svg {
    width: 18px;
    height: 18px;
    stroke: var(--ab-gold);
}

.ab-trust-text strong {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: var(--ab-text);
    margin-bottom: 2px;
    text-transform: uppercase;
}
.ab-trust-text p {
    font-size: 11px;
    color: var(--ab-muted);
    margin: 0;
    line-height: 1.45;
}

/* ══════════════════════════════════════════════════════════════
   4. PAYMENT ICONS
   ══════════════════════════════════════════════════════════════ */
.ab-payments-box {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    padding: 14px 16px;
}

.ab-pay-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    border: 1px solid var(--ab-border);
    background: var(--ab-card-2);
    color: var(--ab-muted);
    text-transform: uppercase;
    min-width: 58px;
    transition: border-color 0.2s, color 0.2s;
}
.ab-pay-badge:hover {
    border-color: var(--ab-gold);
    color: var(--ab-gold);
}

/* ══════════════════════════════════════════════════════════════
   5. CURRENCY BOX (sidebar variant)
   ══════════════════════════════════════════════════════════════ */
.ab-currency-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ab-currency-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--ab-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.ab-currency-select {
    width: 100%;
    padding: 9px 12px;
    border-radius: 8px;
    border: 1px solid var(--ab-border);
    font-size: 13px;
    font-family: 'Merriweather', Georgia, serif;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23C9A84C'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 9px 6px;
    padding-right: 32px;
}
.ab-currency-select:focus {
    border-color: var(--ab-gold);
}

/* ══════════════════════════════════════════════════════════════
   SHARED BUTTONS (used across sidebar)
   ══════════════════════════════════════════════════════════════ */
.ab-btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 8px;
    background: linear-gradient(135deg, #C9A84C 0%, #E8C86A 60%, #C9A84C 100%);
    color: #0A0A0B;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: opacity 0.2s, transform 0.15s;
    box-shadow: 0 4px 20px rgba(201,168,76,0.3);
}
.ab-btn-gold:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}
.ab-btn-gold.ab-full {
    width: 100%;
    display: flex;
}

.ab-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 22px;
    border-radius: 8px;
    background: transparent;
    color: var(--ab-text);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid var(--ab-border);
    transition: border-color 0.2s, color 0.2s;
}
.ab-btn-outline:hover {
    border-color: var(--ab-gold);
    color: var(--ab-gold);
}
.ab-btn-outline.ab-full {
    width: 100%;
    display: flex;
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 960px) {
    .airborne-side-col {
        position: static;
        order: -1;
    }
    .ab-countdown {
        gap: 6px;
    }
    .ab-cd-unit {
        min-width: 44px;
        padding: 8px 6px;
    }
    .ab-cd-num {
        font-size: 22px;
    }
}
