:root {
    --surface: #f7f9fb;
    --surface-lowest: #ffffff;
    --surface-low: #f2f4f6;
    --surface-container: #eceef0;
    --surface-high: #e6e8ea;
    --surface-highest: #e0e3e5;
    --text: #191c1e;
    --muted: #45464d;
    --outline: #c6c6cd;
    --outline-strong: #76777d;
    --navy: #131b2e;
    --navy-muted: #7c839b;
    --bronze: #7a581f;
    --bronze-light: #fed08b;
    --danger: #ba1a1a;
    --container: 1280px;
    --gutter: 24px;
    --radius: 4px;
    --radius-lg: 8px;
    --shadow-soft: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--surface);
    color: var(--text);
    font-family: Inter, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

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

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

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

.material-symbols-outlined {
    font-family: "Material Symbols Outlined";
    font-weight: normal;
    font-style: normal;
    font-size: 22px;
    line-height: 1;
    display: inline-block;
    white-space: nowrap;
    direction: ltr;
    font-feature-settings: "liga";
    -webkit-font-feature-settings: "liga";
}

.container {
    width: min(100%, var(--container));
    margin: 0 auto;
    padding-inline: var(--gutter);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--surface);
    border-bottom: 1px solid var(--outline);
}

.topbar {
    width: min(100%, var(--container));
    min-height: 68px;
    margin: 0 auto;
    padding: 14px var(--gutter);
    display: grid;
    grid-template-columns: auto minmax(220px, 560px) auto;
    gap: 24px;
    align-items: center;
}

.brand-block,
.top-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.brand {
    display: inline-flex;
    flex-direction: column;
    line-height: 1;
    font-weight: 700;
    color: #000;
}

.brand span {
    font-size: 28px;
}

.brand small {
    margin-top: 6px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.top-search,
.mobile-search {
    position: relative;
}

.top-search input,
.mobile-search input,
.form-control,
.form-select,
.form-textarea {
    width: 100%;
    border: 1px solid var(--outline);
    border-radius: var(--radius);
    background: var(--surface-lowest);
    color: var(--text);
    padding: 10px 12px;
    outline: none;
}

.top-search input {
    padding-right: 44px;
}

.top-search .icon-button {
    position: absolute;
    top: 50%;
    right: 6px;
    transform: translateY(-50%);
}

.top-search input:focus,
.mobile-search input:focus,
.form-control:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: #000;
    box-shadow: 0 0 0 1px #000;
}

.icon-button {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: var(--radius);
    background: transparent;
    color: var(--muted);
    cursor: pointer;
}

.icon-button:hover {
    background: var(--surface-container);
    color: var(--text);
}

.mobile-menu-button {
    display: none;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.language-pill {
    color: var(--text);
    font-size: 12px;
    font-weight: 700;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    padding: 10px 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
}

.button--dark {
    background: var(--navy);
    color: #fff;
}

.button--bronze {
    background: var(--bronze-light);
    color: #281800;
}

.button--outline {
    border-color: #000;
    color: #000;
    background: transparent;
}

.button--danger {
    background: var(--danger);
    color: #fff;
}

.main-nav {
    background: var(--navy);
    color: var(--navy-muted);
}

.main-nav > ul {
    width: min(100%, var(--container));
    min-height: 48px;
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: flex;
    justify-content: center;
    gap: 8px;
    list-style: none;
}

.main-nav__item {
    position: relative;
}

.main-nav__item > a {
    height: 48px;
    display: inline-flex;
    align-items: center;
    padding: 0 18px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-bottom: 2px solid transparent;
}

.main-nav__item:hover > a,
.main-nav__item:focus-within > a {
    color: var(--bronze-light);
    border-bottom-color: var(--bronze-light);
}

.mega-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: min(900px, calc(100vw - 48px));
    padding: 28px;
    background: var(--surface-lowest);
    color: var(--text);
    border: 1px solid var(--outline);
    box-shadow: var(--shadow-soft);
}

.has-mega:hover .mega-menu,
.has-mega:focus-within .mega-menu {
    display: block;
}

.main-nav__item:nth-child(2) .mega-menu,
.main-nav__item:nth-child(3) .mega-menu {
    left: auto;
    right: 0;
}

.mega-menu__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
}

.mega-menu__cluster {
    min-width: 0;
}

.mega-menu__heading {
    display: block;
    margin-bottom: 12px;
    color: #000;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.mega-menu__nested {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mega-menu__nested li + li {
    margin-top: 8px;
}

.mega-menu__nested a {
    color: var(--muted);
    font-size: 14px;
}

.mega-menu__nested--depth-1 {
    margin-top: 7px;
    margin-left: 12px;
}

.mega-menu__feature {
    grid-column: span 2;
}

