/* --- Root Brand Variables --- */
:root {
    --primary-color: #e8e2da;
    --secondary-color: #D0C6B9;
    --third-color: #9A9B87;
    --color-brown: #665749;
    --color-grey: #B6B6B4;
    --color-black: #040201;
    --color-white: #ffffff;
    --footer-bg: #110f0e;
    --site-max-width: 1440px;
    --site-px: 0px;
    --content-bg: var(--primary-color);
    --header-bg: var(--secondary-color);
    --content-text: var(--color-brown);
    --content-heading: var(--color-black);
    --content-text-muted: var(--third-color);
    --interactive-color: #2e261f;
    --interactive-muted: rgba(4, 2, 1, 0.62);
    --hover-lift: -2px;
    --font-family-base: 'Poppins', 'Inter', sans-serif;
    --font-family-menu: 'Poppins', 'Inter', sans-serif;
    --font-family-brand: 'Poppins', 'Inter', sans-serif;
    --font-family-global: 'Poppins', 'Inter', sans-serif;
    --fw-light: 300;
    --fw-regular: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;
    --pd-font-brand: 'Karla', 'Poppins', 'Inter', sans-serif;
    --pd-font-body: 'Poppins', 'Inter', sans-serif;
    --pd-fw-light: 300;
    --pd-fw-regular: 400;
    --pd-fw-medium: 500;
    --pd-fw-bold: 700;
    --pd-title-max-width: 48rem;
    --pd-description-max-width: 30rem;
    --text-sm: clamp(0.8125rem, 0.79rem + 0.12vw, 0.9rem);
    /* Lede / intro copy under display headings (Body, Philosophy, product blocks) */
    --text-lede: clamp(0.98rem, 0.95rem + 0.08vw, 1.05rem);
    /* Section row titles (product detail: How to use, recommendations) */
    --text-section-heading: clamp(2rem, 1.7rem + 0.8vw, 2.6rem);
    /* Product grid cards (EDP listing + Body product sections) */
    --product-list-title-size: clamp(1rem, 0.9rem + 0.25vw, 1.18rem);
    --product-list-subtitle-size: clamp(0.72rem, 0.69rem + 0.1vw, 0.78rem);
    --product-list-label-size: clamp(0.68rem, 0.66rem + 0.08vw, 0.74rem);
    --product-list-price-size: clamp(0.95rem, 0.9rem + 0.15vw, 1.05rem);
    --product-list-btn-size: clamp(0.74rem, 0.72rem + 0.08vw, 0.8rem);
    --text-body: clamp(0.9375rem, 0.91rem + 0.15vw, 1rem);
    --text-menu: clamp(0.9375rem, 0.91rem + 0.14vw, 1rem);
    --text-nav: clamp(0.875rem, 0.84rem + 0.14vw, 0.95rem);
    --text-footer: clamp(0.9375rem, 0.91rem + 0.15vw, 1rem);
}

/* Shared typography utilities */
.u-font-banner {
    font-family: var(--pd-font-brand);
}

.u-font-body {
    font-family: var(--pd-font-body);
}

.u-font-section-title {
    font-family: var(--pd-font-brand);
}

/* Shared banner title size scale */
:root {
    --banner-title-size-desktop: clamp(2.6rem, 2.2rem + 1.05vw, 3.2rem);
    --banner-title-size-tablet: clamp(2.35rem, 1.35rem + 5.5vw, 3.05rem);
    --banner-title-size-mobile: clamp(2.2rem, 1.2rem + 6.2vw, 2.95rem);
}

/* --- Full Page Loading Overlay --- */
.full-page-loading {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.full-page-loading .loading-content {
    text-align: center;
}

.full-page-loading .loading-text {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.full-page-loading.d-none {
    display: none;
}

/* --- Base & Reset Styles --- */
html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--content-bg);
    color: var(--content-text);
    font-family: var(--font-family-base);
    font-size: var(--text-body);
    line-height: 1.6;
}

#kt_body.header-body-root {
    height: 100%;
}

/* Global reusable type family for all pages/components */
body,
input,
button,
select,
textarea {
    font-family: var(--font-family-global);
}

a {
    text-decoration: none;
    color: var(--color-black);
    transition: color 0.2s ease;
}

a:hover {
    color: var(--color-black);
}

.wrapper {
    padding: 0;
}

#kt_wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100vh;
    color: var(--primary-color);
}

/* --- Header Global Layout --- */
#kt_header {
    background-color: var(--header-bg);
    font-family: var(--font-family-menu);
    height: auto;
    border-bottom: 1px solid var(--secondary-color);
    padding: 0;
}

#kt_header_container {
    width: 100%;
    max-width: 100%;
}

.header-container-fluid {
    padding: 0;
}

.announcement-bar {
    background-color: var(--color-black);
    color: #ffffff;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 6px 10px;
    font-size: var(--text-sm);
    letter-spacing: 0.3px;
    text-transform: none;
    width: 100%;
    line-height: 1.2;
    position: relative;
}

.announcement-bar a {
    color: #ffffff;
    text-decoration: underline;
}

.voucher-copy-link {
    font-weight: var(--fw-semibold);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    cursor: pointer;
}

