/* Reset & Base */
:root {
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Montserrat', sans-serif;
    --color-white: #ffffff;
    --color-black: #1a1a1a;
    --color-amber: #d4a373; /* Muted Amber */
    --color-bg-footer: #ffffff;
    --space-2cm: 76px;
}

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

[hidden] {
    display: none !important;
}

body {
    font-family: var(--font-sans);
    color: var(--color-black);
    background-color: var(--color-white);
    overflow-x: hidden;
    opacity: 0;
}

body.is-page-ready {
    opacity: 1;
    transition: opacity 0.18s ease;
}

body.is-page-leaving {
    opacity: 0;
    transition: opacity 0.12s ease;
}

@media (prefers-reduced-motion: reduce) {
    body.is-page-ready,
    body.is-page-leaving {
        transition: none;
    }
}

/* Site announcement */
.has-site-announcement {
    --home-announcement-height: 29px;
}

.home-announcement {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: var(--home-announcement-height);
    padding: 0 20px;
    overflow: hidden;
    color: var(--color-white);
    background: var(--color-black);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.home-announcement--light {
    color: var(--color-black);
    background: var(--color-white);
    border-bottom-color: rgba(26, 26, 26, 0.1);
}

.home-announcement__message {
    max-width: 100%;
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.035em;
    text-align: center;
    white-space: nowrap;
    opacity: 1;
    transition: opacity 0.18s ease;
}

.home-announcement__message.is-changing {
    opacity: 0;
}

.home-announcement__brand {
    font-size: 1.1em;
}

.home-announcement__message a {
    display: inline-block;
    color: inherit;
    cursor: pointer;
}

.home-announcement__message a:focus-visible {
    outline: 1px solid currentColor;
    outline-offset: 4px;
}

.has-site-announcement .logo-center {
    top: calc(30px + var(--home-announcement-height));
}

.has-site-announcement .menu-drawer,
.has-site-announcement .nav-right {
    top: calc(32px + var(--home-announcement-height));
}

.has-site-announcement .nav-left {
    padding-top: calc(110px + var(--home-announcement-height));
}

@media (prefers-reduced-motion: reduce) {
    .home-announcement__message {
        transition: none;
    }
}

@media (max-width: 768px) {
    .home-announcement {
        padding: 0;
    }

    .home-announcement__message {
        font-size: 0.68rem;
        letter-spacing: 0.02em;
    }

    .home-announcement__message.is-marquee {
        width: 100%;
        max-width: none;
        overflow: hidden;
        text-align: left;
        opacity: 1;
        transition: none;
    }

    .home-announcement__track {
        display: flex;
        width: max-content;
        will-change: transform;
        animation: home-announcement-marquee 36s linear infinite;
    }

    .home-announcement__group {
        display: flex;
        flex: none;
        align-items: center;
        gap: 56px;
        padding-right: 56px;
    }

    .home-announcement__message.is-marquee .home-announcement__item {
        display: inline-flex;
        flex: none;
        align-items: center;
        min-height: var(--home-announcement-height);
        white-space: nowrap;
    }

    .home-announcement__message.is-marquee:focus-within .home-announcement__track {
        animation-play-state: paused;
    }

    @keyframes home-announcement-marquee {
        from {
            transform: translate3d(0, 0, 0);
        }

        to {
            transform: translate3d(-50%, 0, 0);
        }
    }

    .has-site-announcement .logo-center,
    .has-site-announcement .menu-drawer {
        top: calc(20px + var(--home-announcement-height));
    }

    .has-site-announcement .nav-right {
        margin-top: calc(10px + var(--home-announcement-height));
    }

    .has-site-announcement .nav-left {
        padding-top: calc(100px + var(--home-announcement-height));
    }
}

html {
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.7;
}

ul {
    list-style: none;
}

img, video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Layer 1: Main Visual & Header */
.snap-section {
    min-height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.layer-1-visual {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

@media (min-width: 769px) {
    .layer-1-visual {
        height: 300vh;
    }
}

.visual-bg {
    width: 100%;
    height: 100%;
}

.visual-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.15); /* Slight dark overlay for text readability */
}

/* Keep the copy within the hero while the image scrolls behind it. */
body.home-body .layer-1-visual { overflow: clip; }
.hero-gift-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}
.hero-gift-copy {
    position: sticky;
    display: block;
    top: 73vh;
    top: 73svh;
    margin-inline: auto;
    transform: translateY(-50%);
    pointer-events: auto;
    padding: 16px;
    width: max-content;
    max-width: calc(100% - 32px);
    color: var(--color-white);
    font-family: var(--font-sans);
    font-weight: 300;
    line-height: 1.25;
    letter-spacing: 0.01em;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 160ms ease;
}
.hero-gift-copy__title {
    display: block;
    font-size: clamp(1.05rem, 1.6vw, 1.5rem);
    white-space: nowrap;
}
.hero-gift-copy__edition {
    display: block;
    margin-top: 1.5em;
    font-size: clamp(0.85rem, 1.2vw, 1.1rem);
    font-weight: 400;
}
@media (hover: hover) {
    .hero-gift-copy:hover { opacity: 0.5; }
}
.hero-gift-copy:focus-visible {
    outline: 1px solid currentColor;
    outline-offset: 4px;
}
@media (max-width: 499px) {
    .hero-gift-copy {
        top: 50vh;
        top: 50svh;
    }
    .hero-gift-copy__title { font-size: clamp(0.9rem, 3.4vw, 1rem); }
    .hero-gift-copy__edition { font-size: 0.85rem; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-gift-copy { transition: none; }
}

/* Header Styling */
.main-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Occupy full height for positioning elements */
    z-index: 100;
    pointer-events: none; /* Let clicks pass through to background if needed, but we enable pointer-events on children */
}

.main-header > * {
    pointer-events: auto;
}

/* Logo - Top Center */
.logo-center {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 240px; /* Logo width */
    z-index: 200;
}

.logo-center a {
    display: block;
    width: 100%;
}

.logo-center img {
    width: 100%;
    height: auto;
    display: block;
    transition: filter 0.35s ease, opacity 0.2s ease;
}

.nav-right {
    transition: opacity 0.2s ease;
}

body.is-scrolled .logo-center,
body.is-scrolled .nav-right {
    opacity: 0;
    pointer-events: none;
}

body.home-section-2 .menu-trigger span {
    background-color: var(--color-black);
}

body.home-section-2 .nav-right a {
    color: var(--color-black);
    text-shadow: none;
}

body.home-section-2 .logo-center img {
    filter: brightness(0);
}

body.home-section-3 .menu-trigger span {
    background-color: var(--color-white);
}

body.home-section-3 .nav-right a {
    color: var(--color-white);
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

body.home-section-3 .logo-center img {
    filter: brightness(0) invert(1);
}

/* Left Drawer Menu */
.menu-drawer {
    position: fixed;
    top: 32px;
    left: 32px;
    z-index: 210;
}

.menu-trigger {
    width: 30px;
    height: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
}

.menu-trigger span {
    display: block;
    width: 100%;
    height: 1.5px;
    background-color: var(--color-white);
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}

.nav-left {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    min-height: 100vh;
    padding: 110px 40px 40px;
    background-color: var(--color-white);
    color: var(--color-black);
    display: flex;
    flex-direction: column;
    gap: 40px;
    transform: translateX(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s ease, opacity 0.35s ease, visibility 0.35s ease;
    box-shadow: 20px 0 40px rgba(0,0,0,0.08);
}

.menu-drawer:hover .nav-left,
.menu-drawer:focus-within .nav-left,
.menu-drawer.open .nav-left {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

.menu-drawer:hover .menu-trigger span,
.menu-drawer:focus-within .menu-trigger span,
.menu-drawer.open .menu-trigger span {
    background-color: var(--color-black);
}

.nav-left ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nav-left a {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    font-weight: 400;
    text-transform: uppercase;
    color: var(--color-black);
}

/* Submenu Styling */
.submenu {
    display: none !important; /* Force hidden by default */
    flex-direction: column;
    gap: 12px;
    padding-left: 10px;
    padding-top: 15px;
    margin-bottom: 10px;
}

.submenu.active {
    display: flex !important; /* Force show when active */
    animation: fadeIn 0.3s ease-in-out;
}

.submenu li a {
    font-size: 0.75rem;
    opacity: 0.7;
    text-transform: lowercase; /* Keep lowercase as requested */
    font-weight: 300;
    transition: opacity 0.2s, padding-left 0.2s;
}

.submenu li a:hover {
    opacity: 1;
    padding-left: 5px; /* Subtle movement */
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.search-box a {
    position: relative;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(0,0,0,0.25);
    display: inline-block;
    width: 100px; /* Fixed width for the underline look */
}

body.site-search-open {
    overflow: hidden;
}

.site-search-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 72px 36px;
    overflow: auto;
    overscroll-behavior: contain;
    background: rgba(26, 26, 26, 0.32);
}

.site-search-dialog {
    width: min(980px, 100%);
    max-height: calc(100dvh - 144px);
    padding: 28px 32px 34px;
    overflow: auto;
    background: var(--color-white);
    color: var(--color-black);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.site-search-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.site-search-heading h2 {
    font-family: var(--font-sans);
    font-size: 0.84rem;
    font-weight: 500;
    letter-spacing: 0.12em;
}

.site-search-close,
.site-search-submit {
    border: 0;
    background: transparent;
    color: inherit;
    font-family: var(--font-sans);
    cursor: pointer;
}

.site-search-close {
    padding: 8px 0 8px 12px;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
}

.site-search-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    margin-top: 38px;
    border-bottom: 1px solid rgba(26, 26, 26, 0.72);
}

.site-search-input {
    min-width: 0;
    height: 54px;
    padding: 0;
    border: 0;
    border-radius: 0;
    outline: 0;
    background: transparent;
    color: var(--color-black);
    font-family: var(--font-sans);
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 0.03em;
    appearance: none;
}

.site-search-input::placeholder {
    color: rgba(26, 26, 26, 0.4);
}

.site-search-input::-webkit-search-cancel-button {
    cursor: pointer;
}

.site-search-submit {
    height: 44px;
    padding: 0 0 0 14px;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
}

.site-search-status {
    min-height: 18px;
    margin: 20px 0 14px;
    color: #666;
    font-family: var(--font-sans);
    font-size: 0.66rem;
    letter-spacing: 0.08em;
}

.site-search-results {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 28px;
}

.site-search-result {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    min-width: 0;
    padding: 0 0 18px;
    border-bottom: 1px solid rgba(26, 26, 26, 0.1);
}

.site-search-result-image {
    display: block;
    width: 112px;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #f4f4f2;
}

.site-search-result-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.site-search-result-info {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 12px;
}

.site-search-result-name {
    font-family: var(--font-sans);
    font-size: 0.76rem;
    font-weight: 500;
    line-height: 1.55;
    word-break: keep-all;
}

.site-search-result-price {
    color: #444;
    font-family: var(--font-sans);
    font-size: 0.72rem;
}

.site-search-close:focus-visible,
.site-search-submit:focus-visible,
.site-search-result:focus-visible {
    outline: 1px solid currentColor;
    outline-offset: 4px;
}

@media (max-width: 768px) {
    .site-search-overlay {
        padding: 0;
        background: var(--color-white);
    }

    .site-search-dialog {
        width: 100%;
        height: 100dvh;
        max-height: none;
        padding: calc(22px + env(safe-area-inset-top)) 20px calc(28px + env(safe-area-inset-bottom));
        box-shadow: none;
    }

    .site-search-heading h2 {
        font-size: 0.78rem;
    }

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

    .site-search-input {
        height: 50px;
        font-size: 16px;
    }

    .site-search-status {
        margin: 18px 0 12px;
    }

    .site-search-results {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .site-search-result {
        grid-template-columns: 92px minmax(0, 1fr);
        gap: 15px;
        min-height: 116px;
        padding-bottom: 14px;
    }

    .site-search-result-image {
        width: 92px;
    }

    .site-search-result-name {
        font-size: 0.72rem;
    }
}

/* Right Menu - Top Right */
.nav-right {
    position: fixed;
    top: 32px;
    right: 32px;
    z-index: 210;
}

.nav-right > ul {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.nav-right a {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-white);
    display: block;
    transition: color 0.35s ease, text-shadow 0.35s ease, opacity 0.2s ease;
}

.nav-mobile-icon,
.nav-cart-badge {
    display: none;
}

/* Language Dropdown */
.lang-dropdown {
    position: relative;
    padding-bottom: 20px; /* Invisible hover bridge */
    margin-bottom: -20px;
}

.lang-list {
    position: absolute;
    top: 100%; /* Position below the KR text */
    left: 0;
    width: 100%; /* Match width of parent */
    display: none; /* Hidden by default */
    flex-direction: column;
    text-align: center; /* Center text if needed, or left */
    padding-top: 5px; /* Small gap */
}

.lang-dropdown:hover .lang-list {
    display: flex;
}

/* Layer 2: Best Seller (Full Width) */
.layer-2-bestseller {
    width: 100%;
    height: 100vh;
    position: relative;
}

.layer-2-parallax {
    position: relative;
}

.layer-2-parallax-bg {
    position: sticky;
    top: 0;
    height: 100vh;
    margin-bottom: -100vh;
    z-index: 0;
    overflow: hidden;
}

.layer-2-parallax-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.18);
}

.layer-2-parallax-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.layer-2-parallax-step {
    position: relative;
    z-index: 1;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 22px;
}

.layer-2-parallax-link {
    color: var(--color-white);
    font-family: var(--font-sans);
    font-size: 3.2rem;
    font-weight: 300;
    letter-spacing: 0.02em;
    text-transform: lowercase;
    text-shadow: 0 1px 4px rgba(0,0,0,0.25);
}

.layer-2-parallax-link--bottom {
    align-self: flex-end;
    margin-bottom: 64px;
}

.layer-2-parallax-title {
    color: var(--color-white);
    font-family: var(--font-sans);
    font-size: 4.2rem;
    font-weight: 300;
    letter-spacing: 0.02em;
    line-height: 1.05;
    text-align: center;
    text-shadow: 0 1px 4px rgba(0,0,0,0.25);
}

.layer-2-parallax-copy {
    max-width: 880px;
    color: var(--color-white);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    line-height: 1.8;
    text-align: center;
    text-shadow: 0 1px 4px rgba(0,0,0,0.25);
}

.layer-2-parallax-cta {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 22px 26px;
    background: rgba(255,255,255,0.9);
    border: 1px solid rgba(0,0,0,0.08);
    color: #111;
}

.layer-2-parallax-cta-link {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(0,0,0,0.35);
    padding-bottom: 4px;
}

.layer-2-parallax-cta-link:hover {
    opacity: 0.75;
}

.layer-2-interactive::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.18);
    z-index: 0;
}

