@font-face {
    font-family: "Montserrat";
    src: url("/static/fonts/Montserrat-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat";
    src: url("/static/fonts/Montserrat-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "DejaVu Sans";
    src: url("/static/fonts/DejaVuSans.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg: #f5f1e7;
    --bg-soft: #fbfaf6;
    --surface: #ffffff;
    --surface-alt: #f1ece1;
    --surface-strong: #203245;
    --text: #17212d;
    --muted: #687586;
    --line: #e5ddd0;
    --accent: #d65f2d;
    --accent-dark: #ad461d;
    --accent-soft: #fff0e7;
    --success: #26744f;
    --danger: #b54837;
    --warning: #a36a19;
    --shadow-sm: 0 8px 24px rgba(23, 33, 45, 0.06);
    --shadow-md: 0 18px 44px rgba(23, 33, 45, 0.1);
    --shadow-lg: 0 30px 70px rgba(23, 33, 45, 0.14);
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 26px;
    --radius-xl: 36px;
    --container: 1240px;
    --header-height: 82px;
    --nav-height: 58px;
    --transition: 0.24s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "DejaVu Sans", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(214, 95, 45, 0.08), transparent 28%),
        radial-gradient(circle at right 20%, rgba(32, 50, 69, 0.08), transparent 30%),
        var(--bg);
    min-height: 100vh;
}

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

img {
    max-width: 100%;
    display: block;
}

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

button {
    cursor: pointer;
}

.site-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-main {
    flex: 1;
}

.container {
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;
}

.section {
    padding: 32px 0;
}

.section-lg {
    padding: 52px 0;
}

.surface-card,
.utility-card,
.support-card,
.feature-card,
.category-card,
.product-card,
.catalog-sidebar,
.catalog-toolbar,
.product-gallery-card,
.product-summary,
.spec-card,
.review-card,
.checkout-panel,
.summary-panel,
.faq-item,
.stat-card,
.empty-state {
    background: var(--surface);
    border: 1px solid rgba(23, 33, 45, 0.06);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.muted {
    color: var(--muted);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 18px;
    margin-bottom: 24px;
}

.section-heading h2,
.page-hero h1,
.page-header h1,
.product-title,
.checkout-title,
.utility-card h1 {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    letter-spacing: -0.03em;
}

.section-heading h2 {
    font-size: clamp(28px, 4vw, 40px);
}

.section-heading p,
.page-hero p,
.page-header p {
    margin: 0;
    max-width: 760px;
    color: var(--muted);
}

.button,
.button-secondary,
.button-link,
.button-ghost,
.button-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 20px;
    border: 0;
    border-radius: 999px;
    transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
    font-weight: 700;
}

.button {
    color: #fff;
    background: linear-gradient(135deg, var(--accent) 0%, #ee8a4d 100%);
    box-shadow: 0 14px 30px rgba(214, 95, 45, 0.24);
}

.button:hover,
.button:focus-visible {
    transform: translateY(-1px);
    background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%);
}

.button-secondary {
    background: var(--surface-strong);
    color: #fff;
}

.button-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--line);
}

.button-outline:hover,
.button-ghost:hover {
    border-color: rgba(23, 33, 45, 0.16);
    background: rgba(23, 33, 45, 0.04);
}

.button-ghost {
    background: rgba(23, 33, 45, 0.04);
    color: var(--text);
    border: 1px solid transparent;
}

.button-link {
    min-height: auto;
    padding: 0;
    color: var(--accent);
    background: transparent;
}

.chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(23, 33, 45, 0.04);
    border: 1px solid transparent;
    border-radius: 999px;
    color: var(--text);
    font-size: 14px;
    transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.chip:hover,
.chip.is-active {
    background: var(--accent-soft);
    border-color: rgba(214, 95, 45, 0.16);
    color: var(--accent-dark);
}

