/* L'AMOUR 官網 — 主樣式 */

:root {
    --lam-bg: #f7f4ef;
    --lam-bg-elevated: #ffffff;
    --lam-text: #27231f;
    --lam-text-muted: #6f665e;
    --lam-border: #e5ddd2;
    --lam-accent: #b08a5a;
    --lam-accent-hover: #946f46;
    /* 品牌主色／按鈕咖啡色 */
    --lam-primary: #5d4a3f;
    --lam-primary-hover: #4a3b33;
    --lam-btn-radius: 12px;
    --lam-dark: #1e1c1a;
    --lam-font-sans: "Noto Sans TC", sans-serif;
    --lam-font-serif: "Noto Serif TC", "Source Han Serif TC", "Times New Roman", Georgia, serif;
    --lam-container: 1200px;
    --lam-header-h: 72px;
    --lam-space: 1rem;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.lam-site {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: var(--lam-font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--lam-text);
    background-color: var(--lam-bg);
    letter-spacing: 0.01em;
}

.lam-skip-link {
    position: absolute;
    left: -9999px;
    z-index: 1000;
    padding: 0.5rem 1rem;
    background: var(--lam-bg-elevated);
    color: var(--lam-text);
}

.lam-skip-link:focus {
    left: 0.5rem;
    top: 0.5rem;
}

.lam-container {
    width: 100%;
    max-width: var(--lam-container);
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(var(--lam-space), 4vw, 1.5rem);
    padding-right: clamp(var(--lam-space), 4vw, 1.5rem);
}

/* Header */
.lam-header {
    background: var(--lam-bg-elevated);
    border-bottom: 1px solid var(--lam-border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.lam-header__bar {
    background: #cbc4ba;
    color: #f6f2eb;
    font-size: 0.75rem;
}

.lam-header__bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 36px;
    gap: 1rem;
}

.lam-header__tagline {
    margin: 0;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

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

.lam-header__link {
    color: inherit;
    text-decoration: none;
}

.lam-header__link:hover {
    color: #fff;
    text-decoration: none;
}

.lam-header__sep {
    opacity: 0.5;
}

.lam-header__member-name {
    font-size: 0.8rem;
    max-width: 10rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 會員登入／註冊／會員中心 */
.lam-member-page {
    max-width: 420px;
    margin: 0 auto;
    padding: 2rem 0 3rem;
}

.lam-member-page__title {
    margin: 0 0 1.25rem;
    font-size: 1.5rem;
    color: var(--lam-primary);
    text-align: center;
    font-weight: 500;
}

.lam-member-alert {
    padding: 0.75rem 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.lam-member-alert--error {
    background: #ffebee;
    color: #b71c1c;
    border: 1px solid #ffcdd2;
}

.lam-member-alert--ok {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.lam-member-form__group {
    margin-bottom: 1rem;
}

.lam-member-form__group label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.9rem;
    color: var(--lam-text);
}

.lam-member-form__group input {
    width: 100%;
    box-sizing: border-box;
    padding: 0.55rem 0.75rem;
    border: 1px solid rgba(160, 138, 102, 0.35);
    border-radius: var(--lam-btn-radius);
    font-size: 1rem;
}

.lam-member-form__group input:focus {
    outline: none;
    border-color: var(--lam-primary);
}

/* 會員與官網共用按鈕：咖啡色、圓角一致 */
.lam-btn {
    display: inline-block;
    box-sizing: border-box;
    font-family: inherit;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease,
        border-color 0.2s ease, transform 0.15s ease;
}

.lam-member-form__submit {
    width: 100%;
    margin-top: 0.65rem;
    padding: 0.78rem 1.25rem;
    border: none;
    border-radius: var(--lam-btn-radius);
    font-size: 1rem;
    line-height: 1.35;
}

.lam-btn--primary {
    background: var(--lam-primary);
    color: #fff;
    border: none;
    box-shadow: 0 2px 10px rgba(93, 74, 63, 0.22);
}

.lam-btn--primary:hover {
    background: var(--lam-primary-hover);
    box-shadow: 0 4px 16px rgba(93, 74, 63, 0.28);
}

.lam-btn--primary:active {
    transform: translateY(1px);
    box-shadow: 0 1px 6px rgba(93, 74, 63, 0.2);
}

.lam-btn--ghost {
    padding: 0.62rem 1.2rem;
    background: transparent;
    color: var(--lam-primary);
    text-decoration: none;
    border-radius: var(--lam-btn-radius);
    border: 1px solid transparent;
}

.lam-btn--ghost:hover {
    background: rgba(93, 74, 63, 0.08);
    color: var(--lam-primary-hover);
}

.lam-btn--outline {
    padding: 0.62rem 1.2rem;
    background: #fff;
    color: var(--lam-primary);
    text-decoration: none;
    border-radius: var(--lam-btn-radius);
    border: 1px solid rgba(93, 74, 63, 0.35);
    box-shadow: 0 1px 3px rgba(93, 74, 63, 0.06);
}

.lam-btn--outline:hover {
    background: rgba(93, 74, 63, 0.06);
    border-color: rgba(93, 74, 63, 0.5);
    color: var(--lam-primary-hover);
}

.lam-member-page__foot {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--lam-text);
}

.lam-member-page__foot a {
    color: var(--lam-primary);
}

.lam-member-dl {
    margin: 0 0 1.5rem;
}

.lam-member-dl__row {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 0.5rem 1rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(160, 138, 102, 0.2);
    font-size: 0.95rem;
}

.lam-member-dl__row dt {
    margin: 0;
    color: rgba(0, 0, 0, 0.5);
    font-weight: normal;
}

.lam-member-dl__row dd {
    margin: 0;
    color: var(--lam-text);
}

.lam-member-page__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

/* 會員中心 — 帳號與訂單紀錄（寬版） */
.lam-account-page.lam-member-page {
    max-width: min(920px, 100%);
}

.lam-account-section-title {
    margin: 1.75rem 0 0.65rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--lam-primary);
}

.lam-account-page .lam-account-section-title:first-of-type {
    margin-top: 0.5rem;
}

.lam-account-orders-note {
    margin: 0 0 1rem;
    font-size: 0.88rem;
    color: var(--lam-text-muted);
    line-height: 1.6;
}

.lam-account-orders-empty {
    text-align: left;
}

.lam-account-orders {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.lam-member-order-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--lam-border);
    border-radius: var(--lam-btn-radius);
    padding: 1rem 1.15rem;
}

.lam-member-order-card__head {
    margin-bottom: 0.75rem;
}

.lam-member-order-card__title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
}

.lam-member-order-card__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--lam-text);
}

