/* Savenza — jewelry storefront template */
:root {
    --svz-ink: #16110e;
    --svz-ink-soft: #2a211c;
    --svz-champagne: #e4c9a0;
    --svz-gold: #c9a66b;
    --svz-gold-deep: #9a7640;
    --svz-pearl: #f8f1e7;
    --svz-muted: rgba(248, 241, 231, 0.72);
    --svz-glass: rgba(22, 17, 14, 0.55);
    --svz-glass-highlight: rgba(255, 248, 238, 0.12);
    --svz-glass-border: rgba(255, 255, 255, 0.28);
    --svz-card: rgba(255, 248, 238, 0.08);
    --svz-card-hover: rgba(255, 248, 238, 0.14);
    --svz-danger: #e8a0a0;
    --svz-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
    --svz-radius: 24px;
    --svz-radius-sm: 16px;
    --svz-font: IRANSans, Tahoma, sans-serif;
    --svz-display: IRANSans, Tahoma, sans-serif;
    --svz-max: 1240px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    /* Base rem — readable but not oversized for dense header/nav */
    font-size: 16px;
    scroll-behavior: smooth;
}

body.svz-body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--svz-font);
    font-size: 1rem;
    line-height: 1.75;
    color: var(--svz-pearl);
    background: var(--svz-ink);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.svz-brand__name,
.svz-slide__content h2,
.svz-product__title,
.svz-section__head h2,
.svz-detail__info h1 {
    font-family: var(--svz-display);
}

a {
    color: var(--svz-champagne);
    text-decoration: none;
    transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

a:hover,
a:focus {
    color: #fff6e8;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
}

/* Full-bleed backdrop — admin SiteTheme sets CSS vars on body.svz-theme-active */
body.svz-body {
    --svz-backdrop-url: url("/images/savenza/hero-jewelry.jpg");
    --svz-backdrop-veil-alpha: 0.55;
    --svz-mobile-glass-alpha: 0.55;
    --svz-mobile-shell-pad: 0.85rem;
}

.svz-backdrop {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.svz-backdrop__image {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(22, 17, 14, 0.62), rgba(22, 17, 14, 0.35)),
        var(--svz-backdrop-url) center / cover no-repeat;
}

.svz-backdrop__veil {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 18% 12%, rgba(201, 166, 107, 0.16), transparent 42%),
        radial-gradient(
            ellipse at 82% 88%,
            rgba(22, 17, 14, calc(var(--svz-backdrop-veil-alpha) * 0.85)),
            rgba(22, 17, 14, calc(0.45 + var(--svz-backdrop-veil-alpha) * 0.45))
        );
}

/* Occasion entrance curtain — reuses --svz-backdrop-url (same image as theme) */
.svz-entrance {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    opacity: 1;
    transition: opacity 0.5s ease;
    pointer-events: auto;
}

.svz-entrance[hidden] {
    display: none !important;
}

.svz-entrance--out {
    opacity: 0;
    pointer-events: none;
}

.svz-entrance__bg {
    position: absolute;
    inset: 0;
    background: var(--svz-backdrop-url) center / cover no-repeat;
    transform: scale(1.04);
    animation: svz-entrance- ken 3.2s ease-out both;
}

.svz-entrance__veil {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 42%, rgba(22, 17, 14, 0.25), rgba(22, 17, 14, 0.72) 70%),
        linear-gradient(180deg, rgba(22, 17, 14, 0.35), rgba(22, 17, 14, 0.55));
}

.svz-entrance__copy {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: min(92vw, 28rem);
    animation: svz-entrance-rise 0.7s ease-out both;
}

.svz-entrance__headline {
    margin: 0 0 1.1rem;
    font-family: var(--svz-display);
    font-size: clamp(1.55rem, 5.5vw, 2.35rem);
    font-weight: 600;
    line-height: 1.35;
    color: #fff6e8;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
    letter-spacing: 0.02em;
}

.svz-entrance__skip {
    appearance: none;
    border: 1px solid rgba(255, 248, 238, 0.45);
    background: rgba(22, 17, 14, 0.35);
    color: #fff6e8;
    font-family: inherit;
    font-size: 0.95rem;
    padding: 0.55rem 1.15rem;
    border-radius: 999px;
    cursor: pointer;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.svz-entrance__skip:hover,
.svz-entrance__skip:focus {
    background: rgba(201, 166, 107, 0.28);
    border-color: rgba(228, 201, 160, 0.7);
    outline: none;
}

html.svz-entrance-open,
body.svz-entrance-open {
    overflow: hidden;
}

@keyframes svz-entrance- ken {
    from { transform: scale(1.08); }
    to { transform: scale(1.02); }
}

@keyframes svz-entrance-rise {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 767px) {
    .svz-entrance__headline {
        font-size: clamp(1.35rem, 6.5vw, 1.85rem);
    }

    .svz-entrance__bg {
        animation-duration: 2.4s;
    }
}

@media (prefers-reduced-motion: reduce) {
    .svz-entrance,
    .svz-entrance__bg,
    .svz-entrance__copy {
        animation: none !important;
        transition: none !important;
    }
}

.svz-shell {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(0.75rem, 2.5vw, 1.75rem);
}

.svz-glass {
    position: relative;
    width: min(100%, var(--svz-max));
    background:
        linear-gradient(160deg, var(--svz-glass-highlight), transparent 40%),
        var(--svz-glass);
    border: 1px solid var(--svz-glass-border);
    border-radius: var(--svz-radius);
    box-shadow: var(--svz-shadow);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    overflow: hidden;
}

.svz-main {
    padding: 1rem clamp(0.9rem, 2.5vw, 1.75rem) 1.5rem;
    min-width: 0;
    max-width: 100%;
    overflow-x: clip;
}

/* Promo top bar */
.svz-promo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.55rem 1rem;
    background: linear-gradient(90deg, rgba(154, 118, 64, 0.95), rgba(201, 166, 107, 0.92));
    color: var(--svz-ink);
    font-size: 0.98rem;
    font-weight: 600;
    text-align: center;
}

.svz-promo__text {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.2rem 0.35rem;
    min-width: 0;
}

.svz-promo strong {
    font-weight: 700;
}

.svz-promo__code-wrap,
.svz-promo-codes__code-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    vertical-align: middle;
}

.svz-promo__code,
.svz-promo-codes__code {
    padding: 0.12rem 0.45rem;
    border-radius: 0.4rem;
    background: rgba(20, 14, 10, 0.12);
    letter-spacing: 0.04em;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-weight: 700;
}

.svz-promo__copy,
.svz-promo-codes__copy {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0.22rem 0.55rem;
    border: 1px solid rgba(20, 14, 10, 0.22);
    border-radius: 999px;
    background: rgba(255, 248, 238, 0.55);
    color: var(--svz-ink);
    font: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.svz-promo__copy:hover,
.svz-promo__copy:focus-visible,
.svz-promo-codes__copy:hover,
.svz-promo-codes__copy:focus-visible {
    background: #fff8ee;
    border-color: rgba(20, 14, 10, 0.4);
    outline: none;
    transform: translateY(-1px);
}

.svz-promo__copy.is-copied,
.svz-promo-codes__copy.is-copied {
    background: linear-gradient(145deg, #fff8ee, #f0d9b0);
    border-color: rgba(20, 14, 10, 0.35);
}

.svz-promo__copy-toast {
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    padding: 0.22rem 0.5rem;
    border-radius: 999px;
    white-space: nowrap;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--svz-ink);
    background: linear-gradient(135deg, #fff8ee, var(--svz-champagne));
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
    pointer-events: none;
}

.svz-promo__cart {
    margin-inline-start: 0.35rem;
    text-decoration: underline;
    text-underline-offset: 0.15em;
    color: inherit;
    font-weight: 700;
}

.svz-promo__close {
    margin-inline-start: auto;
    border: 0;
    background: transparent;
    color: var(--svz-ink);
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.7;
}

.svz-promo__close:hover {
    opacity: 1;
}

.svz-promo-codes {
    list-style: none;
    margin: 0.55rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.svz-promo-codes__item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 0.75rem;
    padding: 0.55rem 0.7rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 248, 238, 0.12);
    background: rgba(255, 248, 238, 0.04);
}

.svz-promo-codes__code {
    background: rgba(228, 201, 160, 0.16);
    color: var(--svz-champagne);
}

.svz-promo-codes__copy {
    border-color: rgba(228, 201, 160, 0.4);
    background: rgba(228, 201, 160, 0.12);
    color: var(--svz-pearl);
}

.svz-promo-codes__copy:hover,
.svz-promo-codes__copy:focus-visible {
    background: rgba(228, 201, 160, 0.22);
    border-color: rgba(228, 201, 160, 0.7);
    color: #fff8ee;
}

.svz-promo-codes__meta {
    color: var(--svz-muted);
    font-size: 0.92rem;
}

@media (max-width: 640px) {
    .svz-promo {
        flex-wrap: wrap;
        gap: 0.45rem;
        padding: 0.55rem 0.75rem;
        font-size: 0.9rem;
    }

    .svz-promo__close {
        margin-inline-start: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .svz-promo__copy,
    .svz-promo-codes__copy {
        transition: none;
    }

    .svz-promo__copy:hover,
    .svz-promo__copy:focus-visible,
    .svz-promo-codes__copy:hover,
    .svz-promo-codes__copy:focus-visible {
        transform: none;
    }
}

/* Header */
.svz-header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.5rem 0.7rem;
    padding: 0.65rem clamp(0.7rem, 2vw, 1.25rem);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.svz-brand {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.7rem;
    min-width: 0;
}

.svz-brand__logo {
    width: 2.85rem;
    height: 2.85rem;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
    box-shadow: 0 0 0 1px rgba(212, 175, 120, 0.28);
}

.svz-brand__text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.svz-brand__name {
    font-size: clamp(1.15rem, 2.2vw, 1.55rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.15;
    margin: 0;
}

.svz-brand__name span {
    background: linear-gradient(120deg, #fff8ee 10%, var(--svz-champagne) 45%, var(--svz-gold) 90%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.svz-brand__tag {
    margin: 0;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    color: var(--svz-muted);
}

.svz-nav {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 0.25rem 0.65rem;
    min-width: 0;
}

.svz-nav a {
    position: relative;
    color: var(--svz-pearl);
    font-size: 0.88rem;
    padding: 0.15rem 0;
    white-space: nowrap;
}

.svz-nav__login-mobile {
    display: none;
}

/* Desktop: keep top nav lean — account/support live in user menu; CTA covers Find-for-me */
@media (min-width: 1100px) {
    .svz-nav__mobile-only {
        display: none !important;
    }
}

.svz-nav a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: var(--svz-champagne);
    transition: width 0.3s ease;
}

.svz-nav a:hover::after,
.svz-nav a:focus::after,
.svz-nav a.is-active::after {
    width: 100%;
}

/* Category dropdown in top nav */
.svz-nav-dd {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.svz-nav-dd__toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin: 0;
    padding: 0.2rem 0;
    border: 0;
    background: none;
    color: var(--svz-pearl);
    font: inherit;
    font-size: 0.88rem;
    cursor: pointer;
    position: relative;
    white-space: nowrap;
}

.svz-nav-dd__toggle::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: var(--svz-champagne);
    transition: width 0.3s ease;
}

.svz-nav-dd__toggle:hover::after,
.svz-nav-dd__toggle:focus-visible::after,
.svz-nav-dd.is-open .svz-nav-dd__toggle::after,
.svz-nav-dd.is-current .svz-nav-dd__toggle::after,
.svz-nav-dd__toggle.is-active::after {
    width: 100%;
}

.svz-nav-dd__chevron {
    transition: transform 0.2s ease;
    opacity: 0.85;
}

.svz-nav-dd.is-open .svz-nav-dd__chevron {
    transform: rotate(180deg);
}

.svz-nav-dd__panel {
    position: absolute;
    /* بدون فاصلهٔ خالی: padding بالا پل موس است تا منو وسط راه بسته نشود */
    top: 100%;
    right: 0;
    min-width: 12.5rem;
    max-width: min(18rem, 80vw);
    padding: 0.55rem 0.45rem 0.45rem;
    border-radius: 0 0 12px 12px;
    background: rgba(18, 16, 14, 0.96);
    border: 1px solid rgba(232, 214, 180, 0.18);
    border-top: 0;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
    z-index: 40;
}

/* ناحیهٔ نامرئی بالای پنل برای رسیدن موس از دکمه به لیست */
.svz-nav-dd__panel::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -0.55rem;
    height: 0.55rem;
}

.svz-nav-dd__panel[hidden] {
    display: none !important;
}

.svz-nav-dd__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.1rem;
    max-height: min(70vh, 22rem);
    overflow: auto;
}

.svz-nav-dd__link {
    display: block;
    padding: 0.55rem 0.7rem !important;
    border-radius: 8px;
    color: var(--svz-pearl);
    font-size: 0.95rem;
    text-decoration: none;
    border-bottom: 0 !important;
}

.svz-nav-dd__link::after {
    display: none !important;
}

.svz-nav-dd__link:hover,
.svz-nav-dd__link:focus-visible,
.svz-nav-dd__link.is-active {
    background: rgba(232, 214, 180, 0.12);
    color: var(--svz-champagne);
}

.svz-nav-dd__empty {
    margin: 0.35rem 0.5rem 0.5rem;
    font-size: 0.95rem;
    color: var(--svz-muted);
}

.svz-footer__cats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.85rem;
    margin-top: 0.85rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.svz-footer__cats a {
    color: var(--svz-muted);
    font-size: 0.88rem;
    text-decoration: none;
}

.svz-footer__cats a:hover,
.svz-footer__cats a:focus-visible {
    color: var(--svz-champagne);
}

.svz-header__actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.svz-icon-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-width: 2.6rem;
    min-height: 2.6rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    border: 1px solid var(--svz-glass-border);
    background: rgba(255, 255, 255, 0.06);
    color: var(--svz-pearl);
    font-size: 0.92rem;
    cursor: pointer;
}

.svz-icon-btn:hover,
.svz-icon-btn:focus {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.svz-cart-count {
    position: absolute;
    top: -0.3rem;
    left: -0.2rem;
    min-width: 1.15rem;
    height: 1.15rem;
    padding: 0 0.25rem;
    border-radius: 999px;
    background: var(--svz-gold);
    color: var(--svz-ink);
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@keyframes svz-cart-tick {
    0% { transform: scale(1) rotate(0deg); }
    28% { transform: scale(1.14) rotate(-10deg); }
    55% { transform: scale(1.06) rotate(7deg); }
    100% { transform: scale(1) rotate(0deg); }
}

[data-svz-cart-pulse].is-cart-pulse,
[data-svz-cart-pulse].is-cart-pulse .svz-bottom-nav__icon {
    animation: svz-cart-tick 0.58s cubic-bezier(0.22, 0.9, 0.28, 1);
    transform-origin: center center;
}

@media (prefers-reduced-motion: reduce) {
    [data-svz-cart-pulse].is-cart-pulse,
    [data-svz-cart-pulse].is-cart-pulse .svz-bottom-nav__icon {
        animation: none;
    }
}

.svz-menu-toggle {
    display: none;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    border: 1px solid var(--svz-glass-border);
    background: rgba(255, 255, 255, 0.06);
    color: var(--svz-pearl);
    cursor: pointer;
}

.svz-menu-toggle span {
    display: block;
    width: 1.1rem;
    height: 1.5px;
    margin: 0.22rem auto;
    background: currentColor;
}

/* Category chips */
.svz-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0 0 1rem;
}

.svz-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.05);
    color: var(--svz-pearl);
    font-size: 0.95rem;
}

.svz-chip:hover,
.svz-chip.is-active {
    border-color: rgba(228, 201, 160, 0.55);
    background: rgba(201, 166, 107, 0.18);
    color: #fff;
}

/* Slider */
.svz-slider {
    position: relative;
    width: 100%;
    height: clamp(200px, 26vw, 300px);
    border-radius: var(--svz-radius-sm);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    margin-bottom: 1.25rem;
    background: rgba(0, 0, 0, 0.25);
}

.svz-slide {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.55s ease;
}

.svz-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}

.svz-slide img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center center;
}

.svz-slide__content {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    padding: clamp(1rem, 3vw, 1.5rem);
    background: linear-gradient(transparent, rgba(12, 9, 7, 0.82));
}

.svz-slide__content h2 {
    margin: 0 0 0.35rem;
    font-size: clamp(1.25rem, 2.8vw, 1.75rem);
    font-weight: 700;
}

.svz-slide__content p {
    margin: 0 0 0.85rem;
    color: var(--svz-muted);
    max-width: 32rem;
    font-size: 0.98rem;
}

.svz-slider__nav {
    position: absolute;
    top: 50%;
    right: 0.6rem;
    left: 0.6rem;
    z-index: 3;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.svz-slider__nav button {
    pointer-events: auto;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(22, 17, 14, 0.45);
    color: #fff;
    cursor: pointer;
}

.svz-slider__dots {
    position: absolute;
    left: 50%;
    bottom: 0.7rem;
    z-index: 3;
    transform: translateX(-50%);
    display: flex;
    gap: 0.4rem;
}

.svz-slider__dots button {
    width: 0.45rem;
    height: 0.45rem;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    padding: 0;
}

.svz-slider__dots button.is-active {
    width: 1.2rem;
    background: var(--svz-champagne);
}

/* Sections */
.svz-section {
    margin-bottom: 1.5rem;
}

.svz-section__head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
}

.svz-section__head h2 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
}

.svz-section__head h1 {
    margin: 0;
    font-size: clamp(1.25rem, 3vw, 1.55rem);
    font-weight: 700;
}

