:root {
    --shop-bg: #f4f6f8;
    --shop-surface: #ffffff;
    --shop-surface-soft: #eef3f7;
    --shop-surface-warm: #fff7ed;
    --shop-text: #182230;
    --shop-muted: #657286;
    --shop-line: #dde5ee;
    --shop-primary: #2563eb;
    --shop-primary-dark: #1d4ed8;
    --shop-accent: #16a34a;
    --shop-accent-soft: #dcfce7;
    --shop-danger: #dc2626;
    --shop-warning: #f59e0b;
    --shop-radius: 22px;
    --shop-shadow: 0 20px 60px rgba(24, 34, 48, .10);
    --shop-shadow-soft: 0 12px 34px rgba(24, 34, 48, .08);
    color-scheme: light;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--shop-bg);
    color: var(--shop-text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

.shop-shell {
    width: min(1440px, calc(100% - 32px));
    margin: 0 auto;
}

.shop-topbar {
    background: #0f172a;
    color: #dbe8ff;
    font-size: 14px;
}

.shop-topbar__inner,
.shop-topbar__links,
.shop-header__inner,
.shop-header__actions,
.shop-header-menu__inner,
.shop-footer__inner,
.shop-footer__links,
.shop-socials,
.shop-breadcrumbs,
.shop-admin-nav,
.shop-form-actions,
.shop-cart-form__actions,
.shop-product-card__topline,
.shop-product-card__actions,
.shop-product__meta,
.shop-product-buy,
.shop-hero__actions,
.shop-stat-row,
.shop-brand-strip,
.shop-pagination,
.shop-age-gate__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.shop-topbar__inner {
    justify-content: space-between;
    gap: 16px;
    padding: 9px 0;
}

.shop-topbar__notice {
    font-weight: 700;
}

.shop-topbar__links {
    justify-content: flex-end;
    gap: 14px;
}

.shop-topbar__links a {
    color: #ffffff;
    font-weight: 800;
}

.shop-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--shop-line);
    backdrop-filter: blur(14px);
}

.shop-header__inner {
    justify-content: space-between;
    gap: 18px;
    padding: 15px 0;
}

.shop-logo {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    flex: 0 0 auto;
    font-weight: 950;
    letter-spacing: -.04em;
    font-size: 24px;
}

.shop-logo__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(135deg, #111827, var(--shop-primary));
    box-shadow: 0 14px 36px rgba(37, 99, 235, .22);
}

.shop-logo__text {
    white-space: nowrap;
}

.shop-header-search {
    flex: 1 1 440px;
    min-width: 220px;
    display: flex;
    align-items: center;
    background: var(--shop-surface-soft);
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 4px;
}

.shop-header-search:focus-within {
    border-color: rgba(37, 99, 235, .28);
    background: #fff;
}

.shop-header-search__input {
    flex: 1 1 auto;
    min-width: 0;
    height: 42px;
    border: 0;
    outline: 0;
    background: transparent;
    padding: 0 14px;
    color: var(--shop-text);
}

.shop-header-search__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: var(--shop-primary);
    color: #fff;
}

.shop-burger {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--shop-line);
    border-radius: 14px;
    background: var(--shop-surface);
    color: var(--shop-text);
}

.shop-cart-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 13px;
    border-radius: 999px;
    background: #111827;
    color: #fff;
    font-weight: 900;
    box-shadow: var(--shop-shadow-soft);
}

.shop-cart-link__icon {
    display: inline-flex;
}

.shop-cart-link__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 25px;
    height: 25px;
    padding: 0 8px;
    border-radius: 999px;
    background: var(--shop-accent);
    color: #fff;
    font-size: 13px;
}

.shop-header-menu {
    border-top: 1px solid var(--shop-line);
    background: #fff;
}

.shop-header-menu__inner {
    gap: 10px;
    padding: 9px 0;
    overflow-x: auto;
}

.shop-header-menu__inner a {
    flex: 0 0 auto;
    padding: 9px 13px;
    border-radius: 999px;
    color: var(--shop-muted);
    font-weight: 800;
    font-size: 14px;
}

.shop-header-menu__inner a:hover,
.shop-header-menu__catalog {
    background: #eef4ff;
    color: var(--shop-primary-dark);
}

.shop-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 12px 18px;
    border: 0;
    border-radius: 999px;
    background: var(--shop-primary);
    color: #fff;
    font-weight: 900;
    box-shadow: 0 14px 34px rgba(37, 99, 235, .20);
    transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.shop-btn:hover {
    background: var(--shop-primary-dark);
    transform: translateY(-1px);
}

.shop-btn:disabled {
    opacity: .68;
    cursor: wait;
    transform: none;
}

.shop-btn--secondary {
    background: #111827;
}

.shop-btn--ghost {
    background: var(--shop-surface);
    color: var(--shop-text);
    border: 1px solid var(--shop-line);
    box-shadow: none;
}

