:root {
    --green: #004236;
    --green-dark: #00332a;
    --pink: #fa6489;
    --ink: #1b1b1b;
    --muted: #9a9a9a;
    --line: #ededed;
    --surface: #f7f5f2;
    --serif: "Cormorant Garamond", Georgia, serif;
    --sans: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
    min-height: 100%;
}

body {
    background: #fff;
    color: var(--ink);
    display: flex;
    flex-direction: column;
    font-family: var(--sans);
    font-weight: 300;
    line-height: 1.5;
    min-height: 100vh;
    min-height: 100dvh;
    -webkit-font-smoothing: antialiased;
}

body.cart-open,
body.search-open {
    overflow: hidden;
}

.site-page-content {
    flex: 1 0 auto;
    min-width: 0;
    width: 100%;
}

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

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

button {
    background: none;
    border: 0;
    color: inherit;
    cursor: pointer;
    font: inherit;
}

img,
svg {
    display: block;
}

::selection {
    background: var(--green);
    color: #fff;
}

/* Header */
.site-header {
    backdrop-filter: blur(16px);
    background: rgba(255, 255, 255, .82);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 50;
    -webkit-backdrop-filter: blur(16px);
}

.header-inner {
    align-items: center;
    display: flex;
    gap: 34px;
    margin: 0 auto;
    max-width: 1360px;
    padding: 20px 40px;
}

.brand {
    align-items: center;
    display: flex;
    flex-direction: column;
    line-height: 1;
    margin-right: auto;
}

.brand-name {
    color: var(--green);
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-indent: .34em;
}

.brand-country {
    color: var(--green);
    font-size: 10px;
    letter-spacing: .44em;
    margin-top: 7px;
    opacity: .85;
    text-indent: 1.0em;
}

.main-nav {
    align-items: center;
    display: flex;
    gap: 30px;
}

.main-nav a,
.main-nav button {
    align-items: center;
    display: inline-flex;
    font-family: var(--serif);
    font-size: 20px;
    gap: 6px;
    white-space: nowrap;
}

.main-nav a:hover,
.main-nav button:hover,
.main-nav .active {
    color: var(--green);
}

.main-nav .active {
    font-weight: 600;
}

.nav-account {
    align-items: center;
    display: flex;
    gap: 12px;
}

.nav-account form {
    display: flex;
}

