/* ????? ? ????? ????? ??????? */
:root {
    --shop-radius: 1rem;
    --shop-radius-lg: 1.5rem;
    --shop-shadow: 0 4px 24px -8px rgba(83, 64, 50, 0.1);
    --shop-shadow-hover: 0 12px 32px -12px rgba(168, 130, 99, 0.28);
    --shop-transition: 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ??????? */
.shop-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: var(--shop-radius-lg);
    font-weight: 600;
    font-size: 0.875rem;
    line-height: 1.25rem;
    transition: transform var(--shop-transition), box-shadow var(--shop-transition), background var(--shop-transition), border-color var(--shop-transition), opacity var(--shop-transition);
    cursor: pointer;
    border: none;
    text-align: center;
}
.shop-btn:active:not(:disabled) { transform: scale(0.98); }
.shop-btn:disabled { opacity: 0.55; cursor: not-allowed; }

.shop-btn-primary {
    background: linear-gradient(135deg, #c6a07f 0%, #a88263 100%);
    color: #fff;
    box-shadow: 0 4px 14px -4px rgba(168, 130, 99, 0.45);
}
.shop-btn-primary:hover:not(:disabled) {
    box-shadow: var(--shop-shadow-hover);
    background: linear-gradient(135deg, #d9bda1 0%, #b08968 100%);
}

.shop-btn-outline {
    background: #fff;
    color: #a88263;
    border: 1.5px solid #e4d3c2;
}
.shop-btn-outline:hover:not(:disabled) {
    background: #faf6f1;
    border-color: #d2b9a2;
}

.shop-btn-ghost {
    background: transparent;
    color: #6f5640;
    border: 1.5px solid transparent;
}
.shop-btn-ghost:hover:not(:disabled) { background: #faf6f1; }

.shop-btn-lg { padding: 0.875rem 1.5rem; font-size: 1rem; font-weight: 700; }
.shop-btn-block { width: 100%; }

/* ?????? */
.shop-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #6b7280;
    margin-bottom: 0.375rem;
}

.shop-input,
.shop-textarea,
.shop-select {
    width: 100%;
    border: 1.5px solid #f1e8de;
    border-radius: var(--shop-radius-lg);
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    background: rgba(250, 246, 241, 0.5);
    transition: border-color var(--shop-transition), box-shadow var(--shop-transition), background var(--shop-transition);
}
.shop-input:focus,
.shop-textarea:focus,
.shop-select:focus {
    outline: none;
    border-color: #d2b9a2;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(210, 185, 162, 0.25);
}
.shop-input.is-error,
.shop-textarea.is-error { border-color: #fca5a5; background: #fef2f2; }
.shop-field-error { font-size: 0.75rem; color: #f87171; margin-top: 0.25rem; }

.shop-search {
    border-radius: 9999px;
    padding-right: 2.75rem;
}

/* ???? */
.shop-card {
    background: #fff;
    border-radius: 1.5rem;
    border: 1px solid rgba(241, 232, 222, 0.9);
    box-shadow: var(--shop-shadow);
}

.shop-card-soft {
    background: linear-gradient(135deg, #faf6f1 0%, #f5f0ea 100%);
    border: 1px solid #f1e8de;
    border-radius: var(--shop-radius-lg);
}

/* ????? */
.shop-qty {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid #f1e8de;
    border-radius: var(--shop-radius-lg);
    overflow: hidden;
    background: #faf6f1;
}
.shop-qty button {
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    color: #8f6e52;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background var(--shop-transition);
}
.shop-qty button:hover:not(:disabled) { background: #f1e8de; }
.shop-qty button:disabled { opacity: 0.35; cursor: not-allowed; }
.shop-qty input {
    width: 2.5rem;
    text-align: center;
    border: none;
    background: transparent;
    font-weight: 700;
    font-size: 0.875rem;
    -moz-appearance: textfield;
}
.shop-qty input::-webkit-outer-spin-button,
.shop-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Toast */
#shop-toast-root {
    position: fixed;
    top: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10050;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: min(24rem, calc(100vw - 2rem));
    pointer-events: none;
}
.shop-toast {
    padding: 0.95rem 1.15rem;
    border-radius: var(--shop-radius-lg);
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 12px 40px -10px rgba(0, 0, 0, 0.28);
    animation: shopToastIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: auto;
}
.shop-toast--success { background: #ecfdf5; border: 1px solid #a7f3d0; color: #047857; }
.shop-toast--error { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; }
@keyframes shopToastIn {
    from { opacity: 0; transform: translateY(-12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ?????? ???? */
.shop-btn.is-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}
.shop-btn.is-loading::after {
    content: '';
    position: absolute;
    width: 1.125rem;
    height: 1.125rem;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: shopSpin 0.65s linear infinite;
}
.shop-btn-outline.is-loading::after {
    border-color: rgba(168, 130, 99, 0.25);
    border-top-color: #a88263;
}
@keyframes shopSpin { to { transform: rotate(360deg); } }

/* ???? ?????? */
#shop-menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(58, 45, 35, 0.35);
    backdrop-filter: blur(2px);
    z-index: 55;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s;
}
#shop-menu-backdrop.is-open { opacity: 1; visibility: visible; }
#shop-mobile-menu.is-open {
    display: block !important;
    animation: shopMenuIn 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes shopMenuIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ?????? ?? ???? */
#shop-back-top {
    position: fixed;
    bottom: 1.25rem;
    left: 1.25rem;
    z-index: 50;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background: #fff;
    border: 1.5px solid #e4d3c2;
    color: #a88263;
    box-shadow: var(--shop-shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity var(--shop-transition), visibility var(--shop-transition), transform var(--shop-transition), background var(--shop-transition);
    cursor: pointer;
}
#shop-back-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
#shop-back-top:hover { background: #faf6f1; }

/* ????????? */
.shop-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.375rem; }
.shop-pagination a,
.shop-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    height: 2.25rem;
    padding: 0 0.625rem;
    border-radius: 0.75rem;
    font-size: 0.8125rem;
    font-weight: 600;
    transition: background var(--shop-transition), color var(--shop-transition);
}
.shop-pagination a {
    background: #fff;
    border: 1px solid #f1e8de;
    color: #6f5640;
}
.shop-pagination a:hover { background: #faf6f1; border-color: #d2b9a2; }
.shop-pagination span[aria-current="page"] {
    background: linear-gradient(135deg, #c6a07f, #a88263);
    color: #fff;
    border: none;
}
.shop-pagination span[aria-disabled="true"] { color: #d1d5db; }

/* ???? ????? ?????? ? ??? */
.shop-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 45;
    padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-top: 1px solid #f1e8de;
    box-shadow: 0 -4px 24px -8px rgba(83, 64, 50, 0.12);
}

/* ??????? */
.shop-skeleton {
    background: linear-gradient(90deg, #f1e8de 25%, #faf6f1 50%, #f1e8de 75%);
    background-size: 200% 100%;
    animation: shopShimmer 1.2s ease-in-out infinite;
    border-radius: 0.5rem;
}
@keyframes shopShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ????? ?????? */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
    outline: 2px solid #d2b9a2;
    outline-offset: 2px;
}

/* ???? ??? */
.skip-link {
    position: absolute;
    top: -100%;
    right: 1rem;
    z-index: 200;
    padding: 0.5rem 1rem;
    background: #a88263;
    color: #fff;
    border-radius: 0.5rem;
    font-size: 0.875rem;
}
.skip-link:focus { top: 0.5rem; }

/* ?? ????? ? ?????????? v2 ?? */
.shop-body {
    background-color: #fdfaf4;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(210, 185, 162, 0.14) 1px, transparent 0);
    background-size: 22px 22px;
}

.shop-section-head {
    text-align: center;
    margin-bottom: 2rem;
}
.shop-section-head .shop-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.6875rem;
    font-weight: 800;
    color: #a88263;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid #f1e8de;
    padding: 0.3rem 0.75rem;
    border-radius: 9999px;
    margin-bottom: 0.65rem;
    box-shadow: 0 2px 10px -4px rgba(168, 130, 99, 0.2);
}
.shop-section-head h2 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 900;
    color: #4a3829;
    line-height: 1.35;
}
.shop-section-head p {
    font-size: 0.8125rem;
    color: #9ca3af;
    margin-top: 0.35rem;
}

/* ???????????? ? ?????? ???????????? */
.cat-flow__stage {
    position: relative;
    padding: 0.5rem 0 0.25rem;
}
.cat-flow__viewport {
    overflow-x: auto;
    overflow-y: hidden;
    border-radius: 1.75rem;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 0.25rem;
}
.cat-flow__viewport::-webkit-scrollbar { display: none; }
.cat-flow__rail {
    display: flex;
    gap: 1rem;
}
.cat-flow__slide { scroll-snap-align: center; }

.cat-flow__slide {
    position: relative;
    flex: 0 0 calc(88% - 0.5rem);
    min-height: 13.5rem;
    border-radius: 1.75rem;
    padding: 1.6rem 1.4rem 1.5rem;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 10px 28px -18px rgba(83, 64, 50, 0.2);
    opacity: 0.52;
    filter: brightness(0.9) saturate(0.75);
    transform: scale(0.93);
    transition:
        opacity 0.45s ease,
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.5s ease,
        filter 0.5s ease,
        border-color 0.45s ease;
    cursor: pointer;
}
.cat-flow__slide.is-active {
    opacity: 1;
    filter: brightness(1.12) saturate(1.45) contrast(1.04);
    transform: scale(1.045);
    z-index: 2;
    border-color: rgba(255, 255, 255, 1);
}
.cat-flow__glow {
    position: absolute;
    inset: -25%;
    pointer-events: none;
    opacity: 0;
    background:
        radial-gradient(ellipse 70% 55% at 28% 18%, rgba(255, 255, 255, 0.85) 0%, transparent 55%),
        radial-gradient(ellipse 55% 45% at 78% 82%, rgba(255, 255, 255, 0.45) 0%, transparent 60%);
    transition: opacity 0.5s ease;
    mix-blend-mode: soft-light;
}
.cat-flow__slide.is-active .cat-flow__glow {
    opacity: 1;
}
.cat-flow__slide--p0,
.cat-flow__slide--girl {
    background: linear-gradient(145deg, #ffc2df 0%, #ffe0ef 42%, #fff5fa 100%);
    color: #d63384;
}
.cat-flow__slide--p0.is-active,
.cat-flow__slide--girl.is-active {
    background: linear-gradient(145deg, #ff7eb9 0%, #ffb3d9 40%, #ffe6f2 100%);
    box-shadow:
        0 0 0 2px rgba(255, 255, 255, 0.95),
        0 0 22px 2px rgba(255, 77, 166, 0.75),
        0 0 48px 8px rgba(255, 120, 190, 0.45),
        0 28px 56px -22px rgba(214, 51, 132, 0.4);
}
.cat-flow__slide--p1,
.cat-flow__slide--boy {
    background: linear-gradient(145deg, #9ef0d4 0%, #d4fbeb 42%, #f0fffb 100%);
    color: #0d9f78;
}
.cat-flow__slide--p1.is-active,
.cat-flow__slide--boy.is-active {
    background: linear-gradient(145deg, #3dffc0 0%, #9af5d8 40%, #e8fff8 100%);
    box-shadow:
        0 0 0 2px rgba(255, 255, 255, 0.95),
        0 0 22px 2px rgba(20, 240, 180, 0.7),
        0 0 48px 8px rgba(80, 255, 200, 0.4),
        0 28px 56px -22px rgba(13, 159, 120, 0.38);
}
.cat-flow__slide--p2 {
    background: linear-gradient(145deg, #ffc9a0 0%, #ffe6cc 42%, #fff8f0 100%);
    color: #e06720;
}
.cat-flow__slide--p2.is-active {
    background: linear-gradient(145deg, #ff9a4d 0%, #ffc48a 40%, #fff0df 100%);
    box-shadow:
        0 0 0 2px rgba(255, 255, 255, 0.95),
        0 0 22px 2px rgba(255, 140, 50, 0.75),
        0 0 48px 8px rgba(255, 180, 90, 0.42),
        0 28px 56px -22px rgba(224, 103, 32, 0.38);
}
.cat-flow__slide--p3 {
    background: linear-gradient(145deg, #b8ddff 0%, #ddefff 42%, #f5faff 100%);
    color: #2b7fd4;
}
.cat-flow__slide--p3.is-active {
    background: linear-gradient(145deg, #5cb0ff 0%, #a8d6ff 40%, #eaf5ff 100%);
    box-shadow:
        0 0 0 2px rgba(255, 255, 255, 0.95),
        0 0 22px 2px rgba(60, 160, 255, 0.75),
        0 0 48px 8px rgba(120, 190, 255, 0.42),
        0 28px 56px -22px rgba(43, 127, 212, 0.38);
}
.cat-flow__slide--p4 {
    background: linear-gradient(145deg, #d4b8ff 0%, #ebe0ff 42%, #f8f4ff 100%);
    color: #8b5cf6;
}
.cat-flow__slide--p4.is-active {
    background: linear-gradient(145deg, #b57aff 0%, #d4b3ff 40%, #f0e8ff 100%);
    box-shadow:
        0 0 0 2px rgba(255, 255, 255, 0.95),
        0 0 22px 2px rgba(168, 85, 255, 0.75),
        0 0 48px 8px rgba(196, 140, 255, 0.42),
        0 28px 56px -22px rgba(139, 92, 246, 0.4);
}
.cat-flow__slide--p5 {
    background: linear-gradient(145deg, #ffe66d 0%, #fff3ad 42%, #fffbef 100%);
    color: #c9a000;
}
.cat-flow__slide--p5.is-active {
    background: linear-gradient(145deg, #ffe135 0%, #fff08a 40%, #fffce8 100%);
    box-shadow:
        0 0 0 2px rgba(255, 255, 255, 0.95),
        0 0 22px 2px rgba(255, 220, 40, 0.8),
        0 0 48px 8px rgba(255, 235, 100, 0.45),
        0 28px 56px -22px rgba(201, 160, 0, 0.35);
}
.cat-flow__orb {
    position: absolute;
    width: 11rem;
    height: 11rem;
    border-radius: 9999px;
    right: -3rem;
    top: -3rem;
    background: radial-gradient(circle, rgba(255,255,255,0.95) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0.55;
    transition: opacity 0.45s ease, transform 0.55s ease;
}
.cat-flow__slide.is-active .cat-flow__orb {
    opacity: 1;
    transform: scale(1.18);
}
.cat-flow__emoji {
    position: absolute;
    left: 0.55rem;
    bottom: 0.15rem;
    font-size: clamp(4.25rem, 12vw, 5.85rem);
    line-height: 1;
    opacity: 0.28;
    transform: rotate(-8deg) translateY(6px);
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease, filter 0.45s ease;
    pointer-events: none;
    filter: saturate(1.05);
}
.cat-flow__slide.is-active .cat-flow__emoji {
    opacity: 0.82;
    transform: rotate(-2deg) translateY(0) scale(1.12);
    filter: saturate(1.35) drop-shadow(0 0 18px rgba(255, 255, 255, 0.85));
}
.cat-flow__content {
    position: relative;
    z-index: 1;
    max-width: 17rem;
}
.cat-flow__tag {
    display: inline-flex;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.95);
    color: inherit;
    padding: 0.22rem 0.6rem;
    border-radius: 9999px;
    margin-bottom: 0.7rem;
}
.cat-flow__content h3 {
    font-size: clamp(1.2rem, 3vw, 1.55rem);
    font-weight: 900;
    margin-bottom: 0.45rem;
    color: #3d3348;
}
.cat-flow__slide.is-active .cat-flow__content h3 {
    color: #2a2035;
    text-shadow: 0 0 24px rgba(255, 255, 255, 0.9);
}
.cat-flow__content p {
    font-size: 0.84rem;
    line-height: 1.75;
    color: #6b6475;
    margin-bottom: 1.15rem;
}
.cat-flow__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(255, 255, 255, 0.92);
    color: inherit;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 0.55rem 1rem;
    border-radius: 9999px;
    box-shadow: 0 8px 20px -12px rgba(90, 70, 110, 0.3);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.cat-flow__slide.is-active .cat-flow__cta {
    background: #fff;
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.95), 0 10px 22px -10px rgba(90, 70, 110, 0.35);
}
.cat-flow__slide:hover .cat-flow__cta {
    background: #fff;
    transform: translateX(-2px);
}

.cat-flow__btn {
    position: absolute;
    top: 42%;
    z-index: 5;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 9999px;
    border: 1px solid #f1e8de;
    background: rgba(255, 255, 255, 0.95);
    color: #6f5640;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px -12px rgba(83, 64, 50, 0.4);
    transition: transform 0.2s ease, background 0.2s ease;
}
.cat-flow__btn:hover { transform: scale(1.06); background: #fff; }
.cat-flow__btn--next { left: 0.35rem; }
.cat-flow__btn--prev { right: 0.35rem; }

.cat-flow__dots {
    display: flex;
    justify-content: center;
    gap: 0.45rem;
    margin-top: 1.1rem;
}
.cat-flow__dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 9999px;
    border: 0;
    padding: 0;
    background: #e8d5f0;
    transition: width 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}
.cat-flow__dot.is-active {
    width: 1.5rem;
    background: #ff6eb4;
    box-shadow: 0 0 12px rgba(255, 110, 180, 0.7);
}

@media (min-width: 768px) {
    .cat-flow__slide {
        flex-basis: calc(52% - 0.5rem);
        min-height: 14.5rem;
        padding: 1.9rem 1.75rem;
    }
    .cat-flow__btn--next { left: -0.35rem; }
    .cat-flow__btn--prev { right: -0.35rem; }
}

@media (min-width: 1024px) {
    .cat-flow__slide {
        /* باید از عرض ویوپورت بزرگ‌تر باشد تا اسکرول خودکار و نئون فعال شود */
        flex-basis: calc(42% - 0.7rem);
    }
}

@media (prefers-reduced-motion: reduce) {
    .cat-flow__rail { transition: none; }
    .cat-flow__slide { transition: none; filter: none; }
    .cat-flow__slide.is-active { transform: none; }
}

.shop-wave {
    display: block;
    width: 100%;
    height: 2rem;
    margin: -1px 0;
    color: #faf6f1;
}

.shop-card--product {
    position: relative;
    border-radius: 1.5rem;
}
.shop-card--product::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
    opacity: 0;
    transition: opacity var(--shop-transition);
}
.shop-card--product:hover::after { opacity: 1; }

.shop-product-heading {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    min-width: 0;
}
.shop-product-sku {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.35rem;
    margin: 0;
    max-width: 100%;
    font-size: 0.68rem;
    font-weight: 500;
    line-height: 1.3;
    color: #c9bdb0;
    opacity: 0.78;
}
.shop-product-sku__label {
    flex-shrink: 0;
    font-family: inherit;
    font-weight: 600;
    color: #d2c6ba;
}
.shop-product-sku__value {
    min-width: 0;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #c4b5a5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.shop-product-sku--lg {
    margin: 0.2rem 0 0;
    font-size: 0.78rem;
    opacity: 0.72;
}
.shop-product-sku--lg .shop-product-sku__label {
    color: #d0c3b5;
}
.shop-product-sku--lg .shop-product-sku__value {
    color: #b9aa9a;
}
.shop-product-stock {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 700;
    color: #5b8f7b;
}
.shop-product-stock--lg {
    font-size: 0.82rem;
}
.shop-product-stock.is-low {
    color: #c0784a;
}
.shop-product-stock.is-out {
    color: #b09191;
}

/* ?? ???? ?????? ????? (PDP) ?? */
.pdp-info {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    min-width: 0;
}
.pdp-info__top {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
}
.pdp-info__category {
    margin: 0;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #b08968;
    letter-spacing: 0.01em;
}
.pdp-info__title {
    margin: 0;
    font-size: clamp(1.35rem, 2.8vw, 1.85rem);
    font-weight: 800;
    color: #2d2420;
    line-height: 1.35;
}
.pdp-info .shop-product-sku--lg {
    margin: 0;
}

.pdp-price {
    padding: 0.95rem 1.05rem;
    border-radius: 1.15rem;
    background: linear-gradient(135deg, #fffaf5 0%, #f7eee4 100%);
    border: 1px solid #ead9c8;
}
.pdp-price__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem 0.75rem;
}
.pdp-price__current {
    font-size: clamp(1.35rem, 2.4vw, 1.7rem);
    font-weight: 800;
    color: #8f6e52;
    letter-spacing: -0.01em;
}
.pdp-price__old {
    font-size: 0.9rem;
    color: #c4b5a5;
    text-decoration: line-through;
}
.pdp-price__badge {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.7rem;
    border-radius: 9999px;
    background: #fff;
    border: 1px solid #e4d3c2;
    color: #a88263;
    font-size: 0.75rem;
    font-weight: 700;
}
.pdp-price__ship,
.pdp-price__vat {
    margin: 0.45rem 0 0;
    font-size: 0.72rem;
    color: #a89888;
    line-height: 1.6;
}
.pdp-price__vat { margin-top: 0.2rem; }

.pdp-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}
.pdp-chips--tight { gap: 0.35rem; }
.pdp-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.32rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid transparent;
}
.pdp-chip--girl { background: #faf0e8; color: #a88263; border-color: #ead9c8; }
.pdp-chip--boy { background: #eef6f2; color: #5b8f7b; border-color: #d5e8df; }
.pdp-chip--unisex { background: #f5f0ea; color: #8a7564; border-color: #e8ddd2; }
.pdp-chip--age { background: #eef6f2; color: #4f7d6c; border-color: #d5e8df; }
.pdp-chip--tag { background: #fff8ef; color: #9a7348; border-color: #f0e0cc; }
.pdp-chip--soft { background: #fff; color: #7a6a5c; border-color: #ead9c8; font-weight: 600; }

.pdp-panel {
    padding: 1rem 1.05rem;
    border-radius: 1.15rem;
    background: #faf7f3;
    border: 1px solid #f1e8de;
}
.pdp-panel__title {
    margin: 0 0 0.7rem;
    font-size: 0.82rem;
    font-weight: 800;
    color: #5c4a3c;
}
.pdp-panel--desc p {
    margin: 0;
    color: #7a6a5c;
    line-height: 1.9;
    font-size: 0.9rem;
}
.pdp-specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem 1rem;
    margin: 0;
}
@media (max-width: 640px) {
    .pdp-specs { grid-template-columns: 1fr; }
}
.pdp-specs__row {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    padding-bottom: 0.45rem;
    border-bottom: 1px dashed #ead9c8;
}
.pdp-specs__row dt {
    margin: 0;
    font-size: 0.75rem;
    color: #b09a88;
}
.pdp-specs__row dd {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 700;
    color: #5c4a3c;
    text-align: left;
}
.pdp-suitable { margin-top: 0.85rem; }
.pdp-suitable__label {
    margin: 0 0 0.45rem;
    font-size: 0.72rem;
    color: #b09a88;
}

.pdp-variants {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 1.05rem;
    border-radius: 1.2rem;
    background: #fff;
    border: 1px solid #f1e8de;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}
.pdp-variants__group { min-width: 0; }
.pdp-variants__label {
    margin: 0 0 0.65rem;
    font-size: 0.82rem;
    font-weight: 800;
    color: #5c4a3c;
}
.pdp-variants__options,
.pdp-variants__colors {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.pdp-variants__hint {
    margin: 0;
    font-size: 0.78rem;
    color: #b09a88;
}
.pdp-variants__hint.hidden { display: none; }

.pdp-buy {
    margin-top: 0.15rem;
    padding: 1rem 1.05rem;
    border-radius: 1.25rem;
    background: linear-gradient(160deg, #fffdfb 0%, #faf4ed 100%);
    border: 1px solid #ead9c8;
    box-shadow: 0 10px 28px -18px rgba(83, 64, 50, 0.35);
}
.pdp-buy__form {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0.65rem;
}
.pdp-buy__cta {
    flex: 1 1 12rem;
    min-height: 3.1rem;
}
.shop-qty--pdp {
    border-radius: 9999px;
    background: #fff;
    border-color: #e4d3c2;
    min-height: 3.1rem;
}
.shop-qty--pdp button {
    width: 2.5rem;
    height: 100%;
    color: #8f6e52;
    font-size: 1.05rem;
}
.shop-qty--pdp input {
    width: 2.5rem;
    font-size: 1rem;
    font-weight: 800;
    color: #5c4a3c;
}
.pdp-stock {
    display: inline-flex;
    align-items: center;
    margin: 0.75rem 0 0;
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    background: rgba(91, 143, 123, 0.1);
    border: 1px solid rgba(91, 143, 123, 0.22);
    font-size: 0.78rem;
    font-weight: 700;
    color: #4f7d6c;
}
.pdp-stock.is-low {
    background: rgba(192, 120, 74, 0.1);
    border-color: rgba(192, 120, 74, 0.28);
    color: #c0784a;
}
.pdp-stock.is-out {
    background: rgba(176, 145, 145, 0.12);
    border-color: rgba(176, 145, 145, 0.28);
    color: #a08080;
}
.pdp-empty {
    margin: 0;
    padding: 1rem 1.05rem;
    border-radius: 1.15rem;
    background: #faf7f3;
    border: 1px solid #f1e8de;
    color: #a89888;
    font-size: 0.875rem;
}

.shop-trust-card {
    border-radius: 1.25rem;
    padding: 1rem;
    text-align: center;
    transition: transform var(--shop-transition), box-shadow var(--shop-transition);
}
.shop-trust-card:hover {
    transform: translateY(-3px) rotate(-0.5deg);
    box-shadow: var(--shop-shadow-hover);
}
.shop-trust-card .icon {
    display: inline-flex;
    width: 2.75rem;
    height: 2.75rem;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, #fff 0%, #faf6f1 100%);
    border: 1px solid #f1e8de;
    margin-bottom: 0.5rem;
}

.shop-auth-wrap {
    min-height: calc(100vh - 12rem);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    position: relative;
    overflow: hidden;
}
.shop-auth-wrap::before,
.shop-auth-wrap::after {
    content: '?';
    position: absolute;
    font-size: 1.5rem;
    color: #e8d6c2;
    opacity: 0.45;
    pointer-events: none;
    animation: shopFloat 4s ease-in-out infinite;
}
.shop-auth-wrap::before { top: 12%; right: 8%; }
.shop-auth-wrap::after { content: '?'; bottom: 18%; left: 10%; animation-delay: 1.2s; color: #f4c4d8; }

.shop-auth-card {
    width: 100%;
    max-width: 26rem;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border: 1px solid #f1e8de;
    border-radius: 1.75rem;
    padding: 2rem;
    box-shadow: 0 16px 48px -20px rgba(83, 64, 50, 0.25);
    position: relative;
    z-index: 1;
}
.shop-auth-card .mascot {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border-radius: 1.25rem;
    background: linear-gradient(135deg, #faf0e4, #f3e3c8);
    border: 1px solid #f1e8de;
    animation: shopWiggle 3s ease-in-out infinite;
}

.shop-otp-input {
    letter-spacing: 0.55em;
    font-size: 1.5rem;
    font-weight: 800;
    text-align: center;
}

/* OTP — شش باکس مربعی با هاور متحرک */
.otp-boxes {
    --otp-gap: 0.55rem;
    --otp-size: clamp(2.65rem, 12vw, 3.25rem);
    width: 100%;
}
.otp-boxes__track {
    position: relative;
    display: grid;
    place-items: center;
    margin-inline: auto;
    width: calc((var(--otp-size) * 6) + (var(--otp-gap) * 5));
    max-width: 100%;
}
.otp-boxes__input {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    opacity: 0.02;
    color: transparent;
    caret-color: transparent;
    background: transparent;
    font-size: 1.25rem;
    letter-spacing: 0.55em;
    text-align: center;
    -webkit-text-fill-color: transparent;
}
.otp-boxes__input:focus {
    outline: none;
}
.otp-boxes__cells {
    display: grid;
    grid-template-columns: repeat(6, var(--otp-size));
    gap: var(--otp-gap);
    width: 100%;
    pointer-events: none;
}
.otp-boxes__cell {
    position: relative;
    display: grid;
    place-items: center;
    width: var(--otp-size);
    height: var(--otp-size);
    border-radius: 0.95rem;
    border: 1.5px solid #e4d3c2;
    background:
        linear-gradient(160deg, #fffdfb 0%, #faf4ee 100%);
    box-shadow: 0 6px 16px -12px rgba(111, 86, 64, 0.35);
    transition:
        transform .28s cubic-bezier(.22,1,.36,1),
        border-color .28s ease,
        box-shadow .28s ease,
        background .28s ease;
}
.otp-boxes__digit {
    font-size: clamp(1.15rem, 4.5vw, 1.45rem);
    font-weight: 800;
    color: #534032;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.otp-boxes__caret {
    position: absolute;
    width: 2px;
    height: 1.15rem;
    border-radius: 999px;
    background: #a88263;
    opacity: 0;
    transform: scaleY(0.6);
}
.otp-boxes__cell.is-active {
    border-color: #bf9d80;
    background: linear-gradient(160deg, #fff 0%, #f7ebe0 100%);
    box-shadow:
        0 10px 22px -12px rgba(168, 130, 99, 0.55),
        0 0 0 4px rgba(192, 157, 128, 0.16);
    transform: translateY(-3px) scale(1.04);
    animation: otpCellPulse 1.4s ease-in-out infinite;
}
.otp-boxes__cell.is-active .otp-boxes__caret {
    opacity: 1;
    transform: scaleY(1);
    animation: otpCaretBlink 1s steps(1) infinite;
}
.otp-boxes__cell.is-filled {
    border-color: #d2b9a2;
    background: linear-gradient(160deg, #fff 0%, #f3e8dc 100%);
}
.otp-boxes__cell.is-complete {
    border-color: #c6a07f;
    transform: translateY(-1px);
}
.otp-boxes__track:hover .otp-boxes__cell:not(.is-active) {
    transform: translateY(-2px);
    border-color: #d2b9a2;
    box-shadow: 0 10px 18px -14px rgba(111, 86, 64, 0.4);
}
.otp-boxes__track:hover .otp-boxes__cell:nth-child(1) { transition-delay: 0ms; }
.otp-boxes__track:hover .otp-boxes__cell:nth-child(2) { transition-delay: 28ms; }
.otp-boxes__track:hover .otp-boxes__cell:nth-child(3) { transition-delay: 56ms; }
.otp-boxes__track:hover .otp-boxes__cell:nth-child(4) { transition-delay: 84ms; }
.otp-boxes__track:hover .otp-boxes__cell:nth-child(5) { transition-delay: 112ms; }
.otp-boxes__track:hover .otp-boxes__cell:nth-child(6) { transition-delay: 140ms; }
.otp-boxes--error .otp-boxes__cell {
    border-color: #f0b4b4;
    background: linear-gradient(160deg, #fff8f8 0%, #fdeeee 100%);
}
.otp-boxes--submitting .otp-boxes__cell {
    animation: otpCellPulse 0.9s ease-in-out infinite;
}
.otp-boxes__hint,
.otp-boxes__status {
    margin-top: 0.75rem;
    text-align: center;
    font-size: 0.75rem;
    color: #9a8572;
}
.otp-boxes__status {
    color: #8f6e52;
    font-weight: 700;
}
@keyframes otpCaretBlink {
    0%, 45% { opacity: 1; }
    50%, 100% { opacity: 0; }
}
@keyframes otpCellPulse {
    0%, 100% { box-shadow: 0 10px 22px -12px rgba(168, 130, 99, 0.45), 0 0 0 4px rgba(192, 157, 128, 0.12); }
    50% { box-shadow: 0 12px 26px -10px rgba(168, 130, 99, 0.6), 0 0 0 6px rgba(192, 157, 128, 0.2); }
}
@media (prefers-reduced-motion: reduce) {
    .otp-boxes__cell,
    .otp-boxes__cell.is-active,
    .otp-boxes__caret {
        animation: none !important;
        transition: none !important;
    }
}

.shop-variant-btn {
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    border: 1.5px solid #f1e8de;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #6f5640;
    background: #fff;
    transition: all var(--shop-transition);
}
.shop-variant-btn:hover:not(:disabled) {
    border-color: #d2b9a2;
    background: #faf6f1;
    transform: translateY(-1px);
}
.shop-variant-btn.is-active {
    background: linear-gradient(135deg, #c6a07f, #a88263);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 12px -4px rgba(168, 130, 99, 0.5);
}
.shop-variant-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.shop-success-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
}
.shop-success-card .celebrate {
    font-size: 3.5rem;
    display: inline-block;
    animation: shopWiggle 2.5s ease-in-out infinite;
}

@keyframes shopFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
@keyframes shopWiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-4deg); }
    75% { transform: rotate(4deg); }
}

::selection {
    background: rgba(210, 185, 162, 0.45);
    color: #3a2d23;
}

@media (prefers-reduced-motion: reduce) {
    .shop-auth-wrap::before,
    .shop-auth-wrap::after,
    .shop-auth-card .mascot,
    .shop-success-card .celebrate,
    .shop-trust-card:hover {
        animation: none;
        transform: none;
    }
}

/* ?? ??? ??????? ?? */
.site-header-wrap {
    position: sticky;
    top: 0;
    z-index: 60;
    isolation: isolate;
}

.site-header {
    position: relative;
    overflow: visible;
    background: linear-gradient(180deg, rgba(255, 254, 251, 0.97) 0%, rgba(253, 248, 244, 0.95) 100%);
    border-bottom: 1px solid rgba(228, 211, 194, 0.45);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 4px 24px -14px rgba(83, 64, 50, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

.site-header-wrap.is-scrolled .site-header {
    background: rgba(255, 253, 251, 0.94);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.7) inset,
        0 6px 22px -10px rgba(83, 64, 50, 0.14);
}

.site-header__glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.site-header__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(32px);
    opacity: 0.32;
}

.site-header__orb--1 {
    width: 7rem;
    height: 7rem;
    top: -2.5rem;
    right: 8%;
    background: rgba(249, 196, 216, 0.35);
}

.site-header__orb--2 {
    width: 6rem;
    height: 6rem;
    top: -2rem;
    left: 12%;
    background: rgba(186, 230, 253, 0.3);
}

.site-header__mobile-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.65rem 0 0.5rem;
}

.site-header__main {
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.25rem;
    padding: 0.85rem 0 0.65rem;
}

.site-header__brand-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    text-decoration: none;
}

.site-header__brand-link--compact {
    flex: 1;
    justify-content: center;
}

.site-header__brand-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.site-header__brand-name {
    font-size: 1.125rem;
    font-weight: 800;
    color: #8f6e52;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.site-header__tagline {
    font-size: 0.6875rem;
    font-weight: 500;
    color: #a88263;
    opacity: 0.85;
}

.site-header__search {
    min-width: 0;
}

.header-search {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding-block: 0.28rem;
    padding-inline-start: 0.9rem;
    padding-inline-end: 0.28rem;
    background: linear-gradient(180deg, #fffdfb 0%, #fff8f2 100%);
    border: 1.5px solid rgba(232, 196, 168, 0.7);
    border-radius: 9999px;
    box-shadow:
        0 2px 12px -4px rgba(168, 130, 99, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    transition: border-color var(--shop-transition), box-shadow var(--shop-transition), background var(--shop-transition);
}

.header-search:focus-within {
    border-color: #e8b4c8;
    background: #fff;
    box-shadow:
        0 0 0 3px rgba(244, 166, 200, 0.2),
        0 6px 18px -8px rgba(196, 91, 138, 0.22);
}

.header-search__icon {
    display: inline-flex;
    width: 1.15rem;
    height: 1.15rem;
    color: #d4a574;
    flex-shrink: 0;
    opacity: 0.9;
}

.header-search__icon svg {
    width: 100%;
    height: 100%;
}

.header-search__input {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    padding: 0.55rem 0.15rem;
    font-size: 0.875rem;
    color: #534032;
    outline: none;
}

.header-search__input::-webkit-search-decoration,
.header-search__input::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
}

.header-search__input::placeholder {
    color: #c4a07e;
    opacity: 0.85;
}

.header-search__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    min-height: 2.35rem;
    padding: 0 0.95rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, #f4a6c8 0%, #e88bb0 55%, #d978a0 100%);
    color: #fff;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 0 4px 12px -4px rgba(216, 120, 160, 0.55);
    transition: transform var(--shop-transition), box-shadow var(--shop-transition), filter var(--shop-transition);
}

.header-search__btn:hover {
    transform: translateY(-1px) scale(1.02);
    filter: brightness(1.03);
    box-shadow: 0 6px 16px -4px rgba(216, 120, 160, 0.6);
}

.header-search__btn:active {
    transform: scale(0.98);
}

.header-search__btn-label {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1;
}

.header-search__btn-icon {
    display: none;
    width: 1rem;
    height: 1rem;
}

.header-search--mobile {
    padding-block: 0.22rem;
    padding-inline-start: 0.75rem;
    padding-inline-end: 0.22rem;
}

.header-search--mobile .header-search__input {
    padding: 0.5rem 0.1rem;
    font-size: 0.8125rem;
}

.header-search--mobile .header-search__btn {
    min-height: 2.15rem;
    padding: 0 0.85rem;
}

.header-search--mobile .header-search__btn-label {
    font-size: 0.75rem;
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.header-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    border: 1.5px solid rgba(228, 211, 194, 0.8);
    background: rgba(255, 255, 255, 0.75);
    color: #6f5640;
    transition: background var(--shop-transition), border-color var(--shop-transition), transform var(--shop-transition), box-shadow var(--shop-transition);
}

.header-icon-btn--bell {
    color: #eab308;
    border-color: rgba(250, 204, 21, 0.55);
    background: rgba(254, 249, 195, 0.85);
}

.header-icon-btn--bell:hover {
    color: #ca8a04;
    border-color: #facc15;
    background: #fef9c3;
    box-shadow: 0 4px 14px -6px rgba(202, 138, 4, 0.35);
}

.header-icon-btn--bell svg {
    fill: currentColor;
    fill-opacity: 0.18;
}

.header-badge {
    position: absolute;
    top: -0.2rem;
    left: -0.2rem;
    min-width: 1.125rem;
    height: 1.125rem;
    padding: 0 0.25rem;
    border-radius: 9999px;
    background: #a88263;
    color: #fff;
    font-size: 0.625rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 0 0 2px #fff;
}

.header-badge--alert {
    background: #ef4444;
}

.header-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    height: 2.5rem;
    padding: 0 0.85rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: transform var(--shop-transition), box-shadow var(--shop-transition), background var(--shop-transition);
}

.header-pill:hover {
    transform: translateY(-1px);
}

.header-pill--login {
    background: linear-gradient(135deg, #f3e3c8 0%, #e8d4b0 100%);
    color: #534032;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.header-pill--login:hover {
    box-shadow: 0 4px 14px -4px rgba(168, 130, 99, 0.32);
}

.header-pill--cart {
    background: #fff;
    border: 1.5px solid rgba(83, 64, 50, 0.12);
    color: #534032;
}

.header-pill--cart:hover {
    border-color: rgba(168, 130, 99, 0.35);
    box-shadow: 0 4px 14px -6px rgba(83, 64, 50, 0.12);
}

.header-pill--user {
    background: linear-gradient(135deg, #fff 0%, #faf6f1 100%);
    border: 1.5px solid rgba(228, 211, 194, 0.9);
    color: #534032;
    padding-left: 0.35rem;
    padding-right: 0.85rem;
}

.header-pill--user.is-active,
.header-pill--user:hover {
    border-color: #d2b9a2;
    box-shadow: 0 4px 14px -6px rgba(168, 130, 99, 0.2);
}

.header-pill__count {
    min-width: 1.5rem;
    height: 1.5rem;
    padding: 0 0.35rem;
    border-radius: 9999px;
    background: #f1e8de;
    color: #8f6e52;
    font-size: 0.6875rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.site-header__nav {
    padding-bottom: 0.5rem;
}

.header-nav-tray {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    overflow-x: auto;
    padding: 0.35rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(241, 232, 222, 0.9);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
    scrollbar-width: none;
}

.header-nav-tray::-webkit-scrollbar {
    display: none;
}

.header-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
    padding: 0.5rem 0.9rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #6f5640;
    text-decoration: none;
    transition: background var(--shop-transition), color var(--shop-transition), transform var(--shop-transition), box-shadow var(--shop-transition);
}

.header-nav-link__icon {
    font-size: 0.9rem;
    line-height: 1;
    opacity: 0.85;
}

.header-nav-link:hover {
    background: rgba(250, 246, 241, 0.95);
    color: #8f6e52;
    transform: translateY(-1px);
}

.header-nav-link.is-active {
    background: linear-gradient(135deg, #c6a07f, #a88263);
    color: #fff;
    box-shadow: 0 4px 12px -4px rgba(168, 130, 99, 0.45);
}

.header-nav-link.is-active .header-nav-link__icon {
    opacity: 1;
}

.header-nav-link--featured .header-nav-link__dot {
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: #f87171;
    box-shadow: 0 0 0 2px rgba(248, 113, 113, 0.25);
}

.header-nav-link--mobile {
    justify-content: center;
    padding: 0.65rem 0.75rem;
    border-radius: 0.85rem;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid #f1e8de;
}

.site-header__mobile-menu {
    border-top: 1px solid rgba(241, 232, 222, 0.8);
    padding: 0.75rem 0 0.5rem;
    background: linear-gradient(180deg, rgba(253, 248, 242, 0.5), transparent);
}

/* ???????? ???? ? ?????? ??? ??? */
.header-fairy-lights {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 2.85rem;
    pointer-events: none;
    overflow: visible;
    opacity: 1;
    transition: opacity 0.4s ease, filter 0.4s ease;
    filter: none;
    z-index: 1;
}

.header-fairy-lights.is-fading {
    opacity: var(--fairy-scroll-opacity, 1);
    filter: blur(calc((1 - var(--fairy-scroll-opacity, 1)) * 1.5px));
}

.header-fairy-lights__bulbs {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 2.5%;
}

.fairy-bulb {
    position: relative;
    display: flex;
    justify-content: center;
    flex: 1;
    max-width: 2.25rem;
    margin-top: calc(var(--bulb-drop, 0.25) * 1.6rem);
}

.fairy-bulb__pendant {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-origin: top center;
    animation: fairyHeartSway 5.5s ease-in-out infinite;
    animation-delay: calc(var(--bulb-i) * 0.32s);
}

.fairy-bulb:nth-child(odd) .fairy-bulb__pendant {
    animation-duration: 6.2s;
}

.fairy-bulb__heart {
    display: block;
    overflow: visible;
    color: var(--bulb-color);
    filter: drop-shadow(0 1px 2px rgba(83, 64, 50, 0.08));
}

.fairy-bulb__heart-shape {
    fill: currentColor;
    opacity: 0.35;
    transition: opacity 0.45s ease, filter 0.45s ease;
}

.fairy-bulb__glow {
    position: absolute;
    inset: -0.15rem;
    border-radius: 50%;
    background: radial-gradient(circle, var(--bulb-color) 0%, transparent 72%);
    opacity: 0;
    transform: scale(0.55);
    pointer-events: none;
}

.header-fairy-lights.is-lit .fairy-bulb__heart-shape {
    animation: fairyHeartTwinkle 3.4s ease-in-out infinite;
    animation-delay: calc(var(--bulb-i) * 0.24s);
}

.header-fairy-lights.is-lit .fairy-bulb:nth-child(3n) .fairy-bulb__heart-shape {
    animation-duration: 4s;
}

.header-fairy-lights.is-lit .fairy-bulb:nth-child(3n+1) .fairy-bulb__heart-shape {
    animation-duration: 2.9s;
}

@keyframes fairyHeartSway {
    0%, 100% { transform: rotate(-4deg) translateX(-1px); }
    50% { transform: rotate(4deg) translateX(1px); }
}

@keyframes fairyHeartTwinkle {
    0%, 100% {
        opacity: 0.32;
        filter: brightness(0.94);
    }
    45%, 55% {
        opacity: 0.95;
        filter: brightness(1.12) drop-shadow(0 0 4px var(--bulb-color));
    }
}

.header-fairy-lights.is-lit .fairy-bulb__glow {
    animation: fairyHeartGlow 3.4s ease-in-out infinite;
    animation-delay: calc(var(--bulb-i) * 0.24s);
}

@keyframes fairyHeartGlow {
    0%, 100% { opacity: 0; transform: scale(0.5); }
    50% { opacity: 0.45; transform: scale(1.05); }
}

@media (max-width: 640px) {
    .header-fairy-lights { height: 2.1rem; }
    .fairy-bulb__heart { width: 11px; height: 10px; }
    .fairy-bulb:nth-child(even) { display: none; }
    .site-header__brand-link--compact .site-header__brand-text {
        display: block;
    }
}

@media (prefers-reduced-motion: reduce) {
    .header-fairy-lights,
    .fairy-bulb__pendant,
    .fairy-bulb__heart-shape,
    .fairy-bulb__glow,
    .site-header,
    .header-nav-link,
    .header-pill,
    .header-icon-btn {
        animation: none !important;
        transition: none !important;
    }
    .header-fairy-lights.is-lit .fairy-bulb__heart-shape {
        opacity: 0.75;
        filter: drop-shadow(0 0 3px var(--bulb-color));
    }
}

/* ?? ????? ???? (Checkout) ?? */
.checkout-page__head {
    margin-bottom: 1.15rem;
}
.checkout-page__head h1 {
    margin: 0;
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 800;
    color: #2d2420;
}
.checkout-page__head p {
    margin: 0.35rem 0 0;
    font-size: 0.8125rem;
    color: #a89888;
}
.checkout-layout {
    display: grid;
    gap: 1rem;
    align-items: start;
}
@media (min-width: 900px) {
    .checkout-layout {
        grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.85fr);
        gap: 1.25rem;
    }
}
.checkout-form {
    padding: 1rem 1.1rem 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.checkout-form__head h2 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: #5c4a3c;
}
.checkout-saved {
    padding: 0.7rem 0.8rem;
    border-radius: 0.95rem;
    background: #faf7f3;
    border: 1px solid #f1e8de;
}
.checkout-saved__label {
    margin: 0 0 0.45rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: #a89888;
}
.checkout-saved__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.checkout-saved__btn {
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    border: 1px solid #ead9c8;
    background: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    color: #6f5640;
    cursor: pointer;
    transition: border-color var(--shop-transition), background var(--shop-transition), box-shadow var(--shop-transition);
}
.checkout-saved__btn:hover,
.checkout-saved__btn.is-active {
    border-color: #c6a07f;
    background: #fffaf5;
    box-shadow: 0 0 0 2px rgba(198, 160, 127, 0.2);
}
.checkout-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem 0.75rem;
}
@media (min-width: 640px) {
    .checkout-grid { grid-template-columns: 1fr 1fr; }
}
.checkout-field { min-width: 0; }
.checkout-field .shop-label {
    margin-bottom: 0.25rem;
    font-size: 0.75rem;
}
.checkout-optional {
    color: #c4b5a5;
    font-weight: 500;
}
.shop-input--compact,
.shop-textarea--compact {
    padding: 0.5rem 0.8rem;
    font-size: 0.8125rem;
    border-radius: 0.9rem;
}
.shop-textarea--compact {
    min-height: 2.75rem;
    resize: vertical;
}
.checkout-locations .shop-label {
    margin-bottom: 0.25rem;
    font-size: 0.75rem;
}
.checkout-check {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.78rem;
    color: #7a6a5c;
    cursor: pointer;
}
.checkout-check input {
    accent-color: #a88263;
}
.checkout-pay {
    padding: 0.75rem 0.85rem;
    border-radius: 0.95rem;
    background: #faf7f3;
    border: 1px solid #f1e8de;
}
.checkout-pay h3 {
    margin: 0 0 0.55rem;
    font-size: 0.82rem;
    font-weight: 800;
    color: #5c4a3c;
}
.checkout-pay__list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.checkout-pay__item {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    padding: 0.55rem 0.65rem;
    border-radius: 0.8rem;
    border: 1px solid #ead9c8;
    background: #fff;
    cursor: pointer;
    transition: border-color var(--shop-transition), box-shadow var(--shop-transition);
}
.checkout-pay__item:has(input:checked) {
    border-color: #c6a07f;
    box-shadow: 0 0 0 2px rgba(198, 160, 127, 0.18);
}
.checkout-pay__item input {
    margin-top: 0.15rem;
    accent-color: #a88263;
}
.checkout-pay__title {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: #5c4a3c;
}
.checkout-pay__note {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.7rem;
    color: #a89888;
}
.checkout-pay__card {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.72rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    color: #6f5640;
}
.checkout-pay__empty {
    margin: 0;
    font-size: 0.75rem;
    color: #c0784a;
}
.checkout-form__foot {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding-top: 0.25rem;
}
.checkout-note {
    margin: 0;
    font-size: 0.7rem;
    color: #a89888;
}
.checkout-note--green { color: #5b8f7b; }

.checkout-summary {
    padding: 1rem 1.05rem 1.1rem;
}
@media (min-width: 900px) {
    .checkout-summary {
        position: sticky;
        top: 5.5rem;
    }
}
.checkout-summary h2 {
    margin: 0 0 0.75rem;
    font-size: 1.05rem;
    font-weight: 800;
    color: #5c4a3c;
}
.checkout-summary__items {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid #f1e8de;
}
.checkout-summary__row {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.8125rem;
    color: #5c4a3c;
}
.checkout-summary__name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #7a6a5c;
}
.checkout-summary__price {
    flex-shrink: 0;
    font-weight: 700;
}
.checkout-summary__meta {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 0.65rem 0;
}
.checkout-summary__row.is-muted { color: #a89888; font-weight: 500; }
.checkout-summary__row.is-green { color: #5b8f7b; font-weight: 600; }
.checkout-summary__ship {
    margin: 0;
    font-size: 0.68rem;
    color: #c4b5a5;
    line-height: 1.5;
}
.checkout-summary__total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0.85rem;
    border-radius: 0.95rem;
    background: linear-gradient(135deg, #fffaf5 0%, #f7eee4 100%);
    border: 1px solid #ead9c8;
    font-weight: 800;
    color: #5c4a3c;
}
.checkout-summary__total span:last-child {
    font-size: 1.05rem;
    color: #8f6e52;
}

/* ——— ریسپانسیو موبایل (کل سایت فروشگاهی) ——— */
@media (max-width: 767px) {
    img,
    video,
    canvas,
    svg {
        max-width: 100%;
        height: auto;
    }

    .shop-otp-input {
        letter-spacing: 0.28em;
        font-size: 1.25rem;
        padding-inline: 0.5rem;
    }

    .header-search--mobile .header-search__btn {
        min-width: 2.35rem;
        min-height: 2.15rem;
        padding: 0 0.55rem;
    }

    .header-search--mobile .header-search__btn-label {
        display: none;
    }

    .header-search--mobile .header-search__btn-icon {
        display: block;
    }

    .cat-flow__btn {
        width: 2.15rem;
        height: 2.15rem;
        top: auto;
        bottom: 0.65rem;
        box-shadow: 0 6px 16px -10px rgba(83, 64, 50, 0.45);
    }

    .cat-flow__btn--next { left: 0.5rem; }
    .cat-flow__btn--prev { right: 0.5rem; }

    .cat-flow__orb {
        width: 7.5rem;
        height: 7.5rem;
        right: -2rem;
        top: -2rem;
    }

    .cat-flow__content {
        max-width: 100%;
        padding-inline-end: 0.25rem;
    }

    .cat-flow__content p {
        font-size: 0.78rem;
        margin-bottom: 0.85rem;
    }

    .shop-sticky-bar {
        padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom));
    }

    .shop-btn.shop-btn-lg {
        padding: 0.7rem 1rem;
        font-size: 0.875rem;
    }

    .pdp-buy__cta {
        flex: 1 1 100%;
        min-height: 2.85rem;
    }

    .checkout-summary__total span:last-child {
        font-size: 0.95rem;
    }

    .checkout-summary__name {
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .shop-product-sku__value {
        font-size: 0.7rem;
    }

    .addr-book__head,
    .msg-inbox__head {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .home-hero__content {
        padding-inline-start: 1rem !important;
        padding-inline-end: 1rem !important;
    }
}

@media (max-width: 400px) {
    .shop-otp-input {
        letter-spacing: 0.18em;
        font-size: 1.125rem;
    }

    .header-pill {
        padding-inline: 0.55rem;
        font-size: 0.7rem;
    }

    .site-header__actions {
        gap: 0.3rem;
    }
}