.shop-btn--small {
    min-height: 40px;
    padding: 9px 14px;
    font-size: 14px;
}

.shop-btn--danger {
    background: var(--shop-danger);
}

.shop-main {
    padding: 28px 0 64px;
}

.shop-alert {
    margin-bottom: 18px;
    padding: 14px 18px;
    border-radius: 16px;
    font-weight: 800;
}

.shop-alert--success {
    background: #dcfce7;
    color: #166534;
}

.shop-alert--error {
    background: #fee2e2;
    color: #991b1b;
}

.shop-breadcrumbs {
    gap: 8px;
    margin: 0 0 20px;
    color: var(--shop-muted);
    font-size: 14px;
}

.shop-breadcrumbs a {
    color: var(--shop-primary-dark);
    font-weight: 800;
}

.shop-hero {
    display: flex;
    align-items: stretch;
    gap: 24px;
    margin-bottom: 34px;
}

.shop-hero__content,
.shop-hero__panel,
.shop-catalog-hero,
.shop-page-card,
.shop-text-card,
.shop-form-card,
.shop-summary,
.shop-split-card,
.shop-catalog-sidebar {
    border: 1px solid rgba(221, 229, 238, .82);
    border-radius: calc(var(--shop-radius) + 8px);
    background: var(--shop-surface);
    box-shadow: var(--shop-shadow);
}

.shop-hero__content {
    position: relative;
    flex: 1 1 64%;
    min-width: 0;
    overflow: hidden;
    padding: clamp(30px, 5vw, 66px);
}

.shop-hero__content:before {
    content: "";
    position: absolute;
    right: -90px;
    top: -120px;
    width: 320px;
    height: 320px;
    border-radius: 999px;
    background: rgba(37, 99, 235, .10);
}

.shop-hero__content:after {
    content: "";
    position: absolute;
    right: 70px;
    bottom: -90px;
    width: 220px;
    height: 220px;
    border-radius: 999px;
    background: rgba(22, 163, 74, .12);
}

.shop-hero__panel {
    flex: 1 1 360px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    padding: 22px;
}

.shop-hero__badge,
.shop-badge,
.shop-section__eyebrow,
.shop-age-gate__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 7px 12px;
    border-radius: 999px;
    background: #eef4ff;
    color: var(--shop-primary-dark);
    font-weight: 950;
    font-size: 13px;
}

.shop-hero__title {
    position: relative;
    margin: 18px 0 14px;
    max-width: 820px;
    font-size: clamp(34px, 5vw, 66px);
    line-height: .98;
    letter-spacing: -.06em;
}

.shop-hero__text {
    position: relative;
    max-width: 720px;
    margin: 0;
    color: var(--shop-muted);
    font-size: clamp(17px, 2vw, 21px);
}

.shop-hero__actions {
    position: relative;
    gap: 12px;
    margin-top: 22px;
}

.shop-hero-search {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 780px;
    margin-top: 26px;
    padding: 8px;
    border: 1px solid var(--shop-line);
    border-radius: 999px;
    background: #fff;
    box-shadow: var(--shop-shadow-soft);
}

.shop-hero-search__input {
    flex: 1 1 300px;
    min-width: 0;
    border: 0;
    outline: 0;
    padding: 0 16px;
    background: transparent;
}

.shop-hero-card {
    padding: 18px;
    border-radius: 22px;
    background: var(--shop-surface-soft);
}

.shop-hero-card__icon {
    display: inline-flex;
    margin-bottom: 16px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #111827;
    color: #fff;
    font-weight: 950;
    font-size: 12px;
}

.shop-hero-card strong {
    display: block;
    margin-bottom: 6px;
    font-size: 18px;
}

.shop-hero-card p,
.shop-stat__label,
.shop-section__text,
.shop-muted,
.shop-product-card__props,
.shop-product__lead,
.shop-catalog-hero p,
.shop-catalog-sidebar p,
.shop-split-card p,
.shop-benefit p,
.shop-footer p,
.shop-summary p {
    color: var(--shop-muted);
}

.shop-stat-row {
    gap: 12px;
}

.shop-stat {
    flex: 1 1 140px;
    min-width: 0;
    padding: 16px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--shop-line);
}

.shop-stat__value,
.shop-stat__label {
    display: block;
}

.shop-stat__value {
    font-size: 28px;
    line-height: 1;
    font-weight: 950;
    letter-spacing: -.04em;
}

.shop-section {
    margin-top: 34px;
}

.shop-section--tight {
    margin-top: 22px;
}

.shop-section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 18px;
}

.shop-section__title,
.shop-catalog-hero h1,
.shop-split-card h2 {
    margin: 8px 0 0;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.08;
    letter-spacing: -.04em;
}

.shop-section__text {
    max-width: 760px;
    margin: 8px 0 0;
}