.lam-member-order-no {
    font-size: 0.9rem;
    font-weight: 600;
}

.lam-member-order-badge {
    display: inline-block;
    padding: 0.12rem 0.45rem;
    font-size: 0.72rem;
    font-weight: 600;
    border-radius: 4px;
}

.lam-member-order-badge--test {
    background: #fff8e6;
    color: #856404;
    border: 1px solid #ffe082;
}

.lam-member-order-card__meta {
    margin: 0 0 0.35rem;
    font-size: 0.82rem;
    color: var(--lam-text-muted);
}

.lam-member-order-card__sep {
    margin: 0 0.25rem;
}

.lam-member-order-card__total {
    margin: 0;
    font-size: 0.92rem;
    color: var(--lam-text);
}

.lam-member-order-card__total strong {
    color: var(--lam-accent);
    font-size: 1.05rem;
}

.lam-member-order-card__total--hidden-price {
    color: var(--lam-text-muted);
    font-weight: normal;
}

.lam-member-order-card__total--hidden-price strong {
    color: inherit;
    font-size: inherit;
}

.lam-shop-closed-banner-wrap {
    padding-top: 1rem;
}

.lam-shop-closed-banner-wrap .lam-member-alert {
    margin-bottom: 0;
}

/* 門市預約諮詢 */
.lam-booking-page.lam-member-page {
    max-width: min(520px, 100%);
}

.lam-booking-lead {
    margin: 0 0 1rem;
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--lam-text-muted);
}

.lam-booking-store {
    margin: 0 0 1.5rem;
    padding: 0.85rem 1rem;
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--lam-text);
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid var(--lam-border);
    border-radius: var(--lam-btn-radius);
}

.lam-booking-after {
    margin: 1rem 0 0;
    text-align: center;
}

.lam-booking-form input[type="date"] {
    width: 100%;
    box-sizing: border-box;
    padding: 0.55rem 0.75rem;
    border: 1px solid rgba(160, 138, 102, 0.35);
    border-radius: var(--lam-btn-radius);
    font-size: 1rem;
    font-family: inherit;
}

.lam-booking-form input[type="date"]:focus {
    outline: none;
    border-color: var(--lam-primary);
}

.lam-member-order-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.lam-member-order-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.lam-member-order-table th,
.lam-member-order-table td {
    padding: 0.5rem 0.6rem;
    text-align: left;
    border-bottom: 1px solid rgba(160, 138, 102, 0.2);
    vertical-align: top;
}

.lam-member-order-table th {
    font-weight: 600;
    color: rgba(0, 0, 0, 0.55);
    font-size: 0.8rem;
    white-space: nowrap;
}

.lam-member-order-table__empty {
    text-align: center;
    color: var(--lam-text-muted);
    padding: 0.75rem;
}