.main-nav .nav-logout {
    color: var(--muted);
    font-family: var(--sans);
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-trigger {
    padding-block: 14px;
}

.nav-dropdown-menu {
    background: rgba(255, 255, 255, .98);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: 0 18px 44px rgba(0, 66, 54, .14);
    left: 50%;
    min-width: 210px;
    opacity: 0;
    padding: 8px;
    pointer-events: none;
    position: absolute;
    top: calc(100% + 2px);
    transform: translate(-50%, 8px);
    transition: opacity .2s, transform .2s, visibility .2s;
    visibility: hidden;
    z-index: 80;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
    visibility: visible;
}

.main-nav .nav-dropdown-menu a {
    align-items: center;
    border-radius: 7px;
    display: flex;
    font-family: var(--sans);
    font-size: 14px;
    justify-content: space-between;
    padding: 12px 14px;
    transition: background .2s;
}

.main-nav .nav-dropdown-menu a:hover,
.main-nav .nav-dropdown-menu a:focus-visible {
    background: var(--surface);
}

.nav-dropdown-menu small {
    color: var(--muted);
    font-size: 10px;
    font-weight: 300;
    margin-left: 18px;
}

.caret {
    border-bottom: 1.4px solid currentColor;
    border-right: 1.4px solid currentColor;
    display: inline-block;
    height: 7px;
    opacity: .7;
    transform: translateY(-2px) rotate(45deg);
    width: 7px;
}

.cart-count {
    align-items: center;
    background: var(--green);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-family: var(--sans);
    font-size: 11px;
    height: 21px;
    justify-content: center;
    min-width: 21px;
    padding-inline: 6px;
}

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

.header-actions button,
.header-actions a {
    display: grid;
    padding: 4px;
    place-items: center;
}

.header-actions svg {
    height: 24px;
    width: 24px;
}

.header-heart {
    fill: var(--pink);
}

.search-icon {
    fill: none;
    stroke: var(--ink);
    stroke-width: 1.7;
}

/* Search */
.search-overlay {
    background: rgba(17, 31, 27, .42);
    inset: 0;
    opacity: 0;
    position: fixed;
    transition: opacity .26s ease, visibility .26s ease;
    visibility: hidden;
    z-index: 210;
}

.search-overlay.open {
    opacity: 1;
    visibility: visible;
}

.search-panel {
    background: #fff;
    box-shadow: 0 24px 70px rgba(0, 66, 54, .2);
    left: 0;
    pointer-events: none;
    position: fixed;
    right: 0;
    top: 0;
    transform: translateY(-105%);
    transition: transform .32s cubic-bezier(.4, 0, .2, 1);
    z-index: 220;
}

.search-panel.open {
    pointer-events: auto;
    transform: translateY(0);
}

.search-panel-inner {
    margin: 0 auto;
    max-width: 1120px;
    padding: 42px 40px 38px;
}

.search-panel-heading {
    align-items: flex-start;
    display: flex;
    justify-content: space-between;
}

.search-panel-heading h2 {
    color: var(--green);
    font-family: var(--serif);
    font-size: 44px;
    font-weight: 500;
    line-height: 1;
    margin-top: 10px;
}

.search-close {
    height: 44px;
    position: relative;
    width: 44px;
}

.search-close span {
    background: var(--green);
    height: 1px;
    left: 9px;
    position: absolute;
    top: 21px;
    width: 26px;
}

.search-close span:first-child {
    transform: rotate(45deg);
}

.search-close span:last-child {
    transform: rotate(-45deg);
}

.site-search-form {
    margin-top: 34px;
}

.site-search-field {
    align-items: center;
    border-bottom: 1px solid var(--green);
    display: grid;
    gap: 16px;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    padding: 8px 0 14px;
}

.site-search-field > svg {
    fill: none;
    height: 25px;
    stroke: var(--green);
    stroke-width: 1.5;
    width: 25px;
}

.site-search-field input {
    background: transparent;
    border: 0;
    color: var(--ink);
    font-family: var(--serif);
    font-size: clamp(28px, 4vw, 46px);
    font-weight: 400;
    min-width: 0;
    outline: 0;
    width: 100%;
}

.site-search-field input::placeholder {
    color: #c1c1c1;
}

.site-search-field button {
    background: var(--green);
    border-radius: 7px;
    color: #fff;
    font-size: 13px;
    letter-spacing: .08em;
    padding: 14px 26px;
    text-transform: uppercase;
}

.search-examples {
    align-items: center;
    color: var(--muted);
    display: flex;
    flex-wrap: wrap;
    font-size: 13px;
    gap: 10px 18px;
    margin-top: 22px;
}

.search-examples a {
    border-bottom: 1px solid #cfcfcf;
    color: var(--green);
    padding-bottom: 2px;
}

/* Catalog */
.catalog {
    margin: 0 auto;
    max-width: 1360px;
    padding: 60px 40px 40px;
}

.catalog-heading {
    align-items: flex-end;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    margin-bottom: 46px;
}

.eyebrow {
    color: #a7a7a7;
    font-size: 12px;
    letter-spacing: .34em;
    text-transform: uppercase;
}

.catalog-heading h1 {
    color: var(--green);
    font-family: var(--serif);
    font-size: 54px;
    font-weight: 500;
    letter-spacing: .02em;
    line-height: 1.05;
    margin-top: 12px;
}

.product-count {
    color: var(--muted);
    font-size: 14px;
    letter-spacing: .02em;
    margin-top: 12px;
}

.search-result-summary {
    color: var(--muted);
    font-size: 15px;
    margin-top: 14px;
}

.search-result-summary strong {
    color: var(--ink);
    font-weight: 400;
}

.catalog-search-form {
    align-items: center;
    border: 1px solid #dcdcdc;
    border-radius: 999px;
    display: grid;
    grid-template-columns: minmax(220px, 360px) 42px 34px;
    padding: 4px 6px 4px 20px;
}

.catalog-search-form input {
    background: transparent;
    border: 0;
    color: var(--ink);
    font: inherit;
    min-width: 0;
    outline: 0;
    width: 100%;
}

.catalog-search-form button,
.catalog-search-form > a {
    display: grid;
    height: 38px;
    place-items: center;
    width: 38px;
}

.catalog-search-form button {
    background: var(--green);
    border-radius: 50%;
    color: #fff;
}

.catalog-search-form button svg {
    fill: none;
    height: 18px;
    stroke: currentColor;
    stroke-width: 1.6;
    width: 18px;
}

.catalog-search-form > a {
    color: #999;
    font-size: 24px;
    line-height: 1;
}

.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.category-chip {
    border: 1px solid #dcdcdc;
    border-radius: 999px;
    color: #555;
    font-size: 13.5px;
    letter-spacing: .04em;
    padding: 10px 22px;
    transition: .2s;
}

.category-chip:hover,
.category-chip.active {
    background: var(--green);
    border-color: var(--green);
    color: #fff;
}

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

.product-card {
    align-items: center;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.product-image {
    aspect-ratio: 1;
    background: var(--surface);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: box-shadow .35s, transform .35s;
    width: 100%;
}

.product-card:hover .product-image {
    box-shadow: 0 22px 48px rgba(0, 66, 54, .14);
    transform: translateY(-4px);
}

.product-image > a {
    display: block;
    height: 100%;
}

.product-image img {
    height: 100%;
    object-fit: cover;
    transition: transform .7s ease;
    width: 100%;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.favorite-button {
    backdrop-filter: blur(4px);
    background: rgba(255, 255, 255, .72);
    border-radius: 999px;
    display: grid;
    height: 38px;
    padding: 0;
    place-items: center;
    position: absolute;
    right: 16px;
    top: 16px;
    transition: transform .18s;
    width: 38px;
    -webkit-backdrop-filter: blur(4px);
}

.favorite-button:hover {
    transform: scale(1.12);
}

.favorite-button svg {
    fill: none;
    height: 24px;
    stroke: #c2c2c2;
    stroke-width: 1.5;
    transition: .2s;
    width: 24px;
}

.favorite-button.active svg {
    fill: var(--pink);
    stroke: var(--pink);
}

.add-button {
    align-items: center;
    background: var(--green);
    border-radius: 50%;
    bottom: 16px;
    box-shadow: 0 6px 18px rgba(0, 66, 54, .24);
    color: #fff;
    display: grid;
    height: 44px;
    padding: 0;
    place-items: center;
    position: absolute;
    right: 16px;
    transition: transform .2s, box-shadow .2s;
    width: 44px;
}

.add-button:hover {
    box-shadow: 0 14px 32px rgba(0, 66, 54, .38);
    transform: scale(1.07);
}

.add-button:active {
    transform: scale(.9);
}

.add-button svg {
    fill: none;
    height: 17px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 1.6;
    width: 17px;
}

.product-card h2 {
    color: var(--ink);
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 600;
    letter-spacing: .05em;
    margin-top: 24px;
}

.product-description {
    color: var(--muted);
    font-size: 13.5px;
    letter-spacing: .02em;
    margin-top: 7px;
}

.product-price {
    color: var(--green);
    font-family: var(--serif);
    font-size: 21px;
    letter-spacing: .04em;
    margin-top: 12px;
}

.pager {
    align-items: center;
    display: flex;
    gap: 46px;
    justify-content: center;
    margin: 82px 0 20px;
}

.pager a {
    color: #b4b4b4;
    font-family: var(--serif);
    font-size: 20px;
    padding: 6px 4px;
}

.pager a.active,
.pager a:hover {
    color: var(--green);
}

.pager a.active {
    font-weight: 600;
}

.catalog-empty {
    align-items: center;
    background: var(--surface);
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    min-height: 380px;
    padding: 80px 24px;
    text-align: center;
}

.catalog-empty h2 {
    color: var(--green);
    font-family: var(--serif);
    font-size: 42px;
    font-weight: 500;
    margin-top: 12px;
}

.catalog-empty > p:not(.eyebrow) {
    color: var(--muted);
    margin-top: 8px;
}

.catalog-empty a {
    background: var(--green);
    border-radius: 7px;
    color: #fff;
    font-size: 14px;
    margin-top: 28px;
    padding: 15px 28px;
}

/* Cart */
.cart-overlay {
    background: rgba(30, 40, 36, .42);
    inset: 0;
    opacity: 0;
    position: fixed;
    transition: opacity .3s, visibility .3s;
    visibility: hidden;
    z-index: 190;
}

.cart-overlay.open {
    opacity: 1;
    visibility: visible;
}

.cart-panel {
    background: #fff;
    border-radius: 22px 0 0 22px;
    box-shadow: -18px 0 60px rgba(0, 0, 0, .16);
    display: flex;
    flex-direction: column;
    height: 100dvh;
    position: fixed;
    right: 0;
    top: 0;
    transform: translateX(102%);
    transition: transform .38s cubic-bezier(.4, 0, .2, 1);
    width: min(560px, 94vw);
    z-index: 200;
}

.cart-panel.open {
    transform: translateX(0);
}

.cart-header {
    align-items: center;
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    margin-inline: 40px;
    padding: 34px 0 22px;
}

.cart-header h2 {
    color: var(--green);
    font-size: 25px;
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.cart-close {
    width: 48px;
    height: 48px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    font-family: Arial, sans-serif;
    font-size: 30px;
    font-weight: 300;
    line-height: 1;
    appearance: none;
    -webkit-appearance: none;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0;
    outline: 0 !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent;
}

    .cart-close:hover,
    .cart-close:focus,
    .cart-close:focus-visible,
    .cart-close:active {
        background: transparent !important;
        border: 0 !important;
        outline: 0 !important;
        box-shadow: none !important;
    }

.cart-clear {
    align-self: flex-end;
    color: var(--muted);
    display: block;
    font-size: 13px;
    margin: 16px 40px 4px;
    text-align: right;
}

.cart-clear[hidden] {
    display: none;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 8px 40px;
}

.cart-items {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

    .cart-items::-webkit-scrollbar {
        display: none;
    }

.cart-empty {
    color: var(--muted);
    padding: 70px 0;
    text-align: center;
}

.cart-item {
    border-bottom: 1px solid var(--line);
    display: grid;
    gap: 22px;
    grid-template-columns: 104px minmax(0, 1fr);
    padding: 24px 0;
}

.cart-item-image {
    background: var(--surface);
    border-radius: 10px;
    height: 104px;
    overflow: hidden;
    width: 104px;
}

.cart-item-image img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.cart-item-info {
    min-height: 104px;
    padding-right: 30px;
    position: relative;
}

.cart-item-name {
    font-family: var(--serif);
    font-size: 19px;
    font-weight: 600;
    line-height: 1.15;
    text-transform: uppercase;
}

.cart-item-description {
    color: var(--muted);
    font-size: 13px;
    margin-top: 4px;
}

.cart-item-price {
    color: var(--green);
    font-family: var(--serif);
    font-size: 21px;
    font-weight: 600;
    margin-top: 12px;
}

.cart-remove {
    color: var(--green);
    font-size: 20px;
    position: absolute;
    right: 0;
    top: 0;
}

.cart-quantity {
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 999px;
    bottom: 0;
    display: flex;
    gap: 8px;
    padding: 5px 10px;
    position: absolute;
    right: 0;
}

.cart-quantity button {
    font-size: 17px;
    height: 24px;
    line-height: 1;
    width: 24px;
}

.cart-quantity span {
    font-size: 14px;
    min-width: 16px;
    text-align: center;
}

.cart-footer {
    border-top: 1px solid var(--line);
    padding: 22px 40px 30px;
}

.cart-footer[hidden] {
    display: none;
}

.cart-total-row {
    align-items: baseline;
    color: var(--green);
    display: flex;
    font-size: 20px;
    font-weight: 500;
    justify-content: space-between;
}

.cart-total-row strong {
    font-family: var(--serif);
    font-size: 30px;
    font-weight: 600;
}

.checkout-button {
    background: var(--green);
    border-radius: 6px;
    color: #fff;
    font-size: 15px;
    letter-spacing: .04em;
    margin-top: 20px;
    padding: 19px 24px;
    transition: background .2s;
    width: 100%;
}

.checkout-button:hover {
    background: var(--green-dark);
}

.toast {
    background: var(--green);
    border-radius: 999px;
    bottom: 34px;
    color: #fff;
    font-size: 14px;
    left: 50%;
    opacity: 0;
    padding: 13px 28px;
    pointer-events: none;
    position: fixed;
    transform: translate(-50%, 16px);
    transition: opacity .3s, transform .3s;
    white-space: nowrap;
    z-index: 250;
}

.toast.show {
    opacity: 1;
    transform: translate(-50%, 0);
}

.mobile-tabbar {
    display: none;
}

/* Favorites */
.favorites-heading {
    margin-bottom: 46px;
}

.favorites-page:not(.ready) .favorites-grid,
.favorites-page:not(.ready) .favorites-empty {
    visibility: hidden;
}

.favorites-grid[hidden] {
    display: none;
}

.favorites-grid .product-card[hidden] {
    display: none !important;
}

.favorites-empty {
    align-items: center;
    display: flex;
    flex-direction: column;
    margin: 60px auto 20px;
    max-width: 520px;
    padding: 54px 24px;
    text-align: center;
}

.favorites-empty[hidden] {
    display: none;
}

.favorites-empty-icon {
    align-items: center;
    background: rgba(250, 100, 137, .1);
    border-radius: 50%;
    display: grid;
    height: 84px;
    place-items: center;
    width: 84px;
}

.favorites-empty-icon svg {
    fill: none;
    height: 36px;
    stroke: var(--pink);
    stroke-width: 1.35;
    width: 36px;
}

.favorites-empty h2 {
    color: var(--green);
    font-family: var(--serif);
    font-size: 34px;
    font-weight: 500;
    margin-top: 24px;
}

.favorites-empty p {
    color: var(--muted);
    font-size: 14px;
    margin-top: 8px;
}

.favorites-catalog-link {
    background: var(--green);
    border-radius: 7px;
    color: #fff;
    font-size: 14px;
    letter-spacing: .04em;
    margin-top: 26px;
    padding: 15px 28px;
    transition: background .2s;
}

.favorites-catalog-link:hover {
    background: var(--green-dark);
    color: #fff;
}

/* Home */
.home-page {
    overflow: hidden;
}

.home-hero {
    display: grid;
    gap: 70px;
    grid-template-columns: minmax(320px, .8fr) minmax(520px, 1.2fr);
    margin: 0 auto;
    max-width: 1360px;
    min-height: min(780px, calc(100dvh - 82px));
    padding: 82px 40px 96px;
    position: relative;
}

.home-hero-copy {
    align-self: center;
    max-width: 520px;
    padding-left: clamp(0px, 3vw, 42px);
    position: relative;
    z-index: 2;
}

.home-hero-copy h1 {
    color: var(--green);
    font-family: var(--serif);
    font-size: clamp(58px, 6.1vw, 92px);
    font-weight: 500;
    letter-spacing: -.035em;
    line-height: .88;
    margin-top: 22px;
}

.home-hero-lead {
    color: #6f746f;
    font-size: 15px;
    line-height: 1.75;
    margin-top: 34px;
    max-width: 440px;
}

.home-hero-actions {
    align-items: center;
    display: flex;
    gap: 30px;
    margin-top: 38px;
}

.home-primary-link {
    background: var(--green);
    border: 1px solid var(--green);
    border-radius: 7px;
    color: #fff;
    font-size: 13px;
    letter-spacing: .06em;
    padding: 17px 25px;
    transition: background .2s, color .2s, transform .2s;
}

.home-primary-link:hover {
    background: transparent;
    color: var(--green);
    transform: translateY(-2px);
}

.home-text-link {
    border-bottom: 1px solid #c8cecb;
    color: var(--green);
    font-size: 13px;
    padding-bottom: 4px;
}

.home-text-link span {
    display: inline-block;
    margin-left: 8px;
    transition: transform .2s;
}

.home-text-link:hover span {
    transform: translate(3px, 3px);
}

.home-hero-visual {
    align-self: center;
    min-height: 560px;
    position: relative;
}

.home-hero-image {
    background: #f2e8e5;
    border-radius: 0;
    height: 560px;
    margin-left: auto;
    overflow: hidden;
    position: relative;
    width: min(100%, 650px);
}

.home-hero-image::after {
    background: linear-gradient(180deg, transparent 55%, rgba(0, 66, 54, .16));
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
}

.home-hero-image img {
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(.2, .7, .2, 1);
    width: 100%;
}

.home-hero:hover .home-hero-image img {
    transform: scale(1.025);
}

.home-hero-japanese {
    color: #aeb8b4;
    font-family: var(--serif);
    font-size: 13px;
    letter-spacing: .3em;
    position: absolute;
    right: 2px;
    top: 50%;
    transform: rotate(90deg) translateX(50%);
    transform-origin: right top;
}

.home-section {
    margin: 0 auto;
    max-width: 1360px;
    padding: 100px 40px;
}

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

.home-section-heading h2,
.home-brands h2,
.home-contact h2 {
    color: var(--green);
    font-family: var(--serif);
    font-size: clamp(42px, 5vw, 64px);
    font-weight: 500;
    letter-spacing: -.02em;
    line-height: 1;
    margin-top: 12px;
}

.home-view-all {
    border-bottom: 1px solid currentColor;
    color: var(--green);
    font-size: 13px;
    padding-bottom: 4px;
}

.home-view-all span {
    margin-left: 10px;
}

.home-products-actions {
    align-items: center;
    display: flex;
    gap: 28px;
}

.product-slider-controls {
    display: flex;
    gap: 10px;
}

.product-slider-button {
    align-items: center;
    border: 1px solid #d7dfdc;
    border-radius: 50%;
    color: var(--green);
    display: inline-flex;
    font-size: 20px;
    height: 46px;
    justify-content: center;
    transition: background .2s, border-color .2s, color .2s, opacity .2s;
    width: 46px;
}

.product-slider-button:hover:not(:disabled),
.product-slider-button:focus-visible:not(:disabled) {
    background: var(--green);
    border-color: var(--green);
    color: #fff;
}

.product-slider-button:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 3px;
}

.product-slider-button:disabled {
    cursor: default;
    opacity: .3;
}

.product-slider {
    min-width: 0;
    overflow: hidden;
}

.product-slider-track {
    display: grid;
    gap: 24px;
    grid-auto-columns: calc((100% - 72px) / 4);
    grid-auto-flow: column;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding: 8px 4px 30px;
    scroll-behavior: smooth;
    scroll-padding-inline: 4px;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
}

.product-slider-track::-webkit-scrollbar {
    display: none;
}

.product-slider-track:focus-visible {
    outline: 2px solid rgba(0, 66, 54, .3);
    outline-offset: 5px;
}

.product-slider-track > .product-card {
    min-width: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.home-story {
    background: var(--green);
    color: #fff;
    display: grid;
    gap: 30px 68px;
    grid-template-columns: 90px minmax(320px, .8fr) minmax(460px, 1.2fr);
    margin: 70px auto;
    max-width: 1440px;
    padding: 110px clamp(40px, 8vw, 120px);
}

.home-story-number {
    color: rgba(255, 255, 255, .48);
    font-family: var(--serif);
    font-size: 22px;
}

.home-story .eyebrow {
    color: rgba(255, 255, 255, .55);
}

.home-story-copy h2 {
    font-family: var(--serif);
    font-size: clamp(46px, 5.4vw, 72px);
    font-weight: 400;
    letter-spacing: -.025em;
    line-height: .98;
    margin-top: 16px;
}

.home-story-copy > p:last-child {
    color: rgba(255, 255, 255, .7);
    font-size: 14px;
    line-height: 1.8;
    margin-top: 30px;
}

.home-story-values {
    border-top: 1px solid rgba(255, 255, 255, .2);
}

.home-story-values article {
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, .2);
    display: grid;
    gap: 24px;
    grid-template-columns: 42px 140px minmax(0, 1fr);
    padding: 24px 0;
}

.home-story-values article > span {
    color: rgba(255, 255, 255, .45);
    font-family: var(--serif);
    font-size: 28px;
}

.home-story-values h3 {
    font-family: var(--serif);
    font-size: 21px;
    font-weight: 500;
}

.home-story-values p {
    color: rgba(255, 255, 255, .62);
    font-size: 13px;
}

.home-news-list {
    display: grid;
    gap: 70px;
    grid-template-columns: 1.15fr .85fr;
}

.home-news-featured {
    align-items: stretch;
    display: grid;
    gap: 32px;
    grid-template-columns: minmax(220px, .9fr) minmax(240px, 1.1fr);
}

.home-news-featured img {
    border-radius: 10px;
    height: 100%;
    min-height: 340px;
    object-fit: cover;
    width: 100%;
}

.home-news-featured > div {
    align-self: center;
}

.home-news-list time {
    color: var(--muted);
    font-size: 10px;
    letter-spacing: .12em;
}

.home-news-featured h3 {
    color: var(--green);
    font-family: var(--serif);
    font-size: 34px;
    font-weight: 500;
    line-height: 1.08;
    margin-top: 16px;
}

.home-news-featured p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
    margin-top: 18px;
}

.home-news-featured a {
    border-bottom: 1px solid currentColor;
    color: var(--green);
    display: inline-block;
    font-size: 12px;
    margin-top: 30px;
    padding-bottom: 3px;
}

.home-news-compact {
    border-top: 1px solid var(--line);
}

.home-news-compact article {
    border-bottom: 1px solid var(--line);
    display: grid;
    gap: 16px;
    grid-template-columns: 90px minmax(0, 1fr) 24px;
    padding: 27px 0;
}

.home-news-compact h3 {
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
}

.home-news-compact span {
    color: var(--green);
}

.home-brands {
    background: var(--surface);
    margin: 40px auto 0;
    max-width: 1440px;
    padding: 100px clamp(40px, 8vw, 120px);
    text-align: center;
}

.home-brand-cloud {
    align-items: center;
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    margin-top: 56px;
}

.home-brand-cloud > span {
    align-items: center;
    background: #fff;
    border: 1px solid #ebe8e3;
    color: var(--green);
    display: flex;
    font-family: var(--serif);
    font-size: 19px;
    height: 100px;
    justify-content: center;
    line-height: 1;
    padding: 16px;
    transition: box-shadow .25s, transform .25s;
}

.home-brand-cloud > span:hover {
    box-shadow: 0 16px 34px rgba(0, 66, 54, .09);
    transform: translateY(-4px);
}

.home-brand-cloud small {
    font-family: var(--sans);
    font-size: 7px;
    letter-spacing: .12em;
}

.home-contact {
    align-items: end;
    display: grid;
    gap: 50px;
    grid-template-columns: .9fr 1.1fr 110px;
    margin: 0 auto;
    max-width: 1360px;
    padding: 120px 40px 140px;
}

.home-contact-intro > p:last-child {
    color: var(--muted);
    font-size: 14px;
    margin-top: 20px;
    max-width: 360px;
}

.home-contact-links {
    border-top: 1px solid var(--line);
}

.home-contact-links > a,
.home-contact-links > div {
    align-items: center;
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    padding: 17px 0;
}

.home-contact-links span {
    color: var(--muted);
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.home-contact-links strong {
    color: var(--green);
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 500;
}

.home-contact-mark {
    align-items: center;
    aspect-ratio: 1;
    background: var(--green);
    border-radius: 50%;
    color: #fff;
    display: grid;
    font-family: var(--serif);
    font-size: 45px;
    place-items: center;
}

.home-footer {
    align-items: end;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1280px;
    padding: 34px 0 40px;
}

.home-footer .brand {
    margin-right: 0;
}

.home-footer > p,
.home-footer > a:last-child {
    color: var(--muted);
    font-size: 10px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

/* Authentication */
.auth-page {
    align-items: center;
    background: linear-gradient(145deg, #f5f1ec 0%, #fff 55%, #edf5f2 100%);
    display: flex;
    justify-content: center;
    min-height: calc(100vh - 105px);
    padding: 72px 24px 110px;
}

.auth-card {
    background: rgba(255, 255, 255, .94);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: 0 24px 70px rgba(0, 66, 54, .1);
    max-width: 510px;
    padding: 54px;
    text-align: center;
    width: 100%;
}

.auth-card h1 {
    color: var(--green);
    font-family: var(--serif);
    font-size: clamp(42px, 6vw, 58px);
    font-weight: 500;
    line-height: 1;
    margin-top: 14px;
}

.auth-description {
    color: var(--muted);
    font-size: 14px;
    margin: 20px auto 0;
    max-width: 370px;
}

.email-auth-form {
    display: grid;
    gap: 16px;
    margin-top: 30px;
    text-align: left;
}

.auth-field {
    display: grid;
    gap: 7px;
}

.auth-field label {
    color: #555;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.auth-field input {
    background: #fff;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    color: var(--ink);
    font: inherit;
    font-size: 15px;
    min-height: 50px;
    outline: none;
    padding: 12px 14px;
    transition: border-color .2s, box-shadow .2s;
    width: 100%;
}

.auth-field input:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(0, 66, 54, .08);
}

.auth-field span,
.auth-validation {
    color: #b83a4d;
    font-size: 11px;
}

.auth-field small {
    color: var(--muted);
    font-size: 10px;
}

.auth-validation:empty,
.auth-validation.validation-summary-valid {
    display: none;
}

.auth-validation ul {
    list-style: none;
}

.auth-remember {
    align-items: center;
    color: #666;
    cursor: pointer;
    display: flex;
    font-size: 12px;
    gap: 9px;
}

.auth-remember input {
    accent-color: var(--green);
    height: 16px;
    width: 16px;
}

.email-auth-button {
    background: var(--green);
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    min-height: 52px;
    padding: 13px 22px;
    transition: background .2s;
    width: 100%;
}

.email-auth-button:hover,
.email-auth-button:focus-visible {
    background: var(--green-dark);
}

.auth-switch {
    color: var(--muted);
    font-size: 12px;
    margin-top: 18px;
}

.auth-switch a {
    color: var(--green);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.auth-divider {
    align-items: center;
    color: #aaa;
    display: flex;
    font-size: 10px;
    gap: 14px;
    margin-top: 26px;
    text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
    background: var(--line);
    content: "";
    flex: 1;
    height: 1px;
}

.google-auth-button {
    align-items: center;
    border: 1px solid #d7d7d7;
    border-radius: 9px;
    display: flex;
    font-size: 15px;
    font-weight: 400;
    gap: 14px;
    justify-content: center;
    margin-top: 22px;
    min-height: 56px;
    padding: 14px 22px;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}

.google-auth-button:hover,
.google-auth-button:focus-visible {
    border-color: var(--green);
    box-shadow: 0 8px 24px rgba(0, 66, 54, .1);
    transform: translateY(-1px);
}

.google-auth-button svg {
    height: 23px;
    width: 23px;
}

.auth-note {
    color: #999;
    font-size: 11px;
    line-height: 1.6;
    margin-top: 22px;
}

.auth-step {
    align-items: center;
    background: var(--surface);
    border-radius: 999px;
    color: var(--green);
    display: inline-flex;
    font-size: 11px;
    font-weight: 500;
    justify-content: center;
    letter-spacing: .1em;
    margin-bottom: 24px;
    min-height: 32px;
    padding: 7px 14px;
}

.auth-phone-card .email-auth-form {
    margin-top: 32px;
}

.auth-cancel-form {
    margin-top: 20px;
}

.auth-cancel-form button {
    color: var(--muted);
    font-size: 11px;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Profile */
.profile-page {
    margin: 0 auto;
    max-width: 1180px;
    padding: 60px 40px 80px;
}

.profile-heading h1 {
    color: var(--green);
    font-family: var(--serif);
    font-size: 54px;
    font-weight: 500;
    line-height: 1.05;
    margin-top: 12px;
}

.profile-heading > p:last-child {
    color: var(--muted);
    font-size: 14px;
    margin-top: 12px;
}

.profile-layout {
    align-items: start;
    display: grid;
    gap: 34px;
    grid-template-columns: 230px minmax(0, 1fr);
    margin-top: 48px;
}

.profile-menu {
    border: 1px solid var(--line);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: sticky;
    top: 118px;
}

.profile-menu a {
    border-bottom: 1px solid var(--line);
    color: #666;
    font-size: 14px;
    padding: 16px 18px;
}

.profile-menu a:last-child {
    border-bottom: 0;
}

.profile-menu a:hover,
.profile-menu a.active {
    background: var(--surface);
    color: var(--green);
}

.profile-menu a.active {
    font-weight: 500;
}

.profile-content {
    display: grid;
    gap: 24px;
}

.profile-card {
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 34px;
    scroll-margin-top: 120px;
}

.profile-card-heading {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.profile-card h2 {
    color: var(--green);
    font-family: var(--serif);
    font-size: 34px;
    font-weight: 500;
    margin-top: 6px;
}

.profile-avatar {
    align-items: center;
    background: var(--green);
    border-radius: 50%;
    color: #fff;
    display: grid;
    font-family: var(--serif);
    font-size: 27px;
    height: 62px;
    place-items: center;
    width: 62px;
}

.profile-success {
    background: #edf6f3;
    border-radius: 7px;
    color: var(--green);
    font-size: 13px;
    margin-top: 24px;
    padding: 12px 14px;
}

.profile-provider {
    align-items: center;
    color: var(--muted);
    display: flex;
    font-size: 12px;
    gap: 8px;
    margin-top: 20px;
}

.profile-provider-dot {
    background: #34a853;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(52, 168, 83, .12);
    height: 8px;
    width: 8px;
}

.profile-login-methods {
    border: 1px solid var(--line);
    border-radius: 10px;
    display: grid;
    margin-top: 24px;
}

.profile-login-methods p {
    align-items: center;
    display: flex;
    justify-content: space-between;
    padding: 15px 17px;
}

.profile-login-methods p + p {
    border-top: 1px solid var(--line);
}

.profile-login-methods strong {
    color: var(--green);
    font-size: 14px;
    font-weight: 500;
}

.profile-login-methods span,
.profile-security-description {
    color: var(--muted);
    font-size: 13px;
}

.profile-security-description {
    line-height: 1.6;
    margin-top: 24px;
}

.profile-password-link {
    display: inline-block;
    margin-top: 18px;
}

.profile-google-link {
    max-width: 300px;
}

.profile-form {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 30px;
}

.profile-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.profile-field:nth-child(3),
.profile-save {
    grid-column: 1 / -1;
}

.profile-field label {
    color: #606060;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.profile-field input {
    border: 1px solid #dedede;
    border-radius: 7px;
    color: var(--ink);
    font: inherit;
    font-size: 15px;
    outline: none;
    padding: 14px 16px;
    transition: border-color .2s, box-shadow .2s;
    width: 100%;
}

.profile-field input:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(0, 66, 54, .08);
}

.profile-field span {
    color: #a22;
    font-size: 12px;
}

.profile-save {
    background: var(--green);
    border-radius: 7px;
    color: #fff;
    font-size: 14px;
    justify-self: start;
    margin-top: 6px;
    padding: 16px 26px;
}

.profile-save:hover {
    background: var(--green-dark);
}

.profile-logout-form {
    border-top: 1px solid var(--line);
    margin-top: 30px;
    padding-top: 22px;
}

.profile-logout-form button {
    color: #9c4050;
    font-size: 12px;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.profile-orders-count {
    align-items: center;
    background: var(--surface);
    border-radius: 50%;
    color: var(--green);
    display: grid;
    font-size: 14px;
    height: 42px;
    place-items: center;
    width: 42px;
}

.profile-orders-empty {
    align-items: flex-start;
    border-top: 1px solid var(--line);
    color: var(--muted);
    display: flex;
    flex-direction: column;
    font-size: 14px;
    margin-top: 24px;
    padding-top: 24px;
}

.profile-orders-empty a {
    border-bottom: 1px solid currentColor;
    color: var(--green);
    margin-top: 12px;
}

/* Product details */
.details-main {
    margin: 0 auto;
    max-width: 1360px;
    padding: 34px 40px 60px;
}

.breadcrumbs {
    align-items: center;
    color: var(--muted);
    display: flex;
    font-size: 12px;
    gap: 10px;
    letter-spacing: .04em;
    margin-bottom: 34px;
}

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

.product-hero {
    align-items: start;
    display: grid;
    gap: 72px;
    grid-template-columns: minmax(0, 1.06fr) minmax(380px, .94fr);
}

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

.gallery-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.gallery-thumbnail {
    aspect-ratio: 1;
    background: var(--surface);
    border: 1px solid transparent;
    border-radius: 10px;
    overflow: hidden;
    padding: 0;
    transition: border-color .2s, opacity .2s;
    width: 84px;
}

.gallery-thumbnail:not(.active) {
    opacity: .58;
}

.gallery-thumbnail.active,
.gallery-thumbnail:hover {
    border-color: var(--green);
    opacity: 1;
}

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

.gallery-main {
    aspect-ratio: 1;
    background: var(--surface);
    border-radius: 18px;
    overflow: hidden;
}

.gallery-main img {
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transition: opacity .15s ease;
    width: 100%;
}

.gallery-main img.changing {
    opacity: 0;
}

.gallery-empty {
    align-items: center;
    color: var(--muted);
    display: flex;
    justify-content: center;
    min-height: 520px;
}

.product-info {
    padding-top: 24px;
}

.product-kicker {
    color: var(--muted);
    font-size: 11px;
    letter-spacing: .3em;
    text-transform: uppercase;
}

.product-info h1 {
    color: var(--green);
    font-family: var(--serif);
    font-size: clamp(38px, 4vw, 54px);
    font-weight: 500;
    letter-spacing: .01em;
    line-height: 1.03;
    margin-top: 16px;
    max-width: 620px;
    text-transform: uppercase;
}

.product-lead {
    color: var(--muted);
    font-size: 15px;
    letter-spacing: .02em;
    margin-top: 14px;
}

.variant-section {
    margin-top: 30px;
}

.variant-label {
    color: var(--muted);
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
}

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

.variant-button {
    border: 1px solid #d9d9d9;
    border-radius: 999px;
    color: #555;
    font-size: 13px;
    min-width: 88px;
    padding: 11px 20px;
    transition: .2s;
}

.variant-button:hover,
.variant-button.active {
    background: var(--green);
    border-color: var(--green);
    color: #fff;
}

.product-unavailable {
    color: var(--pink);
    margin-top: 30px;
}

.price-row {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.current-price {
    color: var(--green);
    font-family: var(--serif);
    font-size: 34px;
    font-weight: 600;
}

.old-price {
    color: #aaa;
    font-size: 15px;
    text-decoration: line-through;
}

.discount {
    background: rgba(250, 100, 137, .12);
    border-radius: 999px;
    color: var(--pink);
    font-size: 12px;
    font-weight: 500;
    padding: 7px 11px;
}

.is-hidden {
    display: none;
}

.product-actions {
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, 1fr) 58px;
    margin-top: 30px;
    max-width: 540px;
}

.product-add-button {
    background: var(--green);
    border-radius: 7px;
    color: #fff;
    font-size: 14px;
    letter-spacing: .05em;
    min-height: 58px;
    padding: 17px 24px;
    transition: background .2s, transform .2s;
}

.product-add-button:hover {
    background: var(--green-dark);
}

.product-add-button:active {
    transform: scale(.98);
}

.product-add-button:disabled {
    cursor: not-allowed;
    opacity: .5;
}

.product-favorite {
    border: 1px solid #d9d9d9;
    border-radius: 7px;
    display: grid;
    height: 58px;
    padding: 0;
    place-items: center;
    width: 58px;
}

.product-favorite svg {
    fill: none;
    height: 24px;
    stroke: #a6a6a6;
    stroke-width: 1.5;
    transition: .2s;
    width: 24px;
}

.product-favorite.active svg {
    fill: var(--pink);
    stroke: var(--pink);
}

.delivery-note {
    border-top: 1px solid var(--line);
    color: var(--green);
    display: flex;
    flex-direction: column;
    font-size: 13px;
    gap: 3px;
    margin-top: 32px;
    max-width: 540px;
    padding-top: 20px;
}

.delivery-note small {
    color: var(--muted);
    font-size: 12px;
}

.accordion {
    border-top: 1px solid var(--line);
    margin-top: 82px;
}

.accordion-item {
    border-bottom: 1px solid var(--line);
}

.accordion-header {
    align-items: center;
    display: flex;
    font-family: var(--serif);
    font-size: 21px;
    font-weight: 500;
    justify-content: space-between;
    letter-spacing: .04em;
    padding: 26px 4px;
    text-align: left;
    text-transform: uppercase;
    width: 100%;
}

.accordion-icon {
    height: 16px;
    position: relative;
    width: 16px;
}

.accordion-icon::before,
.accordion-icon::after {
    background: var(--green);
    content: "";
    left: 0;
    position: absolute;
    top: 7px;
    transition: transform .25s, opacity .25s;
}

.accordion-icon::before {
    height: 1px;
    width: 16px;
}

.accordion-icon::after {
    height: 16px;
    left: 7px;
    top: 0;
    width: 1px;
}

.accordion-item.open .accordion-icon::after {
    opacity: 0;
    transform: scaleY(0);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
}

.accordion-content {
    color: #535353;
    font-size: 14px;
    line-height: 1.85;
    max-width: 940px;
    padding: 0 4px 30px;
}

.accordion-meta {
    color: var(--muted);
    font-size: 12px;
    margin-top: 20px;
}

.product-attributes {
    display: grid;
    gap: 0 48px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 28px 0 0;
    max-width: 760px;
}

.product-attributes > div {
    border-top: 1px solid var(--line);
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(130px, .8fr) minmax(0, 1fr);
    padding: 13px 0;
}

.product-attributes dt {
    color: var(--muted);
}

.product-attributes dd {
    color: var(--green);
    margin: 0;
}

.recommendations {
    margin-top: 96px;
}

.recommendations-heading {
    align-items: flex-end;
    display: flex;
    justify-content: space-between;
    margin-bottom: 36px;
}

.recommendations-heading h2 {
    color: var(--green);
    font-family: var(--serif);
    font-size: 42px;
    font-weight: 500;
    line-height: 1;
    margin-top: 10px;
}

.recommendations-heading > a {
    border-bottom: 1px solid currentColor;
    color: var(--green);
    font-size: 13px;
    padding-bottom: 3px;
}

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

@media (max-width: 980px) {
    .product-grid {
        column-gap: 44px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .main-nav {
        gap: 20px;
    }

    .product-hero {
        gap: 50px;
        grid-template-columns: 1fr;
    }

    .product-info {
        max-width: 720px;
        padding-top: 0;
    }

    .home-hero {
        gap: 34px;
        grid-template-columns: .8fr 1.2fr;
    }

    .home-story {
        grid-template-columns: 54px 1fr;
    }

    .home-story-values {
        grid-column: 2;
    }

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

    .product-slider-track {
        gap: 22px;
        grid-auto-columns: calc((100% - 44px) / 3);
    }
}

@media (max-width: 760px) {
    html,
    body {
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* old Edge */

        max-width: 100%;
        overflow-x: hidden;
    }

        html::-webkit-scrollbar,
        body::-webkit-scrollbar {
            display: none; /* Chrome, Safari */
            width: 0;
            height: 0;
        }

    .header-inner {
        gap: 20px;
        padding: 16px 22px;
    }

    .main-nav,
    .header-actions > :first-child {
        display: none;
    }

    .brand-name {
        font-size: 26px;
    }

    .catalog {
        padding: 34px 22px 20px;
    }

    .search-panel-inner {
        padding: 28px 22px 30px;
    }

    .search-panel-heading h2 {
        font-size: 36px;
    }

    .site-search-form {
        margin-top: 26px;
    }

    .site-search-field {
        gap: 10px;
        grid-template-columns: 24px minmax(0, 1fr);
        padding-bottom: 12px;
    }

    .site-search-field > svg {
        height: 22px;
        width: 22px;
    }

    .site-search-field input {
        font-size: 24px;
    }

    .site-search-field button {
        grid-column: 1 / -1;
        margin-top: 8px;
        padding: 13px 20px;
        width: 100%;
    }

    .search-examples {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        margin-top: 18px;
    }

    .home-hero {
        display: flex;
        flex-direction: column;
        gap: 0;
        min-height: auto;
        padding: 40px 22px 24px;
    }

    .home-hero-copy {
        padding-left: 0;
    }

    .home-hero-copy h1 {
        font-size: clamp(52px, 16vw, 72px);
    }

    .home-hero-lead {
        font-size: 14px;
        margin-top: 26px;
    }

    .home-hero-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
        margin-top: 30px;
    }

    .home-primary-link {
        text-align: center;
        width: 100%;
    }

    .home-hero-visual {
        display: none;
    }

    .home-hero-japanese {
        display: none;
    }

    .home-section {
        padding: 72px 22px;
    }

    .home-products {
        padding-top: 28px;
    }

    .home-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
        margin-bottom: 34px;
    }

    .home-section-heading h2,
    .home-brands h2,
    .home-contact h2 {
        font-size: 42px;
    }

    .home-products-actions {
        justify-content: space-between;
        width: 100%;
    }

    .product-slider-button {
        height: 42px;
        width: 42px;
    }

    .product-slider-track {
        gap: 16px;
        grid-auto-columns: calc((100% - 16px) / 2);
        padding-bottom: 20px;
    }

    .home-story {
        display: block;
        margin: 36px 0;
        padding: 72px 22px;
    }

    .home-story-number {
        margin-bottom: 34px;
    }

    .home-story-copy h2 {
        font-size: 48px;
    }

    .home-story-values {
        margin-top: 54px;
    }

    .home-story-values article {
        gap: 14px;
        grid-template-columns: 36px minmax(0, 1fr);
    }

    .home-story-values article p {
        grid-column: 2;
    }

    .home-news-list {
        display: block;
    }

    .home-news-featured {
        display: block;
    }

    .home-news-featured img {
        height: 300px;
        min-height: 0;
    }

    .home-news-featured > div {
        margin-top: 24px;
    }

    .home-news-compact {
        margin-top: 48px;
    }

    .home-news-compact article {
        grid-template-columns: 76px minmax(0, 1fr) 16px;
    }

    .home-brands {
        padding: 72px 22px;
    }

    .home-brand-cloud {
        gap: 10px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 38px;
    }

    .home-brand-cloud > span {
        height: 86px;
    }

    .home-contact {
        display: block;
        padding: 86px 22px 96px;
    }

    .home-contact-links {
        margin-top: 42px;
    }

    .home-contact-links > a,
    .home-contact-links > div {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .home-contact-mark {
        margin-top: 42px;
        width: 76px;
    }

    .home-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 24px;
        margin-inline: 22px;
        padding-bottom: 120px;
    }

    .profile-page {
        padding: 34px 22px 40px;
    }

    .profile-heading h1 {
        font-size: 38px;
    }

    .profile-layout {
        display: block;
        margin-top: 30px;
    }

    .profile-menu {
        flex-direction: row;
        margin-bottom: 20px;
        overflow-x: auto;
        position: static;
        scrollbar-width: none;
    }

    .profile-menu::-webkit-scrollbar {
        display: none;
    }

    .profile-menu a {
        border-bottom: 0;
        border-right: 1px solid var(--line);
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .profile-card {
        padding: 24px;
    }

    .profile-form {
        grid-template-columns: 1fr;
    }

    .profile-field,
    .profile-field:nth-child(3),
    .profile-save {
        grid-column: 1;
    }

    .profile-save {
        justify-self: stretch;
    }

    .details-main {
        padding: 24px 22px 40px;
    }

    .breadcrumbs {
        margin-bottom: 24px;
    }

    .catalog-heading {
        align-items: stretch;
        margin-bottom: 30px;
    }

    .catalog-heading-search {
        display: block;
    }

    .catalog-search-form {
        grid-template-columns: minmax(0, 1fr) 42px 32px;
        margin-top: 24px;
        width: 100%;
    }

    .favorites-empty {
        margin-top: 30px;
        padding-top: 36px;
    }

    .catalog-heading h1 {
        font-size: 38px;
    }

    .category-chip {
        padding: 9px 16px;
    }

    .product-grid {
        column-gap: 18px;
        row-gap: 40px;
    }

    .product-card h2 {
        font-size: 20px;
        margin-top: 16px;
    }

    .product-description {
        font-size: 12.5px;
    }

    .product-price {
        font-size: 18px;
    }

    .favorite-button {
        height: 36px;
        right: 12px;
        top: 12px;
        width: 36px;
    }

    .favorite-button svg {
        height: 22px;
        width: 22px;
    }

    .add-button {
        bottom: 12px;
        height: 38px;
        right: 12px;
        width: 38px;
    }

    .pager {
        gap: 30px;
        margin: 50px 0 16px;
    }

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

    .gallery-thumbnails {
        flex-direction: row;
        gap: 10px;
    }

    .gallery-thumbnail {
        width: 70px;
    }

    .gallery-main {
        border-radius: 14px;
    }

    .product-info h1 {
        font-size: 38px;
    }

    .variant-section {
        margin-top: 26px;
    }

    .current-price {
        font-size: 30px;
    }

    .accordion {
        margin-top: 58px;
    }

    .accordion-header {
        font-size: 18px;
        padding-block: 22px;
    }

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

    .recommendations {
        margin-top: 72px;
    }

    .recommendations-heading h2 {
        font-size: 36px;
    }

    .recommendations-grid {
        gap: 40px 18px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mobile-tabbar {
        align-items: center;
        background: var(--green);
        bottom: 0;
        box-shadow: 0 -6px 22px rgba(0, 66, 54, .14);
        display: flex;
        justify-content: space-around;
        left: 0;
        padding: 14px 24px calc(14px + env(safe-area-inset-bottom));
        position: fixed;
        right: 0;
        width: 100%;
        z-index: 180;
    }

    .mobile-tabbar a,
    .mobile-tabbar button {
        color: #fff;
        display: grid;
        opacity: .78;
        padding: 6px 18px;
        place-items: center;
        position: relative;
    }

    .mobile-tabbar .active {
        opacity: 1;
    }

    .mobile-tabbar svg {
        fill: none;
        height: 22px;
        stroke: currentColor;
        stroke-linecap: round;
        stroke-linejoin: round;
        stroke-width: 1.5;
        width: 22px;
    }

    .mobile-tabbar .cart-count {
        background: #fff;
        color: var(--green);
        font-size: 10px;
        height: 16px;
        min-width: 16px;
        padding-inline: 4px;
        position: absolute;
        right: 8px;
        top: 0;
    }

    .cart-panel {
        border-radius: 22px 22px 0 0;
        bottom: 0;
        height: 92dvh;
        left: 0;
        right: 0;
        top: auto;
        transform: translateY(102%);
        width: 100vw;
    }

    .cart-panel.open {
        transform: translateY(0);
    }

    .cart-header {
        margin-inline: 24px;
        padding-top: 26px;
    }

    .cart-clear {
        margin-right: 24px;
    }

    .cart-items,
    .cart-footer {
        padding-inline: 24px;
    }

    .toast {
        bottom: 104px;
        max-width: calc(100vw - 32px);
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media (max-width: 430px) {
    .eyebrow {
        font-size: 10px;
    }

    .product-slider-track {
        grid-auto-columns: min(76vw, 286px);
    }

    .category-filter {
        gap: 7px;
    }

    .category-chip {
        font-size: 12px;
        padding: 8px 12px;
    }

    .cart-item {
        gap: 14px;
        grid-template-columns: 88px minmax(0, 1fr);
    }

    .cart-item-image {
        height: 88px;
        width: 88px;
    }

    .product-actions {
        grid-template-columns: minmax(0, 1fr) 54px;
    }

    .product-add-button,
    .product-favorite {
        height: 54px;
        min-height: 54px;
    }

    .product-favorite {
        width: 54px;
    }
}

/* Admin products */
.admin-page {
    margin: 0 auto;
    max-width: 1360px;
    padding: 54px 40px 100px;
}

.admin-heading {
    align-items: flex-end;
    display: flex;
    gap: 30px;
    justify-content: space-between;
    margin-bottom: 34px;
}

.admin-heading h1 {
    color: var(--green);
    font-family: var(--serif);
    font-size: clamp(44px, 5vw, 68px);
    font-weight: 500;
    line-height: 1;
    margin-top: 7px;
}

.admin-heading p:not(.eyebrow) {
    color: var(--muted);
    margin-top: 12px;
    max-width: 650px;
}

.admin-primary-button,
.admin-secondary-button {
    align-items: center;
    border-radius: 7px;
    display: inline-flex;
    font-size: 13px;
    justify-content: center;
    letter-spacing: .04em;
    min-height: 48px;
    padding: 13px 22px;
}

.admin-primary-button {
    background: var(--green);
    color: #fff;
}

.admin-primary-button:hover {
    background: var(--green-dark);
}

.admin-secondary-button {
    border: 1px solid var(--line);
    color: var(--green);
}

.admin-alert {
    background: rgba(0, 66, 54, .08);
    border: 1px solid rgba(0, 66, 54, .14);
    border-radius: 8px;
    color: var(--green);
    margin-bottom: 24px;
    padding: 14px 18px;
}

.admin-stats {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 190px));
    margin-bottom: 28px;
}

.admin-stats article {
    background: var(--surface);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    padding: 18px 22px;
}

.admin-stats span {
    color: var(--green);
    font-family: var(--serif);
    font-size: 34px;
    font-weight: 600;
    line-height: 1;
}

.admin-stats small {
    color: var(--muted);
    margin-top: 6px;
}

.admin-catalog-panel,
.admin-form-section {
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
}

.admin-toolbar {
    align-items: center;
    background: var(--surface);
    display: flex;
    gap: 20px;
    justify-content: space-between;
    padding: 18px 20px;
}

.admin-toolbar > span {
    color: var(--muted);
    font-size: 12px;
}

.admin-search {
    align-items: center;
    display: flex;
    gap: 10px;
    width: min(100%, 620px);
}

.admin-search input {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 7px;
    flex: 1;
    font: inherit;
    min-width: 0;
    padding: 11px 14px;
}

.admin-search button,
.admin-search a {
    color: var(--green);
    font-size: 13px;
    font-weight: 500;
    padding: 8px;
}

.admin-product-row {
    align-items: center;
    border-top: 1px solid var(--line);
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(260px, 1.8fr) minmax(130px, .8fr) minmax(210px, 1.3fr) auto;
    padding: 18px 20px;
}

.admin-product-table-head {
    border-top: 0;
    color: var(--muted);
    font-size: 10px;
    letter-spacing: .12em;
    padding-block: 11px;
    text-transform: uppercase;
}

.admin-product-identity {
    align-items: center;
    display: flex;
    gap: 14px;
    min-width: 0;
}

.admin-product-thumb {
    align-items: center;
    background: var(--surface);
    border-radius: 8px;
    display: flex;
    flex: 0 0 58px;
    height: 64px;
    justify-content: center;
    overflow: hidden;
}

.admin-product-thumb img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.admin-product-identity strong,
.admin-product-identity small,
.admin-product-category small {
    display: block;
}

.admin-product-identity strong {
    color: var(--green);
    font-weight: 500;
}

.admin-product-identity small,
.admin-product-category small {
    color: var(--muted);
    font-size: 11px;
    margin-top: 4px;
}

.admin-product-variants {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.admin-product-variants > span {
    background: var(--surface);
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    font-size: 11px;
    padding: 7px 10px;
}

.admin-product-variants strong {
    color: var(--green);
    font-size: 12px;
    font-weight: 500;
}

.admin-row-actions {
    align-items: center;
    display: flex;
    gap: 8px;
}

.admin-row-actions a,
.admin-row-actions button {
    border-radius: 6px;
    font-size: 12px;
    padding: 8px 10px;
}

.admin-row-actions a:hover {
    background: var(--surface);
}

.admin-row-actions .admin-edit-link {
    background: var(--green);
    color: #fff;
}

.admin-row-actions button {
    color: #b83a4d;
}

.admin-empty {
    padding: 70px 24px;
    text-align: center;
}

.admin-empty h2 {
    color: var(--green);
    font-family: var(--serif);
    font-size: 30px;
    font-weight: 500;
}

.admin-empty p {
    color: var(--muted);
    margin-top: 8px;
}

.admin-edit-page {
    max-width: 1120px;
}

.admin-breadcrumbs {
    color: var(--muted);
    display: flex;
    font-size: 12px;
    gap: 9px;
    margin-bottom: 26px;
}

.admin-breadcrumbs a:hover {
    color: var(--green);
}

.admin-product-form {
    display: grid;
    gap: 20px;
}

.admin-form-section {
    padding: 30px;
}

.admin-form-section-heading {
    align-items: flex-start;
    display: flex;
    gap: 16px;
    margin-bottom: 26px;
}

.admin-form-section-heading > span {
    align-items: center;
    background: var(--surface);
    border-radius: 50%;
    color: var(--green);
    display: flex;
    flex: 0 0 38px;
    font-size: 11px;
    height: 38px;
    justify-content: center;
}

.admin-form-section-heading h2 {
    color: var(--green);
    font-family: var(--serif);
    font-size: 27px;
    font-weight: 500;
}

.admin-form-section-heading p {
    color: var(--muted);
    font-size: 12px;
    margin-top: 2px;
}

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

.admin-field-wide {
    grid-column: 1 / -1;
}

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

.admin-field label {
    color: #555;
    font-size: 12px;
    font-weight: 500;
}

.admin-field input,
.admin-field textarea,
.admin-field select {
    background: #fff;
    border: 1px solid #dcdcdc;
    border-radius: 7px;
    color: var(--ink);
    font: inherit;
    font-size: 14px;
    outline: none;
    padding: 12px 13px;
    transition: border-color .2s, box-shadow .2s;
    width: 100%;
}

.admin-field textarea {
    line-height: 1.65;
    resize: vertical;
}

.admin-field input:focus,
.admin-field textarea:focus,
.admin-field select:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(0, 66, 54, .08);
}

.admin-field > small {
    color: var(--muted);
    font-size: 11px;
}

.admin-field > span,
.admin-variants-error,
.admin-validation-summary {
    color: #b83a4d;
    font-size: 11px;
}

.admin-validation-summary:empty,
.admin-variants-error:empty {
    display: none;
}

.admin-currency-input {
    text-transform: uppercase;
}

.admin-photo-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.admin-photo-preview figure {
    background: var(--surface);
    border-radius: 8px;
    overflow: hidden;
    width: 110px;
}

.admin-photo-item label {
    align-items: center;
    color: #8d2939;
    cursor: pointer;
    display: flex;
    font-size: 11px;
    gap: 6px;
    padding: 8px;
}

.admin-photo-item label input {
    accent-color: #8d2939;
    height: 15px;
    margin: 0;
    width: 15px;
}

.admin-photo-preview img {
    height: 92px;
    object-fit: cover;
    width: 100%;
}

.admin-photo-preview figure.missing img {
    opacity: .15;
}

.admin-photo-preview figcaption {
    font-size: 10px;
    overflow: hidden;
    padding: 7px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-variants-heading {
    align-items: center;
}

.admin-add-variant {
    border: 1px solid var(--green);
    border-radius: 7px;
    color: var(--green);
    font-size: 12px;
    margin-left: auto;
    padding: 10px 14px;
}

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

.admin-variant-row {
    align-items: end;
    background: var(--surface);
    border-radius: 9px;
    display: grid;
    gap: 12px;
    grid-template-columns: auto repeat(4, minmax(110px, 1fr)) auto;
    padding: 16px;
}

.admin-variant-number {
    align-self: center;
    color: var(--green);
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

.admin-remove-variant {
    align-items: center;
    border-radius: 6px;
    color: #b83a4d;
    display: flex;
    font-size: 22px;
    height: 42px;
    justify-content: center;
    width: 38px;
}

.admin-remove-variant:hover:not(:disabled) {
    background: rgba(184, 58, 77, .08);
}

.admin-remove-variant:disabled {
    cursor: not-allowed;
    opacity: .25;
}

.admin-form-actions {
    align-items: center;
    display: flex;
    justify-content: flex-end;
    gap: 18px;
    padding-top: 10px;
}

.admin-form-actions > a {
    color: var(--muted);
    font-size: 13px;
}

@media (max-width: 1050px) {
    .admin-product-table-head {
        display: none;
    }

    .admin-product-row {
        grid-template-columns: minmax(250px, 1.5fr) minmax(180px, 1fr);
    }

    .admin-row-actions {
        justify-content: flex-start;
    }

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

    .admin-variant-number {
        grid-column: 1 / -1;
    }

    .admin-remove-variant {
        position: absolute;
        right: 20px;
    }

    .admin-variant-row {
        position: relative;
    }
}

@media (max-width: 700px) {
    .auth-page {
        align-items: flex-start;
        min-height: calc(100vh - 88px);
        padding: 38px 20px 110px;
    }

    .auth-card {
        padding: 38px 24px;
    }

    .admin-page {
        padding: 36px 20px 100px;
    }

    .admin-heading,
    .admin-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-primary-button,
    .admin-secondary-button {
        width: 100%;
    }

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

    .admin-search {
        flex-wrap: wrap;
    }

    .admin-search input {
        flex-basis: 100%;
    }

    .admin-product-row,
    .admin-form-grid,
    .admin-variant-row {
        grid-template-columns: 1fr;
    }

    .admin-product-row {
        align-items: start;
    }

    .admin-form-section {
        padding: 22px 18px;
    }

    .admin-field-wide {
        grid-column: auto;
    }

    .admin-variants-heading {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .admin-add-variant {
        margin: 8px 0 0 54px;
    }

    .admin-form-actions {
        align-items: stretch;
        flex-direction: column-reverse;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

/* Legal pages */
.legal-page {
    margin: 0 auto;
    max-width: 1120px;
    padding: 72px 40px 100px;
}

.legal-hero {
    border-bottom: 1px solid var(--line);
    margin-bottom: 46px;
    padding-bottom: 34px;
}

.legal-hero h1 {
    color: var(--green);
    font-family: var(--serif);
    font-size: clamp(42px, 6vw, 70px);
    font-weight: 500;
    letter-spacing: -.02em;
    line-height: 1;
    margin: 12px 0 18px;
    max-width: 900px;
}

.legal-hero > p:last-child {
    color: var(--muted);
    font-size: 14px;
}

.legal-document {
    margin: 0 auto;
    max-width: 860px;
}

.legal-document section {
    border-bottom: 1px solid var(--line);
    padding: 0 0 34px;
}

.legal-document section + section {
    padding-top: 34px;
}

.legal-document section:last-child {
    border-bottom: 0;
}

.legal-document h2 {
    color: var(--green);
    font-family: var(--serif);
    font-size: 30px;
    font-weight: 500;
    line-height: 1.15;
    margin-bottom: 16px;
}

.legal-document p,
.legal-document li,
.legal-document dd,
.legal-document dt {
    font-size: 15px;
    line-height: 1.75;
}

.legal-document p + p,
.legal-document p + ul,
.legal-document p + ol,
.legal-document ul + p,
.legal-document ol + p {
    margin-top: 14px;
}

.legal-document ul,
.legal-document ol {
    display: grid;
    gap: 8px;
    padding-left: 24px;
}

.legal-document a {
    color: var(--green);
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: rgba(0, 66, 54, .35);
    text-underline-offset: 3px;
}

.legal-important,
.legal-warning,
.legal-security {
    border-radius: 14px;
    margin-bottom: 34px;
    padding: 22px 24px;
}

.legal-important {
    background: #fff7da;
    border: 1px solid #eadba2;
}

.legal-warning {
    background: #f8f4ef;
    border-left: 4px solid var(--pink);
    margin-top: 18px;
}

.legal-security {
    background: var(--green);
    color: #fff;
}

.legal-security strong {
    display: block;
    font-size: 16px;
    letter-spacing: .06em;
    margin-bottom: 8px;
}

.legal-security p {
    color: rgba(255, 255, 255, .82);
}

.legal-details {
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
}

.legal-details > div {
    display: grid;
    gap: 20px;
    grid-template-columns: minmax(150px, .7fr) minmax(0, 1.5fr);
    padding: 15px 18px;
}

.legal-details > div + div {
    border-top: 1px solid var(--line);
}

.legal-details dt {
    color: var(--muted);
}

.legal-details dd {
    font-weight: 400;
}

.legal-inline-link {
    display: inline-flex;
    margin-top: 6px;
}

/* Global footer */
.site-footer {
    background: var(--green);
    color: #fff;
    margin-top: auto;
    padding: 58px 40px 28px;
}

.site-footer-inner {
    display: grid;
    gap: 48px;
    grid-template-columns: 1.35fr repeat(3, minmax(150px, .7fr));
    margin: 0 auto;
    max-width: 1280px;
}

.site-footer .brand {
    align-items: flex-start;
    margin: 0;
    width: max-content;
}

.site-footer .brand-name,
.site-footer .brand-country {
    color: #fff;
}

.site-footer-brand > p {
    color: rgba(255, 255, 255, .68);
    font-size: 13px;
    margin-top: 22px;
    max-width: 260px;
}

.site-footer-column {
    align-content: start;
    display: grid;
    gap: 10px;
}

.site-footer-column h2 {
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 7px;
}

.site-footer-column a,
.site-footer-column span {
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
}

.site-footer-column a:hover,
.site-footer-column a:focus-visible {
    color: #fff;
}

.site-footer-security {
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 999px;
    margin-top: 8px;
    padding: 7px 11px;
    width: max-content;
}

.site-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .16);
    display: flex;
    justify-content: space-between;
    margin: 44px auto 0;
    max-width: 1280px;
    padding-top: 22px;
}

.site-footer-bottom span {
    color: rgba(255, 255, 255, .55);
    font-size: 10px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

@media (max-width: 900px) {
    .site-footer-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .legal-page {
        padding: 48px 20px 80px;
    }

    .legal-hero {
        margin-bottom: 34px;
    }

    .legal-hero h1 {
        font-size: 42px;
    }

    .legal-document h2 {
        font-size: 26px;
    }

    .legal-document p,
    .legal-document li,
    .legal-document dd,
    .legal-document dt {
        font-size: 14px;
    }

    .legal-details > div {
        gap: 4px;
        grid-template-columns: 1fr;
    }

    .site-footer {
        padding: 46px 20px calc(100px + env(safe-area-inset-bottom));
    }

    .site-footer-inner {
        gap: 36px 24px;
        grid-template-columns: 1fr 1fr;
    }

    .site-footer-brand {
        grid-column: 1 / -1;
    }

    .site-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 430px) {
    .site-footer-inner {
        grid-template-columns: 1fr;
    }

    .site-footer-brand {
        grid-column: auto;
    }
}
