/*
 * 檔案名稱：assets/css/site.css
 * 修改日期：2026/08/09 23:05（UTC+8）
 * 檔案用途：品皇咖啡官方網站、商城、會員與結帳共用樣式。
 * 修改說明：v1.3.0 前台大改造；建立沉浸式品牌首頁、清晰商品頁與一致的手機購物體驗。
 */

:root {
    --ink: #17120f;
    --ink-soft: #2c241f;
    --paper: #f4efe7;
    --paper-2: #ebe1d3;
    --cream: #fffaf2;
    --white: #ffffff;
    --coffee: #5d3927;
    --caramel: #bd7a3e;
    --gold: #d6a14d;
    --green: #326149;
    --red: #a84335;
    --muted: #73685f;
    --line: rgba(23, 18, 15, 0.16);
    --line-light: rgba(255, 255, 255, 0.22);
    --shadow: 0 24px 72px rgba(39, 25, 16, 0.12);
    --container: 1360px;
    --serif: Georgia, "Noto Serif TC", "Songti TC", "PMingLiU", serif;
    --sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.filter-open {
    overflow: hidden;
}

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

img {
    display: block;
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a,
input,
select,
textarea {
    -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(189, 122, 62, 0.34);
    outline-offset: 2px;
}

.site-container {
    width: min(var(--container), calc(100% - 64px));
    margin: 0 auto;
}

.site-main {
    overflow: clip;
}

.section-space {
    padding: 132px 0;
}

.section-kicker {
    margin: 0 0 18px;
    color: var(--caramel);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.section-number {
    color: var(--caramel);
    font-family: var(--serif);
    font-size: 18px;
}

.display-title {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(42px, 5.2vw, 78px);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.text-link,
.action-link {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    white-space: nowrap;
}

.text-link {
    padding-bottom: 5px;
    border-bottom: 1px solid currentColor;
    font-size: 14px;
    font-weight: 700;
}

.action-link {
    min-height: 52px;
    padding: 0 24px;
    border: 1px solid var(--ink);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.03em;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.action-link:hover {
    transform: translateY(-2px);
}

.action-link.dark {
    background: var(--ink);
    color: var(--white);
}

.action-link.light {
    border-color: var(--white);
    background: var(--white);
    color: var(--ink);
}

.action-link.ghost-light {
    border-color: rgba(255, 255, 255, 0.62);
    color: var(--white);
}

.secondary-button,
.purchase-button {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 0 22px;
    border: 1px solid var(--ink);
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    font-weight: 750;
    white-space: nowrap;
}

.secondary-button.dark,
.purchase-button {
    background: var(--ink);
    color: var(--white);
}

.purchase-button {
    width: 100%;
    min-height: 58px;
    border: 0;
    font-size: 16px;
}

.purchase-button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.notice {
    margin: 0 0 20px;
    padding: 16px 18px;
    border-left: 4px solid var(--caramel);
    background: var(--white);
}

.notice.ok {
    border-color: var(--green);
}

.notice.error {
    border-color: var(--red);
}

.site-announcement {
    position: relative;
    z-index: 90;
    background: var(--ink);
    color: rgba(255, 255, 255, 0.78);
    font-size: 11px;
    letter-spacing: 0.12em;
}

.announcement-inner {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    border-bottom: 1px solid rgba(23, 18, 15, 0.1);
    background: rgba(244, 239, 231, 0.92);
    backdrop-filter: blur(18px);
}

.header-inner {
    min-height: 82px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 40px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--ink);
    color: var(--gold);
    font-family: var(--serif);
    font-size: 13px;
    font-weight: 800;
}

.brand-copy {
    line-height: 1.1;
}

.brand-copy strong {
    display: block;
    font-family: var(--serif);
    font-size: 20px;
    letter-spacing: 0.08em;
}

.brand-copy small {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.22em;
}

.site-brand.compact .brand-mark {
    width: 42px;
    height: 42px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 34px;
}

.desktop-nav a {
    position: relative;
    padding: 28px 0 25px;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.desktop-nav a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 19px;
    left: 0;
    height: 1px;
    background: var(--ink);
    transform: scaleX(0);
    transition: transform 0.25s ease;
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
    transform: scaleX(1);
}

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

.header-link {
    max-width: 150px;
    line-height: 1.1;
}

.header-link-kicker {
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.header-link strong {
    display: block;
    overflow: hidden;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cart-button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 0 8px 0 16px;
    border: 1px solid var(--ink);
    font-size: 12px;
    font-weight: 800;
}

.cart-button b {
    min-width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--ink);
    color: var(--white);
    font-size: 11px;
}

.mobile-menu-button {
    width: 46px;
    height: 46px;
    display: none;
    position: relative;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.mobile-menu-button span {
    position: absolute;
    left: 10px;
    width: 26px;
    height: 1px;
    background: var(--ink);
}

.mobile-menu-button span:first-child {
    top: 18px;
}

.mobile-menu-button span:last-child {
    top: 27px;
}

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 120;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.mobile-menu.open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(23, 18, 15, 0.62);
}

.mobile-menu-panel {
    width: min(470px, 92vw);
    height: 100%;
    margin-left: auto;
    display: flex;
    flex-direction: column;
    padding: 26px;
    background: var(--paper);
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

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

.mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-menu-close {
    width: 46px;
    height: 46px;
    border: 1px solid var(--ink);
    background: transparent;
    font-size: 28px;
    cursor: pointer;
}

.mobile-nav {
    margin-top: 54px;
    display: flex;
    flex-direction: column;
}

.mobile-nav a {
    display: grid;
    grid-template-columns: 44px 1fr;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--serif);
    font-size: clamp(28px, 8vw, 40px);
    line-height: 1.15;
}

.mobile-nav a span {
    font-family: var(--sans);
    color: var(--caramel);
    font-size: 10px;
}

.mobile-menu-foot {
    margin-top: auto;
    padding-top: 26px;
    border-top: 1px solid var(--line);
}

.mobile-menu-foot p {
    margin: 0 0 6px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.mobile-menu-foot small {
    color: var(--muted);
}

.home-hero {
    min-height: calc(100vh - 116px);
    position: relative;
    display: flex;
    align-items: flex-end;
    color: var(--white);
    background: var(--ink);
}

.home-hero-media,
.home-hero-shade {
    position: absolute;
    inset: 0;
}

.home-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 48%;
    filter: saturate(0.84) contrast(1.04);
}

.home-hero-shade {
    background:
        linear-gradient(90deg, rgba(18, 13, 10, 0.86) 0%, rgba(18, 13, 10, 0.46) 48%, rgba(18, 13, 10, 0.14) 100%),
        linear-gradient(0deg, rgba(18, 13, 10, 0.55) 0%, transparent 48%);
}

.home-hero-content {
    position: relative;
    z-index: 2;
    padding-bottom: 86px;
}

.hero-index {
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.66);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.2em;
}

.home-hero h1 {
    max-width: 1050px;
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(54px, 8vw, 124px);
    font-weight: 500;
    line-height: 0.93;
    letter-spacing: -0.045em;
}

.home-hero h1 em {
    font-weight: 400;
}

.home-hero-content > p {
    max-width: 620px;
    margin: 34px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
}

.hero-cta-row {
    margin-top: 34px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-scroll {
    position: absolute;
    right: 30px;
    bottom: 44px;
    z-index: 2;
    color: rgba(255, 255, 255, 0.58);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.22em;
    writing-mode: vertical-rl;
}

.intro-grid {
    display: grid;
    grid-template-columns: 70px minmax(0, 1.3fr) minmax(300px, 0.7fr);
    gap: 44px;
    align-items: start;
}

.intro-copy {
    padding-top: 56px;
}

.intro-copy p {
    margin: 0 0 28px;
    color: var(--muted);
    font-size: 18px;
}

.section-heading {
    margin-bottom: 52px;
}

.editorial-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
}

.editorial-heading h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(44px, 5vw, 74px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.035em;
}

.home-featured {
    background: var(--cream);
}

.editorial-products {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 50px 24px;
}

.editorial-product {
    grid-column: span 4;
}

.editorial-product.lead {
    grid-column: span 8;
}

.editorial-product-media {
    min-height: 360px;
    position: relative;
    display: block;
    overflow: hidden;
    background: #e6ddd2;
}

.editorial-product.lead .editorial-product-media {
    min-height: 640px;
}

.editorial-product-media img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.editorial-product:hover .editorial-product-media img,
.commerce-card:hover .commerce-card-image img {
    transform: scale(1.025);
}

.product-state {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 7px 10px;
    background: rgba(255, 250, 242, 0.92);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.editorial-product-info {
    margin-top: 18px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.editorial-product-info small,
.commerce-card-body > small {
    color: var(--muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.editorial-product-info h3 {
    margin: 5px 0 4px;
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 600;
    line-height: 1.25;
}

.editorial-product.lead .editorial-product-info h3 {
    font-size: 34px;
}

.editorial-product-info p {
    max-width: 470px;
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.product-price-stack {
    flex: 0 0 auto;
    text-align: right;
}

.product-price-stack strong {
    display: block;
    font-family: var(--serif);
    font-size: 22px;
}

.product-price-stack span {
    color: var(--caramel);
    font-size: 11px;
    font-weight: 700;
}

.home-scene {
    min-height: 780px;
    position: relative;
    display: flex;
    align-items: center;
    background: var(--ink);
}

.home-scene-media {
    position: absolute;
    inset: 0;
}

.home-scene-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.62) saturate(0.76);
}

.home-scene-card {
    width: min(560px, calc(100% - 40px));
    position: relative;
    z-index: 2;
    margin-left: max(32px, calc((100vw - var(--container)) / 2));
    padding: 58px;
    background: rgba(244, 239, 231, 0.94);
    box-shadow: var(--shadow);
}

.home-scene-card h2 {
    margin: 0 0 24px;
    font-family: var(--serif);
    font-size: clamp(42px, 4.3vw, 68px);
    font-weight: 500;
    line-height: 1.03;
}

.home-scene-card > p:not(.section-kicker) {
    margin: 0 0 28px;
    color: var(--muted);
}

.home-member {
    background: var(--paper-2);
}

.member-story-grid {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 80px;
}

.member-benefits {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--line);
}

.member-benefits > div {
    display: grid;
    grid-template-columns: 44px 1fr;
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
}

.member-benefits span {
    color: var(--caramel);
    font-size: 10px;
}

.member-benefits strong {
    font-size: 17px;
}

.member-benefits p {
    grid-column: 2;
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.member-story-action {
    grid-column: 1 / -1;
}

.home-stores {
    background: var(--ink);
    color: var(--white);
}

.home-stores .section-kicker,
.home-stores .text-link {
    color: var(--gold);
}

.store-list-editorial article {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr) minmax(220px, 0.6fr);
    gap: 28px;
    align-items: center;
    padding: 28px 0;
    border-top: 1px solid var(--line-light);
}

.store-list-editorial article:last-child {
    border-bottom: 1px solid var(--line-light);
}

.store-list-editorial article > span {
    color: var(--gold);
    font-size: 10px;
}

.store-list-editorial h3 {
    margin: 0 0 6px;
    font-family: var(--serif);
    font-size: 30px;
    font-weight: 500;
}

.store-list-editorial p,
.store-list-editorial small {
    margin: 0;
    color: rgba(255, 255, 255, 0.58);
}

.store-list-editorial article > div:last-child {
    text-align: right;
}

.store-list-editorial article > div:last-child strong,
.store-list-editorial article > div:last-child small {
    display: block;
}

.shop-hero,
.cart-hero,
.checkout-hero,
.location-hero {
    padding: 100px 0 78px;
    background: var(--paper-2);
}

.shop-hero-grid {
    display: grid;
    grid-template-columns: 1fr 0.5fr;
    gap: 70px;
    align-items: end;
}

.shop-hero h1,
.cart-hero h1,
.checkout-hero h1,
.location-hero h1 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(54px, 7vw, 104px);
    font-weight: 500;
    line-height: 0.98;
    letter-spacing: -0.04em;
}

.shop-hero-copy p {
    max-width: 480px;
    margin: 0;
    color: var(--muted);
    font-size: 17px;
}

.shop-section {
    padding: 0 0 120px;
    background: var(--cream);
}

.shop-toolbar {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    border-bottom: 1px solid var(--line);
}

.shop-toolbar-left {
    display: flex;
    align-items: center;
    gap: 18px;
}

.shop-toolbar-left strong {
    font-size: 12px;
}

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

.filter-button {
    display: none;
    border: 0;
    background: none;
    font-weight: 800;
    cursor: pointer;
}

.shop-search-inline {
    width: min(430px, 100%);
    display: grid;
    grid-template-columns: 1fr auto;
    border-bottom: 1px solid var(--ink);
}

.shop-search-inline input {
    min-width: 0;
    padding: 12px 0;
    border: 0;
    background: transparent;
    outline: none;
}

.shop-search-inline button {
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 12px;
    font-weight: 800;
}

.shop-content-grid {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 44px;
    padding-top: 42px;
}

.filter-panel-head {
    display: none;
}

.shop-filter-panel {
    align-self: start;
    position: sticky;
    top: 120px;
}

.filter-item,
.filter-parent,
.filter-child {
    display: block;
    color: var(--muted);
    transition: color 0.2s ease;
}

.filter-item,
.filter-parent {
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    font-weight: 750;
}

.filter-child {
    padding: 6px 0 6px 16px;
    font-size: 13px;
}

.filter-item.active,
.filter-parent.active,
.filter-child.active,
.filter-item:hover,
.filter-parent:hover,
.filter-child:hover {
    color: var(--ink);
}

.filter-group {
    margin-top: 4px;
}

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

.commerce-card-image {
    aspect-ratio: 0.88;
    position: relative;
    display: block;
    overflow: hidden;
    background: #e9e0d6;
}

.commerce-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.commerce-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.commerce-badges span {
    padding: 6px 8px;
    background: rgba(255, 250, 242, 0.92);
    font-size: 9px;
    font-weight: 800;
}

.commerce-badges span.danger {
    background: var(--red);
    color: var(--white);
}

.commerce-card-body {
    padding-top: 14px;
}

.commerce-card-body h2 {
    margin: 6px 0 7px;
    font-family: var(--serif);
    font-size: 23px;
    font-weight: 600;
    line-height: 1.25;
}

.commerce-card-body p {
    min-height: 44px;
    margin: 0 0 15px;
    color: var(--muted);
    font-size: 12px;
}

.commerce-card-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}

.commerce-card-bottom > div strong,
.commerce-card-bottom > div span {
    display: block;
}

.commerce-card-bottom > div strong {
    font-family: var(--serif);
    font-size: 20px;
}

.commerce-card-bottom > div span {
    color: var(--caramel);
    font-size: 10px;
    font-weight: 800;
}

.commerce-card-bottom > a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--ink);
    font-size: 18px;
}

.commerce-card.is-soldout {
    opacity: 0.68;
}

.empty-state {
    min-height: 380px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
    border-top: 1px solid var(--line);
}

.empty-state.compact {
    min-height: 160px;
}

.product-buy-section {
    padding: 48px 0 88px;
    background: var(--cream);
}

.product-buy-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(440px, 0.72fr);
    gap: 72px;
    align-items: start;
}