.lam-member-order-product-link {
    color: var(--lam-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.lam-member-order-product-link:hover {
    color: var(--lam-accent);
}

@media (max-width: 640px) {
    .lam-member-order-table th:nth-child(4),
    .lam-member-order-table td:nth-child(4),
    .lam-member-order-table th:nth-child(6),
    .lam-member-order-table td:nth-child(6) {
        white-space: nowrap;
    }
}

.lam-required {
    color: #c62828;
}

.lam-header__main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.lam-logo {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.lam-logo img {
    display: block;
    width: clamp(128px, 15vw, 176px);
    height: auto;
}

.lam-nav__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.lam-nav a {
    color: var(--lam-text);
    text-decoration: none;
    font-size: 0.875rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 0.2rem;
}

.lam-nav a:hover {
    color: var(--lam-accent);
}

.lam-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: var(--lam-accent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

.lam-nav a:hover::after {
    transform: scaleX(1);
}

/* Dropdown submenu (母分類 -> 子分類) */
.lam-nav-item {
    position: relative;
}

.lam-submenu {
    position: absolute;
    top: calc(100% + 0.2rem);
    left: 0;
    background: #fff;
    border: 1px solid var(--lam-border);
    border-radius: 14px;
    padding: 0.35rem 0;
    min-width: 220px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
    list-style: none;
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    z-index: 50;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.lam-nav-item.has-submenu::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 260px;
    background: transparent;
    z-index: 1; /* 在 submenu 之下，避免擋住點擊 */
}

.lam-nav-item.has-submenu:hover > .lam-submenu,
.lam-nav-item.has-submenu:focus-within > .lam-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.lam-submenu a::after {
    content: none !important;
}

.lam-submenu a {
    color: var(--lam-text) !important;
    text-transform: none !important;
    letter-spacing: 0.04em !important;
    font-size: 0.875rem !important;
    padding: 0.65rem 1rem !important;
    display: block !important;
}

.lam-submenu a:hover {
    color: var(--lam-accent) !important;
    text-decoration: none;
}

/* Main — 各頁用 <main id="main-content" class="lam-main"> */
.lam-main {
    flex: 1;
    width: 100%;
}

/* 首頁等全寬橫幅：突破主內容寬度，與視窗同寬並水平置中 */
.lam-full-width-image {
    display: block;
    width: 100vw;
    max-width: 100vw;
    height: auto;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    right: 50%;
}

.lam-home-slider {
    position: relative;
    width: 100%;
    background: #111;
    overflow: hidden;
}

.lam-home-slider__track {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 6;
    min-height: 240px;
    max-height: 78vh;
}

.lam-home-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.lam-home-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.lam-home-slide picture,
.lam-home-slide img,
.lam-home-slide__link {
    display: block;
    width: 100%;
    height: 100%;
}

.lam-home-slide img {
    object-fit: cover;
    transform: scale(1);
    transform-origin: center center;
    will-change: transform;
}

.lam-home-slide.is-active img {
    animation: lam-slide-zoom 3s linear forwards;
}
@keyframes lam-slide-zoom {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.03);
    }
}

.lam-home-slider__dots {
    position: absolute;
    left: 50%;
    bottom: 1rem;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 3;
}

.lam-home-slider__dot {
    width: 24px;
    height: 9px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    padding: 0;
    transition: background 0.2s ease, transform 0.2s ease;
}

.lam-home-slider__dot.is-active {
    background: #fff;
    transform: scale(1.05);
}

.lam-hero {
    padding-top: 4.5rem;
    padding-bottom: 5rem;
}

.lam-hero__title {
    font-family: var(--lam-font-serif);
    font-size: clamp(1.9rem, 4.2vw, 2.8rem);
    font-weight: 500;
    margin: 0 0 1.1rem;
    letter-spacing: 0.08em;
    color: #231f1b;
}

.lam-hero__lead {
    margin: 0;
    color: var(--lam-text-muted);
    max-width: 38em;
    font-size: 1.02rem;
}

/* Products */
.lam-products {
    padding-top: 2.6rem;
    padding-bottom: 3.6rem;
}

.lam-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.lam-section-title {
    font-family: var(--lam-font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    margin: 0;
    letter-spacing: 0.08em;
    color: var(--lam-dark);
}

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

.lam-product-card {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--lam-border);
    border-radius: 14px;
    padding: 0.95rem;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.03);
    text-align: center;
}

.lam-product-thumb {
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    aspect-ratio: 1 / 1;
}

.lam-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1);
    transition: transform 0.35s ease;
}

.lam-product-card:hover .lam-product-thumb img {
    transform: scale(1.04);
}

.lam-product-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.lam-product-card__link:hover {
    text-decoration: none;
}

.lam-product-thumb__placeholder {
    width: 100%;
    height: 100%;
    background: #eee9df;
}

.lam-product-title {
    margin: 0.85rem 0 0.35rem;
    font-size: 0.98rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--lam-dark);
    line-height: 1.3;
}

.lam-product-price {
    margin: 0;
    color: var(--lam-accent);
    font-weight: 700;
    letter-spacing: 0.03em;
}

.lam-product-price--muted {
    color: var(--lam-text-muted);
    font-weight: 600;
}

@media (max-width: 1100px) {
    .lam-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .lam-products {
        padding-top: 2.1rem;
        padding-bottom: 2.6rem;
    }

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

/* Common */
.lam-empty {
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid var(--lam-border);
    border-radius: 14px;
    padding: 1.25rem 1rem;
    color: var(--lam-text-muted);
}

/* Categories */
.lam-categories {
    padding-top: 2.4rem;
    padding-bottom: 3.2rem;
}

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

.lam-category-card {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--lam-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease;
}

.lam-category-card:hover {
    transform: translateY(-2px);
}

.lam-category-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.lam-category-card__thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #f0eada;
    overflow: hidden;
}

.lam-category-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lam-category-card__thumb-placeholder {
    width: 100%;
    height: 100%;
    background: #f0eada;
}

.lam-category-card__title {
    margin: 0;
    padding: 0.9rem 0.9rem 1rem;
    font-size: 1rem;
    font-weight: 650;
    letter-spacing: 0.03em;
}

.lam-category-hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-top: 2.2rem;
    padding-bottom: 1.7rem;
    border-bottom: 1px solid var(--lam-border);
    margin-bottom: 1.6rem;
}

.lam-category-hero__thumb {
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    background: #f0eada;
    aspect-ratio: 16 / 9;
}

.lam-category-hero__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lam-category-hero__meta {
    padding-top: 0.2rem;
}

.lam-category-view__title {
    margin: 0 0 0.6rem;
}

.lam-category-view__desc {
    margin: 0;
    color: var(--lam-text-muted);
    line-height: 1.9;
}

.lam-category-view__back a {
    color: var(--lam-accent);
    text-decoration: none;
}