.voucher-copy-indicator {
    display: inline-block;
    width: 0;
    margin-left: 0;
    overflow: hidden;
    font-size: 0.75em;
    color: #9dffbf;
    opacity: 0;
    transform: translateY(-2px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
    white-space: nowrap;
}

.voucher-copy-indicator.is-visible {
    width: auto;
    margin-left: 8px;
    opacity: 1;
    transform: translateY(0);
}

.shop-logo-container-left {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    align-items: center;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.shop-logo-container-left:hover {
    opacity: 0.8;
}

.logo-jp-header {
    font-family: var(--font-family-brand);
    font-size: clamp(1rem, 0.95rem + 0.25vw, 1.2rem);
    font-weight: var(--fw-bold);
    color: var(--color-black);
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: font-size 0.3s ease;
}

.logo-en-header {
    font-family: var(--font-family-brand);
    font-size: clamp(1.35rem, 1.25rem + 0.55vw, 1.8rem);
    font-weight: var(--fw-bold);
    color: var(--color-black);
    letter-spacing: 0.5px;
    text-transform: none;
    transition: font-size 0.3s ease;
}

.header-right {
    color: var(--color-black);
    min-width: 0;
}

.header-left {
    flex-shrink: 0;
}

.header-desktop {
    max-width: var(--site-max-width);
    margin: 0 auto;
    width: 100%;
    padding-left: var(--site-px);
    padding-right: var(--site-px);
    min-width: 0;
}

.header-mobile {
    max-width: var(--site-max-width);
    margin: 0 auto;
    width: 100%;
    padding: 16px var(--site-px);
}

/* Burger Menu Icon */
.header-mobile .btn {
    padding-left: 0;
    padding-right: 0;
}

.mobile-logo-center {
    justify-self: center;
    width: 100%;
    max-width: calc(100vw - 132px);
    align-items: center;
    text-align: center;
}

.mobile-header-actions {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    gap: clamp(0.3rem, 1.2vw, 0.55rem);
    min-width: 0;
    max-width: 100%;
    flex-shrink: 0;
}

.header-mobile .btn.mobile-header-icon-btn {
    width: clamp(18px, 2.6vw, 24px);
    height: clamp(18px, 2.6vw, 24px);
    min-width: 0;
    min-height: 0;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-black);
    transition: color 0.2s ease, transform 0.2s ease;
}

.header-mobile .btn.mobile-header-icon-btn svg {
    width: 100%;
    height: 100%;
    stroke-width: 1;
}

.header-mobile .btn.mobile-header-icon-btn:hover {
    color: var(--interactive-color);
    transform: translateY(-1px);
}

.mobile-offcanvas-panel {
    background-color: #fdfbf8;
    border-right: 1px solid rgba(208, 198, 185, 0.65);
}

/* Full-width drawer on small screens (otherwise panel looks inset from device edge) */
@media (max-width: 991.98px) {
    #mobileOffcanvas.mobile-offcanvas-panel {
        --bs-offcanvas-width: 100%;
    }
}

#mobileOffcanvas {
    --mobile-drawer-px: 1.25rem;
}

#mobileOffcanvas .offcanvas-header {
    padding-left: var(--mobile-drawer-px);
    padding-right: var(--mobile-drawer-px);
}

#mobileOffcanvas .mobile-offcanvas-body,
#mobileOffcanvas.offcanvas .offcanvas-body {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* No horizontal padding on accordion — avoids clipping full-bleed panel (overflow-y: auto) */
#mobileOffcanvas .mobile-nav-accordion {
    padding-left: 0;
    padding-right: 0;
}

#mobileOffcanvas .mobile-offcanvas-footer {
    padding-left: 0;
    padding-right: 0;
}

.mobile-search-input {
    width: 100%;
}

.mobile-offcanvas-body {
    flex: 1 1 auto;
    min-height: 0;
}

.mobile-offcanvas-footer {
    border-top: none;
    padding-bottom: 0.25rem;
}

/* —— Mobile nav accordion (matches layered Body mega on small screens) —— */
.mobile-nav-accordion {
    display: flex;
    flex-direction: column;
    width: 100%;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-nav-block {
    border-bottom: 1px solid rgba(208, 200, 190, 0.85);
}

.mobile-nav-block:last-of-type {
    border-bottom: none;
}

/* Inset only the top-level labels; beige panel stays edge-to-edge */
#mobileOffcanvas .mobile-nav-block > .mobile-nav-row,
#mobileOffcanvas .mobile-nav-block > a.mobile-nav-row {
    padding-left: var(--mobile-drawer-px);
    padding-right: var(--mobile-drawer-px);
}

.mobile-nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 12px;
    padding: 1rem 0;
    margin: 0;
    background: none;
    border: none;
    text-align: left;
    font: inherit;
    color: var(--color-black);
    text-decoration: none;
    cursor: pointer;
    font-size: var(--text-menu);
    font-weight: var(--fw-medium);
    letter-spacing: 0.2px;
}

a.mobile-nav-row {
    cursor: pointer;
}

.mobile-nav-label {
    flex: 1 1 auto;
    min-width: 0;
}

.mobile-nav-chevron {
    flex-shrink: 0;
    display: inline-flex;
    color: rgba(4, 2, 1, 0.28);
    transition: transform 0.24s ease, color 0.2s ease;
}

.mobile-nav-chevron--static {
    pointer-events: none;
}

.mobile-nav-chevron--sm {
    color: rgba(4, 2, 1, 0.32);
}

.mobile-nav-block.is-open > .mobile-nav-row .mobile-nav-chevron,
.mobile-nav-subblock.is-open > .mobile-nav-subhead .mobile-nav-chevron {
    transform: rotate(180deg);
    color: rgba(4, 2, 1, 0.45);
}

/* Smooth height for Body panel + nested link lists (grid 0fr → 1fr) */
.mobile-nav-anim,
.mobile-nav-sub-anim {
    display: grid;
    grid-template-rows: 0fr;
    width: 100%;
    transition: grid-template-rows 0.42s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-anim.is-open,
.mobile-nav-sub-anim.is-open {
    grid-template-rows: 1fr;
}

.mobile-nav-anim-inner,
.mobile-nav-sub-anim-inner {
    overflow: hidden;
    min-height: 0;
}

.mobile-nav-anim .mobile-nav-panel,
.mobile-nav-sub-anim .mobile-nav-sublinks {
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.32s ease, transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-anim.is-open .mobile-nav-panel,
.mobile-nav-sub-anim.is-open .mobile-nav-sublinks {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.04s;
}

@media (prefers-reduced-motion: reduce) {
    .mobile-nav-anim,
    .mobile-nav-sub-anim {
        transition-duration: 0.01ms;
    }

    .mobile-nav-anim .mobile-nav-panel,
    .mobile-nav-sub-anim .mobile-nav-sublinks {
        transform: none;
        transition: opacity 0.15s ease;
    }
}

#mobileOffcanvas .mobile-nav-panel {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
    background-color: #f9f1e7;
    padding: 0.35rem 0 0.5rem;
    margin-bottom: 0;
}

.mobile-nav-sub {
    display: flex;
    flex-direction: column;
    padding: 0.1rem 0 0.15rem;
}

#mobileOffcanvas .mobile-nav-sub {
    padding-left: var(--mobile-drawer-px);
    padding-right: var(--mobile-drawer-px);
}