.svz-section__head p {
    margin: 0.15rem 0 0;
    color: var(--svz-muted);
    font-size: 0.95rem;
}

.svz-section__link {
    color: var(--svz-champagne);
    font-size: 0.95rem;
    white-space: nowrap;
}

/* Product grid */
.svz-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
}

.svz-product {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: var(--svz-radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: var(--svz-card);
    overflow: hidden;
    color: inherit;
    transition: transform 0.28s ease, background 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.svz-product:hover,
.svz-product:focus-visible {
    transform: translateY(-6px);
    background: var(--svz-card-hover);
    border-color: rgba(228, 201, 160, 0.45);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    color: inherit;
}

.svz-product__media {
    position: relative;
    aspect-ratio: 1 / 1;
    width: 100%;
    overflow: hidden;
    background: #f3efe8;
}

.svz-product__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    transition: opacity 0.35s ease, transform 0.45s ease;
}

.svz-product__media img.svz-product__img--hover {
    opacity: 0;
}

.svz-product:hover .svz-product__media img.svz-product__img--main,
.svz-product:focus-visible .svz-product__media img.svz-product__img--main {
    opacity: 0;
    transform: scale(1.06);
}

.svz-product:hover .svz-product__media img.svz-product__img--hover,
.svz-product:focus-visible .svz-product__media img.svz-product__img--hover {
    opacity: 1;
    transform: scale(1.06);
}

.svz-product__badges {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 1;
    display: flex;
    flex-direction: column;
    /* RTL: flex-start = راست؛ flex-end باعث هم‌تراز شدن از چپ می‌شد */
    align-items: flex-start;
    gap: 0.25rem;
    max-width: calc(100% - 3.25rem);
}

.svz-product__badge {
    display: inline-block;
    width: fit-content;
    max-width: 100%;
    padding: 0.16rem 0.48rem;
    border-radius: 999px;
    background: rgba(154, 118, 64, 0.92);
    color: #1a1410;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: right;
}

.svz-product__badge--type {
    background: rgba(212, 175, 120, 0.95);
}

.svz-product__badge--auto {
    background: rgba(154, 118, 64, 0.92);
}

.svz-product__discount {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 1;
    min-width: 2rem;
    padding: 0.16rem 0.4rem;
    border-radius: 999px;
    background: #8b3a3a;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    text-align: center;
}

.svz-product__body {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 0.95rem 0.9rem 1.1rem;
    flex: 1;
}

.svz-product__cat {
    margin: 0;
    color: var(--svz-muted);
    font-size: 0.95rem;
}

.svz-product__title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.6;
    min-height: 3.2em;
    color: var(--svz-pearl);
}

.svz-product__prices {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.4rem 0.65rem;
    margin-top: auto;
}

.svz-product__micro {
    margin: 0.05rem 0 0;
    padding: 0;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    line-height: 1.35;
    color: rgba(228, 201, 160, 0.78);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.svz-product__rating {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.4rem;
    min-height: 1.15rem;
}

.svz-product__rating-count {
    font-size: 0.72rem;
    color: rgba(248, 241, 231, 0.55);
    line-height: 1;
}

.svz-price {
    font-weight: 700;
    font-size: 1.18rem;
    color: var(--svz-champagne);
}

.svz-price-old {
    color: rgba(248, 241, 231, 0.45);
    text-decoration: line-through;
    font-size: 1rem;
}

.svz-product__cta {
    margin-top: 0.45rem;
    font-size: 1rem;
    color: rgba(248, 241, 231, 0.8);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.svz-product:hover .svz-product__cta,
.svz-product:focus-visible .svz-product__cta {
    opacity: 1;
    transform: translateY(0);
}

/* —— Diamond rating —— */
.svz-diamonds {
    --svz-diamond-on: #7ec8f5;
    --svz-diamond-off: rgba(248, 241, 231, 0.22);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.18rem;
    direction: ltr;
}

.svz-diamond {
    display: inline-grid;
    place-items: center;
    line-height: 0;
}

.svz-diamond svg {
    width: 100%;
    height: 100%;
    display: block;
}

.svz-diamond path {
    fill: var(--svz-diamond-off);
    stroke: rgba(126, 200, 245, 0.35);
    stroke-width: 0.8;
}

.svz-diamond.is-on path {
    fill: var(--svz-diamond-on);
    stroke: #a8dbfb;
    filter: drop-shadow(0 0 4px rgba(126, 200, 245, 0.45));
}

.svz-diamonds--sm .svz-diamond { width: 0.78rem; height: 0.78rem; }
.svz-diamonds--md .svz-diamond { width: 1.05rem; height: 1.05rem; }
.svz-diamonds--lg .svz-diamond { width: 1.35rem; height: 1.35rem; }

/* interactive picker */
.svz-diamond-picker {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 0.35rem;
    direction: ltr;
}

.svz-diamond-picker__btn {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 0.2rem;
    cursor: pointer;
    border-radius: 8px;
    transition: transform 0.18s ease, background 0.18s ease;
}

.svz-diamond-picker__btn:hover,
.svz-diamond-picker__btn:focus-visible {
    background: rgba(126, 200, 245, 0.12);
    outline: none;
    transform: translateY(-2px) scale(1.06);
}

.svz-diamond-picker__btn .svz-diamond {
    width: 1.55rem;
    height: 1.55rem;
}

.svz-diamond-picker__btn.is-on .svz-diamond path,
.svz-diamond-picker__btn.is-preview .svz-diamond path {
    fill: var(--svz-diamond-on);
    stroke: #a8dbfb;
}

/* —— Review summary + cards —— */
.svz-review-summary {
    --svz-tone: #22c55e;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.65rem 1rem;
    margin: 0 0 1.25rem;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    background: rgba(255, 248, 238, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.98rem;
    color: rgba(248, 241, 231, 0.78);
}

.svz-review-summary__pct strong,
.svz-review-summary__perf strong {
    color: var(--svz-tone);
    font-weight: 700;
}

.svz-review-summary__sep {
    width: 1px;
    height: 1.1rem;
    background: rgba(248, 241, 231, 0.28);
}

.svz-review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

.svz-review-card {
    --svz-tone: #22c55e;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding: 1rem 0.95rem 0.85rem;
    border-radius: 14px;
    background: rgba(12, 10, 8, 0.45);
    border: 2px solid var(--svz-tone);
    min-height: 150px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.svz-review-card__stars {
    display: flex;
    justify-content: center;
}

.svz-review-card__text {
    margin: 0;
    flex: 1;
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--svz-pearl);
    text-align: center;
}

.svz-review-card__text--empty {
    color: rgba(248, 241, 231, 0.45);
    font-style: italic;
}

.svz-review-card__meta {
    margin: 0;
    font-size: 0.78rem;
    color: rgba(248, 241, 231, 0.5);
    text-align: center;
}

.svz-review-summary.is-tone-5,
.svz-review-card.is-tone-5 { --svz-tone: #22c55e; }
.svz-review-summary.is-tone-4,
.svz-review-card.is-tone-4 { --svz-tone: #86efac; }
.svz-review-summary.is-tone-3,
.svz-review-card.is-tone-3 { --svz-tone: #a3e635; }
.svz-review-summary.is-tone-2,
.svz-review-card.is-tone-2 { --svz-tone: #fb923c; }
.svz-review-summary.is-tone-1,
.svz-review-card.is-tone-1 { --svz-tone: #ef4444; }

/* —— Review submit page —— */
.svz-review-form {
    max-width: 720px;
    margin: 0 auto;
}

.svz-review-eligible {
    display: grid;
    gap: 0.75rem;
    margin: 1rem 0 1.35rem;
}

.svz-review-eligible__item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.85rem;
    align-items: center;
    padding: 0.75rem 0.9rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 248, 238, 0.05);
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.svz-review-eligible__item.is-selected {
    border-color: rgba(126, 200, 245, 0.65);
    background: rgba(126, 200, 245, 0.1);
}

.svz-review-eligible__item.is-done {
    opacity: 0.55;
    cursor: not-allowed;
}

.svz-review-eligible__item > div {
    min-width: 0;
}

.svz-review-eligible__item img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 10px;
}

.svz-review-eligible__title {
    margin: 0 0 0.2rem;
    font-size: 1rem;
    color: var(--svz-pearl);
    overflow-wrap: anywhere;
}

.svz-review-eligible__meta {
    margin: 0;
    font-size: 0.82rem;
    color: rgba(248, 241, 231, 0.55);
}

.svz-review-step {
    margin: 1.25rem 0;
}

.svz-review-step__label {
    display: block;
    margin-bottom: 0.55rem;
    color: var(--svz-champagne);
    font-weight: 600;
}

.svz-review-step textarea {
    width: 100%;
    min-height: 110px;
    resize: vertical;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(0, 0, 0, 0.28);
    color: var(--svz-pearl);
    padding: 0.85rem 1rem;
    font-family: inherit;
    font-size: 0.95rem;
}

.svz-review-step textarea:focus {
    outline: 2px solid rgba(126, 200, 245, 0.45);
    border-color: transparent;
}

@media (max-width: 640px) {
    .svz-review-grid {
        grid-template-columns: 1fr;
    }

    .svz-review-eligible__item {
        grid-template-columns: auto 1fr;
    }
}

/* Buttons */
.svz-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 2.7rem;
    padding: 0.65rem 1.25rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.9rem;
    cursor: pointer;
}

.svz-btn--primary {
    background: linear-gradient(135deg, var(--svz-champagne), var(--svz-gold-deep));
    color: var(--svz-ink);
}

.svz-btn--primary:hover,
.svz-btn--primary:focus {
    color: var(--svz-ink);
    transform: translateY(-2px);
}

.svz-btn--ghost {
    background: transparent;
    color: var(--svz-pearl);
    border-color: var(--svz-glass-border);
}

.svz-btn--ghost:hover,
.svz-btn--ghost:focus {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.svz-btn--notify {
    background: linear-gradient(135deg, #c4a574, #9a7b4f);
    color: #1a1510;
    border-color: transparent;
    font-weight: 700;
}

.svz-btn--notify:hover,
.svz-btn--notify:focus {
    color: #1a1510;
    transform: translateY(-2px);
}

.svz-btn--notify-done {
    background: rgba(72, 110, 88, 0.88);
    color: #f4f7f4;
    border-color: transparent;
    cursor: default;
    pointer-events: none;
    opacity: 0.95;
}

.svz-stock-notify {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
    margin-top: 1rem;
}

.svz-stock-notify > .svz-detail__meta {
    flex: 1 1 100%;
}

.svz-btn--block {
    width: 100%;
}

/* Product detail */
.svz-detail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 1.25rem;
    min-width: 0;
    max-width: 100%;
}

.svz-detail__gallery,
.svz-detail__info {
    min-width: 0;
    max-width: 100%;
}

.svz-detail__gallery {
    border-radius: var(--svz-radius-sm);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(0, 0, 0, 0.2);
    padding: 0.75rem;
}

.svz-detail__info h1 {
    margin: 0;
    font-size: clamp(1.45rem, 3vw, 2rem);
    line-height: 1.55;
    font-weight: 700;
}

.svz-detail__title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 0 0 0.5rem;
}

.svz-detail__title-row h1 {
    min-width: 0;
    flex: 1 1 auto;
}

.svz-detail__title-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
}

.svz-share-btn {
    position: relative;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    margin: 0;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(228, 201, 160, 0.38);
    background: rgba(255, 248, 238, 0.06);
    color: var(--svz-champagne);
    cursor: pointer;
    text-decoration: none;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.svz-share-btn:hover,
.svz-share-btn:focus-visible {
    color: #fff8ee;
    border-color: rgba(228, 201, 160, 0.7);
    background: rgba(228, 201, 160, 0.14);
    transform: translateY(-1px);
    outline: none;
}

.svz-share-btn.is-copied {
    color: var(--svz-ink);
    border-color: var(--svz-champagne);
    background: linear-gradient(145deg, #fff8ee, var(--svz-champagne));
}

.svz-share-btn__toast {
    position: absolute;
    top: calc(100% + 0.4rem);
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    white-space: nowrap;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--svz-ink);
    background: linear-gradient(135deg, #fff8ee, var(--svz-champagne));
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
    pointer-events: none;
}

@media (max-width: 419px) {
    .svz-share-btn,
    .svz-wish-btn {
        width: 2.45rem;
        height: 2.45rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .svz-share-btn {
        transition: none;
    }

    .svz-share-btn:hover,
    .svz-share-btn:focus-visible {
        transform: none;
    }
}

.svz-wish-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    margin: 0;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(232, 214, 180, 0.35);
    background: rgba(255, 248, 238, 0.06);
    color: rgba(248, 241, 231, 0.85);
    cursor: pointer;
    text-decoration: none;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.svz-wish-btn:hover,
.svz-wish-btn:focus-visible {
    color: #ff6b7a;
    border-color: rgba(255, 107, 122, 0.55);
    background: rgba(255, 107, 122, 0.1);
}

.svz-wish-btn__fill {
    display: none;
}

.svz-wish-btn__outline {
    display: block;
}

.svz-wish-btn.is-active {
    color: #e11d48;
    border-color: rgba(225, 29, 72, 0.55);
    background: rgba(225, 29, 72, 0.12);
}

.svz-wish-btn.is-active .svz-wish-btn__fill {
    display: block;
}

.svz-wish-btn.is-active .svz-wish-btn__outline {
    display: none;
}

.svz-wish-btn:disabled {
    opacity: 0.65;
    cursor: wait;
}

.svz-wish-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.svz-wish-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
}

.svz-wish-item__media {
    position: relative;
    display: block;
    width: 96px;
    height: 96px;
    flex-shrink: 0;
    line-height: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #f3efe8;
}

.svz-wish-item__media img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
}

.svz-wish-item__body {
    flex: 1;
    min-width: 180px;
}

.svz-wish-item__body h2 {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
}

.svz-wish-item__body h2 a {
    color: var(--svz-pearl);
    text-decoration: none;
}

.svz-wish-item__body h2 a:hover,
.svz-wish-item__body h2 a:focus-visible {
    color: var(--svz-champagne);
}

.svz-wish-item__body .svz-price {
    margin: 0 0 0.25rem;
}

.svz-wish-item__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    align-items: center;
}

.svz-detail__meta {
    color: var(--svz-muted);
    margin-bottom: 0.85rem;
}

.svz-detail__desc {
    color: rgba(248, 241, 231, 0.86);
    margin: 0 0 1.25rem;
}

.svz-richtext-content {
    line-height: 1.85;
    overflow-x: auto;
}

.svz-richtext-content p {
    margin: 0 0 0.75rem;
}

.svz-richtext-content p:last-child {
    margin-bottom: 0;
}

.svz-richtext-content ul,
.svz-richtext-content ol {
    margin: 0 0 0.85rem;
    padding-inline-start: 1.35rem;
}

.svz-richtext-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 0.75rem 0;
    font-size: 0.95em;
}

.svz-richtext-content th,
.svz-richtext-content td {
    border: 1px solid rgba(232, 201, 154, 0.28);
    padding: 0.45rem 0.6rem;
    vertical-align: top;
}

.svz-richtext-content th {
    background: rgba(232, 201, 154, 0.12);
    color: #fff8ef;
}

.svz-richtext-content a {
    color: var(--svz-champagne, #e8c99a);
    text-decoration: underline;
}

.svz-richtext-content strong,
.svz-richtext-content b {
    color: #fff8ef;
    font-weight: 700;
}

.svz-richtext-content em,
.svz-richtext-content i {
    font-style: italic;
}

.svz-category-desc {
    margin: 2rem 0 0.5rem;
    padding: 1.25rem 1.15rem;
    border-radius: 16px;
    border: 1px solid rgba(232, 201, 154, 0.22);
    background:
        linear-gradient(165deg, rgba(42, 36, 28, 0.55), rgba(14, 16, 24, 0.72));
    color: rgba(248, 241, 231, 0.9);
}

.svz-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--svz-muted);
}

.svz-breadcrumb a {
    color: var(--svz-champagne);
}

/* Auth forms */
.svz-auth {
    max-width: 28rem;
    margin: 0 auto;
    padding: 0.5rem 0 1rem;
}

.svz-auth__brand {
    display: flex;
    justify-content: center;
    margin: 0 0 0.85rem;
}

.svz-auth__logo {
    width: 5.25rem;
    height: 5.25rem;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 0 0 1px rgba(212, 175, 120, 0.3);
}

.svz-auth--wide {
    max-width: 34rem;
}

.svz-auth__subtitle {
    margin: 0.5rem 0 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--svz-pearl);
}

.svz-profile-slot {
    margin: 0;
    padding: 0.85rem 0 0.25rem;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: grid;
    gap: 0.65rem;
}

.svz-profile-slot legend {
    padding: 0;
    margin: 0 0 0.15rem;
    font-size: 0.9rem;
    color: var(--svz-muted);
}

.svz-auth__title {
    margin: 0 0 0.45rem;
    font-size: clamp(1.4rem, 3vw, 1.85rem);
    font-weight: 700;
    text-align: center;
}

.svz-auth__text {
    margin: 0 0 1.25rem;
    color: var(--svz-muted);
    text-align: center;
    font-size: 0.98rem;
}

.svz-auth__form {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.svz-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.95rem;
}

.svz-field__error,
.svz-auth__errors {
    color: #f0b4b4;
    font-size: 0.98rem;
}

.svz-input {
    width: 100%;
    min-height: 2.85rem;
    padding: 0.65rem 0.9rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    color: var(--svz-pearl);
    font-family: inherit;
    font-size: 1rem;
    outline: none;
}

.svz-input:focus {
    border-color: rgba(228, 201, 160, 0.7);
    background: rgba(255, 255, 255, 0.12);
}

.svz-input--otp {
    letter-spacing: 0.35em;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 700;
}

.svz-password {
    position: relative;
    display: block;
}

.svz-password .svz-input {
    padding-left: 2.9rem;
}

.svz-password__toggle {
    position: absolute;
    left: 0.45rem;
    top: 50%;
    transform: translateY(-50%);
    width: 2.2rem;
    height: 2.2rem;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--svz-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

.svz-password__toggle:hover,
.svz-password__toggle:focus {
    color: var(--svz-champagne);
}

.svz-password__icon--closed {
    display: none;
}

.svz-password__toggle.is-visible .svz-password__icon--open {
    display: none;
}

.svz-password__toggle.is-visible .svz-password__icon--closed {
    display: inline-flex;
}

.svz-check {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--svz-muted);
    font-size: 0.92rem;
}

.svz-auth__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1.1rem;
    margin-top: 1.15rem;
    font-size: 0.92rem;
}