.lam-category-view__back a:hover {
    text-decoration: underline;
}

/* Product detail */
.lam-product-detail {
    padding-top: 2.4rem;
    padding-bottom: 4rem;
}

.lam-product-detail__grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.2rem;
    align-items: start;
}

.lam-product-detail__main {
    border-radius: 18px;
    overflow: hidden;
    background: #f0eada;
    aspect-ratio: 4 / 3;
}

.lam-product-detail__main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lam-product-detail__main--placeholder {
    width: 100%;
    height: 100%;
}

.lam-product-detail__thumbs {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.6rem;
}

.lam-product-detail__thumb {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--lam-border);
    background: #fff;
}

.lam-product-detail__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 1 / 1;
}

.lam-product-detail__info {
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid var(--lam-border);
    border-radius: 18px;
    padding: 1.5rem 1.3rem;
}

.lam-product-detail__title {
    margin: 0.8rem 0 0.4rem;
    font-family: var(--lam-font-serif);
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    line-height: 1.25;
}

.lam-product-detail__category {
    margin: 0 0 0.8rem;
    color: var(--lam-text-muted);
    letter-spacing: 0.08em;
    font-size: 0.9rem;
}

.lam-product-detail__price {
    margin: 0.2rem 0 0;
    font-size: 1.6rem;
    color: var(--lam-accent);
    font-weight: 800;
    letter-spacing: 0.03em;
}

.lam-product-detail__price-orig {
    margin: 0.2rem 0 0;
    color: var(--lam-text-muted);
    text-decoration: line-through;
    font-weight: 700;
}

.lam-product-detail__price--muted {
    color: var(--lam-text-muted);
}

.lam-product-detail__cart {
    margin-top: 1.25rem;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(160, 138, 102, 0.22);
}

.lam-product-detail__cart-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem 1rem;
}

.lam-product-detail__cart-label {
    font-size: 0.95rem;
    color: var(--lam-text);
}

.lam-product-detail__cart-qty {
    width: 4.5rem;
    padding: 0.45rem 0.5rem;
    border: 1px solid rgba(160, 138, 102, 0.35);
    border-radius: var(--lam-btn-radius);
    font-size: 1rem;
    text-align: center;
}

.lam-product-detail__cart-btn {
    padding: 0.55rem 1.35rem;
    border-radius: var(--lam-btn-radius);
    border: none;
    font-size: 0.95rem;
}

.lam-product-detail__cart-hint {
    margin: 0.5rem 0 0;
    font-size: 0.82rem;
    color: var(--lam-text-muted);
}

.lam-product-detail__cart-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.85rem;
    margin-top: 0.65rem;
}

.lam-product-detail__cart-group .lam-product-detail__cart-label {
    flex: 0 0 auto;
}

.lam-product-detail__cart-group--ring {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.45rem 0;
    width: 100%;
    max-width: 26rem;
}

/* 戒圍自訂選單 */
.lam-ring-picker {
    width: 100%;
}

.lam-ring-picker__wrap {
    position: relative;
    width: 100%;
}

.lam-ring-picker__native {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: 0;
    border: 0;
    clip-path: inset(50%);
    overflow: hidden;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
}

.lam-ring-picker__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    width: 100%;
    min-height: 3.1rem;
    padding: 0.55rem 0.85rem 0.55rem 1rem;
    text-align: left;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--lam-text);
    background: var(--lam-bg-elevated);
    border: 1px solid rgba(160, 138, 102, 0.42);
    border-radius: var(--lam-btn-radius);
    box-shadow: 0 1px 2px rgba(93, 74, 63, 0.06);
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.lam-ring-picker__trigger:hover {
    border-color: rgba(176, 138, 90, 0.65);
}

.lam-ring-picker__trigger:focus {
    outline: none;
    border-color: var(--lam-accent);
    box-shadow: 0 0 0 3px rgba(176, 138, 90, 0.22);
}

.lam-ring-picker__trigger-inner {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
    flex: 1;
}

.lam-ring-picker__trigger-line1 {
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.02em;
    color: var(--lam-primary);
}

.lam-ring-picker__trigger-line2 {
    font-size: 0.8rem;
    color: var(--lam-text-muted);
    line-height: 1.35;
}

.lam-ring-picker__trigger-line2--empty {
    display: none;
}

.lam-ring-picker__chevron {
    flex-shrink: 0;
    width: 0.55rem;
    height: 0.55rem;
    border-right: 2px solid var(--lam-accent);
    border-bottom: 2px solid var(--lam-accent);
    transform: rotate(45deg) translateY(-2px);
    margin-top: -0.2rem;
    opacity: 0.85;
    transition: transform 0.2s ease;
}

.lam-ring-picker__trigger[aria-expanded="true"] .lam-ring-picker__chevron {
    transform: rotate(225deg) translateY(2px);
}

/* [hidden] 須強制隱藏：否則下方 display:flex 會覆蓋 UA 的 hidden 樣式，導致一進頁面列表就露出 */
.lam-ring-picker__panel[hidden] {
    display: none !important;
}

.lam-ring-picker__panel {
    position: absolute;
    z-index: 150;
    left: 0;
    right: 0;
    top: calc(100% + 0.35rem);
    max-height: min(52vh, 22rem);
    display: flex;
    flex-direction: column;
    background: var(--lam-bg-elevated);
    border: 1px solid rgba(160, 138, 102, 0.35);
    border-radius: var(--lam-btn-radius);
    box-shadow: 0 12px 40px rgba(39, 35, 31, 0.12), 0 4px 12px rgba(39, 35, 31, 0.06);
    overflow: hidden;
}

