/* Structural alternatives, loaded only for previews 2, 4 and 6. */
.layout-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.layout-actions .nav-btn { margin: 0; white-space: nowrap; }
.layout-shop { background: var(--brand); color: #fff; border-color: var(--brand); }
.layout-shop:hover { background: var(--brand-2); color: #fff; border-color: var(--brand-2); }
.layout-store { color: var(--text); border-color: var(--line); background: transparent; }
.layout-store:hover { color: var(--text); background: var(--surface-2); }
:is(.poster-brand, .shop-masthead h1) img { display: block; width: 100%; height: auto; }
body:is([data-design='2'], [data-design='4']) .product-card .product-details { display: none; }
body:is([data-design='2'], [data-design='4']) .product-card:hover > img { box-shadow: none; }

/* 02: a screen-printed brand poster followed by an open coffee menu. */
body[data-design='2'] { --bg: #fcfcfa; --surface: #fcfcfa; --section-alt: #f0f3f2; }
[data-design='2'] .site-nav { border-bottom: 1px solid #aecbbb; }
.poster-masthead { background: var(--poster-bg); color: var(--text); padding-block: 26px 36px; }
.poster-edition { display: flex; justify-content: space-between; gap: 16px; text-transform: uppercase; font: 600 12px/1.4 'Manrope', sans-serif; }
.poster-brand { width: 370px; max-width: 68%; margin: 16px auto 24px; }
.poster-brand img { filter: none; }
.poster-bottom { display: flex; justify-content: space-between; align-items: end; gap: 28px; }
.poster-bottom p { font-size: 22px; font-weight: 600; line-height: 1.4; margin: 0; }
.poster-bottom .layout-shop { color: #fff; background: #283c35; border-color: #283c35; }
.poster-bottom .layout-shop:hover { background: #1d2e27; border-color: #1d2e27; }
.poster-bottom .layout-store { color: var(--text); border-color: #77998a; }
.poster-bottom .layout-store:hover { background: #bad8c9; }
body[data-design='2'] .products-shell { padding-block: 56px 72px; }
body[data-design='2'] .products-shell .section-header { margin-bottom: 0; padding-bottom: 24px; border-bottom: 2px solid #181818; }
body[data-design='2'] .products-shell .section-title { font-size: 54px; }
body[data-design='2'] .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 50px; }
body[data-design='2'] .product-grid > div { border-bottom: 1px solid #bec2b9; }
body[data-design='2'] .product-card { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 28px; align-items: center; padding-block: 30px; }
body[data-design='2'] .product-card > img { aspect-ratio: 1.2; padding: 0; border-radius: 0; }
body[data-design='2'] .product-card .card-body { display: flex; padding: 0; }
body[data-design='2'] .product-meta { flex-wrap: wrap; justify-content: start; margin-bottom: 10px; gap: 12px; }
body[data-design='2'] .product-index { font: 12px/1.4 monospace; text-transform: uppercase; }
body[data-design='2'] .product-card .card-title { font: 400 31px/1.12 Impact, 'Arial Narrow', sans-serif; }
body[data-design='2'] .product-footer { padding-top: 12px; }
body[data-design='2'] .product-buy-link { display: none; }
body[data-design='2'] .product-details-button { color: var(--brand); font-weight: 700; }
body[data-design='2'] .story-main { grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
body[data-design='2'] .story-main-image-wrap { aspect-ratio: 1.25; }
body[data-design='2'] .story-main-header h3 { font-size: 56px; line-height: 1.05; }
body[data-design='2'] .story-side { padding-top: 0; border: 0; gap: 32px; }
body[data-design='2'] .story-card { display: block; border-top: 2px solid #181818; padding-top: 20px; }
body[data-design='2'] .story-card-image-wrap { display: none; }
body[data-design='2'] .story-card-top { display: block; font: 14px/1.5 monospace; color: var(--brand); margin-bottom: 12px; }
body[data-design='2'] .story-card h5 { font: 400 26px/1.2 Impact, 'Arial Narrow', sans-serif; text-transform: uppercase; }
body[data-design='2'] .story-card p { font-size: 14px; }
body[data-design='2'] .locations-shell .section-title { font-size: 48px; }

/* 04: compact shop masthead, an immediate product shelf, quiet supporting story. */
body[data-design='4'] { --brand: #245e70; --brand-2: #1b4856; --container-max: 1240px; }
[data-design='4'] .site-nav { min-height: 64px; }
[data-design='4'] .site-nav .navbar-brand { height: 64px; }
.shop-masthead { padding-block: 36px; }
.shop-masthead > .container-xl-custom { display: flex; align-items: center; gap: 48px; }
.shop-masthead h1 { width: 145px; flex: 0 0 auto; margin: 0; }
.shop-masthead p { font-size: 21px; line-height: 1.5; font-weight: 500; margin: 0; }
.shop-masthead .layout-actions { margin-left: auto; }
body[data-design='4'] .products-shell { padding-block: 24px 56px; border: 0; }
body[data-design='4'] .products-shell > .container-xl-custom { display: block; }
body[data-design='4'] .products-shell .section-header { border-top: 1px solid var(--line); padding-top: 26px; margin-bottom: 30px; }
body[data-design='4'] .products-shell .section-title { font-size: 30px; }
body[data-design='4'] .products-shell .section-kicker { display: none; }
body[data-design='4'] .product-grid { gap: 24px; }
body[data-design='4'] .product-card > img { aspect-ratio: 1.14; padding: 18px; background: #f0f3f2; border-radius: 0; }
body[data-design='4'] .product-card .card-body { display: flex; padding-top: 18px; }
body[data-design='4'] .product-card .card-title { font-size: 21px; font-weight: 600; }
body[data-design='4'] .product-footer { padding-top: 8px; }
body[data-design='4'] .product-meta { margin-bottom: 6px; }
body[data-design='4'] .product-buy-link { display: none; }
body[data-design='4'] .product-details-button { color: var(--brand); }
body[data-design='4'] #about { padding-block: 60px; }
body[data-design='4'] .story-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; }
body[data-design='4'] .story-main { display: flex; flex-direction: column; gap: 24px; }
body[data-design='4'] .story-main-image-wrap { width: 100%; aspect-ratio: 2.6; }
body[data-design='4'] .story-main-header h3 { font-size: 30px; }
body[data-design='4'] .story-side { grid-template-columns: 1fr; gap: 24px; border: 0; padding: 0; }
body[data-design='4'] .story-card { display: grid; grid-template-columns: 64px minmax(0, 1fr); border-bottom: 1px solid var(--line); padding-bottom: 20px; }
body[data-design='4'] .story-card-image-wrap { width: 64px; height: 72px; margin: 0; }
body[data-design='4'] .story-card p { font-size: 13px; }
body[data-design='4'] .locations-shell { padding-top: 50px; }

/* 06: a newspaper masthead and photographic spread with the classic roast shelf. */
body[data-design='6'] { --bg: #fff; --section-alt: #fff; --line: #c6cbc9; --text: #252e2b; --muted: #57615c; --brand: #9c3d37; --brand-2: #7d2b26; --surface-2: #edf2ee; }
[data-design='6'] .site-nav { background: #fff; }
.journal-masthead { padding-top: 30px; text-align: center; }
.journal-edition { margin: 0 0 12px; font-size: 11px; text-transform: uppercase; font-weight: 600; }
.journal-masthead h1 { margin: 0; font: 400 104px/.98 Georgia, 'Times New Roman', serif; }
.journal-masthead h1 span { display: block; font-size: 25px; margin-top: 12px; font-style: italic; }
.journal-masthead .layout-actions { display: flex; justify-content: center; margin: 20px 0 26px; gap: 24px; }
.journal-masthead .layout-actions .nav-btn { min-width: 140px; }
.journal-masthead .layout-shop { background: transparent; color: var(--brand); border: 0; border-bottom: 1px solid var(--brand); border-radius: 0; padding: 8px 0; }
.journal-masthead .layout-shop:hover { color: var(--brand-2); background: #f7f3f2; }
.journal-masthead .layout-store { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 8px 0; }
.journal-cover { width: 100%; margin: 0; height: 270px; overflow: hidden; }
.journal-cover img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 49%; }
body[data-design='6'] .journal-story { padding-block: 46px 56px; }
.journal-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
.journal-intro h2 { font: 400 43px/1.12 Georgia, serif; max-width: 470px; margin: 0; }
.journal-intro p { font-size: 15px; line-height: 1.85; color: var(--muted); margin: 0 0 10px; }
.journal-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; margin-top: 32px; }
.journal-values details { border-top: 1px solid var(--line); }
.journal-values summary { display: flex; gap: 14px; align-items: center; list-style: none; min-height: 56px; font-size: 14px; font-weight: 600; cursor: pointer; }
.journal-values summary::-webkit-details-marker { display: none; }
.journal-values summary span { font: 12px/1.4 monospace; color: var(--brand); }
.journal-values summary::after { content: '+'; font-size: 20px; font-weight: 400; margin-left: auto; }
.journal-values details[open] summary::after { content: '\2212'; }
.journal-values p { color: var(--muted); font-size: 14px; line-height: 1.8; }
body[data-design='6'] .products-shell { padding-block: 86px; }
body[data-design='6'] .products-shell .section-header { text-align: center; justify-content: center; }
body[data-design='6'] .products-shell .section-title { font-size: 43px; }
body[data-design='6'] .product-grid { gap: 36px; }
body[data-design='6'] .product-card .card-title { font: 400 25px/1.25 Georgia, serif; }
body[data-design='6'] #productModal { --text: #252e2b; --muted: #57615c; --line: #c6cbc9; --surface-2: #edf2ee; color: var(--text); }
body[data-design='6'] #productModal .modal-title { font: 400 27px/1.25 Georgia, 'Times New Roman', serif; }
body[data-design='6'] #productModal .accordion-button { font: 400 21px/1.3 Georgia, 'Times New Roman', serif; }
body[data-design='6'] #productModal :is(.pill, .note-chip) { color: var(--text); }
body[data-design='6'] .locations-shell { background: #edf2ee; }
body[data-design='6'] .location-card { background: #fff; border: 1px solid var(--line); border-radius: 0; }

@media (min-width: 768px) and (max-width: 1100px) {
  body[data-design='2'] .product-card { grid-template-columns: 110px minmax(0, 1fr); gap: 20px; }
  body[data-design='2'] .product-card .card-title { font-size: 26px; }
  body[data-design='2'] .product-grid { gap: 0 30px; }
  .shop-masthead > .container-xl-custom { gap: 28px; }
  .shop-masthead p { font-size: 17px; }
  .shop-masthead h1 { width: 120px; }
  body[data-design='4'] .story-grid { gap: 32px; }
  .journal-intro { gap: 45px; }
}

@media (max-width: 767.98px) {
  .layout-actions .nav-btn { font-size: 12px; min-height: 46px; padding-inline: 16px; }
  .poster-masthead { padding-block: 18px 26px; }
  .poster-edition { font-size: 9px; gap: 8px; }
  .poster-brand { width: 234px; max-width: 77%; margin-block: 22px; }
  .poster-bottom { flex-direction: column; align-items: stretch; gap: 20px; }
  .poster-bottom p { font-size: 20px; line-height: 1.35; }
  body[data-design='2'] .products-shell { padding-block: 32px 40px; border: 0; }
  body[data-design='2'] .products-shell .section-header { padding-bottom: 18px; }
  body[data-design='2'] .products-shell .section-title { font-size: 37px; }
  body[data-design='2'] .product-grid { grid-template-columns: 1fr; gap: 0; }
  body[data-design='2'] .product-card { grid-template-columns: 105px minmax(0, 1fr); gap: 22px; padding-block: 22px; }
  body[data-design='2'] .product-card .card-title { font-size: 28px; }
  body[data-design='2'] .product-meta { gap: 8px; margin-bottom: 6px; }
  body[data-design='2'] .product-index { font-size: 9px; }
  body[data-design='2'] .mini-chip { font-size: 11px; }
  body[data-design='2'] .product-footer { padding-top: 4px; }
  body[data-design='2'] .product-link { font-size: 12px; min-height: 30px; }
  body[data-design='2'] .story-main { display: flex; flex-direction: column-reverse; gap: 22px; }
  body[data-design='2'] .story-main-header h3 { font-size: 42px; }
  body[data-design='2'] .story-main-image-wrap { aspect-ratio: 1.8; }
  body[data-design='2'] .story-side { gap: 26px; }
  body[data-design='2'] .story-card { display: grid; grid-template-columns: 34px 1fr; gap: 0 12px; }
  body[data-design='2'] .story-card-top { grid-row: span 2; margin: 0; padding-top: 4px; }
  body[data-design='2'] .story-card h5 { font-size: 24px; }
  body[data-design='2'] .locations-shell .section-title { font-size: 28px; }
  body[data-design='2'] .locations-shell .section-action { font-size: 10px; padding-inline: 8px; }
  body[data-design='2'] .locations-shell .section-action .ui-icon { display: none; }

  .shop-masthead { padding-block: 20px 0; }
  .shop-masthead > .container-xl-custom { flex-direction: column; gap: 14px; text-align: center; }
  .shop-masthead h1 { width: 112px; }
  .shop-masthead p { font-size: 14px; }
  .shop-masthead p br { display: none; }
  .shop-masthead .layout-actions { margin: 0; width: 100%; max-width: 360px; }
  body[data-design='4'] .products-shell { padding-block: 28px 38px; }
  body[data-design='4'] .products-shell .section-header { padding-top: 22px; margin-bottom: 22px; }
  body[data-design='4'] .products-shell .section-title { font-size: 25px; }
  body[data-design='4'] .product-grid { gap: 24px 14px; }
  body[data-design='4'] .product-card { gap: 0; }
  body[data-design='4'] .product-card > img { aspect-ratio: 1.22; padding: 10px; }
  body[data-design='4'] .product-card .card-body { padding-top: 12px; }
  body[data-design='4'] .product-card .card-title { font-size: 15px; }
  body[data-design='4'] .mini-chip { font-size: 10px; }
  body[data-design='4'] .product-footer { display: none; }
  body[data-design='4'] #about { padding-block: 38px; }
  body[data-design='4'] .story-grid { grid-template-columns: 1fr; gap: 28px; }
  body[data-design='4'] .story-main { gap: 20px; }
  body[data-design='4'] .story-main-header h3 { font-size: 26px; }
  body[data-design='4'] .story-main-image-wrap { aspect-ratio: 2.3; }
  body[data-design='4'] .locations-shell { padding-top: 38px; }

  .journal-masthead { padding-top: 24px; }
  .journal-edition { font-size: 9px; margin-bottom: 14px; }
  .journal-masthead h1 { font-size: 56px; line-height: 1.02; }
  .journal-masthead h1 span { font-size: 20px; margin-top: 8px; }
  .journal-masthead .layout-actions { gap: 20px; margin-block: 16px 22px; }
  .journal-masthead .layout-actions .nav-btn { min-width: 128px; }
  .journal-cover { height: 190px; }
  .journal-cover img { object-position: center 46%; }
  body[data-design='6'] .journal-story { padding-block: 30px 36px; }
  .journal-intro { grid-template-columns: 1fr; gap: 16px; }
  .journal-intro h2 { font-size: 34px; max-width: 330px; }
  .journal-intro p { font-size: 14px; line-height: 1.8; }
  .journal-values { grid-template-columns: 1fr; gap: 0; margin-top: 20px; }
  .journal-values summary { min-height: 52px; font-size: 13px; }
  .journal-values p { font-size: 13px; }
  body[data-design='6'] .products-shell { padding-block: 38px; }
  body[data-design='6'] .products-shell .section-header { text-align: left; justify-content: space-between; }
  body[data-design='6'] .products-shell .section-title { font-size: 32px; }
  body[data-design='6'] .product-grid { gap: 14px; }
  body[data-design='6'] #productModal .modal-title { font-size: 24px; }
  body[data-design='6'] #productModal .accordion-button { font-size: 20px; }
}

@media (max-width: 359.98px) {
  .poster-brand { width: 205px; }
  body[data-design='2'] .products-shell .section-title { font-size: 31px; }
  body[data-design='2'] .product-card { grid-template-columns: 86px minmax(0, 1fr); gap: 16px; }
  body[data-design='2'] .product-card .card-title { font-size: 25px; }
  body[data-design='2'] .locations-shell .section-title { font-size: 25px; }
  .journal-masthead h1 { font-size: 47px; }
  .journal-masthead .layout-actions { gap: 12px; }
  .journal-masthead .layout-actions .nav-btn { min-width: 122px; }
  .journal-intro h2 { font-size: 31px; }
}

@media (prefers-reduced-motion: no-preference) {
  .poster-brand, .shop-masthead h1, .journal-masthead h1 { animation: heroIn .5s ease-out both; }
  .journal-cover img { transition: object-position .7s ease; }
  .journal-cover:hover img { object-position: center 51%; }
}

@media (min-width: 768px) {
  .journal-cover img,
  .journal-cover:hover img { object-position: center calc(32% + var(--journal-cover-shift, 0px)); transition: none; }
}