.shop-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.shop-benefit {
    flex: 1 1 240px;
    min-width: 0;
    padding: 22px;
    border: 1px solid var(--shop-line);
    border-radius: var(--shop-radius);
    background: #fff;
    box-shadow: var(--shop-shadow-soft);
}

.shop-benefit__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 14px;
    border-radius: 14px;
    background: #eef4ff;
    color: var(--shop-primary-dark);
    font-weight: 950;
}

.shop-benefit h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.shop-benefit p {
    margin: 0;
}

.shop-category-list,
.shop-products {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.shop-category-tile {
    position: relative;
    overflow: hidden;
    flex: 1 1 245px;
    min-width: 0;
    min-height: 150px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 18px;
    border: 1px solid var(--shop-line);
    border-radius: var(--shop-radius);
    background: #fff;
    box-shadow: var(--shop-shadow-soft);
    transition: transform .18s ease, box-shadow .18s ease;
}

.shop-category-list--small .shop-category-tile {
    flex-basis: 220px;
}

.shop-category-tile:hover,
.shop-product-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shop-shadow);
}

.shop-category-tile__content {
    align-self: flex-end;
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width: 62%;
}

.shop-category-tile__content strong {
    font-size: 19px;
    line-height: 1.18;
}

.shop-category-tile__content span {
    color: var(--shop-muted);
    font-weight: 800;
    font-size: 14px;
}

.shop-category-tile__media {
    align-self: center;
    flex: 0 0 116px;
    width: 116px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: var(--shop-surface-soft);
    overflow: hidden;
}

.shop-category-tile__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
}

.shop-products {
    align-items: stretch;
}

.shop-product-card {
    flex: 1 1 270px;
    min-width: 0;
    max-width: calc(25% - 14px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--shop-line);
    border-radius: var(--shop-radius);
    background: #fff;
    box-shadow: var(--shop-shadow-soft);
    transition: transform .18s ease, box-shadow .18s ease;
}

.shop-products--compact .shop-product-card {
    max-width: calc(25% - 14px);
}

.shop-product-card__image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 236px;
    padding: 20px;
    background: linear-gradient(180deg, #f8fafc, #eef3f7);
}

.shop-product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .18s ease;
}

.shop-product-card:hover .shop-product-card__image img {
    transform: scale(1.035);
}

.shop-product-card__label,
.shop-product__label {
    position: absolute;
    left: 14px;
    top: 14px;
    z-index: 2;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--shop-danger);
    color: #fff;
    font-weight: 950;
    font-size: 12px;
}

.shop-product-card__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
}

.shop-product-card__topline {
    justify-content: space-between;
    gap: 8px;
}

.shop-product-card__meta {
    color: var(--shop-primary-dark);
    font-weight: 900;
    font-size: 13px;
}

.shop-product-card__stock {
    color: #166534;
    font-weight: 900;
    font-size: 12px;
}

.shop-product-card__stock--muted {
    color: var(--shop-muted);
}

.shop-product-card__title {
    margin: 0;
    min-height: 48px;
    font-size: 17px;
    line-height: 1.35;
}

.shop-product-card__title a:hover {
    color: var(--shop-primary-dark);
}

.shop-product-card__props {
    min-height: 22px;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 13px;
}

.shop-product-card__props span {
    display: inline-flex;
    padding: 3px 8px;
    border-radius: 999px;
    background: var(--shop-surface-soft);
}

.shop-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: auto;
}

.shop-price__current {
    font-size: 23px;
    line-height: 1;
    font-weight: 950;
    letter-spacing: -.04em;
}

.shop-price__old {
    color: var(--shop-muted);
    text-decoration: line-through;
    font-weight: 800;
}

.shop-price--product .shop-price__current {
    font-size: clamp(34px, 4vw, 48px);
}

.shop-product-card__actions {
    gap: 10px;
    margin-top: 6px;
}

.shop-quantity {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    height: 40px;
    border: 1px solid var(--shop-line);
    border-radius: 999px;
    overflow: hidden;
    background: #fff;
}

.shop-quantity button {
    width: 34px;
    height: 38px;
    border: 0;
    background: #fff;
    color: var(--shop-text);
    font-weight: 950;
}

.shop-quantity input {
    width: 42px;
    height: 38px;
    border: 0;
    outline: 0;
    text-align: center;
    font-weight: 900;
}

.shop-quantity--large {
    height: 48px;
}

.shop-quantity--large button,
.shop-quantity--large input {
    height: 46px;
}

.shop-quantity--large input {
    width: 56px;
}

.shop-brand-strip {
    justify-content: center;
    gap: 10px;
    padding: 18px;
    border-radius: var(--shop-radius);
    background: #fff;
    box-shadow: var(--shop-shadow-soft);
}

.shop-brand-strip a {
    padding: 9px 13px;
    border: 1px solid var(--shop-line);
    border-radius: 999px;
    color: var(--shop-muted);
    font-weight: 900;
}

.shop-split-card {
    display: flex;
    align-items: stretch;
    gap: 22px;
    padding: 24px;
}

