:root {
    --ink: #060707;
    --ink-soft: #171b1a;
    --muted: #66706d;
    --line: #e1e6e2;
    --surface: #ffffff;
    --surface-soft: #f6f7f4;
    --surface-warm: #fbfaf7;
    --accent: #0f766e;
    --accent-strong: #0a5d57;
    --teal: #0f766e;
    --gold: #c7a44b;
    --gold-soft: #f3ead0;
    --plum: #4e4568;
    --danger: #b91c1c;
    --max-width: 1180px;
    --shadow-soft: 0 16px 48px rgba(6, 7, 7, 0.08);
    --shadow-card: 0 20px 60px rgba(6, 7, 7, 0.12);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
    background: var(--surface-warm);
    color: var(--ink);
    color-scheme: light;
    scroll-behavior: smooth;
}

body {
    background:
        linear-gradient(180deg, rgba(246, 247, 244, 0.96) 0, #ffffff 34rem),
        var(--surface);
    font-family: "Source Sans Pro", Arial, sans-serif;
    line-height: 1.5;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body,
body * {
    font-family: "Source Sans Pro", Arial, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--ink);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.05;
}

h1 {
    font-size: 3.4rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.08rem;
}

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

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(15, 118, 110, 0.28);
    outline-offset: 3px;
}

::selection {
    background: var(--gold-soft);
    color: var(--ink);
}

img {
    display: block;
    height: auto;
    width: 100%;
}

main {
    min-height: 70vh;
}

.site-header {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    left: 0;
    position: sticky;
    right: 0;
    top: 0;
    z-index: 20;
}

.site-header__inner,
.section,
.page-heading,
.product-detail,
.site-footer__inner,
.site-footer__bottom {
    margin: 0 auto;
    max-width: var(--max-width);
    width: min(92vw, var(--max-width));
}

.site-header__inner {
    align-items: center;
    display: flex;
    justify-content: space-between;
    min-height: 76px;
}

.brand {
    align-items: center;
    display: inline-flex;
    font-weight: 800;
}

.brand__logo {
    display: block;
    height: 50px;
    object-fit: contain;
    width: auto;
}

.site-nav {
    align-items: center;
    display: flex;
    gap: 0.35rem;
}

.site-nav a {
    border-radius: 6px;
    color: var(--muted);
    font-size: 0.94rem;
    font-weight: 700;
    padding: 0.75rem 0.9rem;
}

.site-search {
    align-items: center;
    display: flex;
    gap: 0.35rem;
    margin: 0 0.25rem;
}

.site-search__label {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.site-search input {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--ink);
    font-size: 0.9rem;
    min-height: 40px;
    padding: 0.55rem 0.75rem;
    width: 180px;
}

.site-search input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.16);
    outline: none;
}

.site-search button {
    background: var(--ink);
    border-radius: 6px;
    color: #ffffff;
    font-size: 0.86rem;
    font-weight: 800;
    min-height: 40px;
    padding: 0 0.78rem;
}

.site-search button:hover {
    background: var(--accent-strong);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    background: var(--surface-soft);
    color: var(--ink);
}

.nav-toggle {
    display: none;
}

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

.hero {
    align-items: flex-end;
    background: linear-gradient(90deg, rgba(17, 24, 39, 0.92), rgba(17, 24, 39, 0.42)), var(--ink);
    background-position: center;
    background-size: cover;
    color: #ffffff;
    display: flex;
    min-height: 560px;
    padding: 7rem 0 5rem;
}

.hero__inner {
    margin: 0 auto;
    max-width: var(--max-width);
    width: min(92vw, var(--max-width));
}

.hero h1 {
    color: #ffffff;
    font-size: 4rem;
    max-width: 860px;
}

.hero__copy {
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.12rem;
    margin-top: 1.1rem;
    max-width: 610px;
}

.hero__actions,
.product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.6rem;
}

.notice {
    border: 1px solid var(--line);
    border-radius: 6px;
    margin-bottom: 1rem;
    padding: 0.85rem 1rem;
}

.notice--success {
    background: #ecfdf5;
    border-color: #a7f3d0;
    color: #065f46;
}

.notice--error {
    background: #fef2f2;
    border-color: #fca5a5;
    color: var(--danger);
}

.button {
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 6px;
    display: inline-flex;
    font-weight: 800;
    justify-content: center;
    min-height: 46px;
    padding: 0.8rem 1rem;
}

.button--primary {
    background: var(--accent);
    border-color: var(--accent);
    color: #ffffff;
}

.button--primary:hover {
    background: var(--accent-strong);
}

.button--secondary {
    background: #ffffff;
    color: var(--ink);
}

.button--secondary:hover {
    background: var(--surface-soft);
}

.section {
    padding: 4rem 0;
}

.section--compact {
    padding-top: 2rem;
}

.section--muted {
    background: var(--surface-soft);
    max-width: none;
    padding-left: max(4vw, calc((100vw - var(--max-width)) / 2));
    padding-right: max(4vw, calc((100vw - var(--max-width)) / 2));
    width: 100%;
}

.section--narrow {
    max-width: 860px;
}