#mobileOffcanvas .mobile-nav-sub .mobile-nav-subblock {
    border-bottom: 1px solid rgba(208, 200, 190, 0.55);
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
}

/* Must beat #mobileOffcanvas .mobile-nav-sub .mobile-nav-subblock — last row: one line only */
#mobileOffcanvas .mobile-nav-sub .mobile-nav-subblock.mobile-nav-subblock--last {
    border-bottom: none;
}

.mobile-nav-subhead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 8px;
    padding: 0.65rem 0 0.7rem;
    margin: 0;
    background: none;
    border: none;
    text-align: left;
    font: inherit;
    font-size: clamp(0.9rem, 0.86rem + 0.2vw, 0.98rem);
    font-weight: var(--fw-semibold);
    color: #2f2b25;
    cursor: pointer;
}

.mobile-nav-sublinks {
    list-style: none;
    margin: 0;
    padding: 0 0 0.75rem 0.35rem;
}

.mobile-nav-sublinks li {
    margin: 0;
    padding: 0;
}

.mobile-nav-sublinks a {
    display: block;
    padding: 0.35rem 0;
    font-size: clamp(0.88rem, 0.84rem + 0.15vw, 0.95rem);
    font-weight: var(--fw-regular);
    color: #3a3632;
    text-decoration: none;
    transition: color 0.2s ease;
}

.mobile-nav-sublinks a:hover,
.mobile-nav-sublinks a:focus-visible {
    color: var(--interactive-color);
}

/* Language selector — solid bar, light-on-dark */
.mobile-lang-bar {
    --bs-btn-color: #fff;
    --bs-btn-bg: #121212;
    --bs-btn-border-color: #121212;
    --bs-btn-hover-bg: #2a2a2a;
    --bs-btn-hover-border-color: #2a2a2a;
    --bs-btn-hover-color: #fff;
    min-height: 3rem;
    padding: 0.65rem 2.5rem 0.65rem 1rem;
    border-radius: 0;
    font-size: 0.9375rem;
    font-weight: var(--fw-medium);
    letter-spacing: 0.2px;
    border: none;
    text-transform: none;
    box-shadow: none;
}

.mobile-lang-bar::after {
    display: none !important;
}

.mobile-lang-bar:focus-visible {
    box-shadow: 0 0 0 2px #fdfbf8, 0 0 0 4px #121212;
}

.mobile-lang-bar-label {
    flex: 1 1 auto;
    text-align: center;
    padding: 0 0.5rem;
}

.mobile-lang-chevron {
    position: absolute;
    right: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    color: #fff;
    pointer-events: none;
    transition: transform 0.2s ease;
}

/* Chevron flips when language dropup is open (Bootstrap adds .show on .dropup) */
.dropup.show .mobile-lang-bar .mobile-lang-chevron {
    transform: translateY(-50%) rotate(180deg);
}

.mobile-lang-menu {
    border-radius: 0;
    border: 1px solid #121212;
    margin-bottom: 0.35rem !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
}

/* --- Search Bar Styling --- */
.shop-search-input {
    width: 100%;
    border: none;
    border-bottom: 1px solid var(--interactive-muted);
    background: transparent;
    padding: 8px 35px;
    font-size: var(--text-body);
    color: var(--color-black);
    transition: border-color 0.28s ease, color 0.28s ease;
}

.desktop-search-icon {
    color: var(--interactive-muted);
    width: 18px;
    height: 18px;
    stroke-width: 1.6;
    transition: color 0.28s ease, transform 0.28s ease;
}

.shop-search-input::placeholder {
    font-weight: var(--fw-light);
    color: rgba(4, 2, 1, 0.65);
    transition: color 0.28s ease;
}

.search-container:hover .shop-search-input,
.search-container:focus-within .shop-search-input {
    border-bottom-color: var(--interactive-color);
    color: var(--interactive-color);
}

.search-container:hover .shop-search-input::placeholder,
.search-container:focus-within .shop-search-input::placeholder {
    color: rgba(46, 38, 31, 0.78);
}

.search-container:hover .desktop-search-icon,
.search-container:focus-within .desktop-search-icon {
    color: var(--interactive-color);
    transform: translateY(-50%) scale(1.08);
}

.search-container {
    min-width: 0;
}

.shop-search-input:focus {
    outline: none;
    border-bottom: 2px solid var(--color-black);
}

/* --- Action Links & Language --- */
.lang-selector {
    color: var(--color-black);
    font-size: var(--text-menu);
    font-weight: var(--fw-light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 22px;
    height: 22px;
    padding: 0;
    line-height: 1;
    gap: 4px;
    transform: none;
    transition: none;
}

.lang-selector i,
.lang-selector .ki-duotone,
.lang-selector .ki-duotone * {
    transition: none;
    transform: none;
}

.lang-dropdown-menu {
    background-color: var(--primary-color);
    border: 1px solid var(--secondary-color);
    border-radius: 0;
    min-width: 152px;
    transform-origin: top center;
    transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s ease;
}

.lang-dropdown-menu .dropdown-item {
    font-size: var(--text-sm);
    font-weight: var(--fw-medium);
    color: var(--color-brown);
}

.lang-dropdown-menu .dropdown-item:hover {
    background-color: var(--secondary-color);
    color: var(--color-brown);
}

/* Desktop: auto open language dropdown on hover with smooth expand */
@media (min-width: 992px) {
    .shop-header-actions .dropdown {
        position: relative;
        padding-bottom: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 22px;
        height: 22px;
        line-height: 1;
    }

    .shop-header-actions .dropdown > .lang-selector.shop-action-item {
        min-height: 22px;
        height: 22px;
    }

    .shop-header-actions .dropdown::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        height: 8px;
    }

    .shop-header-actions .dropdown .lang-dropdown-menu {
        display: block;
        position: absolute;
        top: calc(100% - 1px);
        left: 0;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(8px) scaleY(0.92);
        margin-top: 0;
        z-index: 1200;
    }

    .shop-header-actions .dropdown:hover .lang-dropdown-menu,
    .shop-header-actions .dropdown:focus-within .lang-dropdown-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0) scaleY(1);
    }
}