.layer-2-interactive .layer-2-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.layer-2-interactive .layer-2-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.layer-2-interactive .layer-2-overlay {
    position: relative;
    z-index: 1;
    height: 100%;
    display: grid;
    grid-template-columns: 280px 1fr;
    align-items: center;
    padding: 0 64px;
}

.layer-2-interactive .layer-2-items {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.layer-2-interactive .layer-2-item {
    appearance: none;
    background: transparent;
    border: 0;
    color: var(--color-white);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-align: left;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.18);
    opacity: 0.7;
    cursor: pointer;
}

.layer-2-interactive .layer-2-item.is-active {
    opacity: 1;
    border-bottom-color: rgba(255,255,255,0.6);
}

.layer-2-interactive .layer-2-cta {
    justify-self: center;
    text-align: center;
    color: var(--color-white);
}

.layer-2-interactive .layer-2-cta-label {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.6rem;
    font-style: italic;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-shadow: 0 1px 4px rgba(0,0,0,0.25);
}

.layer-2-interactive .layer-2-cta-sub {
    display: inline-block;
    margin-top: 12px;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255,255,255,0.55);
    padding-bottom: 4px;
}

.layer-2-interactive .layer-2-item:focus-visible {
    outline: 2px solid rgba(255,255,255,0.6);
    outline-offset: 4px;
}

.layer-2-interactive .layer-2-cta:focus-visible {
    outline: 2px solid rgba(255,255,255,0.6);
    outline-offset: 6px;
}

.layer-2-bestseller .image-container {
    width: 100%;
    height: 100%;
    position: relative;
    background: #fff;
}

.layer-2-bestseller .layer-2-centered-copy {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    text-align: center;
    color: #111;
    font-family: var(--font-serif);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 2.05;
    text-shadow: none;
    pointer-events: none;
}

.layer-2-bestseller .layer-2-centered-copy p {
    max-width: 720px;
}

.layer-2-bestseller .layer-2-centered-copy .layer-2-em {
    font-style: italic;
    font-weight: 600;
}

.layer-2-bestseller .caption {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-white);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    text-transform: capitalize;
    letter-spacing: 0.05em;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
    .layer-2-bestseller .layer-2-centered-copy {
        font-size: 0.85rem;
        line-height: 2;
        letter-spacing: 0.06em;
        padding: 0 18px;
    }

    .layer-2-interactive .layer-2-overlay {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr auto;
        padding: 0 22px 40px;
        align-items: end;
        gap: 26px;
    }

    .layer-2-interactive .layer-2-items {
        flex-direction: row;
        justify-content: center;
        gap: 18px;
        flex-wrap: wrap;
    }

    .layer-2-interactive .layer-2-item {
        border-bottom: 1px solid rgba(255,255,255,0.25);
        padding: 8px 2px;
        text-align: center;
    }

    .layer-2-interactive .layer-2-cta-label {
        font-size: 2.2rem;
    }
}

/* Layer 3: Product Grid (3 Columns) */
.layer-3-products {
    width: 100%;
    min-height: 100vh;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    height: 100vh;
}

.product-item {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.product-item a {
    display: block;
    width: 100%;
    height: 100%;
}

.product-item picture {
    display: block;
    width: 100%;
    height: 100%;
}

.product-item .caption {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-white);
    font-family: var(--font-sans);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    z-index: 10;
}

/* Layer 4: Footer */
.layer-4-footer {
    background-color: var(--color-bg-footer);
    color: var(--color-black);
    min-height: 20vh;
    padding: 36px 40px 32px;
    font-family: var(--font-sans);
    display: flex;
    align-items: center;
}

.footer-container {
    display: flex;
    justify-content: center;
    gap: 80px;
    align-items: flex-start;
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
}

.footer-left,
.footer-right {
    width: auto;
}

.footer-right {
    display: flex;
    flex-direction: row;
    gap: 80px;
    align-items: flex-start;
}

@media (min-width: 769px) {
    .layer-4-footer {
        padding-left: 28px;
        padding-right: 28px;
    }

    .footer-container {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 12px;
        justify-content: initial;
        max-width: none;
        margin: 0;
    }

    .footer-left,
    .footer-right {
        width: 100%;
    }

    .footer-right {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
        justify-content: flex-start;
    }
}

@media (min-width: 1025px) {
    .footer-right {
        grid-template-columns: repeat(3, max-content);
        column-gap: 76.5px;
    }
}

.company-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 0.7rem;
    line-height: 1.9;
    color: #333;
    letter-spacing: 0;
}

.company-label {
    font-weight: 600;
    letter-spacing: 0;
}

.company-value {
    font-weight: 400;
    letter-spacing: 0;
}

.footer-section h4 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-family: var(--font-sans);
}

.footer-section p, .footer-section li {
    font-size: 0.7rem;
    line-height: 1.9;
    color: #333;
}

.footer-right-group {
    display: flex;
    gap: 100px;
}

.cs-section .phone {
    margin-bottom: 10px;
    font-weight: 500;
}

.cs-section .hours {
    margin-bottom: 15px;
    color: #555;
}

.cs-section .email {
    text-decoration: underline;
}

/* Dark Header Variant (for white pages) */
.dark-header .nav-left a,
.dark-header .nav-right a,
.dark-header .logo-center a {
    color: var(--color-black);
    text-shadow: none;
}

.dark-header .logo-center img {
    filter: brightness(0);
}

.dark-header .menu-trigger span {
    background-color: var(--color-black);
}

.dark-header .search-box a {
    border-bottom-color: rgba(0,0,0,0.2);
}

/* Shop Grid Page Styles */
.shop-container {
    padding: 150px 20px 120px 20px;
    max-width: 100%;
    margin: 0 auto;
}

.shop-category-nav {
    display: flex;
    justify-content: center;
    gap: 22px;
    flex-wrap: wrap;
    margin: 0 0 46px;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    text-transform: lowercase;
}

.shop-category-nav a {
    color: #222;
    text-decoration: none;
    padding: 6px 2px;
    border-bottom: 1px solid transparent;
}

.shop-category-nav a:hover {
    border-bottom-color: rgba(0,0,0,0.22);
}

.shop-category-nav a[aria-current="page"] {
    border-bottom-color: rgba(0,0,0,0.55);
}

.shop-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 20px;
    row-gap: 60px;
}

.shop-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 20px;
    row-gap: 60px;
}

.shop-grid-3--same-as-4 {
    width: calc(75% - 5px);
    margin: 0 auto;
}

.shop-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 20px;
    row-gap: 60px;
}

.shop-grid-2--same-as-4 {
    width: calc(50% - 10px);
    margin: 0 auto;
}

.shop-grid-2 .shop-item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: 100%;
    max-width: calc((100% - 20px) / 2);
    justify-self: center;
}

.shop-empty {
    height: calc(100vh - 260px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    text-align: center;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: #222;
    letter-spacing: 0.02em;
}

.shop-empty-title {
    font-weight: 500;
    letter-spacing: 0.08em;
}

.shop-empty-subtitle {
    font-size: 0.86rem;
}

.shop-item-link {
    display: block;
    text-decoration: none;
}

.shop-item-image {
    width: 100%;
    aspect-ratio: 4/5;
    overflow: hidden;
    margin-bottom: 15px;
    background-color: #f9f9f9;
}

.shop-item-image img {
    transition: transform 0.5s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shop-item-link:hover .shop-item-image img {
    transform: scale(1.05);
}

.shop-item-info {
    text-align: left;
    padding: 0 2px;
}

.shop-item-name {
    font-family: var(--font-sans);
    font-size: 0.82rem;
    color: #111;
    margin-bottom: 10px;
    display: block;
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1.35;
}

.shop-item-price {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    color: #111;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.product-detail-layout {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    grid-template-areas:
        "gallery summary"
        "detail summary";
    gap: 54px;
    align-items: start;
}

@media (min-width: 769px) {
    .product-detail-layout {
        width: calc(100% - 16px);
        max-width: none;
    }
}

@media (min-width: 1025px) {
    .product-detail-layout {
        grid-template-columns: minmax(0, calc(50% + 158px)) minmax(0, 1fr);
    }
}

.product-gallery {
    grid-area: gallery;
    min-width: 0;
}

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

.product-thumb {
    width: 64px;
    height: 64px;
    border: 1px solid rgba(0,0,0,0.08);
    background: #f7f7f7;
    padding: 0;
    cursor: pointer;
    display: block;
}

.product-thumb.is-active {
    border-color: rgba(0,0,0,0.35);
}

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

.product-main {
    width: 100%;
    aspect-ratio: 4/5;
    background: #f7f7f7;
    border: 1px solid rgba(0,0,0,0.05);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-summary {
    grid-area: summary;
    position: sticky;
    top: 108px;
    max-height: calc(100vh - 132px);
    overflow-y: auto;
    overscroll-behavior-y: auto;
    padding: 10px 8px 24px 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(0,0,0,0.2) transparent;
}

.product-title {
    font-family: var(--font-sans);
    font-size: 1.02rem;
    font-weight: 500;
    color: #111;
    letter-spacing: -0.01em;
    line-height: 1.35;
}

.product-price {
    margin-top: 10px;
    margin-bottom: 40px;
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 400;
    color: #111;
    letter-spacing: -0.01em;
}

.product-collection {
    margin-top: 0;
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 500;
    color: #111;
    letter-spacing: -0.01em;
}

.product-description {
    margin-top: 18px;
    font-size: 0.82rem;
    line-height: 1.95;
    color: #333;
    letter-spacing: -0.01em;
    white-space: pre-line;
}

.product-specs {
    margin-top: 16px;
    font-size: 0.82rem;
    line-height: 1.95;
    color: #333;
    letter-spacing: -0.01em;
}

.product-specs-row {
    display: block;
}

.product-specs-key {
    color: #111;
    font-weight: 500;
}

.product-specs-value {
    color: #333;
}

.product-notes {
    margin-top: 22px;
    font-size: 0.78rem;
    line-height: 1.95;
    color: #444;
    letter-spacing: -0.01em;
    white-space: pre-line;
}

.product-notes-title {
    font-weight: 500;
    color: #111;
    margin-bottom: 8px;
}

.product-divider {
    margin: 14px 0;
    color: #111;
    line-height: 1;
}

.product-notes ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-notes li {
    position: relative;
    padding-left: 12px;
}

.product-notes li::before {
    content: '-';
    position: absolute;
    left: 0;
    top: 0;
}

.purchase-panel {
    margin-top: 40px;
    border-top: 1px solid rgba(0,0,0,0.12);
}

.purchase-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.12);
}

.purchase-label,
.purchase-gift-eyebrow,
.purchase-panel:has(#pd-gift-upsell:not([hidden])) .purchase-option-row .purchase-label {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: #111;
    text-transform: uppercase;
}

.purchase-option-row .purchase-label {
    text-transform: none;
    letter-spacing: -0.01em;
    font-size: 0.82rem;
}

/* Match PRICE spacing without changing the existing OPTION font size. */
.purchase-option-row:has(select[aria-label="OPTION"]) .purchase-label {
    letter-spacing: 0.0624rem;
}

.purchase-value {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 500;
    color: #111;
    letter-spacing: -0.01em;
}

.purchase-control {
    display: flex;
    justify-content: flex-end;
}

.purchase-select {
    width: min(420px, 100%);
    border: 0;
    border-bottom: 1px solid rgba(0,0,0,0.18);
    background: transparent;
    padding: 6px 6px 6px 0;
    font-family: var(--font-sans);
    font-size: 0.82rem;
    color: #777;
    letter-spacing: -0.01em;
}

.product-divider + .product-specs {
    margin-top: 0;
}

.purchase-select:focus {
    outline: none;
    border-bottom-color: rgba(0,0,0,0.45);
}

.purchase-total-count {
    font-size: 0.82rem;
    font-weight: 400;
    color: #111;
}

.purchase-item {
    display: grid;
    grid-template-columns: 1fr auto auto auto;
    align-items: center;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(0,0,0,0.12);
}

.purchase-item[hidden] {
    display: none;
}

.purchase-items:empty {
    display: none;
}

.purchase-item-name {
    font-size: 0.82rem;
    color: #777;
    letter-spacing: -0.01em;
    line-height: 1.35;
}

.purchase-qty {
    display: flex;
    align-items: center;
    gap: 10px;
}

.purchase-qty-btn {
    width: 34px;
    height: 34px;
    border: 0;
    background: transparent;
    color: #111;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
}

.purchase-qty-value {
    width: 18px;
    text-align: center;
    font-size: 0.82rem;
    color: #111;
    letter-spacing: -0.01em;
}

.purchase-item-price {
    font-size: 0.82rem;
    color: #111;
    font-weight: 500;
    letter-spacing: -0.01em;
    text-align: right;
    min-width: 92px;
}

.purchase-remove {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(0,0,0,0.18);
    background: transparent;
    color: #111;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
}

.purchase-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 22px;
}

.purchase-btn {
    height: 52px;
    border: 1px solid rgba(0,0,0,0.35);
    background: transparent;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
}

.purchase-btn--primary {
    background: #111;
    color: #fff;
    border-color: #111;
}

.purchase-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.npay-box {
    margin-top: 12px;
    border: 1px solid rgba(0,0,0,0.12);
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 10px;
    padding: 12px;
}

.npay-brand {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    color: #17a64a;
    letter-spacing: 0.02em;
}

.npay-sub {
    margin-top: 2px;
    font-size: 0.78rem;
    color: #333;
    letter-spacing: -0.01em;
}

.npay-buy {
    height: 42px;
    padding: 0 18px;
    border: 1px solid rgba(0,0,0,0.12);
    background: #17d65c;
    color: #111;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    cursor: pointer;
}

.npay-like {
    height: 42px;
    width: 52px;
    border: 1px solid rgba(0,0,0,0.18);
    background: #fff;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    letter-spacing: -0.01em;
    cursor: pointer;
}

.pd-sections {
    grid-area: detail;
    min-width: 0;
    margin-top: -30px;
}

.pd-tabs {
    display: flex;
    justify-content: center;
    gap: 56px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(0,0,0,0.12);
}

.pd-tab {
    border: 0;
    background: transparent;
    font-family: var(--font-sans);
    font-size: 0.82rem;
    letter-spacing: -0.01em;
    color: #aaa;
    cursor: pointer;
    padding: 0;
}

.pd-tab.is-active {
    color: #111;
    font-weight: 500;
}

.pd-panels {
    padding: 0;
}

.pd-panel {
    padding: 36px 0 0;
    font-family: var(--font-sans);
    font-size: 0.82rem;
    color: #777;
    text-align: center;
}

.pd-detail-image-wrap {
    width: 100%;
}

.pd-detail-images {
    width: 100%;
    max-width: none;
}

.pd-detail-image {
    width: 100%;
    height: auto;
    display: block;
}

.pd-detail-image + .pd-detail-image {
    margin-top: 28px;
}

