/* =====================================================================
   Slivatus Market — style.css
   Reuses the frontend slivatus.css design language.
   ===================================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #f0f0f0;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --text-tertiary: #999999;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --accent-color: #ff1744;
    --accent-hover: #d50032;
    --theme-color: #1e005e;
    --overlay-dark: rgba(0, 0, 0, 0.7);
    --overlay-light: rgba(0, 0, 0, 0.3);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container { max-width: 1400px; margin: 0 auto; padding: 0 24px; }

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color .25s ease; }
button { font-family: 'Montserrat', sans-serif; cursor: pointer; border: none; background: none; transition: all .25s ease; }

h1, h2, h3 { line-height: 1.2; }

/* ===== Navigation (clone of frontend .navbar) ===== */
.navbar {
    position: sticky; top: 0;
    background-color: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.nav-content {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 0;
}

.logo {
    font-size: 28px; font-weight: 800; letter-spacing: -1px;
    display: flex; align-items: center;
}
.logo-text { color: var(--text-primary); }
.logo-dot { color: var(--accent-color); margin-left: 2px; }

.nav-links { display: flex; align-items: center; gap: 32px; }

.nav-link {
    font-size: 15px; font-weight: 500;
    color: var(--text-secondary);
    position: relative; padding: 8px 0;
}
.nav-link:hover, .nav-link.active { color: var(--accent-color); }
.nav-link.active::after {
    content: '';
    position: absolute; bottom: 0; left: 0;
    width: 100%; height: 2px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.nav-link.nav-link-cta {
    background: var(--accent-color);
    color: #fff !important;
    padding: 7px 14px;
    border-radius: 13px;
    font-weight: 700;
}
.nav-link.nav-link-cta:hover { background: var(--accent-hover); color: #fff; }
.nav-link.nav-link-cta::after { display: none; }

.mobile-menu-toggle {
    display: none;
    flex-direction: column; gap: 6px;
    width: 32px; height: 32px;
    justify-content: center;
}
.mobile-menu-toggle span {
    width: 100%; height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: transform .25s ease, opacity .25s ease;
}
.mobile-menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-menu {
    position: fixed; top: 81px; left: 0; right: 0; bottom: 0;
    background-color: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    transform: translateY(-100%);
    opacity: 0; visibility: hidden;
    transition: transform .3s ease, opacity .3s ease, visibility .3s ease;
    z-index: 999;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.mobile-menu.active { transform: translateY(0); opacity: 1; visibility: visible; }

.mobile-menu-content {
    padding: 24px;
    display: flex; flex-direction: column; gap: 16px;
    min-height: 100%;
}
.mobile-nav-link {
    font-size: 16px; font-weight: 500;
    color: var(--text-secondary);
    padding: 12px 16px; border-radius: 12px;
}
.mobile-nav-link:hover, .mobile-nav-link.active {
    background-color: var(--bg-secondary);
    color: var(--accent-color);
}

@media (max-width: 992px) {
    .nav-links { display: none; }
    .mobile-menu-toggle { display: flex; }
}

/* ===== Footer ===== */
.footer {
    padding: 64px 0 32px;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    margin-top: 80px;
}
.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}
.footer-title { font-size: 24px; font-weight: 800; margin-bottom: 12px; }
.footer-description { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
.footer-heading { font-size: 16px; font-weight: 700; margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 14px; color: var(--text-secondary); }
.footer-links a:hover { color: var(--accent-color); }
.footer-bottom { text-align: center; padding-top: 28px; border-top: 1px solid var(--border-color); }
.footer-bottom p { font-size: 14px; color: var(--text-secondary); }

@media (max-width: 992px) {
    .footer-content { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}
@media (max-width: 576px) {
    .footer-content { grid-template-columns: 1fr; gap: 28px; }
}

/* ===== Breadcrumbs (sitewide) ===== */
.breadcrumbs {
    display: flex; align-items: center; flex-wrap: wrap; gap: 4px;
    font-size: 13px; color: var(--text-tertiary);
    padding: 6px 0 6px;
}
.breadcrumbs__link { color: var(--text-tertiary); }
.breadcrumbs__link:hover { color: var(--accent-color); }
.breadcrumbs__sep { color: var(--border-color); padding: 0 4px; }
.breadcrumbs__current { color: var(--text-secondary); font-weight: 500; }

/* ===== Page header (used for static pages) ===== */
.page-header {
    padding: 60px 0 32px;
    background-color: var(--bg-secondary);
    text-align: center;
}
.page-title {
    font-size: clamp(34px, 5vw, 56px);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -1px;
}
.page-subtitle { font-size: 18px; color: var(--text-secondary); max-width: 720px; margin: 0 auto; }

.page-body { padding: 48px 0 64px; }
.page-content-wrap { max-width: 880px; margin: 0 auto; }

.page-content { font-size: 16px; line-height: 1.85; color: var(--text-primary); }
.page-content h2 { font-size: 26px; font-weight: 700; margin: 2rem 0 .75rem; }
.page-content h3 { font-size: 20px; font-weight: 600; margin: 1.5rem 0 .5rem; }
.page-content p  { margin-bottom: 1rem; color: var(--text-secondary); }
.page-content ul, .page-content ol { padding-left: 1.5rem; margin-bottom: 1rem; color: var(--text-secondary); }
.page-content li { margin-bottom: .35rem; }
.page-content a  { color: var(--accent-color); text-decoration: underline; }
.page-content a:hover { color: var(--accent-hover); }
.page-content blockquote {
    border-left: 4px solid var(--accent-color);
    padding: 12px 20px; margin: 1.5rem 0;
    background: var(--bg-secondary);
    border-radius: 0 10px 10px 0;
    color: var(--text-secondary);
    font-style: italic;
}

@media (max-width: 768px) {
    .page-body { padding: 28px 0 48px; }
    .page-content { font-size: 15px; }
    .page-content h2 { font-size: 21px; }
    .page-content h3 { font-size: 17px; }
}

/* ===== Generic buttons ===== */
.btn-primary {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 28px;
    background: var(--accent-color);
    color: #fff !important;
    font-weight: 700;
    border-radius: 12px;
    transition: background .2s, transform .15s, box-shadow .2s;
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(255,23,68,.25); }

.btn-outline {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 28px;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    font-weight: 700;
    border-radius: 12px;
}
.btn-outline:hover { background: var(--accent-color); color: #fff; }

/* =====================================================================
   HOMEPAGE — hero + features + spotlight + CTA
   ===================================================================== */
.hero {
    position: relative;
    padding: 80px 0 96px;
    background:
        radial-gradient(ellipse at 20% 0%, rgba(255, 23, 68, 0.10) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 100%, rgba(30, 0, 94, 0.10) 0%, transparent 50%),
        var(--bg-primary);
    overflow: hidden;
}
.hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 48px;
    align-items: center;
}
.hero__eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px;
    background: rgba(255,23,68,.08);
    color: var(--accent-color);
    font-weight: 700; font-size: 13px;
    text-transform: uppercase; letter-spacing: .08em;
    border-radius: 999px;
    margin-bottom: 20px;
}
.hero__eyebrow::before {
    content: ''; width: 8px; height: 8px; border-radius: 50%;
    background: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(255,23,68,.2);
}
.hero__title {
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 900;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
    line-height: 1.05;
}
.hero__title span {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-hover) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.hero__lead {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 540px;
    line-height: 1.6;
}
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.hero__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 540px;
}
.hero__stat-num {
    font-size: 32px; font-weight: 800;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 6px;
}
.hero__stat-label { font-size: 13px; color: var(--text-tertiary); }

.hero__visual {
    position: relative;
    max-width: 480px;
    margin-left: auto;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    grid-template-rows: 244px 176px;
    gap: 10px;
}
.hero__card {
    border-radius: 18px;
    overflow: hidden;
    background: var(--bg-tertiary);
    box-shadow: var(--shadow-md);
    transition: transform .3s ease;
}
.hero__card:hover { transform: scale(1.02); }
.hero__card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__card--main { grid-row: span 2; }
.hero__card--count {
    background: linear-gradient(145deg, var(--theme-color) 0%, #3b007f 50%, var(--accent-color) 100%);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    color: #fff; gap: 4px;
}
.hero__count-num   { font-size: 28px; font-weight: 900; line-height: 1; }
.hero__count-label { font-size: 11px; font-weight: 600; opacity: .75; text-transform: uppercase; letter-spacing: .07em; }
.hero__badge-float {
    position: absolute;
    bottom: 16px; left: 16px;
    z-index: 3;
    padding: 9px 16px;
    background: var(--bg-primary);
    border-radius: 999px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 600;
    white-space: nowrap;
}
.hero__badge-float .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #00c853;
    box-shadow: 0 0 0 3px rgba(0,200,83,.2);
}

@media (max-width: 992px) {
    .hero { padding: 60px 0 72px; }
    .hero__inner { grid-template-columns: 1fr; gap: 56px; text-align: center; }
    .hero__lead, .hero__stats { margin-left: auto; margin-right: auto; }
    .hero__cta { justify-content: center; }
    .hero__visual { margin: 0 auto; max-width: 380px; grid-template-rows: 200px 148px; }
}
@media (max-width: 576px) {
    .hero__stats { grid-template-columns: repeat(3, 1fr); gap: 12px; }
    .hero__stat-num { font-size: 24px; }
}

/* Section heading shared */
.section { padding: 80px 0; }
.section--alt { background: var(--bg-secondary); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section__eyebrow {
    display: inline-block;
    color: var(--accent-color);
    font-weight: 700; font-size: 13px;
    text-transform: uppercase; letter-spacing: .08em;
    margin-bottom: 12px;
}
.section__title {
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -1px;
}
.section__lead { font-size: 17px; color: var(--text-secondary); }

/* Feature grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.feature-card {
    padding: 32px 28px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feature-card:hover {
    transform: translateY(-4px);
    border-color: transparent;
    box-shadow: var(--shadow-lg);
}
.feature-card__icon {
    width: 52px; height: 52px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,23,68,.10);
    color: var(--accent-color);
    border-radius: 14px;
    margin-bottom: 18px;
    flex-shrink: 0;
}
.feature-card__icon svg { width: 22px; height: 22px; }
.feature-card__title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.feature-card__text  { font-size: 14px; color: var(--text-secondary); line-height: 1.65; }

/* CTA banner */
.cta-banner {
    position: relative;
    padding: 56px 48px;
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a2e 0%, #1e005e 50%, #d50032 100%);
    color: #fff;
    text-align: center;
    box-shadow: 0 16px 48px rgba(30, 0, 94, 0.35);
}
.cta-banner::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 15% 30%, rgba(255,255,255,.10) 0%, transparent 40%),
        radial-gradient(circle at 85% 70%, rgba(255,255,255,.08) 0%, transparent 40%);
    pointer-events: none;
}
.cta-banner__title {
    position: relative;
    font-size: clamp(26px, 3.5vw, 38px);
    font-weight: 900;
    margin-bottom: 14px;
    letter-spacing: -.5px;
}
.cta-banner__text {
    position: relative;
    font-size: 17px;
    color: rgba(255,255,255,.85);
    max-width: 600px;
    margin: 0 auto 28px;
    line-height: 1.6;
}
.cta-banner .btn-primary {
    position: relative;
    background: #fff;
    color: var(--accent-color) !important;
    padding: 16px 36px;
    font-size: 16px;
}
.cta-banner .btn-primary:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,0,0,.25); }

