/* ==========================================
   ATTRACTION — Feature Styles
   (Exit intent, Comparison, Reviews)
   ========================================== */

/* ---- PRODUCT STARS ---- */
.att-product-stars { color: #c9a84c; font-size: .72rem; margin: 2px 0; }
.att-product-stars .bi-star, .att-product-stars .bi-star-fill, .att-product-stars .bi-star-half { font-size: .75rem; }
.att-review-stars-sm { color: #c9a84c; font-size: .85rem; }
.att-review-big-score { font-size: 2.5rem; font-weight: 700; color: #c9a84c; font-family: monospace; line-height: 1; }

/* ---- COMPARE BUTTON ---- */
.att-compare-btn {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: .7rem; color: var(--att-muted); background: none;
    border: 1px solid var(--att-border); border-radius: 20px;
    padding: 2px 8px; cursor: pointer; margin-top: 6px;
    transition: all .2s;
}
.att-compare-btn:hover, .att-compare-btn.active {
    color: var(--att-gold); border-color: var(--att-gold);
}

/* ---- COMPARISON BAR ---- */
.att-comparison-bar {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 1040;
    background: rgba(10,10,10,.95); backdrop-filter: blur(12px);
    border-top: 1px solid var(--att-gold);
    padding: 12px 24px;
    display: flex; align-items: center; gap: 16px;
    box-shadow: 0 -4px 24px rgba(0,0,0,.4);
}
.att-cmp-thumbs { display: flex; gap: 8px; flex: 1; }
.att-cmp-thumb {
    width: 54px; height: 54px; border-radius: 8px; overflow: hidden;
    background: #1a1a1e; border: 1px solid var(--att-border);
    position: relative; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
}
.att-cmp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.att-cmp-thumb-remove {
    position: absolute; top: 2px; right: 2px;
    width: 16px; height: 16px; border-radius: 50%;
    background: rgba(0,0,0,.7); color: #fff;
    border: none; font-size: .6rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center; line-height: 1;
}
.att-cmp-placeholder {
    width: 54px; height: 54px; border-radius: 8px;
    border: 2px dashed var(--att-border);
    display: flex; align-items: center; justify-content: center;
    color: var(--att-muted); font-size: .65rem; text-align: center; flex-shrink: 0;
}
.att-comparison-bar .att-cmp-label { color: var(--att-muted); font-size: .82rem; white-space: nowrap; }

/* ---- EXIT INTENT MODAL ---- */
.att-exit-overlay {
    position: fixed; inset: 0; z-index: 9000;
    background: rgba(0,0,0,.75); backdrop-filter: blur(4px);
    display: none; align-items: center; justify-content: center;
    opacity: 0; transition: opacity .3s;
}
.att-exit-overlay.visible { opacity: 1; }
.att-exit-box {
    background: #111113; border: 1px solid #c9a84c;
    border-radius: 20px; padding: 48px 40px; max-width: 460px;
    width: 90%; text-align: center; position: relative;
    box-shadow: 0 0 60px rgba(201,168,76,.15);
    animation: exitPop .35s cubic-bezier(.34,1.56,.64,1) forwards;
}
@keyframes exitPop { from { transform: scale(.8) translateY(20px); opacity: 0; } to { transform: scale(1) translateY(0); opacity: 1; } }
.att-exit-close {
    position: absolute; top: 16px; right: 16px;
    background: none; border: none; color: #666; font-size: 1.2rem; cursor: pointer;
}
.att-exit-close:hover { color: #e8e4dc; }
.att-exit-promo-code {
    font-family: 'JetBrains Mono', monospace; font-size: 1.6rem; font-weight: 700;
    color: #c9a84c; letter-spacing: .2em;
    border: 2px dashed #c9a84c; border-radius: 8px; padding: 12px 24px;
    display: inline-block; margin: 16px 0;
}

/* ---- SOLD OUT ---- */
.att-sold-out .att-product-img img { opacity: .4; filter: grayscale(40%); }
.att-badge-soldout {
    background: #333 !important; color: #999 !important;
    border: 1px solid #555; letter-spacing: .08em;
}
.att-sold-out .att-product-price .current { color: #666; }
.att-sold-out-overlay {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,.5); backdrop-filter: blur(2px); border-radius: inherit;
}
.att-sold-out-label {
    background: rgba(30,30,30,.9); border: 1px solid #555; color: #999;
    padding: 8px 20px; border-radius: 6px; font-size: .75rem;
    text-transform: uppercase; letter-spacing: .15em; font-weight: 600;
}

/* ---- REVIEWS SECTION ---- */
#modal-reviews { max-height: 300px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #333 transparent; }
.att-star-pick { transition: transform .1s; }
.att-star-pick:hover { transform: scale(1.2); }
.bg-att-gold { background: #c9a84c !important; color: #000 !important; }

/* ---- ORDER TRACKING STEPPER ---- */
.att-tracking-stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
    gap: 0;
}
.att-track-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    position: relative;
    z-index: 1;
}
.att-track-dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--att-card, #1a1a1e);
    border: 2px solid var(--att-border, #333);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    font-size: 1rem;
    transition: all .3s;
}
.att-track-step.active .att-track-dot {
    border-color: #c9a84c;
    color: #c9a84c;
    background: rgba(201, 168, 76, 0.1);
}
.att-track-step.current .att-track-dot {
    border-color: #c9a84c;
    color: #000;
    background: #c9a84c;
    box-shadow: 0 0 16px rgba(201, 168, 76, 0.4);
    animation: trackPulse 2s ease-in-out infinite;
}
@keyframes trackPulse {
    0%, 100% { box-shadow: 0 0 8px rgba(201, 168, 76, 0.3); }
    50% { box-shadow: 0 0 20px rgba(201, 168, 76, 0.6); }
}
.att-track-label {
    font-size: .65rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #555;
    text-align: center;
    max-width: 70px;
    white-space: nowrap;
}
.att-track-step.active .att-track-label {
    color: #c9a84c;
}
.att-track-step.current .att-track-label {
    color: #e8e4dc;
    font-weight: 600;
}
.att-track-line {
    flex: 1;
    height: 2px;
    background: var(--att-border, #333);
    min-width: 20px;
    margin: 0 2px;
    margin-bottom: 22px;
    transition: background .3s;
}
.att-track-line.active {
    background: #c9a84c;
}

@media (max-width: 480px) {
    .att-track-dot { width: 32px; height: 32px; font-size: .85rem; }
    .att-track-label { font-size: .55rem; max-width: 55px; }
    .att-track-line { min-width: 10px; }
}

/* ---- DROP BANNER ---- */
.att-drop-banner {
    position: relative;
    background: linear-gradient(135deg, #0a0a0a 0%, #111113 40%, #0e0c08 100%);
    border-bottom: 2px solid #c9a84c;
    padding: 48px 0 44px;
    overflow: hidden;
}
.att-drop-glow {
    position: absolute;
    top: 50%; left: 50%;
    width: 600px; height: 600px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(201,168,76,.1) 0%, transparent 70%);
    pointer-events: none;
}
.att-drop-particles {
    position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.att-drop-particles span {
    position: absolute;
    width: 3px; height: 3px;
    background: #c9a84c;
    border-radius: 50%;
    opacity: 0;
    animation: dropParticle 4s linear infinite;
}
.att-drop-particles span:nth-child(1) { left: 10%; animation-delay: 0s; }
.att-drop-particles span:nth-child(2) { left: 25%; animation-delay: .5s; }
.att-drop-particles span:nth-child(3) { left: 40%; animation-delay: 1s; }
.att-drop-particles span:nth-child(4) { left: 55%; animation-delay: 1.5s; }
.att-drop-particles span:nth-child(5) { left: 70%; animation-delay: 2s; }
.att-drop-particles span:nth-child(6) { left: 85%; animation-delay: 2.5s; }
.att-drop-particles span:nth-child(7) { left: 15%; animation-delay: 3s; }
.att-drop-particles span:nth-child(8) { left: 60%; animation-delay: 3.5s; }
@keyframes dropParticle {
    0% { opacity: 0; transform: translateY(100%) scale(0); }
    20% { opacity: .7; }
    100% { opacity: 0; transform: translateY(-400px) scale(1.5); }
}

.att-drop-label {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .35em;
    text-transform: uppercase;
    color: #c9a84c;
    margin-bottom: 8px;
    animation: dropLabelPulse 2.5s ease-in-out infinite;
}
@keyframes dropLabelPulse {
    0%, 100% { opacity: .7; }
    50% { opacity: 1; }
}

.att-drop-name {
    font-family: 'Cinzel', serif;
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: .08em;
    color: #e8e4dc;
    margin-bottom: 8px;
    text-shadow: 0 0 40px rgba(201,168,76,.2);
}
.att-drop-desc {
    font-size: .92rem;
    color: #8a8690;
    max-width: 500px;
    margin: 0 auto 28px;
}

/* Countdown */
.att-drop-countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 8px;
}
.att-drop-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.att-drop-flip {
    font-family: 'JetBrains Mono', monospace;
    font-size: 3.2rem;
    font-weight: 700;
    color: #e8e4dc;
    background: linear-gradient(180deg, #1a1a1e 0%, #111113 49.9%, #0e0e10 50%, #0a0a0c 100%);
    border: 1px solid #2a2a2e;
    border-radius: 12px;
    padding: 8px 16px;
    min-width: 88px;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.04);
    line-height: 1.1;
    transition: transform .15s;
}
.att-drop-flip::after {
    content: '';
    position: absolute;
    left: 4px; right: 4px;
    top: 50%;
    height: 1px;
    background: rgba(0,0,0,.5);
    border-top: 1px solid rgba(255,255,255,.03);
}
.att-drop-flip.att-drop-flip-anim {
    animation: flipTick .3s ease-out;
}
@keyframes flipTick {
    0% { transform: scaleY(1); }
    30% { transform: scaleY(.92); }
    60% { transform: scaleY(1.02); }
    100% { transform: scaleY(1); }
}
.att-drop-unit-label {
    font-size: .6rem;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #c9a84c;
}
.att-drop-sep {
    font-family: 'JetBrains Mono', monospace;
    font-size: 2.4rem;
    font-weight: 700;
    color: #c9a84c;
    margin-bottom: 22px;
    animation: dropSepBlink 1s step-end infinite;
}
@keyframes dropSepBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: .3; }
}

/* Notify button */
.att-btn-drop-notify {
    background: transparent;
    border: 2px solid #c9a84c;
    color: #c9a84c;
    font-weight: 700;
    font-size: .88rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 10px 32px;
    border-radius: 50px;
    transition: all .3s;
}
.att-btn-drop-notify:hover {
    background: #c9a84c;
    color: #000;
    box-shadow: 0 0 30px rgba(201,168,76,.4);
}

/* Notify form */
.att-drop-notify-form {
    margin-top: 16px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}
.att-drop-input {
    background: #1a1a1e !important;
    border: 1px solid #333 !important;
    color: #e8e4dc !important;
    border-radius: 50px !important;
    padding: 10px 20px !important;
}
.att-drop-input:focus {
    border-color: #c9a84c !important;
    box-shadow: 0 0 0 3px rgba(201,168,76,.15) !important;
}
.att-btn-drop-submit {
    background: #c9a84c !important;
    color: #000 !important;
    font-weight: 700;
    border-radius: 50px !important;
    padding: 10px 24px !important;
    white-space: nowrap;
}
.att-drop-notify-ok {
    color: #2ecc71;
    font-size: .88rem;
    font-weight: 600;
    margin-top: 12px;
}

/* Live / Available state */
.att-drop-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: .08em;
    color: #c9a84c;
    animation: dropLivePulse 1.5s ease-in-out infinite;
}
@keyframes dropLivePulse {
    0%, 100% { text-shadow: 0 0 10px rgba(201,168,76,.2); }
    50% { text-shadow: 0 0 30px rgba(201,168,76,.5); }
}
.att-drop-live-dot {
    width: 12px; height: 12px;
    background: #2ecc71;
    border-radius: 50%;
    display: inline-block;
    animation: dropDotBlink 1s ease-in-out infinite;
}
@keyframes dropDotBlink {
    0%, 100% { opacity: 1; box-shadow: 0 0 6px #2ecc71; }
    50% { opacity: .4; box-shadow: none; }
}
.att-btn-drop-shop {
    background: #c9a84c !important;
    color: #000 !important;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 14px 40px;
    border-radius: 50px;
    transition: all .3s;
    text-decoration: none;
    display: inline-block;
}
.att-btn-drop-shop:hover {
    background: #d4b65e !important;
    box-shadow: 0 0 40px rgba(201,168,76,.5);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .att-drop-banner { padding: 32px 0 28px; }
    .att-drop-name { font-size: 1.5rem; }
    .att-drop-countdown { gap: 6px; }
    .att-drop-flip { font-size: 1.8rem; min-width: 56px; padding: 6px 8px; border-radius: 8px; }
    .att-drop-sep { font-size: 1.4rem; margin-bottom: 18px; }
    .att-drop-unit-label { font-size: .5rem; }
    .att-drop-live-badge { font-size: 1rem; }
}
@media (max-width: 400px) {
    .att-drop-flip { font-size: 1.3rem; min-width: 44px; padding: 5px 6px; }
    .att-drop-sep { font-size: 1rem; }
}

/* ---- DROP SPLASH SCREEN ---- */
.att-splash {
    position: fixed; inset: 0; z-index: 99999;
    background: #050505;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    transition: opacity .8s ease, transform .8s ease;
}
.att-splash.closing {
    opacity: 0;
    transform: scale(1.05);
    pointer-events: none;
}
.att-splash-glow {
    position: absolute;
    top: 50%; left: 50%;
    width: 800px; height: 800px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(201,168,76,.08) 0%, transparent 65%);
    pointer-events: none;
    animation: splashGlowPulse 3s ease-in-out infinite;
}
@keyframes splashGlowPulse {
    0%, 100% { opacity: .6; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}
.att-splash-particles {
    position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.att-splash-particles span {
    position: absolute;
    width: 2px; height: 2px;
    background: #c9a84c;
    border-radius: 50%;
    opacity: 0;
    animation: splashFloat 6s linear infinite;
}
.att-splash-particles span:nth-child(1) { left: 5%; animation-delay: 0s; }
.att-splash-particles span:nth-child(2) { left: 15%; animation-delay: .4s; }
.att-splash-particles span:nth-child(3) { left: 28%; animation-delay: .9s; }
.att-splash-particles span:nth-child(4) { left: 42%; animation-delay: 1.3s; }
.att-splash-particles span:nth-child(5) { left: 55%; animation-delay: 1.8s; }
.att-splash-particles span:nth-child(6) { left: 68%; animation-delay: 2.2s; }
.att-splash-particles span:nth-child(7) { left: 78%; animation-delay: 2.7s; }
.att-splash-particles span:nth-child(8) { left: 88%; animation-delay: 3.1s; }
.att-splash-particles span:nth-child(9) { left: 35%; animation-delay: 3.6s; }
.att-splash-particles span:nth-child(10) { left: 50%; animation-delay: 4s; }
.att-splash-particles span:nth-child(11) { left: 72%; animation-delay: 4.5s; }
.att-splash-particles span:nth-child(12) { left: 92%; animation-delay: 5s; }
@keyframes splashFloat {
    0% { opacity: 0; bottom: -10px; transform: scale(0); }
    15% { opacity: .6; }
    100% { opacity: 0; bottom: 110%; transform: scale(2); }
}

.att-splash-content {
    position: relative; z-index: 2;
    text-align: center;
    animation: splashFadeUp .8s ease .2s both;
}
@keyframes splashFadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.att-splash-logo {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .5em;
    color: #c9a84c;
    text-transform: uppercase;
    margin-bottom: 20px;
    opacity: 0;
    animation: splashReveal .6s ease .4s both;
}

.att-splash-line {
    width: 60px; height: 1px;
    background: linear-gradient(90deg, transparent, #c9a84c, transparent);
    margin: 0 auto 24px;
    opacity: 0;
    animation: splashReveal .6s ease .6s both, splashLineExpand 1s ease .6s both;
}
@keyframes splashLineExpand {
    from { width: 0; }
    to { width: 60px; }
}
@keyframes splashReveal {
    from { opacity: 0; }
    to { opacity: 1; }
}

.att-splash-drop-label {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .4em;
    color: #c9a84c;
    margin-bottom: 12px;
    opacity: 0;
    animation: splashReveal .6s ease .8s both;
}

.att-splash-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(2rem, 6vw, 4.5rem);
    font-weight: 800;
    color: #e8e4dc;
    letter-spacing: .06em;
    line-height: 1.1;
    margin-bottom: 12px;
    text-shadow: 0 0 60px rgba(201,168,76,.15);
    opacity: 0;
    animation: splashTitleReveal .8s ease 1s both;
}
@keyframes splashTitleReveal {
    from { opacity: 0; transform: translateY(20px) scale(.95); letter-spacing: .15em; }
    to { opacity: 1; transform: translateY(0) scale(1); letter-spacing: .06em; }
}

.att-splash-subtitle {
    font-size: 1rem;
    color: #8a8690;
    max-width: 400px;
    margin: 0 auto 32px;
    opacity: 0;
    animation: splashReveal .6s ease 1.3s both;
}

.att-splash-enter {
    background: transparent;
    border: 2px solid #c9a84c;
    color: #c9a84c;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: .9rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    padding: 14px 44px;
    border-radius: 50px;
    cursor: pointer;
    transition: all .4s ease;
    opacity: 0;
    animation: splashReveal .6s ease 1.6s both;
}
.att-splash-enter:hover {
    background: #c9a84c;
    color: #050505;
    box-shadow: 0 0 50px rgba(201,168,76,.4);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .att-splash-logo { font-size: .8rem; letter-spacing: .35em; }
    .att-splash-enter { padding: 12px 32px; font-size: .8rem; }
}

/* ---- PRINT / INVOICE ---- */
@media print {
    .att-sidebar, .att-main > *:not(.invoice-print), #toast-container { display: none !important; }
}