.shop-header-actions {
    display: flex;
    align-items: center;
}

@media (min-width: 992px) {
    .header-top-row {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: clamp(0.9rem, 1.7vw, 1.8rem);
        width: 100%;
    }

    .header-top-row .search-container {
        flex: 1 1 auto;
        min-width: 0;
        margin-right: 0 !important;
    }

    .header-top-row .shop-header-actions {
        margin-left: auto;
        flex: 0 0 auto;
        justify-content: flex-end;
        white-space: nowrap;
    }

    .header-top-row .shop-action-item {
        min-width: auto;
        padding-inline: 0.35rem;
    }

    .header-top-row #shop-cart-trigger {
        padding-right: 0;
        margin-right: 0;
        justify-content: flex-end;
        text-align: right;
    }
}

.shop-action-item {
    color: var(--color-black);
    text-decoration: none;
    font-family: var(--font-family-menu);
    font-size: var(--text-menu);
    font-weight: var(--fw-light);
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 22px;
    min-width: 112px;
    text-align: center;
    transition: color 0.28s ease, transform 0.28s ease, opacity 0.28s ease;
}

.shop-header-actions a {
    color: var(--color-black);
    text-decoration: none;
    font-size: var(--text-menu);
    font-weight: var(--fw-light);
    transition: color 0.28s ease, opacity 0.28s ease, transform 0.28s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 22px;
    line-height: 1;
}

.shop-header-actions a:hover {
    color: var(--interactive-color);
    opacity: 1;
    transform: translateY(var(--hover-lift));
}

.lang-selector:hover,
.lang-selector:focus-visible {
    color: var(--color-black);
    transform: none;
    opacity: 1;
}

.shop-divider {
    width: 1px;
    height: 22px;
    background-color: rgba(4, 2, 1, 0.55);
    flex-shrink: 0;
}

/* --- Navigation Menu --- */
.shop-nav {
    display: flex;
    gap: clamp(14px, 1.8vw, 28px);
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.shop-nav::-webkit-scrollbar {
    display: none;
}

.shop-nav .nav-item {
    font-size: clamp(0.78rem, 0.72rem + 0.25vw, 0.95rem);
    font-weight: var(--fw-regular);
    text-decoration: none;
    padding-bottom: 5px;
    color: var(--color-black);
    transition: color 0.28s ease, transform 0.28s ease;
    letter-spacing: 0.3px;
    position: relative;
    display: inline-block;
}

.shop-nav .nav-item-regular {
    font-weight: var(--fw-regular);
}

.shop-nav .nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 100%;
    height: 2px;
    background-color: var(--color-black);
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.shop-nav .nav-item:hover::after,
.shop-nav .nav-item.active::after {
    transform: translateX(-50%) scaleX(1);
}

.shop-nav .nav-item:hover {
    color: var(--interactive-color);
    transform: translateY(var(--hover-lift));
}

.nav-item-mega {
    position: relative;
    display: inline-flex;
    align-items: center;
    z-index: 2;
}

.nav-item-mega::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 20px;
}

.header-mega-shell {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.34s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 1150;
    will-change: opacity;
}

.mega-menu-panel {
    position: relative;
    width: 100%;
    height: clamp(420px, 52vh, 560px);
    background: #f2f0eb;
    border-top: 1px solid #d8d2c9;
    border-bottom: 1px solid #d8d2c9;
    transform: translateY(-8px);
    opacity: 0;
    transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease;
    will-change: transform, opacity;
    z-index: 1;
}

#kt_header.mega-open .header-mega-shell,
.header-mega-shell:hover {
    opacity: 1;
    pointer-events: auto;
}

#kt_header.mega-open .header-mega-shell .mega-menu-panel,
.header-mega-shell:hover .mega-menu-panel {
    transform: translateY(0);
    opacity: 1;
}

.mega-menu-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    height: 100%;
    max-width: var(--site-max-width);
    margin: 0 auto;
    padding-left: var(--site-px);
    padding-right: var(--site-px);
    position: relative;
}

.mega-menu-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
    padding: 44px 40px 120px;
}

.mega-menu-col h4 {
    font-size: 0.95rem;
    margin: 0 0 16px;
    font-weight: var(--fw-semibold);
    color: #4d4943;
}

.mega-menu-col a {
    display: block;
    font-size: 0.9rem;
    color: #26231f;
    line-height: 1.55;
    margin-bottom: 10px;
    position: relative;
    transform: translateX(0);
    transition: color 0.24s ease, transform 0.24s ease, opacity 0.24s ease;
}

.mega-menu-col a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.24s ease;
}

.mega-menu-col a:hover {
    color: var(--interactive-color);
    transform: translateX(4px);
    opacity: 0.95;
}

.mega-menu-col a:hover::after {
    transform: scaleX(1);
}

.mega-menu-brand {
    position: absolute;
    left: calc(var(--site-px) + 40px);
    bottom: 34px;
    display: flex;
    flex-direction: column;
    color: #8f8a83;
    opacity: 0.5;
    pointer-events: none;
}

.mega-menu-brand-jp {
    font-size: 1.85rem;
    line-height: 1;
    font-weight: var(--fw-semibold);
    margin-bottom: 6px;
}

