/* shop-premium.css — فروشگاه آبلیمو · Editorial luxury commerce */


:root {
    --ax-bg: #f4f3ef;
    --ax-paper: #fafaf8;
    --ax-ink: #1c1c1c;
    --ax-muted: #6e6e6e;
    --ax-line: #d8d6d0;
    --ax-accent: #3d4f3a;
    --ax-accent-deep: #2a3628;
    --ax-gold: #8b7355;
    --ax-font: 'Vazirmatn', 'IRANSans', system-ui, sans-serif;
    --ax-serif: 'Vazirmatn', 'IRANSans', Tahoma, sans-serif;
    --ax-ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ax-max: 1440px;
    --ax-pad: clamp(20px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }

body.sp-body {
    margin: 0;
    background: var(--ax-bg);
    font-family: var(--ax-font);
    color: var(--ax-ink);
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.sp-wrap { min-height: 100vh; display: flex; flex-direction: column; }

/* ── Header: minimal luxury ── */
.sp-header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    padding: 0 var(--ax-pad);
    height: 76px;
    background: rgba(250, 250, 248, 0.94);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--ax-line);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}
.sp-header svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    display: block;
}
.sp-header__nav {
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: flex-start;
}
.sp-header__link,
.sp-header__back {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 14px;
    border: 1px solid transparent;
    border-radius: 0;
    background: transparent;
    color: var(--ax-muted);
    text-decoration: none;
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: color .2s, background .2s, border-color .2s;
}
.sp-header__link:hover,
.sp-header__back:hover {
    color: var(--ax-ink);
    background: var(--ax-paper);
    border-color: var(--ax-line);
}
.sp-header__erp {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 14px;
    border: 1px solid var(--ax-accent-deep);
    background: var(--ax-accent-deep);
    color: #fff;
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: background .2s, color .2s, border-color .2s, transform .15s;
}
.sp-header__erp:hover {
    background: transparent;
    color: var(--ax-accent-deep);
    transform: translateY(-1px);
}
.sp-header__erp svg { opacity: 0.95; }

.sp-header__acct {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 14px;
    border: 1px solid #ca8a04;
    background: rgba(202, 138, 4, 0.15);
    color: #fef9c3;
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: background .2s, color .2s, border-color .2s, transform .15s;
}
.sp-header__acct:hover {
    background: rgba(202, 138, 4, 0.35);
    color: #fff;
    transform: translateY(-1px);
}

.sp-brand {
    text-decoration: none;
    color: var(--ax-ink);
    font-weight: 400;
    font-size: 1.375rem;
    letter-spacing: 0.02em;
    text-align: center;
    line-height: 1;
    padding: 4px 0;
    transition: opacity .2s;
}
.sp-brand:hover { opacity: 0.72; }

.sp-header__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-end;
}
.sp-header__action {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0;
    padding: 0;
    border: 1px solid var(--ax-line);
    background: var(--ax-paper);
    cursor: pointer;
    font-family: inherit;
    color: var(--ax-ink);
    text-decoration: none;
    min-width: 44px;
    height: 44px;
    justify-content: center;
    transition: border-color .2s, background .2s, box-shadow .2s, transform .15s;
}
.sp-header__action:hover {
    border-color: var(--ax-accent-deep);
    box-shadow: 0 4px 16px rgba(42, 54, 40, 0.08);
    transform: translateY(-1px);
}
.sp-header__action-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--ax-accent-deep);
}
.sp-header__action-label {
    display: none;
}
.sp-header__action--cart .sp-header__action-icon {
    color: var(--ax-ink);
}
.sp-badge {
    position: absolute;
    top: -5px;
    left: -5px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: var(--ax-accent-deep);
    color: #fff;
    font-size: 0.625rem;
    font-weight: 700;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 2px 6px rgba(42, 54, 40, 0.25);
}
.sp-badge:empty { display: none; }

/* legacy */
.sp-cart-link { position: relative; }

/* ── Hero bar (یک خط) ── */
.sp-cinema {
    position: relative;
    background: var(--ax-accent-deep);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.sp-cinema--bar {
    min-height: 0;
    height: auto;
    display: block;
    overflow: visible;
}
.sp-cinema--bar .sp-cinema__bg,
.sp-cinema--bar .sp-cinema__video,
.sp-cinema--bar .sp-cinema__veil {
    display: none !important;
}
.sp-cinema__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 75% 20%, rgba(139, 115, 85, 0.35) 0%, transparent 55%),
        radial-gradient(ellipse 60% 50% at 15% 85%, rgba(45, 106, 79, 0.4) 0%, transparent 50%),
        linear-gradient(165deg, #141a12 0%, #1f2a1c 40%, #2a3628 70%, #141a12 100%);
}
.sp-cinema__bg--photo {
    background-size: cover;
    background-position: center;
}
.sp-cinema--video .sp-cinema__bg { display: none; }
.sp-cinema__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.sp-cinema--video .sp-cinema__veil {
    background: linear-gradient(
        to top,
        rgba(20, 24, 18, 0.88) 0%,
        rgba(20, 24, 18, 0.4) 50%,
        rgba(20, 24, 18, 0.2) 100%
    );
}

.sp-serif {
    font-family: var(--ax-serif);
    font-weight: 400;
}
.sp-cinema__veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(20, 24, 18, 0.92) 0%,
        rgba(20, 24, 18, 0.45) 45%,
        rgba(20, 24, 18, 0.15) 100%
    );
}
.sp-cinema__content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--ax-max);
    margin: 0 auto;
    padding: 10px var(--ax-pad);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: nowrap;
    min-height: 0;
}
.sp-cinema__line {
    margin: 0;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.35em 0.45em;
    font-size: 0.8125rem;
    line-height: 1.35;
    font-weight: 400;
    letter-spacing: 0.01em;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.sp-cinema__label {
    font-size: inherit;
    font-weight: 500;
    letter-spacing: 0.06em;
    opacity: 0.65;
    margin: 0;
    text-transform: none;
}
.sp-cinema__title {
    margin: 0;
    font-size: inherit;
    font-weight: 400;
    line-height: inherit;
    letter-spacing: 0;
    max-width: none;
    white-space: nowrap;
}
.sp-cinema__sub {
    margin: 0;
    font-size: inherit;
    font-weight: 400;
    opacity: 0.72;
    max-width: none;
    line-height: inherit;
}
.sp-cinema__sep {
    opacity: 0.35;
    font-weight: 300;
    user-select: none;
}
.sp-cinema__cta {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.28);
    font-family: inherit;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .2s, border-color .2s;
    line-height: 1.2;
}
.sp-cinema__cta:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.55);
    transform: none;
}

/* ── Main sections ── */
.sp-main { flex: 1; }
.sp-section {
    max-width: var(--ax-max);
    margin: 0 auto;
    padding: clamp(48px, 8vw, 96px) var(--ax-pad);
}
.sp-section--tight { padding-top: 40px; padding-bottom: 40px; }
.sp-section__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--ax-line);
}
.sp-section__title {
    margin: 0;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 400;
    letter-spacing: -0.01em;
}
.sp-section__meta {
    margin: 6px 0 0;
    font-size: 13px;
    color: var(--ax-muted);
}

