.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 200, 'GRAD' 0, 'opsz' 24;
}

:root {
    /*
     * Typography map
     *
     * These variables are the single place to change the site's fonts.
     * .font-display / .font-headline  -> titles, logo, product names
     * .font-body                         -> paragraphs and form text
     * .font-label                        -> navigation, labels, buttons
     * .font-language                     -> EN / CN / JP controls
     *
     * English and Japanese pages use the same role assignments as the
     * reference design. Japanese glyphs fall back to the browser's serif or
     * sans-serif font when the Latin Google font has no matching glyph.
     */
    --font-display: "Antic Didone", serif;
    --font-body: "Bricolage Grotesque", sans-serif;
    --font-label: "EB Garamond", serif;
    --font-language: "Bricolage Grotesque", sans-serif;
    --size-display-lg: 20px;
    --size-display-xl: 20px;
    --size-headline-xl: 20px;
    --size-headline-lg: 25px;
    --size-headline-lg-mobile: 20px;
    --size-body-lg: 18px;
    --size-body-md: 16px;
    --size-label-sm: 14px;
}

/* Keep the role map explicit on every localized page. */
html[lang="en"],
html[lang="ja"],
html[lang="zh-CN"] {
    --font-display: "Antic Didone", serif;
    --font-body: "Bricolage Grotesque", sans-serif;
    --font-label: "EB Garamond", serif;
    --font-language: "Bricolage Grotesque", sans-serif;
}

body {
    min-width: 0;
}

.font-headline,
.font-display {
    font-family: var(--font-display) !important;
}

.font-body {
    font-family: var(--font-body) !important;
}

.font-label {
    font-family: var(--font-label) !important;
}

.font-language {
    font-family: var(--font-language) !important;
}

/* Hero typography matches the supplied JP reference page. */
.hero-brand-label {
    font-family: var(--font-label) !important;
    font-size: var(--size-label-sm) !important;
    line-height: 1.15 !important;
    letter-spacing: 0.3em !important;
    font-weight: 500 !important;
}

.hero-copy {
    font-family: var(--font-display) !important;
    font-size: var(--size-headline-lg) !important;
    line-height: 1.1 !important;
}

/* Mark the language currently being viewed with a heavier weight. */
html[lang="en"] .font-language[lang="en"],
html[lang="ja"] .font-language[lang="ja"],
html[lang="zh-CN"] .font-language[lang="zh"] {
    font-weight: 600 !important;
}

.text-display-lg { font-size: var(--size-display-lg) !important; line-height: 1.5 !important; }
.text-display-xl { font-size: var(--size-display-xl) !important; line-height: 1.1 !important; }
.text-headline-xl { font-size: var(--size-headline-xl) !important; line-height: 1.5 !important; }
.text-headline-lg { font-size: var(--size-headline-lg) !important; line-height: 1.4 !important; }
.text-headline-lg-mobile { font-size: var(--size-headline-lg-mobile) !important; line-height: 1.9 !important; }
.text-body-lg { font-size: var(--size-body-lg) !important; line-height: 1.55 !important; }
.text-body-md { font-size: var(--size-body-md) !important; line-height: 1.5 !important; }
.text-label-sm { font-size: var(--size-label-sm) !important; line-height: 1.15 !important; }

.classic-label {
    font-family: var(--font-label) !important;
    line-height: 8px !important;
}

img {
    max-width: 100%;
}

.product-gallery {
    display: grid;
    gap: 12px;
}

.product-gallery-main {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--surface-container-low, #eeeae5);
}

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

.product-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    margin-top: 40px;
}

.product-gallery-thumb {
    aspect-ratio: 1;
    padding: 0;
    overflow: hidden;
    border: 1px solid transparent;
    background: transparent;
    cursor: pointer;
}

.product-gallery-thumb.is-active,
.product-gallery-thumb:hover,
.product-gallery-thumb:focus-visible {
    border-color: var(--outline, #5f5a55);
}

@media (max-width: 1023px) {
    .px-margin-edge,
    .px-32,
    .px-48 {
        padding-left: 32px;
        padding-right: 32px;
    }

    nav > div {
        gap: 16px;
    }
}

@media (max-width: 767px) {
    .px-margin-edge,
    .px-margin-edge-mobile,
    .px-32,
    .px-48 {
        padding-left: 20px;
        padding-right: 20px;
    }

    nav > div {
        min-height: 72px;
        padding-top: 18px;
        padding-bottom: 18px;
    }

    nav .shrink-0 {
        font-size: 18px !important;
    }

    main {
        padding-top: 72px;
    }

    .h-\[85vh\] {
        min-height: 620px;
        height: auto;
        padding-top: 72px;
        padding-bottom: 72px;
    }

    .text-headline-lg,
    .text-headline-xl {
        overflow-wrap: anywhere;
    }

    .columns-1 {
        column-count: 1 !important;
    }

    .product-gallery-thumbs {
        display: none;
    }

    .product-gallery-main img {
        touch-action: pan-y;
    }

    form {
        width: 100%;
    }

    footer {
        padding-left: 20px;
        padding-right: 20px;
    }
}