.mega-menu-brand-en {
    font-size: 2rem;
    line-height: 1;
    font-weight: var(--fw-bold);
    letter-spacing: 0.4px;
}

.mega-menu-media {
    border-left: 1px solid #ddd7cf;
    align-self: start;
    justify-self: end;
    margin-top: 44px;
    height: calc(100% - 44px - 120px);
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.mega-menu-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), filter 0.3s ease;
}

#kt_header.mega-open .mega-menu-media img,
.header-mega-shell:hover .mega-menu-media img {
    transform: scale(1.03);
    filter: saturate(1.03);
}

.mega-menu-col h4 {
    transition: color 0.24s ease, letter-spacing 0.24s ease;
}

.mega-menu-col:hover h4 {
    color: #2f2b25;
    letter-spacing: 0.2px;
}

@media (prefers-reduced-motion: reduce) {
    .mega-menu-col a,
    .mega-menu-col a::after,
    .mega-menu-media img,
    .mega-menu-col h4 {
        transition: none !important;
    }
}

.mega-menu-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: calc(100vh - 1px);
    background: rgba(20, 16, 12, 0.08);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    opacity: 0;
    transition: opacity 0.38s ease, backdrop-filter 0.38s ease, -webkit-backdrop-filter 0.38s ease;
    z-index: 0;
    will-change: opacity, backdrop-filter;
    pointer-events: none;
}

#kt_header.mega-open .header-mega-shell .mega-menu-backdrop,
.header-mega-shell:hover .mega-menu-backdrop {
    opacity: 1;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

@media (max-width: 991.98px) {
    .header-mega-shell {
        display: none;
    }
}

/* --- Smart Sticky Header Styles --- */
#kt_header {
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Shared box layout — background full-width, content constrained */
#kt_header .d-none.d-lg-flex {
    transition: padding 0.3s ease;
    max-width: var(--site-max-width);
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    padding-left: var(--site-px);
    padding-right: var(--site-px);
}

#kt_header.header-scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

#kt_header.header-scrolled .d-none.d-lg-flex {
    padding-top: 16px;
    padding-bottom: 16px;
}

#kt_header.header-scrolled .logo-en-header,
#kt_header.header-scrolled .logo-jp-header {
    font-size: 1.1rem;
}

#kt_header.header-hidden {
    transform: translateY(-100%);
}

/* Offcanvas mobile menu logic */
.offcanvas.show .mobile-nav-accordion .mobile-nav-block {
    opacity: 0;
    transform: translateY(15px);
    animation: slideUpFadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.offcanvas.show .mobile-nav-accordion .mobile-nav-block:nth-child(1) { animation-delay: 0.05s; }
.offcanvas.show .mobile-nav-accordion .mobile-nav-block:nth-child(2) { animation-delay: 0.1s; }
.offcanvas.show .mobile-nav-accordion .mobile-nav-block:nth-child(3) { animation-delay: 0.15s; }
.offcanvas.show .mobile-nav-accordion .mobile-nav-block:nth-child(4) { animation-delay: 0.2s; }
.offcanvas.show .mobile-nav-accordion .mobile-nav-block:nth-child(5) { animation-delay: 0.25s; }
.offcanvas.show .mobile-nav-accordion .mobile-nav-block:nth-child(6) { animation-delay: 0.3s; }
.offcanvas.show .mobile-nav-accordion .mobile-nav-block:nth-child(7) { animation-delay: 0.35s; }
.offcanvas.show .mobile-nav-accordion .mobile-nav-block:nth-child(8) { animation-delay: 0.4s; }
.offcanvas.show .mobile-nav-accordion .mobile-nav-block:nth-child(9) { animation-delay: 0.45s; }
.offcanvas.show .mobile-nav-accordion .mobile-nav-block:nth-child(10) { animation-delay: 0.5s; }
.offcanvas.show .mobile-nav-accordion .mobile-nav-block:nth-child(11) { animation-delay: 0.55s; }
.offcanvas.show .mobile-nav-accordion .mobile-nav-block:nth-child(12) { animation-delay: 0.6s; }

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

/* Legacy: plain mobile .shop-nav .nav-item no longer used in drawer; keep harmless if present elsewhere */
.mobile-nav .nav-item::after {
    display: none;
}

/* --- Login Modal --- */
.shop-login-modal .modal-dialog {
    max-width: 980px;
}

.shop-login-modal .modal-content {
    border-radius: 0;
    border: none;
    background-color: #f8f4ee;
    position: relative;
    padding: 58px 40px 36px;
}

.shop-login-close-btn {
    width: 30px;
    height: 30px;
    border: 1px solid var(--color-black);
    border-radius: 50%;
    background: transparent;
    position: absolute;
    top: 18px;
    right: 20px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.625rem;
    color: var(--color-black);
}

.shop-login-modal-inner {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    color: var(--color-black);
}

.shop-login-title {
    text-align: center;
    font-size: 2.875rem;
    line-height: 1.1;
    margin-bottom: 10px;
    font-weight: 500;
}

.shop-login-subtitle {
    text-align: center;
    color: #8f8a82;
    font-size: 0.9375rem;
    margin-bottom: 28px;
    font-style: italic;
}

.shop-login-form label {
    display: block;
    font-size: 0.8125rem;
    margin-bottom: 6px;
}

.shop-login-form input {
    width: 100%;
    border: 1px solid #d8d0c6;
    padding: 12px 14px;
    font-size: 0.9375rem;
    margin-bottom: 16px;
    background-color: #fff;
}

.shop-login-form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
    margin-bottom: 0;
}

.shop-login-form-col {
    flex: 1 1 0;
    min-width: 0;
}

.shop-login-forgot-wrap {
    text-align: right;
    margin: 4px 0 16px;
}

.shop-login-forgot-link {
    font-size: 0.8125rem;
    color: var(--color-black);
}