/* Search */
.sp-search-wrap { flex: 0 1 220px; min-width: 140px; }
.sp-search {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 0 14px;
    height: 44px;
    border: 1px solid var(--ax-line);
    background: var(--ax-paper);
    transition: border-color .2s, box-shadow .2s;
    cursor: text;
}
.sp-search:focus-within {
    border-color: var(--ax-accent-deep);
    box-shadow: 0 0 0 3px rgba(61, 79, 58, 0.08);
}
.sp-search__icon {
    display: flex;
    color: var(--ax-muted);
    flex-shrink: 0;
}
.sp-search__icon svg { width: 16px; height: 16px; }
.sp-search:focus-within .sp-search__icon { color: var(--ax-accent-deep); }
.sp-search__input {
    border: none;
    background: transparent;
    width: 100%;
    font-family: inherit;
    font-size: 0.8125rem;
    color: var(--ax-ink);
    outline: none;
}
.sp-search__input::placeholder { color: #aaa; }

/* ── Product editorial grid ── */
.sp-catalog {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    background: var(--ax-line);
}
.sp-tile {
    position: relative;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    font-family: inherit;
    background: var(--ax-paper);
    text-align: right;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    display: block;
}
.sp-tile__media {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.sp-tile__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ax-ease), filter 0.5s;
    filter: saturate(0.92);
}
.sp-tile__img[src=""], .sp-tile__img:not([src]) { display: none; }
.sp-tile__fallback {
    position: absolute;
    inset: 0;
}
.sp-tile__fb--0 { background: linear-gradient(145deg, #3d2c2e, #6b4a4f); }
.sp-tile__fb--1 { background: linear-gradient(145deg, #2c3d4a, #4a6b7a); }
.sp-tile__fb--2 { background: linear-gradient(145deg, #2a3d2c, #4a6b4f); }
.sp-tile__fb--3 { background: linear-gradient(145deg, #3d3a2c, #6b654a); }
.sp-tile__fb--4 { background: linear-gradient(145deg, #3d2c3d, #6b4a6b); }
.sp-tile__fb--5 { background: linear-gradient(145deg, #3d352c, #6b5a4a); }
.sp-tile__fb--6 { background: linear-gradient(145deg, #2c3d35, #4a6b5a); }
.sp-tile__fb--7 { background: linear-gradient(145deg, #3d3d2c, #6b6b4a); }
.sp-tile:hover .sp-tile__img {
    transform: scale(1.05);
    filter: saturate(1);
}
.sp-tile__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.55) 0%, transparent 50%);
    opacity: 0.7;
    transition: opacity .4s;
}
.sp-tile:hover .sp-tile__shade { opacity: 0.9; }
.sp-tile__body {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 24px 20px;
    color: #fff;
    z-index: 2;
}
.sp-tile__name {
    display: block;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 4px;
    letter-spacing: 0.01em;
}
.sp-tile__tag {
    display: block;
    font-size: 11px;
    opacity: 0.75;
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}
.sp-tile__action {
    display: block;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .35s, transform .35s;
}
.sp-tile:hover .sp-tile__action { opacity: 0.9; transform: translateY(0); }

/* ── Model chooser (بعد از کلیک محصول در صفحه اول) ── */
.sp-chooser {
    max-width: var(--ax-max);
    margin: 0 auto;
    padding: clamp(20px, 4vw, 40px) var(--ax-pad) 64px;
}
.sp-chooser__head {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: clamp(24px, 4vw, 36px);
    max-width: 720px;
}
.sp-chooser__title {
    margin: 0;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    line-height: 1.2;
    font-weight: 400;
}
.sp-chooser__rating {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    color: var(--ax-muted);
}
.sp-chooser__lead {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.75;
    color: var(--ax-muted);
}
.sp-chooser__block {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}
.sp-chooser__hint {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--ax-muted);
    line-height: 1.7;
}
.sp-chooser__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(12px, 2vw, 20px);
    width: 100%;
}
.sp-chooser__card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    border: 1px solid var(--ax-line);
    background: var(--ax-paper);
    cursor: pointer;
    font-family: inherit;
    text-align: right;
    overflow: hidden;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}
.sp-chooser__card:hover {
    border-color: var(--ax-accent-deep);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}
.sp-chooser__card-visual {
    aspect-ratio: 4 / 3;
    width: 100%;
    overflow: hidden;
    background: var(--ax-bg);
    border-bottom: 1px solid var(--ax-line);
}
.sp-chooser__card-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.sp-chooser__card-fb {
    width: 100%;
    height: 100%;
    background: linear-gradient(160deg, #2a3628, #4a5d48);
}
.sp-chooser__card-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    padding: 16px 18px 20px;
    flex: 1;
}
.sp-chooser__card-name {
    font-size: 1.125rem;
    line-height: 1.35;
    color: var(--ax-ink);
}
.sp-chooser__card-desc {
    font-size: 0.8125rem;
    line-height: 1.6;
    color: var(--ax-muted);
    flex: 1;
}
.sp-chooser__card-price {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--ax-gold);
    font-family: var(--ax-serif);
}
.sp-chooser__card-cta {
    margin-top: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--ax-accent-deep);
}

/* ── Variant grid (legacy) ── */
.sp-variant-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.sp-variant-card {
    border: 1px solid var(--ax-line);
    background: var(--ax-paper);
    padding: 0;
    cursor: pointer;
    font-family: inherit;
    text-align: right;
    transition: border-color .25s, box-shadow .25s;
}
.sp-variant-card:hover {
    border-color: var(--ax-ink);
    box-shadow: 0 8px 32px rgba(0,0,0,.06);
}
.sp-variant-card__visual {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--ax-bg);
}
.sp-variant-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(0.88);
}
.sp-variant-card__fb {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, #2a3628, #4a5d48);
}
.sp-variant-card__body { padding: 20px 22px 24px; }
.sp-variant-card__name {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: var(--ax-ink);
    margin-bottom: 6px;
}
.sp-variant-card__desc {
    display: block;
    font-size: 13px;
    color: var(--ax-muted);
    line-height: 1.6;
}

/* ── Package picker ── */
.sp-breadcrumb {
    font-size: 12px;
    color: var(--ax-muted);
    letter-spacing: 0.04em;
    margin-bottom: 8px;
}
.sp-step-title {
    margin: 0 0 32px;
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 400;
}
.sp-sku-list { border-top: 1px solid var(--ax-line); }
.sp-sku {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 24px;
    padding: 24px 0;
    border-bottom: 1px solid var(--ax-line);
}
.sp-sku__label { font-size: 15px; font-weight: 500; }
.sp-sku__vol { font-size: 13px; color: var(--ax-muted); margin-top: 2px; }
.sp-sku__price { font-size: 15px; margin-top: 8px; color: var(--ax-gold); font-weight: 500; }

.sp-stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--ax-line);
}
.sp-stepper__btn {
    width: 44px; height: 44px;
    border: none; background: transparent;
    font-size: 18px; cursor: pointer;
    color: var(--ax-ink);
    transition: background .15s;
}
.sp-stepper__btn:hover { background: var(--ax-bg); }
.sp-stepper__btn:disabled { opacity: .25; cursor: default; }
.sp-stepper__val {
    min-width: 40px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    border-left: 1px solid var(--ax-line);
    border-right: 1px solid var(--ax-line);
    line-height: 44px;
}

.sp-bar {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 90;
    background: var(--ax-paper);
    border-top: 1px solid var(--ax-line);
    padding: 16px var(--ax-pad);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.sp-bar__sum { font-size: 14px; }
.sp-bar__sum strong { font-size: 17px; font-weight: 600; display: block; }

.sp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border: 1px solid var(--ax-ink);
    background: var(--ax-ink);
    color: var(--ax-paper);
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .2s, color .2s;
}
.sp-btn:hover { background: transparent; color: var(--ax-ink); }
.sp-btn:disabled { opacity: .35; cursor: not-allowed; }
.sp-btn--ghost {
    background: transparent;
    color: var(--ax-ink);
}
.sp-btn--ghost:hover { background: var(--ax-ink); color: var(--ax-paper); }
.sp-btn--block { width: 100%; }

/* ── Values strip — دسکتاپ: یک خط · موبایل: ۲×۲ ── */
.sp-values {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--ax-line);
    border-top: 1px solid var(--ax-line);
    border-bottom: 1px solid var(--ax-line);
}
.sp-values__item {
    background: var(--ax-paper);
    padding: 10px 12px;
    text-align: right;
    display: flex;
    align-items: baseline;
    flex-wrap: nowrap;
    gap: 4px 6px;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}
.sp-values__item strong {
    display: inline;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: none;
    margin: 0;
    flex-shrink: 0;
}
.sp-values__item strong::after {
    content: '·';
    margin: 0 0.15em;
    font-weight: 400;
    opacity: 0.45;
}
.sp-values__item span {
    font-size: 11px;
    color: var(--ax-muted);
    line-height: inherit;
}
.sp-section--catalog {
    padding-top: 0;
    padding-bottom: clamp(24px, 4vw, 48px);
}

/* ── Drawer ── */
.sp-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,.4);
    z-index: 200;
    opacity: 0; visibility: hidden;
    transition: opacity .35s, visibility .35s;
}
.sp-overlay--open { opacity: 1; visibility: visible; }

.sp-drawer {
    position: fixed; top: 0; right: 0;
    width: min(440px, 100vw);
    height: 100vh;
    background: var(--ax-paper);
    z-index: 210;
    display: flex; flex-direction: column;
    transform: translateX(100%);
    transition: transform .4s var(--ax-ease);
}
.sp-drawer--open { transform: translateX(0); }
.sp-drawer__head {
    display: flex; justify-content: space-between; align-items: center;
    padding: 24px 28px;
    border-bottom: 1px solid var(--ax-line);
}
.sp-drawer__head h2 {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.sp-drawer__close {
    background: none; border: none; font-size: 20px;
    cursor: pointer; color: var(--ax-muted); padding: 4px;
}
.sp-drawer__body { flex: 1; overflow-y: auto; padding: 0 28px; }
.sp-drawer__foot {
    padding: 24px 28px;
    border-top: 1px solid var(--ax-line);
}

.sp-line-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 20px 0;
    border-bottom: 1px solid var(--ax-line);
}
.sp-line-item__name { font-size: 14px; font-weight: 500; }
.sp-line-item__meta { font-size: 12px; color: var(--ax-muted); margin-top: 4px; }
.sp-line-item__rm {
    background: none; border: none;
    font-size: 11px; color: var(--ax-muted);
    cursor: pointer; font-family: inherit;
    letter-spacing: 0.04em;
    text-decoration: underline;
}
.sp-total-row {
    display: flex; justify-content: space-between;
    font-size: 14px; margin-bottom: 16px;
}
.sp-total-row strong { font-size: 18px; font-weight: 500; }

/* ── Forms ── */
.sp-form { max-width: 480px; margin: 0 auto; }
.sp-field { margin-bottom: 24px; }
.sp-field label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ax-muted);
    margin-bottom: 8px;
}
.sp-field input, .sp-field textarea {
    width: 100%;
    padding: 12px 0;
    border: none;
    border-bottom: 1px solid var(--ax-line);
    background: transparent;
    font-family: inherit;
    font-size: 15px;
    color: var(--ax-ink);
    transition: border-color .2s;
}
.sp-field input:focus, .sp-field textarea:focus {
    outline: none;
    border-color: var(--ax-ink);
}