/* The two 1P detail fragments continue the same source image without an extra gap. */
.pd-detail-images[data-sku="afterwater-towel-1p"] > .pd-detail-image:nth-child(3) {
    margin-top: 0;
}

.product-community {
    margin-top: 84px;
    font-family: var(--font-sans);
    color: #111;
}

.product-board-section {
    padding: 0 0 76px;
    border-top: 1px solid rgba(0,0,0,0.35);
}

.product-board-header {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.12);
}

.product-board-heading {
    display: flex;
    align-items: baseline;
    gap: 7px;
}

.product-board-heading h2,
.product-board-heading span {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.04em;
}

.product-board-heading span,
.product-board-heading strong {
    font-weight: 400;
}

.product-board-write {
    min-width: 64px;
    height: 34px;
    padding: 0 12px;
    border: 1px solid rgba(0,0,0,0.3);
    background: transparent;
    color: #111;
    font-family: var(--font-sans);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    cursor: pointer;
}

.product-board-write:hover,
.product-board-write:focus-visible {
    background: #111;
    color: #fff;
}

.product-board-list:empty {
    display: none;
}

.product-board-empty {
    min-height: 132px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(0,0,0,0.12);
    color: #777;
    font-size: 0.78rem;
    letter-spacing: -0.01em;
}

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

.product-board-item {
    border-bottom: 1px solid rgba(0,0,0,0.12);
}

.product-board-item-summary {
    width: 100%;
    min-height: 58px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 18px;
    padding: 14px 4px;
    border: 0;
    background: transparent;
    color: #111;
    text-align: left;
    cursor: pointer;
}

.product-board-item-title {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.8rem;
    font-weight: 400;
}

.product-board-item-meta,
.product-board-item-status {
    font-size: 0.72rem;
    color: #777;
    white-space: nowrap;
}

.product-board-item-status.has-answer {
    color: #111;
}

.product-board-item-detail {
    padding: 22px 18px 24px;
    border-top: 1px solid rgba(0,0,0,0.08);
    background: #fafafa;
}

.product-board-item-detail[hidden] {
    display: none;
}

.product-board-item-content,
.product-board-answer p {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.8;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.product-board-answer {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.12);
}

.product-board-answer strong {
    display: block;
    margin-bottom: 10px;
    font-size: 0.72rem;
    letter-spacing: 0.05em;
}

.product-board-delete {
    margin-top: 20px;
    padding: 0;
    border: 0;
    border-bottom: 1px solid currentColor;
    background: transparent;
    color: #777;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    cursor: pointer;
}

.product-board-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding-top: 22px;
}

.product-board-pagination[hidden] {
    display: none;
}

.product-board-page-button {
    min-width: 30px;
    height: 30px;
    padding: 0 8px;
    border: 0;
    background: transparent;
    color: #777;
    font-family: var(--font-sans);
    font-size: 0.74rem;
    cursor: pointer;
}

.product-board-page-button.is-active {
    color: #111;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.product-board-page-button:disabled {
    opacity: 0.25;
    cursor: default;
}

.product-board-notice {
    display: none;
    margin-top: 16px;
    color: #777;
    font-size: 0.74rem;
    line-height: 1.6;
}

.product-board-notice.is-visible {
    display: block;
}

.product-board-notice.is-error {
    color: #9b241f;
}

.product-post-dialog {
    width: min(560px, calc(100vw - 40px));
    max-height: calc(100vh - 40px);
    padding: 0;
    border: 1px solid #111;
    border-radius: 0;
    background: #fff;
    color: #111;
}

.product-post-dialog::backdrop {
    background: rgba(0,0,0,0.34);
}

.product-post-form {
    padding: 30px;
    font-family: var(--font-sans);
}

.product-post-form-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.product-post-form-header h2 {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.03em;
}

.product-post-dialog-close {
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
}

.product-post-field {
    display: block;
    margin-top: 20px;
}

.product-post-field > span {
    display: block;
    margin-bottom: 8px;
    font-size: 0.75rem;
}

.product-post-field input,
.product-post-field textarea,
.product-post-field select {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(0,0,0,0.24);
    border-radius: 0;
    background: #fff;
    padding: 12px;
    color: #111;
    font-family: var(--font-sans);
    font-size: 0.8rem;
}

.product-post-field textarea {
    min-height: 180px;
    resize: vertical;
    line-height: 1.7;
}

.product-post-field input:focus,
.product-post-field textarea:focus,
.product-post-field select:focus {
    outline: 1px solid #111;
    outline-offset: -1px;
}

.product-post-private {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 0.74rem;
}

.product-post-private[hidden] {
    display: none;
}

.product-post-form-notice {
    min-height: 20px;
    margin-top: 16px;
    color: #9b241f;
    font-size: 0.74rem;
    line-height: 1.5;
}

.product-post-form-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
}

.product-post-cancel,
.product-post-submit {
    height: 46px;
    border: 1px solid #111;
    background: #fff;
    color: #111;
    font-family: var(--font-sans);
    font-size: 0.76rem;
    letter-spacing: 0.05em;
    cursor: pointer;
}

.product-post-submit {
    background: #111;
    color: #fff;
}

.product-post-submit:disabled {
    opacity: 0.45;
    cursor: wait;
}

.npay-buy:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.agreement-page {
    padding: 160px 20px 120px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.agreement-page .agreement-box {
    padding-bottom: 92px;
}

.agreement-page .agreement-box {
    padding-bottom: 24px;
}

.agreement-title {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.agreement-desc {
    font-size: 0.85rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 28px;
}

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

.agreement-section:first-of-type {
    margin-top: 0;
}

.agreement-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.agreement-section-title {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.join-body .agreement-section:first-of-type {
    margin-top: var(--space-2cm);
}

.join-body .agreement-section-head,
.join-body .agreement-section-title,
.join-body .agree-check,
.join-body .agreement-actions {
    font-size: 0.78rem;
}

.join-body .agreement-box--compact {
    font-size: 0.78rem;
}

.join-body .agreement-box--compact h5 {
    font-size: 0.78rem;
}

.join-body .agreement-box {
    padding: 18px;
    font-size: 0.72rem;
    line-height: 1.7;
}

.join-body .agreement-box--compact {
    max-height: 180px;
}

.agreement-box {
    border: 1px solid rgba(0,0,0,0.08);
    background: #fff;
    padding: 24px;
    height: 360px;
    overflow: auto;
    line-height: 1.8;
    font-size: 0.8rem;
    color: #333;
}

.agreement-page--tall .agreement-box {
    height: 436px;
}

.agreement-box--fluid {
    height: auto;
    overflow: visible;
}

.membership-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
    line-height: 1.7;
}

.product-review-fields[hidden] {
    display: none;
}

.product-review-fields {
    display: grid;
    gap: 18px;
}

.product-review-image-field input[type="file"] {
    padding: 13px 14px;
    font-size: 12px;
}

.product-review-reward-guide {
    margin: -8px 0 0;
    color: #777;
    font-size: 11px;
    line-height: 1.6;
}

.product-board-review-image {
    display: block;
    width: min(100%, 520px);
    height: auto;
    margin: 18px 0 0;
    object-fit: cover;
}

.membership-table-scroll {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(0,0,0,0.22) transparent;
    -webkit-overflow-scrolling: touch;
}

.membership-table--points {
    min-width: 860px;
}

.membership-table--coupons {
    min-width: 900px;
}

.membership-table th,
.membership-table td {
    border-top: 1px solid rgba(0,0,0,0.08);
    padding: 12px 10px;
    vertical-align: top;
    text-align: left;
    white-space: nowrap;
}

.membership-table thead th {
    border-top: 1px solid rgba(0,0,0,0.12);
    font-weight: 600;
    background: rgba(0,0,0,0.02);
}

.membership-table tbody tr:last-child td {
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.membership-table-scroll:focus-visible {
    outline: 1px solid rgba(0,0,0,0.28);
    outline-offset: 4px;
}

.agreement-box p {
    margin: 0 0 12px;
}

.agreement-box p:last-child {
    margin-bottom: 0;
}

.agreement-box--compact {
    height: auto;
    max-height: 220px;
}

.agreement-box h5 {
    font-size: 0.85rem;
    font-weight: 600;
    margin: 18px 0 8px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.login-body {
    background: #fff;
}

.login-body .logo-center {
    transition: opacity 0.2s ease;
}

.login-body.is-scrolled .logo-center {
    opacity: 0;
    pointer-events: none;
}

.membership-body .logo-center {
    transition: opacity 0.2s ease;
}

.membership-body.is-scrolled .logo-center {
    opacity: 0;
    pointer-events: none;
}

.shop-body .logo-center {
    transition: opacity 0.2s ease;
}

.shop-body.is-scrolled .logo-center {
    opacity: 0;
    pointer-events: none;
}

@media (min-width: 769px) {
    .shop-body {
        --shop-header-peek-height: 120px;
    }

    .shop-body .menu-drawer {
        transition: opacity 0.2s ease;
    }

    .shop-body.is-scrolled::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: var(--shop-header-peek-height);
        background-color: #fff;
        box-shadow: 0 1px 0 rgba(0,0,0,0.06);
        opacity: 0;
        transform: translateY(-100%);
        transition: opacity 0.2s ease, transform 0.2s ease;
        pointer-events: none;
        z-index: 90;
    }

    .shop-body.is-scrolled .menu-drawer {
        opacity: 0;
        pointer-events: none;
    }

    .shop-body.is-scrolled.header-peek::before {
        opacity: 1;
        transform: translateY(0);
    }

    .shop-body.is-scrolled.header-peek .menu-drawer,
    .shop-body.is-scrolled.header-peek .logo-center,
    .shop-body.is-scrolled.header-peek .nav-right {
        opacity: 1;
        pointer-events: auto;
    }

    .shop-body.is-scrolled.header-peek .menu-trigger span {
        background-color: #000;
    }

    .shop-body.is-scrolled.header-peek .logo-center img {
        filter: brightness(0) !important;
    }

    .shop-body.is-scrolled.header-peek .nav-right a {
        color: #000;
        text-shadow: none;
    }
}

.about-body .logo-center {
    transition: opacity 0.2s ease;
}

.about-body.is-scrolled .logo-center {
    opacity: 0;
    pointer-events: none;
}

.login-page {
    padding: 200px 20px 120px 20px;
    max-width: 520px;
    margin: 0 auto;
}

.login-title {
    font-family: var(--font-sans);
    font-size: 2.1rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 18px;
}

.login-desc {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #111;
    margin-bottom: 26px;
}

.login-desc-note {
    font-size: 0.85rem;
    color: #222;
}

.login-panel {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.login-inline-notice {
    display: none;
    text-align: center;
    font-size: 0.78rem;
    color: rgba(0, 0, 0, 0.6);
    line-height: 1.6;
    padding: 6px 0 0;
}

.login-inline-notice.is-visible {
    display: block;
}

.login-sns {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    height: 58px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.7);
    color: #111;
    font-size: 1rem;
    letter-spacing: -0.01em;
    cursor: pointer;
}

.login-sns-icon {
    width: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.login-sns-icon--naver {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1.25rem;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.login-input {
    width: 100%;
    height: 60px;
    padding: 0 18px;
    border: 1px solid rgba(0,0,0,0.35);
    background: #fff;
    font-size: 1rem;
    outline: none;
}

.login-input + .login-input {
    border-top: 0;
}

.login-options {
    display: flex;
    align-items: center;
    gap: 26px;
    padding: 18px 2px 10px;
}

.login-option {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: #111;
}

.login-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.login-submit {
    width: 100%;
    height: 62px;
    border: 0;
    background: #0f0f0f;
    color: #fff;
    letter-spacing: 0.08em;
    font-size: 1rem;
    cursor: pointer;
}

.login-links {
    display: flex;
    justify-content: space-between;
    padding-top: 10px;
}

.login-link {
    font-size: 0.95rem;
    letter-spacing: 0.04em;
}

.guest-order {
    margin-top: 140px;
}

.guest-order-title {
    font-family: var(--font-sans);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 14px;
}

.guest-order-desc {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 22px;
}

.guest-order-form {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.guest-order-input {
    width: 100%;
    height: 62px;
    padding: 0 18px;
    border: 1px solid rgba(0,0,0,0.7);
    background: #fff;
    font-size: 1rem;
    outline: none;
}

.guest-order-input + .guest-order-input {
    border-top: 0;
}

.guest-order-submit {
    width: 100%;
    height: 68px;
    margin-top: 28px;
    border: 1px solid rgba(0,0,0,0.7);
    background: #fff;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
    cursor: pointer;
}

.guest-order-submit:disabled {
    cursor: wait;
    color: rgba(0, 0, 0, 0.45);
    background: #f7f7f7;
}

.guest-order-notice {
    min-height: 20px;
    margin-top: 16px;
    font-family: var(--font-sans);
    font-size: 0.78rem;
    line-height: 1.7;
    text-align: center;
}

.guest-order-notice.is-error {
    color: #8a1f1f;
}

.guest-order-notice.is-success {
    color: #1f5f36;
}

.guest-order-result {
    margin-top: 42px;
    padding-top: 34px;
    border-top: 1px solid rgba(0, 0, 0, 0.8);
    font-family: var(--font-sans);
}

.guest-order-result-title {
    margin-bottom: 24px;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.guest-order-detail-summary {
    border-top: 1px solid rgba(0, 0, 0, 0.7);
}

.guest-order-detail-row {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 18px;
    padding: 15px 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.25);
    font-size: 0.82rem;
    line-height: 1.65;
}

.guest-order-detail-label {
    color: rgba(0, 0, 0, 0.62);
}

.guest-order-detail-value {
    overflow-wrap: anywhere;
}

.guest-order-result-subtitle {
    margin: 34px 0 14px;
    font-size: 0.9rem;
    font-weight: 600;
}

.guest-order-result-items {
    border-top: 1px solid rgba(0, 0, 0, 0.7);
}

.guest-order-result-item {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 92px;
    padding: 14px 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.25);
}

.guest-order-result-image {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    object-fit: cover;
    background: #f5f5f5;
}

.guest-order-result-item-info {
    min-width: 0;
}

.guest-order-result-item-name {
    font-size: 0.84rem;
    line-height: 1.5;
}

.guest-order-result-item-meta,
.guest-order-result-empty {
    margin-top: 7px;
    color: rgba(0, 0, 0, 0.6);
    font-size: 0.76rem;
    line-height: 1.6;
}

.guest-order-result-empty {
    margin: 0;
    padding: 30px 10px;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.25);
}

.join-page {
    padding: 190px 48px 140px 48px;
    max-width: 1100px;
    margin: 0 auto;
}

.join-body .logo-center {
    transition: opacity 0.2s ease;
}

.join-body.is-scrolled .logo-center {
    opacity: 0;
    pointer-events: none;
}

.join-result-body .logo-center {
    transition: opacity 0.2s ease;
}

.join-result-body.is-scrolled .logo-center {
    opacity: 0;
    pointer-events: none;
}

.join-result-page {
    padding: 150px 20px 140px 20px;
    max-width: 560px;
    margin: 0 auto;
}

.join-result-panel {
    width: 100%;
    text-align: center;
    font-family: var(--font-sans);
}

.join-result-brand {
    display: flex;
    justify-content: center;
}

.join-result-brand img {
    height: 42px;
    width: auto;
}

.join-result-title {
    margin-top: 36px;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.12em;
}

.join-result-message {
    margin-top: 30px;
    font-size: 0.78rem;
    line-height: 1.8;
    color: #111;
}

.join-result-sub {
    margin-top: 10px;
    font-size: 0.78rem;
    line-height: 1.8;
    color: #111;
}

.join-result-grade {
    font-weight: 600;
}

.join-result-divider {
    height: 1px;
    width: 100%;
    background: rgba(0, 0, 0, 0.18);
    margin: 34px 0 20px;
}

.join-result-info {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
}

.join-result-info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-size: 0.78rem;
    line-height: 1.6;
}

.join-result-info-label {
    color: #111;
}

.join-result-info-value {
    color: #111;
    text-align: right;
    word-break: break-word;
}

.join-result-button {
    width: 100%;
    height: 48px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.7);
    color: #111;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    cursor: pointer;
}

.join-result-button:hover {
    background: #0f0f0f;
    color: #fff;
}

.auth-callback-panel {
    padding-top: 34px;
}

.auth-callback-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    text-decoration: none;
}

.social-join-page {
    max-width: 760px;
}

.social-join-heading {
    max-width: 560px;
    margin: 0 auto 54px;
    text-align: center;
    font-family: var(--font-sans);
}

.social-join-heading h1 {
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.12em;
}

.social-join-heading p {
    margin-top: 18px;
    font-size: 0.78rem;
    line-height: 1.8;
}

.social-join-status,
.social-link-required {
    max-width: 560px;
    margin: 0 auto;
    font-family: var(--font-sans);
    font-size: 0.78rem;
    line-height: 1.8;
    text-align: center;
}

.social-email-input {
    color: rgba(0, 0, 0, 0.65);
    background: #f7f7f7;
}

.social-agreement {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 42px;
    padding-top: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.7);
}