.lam-ring-picker__head {
    display: grid;
    grid-template-columns: minmax(3.2rem, 0.85fr) minmax(4.2rem, 1fr) minmax(4.2rem, 1fr) minmax(2.8rem, 0.75fr);
    gap: 0.35rem 0.5rem;
    padding: 0.55rem 0.75rem 0.5rem;
    background: linear-gradient(180deg, rgba(245, 241, 235, 0.98) 0%, rgba(237, 232, 224, 0.95) 100%);
    border-bottom: 1px solid var(--lam-border);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--lam-text-muted);
}

.lam-ring-picker__body {
    overflow-y: auto;
    max-height: min(48vh, 19rem);
    -webkit-overflow-scrolling: touch;
}

.lam-ring-picker__row {
    display: grid;
    grid-template-columns: minmax(3.2rem, 0.85fr) minmax(4.2rem, 1fr) minmax(4.2rem, 1fr) minmax(2.8rem, 0.75fr);
    gap: 0.35rem 0.5rem;
    width: 100%;
    padding: 0.5rem 0.75rem;
    margin: 0;
    border: none;
    border-bottom: 1px solid rgba(229, 221, 210, 0.65);
    background: transparent;
    font-family: inherit;
    font-size: 0.88rem;
    color: var(--lam-text);
    text-align: left;
    cursor: pointer;
    transition: background-color 0.12s ease;
}

.lam-ring-picker__row:last-child {
    border-bottom: none;
}

.lam-ring-picker__row:hover {
    background: rgba(245, 241, 235, 0.85);
}

.lam-ring-picker__row:focus {
    outline: none;
    background: rgba(237, 228, 212, 0.95);
    box-shadow: inset 0 0 0 2px rgba(176, 138, 90, 0.35);
}

.lam-ring-picker__cell--us {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--lam-primary);
}

.lam-ring-picker__cell--d,
.lam-ring-picker__cell--c {
    font-variant-numeric: tabular-nums;
    font-size: 0.86rem;
}

.lam-ring-picker__cell--uk {
    font-size: 0.82rem;
    color: var(--lam-text-muted);
    font-weight: 500;
}

.lam-ring-picker__unit {
    font-size: 0.72rem;
    color: var(--lam-text-muted);
    font-weight: 500;
}

@media (prefers-reduced-motion: reduce) {
    .lam-ring-picker__trigger,
    .lam-ring-picker__chevron,
    .lam-ring-picker__row,
    .lam-material-picker__trigger,
    .lam-material-picker__chevron,
    .lam-material-picker__row {
        transition: none;
    }
}

@media (max-width: 640px) {
    .lam-product-detail__cart-group--ring {
        max-width: none;
    }

    .lam-ring-picker__head,
    .lam-ring-picker__row {
        grid-template-columns: minmax(2.8rem, 0.8fr) minmax(3.6rem, 1fr) minmax(3.6rem, 1fr) minmax(2.2rem, 0.7fr);
        padding-left: 0.55rem;
        padding-right: 0.55rem;
        font-size: 0.82rem;
    }
}

.lam-product-detail__cart-group--material {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.45rem 0;
    width: 100%;
    max-width: 26rem;
}

.lam-product-detail__price--material {
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--lam-primary);
}

.lam-product-detail__price-placeholder {
    color: var(--lam-text-muted);
    font-weight: 500;
    font-size: 1.05rem;
}

/* 材質自訂選單（與戒圍選單同結構） */
.lam-material-picker {
    width: 100%;
}

.lam-material-picker__wrap {
    position: relative;
    width: 100%;
}

.lam-material-picker__native {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: 0;
    border: 0;
    clip-path: inset(50%);
    overflow: hidden;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
}

.lam-material-picker__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    width: 100%;
    min-height: 3.1rem;
    padding: 0.55rem 0.85rem 0.55rem 1rem;
    text-align: left;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--lam-text);
    background: var(--lam-bg-elevated);
    border: 1px solid rgba(160, 138, 102, 0.42);
    border-radius: var(--lam-btn-radius);
    box-shadow: 0 1px 2px rgba(93, 74, 63, 0.06);
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.lam-material-picker__trigger:hover {
    border-color: rgba(176, 138, 90, 0.65);
}

.lam-material-picker__trigger:focus {
    outline: none;
    border-color: var(--lam-accent);
    box-shadow: 0 0 0 3px rgba(176, 138, 90, 0.22);
}

.lam-material-picker__trigger-inner {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
    flex: 1;
}

.lam-material-picker__trigger-line1 {
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.02em;
    color: var(--lam-primary);
}

.lam-material-picker__trigger-line2 {
    font-size: 0.8rem;
    color: var(--lam-text-muted);
    line-height: 1.35;
}

.lam-material-picker__trigger-line2--empty {
    display: none;
}

.lam-material-picker__chevron {
    flex-shrink: 0;
    width: 0.55rem;
    height: 0.55rem;
    border-right: 2px solid var(--lam-accent);
    border-bottom: 2px solid var(--lam-accent);
    transform: rotate(45deg) translateY(-2px);
    margin-top: -0.2rem;
    opacity: 0.85;
    transition: transform 0.2s ease;
}

.lam-material-picker__trigger[aria-expanded="true"] .lam-material-picker__chevron {
    transform: rotate(225deg) translateY(2px);
}