.svz-flash {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-bottom: 1rem;
}

.svz-flash__item {
    margin: 0;
    padding: 0.7rem 0.9rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 0.92rem;
}

.svz-flash__item--success { background: rgba(70, 140, 90, 0.25); }
.svz-flash__item--error { background: rgba(140, 60, 60, 0.3); }
.svz-flash__item--info { background: rgba(70, 100, 140, 0.28); }
.svz-flash__item--warning { background: rgba(140, 110, 40, 0.28); }

.svz-user-chip {
    max-width: 8rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--svz-muted);
    font-size: 0.98rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

a.svz-user-chip:hover,
a.svz-user-chip:focus-visible {
    color: var(--svz-pearl);
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.svz-user-dd {
    position: relative;
    display: flex;
    align-items: center;
}

.svz-user-dd__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    color: var(--svz-champagne);
}

.svz-user-dd__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.55rem;
    height: 2.55rem;
    border-radius: 50%;
    color: var(--svz-champagne);
    background: rgba(232, 214, 180, 0.1);
    border: 1px solid rgba(232, 214, 180, 0.45);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.svz-user-dd__toggle:hover .svz-user-dd__avatar,
.svz-user-dd__toggle:focus-visible .svz-user-dd__avatar,
.svz-user-dd.is-open .svz-user-dd__avatar,
.svz-user-dd.is-current .svz-user-dd__avatar {
    background: rgba(232, 214, 180, 0.18);
    border-color: rgba(232, 214, 180, 0.75);
    color: var(--svz-pearl);
}

.svz-user-dd__panel {
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 0;
    min-width: 12.5rem;
    max-width: min(16rem, 80vw);
    padding: 0.55rem 0.45rem 0.45rem;
    border-radius: 12px;
    background: rgba(18, 16, 14, 0.97);
    border: 1px solid rgba(232, 214, 180, 0.18);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
    z-index: 50;
}

.svz-user-dd__panel::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -0.45rem;
    height: 0.45rem;
}

.svz-user-dd__panel[hidden] {
    display: none !important;
}

.svz-user-dd__label {
    margin: 0 0 0.35rem;
    padding: 0.35rem 0.7rem 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--svz-muted);
    font-size: 0.95rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.svz-user-dd__link {
    display: block;
    padding: 0.55rem 0.7rem;
    border-radius: 8px;
    color: var(--svz-pearl);
    font-size: 0.95rem;
    text-decoration: none;
}

.svz-user-dd__link:hover,
.svz-user-dd__link:focus-visible,
.svz-user-dd__link.is-active {
    background: rgba(232, 214, 180, 0.12);
    color: var(--svz-champagne);
}

.svz-user-dd__logout {
    margin: 0.35rem 0 0;
    padding-top: 0.35rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.svz-user-dd__logout button {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0.55rem 0.7rem;
    border: 0;
    border-radius: 8px;
    background: none;
    color: var(--svz-muted);
    font: inherit;
    font-size: 0.95rem;
    text-align: right;
    cursor: pointer;
}

.svz-user-dd__logout button:hover,
.svz-user-dd__logout button:focus-visible {
    background: rgba(255, 255, 255, 0.06);
    color: var(--svz-pearl);
}

.svz-field__hint {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.9rem;
    color: var(--svz-muted);
    line-height: 1.5;
}

.svz-profile-meta {
    margin: 0;
    font-size: 0.98rem;
    color: var(--svz-muted);
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.5rem;
    align-items: baseline;
}

.svz-input[readonly] {
    opacity: 0.72;
    cursor: default;
}

.svz-inline-form {
    display: inline-flex;
    margin: 0;
}

.svz-inline-form .svz-icon-btn,
.svz-nav__logout button {
    font: inherit;
    cursor: pointer;
}

.svz-nav__logout {
    margin: 0;
}

.svz-nav__logout button {
    width: 100%;
    text-align: right;
    background: none;
    border: 0;
    color: var(--svz-pearl);
    padding: 0.7rem 0.2rem;
}

/* 404 page */
.svz-notfound {
    text-align: center;
    padding: clamp(1.5rem, 5vw, 3.5rem) 0.5rem;
    max-width: 40rem;
    margin: 0 auto;
}

.svz-notfound__code {
    margin: 0;
    font-size: clamp(4.5rem, 14vw, 7.5rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.08em;
    background: linear-gradient(140deg, #fff8ee 10%, var(--svz-champagne) 45%, var(--svz-gold-deep) 90%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0.95;
}

.svz-notfound__eyebrow {
    margin: 0.75rem 0 0.5rem;
    color: var(--svz-champagne);
    font-size: 0.9rem;
    letter-spacing: 0.14em;
}

.svz-notfound__title {
    margin: 0 0 0.85rem;
    font-size: clamp(1.45rem, 3.5vw, 2rem);
    font-weight: 700;
    line-height: 1.5;
}

.svz-notfound__text {
    margin: 0 auto 1.6rem;
    color: var(--svz-muted);
    font-size: 1.05rem;
    max-width: 32rem;
}

.svz-notfound__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.7rem;
}

/* Footer */
.svz-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    padding: 1.1rem clamp(0.9rem, 2.5vw, 1.75rem) 1.3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--svz-muted);
    font-size: 0.92rem;
}

.svz-footer__about {
    flex: 1 1 100%;
    max-width: 52rem;
    margin: 0 auto;
    text-align: center;
    padding: 0.35rem 0 0.15rem;
}