.social-agree-check a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.social-join-actions {
    gap: 10px;
}

.social-join-actions .join-submit,
.social-join-cancel {
    width: 50%;
    height: 54px;
}

.social-join-cancel {
    border: 1px solid rgba(0, 0, 0, 0.7);
    background: #fff;
    color: #111;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    cursor: pointer;
}

.social-link-required {
    padding-top: 18px;
}

.social-link-required h2 {
    margin-bottom: 22px;
    font-size: 1rem;
    font-weight: 600;
}

.social-link-required p + p {
    margin-top: 10px;
}

.social-link-required .join-result-button {
    margin-top: 30px;
}

.mypage-body {
    background: #fff;
}

.mypage-body .logo-center {
    transition: opacity 0.2s ease;
}

.mypage-body.is-scrolled .logo-center {
    opacity: 0;
    pointer-events: none;
}

.profile-body {
    background: #fff;
}

.profile-body .logo-center {
    transition: opacity 0.2s ease;
}

.profile-body.is-scrolled .logo-center {
    opacity: 0;
    pointer-events: none;
}

.mypage-page,
.profile-page {
    padding: 190px 20px 140px 20px;
    max-width: 1120px;
    margin: 0 auto;
    font-family: var(--font-sans);
    color: #111;
}

.mypage-brand {
    display: flex;
    justify-content: center;
}

.mypage-brand img {
    height: 42px;
    width: auto;
}

.mypage-content {
    transform: translateY(-100px);
}

.mypage-title {
    margin: 34px 0 0;
    text-align: center;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.12em;
}

.mypage-greeting {
    margin-top: 18px;
    text-align: center;
    font-size: 0.78rem;
    color: #111;
}

.mypage-logout {
    display: block;
    text-align: center;
    margin-top: 8px;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    color: rgba(0, 0, 0, 0.55);
}

.mypage-logout:hover {
    color: #111;
}

.mypage-section {
    margin-top: 54px;
}

.mypage-section--orders {
    margin-top: 46px;
}

.mypage-section-head {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 0.78rem;
}

.mypage-section-title {
    font-weight: 600;
}

.mypage-section-note {
    color: rgba(0, 0, 0, 0.55);
}

.mypage-divider {
    height: 1px;
    width: 100%;
    background: rgba(0, 0, 0, 0.22);
    margin: 14px 0 0;
}

.mypage-divider--section {
    margin: 26px 0 0;
}

.mypage-status-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding-top: 18px;
}

.mypage-status-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 22px;
    font-size: 0.78rem;
}

.mypage-status-group--right {
    justify-content: flex-end;
}

.mypage-status-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.mypage-status-value {
    font-weight: 600;
}

.mypage-summary-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 22px;
    font-size: 0.78rem;
    padding-top: 18px;
}

.mypage-summary-right {
    display: flex;
    gap: 18px;
    color: #111;
}

.mypage-summary-strong {
    font-weight: 600;
}

.mypage-menu-grid {
    margin-top: 34px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 120px;
    row-gap: 18px;
}

.mypage-menu-item {
    display: inline-flex;
    align-items: baseline;
    gap: 12px;
    font-size: 0.78rem;
    color: #111;
}

.mypage-menu-en {
    font-weight: 600;
    letter-spacing: 0.02em;
}

.mypage-menu-ko {
    color: rgba(0, 0, 0, 0.45);
}

.mypage-inline-notice {
    margin-top: 18px;
    font-size: 0.78rem;
    color: rgba(0, 0, 0, 0.55);
    text-align: center;
    opacity: 0;
    transition: opacity 0.18s ease;
}

.mypage-inline-notice.is-visible {
    opacity: 1;
}

.mileage-summary {
    max-width: 560px;
    margin: 46px auto 0;
}

.mileage-summary-list {
    padding: 4px 0 28px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.7);
}

.mileage-summary-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
    padding: 10px 0;
    font-size: 0.78rem;
    color: #111;
}

.mileage-summary-row dt,
.mileage-summary-row dd {
    margin: 0;
}

.mileage-summary-row dd {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.mileage-summary-row--strong dd {
    font-weight: 600;
}

.mileage-menu {
    border-bottom: 1px solid rgba(0, 0, 0, 0.7);
}

.mileage-menu-item {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.22);
    font-size: 0.78rem;
    color: #111;
}

.mileage-menu-item:last-child {
    border-bottom: 0;
}

.mileage-menu-arrow {
    font-size: 0.92rem;
    color: rgba(0, 0, 0, 0.65);
    transition: transform 0.2s ease;
}

.mileage-menu-item:hover .mileage-menu-arrow {
    transform: translateX(3px);
}

.mileage-detail {
    max-width: 860px;
    margin: 46px auto 0;
}

.mileage-detail-head {
    position: relative;
    min-height: 42px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.7);
}

.mileage-detail-title {
    margin: 0;
    padding: 0 120px;
    text-align: center;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.55;
    color: #111;
}

.mileage-back {
    position: absolute;
    left: 0;
    top: 1px;
    font-size: 0.72rem;
    color: rgba(0, 0, 0, 0.58);
}

.mileage-list {
    border-bottom: 1px solid rgba(0, 0, 0, 0.7);
}

.mileage-item {
    padding: 22px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.18);
}

.mileage-item:last-child {
    border-bottom: 0;
}

.mileage-item-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
}

.mileage-item-date,
.mileage-item-amount {
    font-size: 0.78rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.mileage-item-amount.is-negative {
    color: rgba(0, 0, 0, 0.55);
}

.mileage-item-description {
    margin-top: 12px;
    font-size: 0.78rem;
    color: #111;
    line-height: 1.6;
    word-break: keep-all;
}

.mileage-item-meta {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    font-size: 0.7rem;
    color: rgba(0, 0, 0, 0.5);
}

.mileage-empty {
    padding: 82px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.7);
    text-align: center;
    font-size: 0.78rem;
    color: rgba(0, 0, 0, 0.55);
}

.mileage-pagination {
    margin-top: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.mileage-page-link {
    min-width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    font-size: 0.72rem;
    color: rgba(0, 0, 0, 0.58);
}

.mileage-page-link.is-active {
    border-color: rgba(0, 0, 0, 0.75);
    color: #111;
    font-weight: 600;
}

.mileage-page-link.is-disabled {
    opacity: 0.28;
    pointer-events: none;
}

.mileage-notice {
    min-height: 18px;
    margin-top: 20px;
    text-align: center;
    font-size: 0.72rem;
    line-height: 1.55;
    color: rgba(0, 0, 0, 0.58);
    opacity: 0;
}

.mileage-notice.is-visible {
    opacity: 1;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.coupon-register,
.coupon-wallet {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

.coupon-register {
    margin-top: 46px;
    padding: 22px 0 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.75);
    border-bottom: 1px solid rgba(0, 0, 0, 0.22);
}

.coupon-section-heading {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.coupon-section-heading h2 {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 600;
    color: #111;
}

.coupon-section-heading > span {
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    color: rgba(0, 0, 0, 0.42);
}

.coupon-register-form {
    display: flex;
    align-items: stretch;
    gap: 8px;
    margin-top: 18px;
}

.coupon-code-input {
    min-width: 0;
    height: 48px;
    flex: 1;
    padding: 0 16px;
    border: 1px solid rgba(0, 0, 0, 0.72);
    border-radius: 0;
    background: #fff;
    font: inherit;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    color: #111;
    outline: none;
}

.coupon-code-input::placeholder {
    color: rgba(0, 0, 0, 0.35);
    font-size: 0.82rem;
}

.coupon-code-input:focus {
    border-color: #111;
    box-shadow: inset 0 0 0 1px #111;
}

.coupon-code-input:disabled {
    background: rgba(0, 0, 0, 0.035);
    color: rgba(0, 0, 0, 0.45);
}

.coupon-register-button {
    width: 132px;
    min-height: 48px;
    border: 1px solid #111;
    border-radius: 0;
    background: #111;
    color: #fff;
    font: inherit;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease;
}

.coupon-register-button:hover,
.coupon-register-button:focus-visible {
    background: #fff;
    color: #111;
}

.coupon-register-button:disabled {
    cursor: wait;
    opacity: 0.55;
}

.coupon-register-guide {
    margin: 11px 0 0;
    font-size: 0.68rem;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.48);
    word-break: keep-all;
}

.coupon-notice {
    min-height: 17px;
    margin-top: 8px;
    font-size: 0.7rem;
    line-height: 1.55;
    color: rgba(0, 0, 0, 0.58);
    opacity: 0;
}

.coupon-notice.is-visible {
    opacity: 1;
}

.coupon-notice.is-success {
    color: #111;
}

.coupon-notice.is-error {
    color: #8a2f2f;
}

.coupon-wallet {
    margin-top: 54px;
}

.coupon-wallet-heading {
    min-height: 42px;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.75);
}

.coupon-wallet-count {
    display: flex;
    align-items: baseline;
    gap: 5px;
    font-size: 0.68rem;
    color: rgba(0, 0, 0, 0.5);
    font-variant-numeric: tabular-nums;
}

.coupon-wallet-count strong {
    color: #111;
    font-weight: 600;
}

.coupon-list {
    border-bottom: 1px solid rgba(0, 0, 0, 0.75);
}

.coupon-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.18);
}

.coupon-item:last-child {
    border-bottom: 0;
}

.coupon-item--used,
.coupon-item--expired,
.coupon-item--cancelled {
    color: rgba(0, 0, 0, 0.48);
}

.coupon-item-main {
    min-width: 0;
    flex: 1;
}

.coupon-item-top {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.coupon-item-status {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 2px 8px;
    border: 1px solid rgba(0, 0, 0, 0.72);
    font-size: 0.62rem;
    line-height: 1.3;
    color: #111;
}

.coupon-item--used .coupon-item-status,
.coupon-item--expired .coupon-item-status,
.coupon-item--cancelled .coupon-item-status {
    border-color: rgba(0, 0, 0, 0.28);
    color: rgba(0, 0, 0, 0.48);
}

.coupon-item-code {
    font-size: 0.64rem;
    letter-spacing: 0.05em;
    color: rgba(0, 0, 0, 0.38);
}

.coupon-item-name {
    margin: 12px 0 0;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.5;
    color: inherit;
    word-break: keep-all;
}

.coupon-item-description {
    margin: 7px 0 0;
    font-size: 0.74rem;
    line-height: 1.6;
    color: inherit;
    word-break: keep-all;
}

.coupon-item-meta {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px 16px;
    font-size: 0.66rem;
    line-height: 1.5;
    color: rgba(0, 0, 0, 0.45);
}

.coupon-item-value {
    min-width: 130px;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.coupon-item-value strong {
    display: block;
    font-size: 1.08rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #111;
}

.coupon-item--used .coupon-item-value strong,
.coupon-item--expired .coupon-item-value strong,
.coupon-item--cancelled .coupon-item-value strong {
    color: rgba(0, 0, 0, 0.4);
}

.coupon-item-value span {
    display: block;
    margin-top: 4px;
    font-size: 0.56rem;
    letter-spacing: 0.12em;
    color: rgba(0, 0, 0, 0.38);
}

.coupon-empty {
    padding: 82px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.75);
    text-align: center;
    font-size: 0.78rem;
    color: rgba(0, 0, 0, 0.55);
}

.board-management {
    max-width: 860px;
    margin: 46px auto 0;
}

.board-tab {
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.75);
    color: #111;
}

.board-tab h2,
.board-tab span {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 600;
}

.board-tab strong {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.board-type-filters {
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.22);
}

.board-type-filter {
    position: relative;
    min-height: 56px;
    padding: 0;
    border: 0;
    background: transparent;
    font-family: var(--font-sans);
    font-size: 0.72rem;
    color: rgba(0, 0, 0, 0.45);
    white-space: nowrap;
    cursor: pointer;
}

.board-type-filter::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 1px;
    background: transparent;
}

.board-type-filter:hover,
.board-type-filter:focus-visible,
.board-type-filter.is-active {
    color: #111;
}

.board-type-filter.is-active {
    font-weight: 600;
}

.board-type-filter.is-active::after {
    background: #111;
}

.board-search {
    max-width: 570px;
    margin: 28px auto 46px;
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr) 92px;
    align-items: stretch;
    gap: 8px;
}

.board-search-select,
.board-search-input,
.board-search-button {
    height: 44px;
    border-radius: 0;
    font-family: var(--font-sans);
}

.board-search-select,
.board-search-input {
    border: 1px solid rgba(0, 0, 0, 0.72);
    background: #fff;
    color: #111;
    outline: none;
}