.sp-radio {
    display: block;
    padding: 18px 0;
    border-bottom: 1px solid var(--ax-line);
    cursor: pointer;
}
.sp-radio input { margin-left: 10px; accent-color: var(--ax-ink); }
.sp-radio span { font-size: 14px; font-weight: 500; }
.sp-radio small { display: block; font-size: 12px; color: var(--ax-muted); margin-top: 2px; padding-right: 26px; }

.sp-msg { font-size: 13px; padding: 12px 0; }
.sp-msg--ok { color: var(--ax-accent); }
.sp-msg--err { color: #8b3a3a; }
.sp-hint { font-size: 12px; color: var(--ax-gold); padding: 8px 0; }
.sp-note { font-size: 12px; color: var(--ax-muted); }
.sp-empty { text-align: center; padding: 80px 24px; color: var(--ax-muted); }
.sp-empty p { margin: 12px 0 0; font-size: 14px; }

.sp-toast {
    position: fixed;
    bottom: 32px; left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--ax-ink);
    color: var(--ax-paper);
    padding: 12px 24px;
    font-size: 13px;
    letter-spacing: 0.02em;
    z-index: 300;
    opacity: 0;
    transition: opacity .3s, transform .3s;
}
.sp-toast--show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── Footer ── */
.sp-footer {
    margin-top: auto;
    background: var(--ax-ink);
    color: rgba(255, 255, 255, 0.88);
    padding: 14px var(--ax-pad) 12px;
}
.sp-footer__inner {
    max-width: 720px;
    margin: 0 auto;
}
.sp-footer__line {
    margin: 0 0 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-wrap: nowrap;
    align-items: baseline;
    gap: 0.45em;
    font-size: 0.75rem;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}
.sp-footer__brand {
    flex-shrink: 0;
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: #fff;
}
.sp-footer__sep {
    flex-shrink: 0;
    opacity: 0.35;
}
.sp-footer__text {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}
.sp-footer__nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 0;
    margin-bottom: 12px;
}
.sp-footer__nav a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    padding: 4px 0;
    transition: color .2s;
}
.sp-footer__nav a:not(:last-child)::after {
    content: '·';
    margin: 0 0.85em;
    opacity: 0.35;
    pointer-events: none;
}
.sp-footer__nav a:hover {
    color: #fff;
}
.sp-footer__link--dim {
    opacity: 0.45;
}
.sp-footer__link--dim:hover {
    opacity: 0.75;
    color: rgba(255, 255, 255, 0.78);
}
.sp-footer__bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 6px 12px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.625rem;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.38);
    text-transform: uppercase;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .sp-catalog { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .sp-header__link span,
    .sp-header__erp span,
    .sp-header__acct span,
    .sp-header__back span { display: none; }
    .sp-header__link,
    .sp-header__erp,
    .sp-header__acct,
    .sp-header__back { padding: 9px 11px; }
}
@media (max-width: 640px) {
    .sp-header {
        grid-template-columns: 1fr auto;
        height: 60px;
        padding: 0 16px;
    }
    .sp-header__nav { display: none; }
    .sp-header__nav:has(.sp-header__back) {
        display: flex;
    }
    .sp-brand {
        text-align: right;
        font-size: 1.2rem;
    }
    .sp-header__actions { gap: 8px; }
    .sp-header__action {
        min-width: 40px;
        height: 40px;
    }
    .sp-header__action-icon {
        width: 40px;
        height: 40px;
    }
    .sp-catalog { grid-template-columns: repeat(2, 1fr); }
    .sp-values { grid-template-columns: repeat(2, 1fr); }
    .sp-values__item {
        padding: 7px 10px;
        flex-wrap: wrap;
        white-space: normal;
    }
    .sp-values__item strong,
    .sp-values__item span { font-size: 10px; }
    .sp-variant-grid { grid-template-columns: 1fr; }
    .sp-section--catalog { padding-bottom: 20px; }
    .sp-footer__line { white-space: normal; flex-wrap: wrap; }
    .sp-footer__inner { max-width: 100%; }
    .sp-footer__bar { flex-direction: column; align-items: flex-start; gap: 6px; }
    .sp-cinema__line { white-space: normal; flex-wrap: wrap; }
    .sp-cinema__content { flex-wrap: wrap; row-gap: 6px; padding: 8px var(--ax-pad); }
    .sp-search-wrap { display: none; }
    .sp-chooser { padding-bottom: 48px; }
    .sp-chooser__grid { grid-template-columns: 1fr; gap: 14px; }
    .sp-chooser__head { margin-bottom: 20px; }
    .sp-chooser__card-body { padding: 14px 16px 18px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .sp-cinema__video { display: none; }
}

/* ── PDP (Product Detail Page) ── */
.sp-pdp {
    max-width: var(--ax-max);
    margin: 0 auto;
    padding: clamp(24px, 4vw, 48px) var(--ax-pad) 80px;
}
.sp-pdp__crumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: clamp(20px, 3vw, 32px);
    font-size: 0.75rem;
    color: var(--ax-muted);
}
.sp-pdp__crumb a {
    color: var(--ax-muted);
    text-decoration: none;
    transition: color .2s;
}
.sp-pdp__crumb a:hover { color: var(--ax-ink); }
.sp-pdp__crumb-sep { opacity: 0.35; }