.shop-split-card__content,
.shop-split-card__aside {
    flex: 1 1 0;
    min-width: 0;
}

.shop-split-card__aside {
    padding: 22px;
    border-radius: 22px;
    background: #0f172a;
    color: #fff;
}

.shop-split-card__aside p {
    color: #dbe8ff;
}

.shop-steps {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
}

.shop-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.shop-step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: #eef4ff;
    color: var(--shop-primary-dark);
    font-weight: 950;
}

.shop-step p {
    margin: 4px 0 0;
}

.shop-catalog-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
    padding: clamp(24px, 4vw, 42px);
}

.shop-catalog-layout {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.shop-catalog-sidebar {
    position: sticky;
    top: 140px;
    flex: 0 0 285px;
    padding: 18px;
}

.shop-catalog-sidebar h2 {
    margin: 0 0 10px;
}

.shop-catalog-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.shop-catalog-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 12px;
    border-radius: 14px;
    background: var(--shop-surface-soft);
    color: var(--shop-text);
    font-weight: 850;
}

.shop-catalog-nav em {
    flex: 0 0 auto;
    font-style: normal;
    color: var(--shop-muted);
    font-size: 13px;
}

.shop-catalog-content {
    flex: 1 1 auto;
    min-width: 0;
}

.shop-filter {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 14px;
    padding: 16px;
    border: 1px solid var(--shop-line);
    border-radius: var(--shop-radius);
    background: #fff;
    box-shadow: var(--shop-shadow-soft);
}

.shop-field {
    flex: 1 1 170px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.shop-field--wide {
    flex-basis: 300px;
}

.shop-field label,
.shop-check {
    color: var(--shop-muted);
    font-weight: 900;
    font-size: 14px;
}

.shop-input,
.shop-select,
.shop-textarea {
    width: 100%;
    border: 1px solid var(--shop-line);
    border-radius: 14px;
    background: #fff;
    color: var(--shop-text);
    outline: 0;
}

.shop-input,
.shop-select {
    height: 46px;
    padding: 0 13px;
}

.shop-textarea {
    min-height: 120px;
    resize: vertical;
    padding: 12px 13px;
}

.shop-input:focus,
.shop-select:focus,
.shop-textarea:focus {
    border-color: rgba(37, 99, 235, .48);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .10);
}

.shop-catalog-resultbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
    color: var(--shop-muted);
    font-weight: 900;
}

.shop-catalog-resultbar a {
    color: var(--shop-primary-dark);
}

.shop-panel {
    flex: 1 1 100%;
    padding: 26px;
    border: 1px solid var(--shop-line);
    border-radius: var(--shop-radius);
    background: #fff;
}

.shop-pagination {
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.shop-pagination a,
.shop-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid var(--shop-line);
    background: #fff;
    font-weight: 900;
}

.shop-pagination .is-active,
.shop-pagination span[aria-current="page"] {
    background: var(--shop-primary);
    color: #fff;
    border-color: var(--shop-primary);
}

.shop-product {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.shop-product__gallery,
.shop-product__summary {
    flex: 1 1 0;
    min-width: 0;
}

.shop-product__gallery {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.shop-product__main-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 520px;
    padding: 28px;
    border: 1px solid var(--shop-line);
    border-radius: calc(var(--shop-radius) + 8px);
    background: #fff;
    box-shadow: var(--shop-shadow);
}

.shop-product__main-image img {
    width: 100%;
    max-height: 480px;
    object-fit: contain;
}

.shop-product__thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.shop-product__thumb {
    width: 88px;
    height: 88px;
    padding: 8px;
    border: 1px solid var(--shop-line);
    border-radius: 16px;
    background: #fff;
}

.shop-product__thumb.is-active,
.shop-product__thumb:hover {
    border-color: var(--shop-primary);
}

.shop-product__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.shop-product__summary {
    padding: clamp(22px, 4vw, 36px);
    border: 1px solid var(--shop-line);
    border-radius: calc(var(--shop-radius) + 8px);
    background: #fff;
    box-shadow: var(--shop-shadow);
}

.shop-product__title {
    margin: 14px 0;
    font-size: clamp(32px, 4vw, 50px);
    line-height: 1.05;
    letter-spacing: -.05em;
}

.shop-product__meta {
    gap: 8px;
    margin-bottom: 18px;
}

.shop-product__meta span {
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--shop-surface-soft);
    color: var(--shop-muted);
    font-weight: 900;
    font-size: 13px;
}

.shop-product__lead {
    font-size: 17px;
}

.shop-product-buy {
    gap: 12px;
    margin-top: 22px;
}