.board-search-select {
    padding: 0 34px 0 12px;
    font-size: 0.74rem;
    cursor: pointer;
}

.board-search-input {
    min-width: 0;
    padding: 0 14px;
    font-size: 0.74rem;
}

.board-search-input::placeholder {
    color: rgba(0, 0, 0, 0.35);
}

.board-search-select:focus,
.board-search-input:focus {
    border-color: #111;
    box-shadow: inset 0 0 0 1px #111;
}

.board-search-button {
    border: 1px solid #111;
    background: #111;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease;
}

.board-search-button:hover,
.board-search-button:focus-visible {
    background: #fff;
    color: #111;
}

.board-list-heading,
.board-item {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr) 120px 72px;
    align-items: center;
    gap: 20px;
}

.board-list-heading {
    min-height: 42px;
    padding: 0 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.75);
    border-bottom: 1px solid rgba(0, 0, 0, 0.22);
    font-size: 0.66rem;
    color: rgba(0, 0, 0, 0.5);
    text-align: center;
}

.board-list-heading span:nth-child(2) {
    text-align: left;
}

.board-list {
    border-bottom: 1px solid rgba(0, 0, 0, 0.75);
}

.board-list:empty {
    border-bottom: 0;
}

.board-item {
    min-height: 92px;
    padding: 18px 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.18);
}

.board-item:last-child {
    border-bottom: 0;
}

.board-item-category,
.board-item-date,
.board-item-status {
    font-size: 0.7rem;
    color: rgba(0, 0, 0, 0.55);
    text-align: center;
}

.board-item-date {
    font-variant-numeric: tabular-nums;
}

.board-item-main {
    min-width: 0;
}

.board-item-title {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.55;
    color: #111;
    word-break: keep-all;
}

.board-item-preview {
    margin: 6px 0 0;
    overflow: hidden;
    font-size: 0.68rem;
    line-height: 1.55;
    color: rgba(0, 0, 0, 0.48);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.board-item-product {
    margin-top: 7px;
    font-size: 0.64rem;
    line-height: 1.5;
    color: rgba(0, 0, 0, 0.42);
}

.board-item-status.has-answer {
    color: #111;
    font-weight: 600;
}

.board-empty {
    padding: 82px 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.75);
    border-bottom: 1px solid rgba(0, 0, 0, 0.75);
    text-align: center;
    font-size: 0.78rem;
    color: rgba(0, 0, 0, 0.55);
}

.board-pagination {
    margin-top: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.board-page-link {
    min-width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    background: transparent;
    font-family: var(--font-sans);
    font-size: 0.72rem;
    color: rgba(0, 0, 0, 0.58);
    cursor: pointer;
}

.board-page-link.is-active {
    border-color: rgba(0, 0, 0, 0.75);
    color: #111;
    font-weight: 600;
}

.board-page-link:disabled {
    opacity: 0.28;
    cursor: default;
}

.board-notice {
    min-height: 18px;
    margin-top: 20px;
    text-align: center;
    font-size: 0.72rem;
    line-height: 1.55;
    color: rgba(0, 0, 0, 0.58);
    opacity: 0;
}

.board-notice.is-visible {
    opacity: 1;
}

.board-notice.is-error {
    color: #8a2f2f;
}

.address-panel {
    max-width: 860px;
    margin: 46px auto 0;
}

.address-panel-head {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 12px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.75);
    border-bottom: 1px solid rgba(0, 0, 0, 0.75);
}

.address-panel-head h2 {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.address-panel-head p {
    margin: 7px 0 0;
    font-size: 0.66rem;
    line-height: 1.55;
    color: rgba(0, 0, 0, 0.5);
}

.address-button {
    min-width: 150px;
    height: 46px;
    padding: 0 18px;
    border: 1px solid #111;
    border-radius: 0;
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 500;
    color: #111;
    background: #fff;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, opacity 0.18s ease;
}

.address-button--primary {
    background: #111;
    color: #fff;
}

.address-button:hover,
.address-button:focus-visible {
    background: #111;
    color: #fff;
}

.address-button--primary:hover,
.address-button--primary:focus-visible {
    background: #fff;
    color: #111;
}

.address-button:disabled {
    opacity: 0.4;
    cursor: default;
}

.address-button--compact {
    min-width: 142px;
    height: 40px;
}

.address-button--small {
    min-width: 62px;
    height: 36px;
    padding: 0 12px;
    font-size: 0.68rem;
}

.address-list {
    border-bottom: 1px solid rgba(0, 0, 0, 0.75);
}

.address-list:empty {
    border-bottom: 0;
}

.address-item {
    min-height: 174px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 30px;
    align-items: end;
    padding: 24px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.address-item:last-child {
    border-bottom: 0;
}

.address-item-content {
    min-width: 0;
}

.address-item-head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
}

.address-item-head h3 {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.address-default-badge {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 8px;
    border: 1px solid rgba(0, 0, 0, 0.52);
    font-size: 0.58rem;
    line-height: 1;
    color: rgba(0, 0, 0, 0.65);
}

.address-recipient-name {
    margin-top: 20px;
    font-size: 0.78rem;
    font-weight: 500;
}

.address-address-line,
.address-phone-line {
    margin-top: 6px;
    font-size: 0.72rem;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.62);
    overflow-wrap: anywhere;
}

.address-phone-line {
    color: rgba(0, 0, 0, 0.46);
    font-variant-numeric: tabular-nums;
}

.address-item-actions {
    display: flex;
    gap: 8px;
}

.address-empty {
    padding: 76px 20px 80px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.75);
    text-align: center;
}

.address-empty p {
    margin: 0;
    font-size: 0.78rem;
    color: rgba(0, 0, 0, 0.55);
}

.address-notice,
.address-form-notice,
.address-field-notice {
    min-height: 18px;
    font-size: 0.7rem;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.55);
    opacity: 0;
}

.address-notice {
    margin-top: 18px;
    text-align: center;
}

.address-form-notice {
    margin-top: 20px;
    text-align: center;
}

.address-field-notice {
    margin-top: 9px;
}

.address-notice.is-visible,
.address-form-notice.is-visible,
.address-field-notice.is-visible {
    opacity: 1;
}

.address-notice.is-error,
.address-form-notice.is-error,
.address-field-notice.is-error {
    color: #8a2f2f;
}

.address-panel-head--form {
    justify-content: flex-start;
}

.address-required-mark {
    color: rgba(0, 0, 0, 0.52);
}

.address-form {
    max-width: 680px;
    margin: 34px auto 0;
}

.address-form-row {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 22px;
    align-items: center;
    margin-top: 14px;
}

.address-form-row:first-child {
    margin-top: 0;
}

.address-form-row > label {
    font-size: 0.74rem;
    font-weight: 500;
    line-height: 1.55;
}

.address-form-row input[type="text"],
.address-form-row input[type="tel"] {
    width: 100%;
    height: 44px;
    box-sizing: border-box;
    border: 1px solid rgba(0, 0, 0, 0.72);
    border-radius: 0;
    padding: 0 13px;
    background: #fff;
    font-family: var(--font-sans);
    font-size: 0.74rem;
    color: #111;
    outline: none;
}

.address-form-row input[readonly] {
    background: rgba(0, 0, 0, 0.025);
    color: rgba(0, 0, 0, 0.62);
}

.address-form-row input::placeholder {
    color: rgba(0, 0, 0, 0.34);
}

.address-form-row input:focus {
    border-color: #111;
    box-shadow: inset 0 0 0 1px #111;
}

.address-form-row--address {
    align-items: start;
}

.address-form-row--address > label {
    padding-top: 12px;
}

.address-form-field {
    min-width: 0;
}

.address-postal-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 126px;
    gap: 9px;
}

.address-search-button {
    min-width: 0;
    height: 44px;
}

.address-stacked-input {
    margin-top: 9px;
}

.address-default-row {
    max-width: 498px;
    margin: 22px 0 0 auto;
}

.address-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 0.72rem;
    line-height: 1.5;
    cursor: pointer;
}

.address-checkbox input {
    width: 15px;
    height: 15px;
    margin: 0;
    accent-color: #111;
}

.address-form-actions {
    max-width: 560px;
    margin: 28px 0 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.address-form-actions .address-button {
    width: 100%;
}

@media (max-width: 720px) {
    .address-panel {
        margin-top: 38px;
    }

    .address-panel-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
        padding: 18px 0;
    }

    .address-panel-head .address-button {
        width: 100%;
    }

    .address-item {
        min-height: 0;
        grid-template-columns: 1fr;
        gap: 22px;
        align-items: start;
        padding: 22px 0;
    }

    .address-item-actions {
        justify-content: flex-end;
    }

    .address-item-actions .address-button {
        min-width: 72px;
    }

    .address-form {
        margin-top: 26px;
    }

    .address-form-row {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-top: 18px;
    }

    .address-form-row--address > label {
        padding-top: 0;
    }

    .address-default-row,
    .address-form-actions {
        max-width: none;
        margin-left: 0;
    }

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

@media (max-width: 420px) {
    .address-postal-row {
        grid-template-columns: minmax(0, 1fr) 108px;
    }

    .address-search-button {
        padding: 0 10px;
    }
}

.shop-inline-notice {
    margin-top: 14px;
    font-size: 0.78rem;
    color: rgba(0, 0, 0, 0.55);
    text-align: center;
    opacity: 0;
    transition: opacity 0.18s ease;
}

.shop-inline-notice.is-visible {
    opacity: 1;
}

.commerce-page {
    min-height: calc(100vh - 240px);
    padding: 160px 22px 120px;
}

.wishlist-page,
.cart-page {
    max-width: 1120px;
    margin: 0 auto;
    padding-top: 190px;
}

.commerce-brand {
    display: flex;
    justify-content: center;
    margin-bottom: 28px;
}

.commerce-brand img {
    width: 240px;
    height: auto;
    object-fit: contain;
}

.commerce-title {
    text-align: center;
    font-family: var(--font-sans);
    font-size: 1.45rem;
    font-weight: 300;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #111;
}

.commerce-content {
    margin: 46px auto 0;
    max-width: 860px;
}

.commerce-tools {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    font-size: 0.78rem;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.25);
}

.commerce-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #111;
    font-size: 0.78rem;
}

.commerce-check input[type="checkbox"] {
    width: 14px;
    height: 14px;
    accent-color: #111;
}

.commerce-list {
    border-bottom: 1px solid rgba(0, 0, 0, 0.25);
}

.commerce-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 18px 0 0;
}

.commerce-page-btn {
    min-width: 34px;
    height: 34px;
    border: 1px solid rgba(0, 0, 0, 0.25);
    background: #fff;
    font-size: 0.75rem;
    color: rgba(0, 0, 0, 0.7);
    cursor: pointer;
}

.commerce-page-btn.is-active {
    border-color: rgba(0, 0, 0, 0.85);
    color: #111;
}

.commerce-page-btn:disabled {
    opacity: 0.4;
    cursor: default;
}

.commerce-item {
    display: grid;
    grid-template-columns: 26px 92px 1fr 160px;
    gap: 14px;
    padding: 18px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.18);
    align-items: center;
}

.commerce-check--item {
    justify-content: center;
}

.commerce-thumb {
    width: 92px;
    height: 92px;
    border: 1px solid rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

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

.commerce-info {
    min-width: 0;
}

.commerce-name {
    display: inline-block;
    font-size: 0.84rem;
    letter-spacing: 0.02em;
    color: #111;
}

.commerce-option {
    margin-top: 6px;
    font-size: 0.75rem;
    color: rgba(0, 0, 0, 0.55);
}

.commerce-price {
    margin-top: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #111;
}

.commerce-item-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
}

.commerce-btn {
    height: 42px;
    border: 1px solid rgba(0, 0, 0, 0.85);
    background: #fff;
    color: #111;
    font-family: var(--font-sans);
    font-size: 0.78rem;
    letter-spacing: 0.02em;
    cursor: pointer;
}

.commerce-btn--primary {
    background: #111;
    color: #fff;
}

.commerce-btn--outline {
    background: #fff;
    color: #111;
}

#wl-delete-selected,
#cart-delete-selected {
    width: 59px;
    height: 21px;
}

.commerce-empty {
    padding: 44px 0;
    text-align: center;
    font-size: 0.78rem;
    color: rgba(0, 0, 0, 0.55);
}

.commerce-actions {
    margin-top: 22px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.commerce-inline-notice {
    margin-top: 18px;
    font-size: 0.78rem;
    color: rgba(0, 0, 0, 0.55);
    text-align: center;
    opacity: 0;
    transition: opacity 0.18s ease;
}

.commerce-inline-notice.is-visible {
    opacity: 1;
}

.cart-item {
    grid-template-columns: 26px 92px 1fr 128px 120px 120px;
}

.cart-qty {
    display: grid;
    grid-template-columns: 40px 1fr 40px;
    height: 42px;
    border: 1px solid rgba(0, 0, 0, 0.85);
}

.cart-qty-btn {
    border: 0;
    background: #fff;
    font-size: 18px;
    cursor: pointer;
}

.cart-qty-value {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    color: #111;
    border-left: 1px solid rgba(0, 0, 0, 0.18);
    border-right: 1px solid rgba(0, 0, 0, 0.18);
}

.cart-line-total {
    font-size: 0.78rem;
    font-weight: 600;
    color: #111;
    text-align: right;
}

.cart-summary {
    margin-top: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.25);
    border-bottom: 1px solid rgba(0, 0, 0, 0.25);
    padding: 18px 0;
    font-size: 0.78rem;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    color: #111;
}

.cart-summary-row--total {
    font-weight: 600;
}

@media (max-width: 720px) {
    .commerce-page {
        padding: 150px 20px 110px;
    }

    .commerce-content {
        max-width: 560px;
    }

    .commerce-item {
        grid-template-columns: 26px 88px 1fr;
        grid-template-rows: auto auto;
        row-gap: 10px;
        padding: 16px 0;
    }

    .commerce-item-actions {
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: flex-end;
        flex-wrap: wrap;
    }

    .commerce-actions {
        grid-template-columns: 1fr;
    }

    .cart-item {
        grid-template-columns: 26px 88px 1fr;
        grid-template-rows: auto auto auto;
    }

    .cart-qty {
        grid-column: 1 / -1;
        width: 160px;
    }

    .cart-line-total {
        grid-column: 1 / -1;
        text-align: left;
    }
}

.profile-info {
    margin-top: 34px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.78rem;
}

.profile-row {
    display: grid;
    grid-template-columns: 160px 1fr;
    column-gap: 24px;
    align-items: start;
    padding: 10px 0;
}

.profile-label {
    color: #111;
    font-weight: 600;
    font-size: 0.78rem;
    line-height: 1.6;
}

.profile-value {
    color: #111;
    text-align: right;
    word-break: break-word;
}

.profile-content {
    margin-top: 34px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.profile-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    font-size: 0.78rem;
    letter-spacing: 0.02em;
    color: #111;
}