.section__header,
.page-heading {
    align-items: end;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.page-heading {
    align-items: flex-start;
    padding: 4rem 0 1rem;
}

.page-heading--with-form {
    align-items: end;
}

.eyebrow {
    color: var(--teal);
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    margin-bottom: 0.55rem;
    text-transform: uppercase;
}

.hero .eyebrow,
.collection-hero .eyebrow {
    color: rgba(255, 255, 255, 0.78);
}

.text-link {
    color: var(--accent);
    font-weight: 800;
}

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

.collection-grid,
.product-grid {
    display: grid;
    gap: 1rem;
}

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

.collection-grid--wide {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.collection-card,
.product-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
}

.collection-card a {
    display: grid;
    gap: 0.65rem;
    padding-bottom: 1rem;
}

.collection-card img {
    aspect-ratio: 4 / 3;
    background: var(--surface-soft);
    object-fit: cover;
}

.collection-card span,
.collection-card small {
    padding: 0 1rem;
}

.collection-card span {
    font-weight: 800;
}

.collection-card small {
    color: var(--muted);
}

.product-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.product-card__media {
    background: var(--surface-soft);
    display: block;
}

.product-card__media img {
    aspect-ratio: 1 / 1;
    object-fit: contain;
    padding: 0.6rem;
    transition: opacity 0.2s ease;
}

.product-card__body {
    display: grid;
    gap: 0.45rem;
    padding: 1rem;
}

.product-card__collection {
    color: var(--muted);
    font-size: 0.85rem;
    font-style: italic;
    font-weight: 600;
}

.product-card h3 a:hover,
.product-card__collection:hover {
    color: var(--accent);
}

.product-card__price,
.product-price {
    color: var(--ink);
    font-weight: 800;
}

.product-price {
    font-size: 1.8rem;
}

.collection-hero {
    align-items: end;
    background-position: center;
    background-size: cover;
    display: flex;
    min-height: 360px;
    padding: 5rem max(4vw, calc((100vw - var(--max-width)) / 2)) 3rem;
}

.collection-hero__logo,
.collection-heading-logo {
    background: rgba(255, 255, 255, 0.94);
    border-radius: 8px;
    margin-bottom: 1rem;
    max-height: 110px;
    object-fit: contain;
    padding: 0.75rem;
    width: auto;
}

.collection-heading-logo {
    border: 1px solid var(--line);
    max-height: 96px;
}

.collection-hero h1 {
    color: #ffffff;
    font-size: 3.2rem;
}

.rich-text {
    color: var(--muted);
    line-height: 1.7;
}

.rich-text h2 {
    margin-bottom: 1rem;
}

.content-page {
    color: var(--muted);
    display: grid;
    gap: 1rem;
    line-height: 1.7;
}

.content-page h2 {
    color: var(--ink);
    font-size: 1.45rem;
    margin-top: 0.75rem;
}

.content-page p {
    color: var(--muted);
}

.content-page ul {
    display: grid;
    gap: 0.5rem;
    list-style: disc;
    margin-left: 1.4rem;
}

.content-page li {
    color: var(--muted);
}

.content-page hr {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 1rem 0;
}

.empty-state {
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 1rem;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 2rem;
}

.pagination a {
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: #555555;
    display: inline-flex;
    font-weight: 800;
    height: 40px;
    justify-content: center;
    width: 40px;
}

.pagination a:hover {
    background: #f5f5f5;
    border-color: #bbbbbb;
    color: var(--ink);
}

.pagination .is-active {
    background: var(--accent);
    border-color: var(--accent);
    color: #ffffff;
}

.shop-filter {
    align-items: end;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: minmax(210px, 1fr) minmax(190px, 240px) auto;
    max-width: 720px;
    width: 100%;
}

.shop-filter label {
    display: grid;
    gap: 0.35rem;
}

.shop-filter span {
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 800;
}

.shop-filter input,
.shop-filter select,
.add-to-cart input,
.add-to-cart select,
.checkout-form input,
.checkout-form select,
.checkout-form textarea,
.admin-form input,
.admin-form select,
.admin-form textarea,
.authForm input[type="email"],
.authForm input[type="password"],
.authForm input[type="text"],
.authForm input[type="tel"] {
    border: 1px solid var(--line);
    border-radius: 6px;
    min-height: 46px;
    padding: 0.8rem 0.9rem;
    width: 100%;
}

.shop-filter input:focus,
.shop-filter select:focus,
.add-to-cart input:focus,
.add-to-cart select:focus,
.checkout-form input:focus,
.checkout-form select:focus,
.checkout-form textarea:focus,
.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus,
.authForm input[type="email"]:focus,
.authForm input[type="password"]:focus,
.authForm input[type="text"]:focus,
.authForm input[type="tel"]:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.16);
    outline: none;
}

.add-to-cart,
.checkout-form,
.admin-form {
    display: grid;
    gap: 1rem;
}

.add-to-cart label,
.checkout-form label,
.admin-form label {
    display: grid;
    gap: 0.35rem;
}

.add-to-cart label span,
.checkout-form label span,
.admin-form label span {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
}

.cart-layout,
.checkout-layout {
    align-items: start;
    display: grid;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1fr) 340px;
}

.cart-items {
    display: grid;
    gap: 0.8rem;
}