.shop-product-service {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.shop-product-service div {
    flex: 1 1 140px;
    min-width: 0;
    padding: 13px;
    border-radius: 16px;
    background: var(--shop-surface-soft);
}

.shop-product-service strong,
.shop-product-service span {
    display: block;
}

.shop-product-service span {
    color: var(--shop-muted);
    font-size: 13px;
}

.shop-text-card,
.shop-page-card {
    padding: clamp(22px, 4vw, 36px);
}

.shop-text-card h2:first-child,
.shop-page-card h1:first-child {
    margin-top: 0;
}

.shop-text-card--plain {
    margin-top: 18px;
    box-shadow: none;
    border-radius: 18px;
}

.shop-page-card--center {
    text-align: center;
}

.shop-cart-layout,
.shop-checkout {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.shop-cart-form,
.shop-checkout__form {
    flex: 1 1 auto;
    min-width: 0;
    padding: 18px;
}

.shop-cart-summary,
.shop-checkout__summary {
    position: sticky;
    top: 140px;
    flex: 0 0 350px;
    padding: 22px;
}

.shop-cart-summary h2 {
    margin: 8px 0 10px;
    font-size: 36px;
    letter-spacing: -.04em;
}

.shop-cart-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--shop-line);
}

.shop-cart-row:first-child {
    padding-top: 0;
}

.shop-cart-row__image {
    flex: 0 0 92px;
    width: 92px;
    height: 92px;
    object-fit: contain;
    padding: 8px;
    border-radius: 16px;
    background: var(--shop-surface-soft);
}

.shop-cart-row__info {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.shop-cart-row__controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
}

.shop-link-button {
    border: 0;
    background: transparent;
    color: var(--shop-danger);
    font-weight: 900;
}

.shop-form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.shop-form-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.shop-check {
    display: flex;
    align-items: flex-start;
    gap: 9px;
}

.shop-summary h2,
.shop-summary h3 {
    margin-top: 8px;
}

.shop-footer {
    padding: 46px 0 26px;
    background: #0f172a;
    color: #e5edff;
}

.shop-footer__inner {
    align-items: flex-start;
    gap: 28px;
}

.shop-footer__col {
    flex: 1 1 210px;
    min-width: 0;
}

.shop-footer__col--main {
    flex-basis: 360px;
}

.shop-footer__col h3 {
    margin: 0 0 12px;
}

.shop-footer__links {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
}

.shop-footer a {
    color: #fff;
    font-weight: 800;
}

.shop-footer p {
    color: #b8c5dc;
}

.shop-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .14);
    color: #b8c5dc;
}

.shop-age-gate {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15, 23, 42, .76);
    backdrop-filter: blur(12px);
}

.shop-age-gate[hidden] {
    display: none;
}

.shop-age-gate__box {
    width: min(560px, 100%);
    padding: 28px;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 24px 90px rgba(0, 0, 0, .32);
}

.shop-age-gate__badge {
    background: #fee2e2;
    color: #991b1b;
}

.shop-age-gate__actions {
    gap: 12px;
    margin-top: 18px;
}

.shop-toast {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 120;
    max-width: min(380px, calc(100% - 40px));
    padding: 14px 18px;
    border-radius: 16px;
    background: #111827;
    color: #fff;
    font-weight: 900;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .24);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .2s ease, transform .2s ease;
}

.shop-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Admin */
.shop-admin-body {
    background: #eef2f7;
}

.shop-admin-layout {
    min-height: 100vh;
    display: flex;
}

.shop-admin-sidebar {
    position: sticky;
    top: 0;
    align-self: flex-start;
    width: 280px;
    max-height: 100vh;
    overflow-y: auto;
    padding: 20px;
    background: #0f172a;
    color: #fff;
}

.shop-admin-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    font-weight: 950;
    font-size: 22px;
}

.shop-admin-nav {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
}

.shop-admin-nav a,
.shop-admin-nav button {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 12px 14px;
    border: 0;
    border-radius: 14px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    text-align: left;
    font-weight: 850;
}

.shop-admin-nav a.is-active,
.shop-admin-nav a:hover,
.shop-admin-nav button:hover {
    background: #2563eb;
}

.shop-admin-main {
    flex: 1 1 auto;
    min-width: 0;
    padding: 26px;
}

.shop-admin-card,
.shop-admin-table-wrap {
    padding: 20px;
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shop-shadow-soft);
}

.shop-admin-table-wrap {
    overflow-x: auto;
}

.shop-admin-table {
    width: 100%;
    border-collapse: collapse;
}

.shop-admin-table th,
.shop-admin-table td {
    padding: 12px;
    border-bottom: 1px solid var(--shop-line);
    text-align: left;
    vertical-align: top;
}