.sp-pdp__hero,
.sp-pdp__layout {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(28px, 5vw, 64px);
    align-items: start;
    margin-bottom: clamp(48px, 8vw, 80px);
}
.sp-pdp__gallery-col {
    position: sticky;
    top: 88px;
}
.sp-pdp__variant-visual {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background:
        radial-gradient(ellipse 70% 60% at 50% 100%, rgba(139, 115, 85, 0.08) 0%, transparent 60%),
        linear-gradient(180deg, #faf9f6 0%, #f0eeea 100%);
    border: 1px solid var(--ax-line);
    display: flex;
    align-items: center;
    justify-content: center;
}
.sp-pdp__variant-badge {
    position: absolute;
    bottom: 14px;
    right: 14px;
    padding: 8px 14px;
    background: rgba(250, 250, 248, 0.92);
    backdrop-filter: blur(8px);
    border: 1px solid var(--ax-line);
    font-size: 1rem;
    color: var(--ax-ink);
}
.sp-pdp__stage {
    background:
        radial-gradient(ellipse 70% 60% at 50% 100%, rgba(139, 115, 85, 0.08) 0%, transparent 60%),
        linear-gradient(180deg, #faf9f6 0%, #f0eeea 100%);
    aspect-ratio: 4 / 5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid var(--ax-line);
}
.sp-pdp__main {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s var(--ax-ease);
}
.sp-pdp__gallery-col:hover .sp-pdp__main { transform: scale(1.02); }
.sp-pdp__main--empty {
    background: linear-gradient(160deg, #e8e6e0, #d4d2cc);
}
.sp-pdp__thumbs {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}
.sp-pdp__thumb {
    width: 64px;
    height: 64px;
    padding: 0;
    border: 1px solid var(--ax-line);
    background: var(--ax-paper);
    cursor: pointer;
    overflow: hidden;
    opacity: 0.55;
    transition: opacity .2s, border-color .2s, transform .2s;
}
.sp-pdp__thumb:hover { opacity: 0.85; }
.sp-pdp__thumb--on {
    opacity: 1;
    border-color: var(--ax-ink);
    transform: translateY(-2px);
}
.sp-pdp__thumb img { width: 100%; height: 100%; object-fit: cover; }

.sp-pdp__buy-col {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding-top: 8px;
}
.sp-pdp__intro { padding-bottom: 8px; }
.sp-pdp__eyebrow {
    font-size: 0.6875rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ax-gold);
    margin: 0 0 10px;
}
.sp-pdp__title {
    margin: 0 0 14px;
    font-size: clamp(2.25rem, 5vw, 3.25rem);
    line-height: 1.12;
    font-weight: 400;
    letter-spacing: -0.01em;
}
.sp-pdp__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
    margin-bottom: 20px;
}
.sp-pdp__rating {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    color: var(--ax-muted);
}
.sp-pdp__from {
    font-size: 0.8125rem;
    color: var(--ax-gold);
    font-weight: 500;
    padding: 4px 10px;
    background: rgba(139, 115, 85, 0.08);
    border: 1px solid rgba(139, 115, 85, 0.15);
}
.sp-pdp__lead {
    margin: 0 0 20px;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--ax-ink);
    font-weight: 400;
}
.sp-pdp__facts {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--ax-line);
    border: 1px solid var(--ax-line);
}
.sp-pdp__facts li {
    padding: 14px 16px;
    background: var(--ax-paper);
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--ax-ink);
}
.sp-pdp__facts li span {
    display: block;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ax-gold);
    margin-bottom: 6px;
}
.sp-pdp__block { display: flex; flex-direction: column; gap: 12px; }
.sp-pdp__label {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ax-muted);
}
.sp-pdp__variant-row {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0;
    border: 1px solid var(--ax-line);
    background: var(--ax-paper);
    padding: 4px;
}
.sp-pdp__variant {
    padding: 10px 20px;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 0.8125rem;
    cursor: pointer;
    transition: background .2s, color .2s;
    color: var(--ax-muted);
}
.sp-pdp__variant:hover { color: var(--ax-ink); }
.sp-pdp__variant--on {
    background: var(--ax-ink);
    color: var(--ax-paper);
}

.sp-pdp__packs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.sp-pdp__pack {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
    background: var(--ax-paper);
    border: 1px solid var(--ax-line);
    transition: border-color .2s, box-shadow .2s, background .2s;
}
.sp-pdp__pack:hover { border-color: var(--ax-muted); }
.sp-pdp__pack--active {
    border-color: var(--ax-accent-deep);
    background: rgba(61, 79, 58, 0.04);
    box-shadow: inset 0 0 0 1px var(--ax-accent-deep);
}
.sp-pdp__pack-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
}
.sp-pdp__pack-type {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--ax-ink);
}
.sp-pdp__pack-vol {
    font-size: 0.75rem;
    color: var(--ax-muted);
}
.sp-pdp__pack-price {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--ax-gold);
    font-family: var(--ax-serif);
}
.sp-pdp__pack-qty {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid var(--ax-line);
    background: var(--ax-bg);
    margin-top: auto;
}
.sp-pdp__pack-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    font-size: 1.125rem;
    cursor: pointer;
    color: var(--ax-ink);
    transition: background .15s;
}
.sp-pdp__pack-btn:hover:not(:disabled) { background: var(--ax-paper); }
.sp-pdp__pack-btn:disabled { opacity: 0.25; cursor: default; }
.sp-pdp__pack-val {
    min-width: 32px;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
}

.sp-pdp__purchase {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px;
    background: var(--ax-accent-deep);
    color: #fff;
}
.sp-pdp__purchase-sum span {
    display: block;
    font-size: 0.625rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.65;
    margin-bottom: 4px;
}
.sp-pdp__purchase-sum strong {
    font-size: 1.25rem;
    font-weight: 500;
    font-family: var(--ax-serif);
}
.sp-pdp__atc {
    flex: 1;
    min-width: 200px;
    background: #fff !important;
    color: var(--ax-ink) !important;
    border-color: #fff !important;
}
.sp-pdp__atc:hover:not(:disabled) {
    background: transparent !important;
    color: #fff !important;
    border-color: #fff !important;
}
.sp-pdp__atc:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}
.sp-pdp__trust {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
}
.sp-pdp__trust li {
    font-size: 0.75rem;
    color: var(--ax-muted);
    position: relative;
    padding-right: 14px;
}
.sp-pdp__trust li::before {
    content: '·';
    position: absolute;
    right: 0;
    opacity: 0.4;
}
.sp-pdp__trust li:first-child::before { display: none; }
.sp-pdp__trust li:first-child { padding-right: 0; }

.sp-pdp__story {
    margin-top: 0;
    padding-top: clamp(48px, 8vw, 72px);
    border-top: 1px solid var(--ax-line);
}
.sp-pdp__story-grid {
    display: grid;
    grid-template-columns: minmax(240px, 0.9fr) 1.1fr;
    gap: clamp(32px, 6vw, 80px);
    align-items: start;
}
.sp-pdp__story-aside h2 {
    margin: 0 0 28px;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 400;
}
.sp-pdp__pull {
    margin: 0;
    padding: 0;
    border: none;
    font-size: clamp(1.25rem, 2.5vw, 1.625rem);
    line-height: 1.65;
    color: var(--ax-accent-deep);
    font-style: italic;
    font-weight: 400;
}
.sp-pdp__prose p {
    margin: 0 0 20px;
    font-size: 0.9375rem;
    line-height: 2;
    color: var(--ax-muted);
}
.sp-pdp__prose p:first-child {
    font-size: 1rem;
    color: var(--ax-ink);
}

.sp-pdp__reviews {
    margin-top: clamp(48px, 8vw, 80px);
    padding-top: clamp(40px, 6vw, 56px);
    border-top: 1px solid var(--ax-line);
}
.sp-pdp__reviews-head {
    margin-bottom: clamp(28px, 4vw, 40px);
}
.sp-pdp__reviews-head h2 {
    margin: 0 0 8px;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 400;
}
.sp-pdp__reviews-lead {
    margin: 0;
    font-size: 0.875rem;
    color: var(--ax-muted);
}
.sp-pdp__reviews-layout {
    display: grid;
    grid-template-columns: 1fr minmax(300px, 380px);
    gap: clamp(28px, 5vw, 56px);
    align-items: start;
}
.sp-pdp__reviews-side {
    position: sticky;
    top: 96px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sp-star { color: #d4d0c8; font-size: 14px; letter-spacing: 1px; }
.sp-star--on { color: var(--ax-gold); }
.sp-star--md { font-size: 15px; }
.sp-star--lg { font-size: 18px; }

.sp-review-summary {
    padding: 24px;
    background: var(--ax-paper);
    border: 1px solid var(--ax-line);
}
.sp-review-summary__score {
    text-align: center;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--ax-line);
}
.sp-review-summary__score strong {
    display: block;
    font-size: 2.5rem;
    line-height: 1;
    font-weight: 400;
    color: var(--ax-ink);
    margin-bottom: 8px;
}
.sp-review-summary__stars { margin-bottom: 6px; }
.sp-review-summary__score > span {
    font-size: 0.75rem;
    color: var(--ax-muted);
}
.sp-review-bar {
    display: grid;
    grid-template-columns: 20px 1fr 28px;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}
.sp-review-bar__label {
    font-size: 0.75rem;
    color: var(--ax-muted);
    text-align: center;
}
.sp-review-bar__track {
    height: 6px;
    background: var(--ax-line);
    overflow: hidden;
}
.sp-review-bar__track i {
    display: block;
    height: 100%;
    background: var(--ax-gold);
    border-radius: 0 2px 2px 0;
}
.sp-review-bar__count {
    font-size: 0.6875rem;
    color: var(--ax-muted);
    text-align: left;
}

.sp-reviews-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.sp-reviews-empty {
    padding: 48px 32px;
    text-align: center;
    background: var(--ax-paper);
    border: 1px dashed var(--ax-line);
}
.sp-reviews-empty p {
    margin: 0 0 8px;
    font-size: 1.25rem;
    color: var(--ax-ink);
}
.sp-reviews-empty span {
    font-size: 0.875rem;
    color: var(--ax-muted);
}

.sp-review {
    padding: 24px;
    background: var(--ax-paper);
    border: 1px solid var(--ax-line);
    transition: border-color .2s, box-shadow .2s;
}
.sp-review:hover { border-color: rgba(139, 115, 85, 0.35); }
.sp-review--featured {
    border-color: rgba(61, 79, 58, 0.25);
    background:
        linear-gradient(135deg, rgba(61, 79, 58, 0.04) 0%, transparent 55%),
        var(--ax-paper);
}
.sp-review__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}
.sp-review__who {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}
.sp-review__avatar {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ax-accent-deep);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.sp-review__name {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 2px;
}
.sp-review__city,
.sp-review__date {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--ax-muted);
}
.sp-review__city::after {
    content: '·';
    margin: 0 6px;
    opacity: 0.45;
}
.sp-review__date { font-style: normal; }
.sp-review__stars { flex-shrink: 0; }
.sp-review__body {
    margin: 0;
    padding: 0;
    border: none;
    font-size: 0.9375rem;
    line-height: 1.85;
    color: var(--ax-ink);
    position: relative;
}
.sp-review--featured .sp-review__body {
    font-size: 1rem;
    color: var(--ax-accent-deep);
}
.sp-review__badge {
    display: inline-block;
    margin-top: 14px;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ax-accent);
    background: rgba(61, 79, 58, 0.06);
    border: 1px solid rgba(61, 79, 58, 0.15);
    padding: 4px 10px;
}