.shop-login-submit-btn {
    width: 100%;
    border: none;
    background: var(--color-black);
    color: #fff;
    padding: 12px 16px;
    font-size: 0.9375rem;
    font-weight: 500;
    text-transform: none;
}

.shop-login-divider {
    margin: 20px 0;
    text-align: center;
    position: relative;
    font-size: 0.8125rem;
    color: #8f8a82;
}

.shop-login-divider::before,
.shop-login-divider::after {
    content: "";
    position: absolute;
    top: 50%;
    width: calc(50% - 24px);
    height: 1px;
    background-color: #d8d0c6;
}

.shop-login-divider::before {
    left: 0;
}

.shop-login-divider::after {
    right: 0;
}

.shop-login-register-btn {
    display: block;
    width: 100%;
    border: 1px solid #d8d0c6;
    text-align: center;
    padding: 12px 16px;
    font-size: 0.9375rem;
    color: var(--color-black);
    background-color: #fff;
}

.shop-login-footnote {
    margin-top: 18px;
    text-align: center;
    font-size: 0.8125rem;
    color: #8f8a82;
}

.shop-auth-hidden {
    display: none;
}

.shop-register-checkbox-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 2px 0 16px;
    font-size: 0.8125rem;
    color: #5f5a52;
}

.shop-register-checkbox-wrap input {
    width: 14px;
    height: 14px;
    margin: 0;
    accent-color: var(--color-black);
}

.shop-register-switch-text {
    margin: 20px 0 0;
    text-align: center;
    font-size: 0.9375rem;
    color: #6f6a63;
}

.shop-register-switch-text a {
    color: var(--color-black);
    text-decoration: underline;
}

/* --- Cart Drawer --- */
body.shop-cart-open {
    overflow: hidden;
}

.shop-cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
    z-index: 1050;
}

.shop-cart-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.shop-cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(420px, 100vw);
    height: 100vh;
    background: #f8f4ee;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1060;
    display: flex;
    flex-direction: column;
    border-left: 1px solid #e6ddd2;
    color: var(--color-black);
}

.shop-cart-drawer.is-open {
    transform: translateX(0);
}

.shop-cart-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid #e6ddd2;
}

.shop-cart-head h3 {
    margin: 0;
    font-size: 1rem;
    color: var(--color-black);
}

.shop-cart-head button {
    border: none;
    background: transparent;
    font-size: 1.625rem;
    line-height: 1;
    color: var(--color-black);
}

.shop-cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 14px 16px;
}

.shop-cart-item {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    margin-bottom: 18px;
}

.shop-cart-thumb {
    width: 72px;
    flex-shrink: 0;
    aspect-ratio: 3 / 4;
    max-height: 96px;
    overflow: hidden;
    background: #f5f0e8;
}

.shop-cart-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.shop-cart-item-main {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-width: 0;
    gap: 0;
}

/* Row 1: title (left) + price (right), same baseline */
.shop-cart-item-title-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
}

.shop-cart-item-title {
    margin: 0;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--color-black);
    flex: 1 1 auto;
    min-width: 0;
}

.shop-cart-item-price {
    margin: 0;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-black);
    flex: 0 0 auto;
    white-space: nowrap;
    text-align: right;
}

/* Row 2: size / variant only */
.shop-cart-item-variant {
    margin: 4px 0 0;
    font-size: 0.6875rem;
    font-weight: 400;
    line-height: 1.3;
    color: var(--color-black);
}

/* Row 3: quantity stepper only */
.shop-cart-qty-row {
    margin-top: 10px;
    display: inline-flex;
    align-self: flex-start;
    border: 1px solid #ddd4c8;
    background: #fff;
}

.shop-cart-qty-row button,
.shop-cart-qty-row span {
    width: 26px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    font-size: 0.75rem;
    color: var(--color-black);
}

.shop-cart-qty-row button:first-child,
.shop-cart-qty-row button:last-child {
    border-left: 1px solid #ddd4c8;
    border-right: 1px solid #ddd4c8;
}

/* You May Also Like — same product card + grid pattern as product detail (3 across) */
.shop-cart-recommend {
    margin-top: 8px;
}

.shop-cart-recommend-title {
    font-size: clamp(1.15rem, 1rem + 0.5vw, 1.35rem);
    font-family: var(--pd-font-brand, var(--font-family-brand));
    font-weight: var(--pd-fw-bold, 700);
    margin: 20px 0 12px;
    text-align: left;
    color: var(--color-black);
    line-height: 1.2;
}

.shop-cart-drawer .shop-cart-recommend .product-grid.grid-4,
.shop-cart-recommend-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 10px;
    margin: 0;
    width: 100%;
}

.shop-cart-drawer .product-card-tile.product-card-tile--cart-rec {
    text-align: center;
    background: transparent;
    min-width: 0;
}

.shop-cart-drawer .product-card-tile--cart-rec .product-image img {
    width: 100%;
    height: auto;
    margin-bottom: 8px;
    display: block;
}

.shop-cart-drawer .product-card-tile--cart-rec h3 {
    font-size: 0.65rem;
    font-weight: 800;
    margin: 0 0 4px;
    line-height: 1.25;
    color: var(--color-black);
}