.shop-admin-table th {
    color: var(--shop-muted);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.shop-admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

@media (max-width: 1200px) {
    .shop-product-card {
        max-width: calc(33.333% - 12px);
    }

    .shop-products--compact .shop-product-card {
        max-width: calc(33.333% - 12px);
    }
}

@media (max-width: 1024px) {
    .shop-header-search {
        order: 3;
        flex-basis: 100%;
    }

    .shop-hero,
    .shop-product,
    .shop-cart-layout,
    .shop-checkout,
    .shop-split-card,
    .shop-catalog-layout {
        flex-direction: column;
    }

    .shop-catalog-sidebar,
    .shop-cart-summary,
    .shop-checkout__summary {
        position: static;
        flex-basis: auto;
        width: 100%;
    }

    .shop-product-card,
    .shop-products--compact .shop-product-card {
        max-width: calc(50% - 9px);
    }

    .shop-admin-sidebar {
        width: 236px;
    }
}

@media (max-width: 768px) {
    .shop-shell {
        width: min(100% - 22px, 1440px);
    }

    .shop-topbar__inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }

    .shop-header__inner {
        gap: 10px;
    }

    .shop-logo__text {
        font-size: 20px;
    }

    .shop-burger {
        display: inline-flex;
        margin-left: auto;
    }

    .shop-header__actions {
        flex: 0 0 auto;
    }

    .shop-cart-link__text {
        display: none;
    }

    .shop-header-menu {
        display: none;
    }

    .shop-header-menu.is-open {
        display: block;
    }

    .shop-header-menu__inner {
        align-items: stretch;
        flex-direction: column;
        max-height: 70vh;
        overflow-y: auto;
        padding-bottom: 14px;
    }

    .shop-header-menu__inner a {
        width: 100%;
    }

    .shop-hero__content,
    .shop-hero__panel,
    .shop-catalog-hero,
    .shop-page-card,
    .shop-text-card,
    .shop-form-card,
    .shop-summary,
    .shop-split-card,
    .shop-catalog-sidebar,
    .shop-product__summary,
    .shop-product__main-image {
        border-radius: 22px;
    }

    .shop-hero-search {
        border-radius: 22px;
    }

    .shop-hero-search__input,
    .shop-hero-search .shop-btn {
        flex-basis: 100%;
        width: 100%;
    }

    .shop-product-card,
    .shop-products--compact .shop-product-card {
        max-width: none;
        flex-basis: 100%;
    }

    .shop-product-card {
        flex-direction: row;
    }

    .shop-product-card__image {
        flex: 0 0 38%;
        height: auto;
        min-height: 210px;
    }

    .shop-category-tile,
    .shop-benefit {
        flex-basis: 100%;
    }

    .shop-product__main-image {
        min-height: 360px;
    }

    .shop-cart-row {
        align-items: flex-start;
    }

    .shop-cart-row__controls {
        justify-content: flex-start;
        flex-basis: 100%;
        padding-left: 106px;
    }

    .shop-footer__inner,
    .shop-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .shop-admin-layout {
        flex-direction: column;
    }

    .shop-admin-sidebar {
        position: static;
        width: 100%;
        max-height: none;
    }

    .shop-admin-main {
        padding: 16px;
    }
}

@media (max-width: 560px) {
    .shop-main {
        padding-top: 18px;
    }

    .shop-logo__mark {
        width: 40px;
        height: 40px;
    }

    .shop-header-search {
        min-width: 100%;
    }

    .shop-hero__content,
    .shop-hero__panel,
    .shop-catalog-hero,
    .shop-page-card,
    .shop-text-card,
    .shop-form-card,
    .shop-summary,
    .shop-split-card,
    .shop-catalog-sidebar,
    .shop-product__summary {
        padding: 18px;
    }

    .shop-hero__title,
    .shop-product__title {
        font-size: 34px;
    }

    .shop-product-card {
        flex-direction: column;
    }

    .shop-product-card__image {
        flex-basis: auto;
        min-height: 230px;
    }

    .shop-product-card__actions,
    .shop-product-buy,
    .shop-form-actions,
    .shop-cart-form__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .shop-product-card__actions .shop-btn,
    .shop-product-buy .shop-btn,
    .shop-form-actions .shop-btn,
    .shop-cart-form__actions .shop-btn {
        width: 100%;
    }

    .shop-quantity {
        justify-content: space-between;
        width: 100%;
    }

    .shop-quantity input {
        flex: 1 1 auto;
    }

    .shop-cart-row {
        flex-wrap: wrap;
    }

    .shop-cart-row__image {
        flex-basis: 82px;
        width: 82px;
        height: 82px;
    }

    .shop-cart-row__controls {
        padding-left: 0;
    }

    .shop-age-gate__actions {
        align-items: stretch;
        flex-direction: column;
    }
}

/* === seo_store_polish_seo_conversion: главная, конверсия, SEO UI === */
.shop-category-list--home {
    align-items: stretch;
}

.shop-category-tile--vertical,
.shop-category-list--home .shop-category-tile {
    flex: 1 1 240px;
    min-height: 0;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    padding: 0;
    border-radius: 24px;
    overflow: hidden;
}

.shop-category-tile--vertical .shop-category-tile__media,
.shop-category-list--home .shop-category-tile__media {
    align-self: stretch;
    flex: 0 0 auto;
    width: 100%;
    height: 172px;
    border-radius: 0;
    background: linear-gradient(180deg, #f8fafc, #eef4ff);
}

.shop-category-tile--vertical .shop-category-tile__media img,
.shop-category-list--home .shop-category-tile__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 22px;
}