/* Section: featured items */
.spotlight { background: var(--bg-secondary); padding: 72px 0; }
.spotlight__foot { text-align: center; margin-top: 40px; }

/* =====================================================================
   SHOP (verbatim from frontend slivatus.css, lightly trimmed)
   ===================================================================== */
.shop-catalog { padding: 24px 0 80px; }
.shop-catalog__head { text-align: center; margin-bottom: 32px; }
.shop-catalog__title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-hover) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    margin: 0 0 8px;
}
.shop-catalog__lead { color: var(--text-secondary); max-width: 640px; margin: 0 auto; }

.shop-catalog__layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
    align-items: flex-start;
}
@media (max-width: 900px) { .shop-catalog__layout { grid-template-columns: 1fr; } }

.shop-filter {
    position: sticky;
    top: 96px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 18px;
    box-shadow: var(--shadow-sm);
}
@media (max-width: 900px) { .shop-filter { position: static; } }
.shop-filter__form { display: flex; flex-direction: column; gap: 14px; }
.shop-filter__group { display: flex; flex-direction: column; gap: 6px; }
.shop-filter__label {
    font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .03em;
    color: var(--text-secondary);
}
.shop-filter__label small { font-weight: 400; color: var(--text-tertiary); text-transform: none; letter-spacing: 0; }
.shop-filter__input,
.shop-filter__select {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 14px;
    font-family: inherit;
    transition: border-color .15s, box-shadow .15s;
}
.shop-filter__input:focus,
.shop-filter__select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(255,23,68,.12);
}
.shop-filter__range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.shop-filter__input--sm { padding: 6px 8px; font-size: 13px; }
.shop-filter__actions { display: flex; gap: 8px; margin-top: 4px; }