.shop-cart-drawer .product-card-tile--cart-rec .product-subtitle {
    font-size: 0.58rem;
    color: #555 !important;
    margin-bottom: 6px;
    min-height: 2.4em;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.shop-cart-drawer .product-card-tile--cart-rec .size-group {
    text-align: left;
    margin-bottom: 6px;
}

.shop-cart-drawer .product-card-tile--cart-rec .size-group label {
    display: block;
    font-size: 0.55rem;
    margin-bottom: 3px;
    font-weight: 600;
    color: var(--color-black);
}

.shop-cart-drawer .product-card-tile--cart-rec .select-wrapper {
    border: 1px solid #000;
    position: relative;
    background: #fff;
}

.shop-cart-drawer .product-card-tile--cart-rec .select-wrapper select {
    width: 100%;
    padding: 4px 2px;
    border: none;
    background: transparent;
    font-size: 0.58rem;
    text-align: center;
    text-align-last: center;
    appearance: none;
    cursor: pointer;
    color: var(--color-black);
}

.shop-cart-drawer .product-card-tile--cart-rec .product-price {
    font-size: 0.68rem;
    font-weight: 800;
    margin-bottom: 6px;
    color: var(--color-black);
}

.shop-cart-drawer .product-card-tile--cart-rec .add-to-cart-btn {
    width: 100%;
    background: #000;
    color: #fff !important;
    border: none;
    padding: 6px 4px;
    font-weight: 700;
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    font-size: 0.55rem;
    cursor: pointer;
    letter-spacing: 0.02em;
}

.shop-cart-foot {
    border-top: 1px solid #e6ddd2;
    padding: 14px 16px 16px;
}

.shop-cart-subtotal-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.shop-cart-subtotal-row span,
.shop-cart-subtotal-row strong {
    font-size: 1rem;
    color: var(--color-black);
}

.shop-cart-foot p {
    margin: 0 0 12px;
    color: var(--color-black);
    font-size: 0.6875rem;
}

.shop-cart-view-btn {
    display: block;
    width: 100%;
    background: #000;
    color: #fff;
    text-align: center;
    padding: 10px 14px;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
}

.shop-cart-view-btn:hover {
    color: #fff;
    background: #1a1a1a;
}

/* --- PWP: Complete Your Ritual (side cart + shared primitives) --- */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.shop-cart-pwp {
    margin: 4px 0 18px;
}

.pwp-ritual-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pwp-ritual-title {
    font-family: var(--pd-font-body, system-ui, sans-serif);
    font-size: 1.05rem;
    font-weight: 600;
    color: #1d1a16;
    margin: 0 0 6px;
    letter-spacing: 0.02em;
}

.pwp-ritual-subtitle {
    font-family: var(--pd-font-body, system-ui, sans-serif);
    font-size: 0.88rem;
    font-weight: 400;
    color: #3d3a35;
    margin: 0 0 16px;
}

.pwp-ritual-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    margin: 0;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
    border: 1px solid transparent;
}

.pwp-ritual-option:hover {
    background-color: rgba(90, 85, 70, 0.06);
}

.pwp-ritual-option.is-selected {
    background-color: #e8e4d8;
    border-color: rgba(80, 75, 60, 0.12);
}

.pwp-ritual-radio {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #9a958c;
    box-sizing: border-box;
    position: relative;
}

.pwp-ritual-option.is-selected .pwp-ritual-radio {
    border-color: #4a5c3a;
    background-color: #4a5c3a;
    box-shadow: inset 0 0 0 3px #e8e4d8;
}

.pwp-ritual-thumb {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 4px;
    overflow: hidden;
    background: #f0ebe4;
}

.pwp-ritual-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pwp-ritual-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    flex: 1;
}

.pwp-ritual-product-title {
    font-family: var(--pd-font-body, system-ui, sans-serif);
    font-size: 0.92rem;
    font-weight: 600;
    color: #1d1a16;
    line-height: 1.35;
}

.pwp-ritual-price {
    font-family: var(--pd-font-body, system-ui, sans-serif);
    font-size: 0.88rem;
    font-weight: 400;
    color: #3d3a35;
}

/* PWP in drawer: olive card, no subtitle, tighter */
.shop-cart-body .pwp-ritual--cart {
    background: #e1e2c1;
    border-radius: 12px;
    padding: 14px 12px 12px;
    margin: 0;
}