.lam-material-picker__panel[hidden] {
    display: none !important;
}

.lam-material-picker__panel {
    position: absolute;
    z-index: 150;
    left: 0;
    right: 0;
    top: calc(100% + 0.35rem);
    max-height: min(48vh, 18rem);
    display: flex;
    flex-direction: column;
    background: var(--lam-bg-elevated);
    border: 1px solid rgba(160, 138, 102, 0.35);
    border-radius: var(--lam-btn-radius);
    box-shadow: 0 12px 40px rgba(39, 35, 31, 0.12), 0 4px 12px rgba(39, 35, 31, 0.06);
    overflow: hidden;
}

.lam-material-picker__body {
    overflow-y: auto;
    max-height: min(44vh, 16rem);
    -webkit-overflow-scrolling: touch;
}

.lam-material-picker__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    padding: 0.65rem 1rem;
    margin: 0;
    border: none;
    border-bottom: 1px solid rgba(229, 221, 210, 0.65);
    background: transparent;
    font-family: inherit;
    font-size: 0.88rem;
    color: var(--lam-text);
    text-align: left;
    cursor: pointer;
    transition: background-color 0.12s ease;
}

.lam-material-picker__row:last-child {
    border-bottom: none;
}

.lam-material-picker__row:hover {
    background: rgba(245, 241, 235, 0.85);
}

.lam-material-picker__row:focus {
    outline: none;
    background: rgba(237, 228, 212, 0.95);
    box-shadow: inset 0 0 0 2px rgba(176, 138, 90, 0.35);
}

.lam-material-picker__row-label {
    font-weight: 600;
    color: var(--lam-primary);
    line-height: 1.35;
    flex: 1;
    min-width: 0;
}

.lam-material-picker__row-price {
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    color: var(--lam-accent);
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .lam-product-detail__cart-group--material {
        max-width: none;
    }
}

.lam-cart-page {
    padding: 2rem 0 3rem;
}

.lam-cart-page__title {
    margin: 0 0 1.25rem;
    font-size: 1.6rem;
    color: var(--lam-primary);
    font-weight: 500;
}

.lam-cart-page__back a {
    color: var(--lam-accent);
}

.lam-cart-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--lam-bg-elevated);
    border-radius: var(--lam-btn-radius);
    overflow: hidden;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
    margin-bottom: 1rem;
}

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

.lam-cart-table th {
    background: rgba(245, 241, 235, 0.9);
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--lam-text-muted);
}

.lam-cart-table__product {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 200px;
}

.lam-cart-table__thumb-link {
    flex-shrink: 0;
}

.lam-cart-table__thumb {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    background: #f0eada;
}

.lam-cart-table__thumb--empty {
    display: inline-block;
}

.lam-cart-table__title-link {
    color: var(--lam-text);
    text-decoration: none;
    font-weight: 500;
}

.lam-cart-table__title-link:hover {
    color: var(--lam-accent);
}

.lam-cart-table__material {
    font-size: 0.85rem;
    color: var(--lam-text);
    line-height: 1.4;
    max-width: 10rem;
}

.lam-cart-table__ring {
    font-size: 0.92rem;
    color: var(--lam-text);
    white-space: nowrap;
}

.lam-cart-qty {
    width: 4rem;
    padding: 0.35rem 0.4rem;
    border: 1px solid rgba(160, 138, 102, 0.35);
    border-radius: 8px;
    text-align: center;
}

.lam-cart-remove {
    color: var(--lam-text-muted);
    font-size: 0.88rem;
    text-decoration: underline;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    font-family: inherit;
}

.lam-cart-remove:hover {
    color: #b71c1c;
}

.lam-cart-actions {
    margin-bottom: 1.5rem;
}

.lam-cart-update-btn {
    padding: 0.55rem 1.25rem;
    border-radius: var(--lam-btn-radius);
}

.lam-cart-summary {
    padding: 1.25rem 1.35rem;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--lam-border);
    border-radius: var(--lam-btn-radius);
    max-width: 420px;
}

.lam-cart-summary__total {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
}

.lam-cart-summary__total strong {
    color: var(--lam-accent);
    font-size: 1.25rem;
    margin-left: 0.35rem;
}

.lam-cart-summary__note {
    margin: 0;
    font-size: 0.88rem;
    color: var(--lam-text-muted);
    line-height: 1.6;
}

.lam-cart-summary__checkout {
    margin: 0 0 0.75rem;
}

.lam-cart-checkout-btn {
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

.lam-checkout-page__pay {
    margin: 0 0 1.25rem;
    font-size: 0.95rem;
    color: var(--lam-text-muted);
}

/* 結帳雙欄：勿沿用會員頁 max-width:420px，否則第一欄會被壓成數 px */
.lam-checkout-page.lam-member-page {
    max-width: var(--lam-container);
    width: 100%;
}

.lam-checkout-test-banner {
    margin: 0 0 1rem;
    padding: 0.65rem 1rem;
    font-size: 0.88rem;
    border-radius: var(--lam-btn-radius);
    border: 1px dashed var(--lam-accent);
    background: rgba(139, 90, 60, 0.08);
    color: var(--lam-text);
}

.lam-checkout-test-banner--thanks {
    border-style: solid;
    font-weight: 600;
}

.lam-checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
    gap: 2rem;
    align-items: start;
    width: 100%;
}

.lam-checkout-layout > * {
    min-width: 0;
}