.sp-review-form {
    padding: 28px;
    background: var(--ax-paper);
    border: 1px solid var(--ax-line);
}
.sp-review-form h3 {
    margin: 0 0 8px;
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
}
.sp-review-form__hint {
    margin: 0 0 20px;
    font-size: 0.8125rem;
    line-height: 1.7;
    color: var(--ax-muted);
}
.sp-review-form__stars {
    margin-bottom: 16px;
}
.sp-review-form__label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ax-muted);
    margin-bottom: 10px;
}
.sp-star-picker {
    display: flex;
    gap: 4px;
}
.sp-star-pick {
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--ax-line);
    background: var(--ax-bg);
    cursor: pointer;
    font-size: 1.125rem;
    color: #d4d0c8;
    transition: color .15s, border-color .15s, transform .15s;
}
.sp-star-pick span { pointer-events: none; }
.sp-star-pick:hover { border-color: var(--ax-gold); transform: translateY(-1px); }
.sp-star-pick--on {
    color: var(--ax-gold);
    border-color: var(--ax-gold);
    background: rgba(139, 115, 85, 0.08);
}
.sp-review-prompts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}
.sp-review-prompt {
    padding: 8px 12px;
    border: 1px solid var(--ax-line);
    background: transparent;
    font-family: inherit;
    font-size: 0.75rem;
    color: var(--ax-muted);
    cursor: pointer;
    transition: border-color .15s, color .15s, background .15s;
}
.sp-review-prompt:hover {
    border-color: var(--ax-accent-deep);
    color: var(--ax-ink);
    background: rgba(61, 79, 58, 0.04);
}
.sp-field--row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.sp-review-form__count {
    display: block;
    margin-top: 8px;
    font-size: 0.75rem;
    color: var(--ax-muted);
    text-align: left;
}
.sp-review-form__count--warn { color: #9a6b3c; }
.sp-review-form__low {
    margin-bottom: 20px;
    padding: 14px;
    background: rgba(154, 107, 60, 0.06);
    border: 1px solid rgba(154, 107, 60, 0.2);
}
.sp-review-form__low label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--ax-ink);
    margin-bottom: 8px;
}
.sp-review-form__low input {
    width: 100%;
    padding: 10px 0;
    border: none;
    border-bottom: 1px solid var(--ax-line);
    background: transparent;
    font-family: inherit;
    font-size: 0.875rem;
}
.sp-review-form select {
    width: 100%;
    padding: 12px 0;
    border: none;
    border-bottom: 1px solid var(--ax-line);
    background: transparent;
    font-family: inherit;
    font-size: 15px;
}

/* ── Admin panel ── */
.sp-admin {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px var(--ax-pad) 64px;
}
.sp-admin__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--ax-line);
}
.sp-admin__tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 24px;
}
.sp-admin__tab {
    padding: 10px 20px;
    border: 1px solid var(--ax-line);
    background: transparent;
    font-family: inherit;
    font-size: 13px;
    cursor: pointer;
}
.sp-admin__tab--on {
    background: var(--ax-ink);
    color: var(--ax-paper);
    border-color: var(--ax-ink);
}
.sp-admin__grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
}
.sp-admin__list {
    border: 1px solid var(--ax-line);
    background: var(--ax-paper);
    max-height: 70vh;
    overflow-y: auto;
}
.sp-admin__item {
    display: block;
    width: 100%;
    text-align: right;
    padding: 14px 18px;
    border: none;
    border-bottom: 1px solid var(--ax-line);
    background: transparent;
    font-family: inherit;
    cursor: pointer;
}
.sp-admin__item--on { background: var(--ax-bg); }
.sp-admin__item small { display: block; color: var(--ax-muted); font-size: 11px; margin-top: 4px; }
.sp-admin__panel {
    border: 1px solid var(--ax-line);
    background: var(--ax-paper);
    padding: 28px;
}
.sp-admin__preview {
    width: 120px;
    height: 160px;
    object-fit: contain;
    background: var(--ax-bg);
    margin-bottom: 16px;
}
.sp-admin__upload-row {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.sp-admin__upload-row input[type=file] { font-size: 12px; }
.sp-admin__gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0;
}
.sp-admin__gallery img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border: 1px solid var(--ax-line);
}
.sp-admin__denied {
    text-align: center;
    padding: 80px 24px;
}
.sp-admin__denied a { color: var(--ax-ink); }

/* ── Shop ERP panel (premium) ── */
.sp-body--erp { background: var(--ax-bg); }
.sp-erp-shell {
    max-width: 1200px;
    margin: 0 auto;
    padding: clamp(20px, 4vw, 40px) var(--ax-pad) 64px;
}
.sp-erp__top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--ax-line);
}
.sp-erp__brand h1 {
    margin: 6px 0 4px;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 400;
}
.sp-erp__brand p {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--ax-muted);
}
.sp-erp__brand-tag {
    display: inline-block;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--ax-gold);
    padding: 4px 10px;
    border: 1px solid rgba(184, 150, 90, 0.35);
    background: rgba(184, 150, 90, 0.08);
}
.sp-erp__top-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.sp-erp__chip {
    display: inline-flex;
    align-items: center;
    padding: 9px 16px;
    border: 1px solid var(--ax-line);
    background: var(--ax-paper);
    color: var(--ax-ink);
    text-decoration: none;
    font-size: 0.8125rem;
    transition: border-color .2s, box-shadow .2s;
}
.sp-erp__chip:hover {
    border-color: var(--ax-accent-deep);
    box-shadow: 0 4px 14px rgba(42, 54, 40, 0.06);
}
.sp-erp__chip--primary {
    background: var(--ax-accent-deep);
    color: #fff;
    border-color: var(--ax-accent-deep);
}
.sp-erp__chip--primary:hover { opacity: 0.92; color: #fff; }
.sp-erp__loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 80px 20px;
    color: var(--ax-muted);
}
.sp-erp__spinner {
    width: 20px;
    height: 20px;
    border: 2px solid var(--ax-line);
    border-top-color: var(--ax-accent-deep);
    border-radius: 50%;
    animation: sp-spin .7s linear infinite;
}
@keyframes sp-spin { to { transform: rotate(360deg); } }

.sp-erp__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}
.sp-erp__tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    border: 1px solid var(--ax-line);
    background: var(--ax-paper);
    font-family: inherit;
    font-size: 0.8125rem;
    cursor: pointer;
    transition: background .15s, border-color .15s, color .15s, transform .15s;
}
.sp-erp__tab:hover { border-color: var(--ax-accent-deep); }
.sp-erp__tab--on {
    background: var(--ax-accent-deep);
    color: #fff;
    border-color: var(--ax-accent-deep);
    box-shadow: 0 4px 16px rgba(42, 54, 40, 0.15);
}
.sp-erp__tab-icon { opacity: 0.7; font-size: 0.75rem; }
.sp-erp__tab--on .sp-erp__tab-icon { opacity: 1; }

.sp-erp__panel { min-height: 320px; }
.sp-erp__section {
    margin-bottom: 32px;
    padding: 24px;
    background: var(--ax-paper);
    border: 1px solid var(--ax-line);
    box-shadow: 0 2px 12px rgba(42, 54, 40, 0.03);
}
.sp-erp__section-head {
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--ax-line);
}
.sp-erp__section-head h3 {
    margin: 0 0 6px;
    font-size: 1.25rem;
    font-weight: 400;
}
.sp-erp__section-head .sp-note { margin: 0; }