.svz-footer__about h2 {
    margin: 0 0 0.65rem;
    color: var(--svz-champagne);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.svz-footer__about p {
    margin: 0 0 0.7rem;
    line-height: 1.85;
    color: rgba(232, 224, 214, 0.82);
    font-size: 0.9rem;
}

.svz-footer__about p:last-child {
    margin-bottom: 0;
}

.svz-footer__about-more {
    display: inline-block;
    margin-inline-start: 0.35rem;
    color: var(--svz-champagne);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.svz-footer__rule {
    flex: 1 1 100%;
    width: 100%;
    height: 0;
    margin: 0.15rem 0 0.35rem;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.svz-footer__brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
    min-width: 7.5rem;
}

.svz-footer__logo-link {
    display: inline-flex;
    line-height: 0;
}

.svz-footer__logo {
    width: 5.5rem;
    height: 5.5rem;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 0 0 1px rgba(212, 175, 120, 0.24);
}

.svz-footer__brand p {
    margin: 0;
    max-width: 14rem;
    line-height: 1.55;
}

.svz-footer__main {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    min-width: 0;
    flex: 1;
}

.svz-footer__links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.15rem;
}

.svz-footer__support {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    margin-top: 0.35rem;
    max-width: 22rem;
}

.svz-footer__support-label {
    color: var(--svz-champagne, #e4c9a0);
    font-weight: 600;
    font-size: 0.9rem;
}

.svz-footer__support-phone {
    color: #fff8ee;
    font-weight: 700;
    letter-spacing: 0.02em;
    font-size: 0.95rem;
    cursor: default;
    user-select: text;
}

.svz-footer__support-address {
    margin: 0.15rem 0 0;
    font-size: 0.68rem;
    line-height: 1.55;
    color: rgba(248, 241, 231, 0.42);
    font-weight: 400;
}

.svz-footer a {
    color: var(--svz-muted);
}

.svz-footer a:hover,
.svz-footer a:focus {
    color: var(--svz-champagne);
}

.svz-footer__ig {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 999px;
    color: var(--svz-champagne);
    background: transparent;
    border: 1px solid rgba(228, 201, 160, 0.35);
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.svz-footer__ig:hover,
.svz-footer__ig:focus-visible {
    color: #fff8ee;
    background: rgba(228, 201, 160, 0.14);
    border-color: var(--svz-champagne);
    outline: none;
}

.svz-footer__trust {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.svz-enemad {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.svz-enemad img {
    width: 72px;
    height: auto;
    display: block;
}

/* Mobile sticky cart hint */
.svz-mobile-cart {
    display: none;
}

@media (max-width: 991px) {
    .svz-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .svz-detail {
        grid-template-columns: 1fr;
    }
}

/* Collapse dense header nav before it wraps (large Persian labels) */
@media (max-width: 1099px) {
    .svz-header {
        /* ردیف ۱: لوگو (راست) + آیکن‌ها (چپ) — ردیف ۲: منوی همبرگری */
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "brand actions"
            "nav nav";
        gap: 0.5rem;
        align-items: center;
    }

    .svz-brand {
        grid-area: brand;
        min-width: 0;
        overflow: hidden;
        justify-self: stretch;
    }

    .svz-header__actions {
        grid-area: actions;
        justify-self: end;
        align-self: center;
        flex-shrink: 0;
    }

    .svz-nav {
        grid-area: nav;
        display: none;
        flex-direction: column;
        align-items: stretch;
        flex-wrap: nowrap;
        padding: 0.35rem 0 0.15rem;
        gap: 0;
        width: 100%;
    }

    .svz-nav.is-open {
        display: flex;
    }

    .svz-nav a {
        padding: 0.65rem 0.2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        font-size: 0.95rem;
        white-space: normal;
    }

    .svz-nav-dd {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .svz-nav-dd__toggle {
        width: 100%;
        justify-content: space-between;
        padding: 0.65rem 0.2rem;
        font-size: 0.95rem;
        white-space: normal;
    }

    .svz-nav-dd__panel {
        position: static;
        min-width: 0;
        max-width: none;
        margin: 0 0 0.35rem;
        padding: 0.15rem 0 0.35rem 0.6rem;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .svz-nav-dd__link {
        padding: 0.5rem 0.2rem !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
        border-radius: 0;
        white-space: normal;
    }

    .svz-nav__login-mobile {
        display: block;
    }

    .svz-nav__mobile-only {
        display: block !important;
    }

    .svz-menu-toggle {
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .svz-header__actions .svz-login-text,
    .svz-header__actions .svz-action-label {
        display: none;
    }

    .svz-find-cta {
        padding: 0.32rem 0.55rem;
        font-size: 0.75rem;
        max-width: 7.5rem;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .svz-brand {
        min-width: 0;
        overflow: hidden;
    }

    .svz-brand__tag {
        display: none;
    }

    .svz-brand__name {
        font-size: 1.05rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media (max-width: 767px) {
    .svz-shell {
        padding: 0.4rem;
    }

    .svz-glass {
        border-radius: 16px;
        /* keep overflow hidden for glass look, but header must not crush brand */
    }

    /* Occasion theme: reveal backdrop around + through glass on mobile */
    body.svz-theme-active .svz-shell {
        padding: var(--svz-mobile-shell-pad, 0.85rem);
        padding-bottom: max(0.5rem, calc(var(--svz-mobile-shell-pad, 0.85rem) * 0.65));
    }

    body.svz-theme-active .svz-glass {
        background:
            linear-gradient(180deg, rgba(22, 17, 14, 0.12) 0%, transparent 5.5rem),
            linear-gradient(160deg, var(--svz-glass-highlight), transparent 40%),
            rgba(22, 17, 14, var(--svz-mobile-glass-alpha, 0.4));
        backdrop-filter: blur(14px) saturate(130%);
        -webkit-backdrop-filter: blur(14px) saturate(130%);
    }

    body.svz-theme-active .svz-header {
        background: transparent;
        border-bottom-color: rgba(255, 255, 255, 0.08);
    }

    body.svz-theme-active .svz-promo {
        background: linear-gradient(
            90deg,
            rgba(154, 118, 64, calc(0.55 + var(--svz-mobile-glass-alpha, 0.4) * 0.4)),
            rgba(201, 166, 107, calc(0.5 + var(--svz-mobile-glass-alpha, 0.4) * 0.4))
        );
    }

    .svz-header {
        gap: 0.35rem;
        padding: 0.5rem 0.55rem;
        align-items: center;
    }

    .svz-brand {
        gap: 0.4rem;
        min-width: 0;
        max-width: 42%;
    }

    .svz-brand__logo {
        width: 2.35rem;
        height: 2.35rem;
        border-radius: 9px;
    }

    /* متن برند در موبایل جمع می‌شود تا با دکمه‌ها تداخل نکند */
    .svz-brand__text {
        display: none;
    }

    .svz-nav a {
        padding: 0.7rem 0.2rem;
        font-size: 0.95rem;
    }

    .svz-header__actions {
        gap: 0.28rem;
        flex-shrink: 0;
        justify-content: flex-end;
        min-width: 0;
    }

    /* CTA در همبرگر هست؛ در نوار بالا جا تنگ می‌کند و روی لوگو می‌افتد */
    .svz-header__actions .svz-find-cta {
        display: none;
    }

    .svz-icon-btn {
        width: 2.3rem;
        height: 2.3rem;
        min-width: 2.3rem;
        min-height: 2.3rem;
        padding: 0;
        border-radius: 12px;
    }

    .svz-menu-toggle {
        width: 2.3rem;
        height: 2.3rem;
        border-radius: 12px;
    }

    .svz-user-dd__toggle {
        padding: 0;
    }

    .svz-user-dd__avatar {
        width: 2.3rem;
        height: 2.3rem;
    }

    .svz-cart-count {
        min-width: 1rem;
        height: 1rem;
        font-size: 0.7rem;
        top: -0.2rem;
        left: -0.15rem;
    }

    .svz-slider {
        height: 200px;
    }

    .svz-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.65rem;
    }

    .svz-product__title {
        font-size: 0.92rem;
        min-height: 2.8em;
    }

    .svz-price {
        font-size: 0.95rem;
    }

    .svz-product__micro {
        font-size: 0.7rem;
        letter-spacing: 0.02em;
    }

    .svz-product__cta {
        opacity: 1;
        transform: none;
    }

    .svz-section__head {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.55rem;
    }

    .svz-section__head h1,
    .svz-section__head h2 {
        font-size: 1.2rem;
    }

    .svz-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .svz-footer__brand {
        width: 100%;
        align-items: center;
        text-align: center;
    }

    .svz-footer__brand p {
        max-width: none;
    }

    .svz-enemad img {
        width: 64px;
    }

    .svz-mobile-cart {
        display: flex;
        position: sticky;
        bottom: 0.6rem;
        z-index: 5;
        margin-top: 0.5rem;
    }
}

@media (max-width: 419px) {
    .svz-grid {
        grid-template-columns: 1fr 1fr;
    }

    .svz-brand {
        max-width: 28%;
    }

    .svz-brand__logo {
        width: 2.15rem;
        height: 2.15rem;
    }

    .svz-header__actions {
        gap: 0.2rem;
    }

    .svz-icon-btn,
    .svz-menu-toggle {
        width: 2.15rem;
        height: 2.15rem;
        min-width: 2.15rem;
        min-height: 2.15rem;
        border-radius: 11px;
    }

    .svz-user-dd__avatar {
        width: 2.15rem;
        height: 2.15rem;
    }

    .svz-main {
        padding: 0.75rem 0.65rem 1.15rem;
    }

    .svz-wish-item {
        flex-direction: column;
        align-items: stretch;
    }

    .svz-wish-item__actions {
        width: 100%;
        flex-direction: column;
    }

    .svz-wish-item__actions .svz-btn {
        width: 100%;
        text-align: center;
    }

    .svz-product-row__nav {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .svz-product,
    .svz-slide,
    .svz-product__media img,
    .svz-product__cta {
        transition: none;
    }
}

/* Storefront forms (product detail / cart) */
.svz-detail__info label {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 248, 238, 0.78);
}

.svz-shop-search {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    align-items: center;
}

.svz-home-search {
    margin: 0 0 1rem;
}

.svz-home-intro {
    margin: 0 0 0.85rem;
}

.svz-home-intro .svz-section__head {
    margin-bottom: 0;
}

.svz-home-blurb {
    margin: 0 0 1.5rem;
    padding: 1.15rem 1.2rem 1.2rem;
    border: 1px solid rgba(255, 248, 238, 0.12);
    border-radius: var(--svz-radius-sm, 12px);
    background:
        linear-gradient(145deg, rgba(201, 166, 107, 0.08), transparent 55%),
        rgba(255, 248, 238, 0.03);
}

.svz-home-blurb h2 {
    margin: 0 0 0.55rem;
    font-size: clamp(1.15rem, 2.2vw, 1.4rem);
    font-weight: 700;
    color: var(--svz-pearl, #fff8ee);
    line-height: 1.35;
}

.svz-home-blurb > p {
    margin: 0 0 0.75rem;
    color: rgba(255, 248, 238, 0.82);
    font-size: 0.98rem;
    line-height: 1.85;
}

.svz-home-blurb__lead {
    margin: 0 0 0.45rem !important;
    color: rgba(228, 201, 160, 0.92) !important;
    font-size: 0.92rem !important;
}

.svz-home-blurb__cats {
    list-style: none;
    margin: 0 0 0.9rem;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.55rem;
}

.svz-home-blurb__cats a {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(228, 201, 160, 0.28);
    background: rgba(201, 166, 107, 0.1);
    color: #fff8ee;
    font-size: 0.92rem;
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.svz-home-blurb__cats a:hover,
.svz-home-blurb__cats a:focus-visible {
    border-color: rgba(228, 201, 160, 0.6);
    background: rgba(201, 166, 107, 0.22);
    outline: none;
}

.svz-home-blurb__more {
    margin: 0 !important;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 0.65rem;
    font-size: 0.95rem !important;
}

.svz-home-blurb__more a {
    color: #e4c9a0;
    text-decoration: none;
    border-bottom: 1px solid rgba(228, 201, 160, 0.35);
}

.svz-home-blurb__more a:hover,
.svz-home-blurb__more a:focus-visible {
    color: #fff8ee;
    border-bottom-color: rgba(255, 248, 238, 0.55);
    outline: none;
}

.svz-home-search .svz-shop-search {
    margin-bottom: 0;
}

/* Fix mobile form text: iOS/Android often break inherited fonts / shrink selects */
.svz-body input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]):not([type="submit"]):not([type="button"]):not([type="image"]),
.svz-body select,
.svz-body textarea,
.svz-body .form-control,
.svz-body .svz-input {
    font-family: IRANSans, Tahoma, "Segoe UI", sans-serif !important;
    font-size: 16px !important; /* prevents iOS zoom + keeps glyphs readable */
    font-weight: 400;
    font-style: normal;
    line-height: 1.5;
    letter-spacing: normal;
    word-spacing: normal;
    text-transform: none;
    text-indent: 0;
    -webkit-text-size-adjust: 100%;
    -webkit-text-fill-color: #fff8ee;
    color: #fff8ee !important;
    background-color: rgba(255, 248, 238, 0.08);
    border: 1px solid rgba(255, 248, 238, 0.22);
    border-radius: 10px;
    max-width: none;
    writing-mode: horizontal-tb !important;
    text-orientation: mixed;
    transform: none;
    unicode-bidi: plaintext;
}

.svz-body .svz-input--otp {
    letter-spacing: 0.35em;
}

.svz-body select,
.svz-body select.form-control {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: rgba(255, 248, 238, 0.1);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23e4c9a0' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 0.85rem center;
    background-size: 12px 8px;
    padding: 0.7rem 0.85rem 0.7rem 2.1rem;
    min-height: 2.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.svz-body select option {
    color: #1a1510 !important;
    background: #fff8ee;
    font-family: IRANSans, Tahoma, sans-serif;
    font-size: 16px;
    -webkit-text-fill-color: #1a1510;
}

.svz-body input::placeholder,
.svz-body textarea::placeholder {
    color: rgba(255, 248, 238, 0.55);
    opacity: 1;
    -webkit-text-fill-color: rgba(255, 248, 238, 0.55);
}

.svz-shop-search .form-control {
    flex: 1 1 12rem;
    max-width: 22rem;
    width: auto;
    margin-top: 0;
    padding: 0.7rem 0.85rem;
    min-height: 2.85rem;
}

.svz-shop-search__select {
    flex: 1 1 11rem;
    max-width: none;
    min-width: 0;
    cursor: pointer;
}

.svz-shop-search__select option {
    color: #1a1510;
    background: #fff8ee;
}

.svz-detail__info .form-control {
    width: 100%;
    margin-top: 0.35rem;
    padding: 0.7rem 0.85rem;
    min-height: 2.85rem;
}

.svz-detail__info .form-control:focus,
.svz-shop-search .form-control:focus,
.svz-body .svz-input:focus {
    outline: none;
    border-color: rgba(212, 175, 120, 0.7);
    box-shadow: 0 0 0 2px rgba(212, 175, 120, 0.2);
    background-color: rgba(255, 248, 238, 0.12);
}

.svz-detail__info textarea.form-control {
    resize: vertical;
    min-height: 90px;
    white-space: pre-wrap;
}

@media (max-width: 767px) {
    .svz-shop-search {
        flex-direction: column;
        align-items: stretch;
    }

    .svz-shop-search .form-control,
    .svz-shop-search__select {
        width: 100%;
        max-width: none;
        flex: 1 1 auto;
    }

    .svz-shop-search .svz-btn {
        width: 100%;
    }
}

.svz-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

/* Out of stock product cards */
.svz-product.is-oos {
    opacity: 0.88;
}

.svz-product__badge--oos {
    background: rgba(120, 48, 48, 0.95);
    color: #fff8ee;
}

.svz-product__oos-veil {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(22, 17, 14, 0.45);
    color: #fff8ee;
    font-weight: 700;
    letter-spacing: 0.02em;
    z-index: 2;
}

.svz-product__color {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0;
    color: var(--svz-muted);
    font-size: 0.98rem;
}

.svz-color-dot {
    width: 0.85rem;
    height: 0.85rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 248, 238, 0.35);
    display: inline-block;
    flex-shrink: 0;
}

.svz-color-dot--lg {
    width: 1.25rem;
    height: 1.25rem;
}

.svz-color-picker {
    margin: 0;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(255, 248, 238, 0.18);
    border-radius: 12px;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.svz-color-picker legend {
    padding: 0 0.35rem;
    color: var(--svz-champagne);
    font-size: 0.92rem;
}

/* لیست مدل‌ها — نام‌های بلند نباید عرض صفحه موبایل را بشکنند */
.svz-variant-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: stretch;
    max-width: 100%;
    min-width: 0;
}

.svz-variant-picker .svz-color-option {
    min-width: 0;
    max-width: 100%;
    flex: 1 1 calc(50% - 0.5rem);
    padding: 0.45rem 0.75rem;
    border: 1px solid rgba(255, 248, 238, 0.22);
    border-radius: 10px;
    background: rgba(22, 17, 14, 0.35);
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
    white-space: normal;
    box-sizing: border-box;
}

.svz-variant-picker .svz-color-option:hover:not(.is-disabled) {
    border-color: rgba(232, 210, 170, 0.55);
    transform: translateY(-1px);
}

.svz-variant-picker .svz-color-option.is-selected {
    border-color: var(--svz-champagne);
    background: rgba(232, 210, 170, 0.12);
}

.svz-variant-picker .svz-color-option:has(input:checked):not(.is-selected) {
    /* فقط وقتی is-selected ست نشده؛ منبع حقیقت کلاس is-selected است */
    border-color: var(--svz-champagne);
    background: rgba(232, 210, 170, 0.12);
}

/* ناموجود قابل مشاهده/انتخاب برای دکمه «موجود شد خبرم کن» — نشانگر غیرفعال نباشد */
.svz-variant-picker .svz-color-option.is-disabled {
    opacity: 0.72;
    cursor: pointer;
    transform: none;
}

.svz-variant-picker .svz-color-option.is-disabled:hover {
    border-color: rgba(232, 210, 170, 0.45);
    transform: translateY(-1px);
}

.svz-variant-picker .svz-color-option.is-disabled.is-selected {
    opacity: 0.92;
    border-color: var(--svz-champagne);
    background: rgba(232, 210, 170, 0.12);
}

.svz-variant-picker .svz-color-option.is-disabled input:disabled {
    cursor: pointer;
    pointer-events: none;
}

.svz-variant-picker .svz-variant-label {
    display: inline;
    line-height: 1.35;
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal;
}

.svz-variant-picker .svz-variant-oos-tag {
    color: var(--svz-muted);
    margin: 0;
    white-space: nowrap;
    font-size: 0.92em;
}

.svz-color-option {
    display: inline-flex !important;
    align-items: flex-start;
    gap: 0.55rem;
    cursor: pointer;
}

@media (min-width: 640px) {
    .svz-variant-picker .svz-color-option {
        flex: 1 1 calc(33.333% - 0.5rem);
    }
}

/* Detail gallery */
.svz-detail__stage {
    position: relative;
    border-radius: var(--svz-radius-sm);
    overflow: hidden;
    background: #f3efe8;
}

.svz-detail__stage > img {
    display: block;
    width: 100%;
    height: auto;
    max-width: none;
    aspect-ratio: 1;
    object-fit: cover;
    object-position: center;
    background: #f3efe8;
}

.svz-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 2.4rem;
    height: 2.4rem;
    border: 0;
    border-radius: 999px;
    background: rgba(22, 17, 14, 0.62);
    color: var(--svz-pearl);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
}

.svz-gallery-nav--prev { right: 0.65rem; }
.svz-gallery-nav--next { left: 0.65rem; }

.svz-detail__oos-badge {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    z-index: 2;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    background: rgba(120, 48, 48, 0.92);
    color: #fff8ee;
    font-weight: 700;
    font-size: 0.98rem;
}

.svz-detail__thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.svz-thumb-btn {
    position: relative;
    flex: 0 0 auto;
    width: 4.75rem;
    height: 4.75rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: #ebe6de;
    padding: 0;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.85;
}

.svz-thumb-btn.is-oos {
    opacity: 0.48;
    filter: grayscale(0.25);
}

.svz-thumb-btn.is-active,
.svz-thumb-btn:hover {
    opacity: 1;
    border-color: var(--svz-champagne);
}

.svz-thumb-btn img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
}

/* Home product rows — refined section carousels */
.svz-product-row {
    --row-accent: var(--svz-champagne);
    --row-accent-soft: rgba(228, 201, 160, 0.18);
    margin: 1.55rem 0 1.85rem;
}

.svz-product-row__inner {
    position: relative;
    padding: 1rem 1rem 1.05rem;
    border-radius: calc(var(--svz-radius-sm) + 4px);
    border: 1px solid rgba(255, 248, 238, 0.12);
    background:
        linear-gradient(180deg, rgba(255, 248, 238, 0.05), rgba(255, 248, 238, 0.015));
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.16);
    overflow: hidden;
}

.svz-product-row__inner::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--row-accent), transparent);
    opacity: 0.75;
}

.svz-product-row__head {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.95rem;
}

.svz-product-row__title {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    min-width: 0;
}

.svz-product-row__mark {
    flex-shrink: 0;
    width: 0.72rem;
    height: 0.72rem;
    margin-top: 0.45rem;
    border-radius: 2px;
    transform: rotate(45deg);
    background: linear-gradient(145deg, #fff8ee, var(--row-accent));
    box-shadow: 0 0 0 4px var(--row-accent-soft);
}

.svz-product-row__title h2 {
    margin: 0 0 0.28rem;
    font-family: var(--svz-display);
    font-size: clamp(1.3rem, 2.2vw, 1.65rem);
    color: var(--svz-pearl);
    line-height: 1.45;
}

.svz-product-row__title p {
    margin: 0;
    color: var(--svz-muted);
    font-size: 1rem;
    line-height: 1.65;
}

.svz-product-row__meta {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
}

.svz-product-row__count {
    display: inline-flex;
    align-items: center;
    min-height: 1.85rem;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    font-size: 0.9rem;
    color: rgba(248, 241, 231, 0.88);
    background: rgba(255, 248, 238, 0.07);
    border: 1px solid rgba(255, 248, 238, 0.14);
    white-space: nowrap;
}

.svz-product-row__controls {
    display: inline-flex;
    gap: 0.35rem;
}

.svz-product-row__nav {
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 248, 238, 0.2);
    background: rgba(255, 248, 238, 0.06);
    color: var(--svz-pearl);
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.svz-product-row__nav:hover,
.svz-product-row__nav:focus-visible {
    color: var(--svz-ink);
    background: var(--row-accent);
    border-color: var(--row-accent);
    transform: translateY(-1px);
    outline: none;
}

.svz-product-row__viewport {
    position: relative;
}

.svz-product-row__viewport::before,
.svz-product-row__viewport::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0.55rem;
    width: 1.4rem;
    z-index: 2;
    pointer-events: none;
}

.svz-product-row__viewport::before {
    right: 0;
    background: linear-gradient(to left, rgba(22, 17, 14, 0.55), transparent);
}

.svz-product-row__viewport::after {
    left: 0;
    background: linear-gradient(to right, rgba(22, 17, 14, 0.55), transparent);
}

.svz-product-row__track {
    display: flex;
    gap: 0.9rem;
    overflow-x: auto;
    padding: 0.2rem 0.35rem 0.65rem;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.svz-product-row__track::-webkit-scrollbar {
    height: 6px;
}

.svz-product-row__track::-webkit-scrollbar-track {
    background: rgba(255, 248, 238, 0.05);
    border-radius: 999px;
}

.svz-product-row__track::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, rgba(255, 248, 238, 0.16), var(--row-accent-soft));
    border-radius: 999px;
}

.svz-product-row__item {
    flex: 0 0 min(236px, 74vw);
    scroll-snap-align: start;
}

.svz-product-row__item .svz-product {
    height: 100%;
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.svz-product-row__item .svz-product:hover,
.svz-product-row__item .svz-product:focus-visible {
    transform: translateY(-5px);
    border-color: rgba(228, 201, 160, 0.35);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
}

.svz-product-row--amazing {
    --row-accent: #e8b4a4;
    --row-accent-soft: rgba(232, 180, 164, 0.2);
}

.svz-product-row--discount {
    --row-accent: var(--svz-gold);
    --row-accent-soft: rgba(201, 166, 107, 0.22);
}

.svz-product-row--new {
    --row-accent: #d4c3a6;
    --row-accent-soft: rgba(212, 195, 166, 0.2);
}

.svz-product-row--bestseller {
    --row-accent: #c9a66b;
    --row-accent-soft: rgba(201, 166, 107, 0.24);
}

.svz-product-row--gift {
    --row-accent: #c9a66b;
    --row-accent-soft: rgba(201, 166, 107, 0.18);
}

.svz-product-row__item--gift {
    flex: 0 0 min(78vw, 280px);
    max-width: 280px;
}

.svz-gift-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
}

.svz-gift-grid .svz-gift-card {
    height: 100%;
}

@media (max-width: 991px) {
    .svz-gift-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .svz-gift-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.7rem;
    }
}

.svz-gift-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    border-radius: 18px;
    overflow: hidden;
    background:
        linear-gradient(165deg, rgba(255, 248, 235, 0.07), rgba(20, 18, 16, 0.55)),
        rgba(28, 24, 20, 0.72);
    border: 1px solid rgba(201, 166, 107, 0.28);
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.svz-gift-card:hover,
.svz-gift-card:focus-visible {
    transform: translateY(-4px);
    border-color: rgba(201, 166, 107, 0.55);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.32);
    outline: none;
}

.svz-gift-card__media {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.25);
}

.svz-gift-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease, opacity 0.3s ease;
}

.svz-gift-card:hover .svz-gift-card__media img,
.svz-gift-card:focus-visible .svz-gift-card__media img {
    transform: scale(1.04);
}

.svz-gift-card__badge {
    position: absolute;
    top: 0.7rem;
    left: 0.7rem;
    z-index: 1;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #1a1510;
    background: linear-gradient(135deg, #e8d5a8, #c9a66b);
}

.svz-gift-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
    padding: 0.85rem 0.9rem 1rem;
    flex: 1;
}

.svz-gift-card__occasion {
    margin: 0;
    font-size: 0.78rem;
    letter-spacing: 0.02em;
    color: rgba(232, 213, 168, 0.88);
}

.svz-gift-card__title {
    margin: 0;
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.35;
}

.svz-gift-card__meta {
    margin: 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.58);
}

.svz-gift-card__prices {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.45rem;
    margin-top: 0.35rem;
}

.svz-gift-card__cta {
    margin-top: auto;
    padding-top: 0.65rem;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--svz-gold, #c9a66b);
}

.svz-gift-lines__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.svz-gift-lines__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
}

.svz-gift-lines__item img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.svz-gift-lines__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.svz-gift-lines__body strong {
    font-size: 0.95rem;
}

.svz-gift-lines__body span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.62);
}

.svz-gift-lines__link {
    font-size: 0.8rem;
    color: var(--svz-gold, #c9a66b);
    text-decoration: none;
    white-space: nowrap;
}

.svz-gift-lines__sum {
    margin-top: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.75rem 0.85rem;
    border-radius: 12px;
    border: 1px dashed rgba(201, 166, 107, 0.4);
}

.svz-gift-lines__sum > div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.9rem;
}

.svz-gift-lines__sum .is-total {
    margin-top: 0.2rem;
    padding-top: 0.45rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1rem;
}

.svz-cart-gift-banner {
    width: 100%;
    margin: 0 0 0.55rem;
    padding: 0.45rem 0.65rem;
    border-radius: 8px;
    background: rgba(201, 166, 107, 0.12);
    border: 1px solid rgba(201, 166, 107, 0.35);
    font-size: 0.86rem;
    color: #f0e2c0;
}

@media (prefers-reduced-motion: reduce) {
    .svz-gift-card,
    .svz-gift-card__media img {
        transition: none !important;
    }
}