.topbar {
    background: var(--surface-strong);
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.topbar-inner {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.topbar-list {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.topbar-list span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(251, 250, 246, 0.94);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(23, 33, 45, 0.06);
}

.site-header-main {
    min-height: var(--header-height);
    display: grid;
    grid-template-columns: auto minmax(320px, 1fr) auto;
    align-items: center;
    gap: 18px;
}

.brand {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: "Montserrat", sans-serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.brand-mark strong {
    color: var(--accent);
}

.brand-subtitle {
    color: var(--muted);
    font-size: 13px;
}

.header-search {
    position: relative;
}

.header-search-form {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 999px;
    box-shadow: var(--shadow-sm);
}

.header-search-form i {
    color: var(--muted);
}

.header-search-form input {
    width: 100%;
    border: 0;
    background: transparent;
    color: var(--text);
    outline: none;
}

.header-search-results {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    padding: 10px;
    border-radius: 24px;
    background: var(--surface);
    border: 1px solid rgba(23, 33, 45, 0.06);
    box-shadow: var(--shadow-md);
}

.header-search-results.is-open {
    display: block;
}

.search-result-item {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 12px;
    border-radius: 18px;
    transition: background var(--transition);
}

.search-result-item:hover {
    background: rgba(23, 33, 45, 0.04);
}

.search-result-item img,
.search-result-placeholder {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: var(--surface-alt);
    object-fit: cover;
}

.search-result-info {
    min-width: 0;
}

.search-result-info strong,
.search-result-info span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-result-info span {
    color: var(--muted);
    font-size: 13px;
}

.search-empty {
    padding: 14px 16px;
    color: var(--muted);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon-button {
    position: relative;
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    color: var(--text);
}

.icon-badge {
    position: absolute;
    top: -4px;
    right: -2px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.mobile-nav-toggle {
    display: none;
}

.site-nav {
    border-top: 1px solid rgba(23, 33, 45, 0.06);
}

.site-nav-inner {
    min-height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow-x: auto;
    scrollbar-width: none;
}

.nav-list::-webkit-scrollbar {
    display: none;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--text);
    font-weight: 700;
    font-size: 14px;
    transition: background var(--transition), color var(--transition);
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--accent-dark);
    background: var(--accent-soft);
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 260px;
    padding: 14px;
    border-radius: 22px;
    background: var(--surface);
    border: 1px solid rgba(23, 33, 45, 0.06);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
}

.nav-dropdown a {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 12px;
    border-radius: 14px;
    color: var(--text);
}

.nav-dropdown a:hover {
    background: rgba(23, 33, 45, 0.04);
}

.nav-dropdown span {
    color: var(--muted);
    font-size: 13px;
}

.mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: none;
    background: rgba(23, 33, 45, 0.28);
}

.mobile-nav.is-open {
    display: block;
}

.mobile-nav-panel {
    width: min(380px, 92vw);
    height: 100%;
    margin-left: auto;
    background: var(--surface);
    padding: 24px;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.mobile-nav-section {
    margin-bottom: 18px;
}

.mobile-nav-section h4 {
    margin: 0 0 12px;
    font-family: "Montserrat", sans-serif;
}

.mobile-nav-links {
    display: grid;
    gap: 10px;
}

.mobile-nav-links a {
    padding: 12px 14px;
    border-radius: 16px;
    background: var(--surface-alt);
}

.page-hero,
.page-header {
    padding: 28px 0 10px;
}

.page-hero-panel {
    padding: 28px;
    background: linear-gradient(135deg, rgba(32, 50, 69, 0.98), rgba(50, 75, 98, 0.94));
    color: #fff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.page-hero-panel::after {
    content: "";
    position: absolute;
    inset: auto -20% -35% auto;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(238, 138, 77, 0.26), transparent 70%);
}

.page-hero h1,
.page-header h1 {
    margin: 10px 0 10px;
    font-size: clamp(30px, 5vw, 52px);
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--muted);
    font-size: 14px;
}

.breadcrumbs a:hover {
    color: var(--accent-dark);
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 24px;
    align-items: stretch;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.hero-copy p {
    max-width: 680px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-search {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;
}

.hero-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    color: #fff;
    outline: none;
}

.hero-search input::placeholder {
    color: rgba(255, 255, 255, 0.66);
}

.hero-panel-grid {
    display: grid;
    gap: 14px;
}

.hero-side-card {
    min-height: 120px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
}

.hero-side-card strong {
    font-size: 20px;
}

.hero-side-card span {
    color: rgba(255, 255, 255, 0.78);
}

.stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 18px;
}

.stat-card {
    padding: 18px 20px;
}

.stat-card strong {
    display: block;
    font-size: 26px;
    font-family: "Montserrat", sans-serif;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.category-card {
    min-height: 180px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform var(--transition), box-shadow var(--transition);
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.category-card-icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 20px;
}

.category-card h3 {
    margin: 0;
    font-size: 21px;
    font-family: "Montserrat", sans-serif;
}

.category-card p {
    margin: 6px 0 0;
    color: var(--muted);
}

.category-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--accent-dark);
    font-weight: 700;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.feature-card {
    padding: 20px;
    display: flex;
    gap: 14px;
    align-items: start;
}

.feature-card i {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--accent-soft);
    color: var(--accent);
}