.sp-erp__hero-card {
    padding: 20px 24px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, rgba(61, 79, 58, 0.08) 0%, rgba(184, 150, 90, 0.06) 100%);
    border: 1px solid rgba(61, 79, 58, 0.12);
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.sp-erp__hero-card strong { font-size: 1rem; }
.sp-erp__hero-card span { font-size: 0.8125rem; color: var(--ax-muted); }

.sp-erp__stats {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 14px;
    margin-bottom: 8px;
}
.sp-erp__stat {
    position: relative;
    padding: 18px 18px 18px 44px;
    background: var(--ax-paper);
    border: 1px solid var(--ax-line);
    transition: transform .15s, box-shadow .15s;
}
.sp-erp__stat:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42, 54, 40, 0.06);
}
.sp-erp__stat-icon {
    position: absolute;
    top: 16px;
    right: 14px;
    font-size: 0.875rem;
    color: var(--ax-gold);
    opacity: 0.8;
}
.sp-erp__stat-label {
    display: block;
    font-size: 0.6875rem;
    color: var(--ax-muted);
    margin-bottom: 8px;
}
.sp-erp__stat strong {
    font-size: 1.375rem;
    font-weight: 500;
    font-family: var(--ax-serif);
}

.sp-erp__mini-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}
.sp-erp__mini-stat {
    padding: 14px 16px;
    background: var(--ax-paper);
    border: 1px solid var(--ax-line);
    text-align: center;
}
.sp-erp__mini-stat span {
    display: block;
    font-size: 0.6875rem;
    color: var(--ax-muted);
    margin-bottom: 4px;
}
.sp-erp__mini-stat strong {
    font-size: 1.25rem;
    font-family: var(--ax-serif);
}

.sp-erp__table-wrap {
    overflow-x: auto;
    margin-bottom: 16px;
    border: 1px solid var(--ax-line);
}
.sp-erp__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8125rem;
    margin: 0;
}
.sp-erp__table th,
.sp-erp__table td {
    padding: 13px 16px;
    border-bottom: 1px solid var(--ax-line);
    text-align: right;
    vertical-align: middle;
}
.sp-erp__table th {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--ax-muted);
    background: rgba(42, 54, 40, 0.03);
}
.sp-erp__table tbody tr:last-child td { border-bottom: none; }
.sp-erp__table--hover tbody tr:hover { background: rgba(61, 79, 58, 0.04); }
.sp-erp__row-click { cursor: pointer; }
.sp-erp__row-click--on { background: rgba(61, 79, 58, 0.08) !important; }
.sp-erp__empty {
    text-align: center;
    color: var(--ax-muted);
    padding: 28px !important;
}

.sp-erp__pill {
    display: inline-block;
    padding: 4px 10px;
    font-size: 0.6875rem;
    font-weight: 600;
    background: rgba(42, 54, 40, 0.06);
    color: var(--ax-muted);
    border: 1px solid var(--ax-line);
}
.sp-erp__pill--ok { background: rgba(61, 79, 58, 0.12); color: var(--ax-accent-deep); border-color: rgba(61, 79, 58, 0.2); }
.sp-erp__pill--warn { background: rgba(184, 150, 90, 0.12); color: #8a6d2e; border-color: rgba(184, 150, 90, 0.25); }
.sp-erp__pill--new { background: rgba(59, 130, 246, 0.08); color: #1d4ed8; border-color: rgba(59, 130, 246, 0.2); }
.sp-erp__pill--err { background: rgba(239, 68, 68, 0.08); color: #b91c1c; }

.sp-erp__config {
    padding: 20px;
    background: rgba(42, 54, 40, 0.02);
    border: 1px solid var(--ax-line);
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 420px;
    margin-top: 20px;
}
.sp-erp__config h4 { margin: 0 0 4px; font-size: 0.875rem; }
.sp-erp__config label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
}

.sp-erp__form { display: flex; flex-direction: column; gap: 14px; max-width: 720px; }
.sp-erp__form-row {
    display: grid;
    grid-template-columns: 1fr 200px;
    gap: 14px;
}
.sp-field--grow { flex: 1; }
.sp-erp__inline-input {
    width: 100%;
    min-width: 120px;
    padding: 6px 10px;
    border: 1px solid var(--ax-line);
    font-family: inherit;
    font-size: 0.75rem;
    background: var(--ax-bg);
}
.sp-erp__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}
.sp-erp__done { color: var(--ax-accent-deep); font-weight: 600; }

.sp-erp__split {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 20px;
    align-items: start;
}
.sp-erp__split-side {
    position: sticky;
    top: 88px;
}
.sp-erp__detail {
    padding: 20px;
    background: var(--ax-paper);
    border: 1px solid var(--ax-line);
    box-shadow: 0 4px 20px rgba(42, 54, 40, 0.05);
}
.sp-erp__detail-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
}
.sp-erp__detail-head h4 { margin: 0; font-size: 1.125rem; }
.sp-erp__detail-empty {
    padding: 32px 20px;
    text-align: center;
    color: var(--ax-muted);
    background: rgba(42, 54, 40, 0.02);
    border: 1px dashed var(--ax-line);
    font-size: 0.875rem;
}
.sp-erp__dl {
    margin: 0 0 16px;
    display: grid;
    gap: 10px;
}
.sp-erp__dl div {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 8px;
    font-size: 0.8125rem;
}
.sp-erp__dl dt { color: var(--ax-muted); margin: 0; }
.sp-erp__dl dd { margin: 0; }
.sp-erp__note-box {
    padding: 12px 14px;
    margin-bottom: 16px;
    background: rgba(184, 150, 90, 0.08);
    border-right: 3px solid var(--ax-gold);
    font-size: 0.8125rem;
}
.sp-erp__note-box p { margin: 6px 0 0; color: var(--ax-muted); line-height: 1.6; }
.sp-erp__timeline {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 280px;
    overflow-y: auto;
}
.sp-erp__timeline-item {
    padding: 12px 14px;
    background: var(--ax-bg);
    border: 1px solid var(--ax-line);
    font-size: 0.8125rem;
}
.sp-erp__timeline-item strong { display: block; margin-bottom: 4px; }
.sp-erp__timeline-item p { margin: 0; color: var(--ax-muted); line-height: 1.5; }
.sp-erp__timeline-date {
    display: block;
    font-size: 0.6875rem;
    color: var(--ax-gold);
    margin-bottom: 4px;
}
.sp-erp__link-btn {
    display: inline-block;
    margin-top: 12px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--ax-accent-deep);
    text-decoration: none;
}
.sp-erp__link-btn:hover { text-decoration: underline; }

.sp-btn--sm {
    padding: 6px 12px;
    font-size: 0.75rem;
}

.sp-erp-login {
    max-width: 420px;
    margin: 60px auto;
    padding: 40px 36px;
    background: var(--ax-paper);
    border: 1px solid var(--ax-line);
    box-shadow: 0 8px 32px rgba(42, 54, 40, 0.06);
}
.sp-erp-login__brand {
    font-size: 1.5rem;
    margin-bottom: 8px;
}
.sp-erp-login__form { margin-top: 28px; }
.sp-erp-login__links { margin-top: 20px; text-align: center; }
.sp-erp-denied { max-width: 480px; margin: 60px auto; text-align: center; }

@media (max-width: 900px) {
    .sp-erp__split { grid-template-columns: 1fr; }
    .sp-erp__split-side { position: static; }
    .sp-erp__form-row { grid-template-columns: 1fr; }
    .sp-erp__mini-stats { grid-template-columns: 1fr; }
}

/* legacy erp aliases (non-conflicting only) */
.sp-erp__banner {
    padding: 16px 20px;
    background: rgba(61, 79, 58, 0.06);
    border: 1px solid rgba(61, 79, 58, 0.15);
    margin-bottom: 24px;
    font-size: 0.875rem;
}
.sp-erp__tag {
    display: inline-block;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--ax-gold);
    margin-left: 10px;
}

@media (max-width: 900px) {
    .sp-chooser__grid { grid-template-columns: repeat(2, 1fr); }
    .sp-pdp__layout { grid-template-columns: 1fr; }
    .sp-pdp__gallery-col { position: static; }
    .sp-pdp__reviews-layout { grid-template-columns: 1fr; }
    .sp-pdp__reviews-side { position: static; }
    .sp-field--row { grid-template-columns: 1fr; }
    .sp-pdp__facts { grid-template-columns: 1fr; }
    .sp-pdp__story-grid { grid-template-columns: 1fr; }
    .sp-pdp__packs { grid-template-columns: 1fr; }
    .sp-pdp__purchase { flex-direction: column; align-items: stretch; }
    .sp-pdp__atc { width: 100%; min-width: 0; }
    .sp-admin__grid { grid-template-columns: 1fr; }
}