.lam-checkout-form {
    max-width: min(520px, 100%);
}

.lam-checkout-textarea {
    width: 100%;
    padding: 0.55rem 0.65rem;
    border: 1px solid var(--lam-border);
    border-radius: var(--lam-btn-radius);
    font: inherit;
    resize: vertical;
    min-height: 4.5rem;
}

.lam-checkout-textarea:focus {
    outline: none;
    border-color: var(--lam-accent);
    box-shadow: 0 0 0 2px rgba(139, 90, 60, 0.15);
}

.lam-checkout-summary {
    padding: 1.25rem 1.35rem;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--lam-border);
    border-radius: var(--lam-btn-radius);
}

.lam-checkout-summary__title {
    margin: 0 0 0.75rem;
    font-size: 1rem;
}

.lam-checkout-summary__lines {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.lam-checkout-summary__lines li {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 0.15rem 0.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--lam-border);
}

.lam-checkout-summary__lines li:last-child {
    border-bottom: none;
}

.lam-checkout-summary__line-title {
    grid-column: 1 / -1;
    font-weight: 500;
}

.lam-checkout-summary__line-meta {
    color: var(--lam-text-muted);
}

.lam-checkout-summary__line-price {
    justify-self: end;
    font-variant-numeric: tabular-nums;
}

.lam-thanks-intro {
    margin: 0 0 1.25rem;
    line-height: 1.65;
    color: var(--lam-text-muted);
}

.lam-thanks-bank {
    margin-bottom: 1.5rem;
}

@media (max-width: 900px) {
    .lam-checkout-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .lam-cart-table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 0 -0.5rem;
        padding: 0 0.5rem;
    }

    .lam-cart-table {
        min-width: 520px;
    }
}

.lam-product-detail__intro {
    margin: 1rem 0 0.8rem;
    color: var(--lam-text-muted);
    line-height: 1.9;
    font-size: 1.02rem;
}

.lam-product-detail__desc {
    margin-top: 1rem;
    color: var(--lam-text);
    line-height: 2;
    font-size: 1rem;
}

.lam-product-detail__shared {
    margin-top: 1.4rem;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(160, 138, 102, 0.35);
    color: var(--lam-text);
    line-height: 2;
    font-size: 1rem;
}

.lam-product-detail__desc img,
.lam-product-detail__desc iframe,
.lam-product-detail__desc video,
.lam-product-detail__desc table,
.lam-product-detail__shared img,
.lam-product-detail__shared iframe,
.lam-product-detail__shared video,
.lam-product-detail__shared table,
.lam-blog-article__body img,
.lam-blog-article__body iframe,
.lam-blog-article__body video,
.lam-blog-article__body table {
    max-width: 100%;
}

.lam-product-detail__desc img,
.lam-product-detail__shared img,
.lam-blog-article__body img {
    height: auto;
}

.lam-blog-article__body {
    margin-top: 1.25rem;
    color: var(--lam-text);
    line-height: 2;
    font-size: 1rem;
}

.lam-blog-index__head {
    margin-bottom: 1.5rem;
}

.lam-blog-index__title {
    margin: 0 0 1rem;
    font-size: 1.75rem;
    color: var(--lam-primary);
}

.lam-blog-cards {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem 1.5rem;
}

.lam-blog-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(160, 138, 102, 0.18);
    box-shadow: 0 2px 12px rgba(60, 48, 36, 0.06);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.lam-blog-card__link:hover {
    box-shadow: 0 8px 28px rgba(60, 48, 36, 0.12);
    transform: translateY(-3px);
}

.lam-blog-card__media {
    aspect-ratio: 4 / 3;
    background: #f5f1eb;
    overflow: hidden;
}

.lam-blog-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.lam-blog-card__link:hover .lam-blog-card__media img {
    transform: scale(1.04);
}