.feature-card strong {
    display: block;
    margin-bottom: 6px;
}

.shelf-grid,
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.product-card {
    position: relative;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform var(--transition), box-shadow var(--transition);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.product-card-media {
    position: relative;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(241, 236, 225, 0.65), rgba(255, 255, 255, 0.9));
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-card-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 14px;
}

.product-card-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.badge-sale {
    background: #fff0e7;
    color: var(--accent-dark);
}

.badge-stock {
    background: #eaf7ef;
    color: var(--success);
}

.badge-empty {
    background: #fbe9e5;
    color: var(--danger);
}

.product-card-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.card-mini-button {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--text);
    box-shadow: var(--shadow-sm);
}

.card-mini-button.is-active {
    color: var(--accent);
}

.product-card-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.product-card-category {
    color: var(--muted);
    font-size: 13px;
}

.product-card-title {
    margin: 0;
    font-size: 17px;
    line-height: 1.45;
    font-family: "Montserrat", sans-serif;
}

.product-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--muted);
    font-size: 13px;
}

.product-card-footer {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
}

.product-price {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.product-price strong {
    font-size: 24px;
    font-family: "Montserrat", sans-serif;
}

.product-price span {
    color: var(--muted);
    text-decoration: line-through;
}

.catalog-layout {
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.catalog-sidebar,
.catalog-toolbar,
.product-gallery-card,
.product-summary,
.spec-card,
.review-card,
.checkout-panel,
.summary-panel,
.utility-card,
.support-card,
.faq-item,
.empty-state {
    padding: 22px;
}

.catalog-sidebar {
    position: sticky;
    top: calc(var(--header-height) + var(--nav-height) + 24px);
}

.sidebar-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.sidebar-heading h3 {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
}

.facet-group {
    padding: 18px 0;
    border-top: 1px solid var(--line);
}

.facet-group:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.facet-group h4 {
    margin: 0 0 12px;
    font-size: 15px;
    font-family: "Montserrat", sans-serif;
}

.facet-options {
    display: grid;
    gap: 10px;
}

.facet-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--muted);
    font-size: 14px;
}

.facet-option label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.facet-option input {
    width: 16px;
    height: 16px;
}

.price-range {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.price-range input,
.form-field,
.form-select,
.form-textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text);
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.price-range input:focus,
.form-field:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: rgba(214, 95, 45, 0.4);
    box-shadow: 0 0 0 4px rgba(214, 95, 45, 0.08);
}

.catalog-main {
    display: grid;
    gap: 18px;
}

.catalog-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
}

.catalog-toolbar h1 {
    margin: 0 0 4px;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(26px, 4vw, 40px);
}

.catalog-toolbar p {
    margin: 0;
    color: var(--muted);
}