.shop-btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 10px 18px;
    font-size: 14px; font-weight: 600;
    border: none; border-radius: 8px;
    cursor: pointer; text-decoration: none;
    transition: transform .12s, box-shadow .15s, background .15s, color .15s;
}
.shop-btn--sm  { padding: 7px 12px; font-size: 13px; }
.shop-btn--lg  { padding: 14px 28px; font-size: 16px; }
.shop-btn--primary {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-hover) 100%);
    color: #fff;
    box-shadow: 0 2px 6px rgba(213,0,50,.30);
}
.shop-btn--primary:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(213,0,50,.45);
}
.shop-btn--ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}
.shop-btn--ghost:hover { background: var(--bg-secondary); color: var(--text-primary); }

.shop-grid__toolbar {
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 12px;
    margin-bottom: 20px;
    padding: 12px 16px;
    background: var(--bg-primary);
    border-radius: 10px;
    border: 1px solid var(--border-color);
}
.shop-grid__count { color: var(--text-secondary); font-size: 14px; }
.shop-grid__sort  { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }
.shop-grid__sort label { color: var(--text-tertiary); font-size: 13px; margin-right: 4px; }
.shop-grid__sort-link {
    padding: 4px 10px; font-size: 13px;
    color: var(--text-tertiary); text-decoration: none;
    border-radius: 6px; transition: background .15s, color .15s;
}
.shop-grid__sort-link:hover { background: var(--bg-tertiary); color: var(--text-primary); }
.shop-grid__sort-link.is-active {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-hover) 100%);
    color: #fff;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}