.shop-category-tile--vertical .shop-category-tile__content,
.shop-category-list--home .shop-category-tile__content {
    align-self: stretch;
    max-width: none;
    padding: 18px;
    background: #fff;
}

.shop-category-tile--vertical .shop-category-tile__content strong,
.shop-category-list--home .shop-category-tile__content strong {
    display: block;
    min-height: 46px;
}

.shop-quantity input {
    appearance: textfield;
    -moz-appearance: textfield;
}

.shop-quantity input::-webkit-outer-spin-button,
.shop-quantity input::-webkit-inner-spin-button,
.shop-input[type="number"]::-webkit-outer-spin-button,
.shop-input[type="number"]::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.shop-input[type="number"] {
    appearance: textfield;
    -moz-appearance: textfield;
}

.shop-brand-panel {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 22px;
    border: 1px solid var(--shop-line);
    border-radius: calc(var(--shop-radius) + 6px);
    background: #fff;
    box-shadow: var(--shop-shadow-soft);
}

.shop-brand-panel__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
}

.shop-brand-panel__head h2 {
    margin: 8px 0 0;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.1;
    letter-spacing: -.04em;
}

.shop-home-products {
    position: relative;
}

.shop-products--home .shop-product-card {
    flex-basis: 260px;
}

.shop-product-card__quick {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    margin-top: -2px;
    border: 0;
    border-radius: 999px;
    background: #eef4ff;
    color: var(--shop-primary-dark);
    font-weight: 900;
    cursor: pointer;
    transition: background .18s ease, transform .18s ease;
}

.shop-product-card__quick:hover {
    background: #dbeafe;
    transform: translateY(-1px);
}

.shop-split-card--conversion {
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff, #f6f9ff);
}

.shop-seo-text h2 {
    margin-top: 0;
}

.shop-seo-text p {
    max-width: 980px;
}

.shop-floating-cart {
    position: fixed;
    right: max(18px, calc((100vw - 1240px) / 2 + 18px));
    bottom: 18px;
    z-index: 45;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border: 1px solid rgba(219, 227, 239, .92);
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    box-shadow: var(--shop-shadow);
    backdrop-filter: blur(14px);
}

.shop-floating-cart__summary,
.shop-floating-cart__checkout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 999px;
    font-weight: 950;
}

.shop-floating-cart__summary {
    gap: 10px;
    padding: 8px 14px;
    color: var(--shop-text);
}

.shop-floating-cart__count {
    padding: 6px 10px;
    border-radius: 999px;
    background: #eef4ff;
    color: var(--shop-primary-dark);
}

.shop-floating-cart__checkout {
    padding: 8px 16px;
    background: var(--shop-primary);
    color: #fff;
}

.shop-modal[hidden],
.shop-floating-cart[hidden] {
    display: none;
}

.is-modal-open {
    overflow: hidden;
}

.shop-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.shop-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .58);
    backdrop-filter: blur(10px);
}

.shop-modal__box {
    position: relative;
    z-index: 1;
    width: min(520px, 100%);
    max-height: calc(100vh - 40px);
    overflow: auto;
    padding: 28px;
    border: 1px solid rgba(219, 227, 239, .9);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 34px 90px rgba(15, 23, 42, .28);
}

.shop-modal__box h2 {
    margin: 12px 42px 8px 0;
    font-size: clamp(24px, 4vw, 34px);
    line-height: 1.08;
    letter-spacing: -.04em;
}

.shop-modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--shop-line);
    border-radius: 999px;
    background: #fff;
    color: var(--shop-text);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.shop-quick-order-product {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 16px 0;
    padding: 12px;
    border-radius: 18px;
    background: var(--shop-surface-soft);
}

.shop-quick-order-product img {
    width: 74px;
    height: 74px;
    object-fit: contain;
    border-radius: 14px;
    background: #fff;
}

.shop-quick-order-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.shop-agreement {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: var(--shop-muted);
    font-size: 14px;
}

.shop-admin-card--settings {
    flex: 1 1 460px;
}

.shop-form-row--compact {
    align-items: stretch;
    padding: 14px 0;
    border-bottom: 1px solid var(--shop-line);
}

.shop-form-row--compact:last-child {
    border-bottom: 0;
}

@media (max-width: 1024px) {
    .shop-products--home .shop-product-card {
        max-width: calc(50% - 10px);
    }
}