/* ── Account (حساب کاربری) ── */
.sp-wrap--acc { background: var(--ax-bg); }
.sp-acc {
    flex: 1;
    max-width: var(--ax-max);
    margin: 0 auto;
    padding: clamp(24px, 4vw, 40px) var(--ax-pad) 72px;
    width: 100%;
}
.sp-acc-shell {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: clamp(20px, 3vw, 32px);
    align-items: start;
}
.sp-acc-aside {
    position: sticky;
    top: 88px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.sp-acc-user {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    background: var(--ax-accent-deep);
    color: #fff;
}
.sp-acc-user__avatar {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 1.25rem;
    flex-shrink: 0;
}
.sp-acc-user__info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.sp-acc-user__info strong {
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sp-acc-user__info span {
    font-size: 0.75rem;
    opacity: 0.65;
}
.sp-acc-aside__shop {
    font-size: 0.75rem;
    color: var(--ax-muted);
    text-decoration: none;
    padding: 0 4px;
    transition: color .2s;
}
.sp-acc-aside__shop:hover { color: var(--ax-ink); }

.sp-acc-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: var(--ax-paper);
    border: 1px solid var(--ax-line);
    padding: 8px;
}
.sp-acc-nav__item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    text-align: right;
    padding: 12px 14px;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 0.8125rem;
    color: var(--ax-muted);
    cursor: pointer;
    transition: background .15s, color .15s;
}
.sp-acc-nav__icon {
    font-size: 8px;
    opacity: 0.4;
    transition: opacity .15s;
}
.sp-acc-nav__item:hover { color: var(--ax-ink); background: var(--ax-bg); }
.sp-acc-nav__item--on {
    color: var(--ax-ink);
    background: var(--ax-bg);
    font-weight: 500;
}
.sp-acc-nav__item--on .sp-acc-nav__icon { opacity: 1; color: var(--ax-gold); }

.sp-acc-main { min-width: 0; }

/* ── Dashboard ── */
.sp-acc-dash { display: flex; flex-direction: column; gap: 20px; }
.sp-acc-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    padding: clamp(28px, 4vw, 40px);
    background:
        radial-gradient(ellipse 70% 80% at 100% 0%, rgba(139, 115, 85, 0.25) 0%, transparent 55%),
        linear-gradient(135deg, var(--ax-accent-deep) 0%, #1f2a1c 100%);
    color: #fff;
}
.sp-acc-hero__eyebrow {
    display: block;
    font-size: 0.6875rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0.6;
    margin-bottom: 8px;
}
.sp-acc-hero__title {
    margin: 0 0 10px;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 400;
    line-height: 1.15;
}
.sp-acc-hero__sub {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.7;
    opacity: 0.72;
    max-width: 38ch;
}
.sp-acc-hero__cta {
    background: #fff !important;
    color: var(--ax-ink) !important;
    border-color: #fff !important;
    flex-shrink: 0;
}
.sp-acc-hero__cta:hover {
    background: transparent !important;
    color: #fff !important;
}

.sp-acc-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: var(--ax-line);
}
.sp-acc-stat {
    background: var(--ax-paper);
    padding: 22px 20px;
    text-align: center;
}
.sp-acc-stat__val {
    display: block;
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 500;
    color: var(--ax-ink);
    margin-bottom: 6px;
    font-family: var(--ax-serif);
}
.sp-acc-stat__lbl {
    font-size: 0.6875rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ax-muted);
}
.sp-acc-stat--orders .sp-acc-stat__val { color: var(--ax-accent-deep); }
.sp-acc-stat--ship .sp-acc-stat__val { font-size: 1rem; }
.sp-acc-stat--cart .sp-acc-stat__val { color: var(--ax-gold); }

.sp-acc-block {
    background: var(--ax-paper);
    border: 1px solid var(--ax-line);
    padding: clamp(20px, 3vw, 28px);
}
.sp-acc-block__head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--ax-line);
}
.sp-acc-block__head h2 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 400;
}
.sp-acc-link {
    background: none;
    border: none;
    font-family: inherit;
    font-size: 0.75rem;
    color: var(--ax-gold);
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
}
.sp-acc-link:hover { color: var(--ax-ink); }

.sp-acc-order {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid var(--ax-line);
}
.sp-acc-order:last-child { border-bottom: none; padding-bottom: 0; }
.sp-acc-order__main { display: flex; flex-direction: column; gap: 4px; }
.sp-acc-order__no {
    font-size: 0.875rem;
    font-weight: 500;
    font-family: ui-monospace, monospace;
    letter-spacing: 0.02em;
}
.sp-acc-order__date { font-size: 0.75rem; color: var(--ax-muted); }
.sp-acc-order__meta {
    display: flex;
    align-items: center;
    gap: 14px;
    text-align: left;
}
.sp-acc-order__meta strong {
    font-size: 0.875rem;
    color: var(--ax-gold);
    font-weight: 500;
}
.sp-acc-order--full .sp-acc-order__details {
    display: flex;
    gap: 16px;
    font-size: 0.75rem;
    color: var(--ax-muted);
    flex: 1;
    justify-content: center;
}
.sp-acc-orders {
    background: var(--ax-paper);
    border: 1px solid var(--ax-line);
    padding: 8px clamp(16px, 3vw, 24px);
}

.sp-acc-badge {
    display: inline-block;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 4px 10px;
    border: 1px solid var(--ax-line);
    background: var(--ax-bg);
    color: var(--ax-muted);
}
.sp-acc-badge--pending, .sp-acc-badge--on-hold { border-color: #d4c4a8; color: #8b7355; background: #faf8f4; }
.sp-acc-badge--processing { border-color: #a8c4d4; color: #4a6b7a; background: #f4f8fa; }
.sp-acc-badge--completed { border-color: var(--ax-accent); color: var(--ax-accent-deep); background: rgba(61, 79, 58, 0.06); }
.sp-acc-badge--cancelled, .sp-acc-badge--failed { border-color: #d4a8a8; color: #8b3a3a; background: #faf5f5; }

.sp-acc-empty {
    text-align: center;
    padding: clamp(32px, 6vw, 48px) 24px;
}
.sp-acc-empty--compact { padding: 32px 24px; }
.sp-acc-empty__ring {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border: 1px solid var(--ax-line);
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, var(--ax-bg), var(--ax-paper));
}
.sp-acc-empty__title {
    margin: 0 0 8px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--ax-ink);
}
.sp-acc-empty__sub {
    margin: 0 0 24px;
    font-size: 0.8125rem;
    color: var(--ax-muted);
    line-height: 1.6;
}

.sp-acc-quick {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: var(--ax-line);
}
.sp-acc-quick__card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px 18px;
    background: var(--ax-paper);
    border: none;
    text-align: right;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
    color: inherit;
    transition: background .2s;
}
.sp-acc-quick__card:hover { background: var(--ax-bg); }
.sp-acc-quick__label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--ax-ink);
}
.sp-acc-quick__hint {
    font-size: 0.75rem;
    color: var(--ax-muted);
}

.sp-acc-page-head {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--ax-line);
}
.sp-acc-page-head h1 {
    margin: 0 0 6px;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 400;
}
.sp-acc-form-card {
    background: var(--ax-paper);
    border: 1px solid var(--ax-line);
    padding: clamp(24px, 4vw, 32px);
    max-width: 520px;
}