.cart-item {
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    display: grid;
    gap: 1rem;
    grid-template-columns: 96px minmax(0, 1fr) 90px auto;
    padding: 0.8rem;
}

.cart-item img {
    aspect-ratio: 1 / 1;
    background: var(--surface-soft);
    border-radius: 6px;
    object-fit: contain;
}

.cart-item h2 {
    font-size: 1rem;
}

.cart-item input {
    border: 1px solid var(--line);
    border-radius: 6px;
    min-height: 42px;
    padding: 0.55rem;
    width: 100%;
}

.order-summary {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    display: grid;
    gap: 1rem;
    padding: 1rem;
    position: sticky;
    top: 94px;
}

.order-summary h2 {
    font-size: 1.2rem;
}

.order-summary dl,
.product-meta {
    display: grid;
    gap: 0.75rem;
}

.order-summary dl div,
.summary-line {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.order-summary dl div:last-child {
    border-top: 1px solid var(--line);
    font-size: 1.1rem;
    font-weight: 800;
    padding-top: 0.75rem;
}

.checkout-form {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 1rem;
}

.checkout-form h2 {
    font-size: 1.2rem;
    margin-top: 0.75rem;
}

.checkout-account {
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: 8px;
    display: grid;
    gap: 0.4rem;
    padding: 0.9rem;
}

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

.form-grid__full {
    grid-column: 1 / -1;
}

.shipping-options {
    display: grid;
    gap: 0.6rem;
}

.shipping-options label {
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: auto 1fr auto;
    padding: 0.85rem;
}

.admin-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-grid--status {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-tile,
.admin-panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 1rem;
}

.admin-tile {
    display: grid;
    gap: 0.35rem;
}

.admin-tile strong {
    font-size: 2rem;
}

.admin-tile span {
    color: var(--muted);
    font-weight: 800;
}

.admin-detail {
    display: grid;
    gap: 1rem;
}

.account-layout {
    align-items: start;
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 360px minmax(0, 1fr);
}

.admin-fieldset {
    border: 1px solid var(--line);
    border-radius: 8px;
    display: grid;
    gap: 0.7rem;
    padding: 1rem;
}

.admin-fieldset legend {
    color: var(--muted);
    font-weight: 800;
    padding: 0 0.35rem;
}

.status-pill {
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 0.3rem 0.55rem;
}

.status-pill--ok {
    background: #ecfdf5;
    color: #047857;
}

.status-pill--warn {
    background: #fffbeb;
    color: #b45309;
}

.system-dl {
    display: grid;
    gap: 0.75rem;
}

.system-dl div {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: 180px minmax(0, 1fr);
}

.system-dl dt {
    color: var(--muted);
    font-weight: 800;
}

.system-dl dd {
    overflow-wrap: anywhere;
}

.checkbox-grid {
    display: grid;
    gap: 0.65rem 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-product-thumb {
    aspect-ratio: 1 / 1;
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: 8px;
    max-width: 180px;
    object-fit: contain;
    padding: 0.5rem;
}

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

.admin-table {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    min-width: 760px;
    overflow: hidden;
    width: 100%;
}

.admin-table--wide {
    min-width: 1560px;
}

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

.admin-table th {
    background: var(--surface-soft);
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
}

.product-detail {
    display: grid;
    gap: 3rem;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    padding: 4rem 0;
}

.product-gallery__main {
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
}

.product-gallery__main img {
    aspect-ratio: 1 / 1;
    object-fit: contain;
    padding: 1rem;
}

.product-gallery__thumbs {
    display: grid;
    gap: 0.65rem;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-top: 0.8rem;
}

.product-gallery__thumbs button {
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: 6px;
    overflow: hidden;
    padding: 0.25rem;
}

.product-gallery__thumbs button.is-active {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(15, 118, 110, 0.18);
}

.product-gallery__thumbs img {
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

.product-summary {
    align-self: start;
    display: grid;
    gap: 1rem;
}

.option-groups {
    display: grid;
    gap: 1rem;
    margin-top: 0.5rem;
}

.option-group h2 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.option-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.option-chips span {
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0.45rem 0.65rem;
}

.product-meta {
    border-top: 1px solid var(--line);
    display: grid;
    gap: 0.75rem;
    margin-top: 0.5rem;
    padding-top: 1rem;
}

.product-meta div {
    display: grid;
    gap: 0.35rem;
    grid-template-columns: 130px minmax(0, 1fr);
}

.product-meta dt {
    color: var(--muted);
    font-weight: 800;
}

.product-meta dd {
    color: var(--ink);
}

.variation-list {
    display: grid;
    gap: 0.7rem;
}

.variation-list article {
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    display: grid;
    gap: 0.5rem;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto;
    padding: 0.85rem 1rem;
}

.variation-list h3 {
    font-size: 0.95rem;
}

.site-footer {
    background: #111111;
    color: #f0f0f0;
    margin-top: 3rem;
}

.site-footer__inner {
    display: grid;
    gap: 1.5rem;
    justify-items: center;
    padding: 2.5rem 0 1.25rem;
    text-align: center;
}

.site-footer p,
.site-footer a {
    color: #f0f0f0;
}

.brand--footer .brand__logo {
    filter: invert(1);
    height: 56px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.9rem;
    justify-content: center;
}

.footer-links a:hover,
.site-footer__bottom a:hover {
    color: var(--teal);
    text-decoration: underline;
}

.site-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    font-size: 0.9rem;
    gap: 0.75rem;
    justify-content: space-between;
    padding: 1rem 0 1.4rem;
}

.site-footer__bottom p,
.site-footer__bottom a {
    color: #aaaaaa;
}

.authSection {
    background: var(--surface-soft);
    min-height: 70vh;
}

.authContainer {
    justify-content: center;
}

.authCard {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 2.5rem;
    max-width: 520px;
    width: 100%;
}

.authCard h1 {
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

.authForm {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.authForm label,
.authCheckbox {
    font-weight: 800;
}

.authRow {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
}

.authCheckbox {
    align-items: center;
    display: flex;
    gap: 0.5rem;
}

.authCheckbox input[type="checkbox"] {
    accent-color: var(--accent);
    height: 1rem;
    width: 1rem;
}

.authHint,
.authSubtle {
    color: var(--muted);
    font-size: 0.9rem;
}

.authButton {
    background: var(--accent);
    border-radius: 6px;
    color: #ffffff;
    font-weight: 800;
    margin-top: 0.5rem;
    min-height: 46px;
    padding: 0.8rem 1rem;
    text-align: center;
}

.authAlert {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: 6px;
    color: var(--danger);
    padding: 0.75rem 1rem;
}

@media (max-width: 980px) {
    h1,
    .hero h1 {
        font-size: 2.7rem;
    }

    .site-search input {
        width: 150px;
    }

    .collection-grid,
    .collection-grid--wide,
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-detail {
        grid-template-columns: 1fr;
    }

    .cart-layout,
    .checkout-layout,
    .account-layout {
        grid-template-columns: 1fr;
    }

    .order-summary {
        position: static;
    }

    .shop-filter {
        grid-template-columns: 1fr 1fr;
    }

    .shop-filter .button {
        grid-column: 1 / -1;
    }
}

@media (max-width: 900px) {
    .site-header__inner {
        min-height: 68px;
    }

    .nav-toggle {
        align-items: center;
        border: 1px solid var(--line);
        border-radius: 6px;
        display: grid;
        gap: 4px;
        height: 42px;
        justify-content: center;
        width: 42px;
    }

    .nav-toggle span {
        background: var(--ink);
        display: block;
        height: 2px;
        width: 18px;
    }

    .site-nav {
        background: #ffffff;
        border-bottom: 1px solid var(--line);
        display: none;
        left: 0;
        padding: 0.8rem 4vw 1rem;
        position: absolute;
        right: 0;
        top: 68px;
    }

    .site-nav.is-open {
        display: grid;
    }

    .site-nav a {
        padding: 0.85rem 0;
    }

    .site-search {
        margin: 0 0 0.5rem;
        width: 100%;
    }

    .site-search input {
        flex: 1;
        width: auto;
    }
}

@media (max-width: 720px) {
    h1,
    .hero h1,
    .collection-hero h1 {
        font-size: 2.15rem;
    }

    h2 {
        font-size: 1.55rem;
    }

    .site-header__inner {
        min-height: 68px;
    }

    .hero {
        min-height: 500px;
        padding: 5rem 0 3rem;
    }

    .section,
    .page-heading,
    .product-detail {
        padding-bottom: 2.6rem;
        padding-top: 2.6rem;
    }

    .section__header,
    .page-heading,
    .page-heading--with-form,
    .site-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .collection-grid,
    .collection-grid--wide,
    .product-grid,
    .shop-filter,
    .form-grid,
    .checkbox-grid,
    .admin-grid--status,
    .admin-grid,
    .site-footer__inner,
    .variation-list article {
        grid-template-columns: 1fr;
    }

    .cart-item {
        align-items: start;
        grid-template-columns: 84px minmax(0, 1fr);
    }

    .cart-item label,
    .cart-item strong {
        grid-column: 2;
    }

    .footer-links {
        justify-items: start;
    }

    .product-meta div {
        grid-template-columns: 1fr;
    }

    .system-dl div {
        grid-template-columns: 1fr;
    }

    .product-gallery__thumbs {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Polished storefront experience */
.site-header {
    backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 10px 30px rgba(6, 7, 7, 0.05);
}

.brand__logo {
    height: 46px;
}

.site-nav a {
    transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    background: #eef4f1;
    color: var(--ink);
    transform: translateY(-1px);
}

.hero {
    isolation: isolate;
    overflow: hidden;
    position: relative;
}

.hero::before {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0, rgba(255, 255, 255, 0.06) 1px, transparent 1px, transparent 84px);
    content: "";
    inset: 0;
    opacity: 0.42;
    pointer-events: none;
    position: absolute;
    z-index: 0;
}

.hero__inner {
    position: relative;
    z-index: 1;
}

.home-hero {
    align-items: center;
    background:
        linear-gradient(100deg, rgba(6, 7, 7, 0.98) 0%, rgba(6, 7, 7, 0.9) 48%, rgba(6, 7, 7, 0.62) 100%),
        linear-gradient(180deg, rgba(199, 164, 75, 0.18), rgba(15, 118, 110, 0.12)),
        var(--ink);
    background-position: center;
    background-size: cover;
    min-height: min(760px, 78svh);
    padding: 6rem 0 4.5rem;
}

.home-hero__inner {
    max-width: 980px;
}

.home-hero h1 {
    font-size: 5rem;
    line-height: 0.98;
    max-width: 940px;
    text-wrap: balance;
}

.home-hero .hero__copy {
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.22rem;
    max-width: 720px;
}

.home-hero .eyebrow,
.section--dark .eyebrow {
    color: var(--gold);
}

.home-hero__promises {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    list-style: none;
    margin: 2rem 0 0;
}

.home-hero__promises li {
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    color: #ffffff;
    display: inline-flex;
    font-size: 0.9rem;
    font-weight: 800;
    min-height: 36px;
    padding: 0.45rem 0.8rem;
}

.home-hero .eyebrow,
.home-hero h1,
.home-hero .hero__copy,
.home-hero .hero__actions,
.home-hero__promises {
    animation: hero-enter 0.85s var(--ease-out) both;
}

.home-hero h1 {
    animation-delay: 0.08s;
}

.home-hero .hero__copy {
    animation-delay: 0.16s;
}

.home-hero .hero__actions {
    animation-delay: 0.24s;
}

.home-hero__promises {
    animation-delay: 0.32s;
}

.button {
    box-shadow: 0 1px 0 rgba(6, 7, 7, 0.06);
    transition: background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.button:hover {
    box-shadow: 0 12px 26px rgba(6, 7, 7, 0.12);
    transform: translateY(-2px);
}

.button--primary {
    background: var(--accent);
    border-color: var(--accent);
}

.button--primary:hover {
    background: var(--accent-strong);
    border-color: var(--accent-strong);
}

.button--secondary {
    border-color: var(--line);
}

.home-hero .button--secondary {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.home-hero .button--secondary:hover {
    background: #ffffff;
    color: var(--ink);
}

.eyebrow {
    letter-spacing: 0;
}

.section {
    padding: 5rem 0;
}

.section__header {
    margin-bottom: 2rem;
}

.section__header h2 {
    max-width: 760px;
    text-wrap: balance;
}

.section__header p:not(.eyebrow),
.home-split__copy p {
    font-size: 1.06rem;
    max-width: 650px;
}

.home-stats {
    background: #ffffff;
    border-bottom: 1px solid var(--line);
    padding: 0;
}

.home-stats__inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0 auto;
    max-width: var(--max-width);
    width: min(92vw, var(--max-width));
}

.home-stats__inner div {
    border-left: 1px solid var(--line);
    display: grid;
    gap: 0.25rem;
    padding: 1.35rem 1.2rem;
}

.home-stats__inner div:last-child {
    border-right: 1px solid var(--line);
}

.home-stats strong {
    color: var(--ink);
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
}

.home-stats span {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 800;
}

.home-split {
    align-items: start;
    display: grid;
    gap: 3rem;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
}

.home-split--reverse {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.88fr);
}

.home-split__copy {
    display: grid;
    gap: 1rem;
    position: sticky;
    top: 112px;
}

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

.feature-card,
.workflow-grid article {
    border-radius: 8px;
    display: grid;
    gap: 0.75rem;
    min-height: 100%;
    padding: 1.2rem;
}

.feature-card {
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
}

.feature-card__number,
.workflow-grid span {
    color: var(--gold);
    font-size: 0.82rem;
    font-weight: 900;
}

.feature-card h3,
.workflow-grid h3 {
    font-size: 1.2rem;
}

.feature-card p,
.workflow-grid p {
    color: var(--muted);
}

.section--dark {
    background:
        linear-gradient(135deg, rgba(15, 118, 110, 0.24), transparent 34rem),
        linear-gradient(180deg, #060707, #101313);
    color: #ffffff;
    max-width: none;
    padding-left: max(4vw, calc((100vw - var(--max-width)) / 2));
    padding-right: max(4vw, calc((100vw - var(--max-width)) / 2));
    width: 100%;
}

.section--dark h2,
.section--dark h3 {
    color: #ffffff;
}

.section--dark p {
    color: rgba(255, 255, 255, 0.72);
}

.workflow-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.workflow-grid article {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.check-list {
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: 8px;
    display: grid;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 1.25rem;
}

.check-list li {
    color: var(--ink-soft);
    display: grid;
    font-weight: 700;
    gap: 0.75rem;
    grid-template-columns: 24px minmax(0, 1fr);
}

.check-list li::before {
    background: var(--accent);
    border-radius: 50%;
    box-shadow: inset 0 0 0 6px rgba(255, 255, 255, 0.78);
    content: "";
    height: 18px;
    margin-top: 0.22rem;
    width: 18px;
}

.collection-card,
.product-card {
    box-shadow: 0 1px 0 rgba(6, 7, 7, 0.04);
    transition: border-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}

.collection-card:hover,
.product-card:hover {
    border-color: rgba(15, 118, 110, 0.34);
    box-shadow: var(--shadow-card);
    transform: translateY(-5px);
}

.collection-card img {
    transition: transform 0.5s var(--ease-out);
}

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

.collection-card span,
.product-card h3 {
    color: var(--ink);
}

.collection-card small,
.product-card__collection {
    color: var(--muted);
}

.product-card__media {
    background:
        linear-gradient(145deg, #ffffff, var(--surface-soft));
}

.product-card__body {
    gap: 0.55rem;
}

.product-card__price {
    color: var(--accent-strong);
}

.section--muted {
    background:
        linear-gradient(180deg, #f6f7f4, #ffffff);
}

.text-link {
    align-items: center;
    color: var(--accent);
    display: inline-flex;
    gap: 0.35rem;
    width: fit-content;
}

.text-link::after {
    content: "\203A";
    font-size: 0.9em;
    transition: transform 0.2s ease;
}

.text-link:hover::after {
    transform: translateX(3px);
}

.has-js [data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}

.has-js [data-animate].is-visible {
    opacity: 1;
    transform: translateY(0);
}

.has-js .collection-grid[data-animate],
.has-js .product-grid[data-animate],
.has-js .feature-grid[data-animate] {
    opacity: 1;
    transform: none;
    transition: none;
}

.has-js .collection-grid[data-animate] > *,
.has-js .product-grid[data-animate] > *,
.has-js .feature-grid[data-animate] > * {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}

.has-js .collection-grid[data-animate].is-visible > *,
.has-js .product-grid[data-animate].is-visible > *,
.has-js .feature-grid[data-animate].is-visible > * {
    opacity: 1;
    transform: translateY(0);
}

.has-js .collection-grid[data-animate].is-visible > *:nth-child(2),
.has-js .product-grid[data-animate].is-visible > *:nth-child(2),
.has-js .feature-grid[data-animate].is-visible > *:nth-child(2) {
    transition-delay: 0.05s;
}

.has-js .collection-grid[data-animate].is-visible > *:nth-child(3),
.has-js .product-grid[data-animate].is-visible > *:nth-child(3),
.has-js .feature-grid[data-animate].is-visible > *:nth-child(3) {
    transition-delay: 0.1s;
}

.has-js .collection-grid[data-animate].is-visible > *:nth-child(4),
.has-js .product-grid[data-animate].is-visible > *:nth-child(4),
.has-js .feature-grid[data-animate].is-visible > *:nth-child(4) {
    transition-delay: 0.15s;
}

.has-js .collection-grid[data-animate].is-visible > *:nth-child(5),
.has-js .product-grid[data-animate].is-visible > *:nth-child(5) {
    transition-delay: 0.2s;
}

.has-js .collection-grid[data-animate].is-visible > *:nth-child(6),
.has-js .product-grid[data-animate].is-visible > *:nth-child(6) {
    transition-delay: 0.25s;
}

.has-js .product-grid[data-animate].is-visible > *:nth-child(7) {
    transition-delay: 0.3s;
}

.has-js .product-grid[data-animate].is-visible > *:nth-child(8) {
    transition-delay: 0.35s;
}

.site-footer {
    background:
        linear-gradient(135deg, rgba(15, 118, 110, 0.22), transparent 34rem),
        #060707;
}

.site-footer__inner {
    padding-top: 3.25rem;
}

@keyframes hero-enter {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .has-js [data-animate],
    .has-js .collection-grid[data-animate] > *,
    .has-js .product-grid[data-animate] > *,
    .has-js .feature-grid[data-animate] > * {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 980px) {
    .home-hero {
        min-height: min(720px, 82svh);
    }

    .home-hero h1 {
        font-size: 3.4rem;
    }

    .home-stats__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-stats__inner div:nth-child(3) {
        border-left: 1px solid var(--line);
        border-top: 1px solid var(--line);
    }

    .home-stats__inner div:nth-child(4) {
        border-top: 1px solid var(--line);
    }

    .home-split,
    .home-split--reverse {
        grid-template-columns: 1fr;
    }

    .home-split__copy {
        position: static;
    }

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

@media (max-width: 720px) {
    .brand__logo {
        height: 42px;
    }

    .home-hero {
        min-height: min(680px, 84svh);
        padding: 4.5rem 0 3.4rem;
    }

    .home-hero h1 {
        font-size: 2.55rem;
    }

    .home-hero .hero__copy {
        font-size: 1.05rem;
    }

    .home-hero__promises {
        gap: 0.5rem;
    }

    .home-hero__promises li {
        font-size: 0.84rem;
    }

    .section {
        padding-bottom: 3.4rem;
        padding-top: 3.4rem;
    }

    .home-stats__inner,
    .feature-grid,
    .workflow-grid {
        grid-template-columns: 1fr;
    }

    .home-stats__inner div,
    .home-stats__inner div:last-child {
        border-left: 1px solid var(--line);
        border-right: 1px solid var(--line);
        border-top: 1px solid var(--line);
    }

    .home-stats__inner div:first-child {
        border-top: 0;
    }

    .feature-card,
    .workflow-grid article,
    .check-list {
        padding: 1rem;
    }
}

/* Premium commerce refinements */
.page-heading--storefront p {
    max-width: 620px;
}

.shop-browse {
    display: grid;
    gap: 1rem;
    margin: 0 auto;
    max-width: var(--max-width);
    padding: 0 0 1.4rem;
    width: min(92vw, var(--max-width));
}

.section--compact {
    padding-top: 2rem;
}

.shop-browse + .section--compact {
    padding-top: 1.4rem;
}

.section .shop-browse {
    padding-top: 0;
    width: 100%;
}

.shop-browse__summary {
    align-items: end;
    border-bottom: 1px solid var(--line);
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding-bottom: 1rem;
}

.shop-browse__summary h2 {
    font-size: 1.45rem;
}

.category-chips,
.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.category-chip,
.active-filters a {
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.9rem;
    font-weight: 800;
    min-height: 38px;
    padding: 0.45rem 0.8rem;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.category-chip {
    background: #ffffff;
    color: var(--ink-soft);
}

.category-chip:hover,
.category-chip.is-active {
    background: #0b1514;
    border-color: #0b1514;
    color: #ffffff;
    transform: translateY(-1px);
}

.shop-filter--enhanced {
    align-items: end;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 18px 50px rgba(6, 7, 7, 0.08);
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    max-width: none;
    padding: 1rem;
    width: 100%;
}

.shop-filter--enhanced > label {
    grid-column: span 2;
    min-width: 0;
}

.shop-filter--enhanced .shop-filter__search {
    grid-column: span 4;
}

.shop-filter--enhanced input,
.shop-filter--enhanced select {
    background: #ffffff;
}

.price-filter {
    display: grid;
    gap: 0.45rem 0.5rem;
    grid-column: span 4;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.price-filter legend,
.field-label,
.quantity-field > label {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
}

.price-filter legend {
    grid-column: 1 / -1;
}

.price-filter label {
    display: grid;
    gap: 0.35rem;
}

.filter-toggles {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 0.75rem;
    grid-column: span 3;
    min-width: 132px;
}

.filter-toggle {
    align-items: center;
    color: var(--ink-soft);
    display: flex;
    font-size: 0.9rem;
    font-weight: 800;
    gap: 0.5rem;
    min-height: 22px;
}

.filter-toggle input {
    appearance: none;
    accent-color: var(--accent);
    border: 1px solid var(--line);
    border-radius: 4px;
    flex: 0 0 18px;
    height: 1rem;
    min-height: 18px;
    padding: 0;
    width: 1rem;
}

.filter-toggle input:checked {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: inset 0 0 0 3px #ffffff;
}

.shop-filter--enhanced > .button {
    grid-column: span 2;
}

.active-filters {
    padding-top: 0.15rem;
}

.active-filters a {
    background: #eef4f1;
    border-color: #d3e3de;
    color: var(--accent-strong);
    gap: 0.45rem;
}

.active-filters a:hover {
    background: #e2eee9;
    transform: translateY(-1px);
}

.active-filters span {
    font-weight: 900;
}

.product-grid {
    gap: 1.2rem;
}

.product-card {
    isolation: isolate;
}

.product-card__media {
    overflow: hidden;
    position: relative;
}

.product-card__media img {
    transition: opacity 0.2s ease, transform 0.38s var(--ease-out);
}

.product-card:hover .product-card__media img {
    transform: scale(1.025);
}

.product-card__badge {
    background: rgba(6, 7, 7, 0.88);
    border-radius: 999px;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 900;
    left: 0.75rem;
    padding: 0.35rem 0.58rem;
    position: absolute;
    top: 0.75rem;
}

.product-card__badge--muted {
    background: rgba(102, 112, 109, 0.88);
}

.product-card__meta {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    min-height: 22px;
}

.product-card__meta:empty {
    display: none;
}

.product-card__meta span,
.product-card__collection {
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.78rem;
    font-style: normal;
    font-weight: 800;
}

.product-card__meta span {
    background: var(--gold-soft);
    color: #6b5620;
    padding: 0.2rem 0.45rem;
}

.product-card h3 {
    font-size: 1rem;
    line-height: 1.18;
}

.product-card__price {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.product-card__price span {
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 700;
}

.product-card__cta {
    align-items: center;
    border-top: 1px solid var(--line);
    color: var(--ink);
    display: flex;
    font-weight: 900;
    justify-content: space-between;
    margin: 0.2rem -1rem -1rem;
    min-height: 44px;
    padding: 0 1rem;
}

.product-card__cta::after {
    content: "\203A";
    font-size: 1.1rem;
}

.product-card__cta:hover {
    background: var(--surface-soft);
    color: var(--accent-strong);
}

.product-gallery {
    align-self: start;
    position: sticky;
    top: 98px;
}

.product-summary {
    gap: 1.15rem;
}

.product-summary__top {
    display: grid;
    gap: 0.65rem;
}

.product-summary__top h1 {
    font-size: 2.85rem;
    line-height: 1;
}

.product-price {
    color: var(--accent-strong);
    font-size: 1.7rem;
}

.product-promise-strip {
    border-bottom: 1px solid var(--line);
    border-top: 1px solid var(--line);
    display: grid;
    gap: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    list-style: none;
    margin: 0;
}

.product-promise-strip li {
    color: var(--ink-soft);
    font-size: 0.86rem;
    font-weight: 900;
    padding: 0.85rem 0.75rem;
    text-align: center;
}

.product-promise-strip li + li {
    border-left: 1px solid var(--line);
}

.add-to-cart {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 16px 42px rgba(6, 7, 7, 0.07);
    padding: 1rem;
}

.variation-picker,
.variation-picker__custom,
.variation-group,
.variation-card-list {
    display: grid;
    gap: 0.85rem;
}

.variation-picker__header {
    align-items: center;
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
}

.variation-picker__header span:last-child {
    color: var(--accent-strong);
    font-size: 0.86rem;
    font-weight: 900;
    text-align: right;
}

.variation-picker__custom {
    display: none;
}

.has-js .variation-picker__custom {
    display: grid;
}

.has-js .variation-native-label {
    height: 1px;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    position: absolute;
    width: 1px;
}

.variation-group {
    border: 0;
    padding: 0;
}

.variation-group legend {
    color: var(--ink);
    font-size: 0.95rem;
    font-weight: 900;
    margin-bottom: 0.55rem;
}

.variation-values {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.variation-value,
.variation-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    font-weight: 900;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.variation-value {
    align-items: center;
    display: inline-flex;
    gap: 0.45rem;
    min-height: 44px;
    padding: 0.55rem 0.72rem;
}

.variation-value:hover,
.variation-card:hover {
    border-color: rgba(15, 118, 110, 0.42);
    transform: translateY(-1px);
}

.variation-value.is-active,
.variation-card.is-active {
    background: #0b1514;
    border-color: #0b1514;
    box-shadow: 0 12px 28px rgba(6, 7, 7, 0.18);
    color: #ffffff;
}

.variation-value:disabled,
.variation-card:disabled {
    background: var(--surface-soft);
    color: #9aa3a0;
    cursor: not-allowed;
    opacity: 0.72;
    transform: none;
}

.variation-swatch {
    background: var(--swatch-color);
    border: 1px solid rgba(6, 7, 7, 0.16);
    border-radius: 50%;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.72);
    height: 18px;
    width: 18px;
}

.variation-card-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.variation-card {
    align-items: center;
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
    min-height: 68px;
    padding: 0.85rem;
    text-align: left;
}

.variation-card span {
    display: grid;
    gap: 0.22rem;
}

.variation-card small {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
}

.variation-card.is-active small {
    color: rgba(255, 255, 255, 0.72);
}

.variation-card em {
    color: var(--accent-strong);
    font-style: normal;
    font-weight: 900;
    white-space: nowrap;
}

.variation-card.is-active em {
    color: #ffffff;
}

.quantity-field {
    display: grid;
    gap: 0.4rem;
}

.quantity-stepper {
    border: 1px solid var(--line);
    border-radius: 8px;
    display: grid;
    grid-template-columns: 44px minmax(64px, 1fr) 44px;
    max-width: 180px;
    overflow: hidden;
}

.quantity-stepper button {
    align-items: center;
    background: var(--surface-soft);
    color: var(--ink);
    display: inline-flex;
    font-size: 1.15rem;
    font-weight: 900;
    justify-content: center;
}

.quantity-stepper button:hover {
    background: #eef4f1;
}

.quantity-stepper input {
    border: 0;
    border-left: 1px solid var(--line);
    border-radius: 0;
    border-right: 1px solid var(--line);
    min-height: 44px;
    padding: 0.5rem;
    text-align: center;
}

.form-error {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: 6px;
    color: var(--danger);
    font-size: 0.9rem;
    font-weight: 800;
    padding: 0.7rem 0.85rem;
}

.product-meta {
    background: linear-gradient(180deg, #ffffff, var(--surface-soft));
    border: 1px solid var(--line);
    border-radius: 8px;
    margin-top: 0;
    padding: 1rem;
}

.option-groups {
    border-top: 1px solid var(--line);
    padding-top: 1rem;
}

@media (max-width: 1120px) {
    .shop-filter--enhanced {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .shop-filter--enhanced > label,
    .shop-filter--enhanced .price-filter,
    .shop-filter--enhanced .filter-toggles {
        grid-column: auto;
    }

    .shop-filter--enhanced .shop-filter__search,
    .shop-filter--enhanced .button {
        grid-column: 1 / -1;
    }
}

@media (max-width: 980px) {
    .product-gallery {
        position: static;
    }

    .product-summary__top h1 {
        font-size: 2.35rem;
    }
}

@media (max-width: 720px) {
    .shop-browse__summary {
        align-items: flex-start;
        flex-direction: column;
    }

    .category-chips {
        flex-wrap: nowrap;
        margin-right: -4vw;
        overflow-x: auto;
        padding-bottom: 0.15rem;
        padding-right: 4vw;
    }

    .category-chip {
        flex: 0 0 auto;
    }

    .shop-filter--enhanced,
    .variation-card-list,
    .product-promise-strip {
        grid-template-columns: 1fr;
    }

    .shop-filter--enhanced > label,
    .shop-filter--enhanced .price-filter,
    .shop-filter--enhanced .filter-toggles,
    .shop-filter--enhanced .button {
        grid-column: 1 / -1;
    }

    .product-promise-strip li {
        text-align: left;
    }

    .product-promise-strip li + li {
        border-left: 0;
        border-top: 1px solid var(--line);
    }

    .variation-picker__header {
        align-items: flex-start;
        flex-direction: column;
    }

    .variation-picker__header span:last-child {
        text-align: left;
    }

    .product-actions .button {
        width: 100%;
    }

    .quantity-stepper {
        max-width: none;
    }
}