.catalog-toolbar-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.active-filters .chip {
    background: rgba(23, 33, 45, 0.06);
}

.empty-state {
    text-align: center;
}

.pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.pagination a,
.pagination span {
    min-width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--surface);
}

.pagination .is-current {
    background: var(--surface-strong);
    border-color: var(--surface-strong);
    color: #fff;
}

.product-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 480px);
    gap: 26px;
}

.product-gallery-stage {
    aspect-ratio: 1 / 1;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(241, 236, 225, 0.65), rgba(255, 255, 255, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-gallery-stage img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 18px;
}

.gallery-thumbs {
    margin-top: 14px;
    display: flex;
    gap: 10px;
    overflow-x: auto;
}

.gallery-thumb {
    width: 82px;
    height: 82px;
    border-radius: 18px;
    border: 2px solid transparent;
    background: var(--surface-alt);
    padding: 6px;
    flex: 0 0 auto;
}

.gallery-thumb.is-active {
    border-color: rgba(214, 95, 45, 0.4);
}

.product-summary {
    position: sticky;
    top: calc(var(--header-height) + var(--nav-height) + 24px);
    display: grid;
    gap: 18px;
}

.product-category-link {
    color: var(--accent-dark);
    font-size: 14px;
    font-weight: 700;
}

.product-title {
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.15;
}

.product-meta-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(23, 33, 45, 0.04);
    color: var(--muted);
    font-size: 14px;
}

.meta-pill.is-success {
    background: #eaf7ef;
    color: var(--success);
}

.meta-pill.is-warning {
    background: #fff3dd;
    color: var(--warning);
}

.product-pricing {
    display: flex;
    align-items: end;
    flex-wrap: wrap;
    gap: 12px;
}

.product-pricing strong {
    font-size: 42px;
    font-family: "Montserrat", sans-serif;
}

.product-pricing span {
    font-size: 20px;
    color: var(--muted);
    text-decoration: line-through;
}

.variant-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.variant-button {
    min-width: 54px;
    min-height: 48px;
    padding: 0 16px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text);
    font-weight: 700;
}

.variant-button.is-active,
.variant-button:hover {
    border-color: rgba(214, 95, 45, 0.4);
    background: var(--accent-soft);
    color: var(--accent-dark);
}

.buy-stack {
    display: grid;
    gap: 12px;
}

.buy-stack .button,
.buy-stack .button-secondary,
.buy-stack .button-outline {
    width: 100%;
}

.trust-grid,
.highlight-grid,
.support-grid {
    display: grid;
    gap: 16px;
}

.trust-grid,
.highlight-grid {
    grid-template-columns: repeat(2, 1fr);
}

.highlight-card {
    padding: 18px;
    border-radius: 20px;
    background: rgba(23, 33, 45, 0.04);
}

.detail-panels {
    display: grid;
    gap: 18px;
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.spec-card h3,
.review-card h3,
.support-card h3,
.summary-panel h3,
.checkout-panel h3 {
    margin: 0 0 16px;
    font-family: "Montserrat", sans-serif;
    font-size: 20px;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid var(--line);
}

.spec-row:first-child {
    border-top: 0;
    padding-top: 0;
}

.spec-row strong {
    max-width: 45%;
}

.review-item {
    padding: 16px 0;
    border-top: 1px solid var(--line);
}

.review-item:first-child {
    border-top: 0;
    padding-top: 0;
}

.review-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.review-stars {
    color: #f3a91f;
}

.review-form {
    display: grid;
    gap: 14px;
}

.review-form-grid,
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.field-group {
    display: grid;
    gap: 8px;
}

.field-group label {
    font-size: 14px;
    font-weight: 700;
}

.form-textarea {
    min-height: 130px;
    resize: vertical;
}

.checkout-layout,
.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
}

.cart-items,
.summary-items {
    display: grid;
    gap: 14px;
}

.cart-item,
.summary-item {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(23, 33, 45, 0.02);
}