/* ── Checkout (تکمیل خرید) ── */
.sp-acc-checkout { display: flex; flex-direction: column; gap: 24px; }
.sp-acc-checkout__head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--ax-line);
}
.sp-acc-checkout__head h1 {
    margin: 0 0 6px;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 400;
}
.sp-acc-checkout__meta {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--ax-muted);
}
.sp-acc-checkout__head-total {
    text-align: left;
    padding: 14px 20px;
    background: var(--ax-accent-deep);
    color: #fff;
    min-width: 180px;
}
.sp-acc-checkout__head-total small {
    display: block;
    font-size: 0.625rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.65;
    margin-bottom: 4px;
}
.sp-acc-checkout__head-total strong {
    font-size: 1.125rem;
    font-weight: 500;
    font-family: var(--ax-serif);
}
.sp-acc-checkout__grid {
    display: grid;
    grid-template-columns: minmax(260px, 340px) 1fr;
    gap: clamp(20px, 3vw, 32px);
    align-items: start;
}
.sp-acc-checkout__summary {
    position: sticky;
    top: 88px;
    background: var(--ax-paper);
    border: 1px solid var(--ax-line);
    padding: clamp(20px, 3vw, 28px);
}
.sp-acc-checkout__label {
    margin: 0 0 16px;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ax-muted);
}
.sp-acc-checkout__items {
    list-style: none;
    margin: 0;
    padding: 0;
}
.sp-acc-checkout__item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--ax-line);
    font-size: 0.8125rem;
}
.sp-acc-checkout__item:last-child { border-bottom: none; }
.sp-acc-checkout__item-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.sp-acc-checkout__item-name {
    font-weight: 500;
    line-height: 1.45;
    color: var(--ax-ink);
}
.sp-acc-checkout__item-qty {
    font-size: 0.75rem;
    color: var(--ax-muted);
}
.sp-acc-checkout__item strong {
    flex-shrink: 0;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--ax-gold);
}
.sp-acc-checkout__sum {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 2px solid var(--ax-ink);
    font-size: 0.875rem;
}
.sp-acc-checkout__sum strong {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--ax-ink);
    font-family: var(--ax-serif);
}
.sp-acc-checkout__note {
    margin: 14px 0 0;
    font-size: 0.75rem;
    color: var(--ax-muted);
    line-height: 1.5;
}
.sp-acc-checkout__form {
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.sp-acc-checkout__section {
    background: var(--ax-paper);
    border: 1px solid var(--ax-line);
    padding: clamp(20px, 3vw, 28px);
}
.sp-acc-fields {
    display: grid;
    gap: 4px;
}
.sp-acc-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.sp-acc-option {
    display: block;
    cursor: pointer;
}
.sp-acc-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.sp-acc-option__box {
    display: block;
    padding: 14px 16px;
    border: 1px solid var(--ax-line);
    background: var(--ax-bg);
    transition: border-color .2s, background .2s, box-shadow .2s;
}
.sp-acc-option__title {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--ax-ink);
    margin-bottom: 2px;
}
.sp-acc-option__desc {
    display: block;
    font-size: 0.75rem;
    color: var(--ax-muted);
    line-height: 1.45;
}
.sp-acc-option input:checked + .sp-acc-option__box {
    border-color: var(--ax-accent-deep);
    background: rgba(61, 79, 58, 0.06);
    box-shadow: inset 3px 0 0 var(--ax-accent-deep);
}
.sp-acc-option:hover .sp-acc-option__box {
    border-color: var(--ax-muted);
}
.sp-acc-checkout__submit {
    width: 100%;
    padding: 16px 32px;
    font-size: 0.8125rem;
}

/* ── Profile (جزئیات حساب) ── */
.sp-acc-profile { display: flex; flex-direction: column; gap: 24px; }
.sp-acc-profile__grid {
    display: grid;
    grid-template-columns: minmax(260px, 300px) 1fr;
    gap: clamp(20px, 3vw, 32px);
    align-items: start;
}
.sp-acc-profile__card {
    position: sticky;
    top: 88px;
    background: var(--ax-paper);
    border: 1px solid var(--ax-line);
    overflow: hidden;
}
.sp-acc-profile__hero {
    padding: clamp(28px, 4vw, 36px) 24px;
    background:
        radial-gradient(ellipse 80% 60% at 100% 0%, rgba(139, 115, 85, 0.2) 0%, transparent 55%),
        linear-gradient(160deg, var(--ax-accent-deep) 0%, #1f2a1c 100%);
    color: #fff;
    text-align: center;
}
.sp-acc-profile__avatar {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.22);
}
.sp-acc-profile__name {
    margin: 0 0 6px;
    font-size: 1.125rem;
    font-weight: 400;
    font-family: var(--ax-serif);
}
.sp-acc-profile__phone {
    margin: 0;
    font-size: 0.875rem;
    opacity: 0.75;
    letter-spacing: 0.04em;
}
.sp-acc-profile__facts {
    list-style: none;
    margin: 0;
    padding: 0;
}
.sp-acc-profile__facts li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid var(--ax-line);
    font-size: 0.8125rem;
}
.sp-acc-profile__facts li span { color: var(--ax-muted); }
.sp-acc-profile__facts li strong { font-weight: 500; color: var(--ax-ink); }
.sp-acc-profile__hint {
    margin: 0;
    padding: 14px 20px;
    font-size: 0.75rem;
    line-height: 1.55;
    color: var(--ax-muted);
    background: var(--ax-bg);
}
.sp-acc-profile__form { min-width: 0; }
.sp-acc-profile__fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 20px;
}
.sp-acc-field { display: flex; flex-direction: column; gap: 8px; }
.sp-acc-field--full { grid-column: 1 / -1; }
.sp-acc-field label {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ax-muted);
}
.sp-acc-input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--ax-line);
    background: var(--ax-bg);
    font-family: inherit;
    font-size: 0.875rem;
    color: var(--ax-ink);
    transition: border-color .2s, background .2s, box-shadow .2s;
}
.sp-acc-input::placeholder { color: #aaa; }
.sp-acc-input:focus {
    outline: none;
    border-color: var(--ax-accent-deep);
    background: var(--ax-paper);
    box-shadow: 0 0 0 3px rgba(61, 79, 58, 0.08);
}
.sp-acc-input--muted {
    background: var(--ax-paper);
    color: var(--ax-muted);
    cursor: not-allowed;
}
.sp-acc-profile__actions {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--ax-line);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}
.sp-acc-profile__save { min-width: 180px; }

/* Login */
.sp-acc-login {
    max-width: 420px;
    margin: 0 auto;
    padding: clamp(40px, 8vw, 80px) 0;
}
.sp-acc-login__title {
    margin: 0 0 8px;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 400;
    text-align: center;
}
.sp-acc-login__sub {
    margin: 0 0 32px;
    font-size: 0.8125rem;
    color: var(--ax-muted);
    line-height: 1.6;
    text-align: center;
}
.sp-acc-login__form {
    background: var(--ax-paper);
    border: 1px solid var(--ax-line);
    padding: 28px 24px;
    margin-bottom: 20px;
}
.sp-acc-login__foot {
    margin: 0;
    font-size: 0.8125rem;
    text-align: center;
}
.sp-acc-login__foot a { color: var(--ax-muted); text-decoration: none; }
.sp-acc-login__foot a:hover { color: var(--ax-ink); }
.sp-acc-otp { margin-top: 16px; }

.sp-acc-cart {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    border-top: 1px solid var(--ax-line);
}
.sp-acc-cart li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--ax-line);
    font-size: 0.8125rem;
}
.sp-acc-total {
    display: flex;
    justify-content: space-between;
    padding: 16px 0 24px;
    border-bottom: 1px solid var(--ax-line);
    font-size: 0.875rem;
}
.sp-acc-notice {
    padding: 12px 16px;
    margin-bottom: 20px;
    font-size: 0.8125rem;
    border: 1px solid var(--ax-line);
    background: var(--ax-paper);
}
.sp-acc-notice--ok { border-color: var(--ax-accent); color: var(--ax-accent-deep); }
.sp-acc-notice--warn { background: #faf8f0; }
.sp-acc-notice--err { color: #8b3a3a; border-color: #d4a8a8; }
.sp-acc-logout {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    color: var(--ax-ink);
    padding: 0;
    opacity: 0.7;
}
.sp-acc-logout:hover { opacity: 1; }

@media (max-width: 860px) {
    .sp-acc-shell { grid-template-columns: 1fr; }
    .sp-acc-aside {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
    }
    .sp-acc-user { flex: 1; min-width: 200px; }
    .sp-acc-nav {
        flex: 1;
        flex-direction: row;
        flex-wrap: wrap;
        min-width: 100%;
    }
    .sp-acc-nav__item { flex: 1; min-width: max-content; justify-content: center; }
    .sp-acc-aside__shop { width: 100%; }
    .sp-acc-stats { grid-template-columns: 1fr; }
    .sp-acc-quick { grid-template-columns: 1fr; }
    .sp-acc-order--full { flex-direction: column; align-items: flex-start; }
    .sp-acc-order--full .sp-acc-order__details { justify-content: flex-start; }
    .sp-acc-checkout__grid { grid-template-columns: 1fr; }
    .sp-acc-checkout__summary { position: static; order: -1; }
    .sp-acc-checkout__head-total { width: 100%; text-align: right; }
    .sp-acc-profile__grid { grid-template-columns: 1fr; }
    .sp-acc-profile__card { position: static; }
    .sp-acc-profile__fields { grid-template-columns: 1fr; }
}