.shop-cart-body .pwp-ritual--cart .pwp-ritual-title {
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0 0 10px;
    color: var(--color-black, #0f0f0f);
}

.shop-cart-body .pwp-ritual--cart .pwp-ritual-subtitle {
    display: none;
}

.shop-cart-body .pwp-ritual--cart .pwp-ritual-list {
    gap: 8px;
}

.shop-cart-body .pwp-ritual--cart .pwp-ritual-option {
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.shop-cart-body .pwp-ritual--cart .pwp-ritual-option:hover {
    background: rgba(255, 255, 255, 0.4);
}

.shop-cart-body .pwp-ritual--cart .pwp-ritual-option.is-selected {
    background: #f2f0e4;
    border-color: rgba(74, 92, 58, 0.35);
}

.shop-cart-body .pwp-ritual--cart .pwp-ritual-thumb {
    width: 48px;
    height: 48px;
}

.shop-cart-body .pwp-ritual--cart .pwp-ritual-product-title {
    font-size: 0.75rem;
    line-height: 1.3;
}

.shop-cart-body .pwp-ritual--cart .pwp-ritual-price {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-black, #0f0f0f);
}

.shop-cart-body .pwp-ritual--cart .pwp-ritual-option.is-selected .pwp-ritual-radio {
    box-shadow: inset 0 0 0 2px #f2f0e4;
}

/* --- Footer Global Layout --- */
#kt_footer {
    background-color: var(--footer-bg);
    font-family: var(--font-family-base);
    border-top: none;
    padding: 0;
    margin-top: auto;
    color: #f5f2ed;
}

.footer-heading {
    font-size: clamp(1.75rem, 1.58rem + 0.55vw, 2.1rem);
    font-weight: var(--fw-medium);
    color: #f5f2ed;
    letter-spacing: 0.5px;
}

.footer-subtext {
    font-size: var(--text-footer);
    color: #a39c94;
    font-weight: var(--fw-regular);
}

.footer-container-fluid {
    max-width: var(--site-max-width);
    margin: 0 auto;
    width: 100%;
    padding: 60px var(--site-px) 40px;
}


.newsletter-form {
    max-width: 500px;
}

.footer-input {
    background: transparent;
    border: 1px solid #4a453e;
    color: #f5f2ed;
    padding: 12px 20px;
    font-size: var(--text-footer);
    outline: none;
}

.footer-input::placeholder {
    color: #665f56;
}

.footer-subscribe-btn {
    background-color: #f5f2ed;
    color: #1a1612;
    border: none;
    padding: 0 30px;
    font-weight: var(--fw-semibold);
    text-transform: capitalize;
    font-size: var(--text-footer);
    transition: opacity 0.2s ease;
}

.footer-subscribe-btn:hover {
    opacity: 0.9;
}

.footer-section-title {
    font-size: var(--text-footer);
    font-weight: var(--fw-semibold);
    text-transform: none;
    color: #f5f2ed;
}

.footer-list li a {
    color: #a39c94;
    font-size: var(--text-sm);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-list li a:hover {
    color: #f5f2ed;
}

.social-icon {
    color: #a39c94;
}

.social-icon i {
    color: inherit;
}

.social-icon:hover {
    color: #f5f2ed;
}

.footer-divider {
    height: 1px;
    background-color: #332f2a;
    width: 100%;
}

.copyright-text {
    font-size: var(--text-sm);
    color: #665f56;
    letter-spacing: 0.3px;
}

/* Boxed layout breakpoint */
@media (max-width: 1440px) {
    :root {
        --site-px: 2rem;
    }
}

/* Tablet / transitional desktop (avoid overflow before mobile breakpoint) */
@media (min-width: 992px) and (max-width: 1240px) {
    .header-desktop {
        padding-top: 1.8rem;
        padding-bottom: 1rem;
        column-gap: 0.9rem;
    }

    .header-left {
        min-width: 200px;
    }

    .logo-jp-header {
        font-size: clamp(0.72rem, 0.62rem + 0.2vw, 0.85rem);
        letter-spacing: 1px;
    }

    .logo-en-header {
        font-size: clamp(1.55rem, 1.1rem + 0.45vw, 2rem);
        letter-spacing: 0.2px;
    }

    .header-top-row {
        gap: 0.55rem;
    }

    .header-top-row .search-container {
        flex: 1 1 auto;
        min-width: 180px;
    }

    .shop-action-item {
        min-width: auto;
        padding-inline: 0.35rem;
        font-size: clamp(0.74rem, 0.68rem + 0.14vw, 0.84rem);
    }

    .shop-divider {
        height: 16px;
    }

    .shop-nav {
        gap: clamp(10px, 1vw, 16px);
    }

    .shop-nav .nav-item {
        font-size: clamp(0.72rem, 0.65rem + 0.2vw, 0.83rem);
    }
}

@media (min-width: 992px) {
    .shop-nav {
        overflow: visible;
    }
}

/* Mobile / small tablet */
@media (max-width: 991.98px) {
    :root {
        --site-px: 1.5rem;
        --text-menu: 0.9375rem;
        --text-nav: 0.9375rem;
    }

    /* Footer Mobile */
    .footer-container-fluid {
        padding: 40px var(--site-px) 28px;
    }

    .footer-heading {
        font-size: 1.5rem;
    }

    .footer-subtext {
        font-size: var(--text-sm);
    }

    .newsletter-form {
        flex-direction: column;
        gap: 10px;
        max-width: 100%;
    }

    .footer-input {
        width: 100%;
        padding: 12px 16px;
    }

    .footer-subscribe-btn {
        width: 100%;
        padding: 13px 16px;
    }

    #kt_footer .col-lg-3 {
        margin-top: 28px;
    }

    .header-mobile {
        display: grid !important;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        column-gap: clamp(0.28rem, 1vw, 0.6rem);
        padding-top: 12px;
        padding-bottom: 12px;
        overflow: hidden;
    }

    .header-mobile .logo-jp-header {
        font-size: clamp(0.58rem, 1.55vw, 0.82rem);
        letter-spacing: clamp(0.45px, 0.18vw, 1px);
    }

    .header-mobile .logo-en-header {
        font-size: clamp(0.98rem, 3vw, 1.34rem);
        letter-spacing: clamp(0.08px, 0.07vw, 0.3px);
        line-height: 1.05;
        white-space: nowrap;
    }

    .mobile-logo-center {
        justify-self: center;
        max-width: min(100%, calc(100vw - 126px));
    }

    .header-mobile .btn.mobile-header-icon-btn {
        width: clamp(16px, 2.7vw, 22px);
        height: clamp(16px, 2.7vw, 22px);
    }

    .mobile-header-actions {
        justify-self: end;
        justify-content: flex-end;
    }
}

@media (max-width: 1199.98px) {
    .mega-menu-panel {
        height: clamp(360px, 46vh, 460px);
    }

    .mega-menu-content {
        grid-template-columns: minmax(0, 1fr) 320px;
    }

    .mega-menu-columns {
        gap: 28px;
        padding: 32px 28px 98px;
    }

    .mega-menu-media {
        margin-top: 32px;
        height: calc(100% - 32px - 98px);
    }

    .mega-menu-col h4 {
        font-size: 0.88rem;
    }

    .mega-menu-col a {
        font-size: 0.82rem;
    }

    .mega-menu-brand {
        left: calc(var(--site-px) + 28px);
        bottom: 24px;
    }

    .mega-menu-brand-jp {
        font-size: 1.55rem;
    }

    .mega-menu-brand-en {
        font-size: 1.7rem;
    }
}

/* Small phones */
@media (max-width: 480px) {
    :root {
        --site-px: 1.25rem;
    }

    .header-mobile .logo-jp-header {
        font-size: clamp(0.54rem, 2.2vw, 0.68rem);
    }

    .header-mobile .logo-en-header {
        font-size: clamp(0.9rem, 5.8vw, 1.16rem);
    }

    .mobile-header-actions {
        gap: clamp(0.2rem, 1.1vw, 0.4rem);
    }

    .header-mobile .btn.mobile-header-icon-btn {
        width: clamp(14px, 4.3vw, 18px);
        height: clamp(14px, 4.3vw, 18px);
    }

    .mobile-logo-center {
        max-width: min(100%, calc(100vw - 102px));
    }

    .footer-container-fluid {
        padding: 36px var(--site-px) 24px;
    }

    .footer-heading {
        font-size: 1.25rem;
    }
}