.mega-menu__feature img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    background: var(--surface-low);
    border: 1px solid var(--outline);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #000;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.text-link:hover {
    color: var(--bronze);
}

.mobile-drawer[hidden] {
    display: none;
}

.mobile-drawer {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
}

.mobile-drawer__panel {
    width: min(340px, 86vw);
    height: 100%;
    padding: 20px;
    background: var(--surface-lowest);
    border-right: 1px solid var(--outline);
    overflow: auto;
}

.mobile-drawer__backdrop {
    flex: 1;
    border: 0;
    background: rgba(19, 27, 46, 0.55);
}

.mobile-drawer__header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 24px;
}

.mobile-tree,
.mobile-tree ul {
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.mobile-tree ul {
    margin-top: 4px;
    padding-left: 16px;
    border-left: 1px solid var(--outline);
}

.mobile-tree a,
.mobile-drawer__links a {
    display: block;
    padding: 10px 0;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
}

.mobile-tree > li > a {
    color: #000;
    text-transform: uppercase;
}

.mobile-drawer__links {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--outline);
}

.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(19, 27, 46, 0.92), rgba(19, 27, 46, 0.62)),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 96px),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 96px),
        var(--navy);
}

.hero__media {
    position: absolute;
    inset: 0;
    opacity: 0.18;
}

.hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__content {
    position: relative;
    width: min(100%, var(--container));
    margin: 0 auto;
    padding: 80px var(--gutter);
}

.hero__panel {
    max-width: 520px;
    padding: 48px;
    background: rgba(255, 255, 255, 0.92);
    border-left: 4px solid var(--bronze-light);
}

.hero h1 {
    margin: 0 0 22px;
    color: #000;
    font-size: 48px;
    line-height: 1.15;
}

.hero p {
    margin: 0 0 28px;
    color: var(--muted);
    font-size: 18px;
}

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

.section {
    padding: 80px var(--gutter);
}

.section--border {
    border-bottom: 1px solid var(--outline);
}

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

.section-title {
    margin: 0 0 32px;
    font-size: 32px;
    line-height: 1.2;
}

.eyebrow {
    margin: 0;
    color: #000;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

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

.category-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
    text-align: center;
}

.category-card__image {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background:
        repeating-linear-gradient(90deg, rgba(19, 27, 46, 0.06) 0 1px, transparent 1px 28px),
        linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(224, 227, 229, 0.8));
    border: 1px solid var(--outline);
}

.category-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.category-card:hover img {
    transform: scale(1.04);
}

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

.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    background: var(--surface-lowest);
    border: 1px solid var(--outline);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

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

.product-card__badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 1;
    padding: 4px 8px;
    background: var(--surface-container);
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.product-card__image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 260px;
    aspect-ratio: 1.15;
    padding: 32px;
    background:
        repeating-linear-gradient(90deg, rgba(19, 27, 46, 0.05) 0 1px, transparent 1px 34px),
        linear-gradient(135deg, #fff, #f2f4f6);
    border-bottom: 1px solid var(--outline);
}

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

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

.product-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 22px;
}

.product-card__category {
    color: var(--muted);
    margin-bottom: 6px;
}

.product-card__title {
    margin: 0 0 6px;
    color: #000;
    font-size: 22px;
    line-height: 1.25;
}

.sku-code {
    margin: 0 0 14px;
    color: var(--outline-strong);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.product-card__copy {
    margin: 0 0 22px;
    color: var(--muted);
    font-size: 14px;
}

.product-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--outline);
}

.finish-swatches {
    display: flex;
    gap: 6px;
    align-items: center;
}

.finish-swatch {
    width: 14px;
    height: 14px;
    display: inline-flex;
    overflow: hidden;
    border: 1px solid var(--outline);
    border-radius: 50%;
    background: var(--surface-high);
}

.finish-swatch img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.finish-inline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cta-band {
    background: var(--navy);
    color: var(--navy-muted);
    padding: 56px var(--gutter);
}