@media (max-width: 767px) {
    .shop-category-tile--vertical .shop-category-tile__media,
    .shop-category-list--home .shop-category-tile__media {
        height: 156px;
    }

    .shop-products--home .shop-product-card {
        max-width: none;
    }

    .shop-floating-cart {
        left: 12px;
        right: 12px;
        bottom: 12px;
        justify-content: space-between;
        border-radius: 22px;
    }

    .shop-floating-cart__summary {
        flex: 1 1 auto;
        justify-content: flex-start;
    }

    .shop-floating-cart__checkout {
        flex: 0 0 auto;
    }

    .shop-modal {
        align-items: flex-end;
        padding: 12px;
    }

    .shop-modal__box {
        padding: 22px;
        border-radius: 24px;
    }
}

.shop-category-list--small .shop-category-tile {
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    padding: 0;
    min-height: 0;
}

.shop-category-list--small .shop-category-tile__media {
    align-self: stretch;
    flex: 0 0 auto;
    width: 100%;
    height: 150px;
    border-radius: 0;
}

.shop-category-list--small .shop-category-tile__content {
    align-self: stretch;
    max-width: none;
    padding: 16px;
}

/* === seo_store_telegram_mobile_polish: формы, мобильные карточки, Telegram settings === */
.shop-modal .shop-field,
.shop-quick-order-form .shop-field,
.shop-form-card > .shop-field {
    flex: 0 1 auto;
}

.shop-quick-order-form {
    gap: 10px;
}

.shop-modal .shop-field {
    gap: 5px;
}

.shop-modal .shop-input {
    height: 44px;
}

.shop-modal .shop-textarea {
    min-height: 92px;
}

.shop-modal .shop-agreement {
    margin-top: 2px;
}

.shop-admin-card--settings .shop-badge input {
    flex: 0 0 auto;
}

@media (max-width: 768px) {
    .shop-product-card__image,
    .shop-products--compact .shop-product-card__image,
    .shop-products--home .shop-product-card__image {
        height: 220px;
        min-height: 0;
        max-height: 220px;
        padding: 14px;
    }
}

@media (max-width: 560px) {
    .shop-product-card__image,
    .shop-products--compact .shop-product-card__image,
    .shop-products--home .shop-product-card__image {
        flex-basis: auto;
        height: 220px;
        min-height: 0;
        max-height: 220px;
    }

    .shop-modal__box {
        max-height: calc(100vh - 24px);
    }
}

/* === seo_store_admin_checkout_category_sort: минимальный заказ и новая пагинация === */
.shop-min-order {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin: 16px 0;
    padding: 14px;
    border: 1px solid rgba(245, 158, 11, .34);
    border-radius: 18px;
    background: #fffbeb;
    color: #92400e;
}

.shop-min-order.is-complete {
    border-color: rgba(22, 163, 74, .34);
    background: #ecfdf3;
    color: #166534;
}

.shop-min-order__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.shop-min-order__head strong {
    color: inherit;
    font-weight: 950;
}

.shop-min-order__head span,
.shop-min-order p {
    margin: 0;
    color: inherit;
    font-size: 13px;
    font-weight: 750;
}

.shop-min-order__bar {
    width: 100%;
    height: 9px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(146, 64, 14, .16);
}

.shop-min-order.is-complete .shop-min-order__bar {
    background: rgba(22, 101, 52, .14);
}

.shop-min-order__bar span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: currentColor;
    transition: width .22s ease;
}

.shop-summary__notice {
    margin: 12px 0;
    padding: 12px 14px;
    border-radius: 16px;
    background: #fffbeb;
    color: #92400e;
    font-size: 14px;
    font-weight: 800;
}

.shop-summary__notice--success {
    background: #ecfdf3;
    color: #166534;
}

.shop-pager {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
    padding: 14px;
    border: 1px solid var(--shop-line);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: var(--shop-shadow-soft);
}

.shop-pager__meta {
    color: var(--shop-muted);
    font-size: 14px;
    font-weight: 900;
}

.shop-pager__list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.shop-pager__button,
.shop-pager__dots {
    min-width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 13px;
    border: 1px solid var(--shop-line);
    border-radius: 999px;
    background: #ffffff;
    color: var(--shop-text);
    font-weight: 950;
    line-height: 1;
    text-decoration: none;
    transition: border-color .18s ease, background-color .18s ease, color .18s ease, transform .18s ease;
}

.shop-pager__button:hover {
    border-color: rgba(37, 99, 235, .36);
    background: #eef4ff;
    color: var(--shop-primary-dark);
    transform: translateY(-1px);
}

.shop-pager__button.is-active {
    border-color: var(--shop-primary);
    background: var(--shop-primary);
    color: #ffffff;
}

.shop-pager__button.is-disabled,
.shop-pager__dots {
    opacity: .48;
    pointer-events: none;
}

.shop-pager__button--arrow {
    min-width: 46px;
}

@media (max-width: 640px) {
    .shop-pager {
        align-items: stretch;
        flex-direction: column;
    }

    .shop-pager__list {
        justify-content: center;
    }

    .shop-pager__button,
    .shop-pager__dots {
        min-width: 38px;
        height: 38px;
        padding: 0 11px;
        font-size: 13px;
    }
}