.shop-grid--small { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }

.shop-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    overflow: hidden;
    transition: transform .15s, box-shadow .2s;
    display: flex; flex-direction: column;
}
.shop-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,.10);
}
.shop-card__cover-link {
    display: block; position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--bg-tertiary);
}
.shop-card__cover {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}
.shop-card:hover .shop-card__cover { transform: scale(1.04); }
.shop-card__badges {
    position: absolute; top: 10px; left: 10px;
    display: flex; flex-direction: column; gap: 6px;
}
.shop-badge {
    display: inline-block; padding: 4px 10px;
    font-size: 11px; font-weight: 700;
    border-radius: 999px; color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,.2);
    box-shadow: 0 2px 6px rgba(0,0,0,.15);
}
.shop-badge--hot      { background: linear-gradient(135deg, #ff6b6b, #d62828); }
.shop-badge--new      { background-color: var(--accent-color); }
.shop-badge--discount { background: linear-gradient(135deg, #ffd60a, #ff9f1c); color: #5a3500; text-shadow: none; }

.shop-card__body { padding: 14px 16px 16px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.shop-card__title { font-size: 16px; font-weight: 700; margin: 0; line-height: 1.3; }
.shop-card__title a { color: var(--text-primary); }
.shop-card__title a:hover { color: var(--accent-color); }
.shop-card__desc { font-size: 13px; color: var(--text-secondary); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.shop-card__meta { display: flex; gap: 12px; font-size: 12px; color: var(--text-tertiary); margin-top: auto; }
.shop-card__footer {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    margin-top: 4px;
}
.shop-card__price-block { display: flex; flex-direction: column; line-height: 1.1; }
.shop-card__price-old   { font-size: 12px; text-decoration: line-through; color: var(--text-tertiary); }
.shop-card__price       { font-size: 18px; font-weight: 800; color: var(--accent-color); }

.shop-empty { text-align: center; padding: 60px 20px; color: var(--text-secondary); }
.shop-empty h3 { color: var(--text-primary); margin-bottom: 8px; }
.shop-pagination { margin-top: 32px; display: flex; justify-content: center; }
.shop-pagination .pagination { display: flex; gap: 4px; list-style: none; padding: 0; margin: 0; }
.shop-pagination .page-item .page-link {
    display: inline-block; padding: 8px 14px;
    color: var(--text-secondary); text-decoration: none;
    border: 1px solid var(--border-color); border-radius: 6px;
    transition: background .12s, color .12s;
}
.shop-pagination .page-item.active .page-link {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-hover) 100%);
    color: #fff; border-color: transparent;
}
.shop-pagination .page-item.disabled .page-link { color: var(--text-tertiary); pointer-events: none; }
.shop-pagination .page-item .page-link:hover { background: var(--bg-tertiary); }

/* ----- Single item view ----- */
.shop-view { padding: 16px 0 80px; }

.shop-breadcrumbs {
    display: flex; align-items: center; flex-wrap: wrap; gap: 4px;
    font-size: 13px; color: var(--text-tertiary);
    margin-bottom: 20px;
}
.shop-breadcrumbs__link { color: var(--text-tertiary); }
.shop-breadcrumbs__link:hover { color: var(--accent-color); }
.shop-breadcrumbs__sep { color: var(--border-color); padding: 0 2px; }
.shop-breadcrumbs__current { color: var(--text-secondary); font-weight: 500; }

.shop-view__meta-item { display: inline-flex; align-items: center; gap: 5px; }

.shop-view__hero {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 28px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
}
@media (max-width: 800px) { .shop-view__hero { grid-template-columns: 1fr; } }

.shop-view__cover-col { position: relative; }
.shop-view__cover {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 12px;
    background: var(--bg-tertiary);
}
.shop-view__cover-badges {
    position: absolute; top: 12px; left: 12px;
    display: flex; flex-direction: column; gap: 6px;
}

.shop-view__title { font-size: clamp(22px, 3vw, 30px); font-weight: 800; margin: 0 0 12px; }
.shop-view__meta { display: flex; flex-wrap: wrap; gap: 14px; color: var(--text-secondary); font-size: 14px; margin-bottom: 14px; }
.shop-view__lead { font-size: 15px; color: var(--text-secondary); line-height: 1.55; margin: 0 0 18px; }

.shop-view__attrs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px 16px;
    margin: 0 0 22px;
    padding: 14px;
    background: var(--bg-secondary);
    border-radius: 10px;
    border: 1px solid var(--border-color);
}
.shop-view__attr  { display: flex; flex-direction: column; }
.shop-view__attr dt { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--text-tertiary); font-weight: 600; }
.shop-view__attr dd { margin: 2px 0 0; font-size: 14px; color: var(--text-primary); font-weight: 500; }

.shop-view__buy {
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
    gap: 16px; padding: 18px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color); border-radius: 12px;
}
.shop-view__price-block { display: flex; flex-direction: column; line-height: 1.1; }
.shop-view__price-old   { font-size: 14px; text-decoration: line-through; color: var(--text-tertiary); }
.shop-view__price       { font-size: 28px; font-weight: 800; color: var(--accent-color); }

.shop-view__section { margin-top: 36px; }
.shop-view__h2 {
    font-size: 22px; font-weight: 700;
    margin: 0 0 16px; padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;
}
.shop-view__content { color: var(--text-secondary); line-height: 1.65; font-size: 15px; }
.shop-view__content img { max-width: 100%; height: auto; border-radius: 8px; }

.shop-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 8px;
}
.shop-gallery__item {
    position: relative; display: block;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 10px;
    background: var(--bg-tertiary);
    cursor: pointer;
    transition: transform .15s;
}
.shop-gallery__item:hover { transform: scale(1.02); }
.shop-gallery__item img,
.shop-gallery__item video { width: 100%; height: 100%; object-fit: cover; display: block; }
.shop-gallery__item--video { background: #000; }
.shop-gallery__play {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 28px;
    background: rgba(0,0,0,.25); pointer-events: none;
    transition: background .15s;
}
.shop-gallery__item--video:hover .shop-gallery__play { background: rgba(0,0,0,.45); }

.shop-gallery__cta {
    position: relative; display: flex;
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 60%, #0f3460 100%);
}
.shop-gallery__cta-inner {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 10px; padding: 16px;
    text-align: center; color: #fff; width: 100%;
}
.shop-gallery__cta-lock   { font-size: 28px; line-height: 1; }
.shop-gallery__cta-count  { font-size: 22px; font-weight: 800; }
.shop-gallery__cta-text   { font-size: 12px; color: rgba(255,255,255,.75); line-height: 1.4; }
.shop-gallery__cta .shop-btn { margin-top: 4px; font-size: 13px; padding: 8px 18px; }

.shop-archive-promo {
    display: flex; align-items: center; gap: 24px;
    margin-top: 28px;
    padding: 32px 36px;
    background: linear-gradient(135deg, #1e1b4b 0%, #3730a3 55%, #6d28d9 100%);
    border-radius: 16px;
    color: #fff;
    flex-wrap: wrap;
    box-shadow: 0 8px 40px rgba(55, 48, 163, 0.35);
    position: relative;
    overflow: hidden;
}
.shop-archive-promo::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 80% 20%, rgba(167, 139, 250, 0.18) 0%, transparent 60%);
    pointer-events: none;
}
.shop-archive-promo__icon { display: flex; align-items: center; flex-shrink: 0; opacity: .85; }
.shop-archive-promo__body { flex: 1; min-width: 220px; position: relative; }
.shop-archive-promo__title { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.shop-archive-promo__text  { font-size: 14px; color: rgba(255,255,255,.85); line-height: 1.6; margin-bottom: 12px; }
.shop-archive-promo__features {
    display: flex; flex-wrap: wrap; gap: 8px 20px;
    font-size: 13px; color: rgba(255,255,255,.9);
}
.shop-archive-promo__features span { display: flex; align-items: center; gap: 5px; }
.shop-archive-promo__cta {
    display: flex; flex-direction: column; align-items: center; gap: 12px;
    flex-shrink: 0; position: relative;
}
.shop-archive-promo__price-block { display: flex; flex-direction: column; align-items: center; line-height: 1.1; }
.shop-archive-promo__old-price   { font-size: 14px; text-decoration: line-through; color: rgba(255,255,255,.5); }
.shop-archive-promo__price       { font-size: 34px; font-weight: 900; color: #fff; }
.shop-archive-promo__social-proof { font-size: 13px; color: rgba(255,255,255,.8); display: flex; align-items: center; gap: 5px; }
.shop-archive-promo .shop-btn--primary {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #1c1007;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.4);
    font-weight: 700;
}
.shop-archive-promo .shop-btn--primary:hover {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1c1007;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.5);
}

.shop-preview {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(0,0,0,.92);
    display: flex; align-items: center; justify-content: center;
    padding: 24px;
}
.shop-preview__media { max-width: 92vw; max-height: 92vh; border-radius: 8px; }
.shop-preview__close {
    position: absolute; top: 18px; right: 22px;
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255,255,255,.15); color: #fff;
    border: none; font-size: 24px; line-height: 40px; cursor: pointer;
    transition: background .15s;
}
.shop-preview__close:hover { background: rgba(255,255,255,.3); }