.cta-band__inner {
    width: min(100%, var(--container));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.cta-band h2 {
    margin: 0 0 6px;
    color: #fff;
    font-size: 30px;
}

.cta-band p {
    margin: 0;
}

.site-footer {
    background: var(--navy);
    color: var(--navy-muted);
}

.site-footer__grid {
    width: min(100%, var(--container));
    margin: 0 auto;
    padding: 72px var(--gutter);
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 48px;
}

.site-footer h2,
.site-footer h3 {
    color: #fff;
    margin: 0 0 18px;
}

.site-footer h2 {
    font-size: 22px;
}

.site-footer h3 {
    font-size: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.site-footer p,
.site-footer a {
    display: block;
    margin: 0 0 12px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 14px;
}

.site-footer a:hover {
    color: var(--bronze-light);
}

.site-footer__bottom {
    width: min(100%, var(--container));
    margin: 0 auto;
    padding: 22px var(--gutter);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.site-footer__bottom p {
    margin: 0;
}

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

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

.breadcrumbs a:hover {
    color: #000;
}

.catalog-layout {
    width: min(100%, var(--container));
    margin: 0 auto;
    padding: 72px var(--gutter) 96px;
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 36px;
}

.catalog-sidebar {
    padding-right: 22px;
    border-right: 1px solid var(--outline);
}

.catalog-sidebar h2 {
    margin: 28px 0 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--outline);
    font-size: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.category-filter,
.category-filter ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.category-filter ul {
    padding-left: 16px;
}

.category-filter a {
    display: block;
    padding: 6px 0;
    color: var(--muted);
    font-size: 14px;
}

.category-filter a.is-active,
.category-filter a:hover {
    color: #000;
    font-weight: 600;
}

.catalog-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-start;
    margin-bottom: 28px;
}

.catalog-toolbar h1 {
    margin: 0 0 6px;
    font-size: 36px;
    line-height: 1.15;
}

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

.sort-form {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 14px;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.empty-state,
.notice {
    padding: 24px;
    background: var(--surface-lowest);
    border: 1px solid var(--outline);
    border-radius: var(--radius);
}

.notice--error {
    border-color: rgba(186, 26, 26, 0.35);
    color: var(--danger);
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 48px;
    padding-top: 28px;
    border-top: 1px solid var(--outline);
}

.pagination__button {
    min-width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--outline);
    border-radius: var(--radius);
    background: var(--surface-lowest);
    color: var(--text);
    font-weight: 600;
}

.pagination__button.is-active {
    border-color: #000;
    background: #000;
    color: #fff;
}

.pagination__button.is-disabled {
    opacity: 0.45;
}

.pagination__gap {
    color: var(--outline-strong);
}

.product-detail {
    width: min(100%, var(--container));
    margin: 0 auto;
    padding: 48px var(--gutter) 96px;
}

.product-hero {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 56px;
    align-items: start;
}

.product-gallery {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 16px;
}

.product-gallery__thumbs {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gallery-thumb {
    width: 84px;
    height: 84px;
    padding: 6px;
    border: 1px solid var(--outline);
    border-radius: var(--radius);
    background: #fff;
    cursor: pointer;
}

.gallery-thumb.is-active {
    border: 2px solid #000;
}

.gallery-thumb img,
.product-gallery__main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-gallery__main {
    min-height: 520px;
    margin: 0;
    padding: 42px;
    display: flex;
    flex-direction: column;
    background:
        repeating-linear-gradient(90deg, rgba(19, 27, 46, 0.05) 0 1px, transparent 1px 40px),
        linear-gradient(135deg, #fff, #f2f4f6);
    border: 1px solid var(--outline);
}

.product-gallery__main figcaption {
    min-height: 20px;
    margin-top: 16px;
    color: var(--muted);
    font-size: 13px;
}

.product-summary h1 {
    margin: 0 0 12px;
    font-size: 44px;
    line-height: 1.12;
}

.product-summary__meta {
    margin-bottom: 24px;
    color: var(--muted);
}

.product-summary__copy {
    margin: 0 0 28px;
    color: var(--muted);
    font-size: 18px;
}

.detail-section {
    margin-top: 72px;
}

.detail-section h2 {
    margin: 0 0 20px;
    font-size: 26px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid var(--outline);
}

.data-table th,
.data-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--outline);
    text-align: left;
    vertical-align: top;
}

.data-table th {
    background: var(--surface-low);
    color: #000;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.data-table tr:last-child td {
    border-bottom: 0;
}

.component-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.mini-card {
    padding: 18px;
    background: #fff;
    border: 1px solid var(--outline);
    border-radius: var(--radius);
}

.mini-card__image {
    aspect-ratio: 1.4;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    background: var(--surface-low);
}

.mini-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mini-card h3 {
    margin: 0 0 6px;
    font-size: 18px;
}

.mini-card p {
    margin: 0;
    color: var(--muted);
}

.content-page {
    width: min(100%, 980px);
    margin: 0 auto;
    padding: 72px var(--gutter) 96px;
}

.content-page h1 {
    margin: 0 0 24px;
    font-size: 44px;
}

.content-page__body {
    color: var(--muted);
    font-size: 18px;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 8px;
    border-radius: 999px;
    background: var(--surface-container);
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.status-pill--published,
.status-pill--active {
    background: #e7f5ed;
    color: #17603a;
}

.status-pill--draft {
    background: #fff5dc;
    color: #775300;
}

.status-pill--inactive {
    background: #f8dede;
    color: #8f1f1f;
}
