/* ═══════════════════════════════════════════════
   STYKE - ALL PAGE
═══════════════════════════════════════════════ */

/* ══════════════════════════════════════════
   CSS VARIABLES
══════════════════════════════════════════ */
:root {
    --navy: #131921;
    --nav: #232f3e;
    --orange: #febd69;
    --cta: #ff9900;
    --cta-h: #e47911;
    --red: #cc0c39;
    --green: #007600;
    --blue: #007185;
    --bg-page: #eaeded;
    --bg-white: #ffffff;
    --bg-light: #f3f3f3;
    --tx-dark: #0f1111;
    --tx-mid: #565959;
    --tx-muted: #8f9191;
    --bd: #dddddd;
    --rad: 6px;
    --rad-lg: 10px;
    --sh: 0 2px 8px rgba(0, 0, 0, .12);
    --sh-md: 0 4px 18px rgba(0, 0, 0, .16);
    --tr: .2s ease;
    --tr-slow: 0.4s cubic-bezier(0.2, 0.9, 0.3, 1);
}

/* ── Reset ── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    scrollbar-color: #09c6ff #1e3b49;
    scrollbar-width: auto;
}

*::-webkit-scrollbar {
    width: 5px;
    height: 5px;
    outline: 1px solid #555;
}

*::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

*::-webkit-scrollbar-thumb {
    background-color: #ffffff;
    border-radius: 50px;
}

*::-webkit-scrollbar-thumb:hover {
    background: #111;
}

body {
    background: var(--bg-page);
    color: var(--tx-dark);

    font-size: 14px;
    line-height: 1.5;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}


/* ══════════════════════════════════════════
   QUICK VIEW MODAL
══════════════════════════════════════════ */
#qv-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(0, 0, 0, .55);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(3px);
    animation: qvFadeIn .2s ease;
}

#qv-modal.open {
    display: flex;
}

@keyframes qvFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.qv-box {
    background: var(--bg-white);
    border-radius: var(--rad-lg);
    padding: 28px 24px;
    max-width: 700px;
    width: 94%;
    max-height: 92vh;
    overflow-y: auto;
    position: relative;
    animation: qvSlideUp .25s ease;
}

@keyframes qvSlideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.qv-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    color: var(--tx-mid);
    transition: background .2s, color .2s;
    z-index: 1;
}

.qv-close:hover {
    background: var(--red);
    color: #fff;
}

.qv-img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: contain;
    padding: 16px;
    background: #f8f8f8;
    border-radius: var(--rad);
}

.qv-badge {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--primary);
    background: color-mix(in srgb, var(--primary) 10%, transparent);
    padding: 3px 10px;
    border-radius: 20px;
    width: fit-content;
}

.qv-name {

    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.35;
}

.qv-stars {
    display: flex;
    align-items: center;
    gap: 3px;
    color: #f5a623;
    font-size: .85rem;
}

.qv-reviews {
    color: var(--tx-mid);
    font-size: .8rem;
    margin-left: 4px;
}

.qv-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--red);
}

.qv-desc {
    font-size: .88rem;
    color: var(--tx-mid);
    line-height: 1.6;
    border-top: 1px solid var(--border);
    padding-top: 10px;
}

.qv-stock {
    font-size: .85rem;
    font-weight: 600;
}

.in-stock {
    color: #16a34a;
}

.low-stock {
    color: #d97706;
}

.out-of-stock {
    color: var(--red);
}

.qv-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.qv-qty {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--border);
    border-radius: var(--rad);
    overflow: hidden;
}

.qty-btn {
    width: 34px;
    height: 38px;
    background: var(--bg-light);
    color: var(--tx-dark);
    font-size: .8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
}

.qty-btn:hover {
    background: var(--primary);
    color: #007600;
}

#qv-qty-input {
    width: 44px;
    height: 38px;
    border: 1px solid #EEE;
    outline: none;
    text-align: center;
    font-weight: 700;
    font-size: .95rem;
    background: transparent;
}

#qv-qty-input::-webkit-inner-spin-button {
    display: none;
}

.qv-extras {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.qv-extra-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .82rem;
    font-weight: 600;
    color: var(--tx-mid);
    padding: 6px 12px;
    border: 1.5px solid var(--border);
    border-radius: var(--rad);
    transition: border-color .2s, color .2s;
}

.qv-extra-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* ── SKU ── */
.qv-meta {
    font-size: .78rem;
    color: var(--tx-muted);
}

.qv-meta span {
    font-weight: 700;
}

.qv-full-link {
    font-size: .83rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: underline;
    width: fit-content;
}

.qv-full-link:hover {
    color: var(--red);
}

/* stars */
.qv-stars {
    display: flex;
    align-items: center;
    gap: 6px;
}

.qv-stars img {
    height: 16px;
    width: auto;
}

.qv-stars span {
    font-size: .8rem;
    color: var(--tx-mid);
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: var(--cta);
    color: var(--navy);

    font-weight: 800;
    font-size: 13px;
    border-radius: 24px;
    border: 2px solid var(--cta);
    transition: background var(--tr), transform var(--tr);
}

.btn-cta:hover {
    background: var(--cta-h);
    border-color: var(--cta-h);
    transform: translateY(-1px);
}


@media (max-width: 991px) {
    .hdr-auth {
        display: none;
    }
}

@media (max-width: 575px) {
    .hdr-btn {
        display: none;
    }

    .trust-item {
        flex-basis: 100%;
    }
}


/* ══════════════════════════════════════════
   QUICK VIEW MODAL
══════════════════════════════════════════ */
[dir="rtl"] .qv-close {
    right: auto;
    left: 12px;
}

[dir="rtl"] .qv-reviews {
    margin-left: 0;
    margin-right: 4px;
}