/* Payment modal */
.pay-modal { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.pay-modal[hidden] { display: none; }
.pay-modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.78); }
.pay-modal__dialog {
    position: relative; z-index: 1;
    background: var(--card-bg, #1a1a1a);
    color: var(--text-color, #fff);
    border-radius: 16px;
    padding: 28px 28px 24px;
    width: 100%; max-width: 460px;
    box-shadow: 0 30px 80px rgba(0,0,0,.6);
    border: 1px solid rgba(255,255,255,.06);
}
.pay-modal__close {
    position: absolute; top: 12px; right: 14px;
    width: 36px; height: 36px; border-radius: 50%;
    background: transparent; color: inherit;
    border: none; font-size: 26px; line-height: 36px; cursor: pointer;
    opacity: .6;
}
.pay-modal__close:hover { opacity: 1; }
.pay-modal__title { margin: 0 0 14px; font-size: 20px; font-weight: 700; }
.pay-modal__summary {
    display: flex; justify-content: space-between; gap: 12px;
    padding: 12px 14px; margin-bottom: 18px;
    background: rgba(255,255,255,.04); border-radius: 10px;
    font-size: 14px;
}
.pay-modal__price { font-weight: 700; color: var(--accent-color, #f59e0b); white-space: nowrap; }
.pay-modal__methods { display: flex; flex-direction: column; gap: 10px; }
.pay-modal__loading { text-align: center; padding: 24px 0; opacity: .7; font-size: 14px; }
.pay-modal__error { margin-top: 14px; padding: 10px 12px; background: rgba(239,68,68,.12); color: #f87171; border-radius: 8px; font-size: 13px; }
.pay-method {
    display: flex; align-items: center; gap: 14px;
    padding: 12px 14px;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 12px;
    color: inherit; cursor: pointer; text-align: left;
    transition: background .15s, border-color .15s, transform .15s;
}
.pay-method:hover:not(:disabled) {
    background: rgba(255,255,255,.06);
    border-color: var(--accent-color, #f59e0b);
    transform: translateY(-1px);
}
.pay-method:disabled { opacity: .5; cursor: not-allowed; }
.pay-method__icon { width: 36px; height: 36px; object-fit: contain; border-radius: 6px; background: #fff; }
.pay-method__name { flex: 1; font-weight: 600; font-size: 15px; }
.pay-method__fee { font-size: 12px; opacity: .65; }

/* Error page */
.error-page { text-align: center; padding: 96px 20px; }
.error-page__code {
    font-size: clamp(96px, 18vw, 180px);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-hover) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    letter-spacing: -6px;
}
.error-page__title { font-size: clamp(22px, 4vw, 32px); margin-bottom: 14px; font-weight: 800; }
.error-page__text  { color: var(--text-secondary); margin-bottom: 32px; max-width: 540px; margin-left: auto; margin-right: auto; }
.error-page__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