.profile-head--sub {
    margin-top: 34px;
}

.profile-head-right {
    color: rgba(0, 0, 0, 0.55);
}

.profile-form {
    margin-top: 26px;
    font-family: var(--font-sans);
}

.profile-field {
    width: 100%;
}

.profile-req {
    color: rgba(0, 0, 0, 0.55);
    margin-left: 2px;
}

.profile-input,
.profile-select {
    width: 100%;
    box-sizing: border-box;
    height: 38px;
    border: 1px solid rgba(0, 0, 0, 0.85);
    background: #fff;
    padding: 0 12px;
    font-size: 0.78rem;
    font-family: var(--font-sans);
    color: #111;
    outline: none;
}

.profile-input--readonly {
    background: rgba(0, 0, 0, 0.03);
    color: rgba(0, 0, 0, 0.6);
}

.profile-input--stack {
    margin-top: 10px;
}

.profile-input--small {
    flex: 1;
    min-width: 120px;
}

.profile-help {
    margin-top: 6px;
    font-size: 0.72rem;
    color: rgba(0, 0, 0, 0.5);
    line-height: 1.5;
}

.profile-address-top {
    display: flex;
    gap: 10px;
    align-items: center;
}

.profile-address-notice {
    margin-top: 10px;
    font-size: 0.72rem;
    color: rgba(185, 40, 40, 0.9);
    line-height: 1.5;
    opacity: 0;
    transition: opacity 0.18s ease;
}

.profile-address-notice.is-visible {
    opacity: 1;
}

.pf-postcode-layer {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.35);
}

.pf-postcode-layer.is-open {
    display: flex;
}

.pf-postcode-panel {
    width: 100%;
    max-width: 520px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.85);
}

.pf-postcode-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.22);
}

.pf-postcode-title {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.pf-postcode-close {
    width: 30px;
    height: 30px;
    border: 1px solid rgba(0, 0, 0, 0.85);
    background: #fff;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

.pf-postcode-body {
    padding: 0;
}

.pf-postcode-container {
    width: 100%;
    height: 480px;
}

body.is-postcode-open {
    overflow: hidden;
}

.pf-modal-layer {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.35);
}

.pf-modal-layer.is-open {
    display: flex;
}

.pf-modal-panel {
    width: calc(100% - 40px);
    max-width: 460px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.85);
}

.pf-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.22);
}