@media (max-width: 720px) {
    .svz-product-row__inner {
        padding: 0.85rem 0.75rem 0.9rem;
    }

    .svz-product-row__head {
        align-items: flex-start;
        flex-direction: column;
    }

    .svz-product-row__meta {
        width: 100%;
        justify-content: space-between;
    }

    .svz-product-row__viewport::before,
    .svz-product-row__viewport::after {
        width: 0.7rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .svz-product-row__item .svz-product,
    .svz-product-row__nav {
        transition: none !important;
    }
}

/* —— Support tickets & Find-for-me CTA —— */
.svz-find-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.38rem 0.75rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #1a1510;
    background: linear-gradient(135deg, #f0d9a8 0%, var(--svz-champagne, #e8c99a) 45%, var(--svz-gold, #c9a66b) 100%);
    box-shadow: 0 0 0 1px rgba(240, 217, 168, 0.35), 0 6px 18px rgba(0, 0, 0, 0.18);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
    text-decoration: none;
    white-space: nowrap;
    animation: svz-find-pulse 2.8s ease-in-out infinite;
}

.svz-find-cta:hover,
.svz-find-cta:focus-visible {
    transform: translateY(-1px) scale(1.03);
    filter: brightness(1.05);
    box-shadow: 0 0 0 1px rgba(240, 217, 168, 0.55), 0 10px 24px rgba(0, 0, 0, 0.22);
    color: #1a1510;
    text-decoration: none;
}

.svz-nav__find {
    font-weight: 700 !important;
    color: var(--svz-champagne, #e8c99a) !important;
}

.svz-nav__find::after {
    background: var(--svz-gold, #c9a66b) !important;
    height: 2px !important;
}

@keyframes svz-find-pulse {
    0%, 100% { box-shadow: 0 0 0 1px rgba(240, 217, 168, 0.35), 0 6px 18px rgba(0, 0, 0, 0.18); }
    50% { box-shadow: 0 0 0 3px rgba(240, 217, 168, 0.22), 0 8px 22px rgba(201, 166, 107, 0.35); }
}

.svz-ticket-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.svz-ticket-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
}

.svz-ticket-item h2 {
    margin: 0 0 0.35rem;
    font-size: 1.1rem;
}

.svz-ticket-item h2 a {
    color: inherit;
    text-decoration: none;
}

.svz-ticket-item h2 a:hover {
    color: var(--svz-champagne, #e8c99a);
}

.svz-ticket-status {
    display: inline-block;
    font-size: 0.85rem;
    padding: 0.15rem 0.55rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
}

.svz-ticket-status--1 { color: #f0c674; background: rgba(240, 198, 116, 0.15); }
.svz-ticket-status--2 { color: #8fd3a8; background: rgba(143, 211, 168, 0.15); }
.svz-ticket-status--3 { color: #b0b0b0; background: rgba(176, 176, 176, 0.12); }

.svz-ticket-form {
    max-width: 720px;
    margin: 1.25rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.svz-ticket-form__group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.svz-ticket-form__group label {
    font-weight: 600;
}

.svz-ticket-form__control {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(0, 0, 0, 0.25);
    color: inherit;
    font: inherit;
}

.svz-ticket-form__control:focus {
    outline: none;
    border-color: var(--svz-champagne, #e8c99a);
    box-shadow: 0 0 0 2px rgba(232, 201, 154, 0.2);
}

.svz-ticket-form__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.svz-ticket-thread {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin: 1rem 0 1.5rem;
}

.svz-ticket-msg {
    padding: 0.9rem 1rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 90%;
    animation: svz-ticket-in 0.35s ease both;
}

.svz-ticket-msg--user {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.05);
}

.svz-ticket-msg--admin {
    align-self: flex-end;
    background: rgba(201, 166, 107, 0.12);
    border-color: rgba(201, 166, 107, 0.28);
}

.svz-ticket-msg header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.45rem;
    font-size: 0.9rem;
    color: var(--svz-muted, #b8b0a4);
}

.svz-ticket-msg__body {
    white-space: normal;
    line-height: 1.7;
}

.svz-ticket-product-img {
    display: block;
    max-width: 180px;
    max-height: 180px;
    margin: 0.5rem 0;
    border-radius: 8px;
    object-fit: cover;
}

.svz-ticket-files {
    list-style: none;
    margin: 0.75rem 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.svz-ticket-files img {
    max-width: 160px;
    max-height: 120px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.svz-ticket-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: max(1rem, env(safe-area-inset-top)) 1rem max(1rem, env(safe-area-inset-bottom));
    box-sizing: border-box;
}

.svz-ticket-modal[hidden] {
    display: none !important;
}

.svz-ticket-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 8, 6, 0.72);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.svz-ticket-modal__panel {
    position: relative;
    z-index: 1;
    width: min(420px, 100%);
    max-height: min(85vh, 560px);
    overflow: auto;
    padding: 1.35rem 1.2rem;
    border-radius: 18px;
    background: linear-gradient(160deg, #2a241c 0%, #1a1612 100%);
    border: 1px solid rgba(232, 201, 154, 0.28);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
    animation: svz-ticket-in 0.35s ease both;
}

.svz-ticket-modal__panel h2 {
    margin: 0 0 0.65rem;
    font-size: 1.2rem;
    color: var(--svz-champagne, #e8c99a);
}

.svz-ticket-modal__panel p {
    margin: 0 0 1rem;
    line-height: 1.7;
    font-size: 0.95rem;
    color: var(--svz-pearl, #f5f0e8);
}

body.svz-modal-open {
    overflow: hidden;
}

@keyframes svz-ticket-in {
    from { opacity: 0; transform: translateY(8px) scale(0.98); }
    to { opacity: 1; transform: none; }
}

@media (max-width: 720px) {
    .svz-ticket-form {
        max-width: 100%;
        margin-top: 1rem;
    }

    .svz-ticket-item {
        flex-direction: column;
        align-items: stretch;
        padding: 0.85rem 0.9rem;
    }

    .svz-ticket-item__actions {
        width: 100%;
    }

    .svz-ticket-item__actions .svz-btn {
        width: 100%;
        text-align: center;
    }

    .svz-ticket-msg {
        max-width: 100%;
    }

    .svz-ticket-msg header {
        flex-direction: column;
        gap: 0.25rem;
    }

    .svz-ticket-form__actions {
        flex-direction: column;
    }

    .svz-ticket-form__actions .svz-btn {
        width: 100%;
        text-align: center;
    }

    .svz-section__head {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .svz-find-cta,
    .svz-ticket-msg,
    .svz-ticket-modal__panel {
        animation: none !important;
    }
}

/* ========== بازگشت از درگاه (/back) ========== */
.svz-pay-back {
    position: relative;
    min-height: min(72vh, 760px);
    display: grid;
    place-items: center;
    padding: 2.5rem 1.25rem 3.5rem;
    overflow: hidden;
}

.svz-pay-back__glow {
    position: absolute;
    inset: -10% 10% auto;
    height: 55%;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(201, 166, 107, 0.28), transparent 62%),
        radial-gradient(ellipse at 80% 40%, rgba(228, 201, 160, 0.12), transparent 50%);
    pointer-events: none;
    filter: blur(8px);
    animation: svz-pay-glow 4.5s ease-in-out infinite alternate;
}

.svz-pay-back__card {
    position: relative;
    width: min(520px, 100%);
    padding: 2.1rem 1.75rem 1.85rem;
    border-radius: 22px;
    border: 1px solid rgba(228, 201, 160, 0.28);
    background:
        linear-gradient(165deg, rgba(255, 248, 238, 0.1), rgba(22, 17, 14, 0.55) 48%, rgba(22, 17, 14, 0.72)),
        rgba(26, 21, 16, 0.75);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.08) inset,
        0 28px 70px rgba(0, 0, 0, 0.42);
    text-align: center;
    animation: svz-pay-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.svz-pay-back__brand {
    font-size: 0.72rem;
    letter-spacing: 0.28em;
    color: var(--svz-champagne);
    font-weight: 700;
    margin-bottom: 1.15rem;
}

.svz-pay-back__icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 1.1rem;
    color: var(--svz-champagne);
    animation: svz-pay-pop 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

.svz-pay-back__icon svg {
    width: 100%;
    height: 100%;
}

.svz-pay-back.is-success .svz-pay-back__icon {
    color: #d9c08a;
}

.svz-pay-back.is-pending .svz-pay-back__icon {
    color: #e4c9a0;
}

.svz-pay-back.is-failed .svz-pay-back__icon {
    color: var(--svz-danger);
}

.svz-pay-back__title {
    margin: 0 0 0.55rem;
    font-size: clamp(1.45rem, 2.4vw, 1.85rem);
    font-weight: 700;
    color: #fff8ee;
    letter-spacing: -0.02em;
}

.svz-pay-back__message {
    margin: 0 auto 1.35rem;
    max-width: 34ch;
    color: var(--svz-muted);
    font-size: 0.98rem;
    line-height: 1.85;
}

.svz-pay-back__meta {
    display: grid;
    gap: 0.55rem;
    text-align: right;
    padding: 0.95rem 1rem;
    border-radius: 14px;
    background: rgba(255, 248, 238, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.svz-pay-back__row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    font-size: 0.92rem;
}

.svz-pay-back__row span {
    color: var(--svz-muted);
    white-space: nowrap;
}

.svz-pay-back__row strong {
    color: #fff6e8;
    font-weight: 700;
    text-align: left;
    word-break: break-word;
}

.svz-pay-back.is-success .svz-pay-back__status {
    color: #e4c9a0;
}

.svz-pay-back.is-pending .svz-pay-back__status {
    color: #f0d9a8;
}

.svz-pay-back.is-failed .svz-pay-back__status {
    color: var(--svz-danger);
}

.svz-pay-back__actions {
    margin-top: 1.35rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    min-height: 0;
}

@keyframes svz-pay-rise {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes svz-pay-pop {
    from {
        opacity: 0;
        transform: scale(0.7);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes svz-pay-glow {
    from { opacity: 0.7; transform: scale(1); }
    to { opacity: 1; transform: scale(1.04); }
}

@media (max-width: 600px) {
    .svz-pay-back {
        padding: 1.5rem 1rem 2.5rem;
        min-height: auto;
    }

    .svz-pay-back__card {
        padding: 1.6rem 1.15rem 1.45rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .svz-pay-back__card,
    .svz-pay-back__icon,
    .svz-pay-back__glow {
        animation: none !important;
    }
}

/* ========== انتقال میانی به درگاه خارجی ========== */
.svz-pay-redirect {
    position: relative;
    min-height: min(70vh, 640px);
    display: grid;
    place-items: center;
    padding: 2.5rem 1.25rem 3.5rem;
    overflow: hidden;
}

.svz-pay-redirect__glow {
    position: absolute;
    inset: -10% 10% auto;
    height: 50%;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(201, 166, 107, 0.24), transparent 62%),
        radial-gradient(ellipse at 20% 60%, rgba(228, 201, 160, 0.1), transparent 48%);
    pointer-events: none;
    filter: blur(8px);
    animation: svz-pay-glow 4.5s ease-in-out infinite alternate;
}

.svz-pay-redirect__card {
    position: relative;
    width: min(440px, 100%);
    padding: 2rem 1.5rem 1.75rem;
    text-align: center;
    border-radius: 22px;
    border: 1px solid rgba(228, 201, 160, 0.28);
    background:
        linear-gradient(165deg, rgba(255, 248, 238, 0.1), rgba(22, 17, 14, 0.55) 48%, rgba(22, 17, 14, 0.72)),
        rgba(26, 21, 16, 0.75);
    animation: svz-pay-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.svz-pay-redirect__brand {
    margin: 0 0 1rem;
    letter-spacing: 0.22em;
    font-size: 0.78rem;
    opacity: 0.72;
}

.svz-pay-redirect__spinner {
    width: 2.25rem;
    height: 2.25rem;
    margin: 0 auto 1.1rem;
    border-radius: 50%;
    border: 2px solid rgba(228, 201, 160, 0.22);
    border-top-color: rgba(201, 166, 107, 0.95);
    animation: svz-pay-spin 0.85s linear infinite;
}

.svz-pay-redirect__title {
    margin: 0 0 0.65rem;
    font-size: 1.25rem;
}

.svz-pay-redirect__text {
    margin: 0 0 1.25rem;
    opacity: 0.85;
    font-size: 0.95rem;
    line-height: 1.7;
}

.svz-pay-redirect__meta {
    margin: 1rem 0 0;
    font-size: 0.88rem;
    opacity: 0.75;
}

@keyframes svz-pay-spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 640px) {
    .svz-pay-redirect {
        padding: 1.5rem 1rem 2.5rem;
        min-height: auto;
    }

    .svz-pay-redirect__card {
        padding: 1.55rem 1.1rem 1.35rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .svz-pay-redirect__card,
    .svz-pay-redirect__glow,
    .svz-pay-redirect__spinner {
        animation: none !important;
    }

    .svz-pay-redirect__spinner {
        border-top-color: rgba(201, 166, 107, 0.95);
        opacity: 0.85;
    }
}

/* ========== انتخاب درگاه پرداخت ========== */
.svz-pg-choose {
    position: relative;
    max-width: 1120px;
    margin: 0 auto;
    padding: 1.5rem 1rem 3rem;
}

.svz-pg-choose__head {
    text-align: center;
    margin-bottom: 1.75rem;
    animation: svz-pay-rise 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.svz-pg-choose__eyebrow {
    margin: 0 0 0.45rem;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    color: var(--svz-champagne);
    font-weight: 700;
}

.svz-pg-choose__head h1 {
    margin: 0 0 0.55rem;
    font-size: clamp(1.45rem, 2.6vw, 1.9rem);
    color: #fff8ee;
}

.svz-pg-choose__sub {
    margin: 0 0 0.85rem;
    color: var(--svz-muted);
    font-size: 0.98rem;
    line-height: 1.8;
}

.svz-pg-choose__amount {
    display: inline-block;
    margin-inline-start: 0.35rem;
    color: var(--svz-champagne);
    font-weight: 700;
}

.svz-pg-choose__items {
    list-style: none;
    margin: 0.35rem auto 0.9rem;
    padding: 0.75rem 1rem;
    max-width: 420px;
    text-align: right;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 248, 238, 0.05);
    color: var(--svz-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.svz-pg-choose__items li + li {
    margin-top: 0.2rem;
}

.svz-pg-shipping {
    margin: 1rem auto 0;
    padding: 1rem;
    max-width: 560px;
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 12px;
    text-align: right;
    background: rgba(255, 248, 238, 0.04);
}

.svz-pg-shipping__title {
    margin: 0 0 0.65rem;
    font-weight: 600;
    color: #fff8ee;
}

.svz-pg-shipping__empty {
    margin: 0;
    color: #ff8a80;
}

.svz-pg-shipping__option {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin-bottom: 0.55rem;
    cursor: pointer;
    color: var(--svz-muted);
    text-align: right;
}

.svz-pg-shipping__option:last-child {
    margin-bottom: 0;
}

.svz-pg-shipping__desc {
    display: block;
    margin: 0.2rem 0 0;
    font-size: 0.85em;
    opacity: 0.8;
}

.svz-pg-block {
    margin: 0 0 2.4rem;
}

.svz-pg-block__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.45rem 1rem;
    margin: 0 0 0.85rem;
    text-align: right;
}

.svz-pg-block__title {
    margin: 0;
    font-size: clamp(1.15rem, 2vw, 1.4rem);
    color: #fff8ee;
}

.svz-pg-block__tagline {
    margin: 0;
    color: var(--svz-champagne);
    font-size: 0.92rem;
    font-weight: 600;
}

.svz-pg-summary {
    margin: 0 0 1rem;
    padding: 0.95rem 1.05rem;
    border-radius: 14px;
    border: 1px solid rgba(212, 175, 55, 0.28);
    background:
        linear-gradient(120deg, rgba(212, 175, 55, 0.1), rgba(255, 248, 238, 0.04)),
        rgba(12, 14, 20, 0.55);
    text-align: right;
    color: var(--svz-muted);
    font-size: 0.95rem;
    line-height: 1.85;
}

.svz-pg-summary p {
    margin: 0;
}

.svz-pg-summary p + p {
    margin-top: 0.15rem;
}

.svz-pg-summary__payable {
    margin-top: 0.45rem !important;
    color: #fff8ee;
    font-weight: 700;
}

.svz-pg-summary__payable span {
    color: var(--svz-champagne);
}

.svz-pg-rail__hint {
    margin: 0 0 0.75rem;
    color: var(--svz-muted);
    font-size: 0.92rem;
}

.svz-pg-rail {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
    align-items: start;
    overflow: visible;
    padding-bottom: 0;
}

.svz-pg-rail .svz-pg-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    cursor: pointer;
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.svz-pg-rail .svz-pg-card[hidden] {
    display: none !important;
}

.svz-pg-card {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 248, 238, 0.05);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
    display: flex;
    flex-direction: column;
    gap: 0;
    animation: svz-pay-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.svz-pg-card:hover {
    transform: translateY(-3px);
}

.svz-pg-card.is-disabled {
    opacity: 0.55;
    filter: grayscale(0.25);
}

.svz-pg-card.is-disabled:hover {
    transform: none;
}

.svz-pg-card__summary {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    margin: 0;
    padding: 1.05rem 1rem;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: right;
    cursor: pointer;
    font: inherit;
}

.svz-pg-card__summary-text {
    flex: 1;
    min-width: 0;
}

.svz-pg-card__kind {
    display: inline-block;
    margin-top: 0.35rem;
    padding: 0.12rem 0.45rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.72rem;
    color: var(--svz-muted);
    letter-spacing: 0.02em;
}

.svz-pg-card__chevron {
    width: 0.55rem;
    height: 0.55rem;
    border-left: 2px solid rgba(255, 248, 238, 0.55);
    border-bottom: 2px solid rgba(255, 248, 238, 0.55);
    transform: rotate(-45deg);
    transition: transform 0.25s ease;
    flex-shrink: 0;
    margin-inline-start: 0.2rem;
}

.svz-pg-card.is-open .svz-pg-card__chevron {
    transform: rotate(45deg);
}

.svz-pg-card__details {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 0.85rem;
    padding: 0 1.05rem 1.15rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    animation: svz-pg-details-in 0.28s ease both;
}

.svz-pg-card__details[hidden] {
    display: none;
}

@keyframes svz-pg-details-in {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.svz-pg-card__glow {
    position: absolute;
    inset: -20% auto auto -10%;
    width: 70%;
    height: 55%;
    pointer-events: none;
    filter: blur(18px);
    opacity: 0.55;
}

/* تم بلوپال — آبی برند blupal */
.svz-pg-card--blupal {
    border-color: rgba(56, 189, 248, 0.45);
    background:
        linear-gradient(160deg, rgba(29, 78, 216, 0.35), rgba(11, 18, 32, 0.88) 42%, rgba(8, 15, 28, 0.95)),
        #0b1220;
    box-shadow:
        0 1px 0 rgba(125, 211, 252, 0.18) inset,
        0 22px 60px rgba(29, 78, 216, 0.28);
}

.svz-pg-card--blupal .svz-pg-card__glow {
    background: radial-gradient(circle, rgba(56, 189, 248, 0.55), transparent 68%);
}

.svz-pg-card--blupal:hover,
.svz-pg-card--blupal.is-open {
    border-color: rgba(125, 211, 252, 0.7);
    box-shadow:
        0 1px 0 rgba(186, 230, 253, 0.25) inset,
        0 28px 70px rgba(37, 99, 235, 0.4);
}

.svz-pg-card__top {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    position: relative;
    z-index: 1;
}

.svz-pg-card__logo {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
}

.svz-pg-card__logo--blupal {
    width: auto;
    height: 42px;
    display: flex;
    align-items: center;
    padding: 0.35rem 0.55rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.28);
}

/* تم بیت‌پی — نارنجی / آبی برند BitPay */
.svz-pg-card--bitpay {
    border-color: rgba(249, 115, 22, 0.5);
    background:
        linear-gradient(160deg, rgba(249, 115, 22, 0.38), rgba(37, 99, 235, 0.28) 38%, rgba(11, 18, 32, 0.9) 72%, rgba(8, 15, 28, 0.96)),
        #0b1220;
    box-shadow:
        0 1px 0 rgba(253, 186, 116, 0.22) inset,
        0 22px 60px rgba(249, 115, 22, 0.22),
        0 16px 40px rgba(37, 99, 235, 0.18);
}

.svz-pg-card--bitpay .svz-pg-card__glow {
    background: radial-gradient(circle, rgba(249, 115, 22, 0.55), rgba(37, 99, 235, 0.35) 45%, transparent 70%);
}

.svz-pg-card--bitpay:hover,
.svz-pg-card--bitpay.is-open {
    border-color: rgba(251, 146, 60, 0.78);
    box-shadow:
        0 1px 0 rgba(254, 215, 170, 0.28) inset,
        0 28px 70px rgba(249, 115, 22, 0.34),
        0 20px 48px rgba(37, 99, 235, 0.28);
}

.svz-pg-card--bitpay .svz-pg-card__name-fa {
    color: #fff7ed;
}

.svz-pg-card--bitpay .svz-pg-card__name-en,
.svz-pg-card--bitpay .svz-pg-card__tag {
    color: #fdba74;
}

.svz-pg-card--bitpay .svz-pg-card__desc {
    color: rgba(255, 237, 213, 0.86);
}

.svz-pg-card--bitpay .svz-pg-card__bullets li {
    color: #ffedd5;
}

.svz-pg-card--bitpay .svz-pg-card__bullets li::before {
    background: linear-gradient(135deg, #f97316, #2563eb);
    box-shadow: 0 0 10px rgba(249, 115, 22, 0.7);
}

.svz-pg-card__logo--bitpay {
    width: auto;
    height: 42px;
    display: flex;
    align-items: center;
    padding: 0.35rem 0.55rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow:
        0 8px 20px rgba(249, 115, 22, 0.28),
        0 4px 12px rgba(37, 99, 235, 0.18);
}

.svz-pg-card__logo--bitpay .svz-pg-card__logo-img {
    height: 24px;
    max-width: 128px;
}

/* تم زرین‌پال — طلایی / سرمه‌ای برند ZarinPal */
.svz-pg-card--zarinpal {
    border-color: rgba(212, 175, 55, 0.55);
    background:
        linear-gradient(160deg, rgba(212, 175, 55, 0.42), rgba(15, 45, 95, 0.45) 40%, rgba(8, 14, 28, 0.94) 74%, rgba(6, 10, 20, 0.98)),
        #0a1220;
    box-shadow:
        0 1px 0 rgba(250, 224, 130, 0.22) inset,
        0 22px 60px rgba(212, 175, 55, 0.22),
        0 16px 40px rgba(15, 45, 95, 0.22);
}

.svz-pg-card--zarinpal .svz-pg-card__glow {
    background: radial-gradient(circle, rgba(234, 179, 8, 0.55), rgba(30, 64, 120, 0.35) 45%, transparent 70%);
}

.svz-pg-card--zarinpal:hover,
.svz-pg-card--zarinpal.is-open {
    border-color: rgba(250, 204, 21, 0.78);
    box-shadow:
        0 1px 0 rgba(253, 230, 138, 0.3) inset,
        0 28px 70px rgba(212, 175, 55, 0.34),
        0 20px 48px rgba(15, 45, 95, 0.3);
}

.svz-pg-card--zarinpal .svz-pg-card__name-fa {
    color: #fffbeb;
}

.svz-pg-card--zarinpal .svz-pg-card__name-en,
.svz-pg-card--zarinpal .svz-pg-card__tag {
    color: #fde68a;
}

.svz-pg-card--zarinpal .svz-pg-card__desc {
    color: rgba(254, 243, 199, 0.88);
}

.svz-pg-card--zarinpal .svz-pg-card__bullets li {
    color: #fef3c7;
}

.svz-pg-card--zarinpal .svz-pg-card__bullets li::before {
    background: linear-gradient(135deg, #eab308, #1e3a8a);
    box-shadow: 0 0 10px rgba(234, 179, 8, 0.65);
}

.svz-pg-card__logo--zarinpal {
    width: auto;
    height: 42px;
    display: flex;
    align-items: center;
    padding: 0.35rem 0.55rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow:
        0 8px 20px rgba(212, 175, 55, 0.28),
        0 4px 12px rgba(15, 45, 95, 0.18);
}

.svz-pg-card__logo--zarinpal .svz-pg-card__logo-img {
    height: 22px;
    max-width: 160px;
}

/* تم دیجی‌پی — آبی برند DigiPay */
.svz-pg-card--digipay {
    border-color: rgba(0, 62, 255, 0.42);
    background:
        linear-gradient(160deg, rgba(0, 62, 255, 0.32), rgba(11, 18, 32, 0.88) 42%, rgba(8, 15, 28, 0.95)),
        #0b1220;
    box-shadow:
        0 1px 0 rgba(99, 140, 255, 0.18) inset,
        0 22px 60px rgba(0, 62, 255, 0.26);
}

.svz-pg-card--digipay .svz-pg-card__glow {
    background: radial-gradient(circle, rgba(0, 62, 255, 0.5), transparent 68%);
}

.svz-pg-card--digipay:hover,
.svz-pg-card--digipay.is-open {
    border-color: rgba(99, 140, 255, 0.72);
    box-shadow:
        0 1px 0 rgba(160, 185, 255, 0.22) inset,
        0 28px 70px rgba(0, 62, 255, 0.38);
}

.svz-pg-card--digipay .svz-pg-card__name-fa {
    color: #eef2ff;
}

.svz-pg-card--digipay .svz-pg-card__name-en,
.svz-pg-card--digipay .svz-pg-card__tag {
    color: #a5b4fc;
}

.svz-pg-card--digipay .svz-pg-card__desc {
    color: rgba(224, 231, 255, 0.82);
}

.svz-pg-card--digipay .svz-pg-card__bullets li {
    color: #e0e7ff;
}

.svz-pg-card--digipay .svz-pg-card__bullets li::before {
    background: #003eff;
    box-shadow: 0 0 10px rgba(0, 62, 255, 0.75);
}

.svz-pg-card__logo--digipay {
    width: auto;
    height: 42px;
    display: flex;
    align-items: center;
    padding: 0.35rem 0.55rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 8px 20px rgba(0, 62, 255, 0.28);
}

.svz-pg-card__logo--digipay .svz-pg-card__logo-img {
    height: 22px;
    max-width: 128px;
}

/* تم ترب‌پی — سبز برند TorobPay (#ABF27B / #003D01) */
.svz-pg-card--torobpay {
    border-color: rgba(171, 242, 123, 0.45);
    background:
        linear-gradient(160deg, rgba(171, 242, 123, 0.22), rgba(10, 28, 14, 0.9) 42%, rgba(6, 16, 10, 0.96)),
        #0a1c0e;
    box-shadow:
        0 1px 0 rgba(171, 242, 123, 0.18) inset,
        0 22px 60px rgba(0, 61, 1, 0.35);
}

.svz-pg-card--torobpay .svz-pg-card__glow {
    background: radial-gradient(circle, rgba(171, 242, 123, 0.42), transparent 68%);
}

.svz-pg-card--torobpay:hover,
.svz-pg-card--torobpay.is-open {
    border-color: rgba(171, 242, 123, 0.78);
    box-shadow:
        0 1px 0 rgba(210, 255, 180, 0.22) inset,
        0 28px 70px rgba(171, 242, 123, 0.28);
}

.svz-pg-card--torobpay .svz-pg-card__name-fa {
    color: #f0ffe6;
}

.svz-pg-card--torobpay .svz-pg-card__name-en,
.svz-pg-card--torobpay .svz-pg-card__tag {
    color: #abf27b;
}

.svz-pg-card--torobpay .svz-pg-card__desc {
    color: rgba(232, 255, 220, 0.86);
}

.svz-pg-card--torobpay .svz-pg-card__bullets li {
    color: #e8ffdc;
}

.svz-pg-card--torobpay .svz-pg-card__bullets li::before {
    background: #abf27b;
    box-shadow: 0 0 10px rgba(171, 242, 123, 0.75);
}

.svz-pg-card__logo--torobpay {
    width: auto;
    height: 42px;
    display: flex;
    align-items: center;
    padding: 0.28rem 0.4rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 8px 20px rgba(0, 61, 1, 0.22);
}

.svz-pg-card__logo--torobpay .svz-pg-card__logo-img {
    height: 28px;
    width: 28px;
    max-width: 36px;
}

.svz-pg-card__logo svg {
    width: 100%;
    height: 100%;
    display: block;
    filter: drop-shadow(0 8px 16px rgba(37, 99, 235, 0.45));
}

.svz-pg-card__logo-img {
    display: block;
    height: 28px;
    width: auto;
    max-width: 118px;
    object-fit: contain;
}

.svz-pg-card__logo-fallback {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.72rem;
    font-weight: 700;
}

.svz-pg-card__name {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.svz-pg-card__name-fa {
    font-size: 1.2rem;
    color: #f0f9ff;
    font-weight: 700;
}

.svz-pg-card__name-en {
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    color: #7dd3fc;
    text-transform: lowercase;
    font-weight: 700;
}

.svz-pg-card__tag {
    margin: 0.2rem 0 0;
    font-size: 0.88rem;
    color: #bae6fd;
}

.svz-pg-card__desc {
    margin: 0;
    position: relative;
    z-index: 1;
    color: rgba(224, 242, 254, 0.82);
    font-size: 0.94rem;
    line-height: 1.75;
}

.svz-pg-card__bullets {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.4rem;
    position: relative;
    z-index: 1;
}

.svz-pg-card__bullets li {
    position: relative;
    padding-inline-start: 1.1rem;
    color: #e0f2fe;
    font-size: 0.88rem;
}

.svz-pg-card__bullets li::before {
    content: "";
    position: absolute;
    right: 0;
    top: 0.55em;
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 999px;
    background: #38bdf8;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.8);
}

.svz-pg-warn {
    position: relative;
    z-index: 1;
    margin-top: 0.35rem;
    padding: 0.9rem 1rem;
    border-radius: 14px;
    border: 1px solid rgba(251, 191, 36, 0.75);
    background:
        linear-gradient(145deg, rgba(120, 53, 15, 0.55), rgba(69, 26, 3, 0.72)),
        #451a03;
    box-shadow:
        0 0 0 1px rgba(253, 230, 138, 0.2) inset,
        0 12px 28px rgba(180, 83, 9, 0.28);
    animation: svz-pg-warn-pulse 2.4s ease-in-out infinite;
}

.svz-pg-warn--page {
    margin: 0;
}

.svz-pg-warn__title {
    display: block;
    margin: 0 0 0.4rem;
    color: #fef3c7;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.svz-pg-warn__text {
    margin: 0;
    color: #fff7ed;
    font-size: 0.95rem;
    line-height: 1.75;
    font-weight: 600;
}

.svz-pg-warn__text b {
    color: #fde68a;
    font-weight: 800;
}

@keyframes svz-pg-warn-pulse {
    0%, 100% {
        box-shadow:
            0 0 0 1px rgba(253, 230, 138, 0.2) inset,
            0 12px 28px rgba(180, 83, 9, 0.28);
    }
    50% {
        box-shadow:
            0 0 0 1px rgba(253, 230, 138, 0.45) inset,
            0 14px 34px rgba(245, 158, 11, 0.42);
    }
}

@media (prefers-reduced-motion: reduce) {
    .svz-pg-warn {
        animation: none;
    }
}

.svz-pg-card__footer {
    margin-top: 0.15rem;
    position: relative;
    z-index: 1;
}

.svz-pg-card__cta {
    appearance: none;
    border: 0;
    width: 100%;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    border-radius: 999px;
    padding: 0.78rem 1.1rem;
    color: #0b1220;
    background: linear-gradient(135deg, #7dd3fc, #38bdf8 40%, #2563eb);
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.35);
    transition: transform 0.15s ease, filter 0.15s ease;
    white-space: normal;
    line-height: 1.45;
    text-wrap: balance;
}

.svz-pg-card__cta:hover,
.svz-pg-card__cta:focus {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.svz-pg-card__soon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    border: 1px dashed rgba(255, 255, 255, 0.25);
    color: var(--svz-muted);
    font-size: 0.9rem;
}

.svz-pg-rail .svz-pg-card__name-fa {
    font-size: 1.05rem;
}

.svz-pg-rail .svz-pg-card__logo--blupal,
.svz-pg-rail .svz-pg-card__logo--bitpay,
.svz-pg-rail .svz-pg-card__logo--zarinpal,
.svz-pg-rail .svz-pg-card__logo--digipay,
.svz-pg-rail .svz-pg-card__logo--torobpay {
    height: 36px;
    padding: 0.28rem 0.45rem;
}

@media (max-width: 900px) {
    .svz-pg-rail {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .svz-pg-choose {
        padding-top: 1rem;
    }

    .svz-pg-rail {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.65rem;
    }

    .svz-pg-card__summary {
        padding: 0.95rem 0.85rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .svz-pg-choose__head,
    .svz-pg-card,
    .svz-pg-card__details,
    .svz-pg-rail .svz-pg-card {
        animation: none !important;
        transition: none !important;
    }

    .svz-pg-card:hover {
        transform: none;
    }
}



/* —— About Savenza —— */
.svz-about {
    position: relative;
    max-width: 920px;
    margin: 0 auto;
    padding: 1.25rem 1.25rem 3.5rem;
    text-align: right;
}

.svz-about__hero {
    position: relative;
    overflow: hidden;
    margin: 0 0 2.4rem;
    padding: clamp(2rem, 5vw, 3.4rem) clamp(1.2rem, 4vw, 2.4rem);
    border-radius: calc(var(--svz-radius) + 4px);
    border: 1px solid rgba(228, 201, 160, 0.28);
    background:
        radial-gradient(120% 90% at 100% 0%, rgba(201, 166, 107, 0.22), transparent 55%),
        radial-gradient(90% 70% at 0% 100%, rgba(248, 241, 231, 0.08), transparent 50%),
        linear-gradient(160deg, rgba(42, 33, 28, 0.92), rgba(22, 17, 14, 0.96));
    box-shadow: var(--svz-shadow);
    animation: svz-about-rise 0.7s ease both;
}

.svz-about__hero-glow {
    position: absolute;
    inset: auto -10% -40% auto;
    width: min(420px, 70vw);
    height: min(420px, 70vw);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(228, 201, 160, 0.28), transparent 68%);
    filter: blur(8px);
    pointer-events: none;
    animation: svz-about-glow 6s ease-in-out infinite alternate;
}

.svz-about__eyebrow {
    position: relative;
    margin: 0 0 0.45rem;
    font-size: 0.78rem;
    letter-spacing: 0.28em;
    color: var(--svz-champagne);
    font-weight: 700;
}

.svz-about__brand {
    position: relative;
    margin: 0 0 0.35rem;
    font-size: clamp(2.4rem, 7vw, 3.6rem);
    line-height: 1.05;
    color: #fff8ee;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.svz-about__lead {
    position: relative;
    margin: 0 0 1rem;
    font-size: clamp(1.05rem, 2.4vw, 1.25rem);
    color: var(--svz-champagne);
    font-weight: 600;
}

.svz-about__intro {
    position: relative;
    margin: 0 0 1.4rem;
    max-width: 38rem;
    color: var(--svz-muted);
    font-size: 1.02rem;
    line-height: 1.9;
}

.svz-about__cta {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem 0.85rem;
}

.svz-about__section {
    margin: 0 0 2.1rem;
    padding: 0 0.15rem;
    animation: svz-about-rise 0.75s ease both;
    animation-delay: 0.08s;
}

.svz-about__section h2 {
    margin: 0 0 0.75rem;
    font-size: clamp(1.25rem, 2.8vw, 1.55rem);
    color: #fff6e8;
    font-weight: 700;
}

.svz-about__section p {
    margin: 0 0 0.85rem;
    color: var(--svz-muted);
    line-height: 1.9;
}

.svz-about__section p:last-child {
    margin-bottom: 0;
}

.svz-about__catalog {
    display: grid;
    gap: 1rem;
    margin-top: 1.1rem;
}

.svz-about__item {
    position: relative;
    padding: 1rem 0 1rem 0.1rem;
    border-top: 1px solid rgba(255, 248, 238, 0.12);
}

.svz-about__item:first-child {
    border-top: 0;
    padding-top: 0.15rem;
}

.svz-about__item::before {
    content: "";
    position: absolute;
    right: 0;
    top: 1.35rem;
    width: 0.35rem;
    height: 0.35rem;
    border-radius: 50%;
    background: var(--svz-gold);
    box-shadow: 0 0 12px rgba(201, 166, 107, 0.65);
    opacity: 0.85;
}

.svz-about__item:first-child::before {
    top: 0.55rem;
}

.svz-about__item h3 {
    margin: 0 0 0.35rem;
    padding-inline-end: 1rem;
    font-size: 1.05rem;
    color: var(--svz-champagne);
    font-weight: 700;
}

.svz-about__item p {
    margin: 0;
    padding-inline-end: 1rem;
    color: var(--svz-muted);
    line-height: 1.85;
    font-size: 0.98rem;
}

.svz-about__section--gift {
    padding: 1.35rem 1.4rem;
    border-radius: var(--svz-radius-sm);
    border: 1px solid rgba(228, 201, 160, 0.22);
    background:
        linear-gradient(135deg, rgba(201, 166, 107, 0.14), rgba(22, 17, 14, 0.35)),
        rgba(255, 248, 238, 0.04);
}

.svz-about__tagline {
    margin: 1.1rem 0 1.25rem !important;
    color: #fff8ee !important;
    font-weight: 700;
    font-size: 1.08rem;
}

.svz-about__support {
    margin-top: 2.75rem;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.72;
}

.svz-about__support-title {
    margin: 0 0 0.35rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--svz-muted);
    letter-spacing: 0.04em;
}

.svz-about__support-phone {
    display: block;
    margin: 0 0 0.25rem;
    color: var(--svz-champagne);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: default;
    user-select: text;
}

.svz-about__support-address {
    margin: 0;
    max-width: 36rem;
    font-size: 0.72rem;
    line-height: 1.65;
    color: rgba(248, 241, 231, 0.48);
}

@keyframes svz-about-rise {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes svz-about-glow {
    from { opacity: 0.55; transform: scale(0.96); }
    to { opacity: 0.95; transform: scale(1.04); }
}

@media (max-width: 640px) {
    .svz-about {
        padding-top: 0.75rem;
    }

    .svz-about__hero {
        padding: 1.6rem 1.1rem 1.7rem;
    }

    .svz-about__cta .svz-btn {
        flex: 1 1 auto;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .svz-about__hero,
    .svz-about__section,
    .svz-about__hero-glow {
        animation: none !important;
    }
}

/* ── سفارش‌های من: تب‌ها + سفارش مجدد ── */
.svz-orders-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    margin: 0 0 1.35rem;
    padding: 0.4rem;
    border-radius: 16px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(201, 166, 107, 0.08)),
        rgba(12, 14, 20, 0.55);
    border: 1px solid rgba(232, 201, 154, 0.18);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.svz-orders-tabs__btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    color: rgba(245, 240, 232, 0.78);
    text-decoration: none;
    border: 1px solid transparent;
    background: transparent;
    transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.svz-orders-tabs__btn:hover,
.svz-orders-tabs__btn:focus-visible {
    color: #fff8ef;
    border-color: rgba(232, 201, 154, 0.28);
    background: rgba(255, 255, 255, 0.04);
}

.svz-orders-tabs__btn.is-active {
    color: #1a1410;
    background: linear-gradient(135deg, #f0d7a8, #c9a66b);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 10px 24px rgba(201, 166, 107, 0.28);
    transform: translateY(-1px);
}

.svz-orders-tabs__label {
    font-weight: 700;
    font-size: 0.95rem;
}

.svz-orders-tabs__count {
    min-width: 1.7rem;
    height: 1.7rem;
    padding: 0 0.45rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.18);
    color: inherit;
}

.svz-orders-tabs__btn.is-active .svz-orders-tabs__count {
    background: rgba(26, 20, 16, 0.16);
}

.svz-orders__empty {
    text-align: center;
    padding: 2rem 0 0.75rem;
}

.svz-orders__empty-actions {
    text-align: center;
}

.svz-orders__list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.svz-orders__card {
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
}

.svz-order-package.svz-orders__card {
    border-color: rgba(201, 166, 107, 0.4);
    background: rgba(201, 166, 107, 0.06);
}

.svz-orders__card--cancelled {
    border-color: rgba(248, 113, 113, 0.28);
    background: linear-gradient(160deg, rgba(127, 29, 29, 0.16), rgba(12, 14, 20, 0.35));
}

.svz-orders__card-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: flex-start;
    margin-bottom: 0.85rem;
}

.svz-orders__card-main {
    flex: 1;
    min-width: 200px;
}

.svz-orders__card-title {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
}

.svz-order-package .svz-orders__card-title {
    font-size: 1.15rem;
}

.svz-orders__card-actions,
.svz-orders__line-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.svz-orders__lines {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.svz-orders__line {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    padding: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.15);
}

.svz-orders__line-body {
    flex: 1;
    min-width: 160px;
}

.svz-orders__line-title {
    margin: 0 0 0.3rem;
    font-size: 1rem;
}

.svz-orders__single-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.svz-orders__thumb {
    object-fit: cover;
    border-radius: 8px;
}

.svz-orders__color {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.svz-orders__swatch {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

/* —— Order shipping progress (RTL stepper) —— */
.svz-order-progress {
    --svz-step: #d4b07a;
    --svz-step-soft: rgba(212, 176, 122, 0.22);
    --svz-step-line: rgba(248, 241, 231, 0.18);
    --svz-step-muted: rgba(248, 241, 231, 0.45);
    margin-top: 1.15rem;
    padding: 1.05rem 0.85rem 0.55rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    animation: svz-order-progress-in 0.55s ease both;
}

.svz-order-progress__track {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    direction: rtl;
}

.svz-order-progress__step {
    flex: 0 0 auto;
    width: min(32%, 7.5rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.svz-order-progress__connector {
    flex: 1 1 auto;
    height: 3px;
    margin: 0.7rem 0.15rem 0;
    border-radius: 999px;
    background: var(--svz-step-line);
    align-self: flex-start;
    transition: background 0.45s ease, box-shadow 0.45s ease;
}

.svz-order-progress__connector.is-filled {
    background: linear-gradient(90deg, var(--svz-step), #e4c9a0);
    box-shadow: 0 0 12px rgba(212, 176, 122, 0.35);
}

.svz-order-progress__node {
    display: grid;
    place-items: center;
    width: 1.65rem;
    height: 1.65rem;
}

.svz-order-progress__ring {
    position: relative;
    display: grid;
    place-items: center;
    width: 1.55rem;
    height: 1.55rem;
    border-radius: 50%;
    border: 2px solid var(--svz-step-line);
    background: rgba(12, 10, 8, 0.55);
    color: var(--svz-ink);
    transition:
        border-color 0.35s ease,
        background 0.35s ease,
        box-shadow 0.35s ease,
        transform 0.35s ease;
}

.svz-order-progress__check,
.svz-order-progress__dot {
    position: absolute;
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.svz-order-progress__check {
    width: 0.85rem;
    height: 0.85rem;
}

.svz-order-progress__dot {
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 50%;
    background: #fff8ee;
    box-shadow: 0 0 0 1px rgba(22, 17, 14, 0.15);
}

.svz-order-progress__label {
    font-size: 0.78rem;
    line-height: 1.45;
    color: var(--svz-step-muted);
    max-width: 9.5rem;
    transition: color 0.3s ease, font-weight 0.3s ease;
}

.svz-order-progress__step.is-current .svz-order-progress__ring {
    border-color: var(--svz-step);
    background: rgba(212, 176, 122, 0.12);
    box-shadow:
        0 0 0 4px var(--svz-step-soft),
        0 0 18px rgba(212, 176, 122, 0.28);
    animation: svz-order-progress-pulse 2.2s ease-in-out infinite;
}

.svz-order-progress__step.is-current .svz-order-progress__dot {
    opacity: 1;
    transform: scale(1);
    background: var(--svz-step);
}

.svz-order-progress__step.is-current .svz-order-progress__label {
    color: var(--svz-pearl);
    font-weight: 700;
}

.svz-order-progress__step.is-complete .svz-order-progress__ring {
    border-color: transparent;
    background: linear-gradient(145deg, #e4c9a0, var(--svz-gold));
    box-shadow: 0 4px 14px rgba(201, 166, 107, 0.35);
    color: var(--svz-ink);
}

.svz-order-progress__step.is-complete .svz-order-progress__check {
    opacity: 1;
    transform: scale(1);
}

.svz-order-progress__step.is-complete .svz-order-progress__label {
    color: rgba(248, 241, 231, 0.72);
}

.svz-order-progress__step.is-pending .svz-order-progress__ring {
    border-color: rgba(248, 241, 231, 0.28);
    background: rgba(255, 248, 238, 0.04);
}

@keyframes svz-order-progress-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes svz-order-progress-pulse {
    0%, 100% {
        box-shadow:
            0 0 0 4px var(--svz-step-soft),
            0 0 14px rgba(212, 176, 122, 0.22);
    }
    50% {
        box-shadow:
            0 0 0 6px rgba(212, 176, 122, 0.12),
            0 0 22px rgba(212, 176, 122, 0.38);
    }
}

@media (prefers-reduced-motion: reduce) {
    .svz-order-progress,
    .svz-order-progress__step.is-current .svz-order-progress__ring {
        animation: none;
    }
}

.svz-reorder-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    height: 100dvh;
    min-height: 100%;
    min-height: 100dvh;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: max(1rem, env(safe-area-inset-top, 0px))
             max(1rem, env(safe-area-inset-right, 0px))
             max(1rem, env(safe-area-inset-bottom, 0px))
             max(1rem, env(safe-area-inset-left, 0px));
    box-sizing: border-box;
    margin: 0;
    overscroll-behavior: contain;
}

.svz-reorder-modal[hidden] {
    display: none !important;
}

.svz-reorder-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 8, 14, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.svz-reorder-modal__panel {
    position: relative;
    z-index: 1;
    width: min(420px, 100%);
    max-height: min(85dvh, 560px);
    margin: 0;
    flex-shrink: 0;
    align-self: center;
    padding: 1.55rem 1.35rem 1.3rem;
    border-radius: 20px;
    border: 1px solid rgba(232, 201, 154, 0.3);
    background:
        linear-gradient(165deg, rgba(42, 36, 28, 0.98), rgba(16, 18, 26, 0.98));
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        0 28px 70px rgba(0, 0, 0, 0.45);
    text-align: center;
    animation: svz-reorder-in 0.35s ease both;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

.svz-reorder-modal__glow {
    position: absolute;
    inset: -40% -20% auto;
    height: 160px;
    background: radial-gradient(circle, rgba(201, 166, 107, 0.35), transparent 70%);
    pointer-events: none;
}

.svz-reorder-modal.is-success .svz-reorder-modal__glow {
    background: radial-gradient(circle, rgba(52, 211, 153, 0.35), transparent 70%);
}

.svz-reorder-modal.is-error .svz-reorder-modal__glow {
    background: radial-gradient(circle, rgba(248, 113, 113, 0.35), transparent 70%);
}

.svz-reorder-modal__eyebrow {
    position: relative;
    margin: 0 0 0.45rem;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    color: rgba(232, 201, 154, 0.85);
}

.svz-reorder-modal__panel h2 {
    position: relative;
    margin: 0 0 0.65rem;
    font-size: 1.25rem;
    color: #fff8ef;
}

.svz-reorder-modal__text {
    position: relative;
    margin: 0 0 1.2rem;
    line-height: 1.75;
    color: rgba(245, 240, 232, 0.86);
    font-size: 0.95rem;
}

.svz-reorder-modal__actions {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    justify-content: center;
}

.svz-reorder-modal__actions [hidden] {
    display: none !important;
}

.svz-reorder-modal.is-loading .svz-reorder-modal__panel h2::after {
    content: "";
    display: inline-block;
    width: 0.7rem;
    height: 0.7rem;
    margin-right: 0.45rem;
    border-radius: 50%;
    border: 2px solid rgba(232, 201, 154, 0.35);
    border-top-color: #e8c99a;
    animation: svz-reorder-spin 0.8s linear infinite;
    vertical-align: -0.05rem;
}

@keyframes svz-reorder-in {
    from {
        opacity: 0;
        transform: scale(0.94);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes svz-reorder-spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 640px) {
    .svz-orders-tabs {
        grid-template-columns: 1fr;
    }

    .svz-orders__line {
        align-items: stretch;
    }

    .svz-orders__line-actions,
    .svz-orders__card-actions {
        width: 100%;
    }

    .svz-orders__line-actions .svz-btn,
    .svz-orders__card-actions .svz-btn {
        width: 100%;
        text-align: center;
    }

    .svz-order-progress {
        padding: 0.95rem 0.15rem 0.35rem;
    }

    .svz-order-progress__step {
        width: min(34%, 6.2rem);
    }

    .svz-order-progress__label {
        font-size: 0.7rem;
        max-width: 6.8rem;
    }

    .svz-order-progress__node,
    .svz-order-progress__ring {
        width: 1.4rem;
        height: 1.4rem;
    }

    .svz-order-progress__connector {
        margin-top: 0.62rem;
        height: 2px;
    }

    .svz-reorder-modal {
        align-items: center;
        justify-content: center;
        padding: max(1rem, env(safe-area-inset-top, 0px))
                 max(0.85rem, env(safe-area-inset-right, 0px))
                 max(1rem, env(safe-area-inset-bottom, 0px))
                 max(0.85rem, env(safe-area-inset-left, 0px));
    }

    .svz-reorder-modal__panel {
        width: min(420px, 100%);
        max-height: min(80dvh, 520px);
    }

    .svz-reorder-modal__actions {
        flex-direction: column;
    }

    .svz-reorder-modal__actions .svz-btn {
        width: 100%;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .svz-orders-tabs__btn,
    .svz-reorder-modal__panel,
    .svz-reorder-modal.is-loading .svz-reorder-modal__panel h2::after {
        animation: none !important;
        transition: none !important;
    }
}

/* ── سبد خالی: CTA سفارشات لغو/منقضی ── */
.svz-cart-empty {
    position: relative;
    max-width: 520px;
    margin: 1.5rem auto 0.5rem;
    padding: 1.75rem 1.4rem 1.5rem;
    text-align: center;
    border-radius: 20px;
    border: 1px solid rgba(232, 201, 154, 0.28);
    background:
        linear-gradient(165deg, rgba(42, 36, 28, 0.92), rgba(14, 16, 24, 0.96));
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.28);
    overflow: hidden;
}

.svz-cart-empty--cancelled {
    border-color: rgba(248, 113, 113, 0.28);
}

.svz-cart-empty__glow {
    position: absolute;
    inset: -45% -20% auto;
    height: 180px;
    background: radial-gradient(circle, rgba(201, 166, 107, 0.32), transparent 70%);
    pointer-events: none;
}

.svz-cart-empty--cancelled .svz-cart-empty__glow {
    background: radial-gradient(circle, rgba(248, 113, 113, 0.28), rgba(201, 166, 107, 0.18) 45%, transparent 72%);
}

.svz-cart-empty__eyebrow {
    position: relative;
    margin: 0 0 0.4rem;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    color: rgba(232, 201, 154, 0.85);
}

.svz-cart-empty__title {
    position: relative;
    margin: 0 0 0.7rem;
    font-size: 1.25rem;
    color: #fff8ef;
}

.svz-cart-empty__text {
    position: relative;
    margin: 0 0 1.25rem;
    line-height: 1.8;
    color: rgba(245, 240, 232, 0.88);
    font-size: 0.98rem;
}

.svz-cart-empty__actions {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: center;
}

.svz-cart-empty__cta {
    min-width: 12rem;
    box-shadow: 0 12px 28px rgba(201, 166, 107, 0.28);
}

@media (max-width: 640px) {
    .svz-cart-empty {
        padding: 1.4rem 1.1rem 1.25rem;
    }

    .svz-cart-empty__actions {
        flex-direction: column;
    }

    .svz-cart-empty__actions .svz-btn {
        width: 100%;
        text-align: center;
    }
}

/* —— Home rail “مشاهده همه” —— */
.svz-product-row__all {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.2rem 0.15rem;
    color: var(--row-accent, var(--svz-champagne));
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.svz-product-row__all::after {
    /* ‹ = forward in RTL; isolate so bidi does not mirror it into › */
    content: "‹";
    display: inline-block;
    font-size: 1.05em;
    line-height: 1;
    opacity: 0.85;
    direction: ltr;
    unicode-bidi: isolate;
    transition: transform 0.2s ease;
}

.svz-product-row__all:hover,
.svz-product-row__all:focus-visible {
    color: #fff8ee;
    transform: translateX(-1px);
    outline: none;
}

.svz-product-row__all:hover::after,
.svz-product-row__all:focus-visible::after {
    transform: translateX(-3px);
}

@media (max-width: 720px) {
    .svz-product-row__all {
        font-size: 0.88rem;
    }

    .svz-product-row__meta {
        flex-wrap: wrap;
        gap: 0.45rem 0.65rem;
    }
}

/* —— Back to top —— */
.svz-back-top {
    position: fixed;
    z-index: 60;
    left: max(0.85rem, env(safe-area-inset-left, 0px));
    bottom: max(1rem, env(safe-area-inset-bottom, 0px));
    width: 2.65rem;
    height: 2.65rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 248, 238, 0.22);
    border-radius: 999px;
    background:
        linear-gradient(160deg, rgba(255, 248, 238, 0.16), rgba(255, 248, 238, 0.05)),
        rgba(22, 17, 14, 0.78);
    color: var(--svz-champagne);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px) scale(0.96);
    transition:
        opacity 0.28s ease,
        transform 0.28s ease,
        visibility 0.28s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease;
}

.svz-back-top.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.svz-back-top:hover,
.svz-back-top:focus-visible {
    color: var(--svz-ink);
    background: linear-gradient(145deg, #fff8ee, var(--svz-champagne));
    border-color: var(--svz-champagne);
    box-shadow: 0 12px 30px rgba(201, 166, 107, 0.28);
    outline: none;
}

.svz-back-top[hidden] {
    display: none !important;
}

@media (prefers-reduced-motion: reduce) {
    .svz-back-top,
    .svz-product-row__all,
    .svz-product-row__all::after,
    .svz-bottom-nav__item,
    .svz-bottom-nav__icon {
        transition: none !important;
    }
}

/* —— Mobile bottom nav —— */
.svz-bottom-nav {
    display: none;
}

@media (max-width: 767px) {
    .svz-body {
        --svz-bottom-nav-h: calc(3.65rem + env(safe-area-inset-bottom, 0px));
        padding-bottom: var(--svz-bottom-nav-h);
    }

    .svz-shell {
        padding-bottom: 0.35rem;
    }

    .svz-mobile-cart {
        display: none !important;
    }

    .svz-bottom-nav {
        position: fixed;
        z-index: 55;
        inset-inline: 0;
        bottom: 0;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.15rem;
        padding:
            0.4rem 0.35rem
            max(0.4rem, env(safe-area-inset-bottom, 0px));
        border-top: 1px solid rgba(255, 248, 238, 0.14);
        background:
            linear-gradient(180deg, rgba(255, 248, 238, 0.08), transparent 42%),
            rgba(18, 14, 12, 0.92);
        backdrop-filter: blur(18px) saturate(150%);
        -webkit-backdrop-filter: blur(18px) saturate(150%);
        box-shadow: 0 -12px 36px rgba(0, 0, 0, 0.35);
    }

    .svz-bottom-nav__item {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.18rem;
        min-height: 3.05rem;
        padding: 0.35rem 0.2rem 0.3rem;
        border-radius: 14px;
        color: rgba(248, 241, 231, 0.62);
        text-decoration: none;
        transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
        -webkit-tap-highlight-color: transparent;
    }

    .svz-bottom-nav__item:hover,
    .svz-bottom-nav__item:focus-visible {
        color: var(--svz-pearl);
        background: rgba(255, 248, 238, 0.07);
        outline: none;
    }

    .svz-bottom-nav__item.is-active {
        color: var(--svz-champagne);
        background: rgba(228, 201, 160, 0.12);
    }

    .svz-bottom-nav__item.is-active .svz-bottom-nav__icon {
        transform: translateY(-1px);
        color: var(--svz-champagne);
    }

    .svz-bottom-nav__item.is-active::before {
        content: "";
        position: absolute;
        top: 0.28rem;
        width: 1rem;
        height: 2px;
        border-radius: 999px;
        background: linear-gradient(90deg, transparent, var(--svz-champagne), transparent);
        opacity: 0.9;
    }

    .svz-bottom-nav__icon {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 1.55rem;
        height: 1.55rem;
        transition: transform 0.2s ease, color 0.2s ease;
    }

    .svz-bottom-nav__label {
        font-size: 0.72rem;
        font-weight: 600;
        line-height: 1.2;
        letter-spacing: 0.01em;
    }

    .svz-bottom-nav__badge {
        top: -0.35rem;
        left: -0.55rem;
        min-width: 1.05rem;
        height: 1.05rem;
        font-size: 0.72rem;
        box-shadow: 0 0 0 2px rgba(18, 14, 12, 0.92);
    }

    .svz-back-top {
        bottom: calc(var(--svz-bottom-nav-h) + 0.65rem);
        left: max(0.75rem, env(safe-area-inset-left, 0px));
    }
}

@media (min-width: 768px) {
    .svz-bottom-nav {
        display: none !important;
    }
}

/* —— Product / gift card skeleton loading —— */
.svz-skel {
    background:
        linear-gradient(
            110deg,
            rgba(255, 248, 238, 0.06) 0%,
            rgba(228, 201, 160, 0.18) 42%,
            rgba(255, 248, 238, 0.06) 78%
        );
    background-size: 220% 100%;
    animation: svz-skel-shimmer 1.35s ease-in-out infinite;
}

@keyframes svz-skel-shimmer {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

.svz-product__media-skel,
.svz-gift-card__media-skel {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.svz-product__media.is-skel-pending .svz-product__media-skel,
.svz-gift-card__media.is-skel-pending .svz-gift-card__media-skel {
    opacity: 1;
}

.svz-product__media.is-skel-pending > img.svz-product__img--main,
.svz-gift-card__media.is-skel-pending > img {
    opacity: 0;
}

/* hover image stays hidden until hover even after load */
.svz-product__media.is-skel-pending > img.svz-product__img--hover {
    opacity: 0;
}

.svz-product-skel {
    display: flex;
    flex-direction: column;
    border-radius: var(--svz-radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--svz-card);
    overflow: hidden;
    pointer-events: none;
}

.svz-product-skel__media {
    aspect-ratio: 1 / 1;
    width: 100%;
}

.svz-product-skel__body {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding: 0.85rem 0.8rem 1rem;
}

.svz-product-skel__line {
    display: block;
    height: 0.85rem;
    border-radius: 999px;
    width: 88%;
}

.svz-product-skel__line--sm {
    width: 42%;
    height: 0.65rem;
    opacity: 0.85;
}

.svz-product-skel__line--price {
    width: 55%;
    margin-top: 0.15rem;
}

/* Catalog navigation overlay (keeps global loading for forms/ajax) */
.svz-skel-overlay {
    position: fixed;
    inset: 0;
    z-index: 45;
    display: flex;
    flex-direction: column;
    padding:
        max(1rem, env(safe-area-inset-top, 0px))
        max(1rem, env(safe-area-inset-left, 0px))
        max(1rem, env(safe-area-inset-bottom, 0px))
        max(1rem, env(safe-area-inset-right, 0px));
    background:
        radial-gradient(ellipse 70% 50% at 50% 0%, rgba(228, 201, 160, 0.12), transparent 55%),
        rgba(18, 14, 12, 0.92);
    backdrop-filter: blur(10px) saturate(120%);
    -webkit-backdrop-filter: blur(10px) saturate(120%);
    overflow: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, visibility 0.22s ease;
}

.svz-skel-overlay.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.svz-skel-overlay[hidden] {
    display: none !important;
}

.svz-skel-overlay__label {
    margin: 0 0 1rem;
    text-align: center;
    color: var(--svz-champagne);
    font-size: 0.95rem;
    font-weight: 600;
}

.svz-skel-overlay__grid {
    width: min(100%, var(--svz-max));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
}

@media (max-width: 991px) {
    .svz-skel-overlay__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .svz-skel-overlay__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.7rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .svz-skel {
        animation: none !important;
        background: rgba(255, 248, 238, 0.1);
    }

    .svz-skel-overlay,
    .svz-product__media-skel,
    .svz-gift-card__media-skel,
    .svz-product__media.is-skel-pending > img.svz-product__img--main,
    .svz-gift-card__media.is-skel-pending > img {
        transition: none !important;
    }
}

/* —— Recently viewed (details, localStorage) —— */
.svz-recent {
    margin: 1.75rem 0 0;
}

.svz-recent__inner {
    position: relative;
    padding: 1rem 1rem 1.05rem;
    border-radius: calc(var(--svz-radius-sm) + 4px);
    border: 1px solid rgba(255, 248, 238, 0.12);
    background:
        linear-gradient(165deg, rgba(255, 248, 238, 0.055), rgba(255, 248, 238, 0.012)),
        radial-gradient(ellipse 70% 80% at 100% 0%, rgba(228, 201, 160, 0.08), transparent 55%);
    overflow: hidden;
}

.svz-recent__inner::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(228, 201, 160, 0.75), transparent);
    opacity: 0.8;
}

.svz-recent__head {
    position: relative;
    z-index: 1;
    margin-bottom: 0.9rem;
}

.svz-recent__title {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    min-width: 0;
}

.svz-recent__mark {
    flex-shrink: 0;
    width: 0.68rem;
    height: 0.68rem;
    margin-top: 0.42rem;
    border-radius: 2px;
    transform: rotate(45deg);
    background: linear-gradient(145deg, #fff8ee, var(--svz-champagne));
    box-shadow: 0 0 0 4px rgba(228, 201, 160, 0.16);
}

.svz-recent__title h2 {
    margin: 0 0 0.22rem;
    font-family: var(--svz-display);
    font-size: clamp(1.2rem, 2vw, 1.45rem);
    color: var(--svz-pearl);
    line-height: 1.4;
}

.svz-recent__title p {
    margin: 0;
    color: var(--svz-muted);
    font-size: 0.92rem;
    line-height: 1.55;
}

.svz-recent__viewport {
    position: relative;
    z-index: 1;
}

.svz-recent__track {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding: 0.15rem 0.1rem 0.45rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(228, 201, 160, 0.35) transparent;
}

.svz-recent__track::-webkit-scrollbar {
    height: 4px;
}

.svz-recent__track::-webkit-scrollbar-thumb {
    background: rgba(228, 201, 160, 0.35);
    border-radius: 999px;
}

.svz-recent__card {
    flex: 0 0 min(158px, 42vw);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    min-width: 0;
    text-decoration: none;
    color: inherit;
    border-radius: 0.85rem;
    border: 1px solid rgba(255, 248, 238, 0.1);
    background: rgba(255, 248, 238, 0.03);
    overflow: hidden;
    transition: border-color 0.22s ease, transform 0.22s ease, background 0.22s ease;
}

.svz-recent__card:hover,
.svz-recent__card:focus-visible {
    border-color: rgba(228, 201, 160, 0.42);
    background: rgba(228, 201, 160, 0.07);
    transform: translateY(-3px);
    outline: none;
}

.svz-recent__media {
    display: block;
    aspect-ratio: 1;
    background:
        radial-gradient(circle at 30% 20%, rgba(255, 248, 238, 0.12), transparent 55%),
        rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

.svz-recent__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.svz-recent__body {
    display: flex;
    flex-direction: column;
    gap: 0.18rem;
    padding: 0.55rem 0.6rem 0.65rem;
    min-width: 0;
}

.svz-recent__cat {
    color: var(--svz-muted);
    font-size: 0.72rem;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.svz-recent__name {
    color: var(--svz-pearl);
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.55em;
}

.svz-recent__price {
    margin-top: 0.1rem;
    color: var(--svz-champagne);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 640px) {
    .svz-recent__inner {
        padding: 0.85rem 0.8rem 0.9rem;
    }

    .svz-recent__card {
        flex-basis: min(138px, 46vw);
    }

    .svz-recent__name {
        font-size: 0.84rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .svz-recent__card {
        transition: none;
    }

    .svz-recent__card:hover,
    .svz-recent__card:focus-visible {
        transform: none;
    }
}

/* —— Cart order memory (golden reveal) —— */
.svz-memory {
    margin-top: 1.25rem;
    border-radius: 1rem;
    border: 1px solid rgba(228, 201, 160, 0.42);
    background:
        radial-gradient(ellipse 80% 120% at 100% 0%, rgba(228, 201, 160, 0.18), transparent 55%),
        linear-gradient(165deg, rgba(255, 248, 238, 0.07), rgba(255, 248, 238, 0.02));
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

.svz-memory__toggle {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
    padding: 0.95rem 1rem;
    border: 0;
    background: transparent;
    color: var(--svz-pearl);
    text-align: right;
    cursor: pointer;
}

.svz-memory__glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 20%, rgba(255, 248, 238, 0.12) 45%, transparent 70%);
    transform: translateX(60%);
    opacity: 0;
    pointer-events: none;
}

.svz-memory__toggle:hover .svz-memory__glow,
.svz-memory[data-open] .svz-memory__glow {
    opacity: 1;
    animation: svz-memory-sheen 2.4s ease-in-out infinite;
}

.svz-memory__icon {
    flex-shrink: 0;
    width: 2.35rem;
    height: 2.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(228, 201, 160, 0.55);
    background: linear-gradient(145deg, #fff8ee, var(--svz-champagne));
    color: var(--svz-ink);
    font-size: 1rem;
    box-shadow: 0 0 0 4px rgba(228, 201, 160, 0.12);
}

.svz-memory__toggle-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
    flex: 1;
}

.svz-memory__toggle-text strong {
    font-family: var(--svz-display);
    font-size: clamp(1.05rem, 2.2vw, 1.25rem);
    font-weight: 700;
    color: #f3e2c0;
    line-height: 1.4;
}

.svz-memory__toggle-text small {
    color: var(--svz-muted);
    font-size: 0.86rem;
}

.svz-memory__chevron {
    flex-shrink: 0;
    width: 0.7rem;
    height: 0.7rem;
    border-right: 2px solid rgba(228, 201, 160, 0.85);
    border-bottom: 2px solid rgba(228, 201, 160, 0.85);
    transform: rotate(45deg);
    transition: transform 0.35s ease;
    opacity: 0.85;
}

.svz-memory[data-open] .svz-memory__chevron {
    transform: rotate(225deg);
}

.svz-memory__panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.svz-memory[data-open] .svz-memory__panel,
.svz-memory__panel:not([hidden]) {
    grid-template-rows: 1fr;
}

.svz-memory__panel[hidden] {
    display: grid !important;
    grid-template-rows: 0fr;
}

.svz-memory__panel-inner {
    overflow: hidden;
    min-height: 0;
    padding: 0 1rem;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), padding 0.45s ease;
}

.svz-memory[data-open] .svz-memory__panel-inner {
    padding: 0 1rem 1.05rem;
    opacity: 1;
    transform: translateY(0);
}

.svz-memory__hint {
    margin: 0 0 0.75rem;
    color: var(--svz-muted);
    font-size: 0.92rem;
    line-height: 1.7;
}

.svz-memory__presets {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
}

.svz-memory__preset {
    margin: 0;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(228, 201, 160, 0.4);
    background: rgba(228, 201, 160, 0.1);
    color: var(--svz-champagne);
    font: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.svz-memory__preset:hover,
.svz-memory__preset:focus-visible {
    background: rgba(228, 201, 160, 0.2);
    border-color: rgba(228, 201, 160, 0.7);
    outline: none;
    transform: translateY(-1px);
}

.svz-memory__label {
    display: block;
    margin: 0 0 0.35rem;
    color: var(--svz-pearl);
    font-size: 0.9rem;
    font-weight: 600;
}

.svz-memory__textarea {
    width: 100%;
    min-height: 5.5rem;
    resize: vertical;
}

.svz-memory__meta-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.svz-memory__count {
    color: var(--svz-muted);
    font-size: 0.8rem;
}

.svz-memory__date {
    width: 100%;
    max-width: none;
    flex: 1 1 auto;
    cursor: pointer;
    background: rgba(255, 248, 238, 0.06);
}

.svz-memory__date-wrap {
    display: flex;
    align-items: stretch;
    gap: 0;
    max-width: 280px;
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid rgba(228, 201, 160, 0.35);
    background: rgba(255, 248, 238, 0.04);
}

.svz-memory__date-wrap .svz-memory__date {
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.svz-memory__date-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    margin: 0;
    padding: 0;
    border: 0;
    border-inline-start: 1px solid rgba(228, 201, 160, 0.35);
    background: linear-gradient(145deg, rgba(255, 248, 238, 0.18), rgba(228, 201, 160, 0.22));
    color: var(--svz-champagne);
    cursor: pointer;
}

.svz-memory__date-btn:hover,
.svz-memory__date-btn:focus-visible {
    background: linear-gradient(145deg, rgba(255, 248, 238, 0.28), rgba(228, 201, 160, 0.34));
    outline: none;
}

.svz-memory__date-hint {
    margin: 0.4rem 0 0;
    color: var(--svz-muted);
    font-size: 0.82rem;
    line-height: 1.5;
}

.svz-memory__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
    margin-top: 0.9rem;
}

.svz-memory__status {
    color: var(--svz-champagne);
    font-size: 0.86rem;
    font-weight: 600;
}

.svz-memory__status.is-error {
    color: #f0b4b4;
}

@keyframes svz-memory-sheen {
    0% { transform: translateX(70%); }
    100% { transform: translateX(-120%); }
}

@media (max-width: 640px) {
    .svz-memory__toggle {
        padding: 0.85rem 0.85rem;
        gap: 0.6rem;
    }

    .svz-memory__date {
        max-width: none;
    }

    .svz-memory__date-wrap {
        max-width: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .svz-memory__panel,
    .svz-memory__panel-inner,
    .svz-memory__chevron,
    .svz-memory__preset {
        transition: none !important;
    }

    .svz-memory__toggle:hover .svz-memory__glow,
    .svz-memory[data-open] .svz-memory__glow {
        animation: none;
        opacity: 0.35;
        transform: none;
    }

    .svz-memory__preset:hover,
    .svz-memory__preset:focus-visible {
        transform: none;
    }
}