.product-main-media {
    min-height: 680px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eee5da;
    overflow: hidden;
}

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

.product-media-caption {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 12px;
    color: var(--muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.product-thumbnail-list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 9px;
    margin-top: 12px;
}

.product-thumbnail {
    aspect-ratio: 1;
    padding: 0;
    overflow: hidden;
    border: 1px solid transparent;
    background: #eee5da;
    cursor: pointer;
    opacity: 0.68;
    transition: border-color 0.2s ease, opacity 0.2s ease;
}

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

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

.product-purchase-panel {
    position: sticky;
    top: 128px;
}

.breadcrumb {
    margin-bottom: 48px;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    color: var(--muted);
    font-size: 11px;
}

.product-purchase-panel h1 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(42px, 4.3vw, 70px);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -0.035em;
}

.product-lead {
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 16px;
}

.product-code {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.buy-price-area {
    margin: 34px 0 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.buy-price-area > div {
    min-width: 180px;
    padding: 16px 18px;
    border: 1px solid var(--line);
}

.buy-price-area small,
.buy-price-area strong {
    display: block;
}

.buy-price-area small {
    color: var(--muted);
    font-size: 10px;
}

.buy-price-area strong {
    margin-top: 2px;
    font-family: var(--serif);
    font-size: 28px;
}

.member-price-box {
    background: var(--ink);
    color: var(--white);
}

.member-price-box small {
    color: var(--gold);
}

.product-status-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-option-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 0 0 18px;
    padding: 14px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    font-size: 12px;
}

.product-option-row span {
    color: var(--muted);
}

.status-chip {
    padding: 7px 10px;
    border: 1px solid var(--line);
    font-size: 10px;
    font-weight: 800;
}

.status-chip.accent {
    border-color: rgba(189, 122, 62, 0.5);
    color: var(--caramel);
}

.status-chip.danger {
    color: var(--red);
}

.purchase-block {
    margin-top: 32px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
}

.purchase-form {
    display: grid;
    gap: 16px;
}

.purchase-action-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.purchase-button.secondary-purchase {
    border: 1px solid var(--ink);
    background: transparent;
    color: var(--ink);
}

.quantity-control {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.quantity-control label {
    font-size: 12px;
    font-weight: 800;
}

.quantity-input-wrap {
    display: grid;
    grid-template-columns: 44px 70px 44px;
    border: 1px solid var(--line);
}

.quantity-input-wrap button,
.quantity-input-wrap input {
    height: 44px;
    border: 0;
    background: transparent;
    text-align: center;
}

.quantity-input-wrap button {
    cursor: pointer;
}

.quantity-input-wrap input {
    width: 100%;
    border-right: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.bean-purchase-note {
    margin-top: 18px;
    padding: 16px 18px;
    border-left: 3px solid var(--caramel);
    background: var(--paper);
}

.bean-purchase-note strong {
    font-size: 12px;
}

.bean-purchase-note p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 12px;
}

.purchase-info-list {
    margin-top: 28px;
    border-top: 1px solid var(--line);
}

.purchase-info-list > div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
}

.purchase-info-list span {
    color: var(--muted);
}

.product-story-section {
    padding: 120px 0;
    background: var(--paper);
}

.product-story-grid {
    display: grid;
    grid-template-columns: 220px minmax(0, 760px);
    gap: 80px;
    justify-content: center;
}

.product-story-nav {
    position: sticky;
    top: 128px;
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-story-nav > span {
    margin-bottom: 14px;
    color: var(--caramel);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.product-story-nav a {
    font-size: 13px;
}

.product-story-content h2 {
    margin: 0 0 26px;
    font-family: var(--serif);
    font-size: 48px;
    font-weight: 500;
}

.rich-copy {
    color: #453a33;
    font-size: 17px;
    line-height: 2;
    white-space: normal;
}

.rich-copy p {
    margin: 0 0 24px;
}

.product-story-blocks {
    display: grid;
    gap: 78px;
}

.product-story-block {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 38px;
    align-items: center;
}

.product-story-block.image-left figure {
    order: 0;
}

.product-story-block.image-left .product-story-copy {
    order: 1;
}

.product-story-block.image-right figure {
    order: 1;
}

.product-story-block.image-right .product-story-copy {
    order: 0;
}

.product-story-block.image-full,
.product-story-block.type-text,
.product-story-block.type-highlights {
    grid-template-columns: 1fr;
}

.product-story-block.image-full figure {
    order: 0;
}

.product-story-block.image-full .product-story-copy {
    order: 1;
}

.product-story-block figure {
    min-width: 0;
    margin: 0;
    background: #e9e0d6;
}

.product-story-block figure img {
    width: 100%;
    height: auto;
    max-height: 720px;
    display: block;
    object-fit: contain;
}

.product-story-copy h3,
.product-feature-grid h3,
.product-editorial-copy h3,
.product-delivery-grid h3 {
    margin: 0 0 14px;
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 600;
    line-height: 1.25;
}

.product-story-copy p,
.product-story-copy li,
.product-feature-grid p,
.product-editorial-copy p,
.product-delivery-grid p {
    color: #51443c;
    font-size: 15px;
    line-height: 1.85;
}

.product-story-copy p,
.product-editorial-copy p {
    margin: 0 0 18px;
}

.product-story-copy ul {
    display: grid;
    gap: 10px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.product-story-copy li {
    position: relative;
    padding-left: 20px;
}

.product-story-copy li::before {
    content: "";
    width: 6px;
    height: 6px;
    position: absolute;
    top: 0.72em;
    left: 0;
    border-radius: 50%;
    background: var(--caramel);
}

.product-flavor-section,
.product-delivery-section {
    margin-top: 100px;
}

.product-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.product-feature-grid article {
    min-height: 250px;
    padding: 28px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.product-feature-grid article > span,
.product-delivery-grid article > span {
    color: var(--caramel);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.product-feature-grid h3 {
    margin-top: 44px;
    font-size: 23px;
}

.product-feature-grid p,
.product-delivery-grid p {
    margin: 0;
}

.product-editorial-copy {
    margin-top: 54px;
    padding: 42px;
    background: #eee5da;
}

.product-editorial-copy.compact {
    margin-top: 14px;
    background: var(--cream);
}

.product-spec-section {
    margin-top: 100px;
}

.spec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--line);
}

.spec-grid > div {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}

.spec-grid > div:nth-child(odd) {
    padding-right: 30px;
}

.spec-grid > div:nth-child(even) {
    padding-left: 30px;
    border-left: 1px solid var(--line);
}

.spec-grid span,
.spec-grid strong {
    display: block;
}

.spec-grid span {
    color: var(--muted);
    font-size: 10px;
}

.spec-grid strong {
    margin-top: 4px;
    font-size: 14px;
}

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

.product-delivery-grid article {
    min-height: 270px;
    padding: 28px;
    border: 1px solid var(--line);
}

.product-delivery-grid h3 {
    margin-top: 50px;
}

.product-related-section {
    padding: 110px 0 130px;
    background: var(--cream);
}

.product-related-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-related-grid .commerce-card-image {
    aspect-ratio: 1;
}

.cart-section,
.checkout-section {
    padding: 60px 0 120px;
    background: var(--cream);
}

.cart-layout-new,
.checkout-layout-new {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 54px;
    align-items: start;
}

.cart-items-new {
    border-top: 1px solid var(--line);
}

.cart-item-new {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr) 100px 120px auto;
    gap: 22px;
    align-items: center;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
}

.cart-item-image {
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--paper);
}

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

.cart-item-main small {
    color: var(--muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.cart-item-main h2 {
    margin: 4px 0 8px;
    font-family: var(--serif);
    font-size: 22px;
    line-height: 1.2;
}

.cart-item-flags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.cart-item-flags span {
    padding: 4px 7px;
    border: 1px solid var(--line);
    font-size: 9px;
}

.cart-item-qty label,
.cart-item-price small {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 9px;
}

.cart-item-qty input {
    width: 76px;
    padding: 8px;
    border: 1px solid var(--line);
    background: var(--white);
}

.cart-item-price {
    text-align: right;
}

.cart-item-price strong {
    display: block;
    font-family: var(--serif);
    font-size: 20px;
}

.cart-item-remove {
    border: 0;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font-size: 11px;
}

.cart-update-row {
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cart-summary-new,
.checkout-summary-sticky {
    position: sticky;
    top: 128px;
    padding: 32px;
    background: var(--paper-2);
}

.cart-summary-new h2,
.checkout-summary-sticky h2 {
    margin: 0 0 24px;
    font-family: var(--serif);
    font-size: 34px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
}

.summary-row.total {
    margin-top: 10px;
    align-items: baseline;
    border-bottom: 0;
}

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

.cart-summary-new > p {
    margin: 18px 0 24px;
    color: var(--muted);
    font-size: 12px;
}

.empty-cart {
    min-height: 480px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    border-top: 1px solid var(--line);
}

.empty-cart > span {
    color: var(--caramel);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.empty-cart h2 {
    margin: 14px 0 28px;
    font-family: var(--serif);
    font-size: clamp(38px, 4vw, 60px);
    font-weight: 500;
}

.checkout-main-column {
    display: grid;
    gap: 24px;
}

.checkout-card-new {
    padding: 34px;
    border: 1px solid var(--line);
    background: var(--white);
}

.checkout-card-title {
    margin-bottom: 28px;
    display: grid;
    grid-template-columns: 42px 1fr;
    align-items: start;
}

.checkout-card-title > span {
    color: var(--caramel);
    font-family: var(--serif);
    font-size: 20px;
}

.checkout-card-title small {
    color: var(--muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.checkout-card-title h2 {
    margin: 2px 0 0;
    font-family: var(--serif);
    font-size: 32px;
    font-weight: 500;
}

.checkout-card-new label,
.member-profile-form label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 16px;
    font-size: 12px;
    font-weight: 700;
}

.checkout-card-new input,
.checkout-card-new select,
.checkout-card-new textarea,
.member-profile-form input {
    width: 100%;
    min-height: 48px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 0;
    background: var(--cream);
}

.checkout-card-new textarea {
    min-height: 110px;
    resize: vertical;
}

.form-grid-new {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.checkout-help {
    margin: -8px 0 24px 42px;
    color: var(--muted);
    font-size: 12px;
}

.bean-checkout-item {
    padding: 22px 0;
    border-top: 1px solid var(--line);
}

.bean-checkout-product {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.bean-checkout-product img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    background: var(--paper);
}

.bean-checkout-product strong,
.bean-checkout-product small {
    display: block;
}

.bean-checkout-product small {
    color: var(--muted);
}

.checkout-mini-items {
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.checkout-mini-items > div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 6px 0;
    font-size: 11px;
}

.checkout-fineprint {
    display: block;
    margin-top: 14px;
    color: var(--muted);
    font-size: 10px;
    text-align: center;
}

.member-hero-new {
    padding: 80px 0;
    background: var(--ink);
    color: var(--white);
}

.member-hero-grid {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 28px;
    align-items: center;
}

.member-avatar-block {
    width: 84px;
    height: 84px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 50%;
}

.member-avatar-block img,
.member-avatar-block span {
    width: 100%;
    height: 100%;
}

.member-avatar-block img {
    object-fit: cover;
}

.member-avatar-block span {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-family: var(--serif);
    font-size: 34px;
}

.member-hero-grid h1 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(42px, 5vw, 72px);
    font-weight: 500;
}

.member-hero-grid > div:nth-child(2) > p:last-child {
    max-width: 650px;
    margin: 10px 0 0;
    color: rgba(255, 255, 255, 0.62);
}

.member-hero-new .secondary-button {
    border-color: rgba(255, 255, 255, 0.45);
    color: var(--white);
}

.member-dashboard-section {
    padding: 68px 0 120px;
    background: var(--cream);
}

.member-dashboard-grid {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 52px;
}

.member-side-nav {
    position: sticky;
    top: 128px;
    align-self: start;
    display: flex;
    flex-direction: column;
}

.member-side-nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 13px;
}

.member-side-nav a.active,
.member-side-nav a:hover {
    color: var(--ink);
}

.member-dashboard-main {
    display: grid;
    gap: 24px;
}

.member-overview-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.member-overview-cards article {
    min-height: 150px;
    padding: 24px;
    background: var(--paper-2);
}

.member-overview-cards small {
    display: block;
    color: var(--muted);
    font-size: 10px;
}

.member-overview-cards strong {
    display: inline-block;
    margin-top: 24px;
    font-family: var(--serif);
    font-size: 46px;
    line-height: 1;
}

.member-overview-cards span {
    margin-left: 6px;
    color: var(--muted);
    font-size: 12px;
}

.member-section-card {
    padding: 32px;
    border: 1px solid var(--line);
    background: var(--white);
}

.member-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.member-section-head h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: 36px;
    font-weight: 500;
}

.member-section-head > span {
    color: var(--muted);
    font-size: 11px;
}

.member-section-description {
    max-width: 700px;
    margin: 14px 0 26px;
    color: var(--muted);
    font-size: 13px;
}

.bean-list-new,
.member-order-list {
    border-top: 1px solid var(--line);
}

.bean-list-new article,
.member-order-list article {
    display: grid;
    align-items: center;
    gap: 20px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}

.bean-list-new article {
    grid-template-columns: 1fr auto;
}

.bean-list-new strong,
.bean-list-new small {
    display: block;
}

.bean-list-new small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 10px;
}

.bean-qty strong {
    display: inline;
    font-family: var(--serif);
    font-size: 34px;
}

.bean-qty span {
    margin-left: 4px;
    color: var(--muted);
    font-size: 11px;
}

.member-order-list article {
    grid-template-columns: 1fr auto 120px;
}

.member-order-list article > div:first-child small,
.member-order-list article > div:first-child strong {
    display: block;
}

.member-order-list article > div:first-child small {
    color: var(--muted);
    font-size: 9px;
}

.member-order-list article > div:nth-child(2) {
    display: flex;
    gap: 6px;
}

.member-order-list article > div:nth-child(2) span {
    padding: 4px 6px;
    border: 1px solid var(--line);
    font-size: 9px;
}

.member-order-list article > strong {
    text-align: right;
}

.about-hero {
    min-height: 78vh;
    position: relative;
    display: flex;
    align-items: flex-end;
    color: var(--white);
    background: var(--ink);
}

.about-hero-media {
    position: absolute;
    inset: 0;
}

.about-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.55) saturate(0.72);
}

.about-hero-copy {
    position: relative;
    z-index: 2;
    padding-bottom: 78px;
}

.about-hero h1 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(58px, 8vw, 116px);
    font-weight: 500;
    line-height: 0.96;
}

.about-story-grid {
    display: grid;
    grid-template-columns: 70px 1fr 0.72fr;
    gap: 44px;
}

.about-story-grid > div:last-child {
    padding-top: 36px;
    color: var(--muted);
    font-size: 17px;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
}

.value-grid article {
    min-height: 320px;
    padding: 30px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.value-grid article:first-child {
    border-left: 1px solid var(--line);
}

.value-grid span {
    color: var(--caramel);
    font-size: 10px;
}

.value-grid h3 {
    margin: 76px 0 18px;
    font-family: var(--serif);
    font-size: 34px;
    font-weight: 500;
}

.value-grid p {
    color: var(--muted);
}

.location-list {
    border-top: 1px solid var(--line);
}

.location-row {
    display: grid;
    grid-template-columns: 62px minmax(230px, 0.8fr) minmax(280px, 1fr) 180px;
    gap: 28px;
    align-items: center;
    padding: 28px 0;
    border-bottom: 1px solid var(--line);
}

.location-index {
    color: var(--caramel);
    font-size: 10px;
}

.location-name h2 {
    margin: 0 0 6px;
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 500;
}

.location-tags {
    display: flex;
    gap: 6px;
}

.location-tags span {
    padding: 3px 6px;
    border: 1px solid var(--line);
    color: var(--muted);
    font-size: 9px;
}

.location-address p,
.location-address small {
    display: block;
    margin: 0;
}

.location-address small {
    margin-top: 3px;
    color: var(--muted);
}

.location-phone {
    text-align: right;
}

.site-footer {
    padding: 80px 0 26px;
    background: #100d0b;
    color: var(--white);
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 0.7fr;
    gap: 80px;
    padding-bottom: 64px;
}

.footer-display {
    font-family: var(--serif);
    font-size: clamp(48px, 6vw, 92px);
    line-height: 0.86;
    letter-spacing: -0.04em;
}

.footer-brand-block p {
    max-width: 500px;
    margin: 28px 0 0;
    color: rgba(255, 255, 255, 0.52);
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.footer-links > div {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links small {
    margin-bottom: 10px;
    color: var(--gold);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.footer-links a,
.footer-links span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.4);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.13em;
}

[hidden] {
    display: none !important;
}

@media (max-width: 1180px) {
    .site-container {
        width: min(var(--container), calc(100% - 44px));
    }

    .desktop-nav {
        gap: 22px;
    }

    .header-link {
        display: none;
    }

    .editorial-product,
    .editorial-product.lead {
        grid-column: span 6;
    }

    .editorial-product.lead .editorial-product-media {
        min-height: 520px;
    }

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

    .product-buy-grid {
        grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
        gap: 42px;
    }

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

    .cart-layout-new,
    .checkout-layout-new {
        grid-template-columns: minmax(0, 1fr) 330px;
        gap: 34px;
    }

    .cart-item-new {
        grid-template-columns: 110px minmax(0, 1fr) 90px 105px auto;
        gap: 14px;
    }
}

@media (max-width: 900px) {
    .site-container {
        width: min(var(--container), calc(100% - 36px));
    }

    .section-space {
        padding: 88px 0;
    }

    .announcement-contact,
    .desktop-nav,
    .header-link {
        display: none;
    }

    .header-inner {
        min-height: 72px;
        grid-template-columns: 1fr auto;
        gap: 20px;
    }

    .header-actions {
        gap: 8px;
    }

    .cart-button span {
        display: none;
    }

    .cart-button {
        min-width: 44px;
        justify-content: center;
        padding: 0 7px;
    }

    .mobile-menu-button {
        display: block;
    }

    .home-hero {
        min-height: calc(100svh - 106px);
    }

    .home-hero-shade {
        background: linear-gradient(0deg, rgba(18, 13, 10, 0.86) 0%, rgba(18, 13, 10, 0.26) 72%);
    }

    .home-hero-content {
        padding-bottom: 64px;
    }

    .home-hero h1 {
        font-size: clamp(54px, 11vw, 88px);
    }

    .home-hero-content > p {
        max-width: 560px;
        font-size: 16px;
    }

    .hero-scroll {
        display: none;
    }

    .intro-grid,
    .about-story-grid {
        grid-template-columns: 48px 1fr;
    }

    .intro-copy,
    .about-story-grid > div:last-child {
        grid-column: 2;
        padding-top: 0;
    }

    .home-scene {
        min-height: 680px;
        align-items: flex-end;
    }

    .home-scene-card {
        width: calc(100% - 36px);
        margin: 0 auto 18px;
        padding: 38px;
    }

    .member-story-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .member-story-action {
        grid-column: auto;
    }

    .store-list-editorial article {
        grid-template-columns: 48px 1fr;
    }

    .store-list-editorial article > div:last-child {
        grid-column: 2;
        text-align: left;
    }

    .shop-hero-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .shop-toolbar {
        flex-direction: column;
        align-items: stretch;
        padding: 18px 0;
    }

    .shop-toolbar-left {
        justify-content: space-between;
    }

    .filter-button {
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }

    .shop-search-inline {
        width: 100%;
    }

    .shop-content-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .shop-filter-panel {
        width: min(430px, 92vw);
        height: 100svh;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 140;
        padding: 24px;
        overflow: auto;
        background: var(--paper);
        box-shadow: var(--shadow);
        transform: translateX(-102%);
        transition: transform 0.3s ease;
    }

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

    .filter-panel-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 22px;
    }

    .filter-panel-head button {
        width: 42px;
        height: 42px;
        border: 1px solid var(--ink);
        background: transparent;
        font-size: 24px;
    }

    .product-buy-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .product-main-media,
    .product-main-media img {
        min-height: 540px;
    }

    .product-purchase-panel {
        position: static;
    }

    .breadcrumb {
        margin-bottom: 28px;
    }

    .product-story-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .product-story-nav {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .product-story-nav > span {
        width: 100%;
    }

    .product-story-blocks {
        gap: 56px;
    }

    .product-feature-grid,
    .product-delivery-grid {
        grid-template-columns: 1fr;
    }

    .product-feature-grid article,
    .product-delivery-grid article {
        min-height: 0;
    }

    .product-feature-grid h3,
    .product-delivery-grid h3 {
        margin-top: 24px;
    }

    .cart-layout-new,
    .checkout-layout-new {
        grid-template-columns: 1fr;
    }

    .cart-summary-new,
    .checkout-summary-sticky {
        position: static;
    }

    .cart-item-new {
        grid-template-columns: 100px 1fr auto;
        gap: 14px;
    }

    .cart-item-qty {
        grid-column: 2;
    }

    .cart-item-price {
        grid-column: 3;
        grid-row: 1 / span 2;
    }

    .cart-item-remove {
        grid-column: 3;
        grid-row: 3;
    }

    .member-hero-grid {
        grid-template-columns: auto 1fr;
    }

    .member-hero-new .secondary-button {
        grid-column: 2;
        justify-self: start;
    }

    .member-dashboard-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .member-side-nav {
        position: static;
        flex-direction: row;
        overflow-x: auto;
        border-bottom: 1px solid var(--line);
    }

    .member-side-nav a {
        flex: 0 0 auto;
        padding: 10px 14px;
        border-bottom: 0;
    }

    .value-grid {
        grid-template-columns: 1fr;
    }

    .value-grid article,
    .value-grid article:first-child {
        min-height: 0;
        border-right: 1px solid var(--line);
        border-left: 1px solid var(--line);
    }

    .value-grid h3 {
        margin-top: 36px;
    }

    .location-row {
        grid-template-columns: 48px 1fr;
    }

    .location-address,
    .location-phone {
        grid-column: 2;
    }

    .location-phone {
        text-align: left;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 54px;
    }
}

@media (max-width: 620px) {
    body {
        font-size: 15px;
    }

    .site-container {
        width: calc(100% - 28px);
    }

    .section-space {
        padding: 72px 0;
    }

    .site-announcement {
        display: none;
    }

    .site-header {
        top: 0;
    }

    .header-inner {
        min-height: 68px;
    }

    .brand-mark {
        width: 42px;
        height: 42px;
    }

    .brand-copy strong {
        font-size: 17px;
    }

    .brand-copy small {
        font-size: 7px;
    }

    .home-hero {
        min-height: calc(100svh - 68px);
    }

    .home-hero-content {
        padding-bottom: 44px;
    }

    .hero-index {
        margin-bottom: 14px;
    }

    .home-hero h1 {
        font-size: clamp(48px, 15vw, 72px);
    }

    .home-hero-content > p {
        margin-top: 22px;
        font-size: 15px;
    }

    .hero-cta-row {
        margin-top: 24px;
    }

    .action-link {
        width: 100%;
        justify-content: space-between;
    }

    .display-title {
        font-size: clamp(38px, 11vw, 54px);
    }

    .intro-grid,
    .about-story-grid {
        grid-template-columns: 34px 1fr;
        gap: 16px;
    }

    .editorial-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }

    .editorial-heading h2 {
        font-size: 46px;
    }

    .editorial-products {
        display: block;
    }

    .editorial-product,
    .editorial-product.lead {
        margin-bottom: 42px;
    }

    .editorial-product-media,
    .editorial-product.lead .editorial-product-media {
        min-height: 440px;
    }

    .editorial-product-info {
        flex-direction: column;
    }

    .editorial-product.lead .editorial-product-info h3,
    .editorial-product-info h3 {
        font-size: 26px;
    }

    .product-price-stack {
        text-align: left;
    }

    .home-scene {
        min-height: 620px;
    }

    .home-scene-card {
        width: calc(100% - 28px);
        padding: 28px;
    }

    .home-scene-card h2 {
        font-size: 44px;
    }

    .member-story-grid {
        gap: 32px;
    }

    .shop-hero,
    .cart-hero,
    .checkout-hero,
    .location-hero {
        padding: 72px 0 52px;
    }

    .shop-hero h1,
    .cart-hero h1,
    .checkout-hero h1,
    .location-hero h1 {
        font-size: 56px;
    }

    .commerce-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px 12px;
    }

    .commerce-card-body h2 {
        font-size: 18px;
    }

    .commerce-card-body p {
        display: none;
    }

    .commerce-card-bottom {
        align-items: center;
    }

    .commerce-card-bottom > a {
        width: 34px;
        height: 34px;
    }

    .product-buy-section {
        padding-top: 14px;
    }

    .product-main-media,
    .product-main-media img {
        min-height: 430px;
    }

    .product-thumbnail-list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .product-purchase-panel h1 {
        font-size: 44px;
    }

    .buy-price-area > div {
        flex: 1 1 140px;
        min-width: 0;
    }

    .purchase-action-grid {
        grid-template-columns: 1fr;
    }

    .product-story-section {
        padding: 82px 0;
    }

    .product-story-content h2 {
        font-size: 40px;
    }

    .product-story-block {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .product-story-block.image-left figure,
    .product-story-block.image-right figure,
    .product-story-block.image-full figure {
        order: 0;
    }

    .product-story-block.image-left .product-story-copy,
    .product-story-block.image-right .product-story-copy,
    .product-story-block.image-full .product-story-copy {
        order: 1;
    }

    .product-story-copy h3,
    .product-feature-grid h3,
    .product-editorial-copy h3,
    .product-delivery-grid h3 {
        font-size: 24px;
    }

    .product-editorial-copy {
        padding: 26px;
    }

    .product-related-section {
        padding: 80px 0 92px;
    }

    .spec-grid {
        grid-template-columns: 1fr;
    }

    .spec-grid > div:nth-child(odd),
    .spec-grid > div:nth-child(even) {
        padding-right: 0;
        padding-left: 0;
        border-left: 0;
    }

    .cart-section,
    .checkout-section {
        padding: 36px 0 82px;
    }

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

    .cart-item-price,
    .cart-item-qty,
    .cart-item-remove {
        grid-column: 2;
        grid-row: auto;
        text-align: left;
    }

    .cart-item-remove {
        justify-self: start;
        padding: 0;
    }

    .cart-update-row {
        align-items: stretch;
        flex-direction: column;
    }

    .cart-summary-new,
    .checkout-summary-sticky,
    .checkout-card-new,
    .member-section-card {
        padding: 24px;
    }

    .form-grid-new,
    .bean-fields {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .checkout-help {
        margin-left: 0;
    }

    .member-hero-new {
        padding: 54px 0;
    }

    .member-hero-grid {
        grid-template-columns: 1fr;
    }

    .member-avatar-block {
        width: 70px;
        height: 70px;
    }

    .member-hero-grid h1 {
        font-size: 46px;
    }

    .member-hero-new .secondary-button {
        grid-column: auto;
    }

    .member-dashboard-section {
        padding: 38px 0 82px;
    }

    .member-overview-cards {
        grid-template-columns: 1fr 1fr;
    }

    .member-overview-cards article:first-child {
        grid-column: 1 / -1;
    }

    .member-order-list article {
        grid-template-columns: 1fr auto;
    }

    .member-order-list article > div:nth-child(2) {
        grid-column: 1;
    }

    .member-order-list article > strong {
        grid-column: 2;
        grid-row: 1 / span 2;
    }

    .about-hero {
        min-height: 70svh;
    }

    .about-hero h1 {
        font-size: 58px;
    }

    .location-row {
        grid-template-columns: 36px 1fr;
        gap: 14px;
    }

    .footer-display {
        font-size: 56px;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

@media (max-width: 390px) {
    .commerce-grid {
        grid-template-columns: 1fr;
    }

    .commerce-card-image {
        aspect-ratio: 1;
    }

    .member-overview-cards {
        grid-template-columns: 1fr;
    }

    .member-overview-cards article:first-child {
        grid-column: auto;
    }
}

/* v1.3.0 - Member QR */
.member-qr-card {
    display: grid;
    grid-template-columns: minmax(220px, 300px) 1fr;
    gap: 34px;
    align-items: center;
    padding: 30px;
    border-radius: 2px;
    background: #17130f;
    color: #fffaf2;
}

.member-qr-box {
    display: grid;
    place-items: center;
    min-height: 270px;
    padding: 18px;
    background: #ffffff;
}

.member-qr-box canvas,
.member-qr-box img {
    max-width: 100%;
    height: auto !important;
}

.member-qr-copy h3 {
    margin: 8px 0 12px;
    font-size: 30px;
}

.member-qr-copy p {
    margin: 0 0 10px;
    color: rgba(255, 250, 242, .72);
    line-height: 1.8;
}

.member-qr-expire {
    display: inline-flex;
    margin-top: 12px;
    padding: 7px 10px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    font-size: 12px;
    letter-spacing: .08em;
}

@media (max-width: 760px) {
    .member-qr-card {
        grid-template-columns: 1fr;
        padding: 22px;
    }

    .member-qr-box {
        width: min(100%, 320px);
        margin: 0 auto;
    }
}