.pf-modal-title {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.pf-modal-close {
    width: 30px;
    height: 30px;
    border: 1px solid rgba(0, 0, 0, 0.85);
    background: #fff;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

.pf-modal-body {
    padding: 18px 16px 16px;
}

.pf-modal-text {
    font-size: 0.78rem;
    line-height: 1.7;
    color: #111;
}

.pf-modal-text + .pf-modal-text {
    margin-top: 6px;
}

.pf-modal-input {
    width: 100%;
    box-sizing: border-box;
    height: 38px;
    border: 1px solid rgba(0, 0, 0, 0.85);
    background: #fff;
    padding: 0 12px;
    font-size: 0.78rem;
    font-family: var(--font-sans);
    color: #111;
    outline: none;
    margin-top: 12px;
}

.pf-modal-error {
    margin-top: 10px;
    font-size: 0.72rem;
    color: rgba(185, 40, 40, 0.9);
    line-height: 1.5;
    opacity: 0;
    transition: opacity 0.18s ease;
}

.pf-modal-error.is-visible {
    opacity: 1;
}

.pf-modal-actions {
    margin-top: 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.pf-modal-btn {
    height: 46px;
    border: 1px solid rgba(0, 0, 0, 0.85);
    background: #fff;
    font-size: 0.78rem;
    font-family: var(--font-sans);
    letter-spacing: 0.02em;
    cursor: pointer;
}

.pf-modal-btn--primary {
    background: #111;
    color: #fff;
}

.pf-modal-btn--outline {
    background: #fff;
    color: #111;
}

body.is-modal-open {
    overflow: hidden;
}

.profile-phone {
    display: grid;
    grid-template-columns: 100px 16px 1fr 16px 1fr;
    align-items: center;
}

.profile-input--phone {
    text-align: center;
    padding: 0 8px;
}

.profile-phone-sep {
    text-align: center;
    color: rgba(0, 0, 0, 0.5);
}

.profile-radio {
    display: inline-flex;
    gap: 18px;
    font-size: 0.78rem;
    color: #111;
    align-items: center;
    height: 38px;
}

.profile-radio input {
    margin-right: 6px;
}

.profile-birth {
    display: grid;
    grid-template-columns: 1fr 18px 1fr 18px 1fr 18px;
    align-items: center;
}

.profile-input--birth {
    text-align: center;
    padding: 0 8px;
}

.profile-birth-unit {
    text-align: center;
    font-size: 0.78rem;
    color: rgba(0, 0, 0, 0.55);
}

.profile-actions {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}

.profile-btn {
    height: 46px;
    border: 1px solid rgba(0, 0, 0, 0.85);
    background: #fff;
    font-size: 0.78rem;
    font-family: var(--font-sans);
    letter-spacing: 0.02em;
    cursor: pointer;
}

.profile-btn--primary {
    background: #111;
    color: #fff;
}

.profile-btn--outline {
    background: #fff;
    color: #111;
}

.profile-btn:disabled {
    opacity: 0.6;
    cursor: default;
}

.profile-notice {
    margin-top: 14px;
    text-align: center;
    font-size: 0.78rem;
    color: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.18s ease;
    line-height: 1.6;
}

.profile-notice.is-visible {
    opacity: 1;
}

.profile-notice[data-type="error"] {
    color: rgba(185, 40, 40, 0.9);
}

.profile-notice[data-type="success"] {
    color: rgba(0, 0, 0, 0.75);
}

@media (max-width: 680px) {
    .profile-row {
        grid-template-columns: 1fr;
        row-gap: 8px;
    }

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

    .profile-phone {
        grid-template-columns: 88px 16px 1fr 16px 1fr;
    }

    .profile-birth {
        grid-template-columns: 1fr 18px 1fr 18px 1fr 18px;
    }

    .pf-postcode-panel {
        max-width: 680px;
    }

    .pf-postcode-container {
        height: 72vh;
        min-height: 380px;
    }
}

.orderlist-body {
    background: #fff;
}

.orderlist-body .logo-center {
    transition: opacity 0.2s ease;
}

.orderlist-body.is-scrolled .logo-center {
    opacity: 0;
    pointer-events: none;
}

.orderlist-page {
    padding: 190px 20px 140px 20px;
    max-width: 1120px;
    margin: 0 auto;
    font-family: var(--font-sans);
    color: #111;
}

.orderlist-brand {
    display: flex;
    justify-content: center;
}

.orderlist-brand img {
    height: 42px;
    width: auto;
}

.orderlist-content {
    transform: translateY(-100px);
}

.orderlist-title {
    margin: 34px 0 0;
    text-align: center;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.12em;
}

.orderlist-tabs {
    margin-top: 34px;
    display: flex;
    justify-content: center;
    gap: 28px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.22);
}

.orderlist-tab {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 12px 0 10px;
    font-family: var(--font-sans);
    font-size: 0.78rem;
    color: rgba(0, 0, 0, 0.55);
    cursor: pointer;
    border-bottom: 2px solid transparent;
}

.orderlist-tab.is-active {
    color: #111;
    border-bottom-color: rgba(0, 0, 0, 0.85);
    font-weight: 600;
}

.orderlist-filter {
    max-width: 560px;
    margin: 42px auto 0;
    font-size: 0.78rem;
}

.orderlist-filter-row {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 14px;
    align-items: center;
}

.orderlist-filter-row + .orderlist-filter-row {
    margin-top: 18px;
}

.orderlist-filter-label {
    color: #111;
}

.orderlist-select {
    position: relative;
    width: 100%;
}

.orderlist-select select {
    width: 100%;
    height: 36px;
    padding: 0 38px 0 12px;
    border: 1px solid rgba(0, 0, 0, 0.7);
    background: #fff;
    font-family: var(--font-sans);
    font-size: 0.78rem;
    color: #111;
    appearance: none;
}

.orderlist-select::after {
    content: '';
    position: absolute;
    right: 14px;
    top: 50%;
    width: 6px;
    height: 6px;
    border-right: 1px solid rgba(0, 0, 0, 0.85);
    border-bottom: 1px solid rgba(0, 0, 0, 0.85);
    transform: translateY(-65%) rotate(45deg);
    pointer-events: none;
}

.orderlist-period {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.orderlist-period-btn {
    height: 36px;
    padding: 0 14px;
    border: 1px solid rgba(0, 0, 0, 0.7);
    background: #fff;
    color: #111;
    font-family: var(--font-sans);
    font-size: 0.78rem;
    cursor: pointer;
}

.orderlist-period-btn.is-active {
    background: #0f0f0f;
    color: #fff;
    border-color: #0f0f0f;
}

.orderlist-range {
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.orderlist-range-inputs {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 auto;
}

.orderlist-range input[type="date"] {
    height: 36px;
    border: 1px solid rgba(0, 0, 0, 0.7);
    padding: 0 10px;
    font-family: var(--font-sans);
    font-size: 0.78rem;
    color: #111;
    background: #fff;
    flex: 1 1 0;
}

.orderlist-range-sep {
    color: rgba(0, 0, 0, 0.55);
}

.orderlist-search-btn {
    height: 36px;
    padding: 0 16px;
    border: 1px solid rgba(0, 0, 0, 0.7);
    background: #fff;
    font-family: var(--font-sans);
    font-size: 0.78rem;
    cursor: pointer;
    flex: 0 0 auto;
}

.orderlist-search-btn:hover {
    background: #0f0f0f;
    color: #fff;
}

.orderlist-guide {
    margin-top: 14px;
    color: rgba(0, 0, 0, 0.55);
    line-height: 1.6;
}

.orderlist-results {
    margin-top: 70px;
}

.orderlist-empty {
    text-align: center;
    font-size: 0.78rem;
    color: rgba(0, 0, 0, 0.55);
    padding: 70px 0;
}

.orderlist-order {
    border-top: 1px solid rgba(0, 0, 0, 0.22);
    padding: 22px 0;
}

.orderlist-order-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.orderlist-order-date {
    font-size: 0.78rem;
    font-weight: 600;
}

.orderlist-order-number {
    margin-top: 6px;
    font-size: 0.78rem;
    color: rgba(0, 0, 0, 0.65);
}

.orderlist-order-status {
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
}

.orderlist-order-body {
    margin-top: 14px;
    font-size: 0.78rem;
    color: rgba(0, 0, 0, 0.65);
}

.orderlist-items {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 14px;
}

.orderlist-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.orderlist-item-image {
    width: 96px;
    height: 96px;
    object-fit: cover;
    flex: 0 0 auto;
    border: 1px solid rgba(0, 0, 0, 0.12);
}

.orderlist-item-info {
    min-width: 0;
    flex: 1 1 auto;
}

.orderlist-item-name {
    font-size: 0.78rem;
    color: #111;
}

.orderlist-item-meta {
    margin-top: 6px;
    font-size: 0.78rem;
    color: rgba(0, 0, 0, 0.55);
    line-height: 1.5;
    word-break: break-word;
}

.orderlist-order-amount {
    color: rgba(0, 0, 0, 0.65);
}

.join-row.join-business {
    display: none;
}

.join-body.is-business .join-row.join-business {
    display: grid;
}

.join-row.join-corporate {
    display: none;
}

.join-body.is-corporate .join-row.join-corporate {
    display: grid;
}

.join-form {
    border-top: 0;
    font-family: var(--font-sans);
    max-width: 560px;
    margin: 0 auto;
}

.join-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0 12px;
    border-bottom: 1px solid rgba(0,0,0,0.2);
    margin-top: 0;
}

.join-section-head--basic {
    margin-top: var(--space-2cm);
    border-bottom: 2px solid rgba(0,0,0,0.8);
}

.join-section-head--sub {
    justify-content: flex-start;
    gap: 14px;
    margin-top: var(--space-2cm);
    border-bottom: 2px solid rgba(0,0,0,0.8);
}

.join-section-title {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.join-required-note {
    font-size: 0.9rem;
    color: #1b4fd6;
    font-weight: 600;
}

.req-dot {
    color: #1b4fd6;
    font-weight: 700;
}

.join-row {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 0;
}

.join-row--member-type {
    border-bottom: 2px solid rgba(0,0,0,0.8);
}

.join-row--business-type {
    border-bottom: 1px solid rgba(0,0,0,0.2);
}

.join-body.is-business .join-row--member-type {
    border-bottom: 1px solid rgba(0,0,0,0.2);
}

.join-body.is-business .join-row--business-type {
    border-bottom: 2px solid rgba(0,0,0,0.8);
}

.join-label {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-start;
    text-align: left;
    padding-right: 0;
    position: relative;
    top: -13px;
}

.join-req {
    color: #111;
    font-weight: 700;
}

.join-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.join-field > .join-input,
.join-field > .join-feedback {
    width: calc(100% + 50px);
    margin-left: -50px;
}

.join-field--tooltip > .join-input,
.join-field--tooltip > .join-feedback {
    width: calc(100% + 50px);
    margin-left: -50px;
}

.join-phone--wide {
    width: calc(100% + 50px);
    margin-left: -50px;
}

.join-phone--wide .join-select,
.join-phone--wide .join-input--phone {
    flex: 0 0 calc((100% - 60px) / 3);
    width: calc((100% - 60px) / 3);
    min-width: 0;
}

.join-phone--wide .join-sep {
    flex: 0 0 10px;
    width: 10px;
    text-align: center;
}

.join-field--tooltip {
    position: relative;
}

.join-password-guide {
    position: absolute;
    left: -130px;
    top: -218px;
    width: 360px;
    height: auto;
    overflow: visible;
    border: 1px solid rgba(0,0,0,0.78);
    background: #fff;
    padding: 18px 18px 15px 18px;
    box-shadow: 0 18px 39px rgba(0,0,0,0.16);
    z-index: 500;
}

@media (max-width: 768px) {
    .join-password-guide {
        left: 0;
        width: min(360px, 100%);
    }
}

.join-password-guide::before {
    content: '';
    position: absolute;
    left: 51px;
    bottom: -14px;
    width: 0;
    height: 0;
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-top: 14px solid rgba(0,0,0,0.78);
}

.join-password-guide::after {
    content: '';
    position: absolute;
    left: 52px;
    bottom: -12px;
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 12px solid #fff;
}

.join-password-guide[aria-hidden="true"] {
    display: none;
}

.join-password-guide-close {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 24px;
    height: 24px;
    border: 0;
    background: transparent;
    font-size: 20px;
    line-height: 1;
    color: #666;
    cursor: pointer;
}

.join-password-guide-title {
    font-size: 0.72rem;
    font-weight: 800;
    color: #111;
    padding-right: 24px;
}

.join-password-guide-title::before {
    content: '※ ';
    color: #d12b2b;
    font-weight: 900;
}

.join-password-guide-list {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.72rem;
    line-height: 1.5;
    color: #6a6a6a;
    list-style: none;
    padding-left: 0;
}

.join-password-guide-list li {
    position: relative;
    padding-left: 10px;
}

.join-password-guide-list li::before {
    content: '-';
    position: absolute;
    left: 0;
    top: 0;
    color: #6a6a6a;
}

.join-password-guide-chars {
    display: block;
    margin-top: 5px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.7rem;
    letter-spacing: 0.03em;
}

.join-feedback {
    min-height: 18px;
    font-size: 0.76rem;
    line-height: 1.25;
}

.join-feedback.is-error {
    color: #d12b2b;
}

.join-feedback.is-success {
    color: #111;
}

.join-help {
    font-size: 0.9rem;
    color: #333;
}

.join-input {
    width: 100%;
    height: 34px;
    padding: 0 14px;
    border: 1px solid rgba(0,0,0,0.45);
    background: #fff;
    font-size: 0.88rem;
    outline: none;
}

.join-input--short {
    max-width: 220px;
}

.join-input--mini {
    max-width: 220px;
}

.join-input--birth {
    max-width: 120px;
}

.join-input--corp {
    max-width: 180px;
}

.join-select {
    height: 34px;
    padding: 0 12px;
    border: 1px solid rgba(0,0,0,0.45);
    background: #fff;
    font-size: 0.88rem;
}

.join-select--full {
    width: 100%;
}

.join-btn {
    height: 38px;
    padding: 0 16px;
    border: 1px solid rgba(0,0,0,0.25);
    background: #fff;
    font-size: 0.95rem;
    cursor: pointer;
}

.join-btn--compact {
    padding: 0 14px;
    white-space: nowrap;
}

.join-corporate-no {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.join-address {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.join-address-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.join-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.join-phone--wide {
    flex-wrap: nowrap;
}

.join-phone--wide .join-sep {
    flex: 0 0 10px;
    width: 10px;
    text-align: center;
}

.join-phone--wide .join-select,
.join-phone--wide .join-input--phone {
    flex: 0 0 calc((100% - 60px) / 3);
    width: calc((100% - 60px) / 3);
    min-width: 0;
}

.join-input--phone {
    width: auto;
}

.join-sep {
    font-size: 0.95rem;
    color: #333;
}

.join-inline {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.join-inline--tight {
    gap: 18px;
}

.join-radio {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 600;
}

.join-birth {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.join-unit {
    font-size: 0.95rem;
    color: #333;
}

.join-refund {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.join-refund-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.join-sub-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: #111;
}

.join-actions {
    margin-top: var(--space-2cm);
    padding: 0;
    display: flex;
    justify-content: center;
}

.join-submit {
    width: min(520px, 100%);
    height: 54px;
    border: 0;
    background: #0f0f0f;
    color: #fff;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    cursor: pointer;
}

.agreement-actions {
    margin-top: 22px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    flex-wrap: wrap;
}

.agree-check {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: #333;
}

.btn-primary {
    border: 1px solid rgba(0,0,0,0.2);
    background: #1a1a1a;
    color: #fff;
    padding: 12px 18px;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
}

.btn-primary:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 1024px) {
    .shop-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .shop-grid-2--same-as-4 {
        width: 100%;
    }

    .shop-grid-3--same-as-4 {
        width: 100%;
    }

    .product-detail-layout {
        grid-template-columns: 1fr;
        grid-template-areas:
            "gallery"
            "summary"
            "detail";
        gap: 34px;
    }

    .product-gallery {
        width: 100%;
    }

    .product-summary {
        position: static;
        max-height: none;
        overflow: visible;
        padding: 0;
    }

    .pd-sections {
        margin-top: 0;
    }

    .product-thumb {
        width: 72px;
        height: 72px;
    }
}

@media (max-width: 768px) {
    .main-header {
        position: relative;
        height: 82px;
        padding: 0;
        background-color: var(--color-white);
    }

    .layer-1-visual {
        height: auto;
        min-height: 100vh;
    }
    
    .nav-left {
        width: min(82vw, 320px);
        min-height: 100dvh;
        padding: 100px 24px 32px;
        gap: 20px;
    }
    
    .nav-right {
        position: fixed;
        top: calc(16px + var(--home-announcement-height));
        right: 18px;
        padding: 0;
        margin: 0;
    }

    .has-site-announcement .nav-right {
        top: calc(16px + var(--home-announcement-height));
        margin: 0;
    }
    
    .logo-center {
        position: fixed;
        top: calc(17px + var(--home-announcement-height));
        left: 50%;
        width: 158px;
        margin: 0;
        text-align: center;
        transform: translateX(-50%);
    }

    .has-site-announcement .logo-center {
        top: calc(17px + var(--home-announcement-height));
    }

    .product-grid {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .product-item {
        height: 33.333vh;
    }

    .footer-container {
        flex-direction: column;
        gap: 40px;
    }

    .footer-left,
    .footer-right {
        width: 100%;
    }

    .footer-right {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-right-group {
        flex-direction: column;
        gap: 40px;
    }
    
    .shop-grid-4 {
        grid-template-columns: 1fr;
    }

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

    .shop-grid-3 {
        grid-template-columns: 1fr;
    }
    
    .shop-container {
        padding: 40px 20px 80px 20px; /* Reduced top padding for mobile if header is relative */
    }

    .product-gallery {
        width: 100%;
    }

    .product-thumbs {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        order: 2;
    }

    .product-thumb {
        width: 64px;
        height: 64px;
    }

    .product-community {
        margin-top: 56px;
    }

    .product-board-section {
        padding-bottom: 56px;
    }

    .product-board-item-summary {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 10px;
    }

    .product-board-item-meta {
        display: none;
    }

    .product-board-item-detail {
        padding: 18px 12px 20px;
    }

    .product-post-form {
        padding: 22px 18px;
    }

    .product-post-form-actions {
        grid-template-columns: 1fr;
    }


    .join-page {
        padding: 150px 20px 120px 20px;
        max-width: 100%;
    }

    .login-page {
        padding: 150px 20px 100px;
        max-width: 100%;
    }

    .guest-order {
        margin-top: 110px;
    }

    .guest-order-detail-row {
        grid-template-columns: 86px minmax(0, 1fr);
        gap: 12px;
        padding: 14px 8px;
    }

    .guest-order-result-item {
        align-items: flex-start;
    }

    .join-section-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .join-form {
        max-width: 100%;
    }

    .join-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .join-result-page {
        padding: 110px 20px 120px 20px;
        max-width: 100%;
        width: calc(100% - 40px);
    }

    .join-result-brand img {
        height: 38px;
    }

    .join-result-info-row {
        gap: 14px;
    }

    .mypage-page,
    .profile-page {
        padding: 150px 20px 120px 20px;
        max-width: 100%;
    }

    .cart-page {
        padding-top: 150px;
    }

    .mypage-status-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .mypage-status-group--right {
        justify-content: flex-start;
    }

    .mypage-summary-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .mypage-summary-right {
        gap: 14px;
        flex-wrap: wrap;
    }

    .mypage-menu-grid {
        grid-template-columns: 1fr 1fr;
        column-gap: 28px;
        row-gap: 16px;
    }

    .mileage-summary,
    .mileage-detail {
        max-width: 100%;
    }

    .mileage-summary {
        margin-top: 38px;
    }

    .mileage-summary-row {
        gap: 18px;
    }

    .mileage-menu-item {
        min-height: 56px;
        line-height: 1.5;
    }

    .mileage-detail {
        margin-top: 38px;
    }

    .mileage-detail-head {
        display: block;
        padding-bottom: 16px;
    }

    .mileage-detail-title {
        padding: 28px 0 0;
        text-align: left;
    }

    .mileage-back {
        top: 0;
    }

    .mileage-empty {
        padding: 64px 12px;
    }

    .mileage-item {
        padding: 20px 0;
    }

    .coupon-register,
    .coupon-wallet {
        max-width: 100%;
    }

    .coupon-register {
        margin-top: 38px;
    }

    .coupon-register-form {
        flex-direction: column;
    }

    .coupon-code-input {
        width: 100%;
        font-size: 16px;
    }

    .coupon-register-button {
        width: 100%;
    }

    .coupon-wallet {
        margin-top: 46px;
    }

    .coupon-wallet-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .coupon-item {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
        padding: 22px 0;
    }

    .coupon-item-value {
        min-width: 0;
        text-align: left;
    }

    .coupon-empty {
        padding: 64px 12px;
    }

    .board-management {
        max-width: 100%;
        margin-top: 38px;
    }

    .board-search {
        max-width: 100%;
        margin: 28px 0 38px;
        grid-template-columns: 104px minmax(0, 1fr) 76px;
    }

    .board-type-filters {
        justify-content: flex-start;
        gap: 24px;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scrollbar-width: none;
    }

    .board-type-filters::-webkit-scrollbar {
        display: none;
    }

    .board-search-select,
    .board-search-input {
        font-size: 16px;
    }

    .board-list-heading {
        display: none;
    }

    .board-item {
        min-height: 0;
        grid-template-columns: 1fr auto;
        gap: 8px 16px;
        padding: 20px 4px;
    }

    .board-item-main {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    .board-item-category,
    .board-item-date,
    .board-item-status {
        text-align: left;
    }

    .board-item-category {
        grid-column: 1;
        grid-row: 2;
    }

    .board-item-date {
        grid-column: 2;
        grid-row: 2;
    }

    .board-item-status {
        grid-column: 1 / -1;
        grid-row: 3;
    }

    .board-empty {
        padding: 64px 12px;
    }

    .profile-info {
        max-width: 100%;
    }

    .orderlist-page {
        padding: 150px 20px 120px 20px;
        max-width: 100%;
    }

    .orderlist-tabs {
        gap: 18px;
        flex-wrap: wrap;
    }

    .orderlist-filter {
        max-width: 100%;
    }

    .orderlist-range {
        flex-direction: column;
        align-items: stretch;
    }

    .orderlist-search-btn {
        width: 100%;
    }

    .orderlist-results {
        margin-top: 54px;
    }

    .orderlist-item-image {
        width: 86px;
        height: 86px;
    }

    .join-label {
        justify-content: flex-start;
        text-align: left;
        padding-right: 0;
        top: 0;
    }

    .join-field > .join-input,
    .join-field > .join-feedback,
    .join-field--tooltip > .join-input,
    .join-field--tooltip > .join-feedback,
    .join-phone--wide {
        width: 100%;
        margin-left: 0;
    }

    .social-join-heading {
        margin-bottom: 42px;
    }

    .social-join-actions {
        flex-direction: column;
    }

    .social-join-actions .join-submit,
    .social-join-cancel {
        width: 100%;
    }
    
    .menu-drawer {
        top: calc(18px + var(--home-announcement-height));
        left: 20px;
    }

    .has-site-announcement .menu-drawer {
        top: calc(18px + var(--home-announcement-height));
    }

    .menu-trigger span,
    .dark-header .menu-trigger span {
        background-color: var(--color-black);
    }

    .nav-left a,
    .dark-header .nav-left a {
        color: var(--color-black);
    }

    .menu-trigger {
        width: 28px;
        height: 20px;
    }

    .menu-trigger span {
        height: 1.5px;
    }

    .nav-right > ul {
        gap: 14px;
        align-items: center;
    }

    .nav-right a,
    .dark-header .nav-right a {
        position: relative;
        color: var(--color-black);
        text-shadow: none;
    }

    .nav-right [data-nav-label] {
        display: none;
    }

    .nav-mobile-icon {
        display: block;
        width: 26px;
        height: 26px;
    }

    .nav-mobile-icon svg {
        display: block;
        width: 100%;
        height: 100%;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.55;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .nav-right li:first-child a:not([data-nav-account]),
    .nav-right li:nth-child(2) a:not([data-nav-cart]) {
        display: block;
        width: 26px;
        height: 26px;
        overflow: visible;
        font-size: 0;
        line-height: 0;
        letter-spacing: 0;
    }

    .nav-right li:first-child a:not([data-nav-account])::before,
    .nav-right li:nth-child(2) a:not([data-nav-cart])::before {
        content: '';
        display: block;
        width: 26px;
        height: 26px;
        background-color: currentColor;
        -webkit-mask-position: center;
        mask-position: center;
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
        -webkit-mask-size: contain;
        mask-size: contain;
    }

    .nav-right li:first-child a:not([data-nav-account])::before {
        -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.55' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3Cpath d='M4.5 21c.5-5 3-7.5 7.5-7.5s7 2.5 7.5 7.5'/%3E%3C/svg%3E");
        mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.55' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3Cpath d='M4.5 21c.5-5 3-7.5 7.5-7.5s7 2.5 7.5 7.5'/%3E%3C/svg%3E");
    }

    .nav-right li:nth-child(2) a:not([data-nav-cart])::before {
        -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.55' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l1 13H4L5 8Z'/%3E%3Cpath d='M8 8V6a4 4 0 0 1 8 0v2'/%3E%3C/svg%3E");
        mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.55' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l1 13H4L5 8Z'/%3E%3Cpath d='M8 8V6a4 4 0 0 1 8 0v2'/%3E%3C/svg%3E");
    }

    body:not(.home-body):not(.about-body) .logo-center img {
        filter: brightness(0);
    }

    body.about-body .main-header {
        position: absolute;
        top: 0;
        left: 0;
        height: 82px;
        padding: 0;
        background: transparent;
    }

    body.about-body .menu-trigger span {
        background-color: var(--color-white);
    }

    body.about-body .nav-right a {
        color: var(--color-white);
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.28);
    }

    /* Homepage only: place the mobile controls directly over the hero image. */
    body.home-body .main-header {
        position: absolute;
        top: 0;
        left: 0;
        height: 82px;
        padding: 0;
        background: transparent;
    }

    body.home-body .layer-1-visual {
        height: 100vh;
        height: 100svh;
        min-height: 100vh;
        min-height: 100svh;
    }

    body.home-body .visual-bg {
        height: 100%;
    }

    body.home-body .menu-drawer {
        top: calc(18px + var(--home-announcement-height));
        left: 20px;
    }

    body.home-body .menu-trigger span {
        background-color: var(--color-white);
    }

    body.home-body .logo-center {
        top: calc(17px + var(--home-announcement-height));
        width: 158px;
        margin: 0;
    }

    body.home-body .nav-right {
        position: fixed;
        top: calc(16px + var(--home-announcement-height));
        right: 18px;
        padding: 0;
        margin: 0;
    }

    body.home-body .nav-right a {
        position: relative;
        color: var(--color-white);
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.28);
    }

    .nav-cart-badge:not([hidden]) {
        position: absolute;
        top: -7px;
        right: -8px;
        display: grid;
        place-items: center;
        min-width: 16px;
        height: 16px;
        padding: 0 4px;
        border-radius: 999px;
        background: #7c1f24;
        color: var(--color-white);
        font-family: var(--font-sans);
        font-size: 9px;
        line-height: 1;
        text-shadow: none;
    }

    .layer-2-bestseller,
    .layer-3-products,
    .layer-4-footer,
    .snap-section {
        min-height: auto;
        height: auto;
    }

    .layer-4-footer {
        display: block;
        padding: 80px 20px;
    }
}

/* Keep the desktop hero scroll length when the PC preview pane is narrow. */
@media (min-width: 500px) and (max-width: 768px) {
    body.home-body .layer-1-visual {
        height: 300vh;
        min-height: 300vh;
    }
}

/* Order checkout */
.order-page,
.order-complete-page {
    width: min(1440px, calc(100% - 80px));
    margin: 0 auto;
    padding: 150px 0 120px;
    color: #111;
}

.login-guest-checkout {
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid #d8d8d8;
}

.login-guest-checkout-button {
    width: 100%;
    min-height: 48px;
    border: 1px solid #111;
    background: #fff;
    color: #111;
    font: inherit;
    letter-spacing: 0.02em;
    cursor: pointer;
}

.login-guest-checkout-button:hover,
.login-guest-checkout-button:focus-visible {
    background: #111;
    color: #fff;
}

.order-page .mypage-brand,
.order-complete-page .mypage-brand { text-align: center; margin-bottom: 42px; }
.order-page .mypage-brand img,
.order-complete-page .mypage-brand img { width: 98px; height: auto; }
.order-page .mypage-title,
.order-complete-page .mypage-title { margin: 0 0 80px; text-align: center; font-size: 22px; font-weight: 400; letter-spacing: .02em; }
.order-loading { text-align: center; min-height: 240px; font-size: 14px; }
.order-global-notice { text-align: center; margin-bottom: 28px; }

.order-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 450px);
    grid-template-areas:
        "orderer items"
        "delivery summary"
        "discount summary"
        "payment summary"
        "agreement summary"
        "submit summary";
    gap: 28px 72px;
    align-items: start;
}
.order-section { border-top: 1px solid #111; padding-top: 22px; }
.order-delivery { grid-area: delivery; }.order-orderer { grid-area: orderer; }.order-items { grid-area: items; }
.order-discount { grid-area: discount; }.order-payment { grid-area: payment; }.order-summary { grid-area: summary; position: sticky; top: 30px; }
.order-agreement { grid-area: agreement; }.order-submit-area { grid-area: submit; }
.order-section-heading h2 { margin: 0 0 28px; font-size: 15px; font-weight: 500; letter-spacing: .03em; }
.order-delivery .order-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 28px; }
.order-delivery .order-section-heading h2 { margin-bottom: 0; }
.order-delivery-same-label { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-left: auto; font-size: 12px; line-height: 1.7; text-align: right; white-space: nowrap; cursor: pointer; }
.order-delivery-same-label input { margin: 0; }
.order-fields { display: grid; gap: 18px; }
.order-field { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 18px; align-items: center; font-size: 13px; }
.order-field input,
.order-field select,
.order-saved-addresses select,
.order-mileage input,
.order-coupon-field select { width: 100%; min-height: 46px; border: 1px solid #aaa; border-radius: 0; background: #fff; padding: 0 14px; font: inherit; color: #111; box-sizing: border-box; }
.order-field small { grid-column: 2; margin-top: -10px; color: #777; font-size: 11px; }
.order-phone-fields,
.order-email-fields { display: grid; gap: 8px; align-items: center; }
.order-phone-fields { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); }
.order-phone-fields > span,
.order-email-fields > span { text-align: center; }
.order-email-fields { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.25fr); }
.order-phone-fields input,
.order-phone-fields select,
.order-email-fields input,
.order-email-fields select { min-width: 0; text-align: center; }
.order-email-domain-control { display: grid; gap: 8px; min-width: 0; }
.order-email-domain-control select,
.order-email-domain-control input { text-align: left; }
.order-email-domain-control [hidden] { display: none; }
.order-postcode-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.order-small-btn { min-height: 46px; padding: 0 18px; border: 1px solid #111; background: #fff; color: #111; font: inherit; cursor: pointer; }
.order-address-tabs { display: grid; grid-template-columns: 1fr 1fr; margin: 0 0 18px; border-bottom: 1px solid #aaa; }
.order-tab { padding: 14px; border: 0; border-bottom: 1px solid transparent; background: transparent; color: #888; cursor: pointer; }
.order-tab.is-active { color: #111; border-color: #111; }
.order-saved-addresses { margin-bottom: 18px; }
.order-item { display: grid; grid-template-columns: 108px 1fr; gap: 18px; padding: 0 0 20px; margin-bottom: 20px; border-bottom: 1px solid #ccc; }
.order-item:last-child { margin-bottom: 0; }
.order-item img { width: 108px; height: 136px; object-fit: cover; background: #f5f5f5; }
.order-item-name { font-size: 14px; line-height: 1.5; }.order-item-option { margin-top: 12px; font-size: 12px; color: #777; }.order-item-price { margin-top: 18px; font-size: 14px; }
.order-discount-row { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid #ddd; font-size: 13px; }
.order-discount-row--disabled { color: #888; }
.order-coupon-area { display: grid; gap: 12px; margin-top: 18px; }
.order-coupon-field { display: grid; grid-template-columns: minmax(92px, .3fr) minmax(0, 1fr); align-items: center; gap: 14px; font-size: 13px; }
.order-coupon-field select { min-width: 0; padding-right: 34px; }
.order-coupon-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.order-coupon-actions small { color: #777; font-size: 11px; line-height: 1.5; }
.order-mileage { margin-top: 20px; font-size: 13px; }.order-mileage-input { display: grid; grid-template-columns: 1fr auto auto; margin-top: 10px; }.order-mileage-input .order-small-btn + .order-small-btn { border-left: 0; }.order-mileage small { display: block; margin-top: 8px; text-align: right; color: #777; }
.order-payment-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid #ddd; border-left: 1px solid #ddd; }
.order-payment-option { display: flex; min-height: 50px; gap: 10px; align-items: center; padding: 0 14px; border-right: 1px solid #ddd; border-bottom: 1px solid #ddd; font-size: 13px; cursor: pointer; box-sizing: border-box; }
.order-payment-option[hidden] { display: none; }
.order-payment-option small { margin-left: auto; color: #8d251f; font-size: 10px; letter-spacing: .03em; }
.order-payment-option:has(input:checked) { background: #111; color: #fff; }
.order-payment-option:has(input:checked) small { color: #fff; }
.order-bank-info { margin: 18px 0 12px; padding: 18px; border: 1px solid #bbb; font-size: 13px; line-height: 1.8; }.order-bank-info.is-preview { color: #8d251f; }.order-muted { color: #777; font-size: 12px; line-height: 1.7; }
.order-nicepay-note { margin-top: 14px; padding-left: 12px; border-left: 2px solid #8d251f; }
.order-summary-list { margin: 0; }.order-summary-list > div { display: flex; justify-content: space-between; gap: 20px; padding: 9px 0; font-size: 13px; }.order-summary-list dt,.order-summary-list dd { margin: 0; }.order-summary-total { margin-top: 18px; padding-top: 22px !important; border-top: 1px solid #111; font-size: 16px !important; font-weight: 500; }.order-shipping-note { margin: 18px 0 0; color: #777; font-size: 11px; line-height: 1.6; }
.order-agreement-label { display: flex; align-items: flex-start; gap: 10px; font-size: 12px; line-height: 1.7; }
.order-submit { width: 100%; min-height: 58px; border: 1px solid #111; background: #111; color: #fff; font: inherit; cursor: pointer; }.order-submit:disabled { cursor: wait; opacity: .6; }.order-submit-area .commerce-inline-notice { margin-top: 14px; }
.order-submit-area .commerce-inline-notice.is-visible { padding: 14px 16px; border: 1px solid #8d251f; color: #8d251f; background: #fff; line-height: 1.6; opacity: 1; }

.order-complete-page { max-width: 860px; text-align: center; }.order-complete-lead { margin: -45px 0 50px; font-size: 15px; }.order-complete-card { border-top: 1px solid #111; text-align: left; }.order-complete-summary { margin: 0; }.order-complete-summary > div { display: grid; grid-template-columns: 160px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid #ddd; font-size: 13px; }.order-complete-summary dt,.order-complete-summary dd { margin: 0; }.order-complete-bank,.order-complete-guest-note { text-align: center; margin: 36px 0 24px; font-size: 13px; }.order-complete-page .commerce-actions { justify-content: center; }

@media (max-width: 767px) {
    .order-page,
    .order-complete-page { width: calc(100% - 36px); padding: 105px 0 80px; }
    .order-page .mypage-brand,
    .order-complete-page .mypage-brand { margin-bottom: 26px; }
    .order-page .mypage-title,
    .order-complete-page .mypage-title { margin-bottom: 50px; font-size: 18px; }
    .order-layout { display: flex; flex-direction: column; gap: 44px; }
    .order-orderer { order: 1; }.order-delivery { order: 2; }.order-items { order: 3; }.order-discount { order: 4; }.order-payment { order: 5; }.order-summary { order: 6; position: static; }.order-agreement { order: 7; }.order-submit-area { order: 8; }
    .order-section { width: 100%; }.order-field { grid-template-columns: 1fr; gap: 8px; }.order-field small { grid-column: 1; margin-top: -2px; }
    .order-phone-fields { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); }
    .order-postcode-row { grid-template-columns: minmax(0, 1fr) auto; }.order-small-btn { padding: 0 12px; }
    .order-coupon-field { grid-template-columns: 1fr; gap: 8px; }
    .order-coupon-actions { align-items: flex-end; flex-direction: column; }
    .order-mileage-input { grid-template-columns: 1fr auto; }.order-mileage-input #order-mileage-apply { grid-column: 1 / -1; border-left: 1px solid #111; border-top: 0; }
    .order-payment-options { grid-template-columns: 1fr; }
    .order-item { grid-template-columns: 86px 1fr; }.order-item img { width: 86px; height: 108px; }
    .order-complete-lead { margin-top: -20px; }.order-complete-summary > div { grid-template-columns: 105px 1fr; gap: 12px; }
}

/* Mobile storefront footer accordion. Desktop footer rules stay unchanged. */
@media (max-width: 768px) {
    .layer-4-footer {
        min-height: 0;
        padding: 18px 20px 26px;
        align-items: stretch;
    }

    .footer-container,
    .footer-right {
        gap: 0;
    }

    .footer-right {
        align-items: stretch;
    }

    .footer-section.mobile-footer-accordion {
        width: 100%;
        border: 0;
    }

    .footer-section.mobile-footer-accordion > h4 {
        display: flex;
        min-height: 52px;
        margin: 0;
        padding: 16px 2px;
        align-items: center;
        justify-content: space-between;
        box-sizing: border-box;
        font-size: 12px;
        font-weight: 400;
        letter-spacing: 0.02em;
        line-height: 1.2;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .footer-section.mobile-footer-accordion > h4::after {
        content: '';
        display: block;
        flex: 0 0 7px;
        width: 7px;
        height: 7px;
        margin: 0 4px 4px 20px;
        border-right: 1.5px solid currentColor;
        border-bottom: 1.5px solid currentColor;
        transform: rotate(45deg);
        transition: transform 180ms ease, margin 180ms ease;
    }

    .footer-section.mobile-footer-accordion.is-open > h4::after {
        margin-top: 6px;
        margin-bottom: 0;
        transform: rotate(225deg);
    }

    .footer-section.mobile-footer-accordion > h4:focus-visible {
        outline: 1px solid currentColor;
        outline-offset: 4px;
    }

    .footer-section.mobile-footer-accordion:not(.is-open) > :not(h4) {
        display: none !important;
    }

    .footer-section.mobile-footer-accordion.is-open {
        padding-bottom: 18px;
    }

    .footer-section.mobile-footer-accordion.is-open > h4 {
        margin-bottom: 4px;
    }

    .footer-section.mobile-footer-accordion p,
    .footer-section.mobile-footer-accordion li,
    .footer-section.mobile-footer-accordion .company-row {
        font-size: 0.68rem;
        line-height: 1.8;
    }

    .footer-section.mobile-footer-accordion li a {
        display: block;
        padding: 3px 0;
    }
}

/* Optimized sources fill the same image boxes; existing crop/object-fit stays on img. */
.responsive-image { display: block; width: 100%; height: 100%; }
.pd-detail-image picture { display: block; width: 100%; height: auto; }
.pd-detail-image img { display: block; width: 100%; height: auto; }

/* Deployment note: run scripts/build-static-assets.cjs after shared asset edits. */

/* Keep homepage card labels lowercase, including managed content. */
body.home-body [data-home-card] .caption { text-transform: lowercase; }

/* A separate recommendation, never a variant of the single towel. */
.purchase-gift-upsell {
    display: block;
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 0, 0, .12);
    color: #111;
    font-family: var(--font-sans);
    text-decoration: none;
    transition: opacity .2s ease;
}
.purchase-gift-upsell[hidden] { display: none; }
.purchase-gift-upsell span { display: block; }
.purchase-gift-title { margin-top: 7px; font-size: .86rem; font-weight: 500; line-height: 1.6; letter-spacing: -.01em; word-break: keep-all; overflow-wrap: anywhere; }
.purchase-gift-link { display: inline-block; color: inherit; text-decoration: none; transition: opacity .2s ease; margin-top: 10px; font-size: .72rem; font-weight: 400; letter-spacing: .04em; }
.purchase-gift-link:hover { opacity: .65; }
.purchase-gift-link:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }
@media (max-width: 768px) {
    .purchase-gift-upsell { padding: 16px 0; }
    .purchase-gift-title { font-size: .82rem; }
}

/* Keep the quantity and currency columns aligned with TOTAL on the 1P panel. */
.purchase-panel:has(#pd-gift-upsell:not([hidden])) .purchase-item {
    grid-template-columns: minmax(0, 1fr) 106px 80px 32px;
    gap: 8px;
}
.purchase-panel:has(#pd-gift-upsell:not([hidden])) .purchase-item-price { min-width: 0; }
.purchase-panel:has(#pd-gift-upsell:not([hidden])) .purchase-remove {
    width: 24px;
    height: 24px;
    justify-self: end;
    font-size: .8rem;
}
.purchase-panel:has(#pd-gift-upsell:not([hidden])) .purchase-remove[hidden] {
    display: block;
    visibility: hidden;
}
.purchase-panel:has(#pd-gift-upsell:not([hidden])) .purchase-total-count { width: 32px; text-align: right; }
.purchase-panel:has(#pd-gift-upsell:not([hidden])) #pd-purchase-price { padding-right: 40px; }