.lam-blog-card__placeholder {
    width: 100%;
    height: 100%;
    min-height: 160px;
    background: linear-gradient(145deg, #ebe4dc 0%, #f5f1eb 55%, #e8dfd4 100%);
}

.lam-blog-card__title {
    margin: 0;
    padding: 1rem 1rem 1.15rem;
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.45;
    color: var(--lam-primary);
    letter-spacing: 0.02em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lam-blog-article__head {
    margin-bottom: 1.25rem;
}

.lam-blog-article__breadcrumb {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.lam-blog-article__breadcrumb a {
    color: var(--lam-primary);
    text-decoration: none;
}

.lam-blog-article__title {
    margin: 0 0 0.5rem;
    font-size: 1.85rem;
    color: var(--lam-primary);
}

.lam-blog-article__time {
    font-size: 0.9rem;
    color: rgba(0, 0, 0, 0.45);
}

.lam-blog-article__figure {
    margin: 0 0 1.25rem;
}

.lam-blog-article__figure img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.lam-blog-article__excerpt {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--lam-text);
    margin: 0 0 1rem;
}

@media (max-width: 1100px) {
    .lam-categories-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .lam-blog-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem 1rem;
    }
}

@media (max-width: 700px) {
    .lam-categories-grid {
        grid-template-columns: 1fr;
    }

    .lam-blog-cards {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .lam-product-detail__grid {
        grid-template-columns: 1fr;
        gap: 1.4rem;
    }

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

/* Footer */
.lam-footer {
    margin-top: auto;
    background: #f4f4f4;
    color: #3b3a38;
    padding-top: 4.5rem;
    padding-bottom: 1.6rem;
}

.lam-footer__top {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 2rem;
}

.lam-footer__logo-link {
    display: inline-block;
}

.lam-footer__logo-img {
    width: min(320px, 70vw);
    height: auto;
    display: block;
}

.lam-footer__store {
    justify-self: start;
    color: #474440;
    font-size: 1rem;
    line-height: 1.9;
    letter-spacing: 0.07em;
}

.lam-footer__store p {
    margin: 0;
}

.lam-footer__store-name {
    font-weight: 600;
    margin-bottom: 0.35rem !important;
}

.lam-footer__store-note {
    color: #8f7f98;
}

.lam-footer__social-wrap {
    margin-top: 2.3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.9rem;
}

.lam-footer__line-wrap {
    display: none;
}

.lam-footer__social {
    width: 34px;
    height: 34px;
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.lam-footer__social img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.lam-footer__social:hover {
    background: #886744;
}

.lam-footer__copy {
    margin: 2rem 0 0;
    font-size: 1.06rem;
    color: #43403d;
    text-align: center;
    letter-spacing: 0.03em;
}

@media (min-width: 900px) {
    .lam-footer__top {
        grid-template-columns: 1fr max-content;
    }

    .lam-footer__store {
        justify-self: end;
        text-align: left;
    }
}

@media (max-width: 767px) {
    .lam-footer {
        padding-top: 3.2rem;
        padding-bottom: 1.2rem;
    }

    .lam-footer__top {
        gap: 1.4rem;
        justify-items: center;
    }

    .lam-footer__logo-link {
        display: inline-flex;
        justify-content: center;
        width: 100%;
    }

    .lam-footer__logo-img {
        width: min(290px, 72vw);
    }

    .lam-footer__store {
        justify-self: center;
        text-align: center;
        font-size: 0.98rem;
        letter-spacing: 0.06em;
        line-height: 1.8;
    }

    .lam-footer__line-wrap {
        display: block;
        margin-top: 0;
        position: fixed;
        right: 1rem;
        bottom: 1rem;
        z-index: 120;
    }

    .lam-footer__line-bubble {
        width: 64px;
        height: 64px;
        border-radius: 50%;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
    }

    .lam-footer__line-bubble img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
    }

    .lam-footer__social-wrap {
        margin-top: 1.25rem;
    }

    .lam-footer__copy {
        margin-top: 1.45rem;
        font-size: 0.95rem;
    }
}

/* 行動選單（預留：由 main.js 顯示按鈕並切換） */
@media (max-width: 767px) {
    .lam-nav-item.has-submenu::after {
        display: none;
    }

    .lam-nav-toggle[hidden] {
        display: none;
    }

    .lam-nav-toggle:not([hidden]) {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0.5rem 0.75rem;
        border: 1px solid var(--lam-border);
        background: var(--lam-bg-elevated);
        font: inherit;
        cursor: pointer;
        width: 42px;
        height: 38px;
        border-radius: 8px;
    }

    .lam-nav-toggle__icon {
        display: inline-flex;
        flex-direction: column;
        justify-content: space-between;
        width: 18px;
        height: 14px;
    }

    .lam-nav-toggle__icon span {
        display: block;
        width: 100%;
        height: 2px;
        background: var(--lam-text);
        border-radius: 999px;
        transition: transform 0.22s ease, opacity 0.22s ease;
        transform-origin: center;
    }

    .lam-nav-toggle[aria-expanded="true"] .lam-nav-toggle__icon span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .lam-nav-toggle[aria-expanded="true"] .lam-nav-toggle__icon span:nth-child(2) {
        opacity: 0;
    }

    .lam-nav-toggle[aria-expanded="true"] .lam-nav-toggle__icon span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .lam-header {
        background: #fff;
    }

    .lam-header__main {
        display: grid;
        grid-template-columns: 40px 1fr 40px;
        align-items: center;
        min-height: 66px;
        row-gap: 0;
        column-gap: 0.5rem;
        position: relative;
        background: #fff;
    }

    .lam-logo {
        position: static;
        transform: none;
        justify-self: center;
        grid-column: 2;
        z-index: 2;
    }

    .lam-nav-toggle:not([hidden]) {
        margin-left: 0;
        justify-self: end;
        grid-column: 3;
        position: relative;
        z-index: 3;
    }

    .lam-nav {
        width: 100%;
        flex-basis: 100%;
        grid-column: 1 / -1;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
        background: #fff;
    }

    .lam-nav.is-open {
        max-height: calc(100vh - 110px);
        overflow-y: auto;
        border-top: 1px solid var(--lam-border);
    }

    .lam-nav__list {
        flex-direction: column;
        align-items: center;
        padding: 0.9rem 0 1.2rem;
        gap: 0.75rem;
        width: 100%;
        text-align: center;
    }

    .lam-submenu {
        position: static;
        display: block;
        background: transparent;
        border: none;
        box-shadow: none;
        min-width: 0;
        padding: 0.2rem 0;
        margin: 0.15rem 0 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
        transition: none;
        text-align: center;
    }

    .lam-nav-item.has-submenu:hover > .lam-submenu {
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
    }

    .lam-submenu a {
        padding: 0.45rem 0.15rem !important;
    }

    .lam-home-slider__track {
        aspect-ratio: 3 / 4;
        min-height: 320px;
        max-height: 80vh;
    }
}

@media (min-width: 768px) {
    .lam-nav-toggle {
        display: none !important;
    }
}
