/* Flash Sale — CTA Button, Progress, Discount, Navigation, Scroll Indicators */

.flash-cta {
    background: linear-gradient(135deg, #8cb4ff, #c2a5ff);
    color: #0b1020; border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem; border-radius: 999px;
    font-size: 0.8rem; font-weight: 700; cursor: pointer;
    text-transform: none; letter-spacing: 0.03em;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: fit-content; box-shadow: 0 6px 16px rgba(140, 180, 255, 0.3);
    min-height: 36px; min-width: 80px;
    -webkit-appearance: none; appearance: none;
    -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;
    -webkit-tap-highlight-color: rgba(155, 184, 245, 0.3);
}

@media (hover: hover) and (pointer: fine) {
    .flash-cta:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 10px 24px rgba(140, 180, 255, 0.45); }
}
@media (hover: none) and (pointer: coarse) {
    .flash-cta:active { transform: scale(0.96); box-shadow: 0 4px 12px rgba(140, 180, 255, 0.35); }
}
.flash-cta:focus-visible { outline: 2px solid var(--flash-primary); outline-offset: 2px; }

.flash-progress { position: absolute; bottom: 0; left: 0; height: 3px; background: linear-gradient(90deg, var(--flash-primary), var(--flash-secondary)); width: 0%; transition: width 1s linear; opacity: 0.8; border-radius: 0 0 0 1rem; }

.discount-tag { color: var(--flash-secondary); font-size: 0.7rem; font-weight: 700; background: rgba(232, 213, 224, 0.16); padding: 0.15rem 0.4rem; border-radius: 999px; border: 1px solid rgba(232, 213, 224, 0.28); white-space: nowrap; }

.flash-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(12, 15, 22, 0.9); border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--flash-primary); width: 44px; height: 44px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 10; transition: all 0.3s ease;
    opacity: 0; pointer-events: none;
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    font-size: 1.1rem;
    -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;
    -webkit-appearance: none; appearance: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

@media (hover: hover) and (pointer: fine) {
    .flash-items-wrapper:hover .flash-nav, .flash-items-wrapper:focus-within .flash-nav { opacity: 1; pointer-events: auto; }
    .flash-nav:hover { background: var(--flash-primary); color: #0b1020; box-shadow: 0 0 20px rgba(155, 184, 245, 0.5); transform: translateY(-50%) scale(1.1); }
}

.flash-nav:focus-visible { opacity: 1; pointer-events: auto; outline: 2px solid var(--flash-primary); outline-offset: 2px; }
.flash-nav-left { left: 0; }
.flash-nav-right { right: 0; }
.flash-nav:disabled, .flash-nav.disabled { opacity: 0.3 !important; pointer-events: none; cursor: not-allowed; }

@media (hover: none) and (pointer: coarse) { .flash-nav { display: none !important; } }

.flash-scroll-indicator { display: none; justify-content: center; gap: 6px; padding: 8px 0 4px; }
@media (max-width: 768px) { .flash-scroll-indicator { display: flex; } }
.flash-scroll-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); transition: all 0.3s ease; }
.flash-scroll-dot.active { width: 18px; border-radius: 3px; background: var(--flash-primary); }