.cart-thumb,
.summary-thumb {
    width: 96px;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    border-radius: 18px;
    overflow: hidden;
}

.summary-thumb {
    width: 68px;
    height: 68px;
}

.cart-title,
.summary-title {
    margin: 0 0 8px;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
}

.cart-meta,
.summary-meta {
    color: var(--muted);
    font-size: 13px;
}

.quantity-control {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 999px;
}

.quantity-control button {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: rgba(23, 33, 45, 0.04);
}

.summary-rows {
    display: grid;
    gap: 12px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: var(--muted);
}

.summary-row strong {
    color: var(--text);
}

.summary-total {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.summary-total strong {
    font-size: 26px;
    font-family: "Montserrat", sans-serif;
}

.inline-message {
    padding: 14px 16px;
    border-radius: 18px;
    background: #fff3dd;
    color: var(--warning);
}

.inline-message.is-error {
    background: #fbe9e5;
    color: var(--danger);
}

.utility-card h1 {
    margin: 12px 0;
    font-size: clamp(30px, 5vw, 46px);
}

.utility-card p {
    color: var(--muted);
}

.support-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.support-card {
    display: grid;
    gap: 12px;
}

.support-card i {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: var(--accent-soft);
    color: var(--accent);
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-item strong {
    display: block;
    margin-bottom: 8px;
}

.site-footer {
    margin-top: 48px;
    padding: 32px 0 44px;
    background: var(--surface-strong);
    color: rgba(255, 255, 255, 0.88);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr repeat(3, 1fr);
    gap: 18px;
}

.footer-column h4 {
    margin: 0 0 14px;
    color: #fff;
    font-family: "Montserrat", sans-serif;
}

.footer-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.footer-column a:hover {
    color: #fff;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 360px;
}

.footer-bottom {
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.toast-stack {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 80;
    display: grid;
    gap: 10px;
}

.toast {
    min-width: 280px;
    max-width: 340px;
    padding: 14px 16px;
    border-radius: 18px;
    background: var(--surface-strong);
    color: #fff;
    box-shadow: var(--shadow-md);
    display: flex;
    gap: 10px;
    align-items: start;
}

.toast.is-error {
    background: var(--danger);
}

.toast.is-success {
    background: var(--success);
}

.is-hidden {
    display: none !important;
}

@media (max-width: 1100px) {
    .site-header-main {
        grid-template-columns: 1fr auto;
        padding: 16px 0;
    }

    .header-search {
        grid-column: 1 / -1;
        order: 3;
        margin-bottom: 16px;
    }

    .hero-layout,
    .product-layout,
    .catalog-layout,
    .checkout-layout,
    .cart-layout,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .stats-strip,
    .feature-grid,
    .support-grid,
    .trust-grid,
    .highlight-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-grid,
    .product-grid,
    .shelf-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .catalog-sidebar,
    .product-summary {
        position: static;
    }
}

@media (max-width: 760px) {
    .container {
        width: min(var(--container), calc(100% - 24px));
    }

    .topbar,
    .site-nav,
    .header-actions .button-secondary {
        display: none;
    }

    .mobile-nav-toggle {
        display: inline-flex;
    }

    .hero-search,
    .hero-actions,
    .section-heading,
    .catalog-toolbar,
    .footer-bottom {
        flex-direction: column;
        align-items: stretch;
    }

    .review-form-grid,
    .form-grid,
    .price-range,
    .support-grid,
    .feature-grid,
    .stats-strip,
    .category-grid,
    .product-grid,
    .shelf-grid,
    .trust-grid,
    .highlight-grid,
    .spec-grid {
        grid-template-columns: 1fr;
    }

    .cart-item,
    .summary-item {
        grid-template-columns: 72px minmax(0, 1fr);
    }

    .cart-item > :last-child,
    .summary-item > :last-child {
        grid-column: 1 / -1;
        justify-self: start;
    }

    .site-header-main {
        display: flex;
        flex-wrap: wrap;
    }

    .brand-subtitle {
        display: none;
    }
}
