/*
Theme Name: Buddha Stone Shop
Theme URI: https://buddhastoneshop.com/
Author: SS
Author URI: https://buddhastoneshop.com/
Description: A handcrafted static theme for Buddha Stone Shop — mindful jewelry, mala beads and decor. Header, footer and homepage layouts.
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.5
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ss
*/

  * { box-sizing: border-box; margin: 0; padding: 0; }
  html, body { width: 100%; }
  body {
    font-family: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    color: #222;
    background: #fff;
    -webkit-font-smoothing: antialiased;
  }
  a { text-decoration: none; color: inherit; }
  ul { list-style: none; }
  img { display: block; max-width: 100%; }

  /* ============ Slim, theme-colored scrollbar ============ */
  html {
    scrollbar-width: thin;                 /* Firefox */
    scrollbar-color: #c9a063 transparent;  /* thumb / track */
  }
  ::-webkit-scrollbar { width: 8px; height: 8px; }
  ::-webkit-scrollbar-track { background: transparent; }
  ::-webkit-scrollbar-thumb {
    background: #c9a063;
    border-radius: 8px;
    border: 2px solid transparent;
    background-clip: content-box;
  }
  ::-webkit-scrollbar-thumb:hover { background: #b08c4f; background-clip: content-box; }

  :root {
    --ann-h: 36px;       /* announcement bar height */
  }

  /* ============ Top announcement bar (in normal flow) ============ */
  .announcement-bar {
    background: #000;
    color: #fff;
    height: var(--ann-h);
    overflow: hidden;
    position: relative;
    z-index: 5;
  }
  .announcement-track {
    display: flex;
    height: 100%;
    transition: transform .6s ease;
  }
  .announcement-slide {
    flex: 0 0 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    font-size: 13px;
    letter-spacing: .3px;
    white-space: nowrap;
    padding: 0 16px;
  }
  .announcement-slide .link-text { opacity: .85; }

  /* ============ Hero block (header is absolutely positioned over banner) ============ */
  .hero-block {
    position: relative;
  }
  /* gradient overlay from top: improves readability of transparent header */
  .hero-block::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 280px;
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, .55) 0%,
      rgba(0, 0, 0, .25) 45%,
      rgba(0, 0, 0, 0) 100%
    );
    z-index: 5;
    pointer-events: none;
    transition: opacity .35s ease;
  }
  /* once header gets its own white bg on scroll, hide the top gradient */
  .hero-block.is-scrolled-out::before {
    opacity: 0;
  }

  /* ============ Header ============ */
  .header-wrapper {
    position: absolute;        /* default state: floating over banner top */
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: transparent;
    color: #fff;
    transition: background .35s ease, color .35s ease,
                box-shadow .35s ease, backdrop-filter .35s ease;
  }
  /* after scrolling past announcement bar, switch to fixed sticky */
  .header-wrapper.is-fixed {
    position: fixed;
    top: 0;
  }
  /* glass effect after scroll */
  .header-wrapper.is-scrolled {
    background: rgba(255, 255, 255, .75);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    backdrop-filter: blur(14px) saturate(160%);
    color: #1a1a1a;
    box-shadow: 0 2px 14px rgba(0, 0, 0, .06);
  }

  .page-width {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 24px;
  }

  /* ============ Header main row ============ */
  .site-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: 78px;
  }
  .header-left,
  .header-right {
    display: flex;
    align-items: center;
    gap: 22px;
  }
  .header-right { justify-content: flex-end; }

  .icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: currentColor;
    position: relative;
    transition: opacity .2s;
  }
  .icon-link:hover { opacity: .65; }
  .icon-link svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
  }

  /* search trigger: magnifier + "Search" label */
  .icon-link__label { display: none; }
  .icon-link--search {
    width: auto;
    gap: 7px;
    padding: 0 4px;
  }
  .icon-link--search .icon-link__label {
    display: inline-block;
    font-size: 13px;
    letter-spacing: .4px;
    line-height: 1;
  }

  .cart-bubble {
    position: absolute;
    top: 2px;
    right: 0;
    background: #c0392b;
    color: #fff;
    border-radius: 999px;
    min-width: 16px;
    height: 16px;
    font-size: 11px;
    line-height: 16px;
    text-align: center;
    padding: 0 4px;
  }

  /* logo */
  .site-logo {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .site-logo img {
    height: 56px;
    width: auto;
    object-fit: contain;
    /* default transparent state: invert logo to white */
    filter: brightness(0) invert(1);
    transition: filter .35s ease;
  }
  .header-wrapper.is-scrolled .site-logo img {
    filter: none;
  }

  /* ============ Primary navigation ============ */
  .site-nav {
    display: flex;
    justify-content: center;
    gap: 28px;
    padding: 14px 0;
    border-top: 1px solid rgba(255, 255, 255, .15);
    transition: border-color .35s ease;
  }
  .header-wrapper.is-scrolled .site-nav {
    border-top-color: rgba(0, 0, 0, .08);
  }
  .site-nav .nav-item { position: relative; }
  .site-nav .nav-link {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .6px;
    text-transform: uppercase;
    padding: 10px 2px;
    display: inline-block;
    position: relative;
    color: currentColor;
  }
  .site-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 4px;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .25s ease;
  }
  .site-nav .nav-link:hover::after { transform: scaleX(1); }

  /* ============ Hero banner 100vh ============ */
  .hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
  }
  .hero-track {
    width: 100%;
    height: 100%;
    position: relative;
  }
  .hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
  }
  .hero-slide.is-active { opacity: 1; }
  .hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* ---- auto height mode: fit to the natural image height (no crop) ---- */
  .hero--auto {
    height: auto;
  }
  .hero--auto .hero-track {
    height: auto;
  }
  /* the active slide sits in normal flow so it defines the hero height,
     the rest overlap on top for the cross-fade */
  .hero--auto .hero-slide {
    position: absolute;
    inset: 0;
  }
  .hero--auto .hero-slide.is-active {
    position: relative;
    inset: auto;
  }
  .hero--auto .hero-slide img {
    width: 100%;
    height: auto;
    object-fit: initial;
    display: block;
  }
  /* ---- short dot → long bar progress pagination ---- */
  .hero-dots {
    position: absolute;
    left: 0; right: 0; bottom: 38px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    z-index: 5;
    padding: 0 24px;
  }
  .hero-dots button {
    position: relative;
    width: 14px;
    height: 3px;
    border: none;
    border-radius: 3px;
    padding: 0;
    background: rgba(255, 255, 255, .45);
    cursor: pointer;
    /* base (deactivate) uses fast transition */
    transition: width .35s ease, background-color .25s ease;
  }
  /* expand vertical hit area without affecting visual width */
  .hero-dots button::before {
    content: "";
    position: absolute;
    inset: -14px 0;
  }
  .hero-dots button:hover {
    background: rgba(255, 255, 255, .75);
  }
  /* active: width grows linearly over slide duration */
  .hero-dots button.is-active {
    width: 64px;
    background: #fff;
    transition: width var(--slide-dur, 5s) linear,
                background-color .25s ease;
  }

  /* ---- prev / next arrows ---- */
  .hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .35);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    opacity: 0;
    transition: background .25s, border-color .25s, opacity .35s, transform .35s;
  }
  .hero:hover .hero-arrow { opacity: 1; }
  .hero-arrow:hover {
    background: rgba(255, 255, 255, .9);
    border-color: rgba(255, 255, 255, 1);
    color: #111;
  }
  .hero-arrow.prev {
    left: 32px;
    transform: translate(-8px, -50%);
  }
  .hero-arrow.next {
    right: 32px;
    transform: translate(8px, -50%);
  }
  .hero:hover .hero-arrow.prev,
  .hero:hover .hero-arrow.next {
    transform: translate(0, -50%);
  }
  .hero-arrow svg {
    width: 22px;
    height: 22px;
    stroke-width: 1.6;
  }

  /* ============ Responsive ============ */
  @media (max-width: 768px) {
    .site-header { height: 64px; }
    .site-logo img { height: 42px; }
    .site-nav { display: none; }
    .hero-arrow { display: none; }
    .announcement-slide { font-size: 12px; gap: 8px; }
    /* tighter icon spacing + side padding on mobile */
    .header-left, .header-right { gap: 8px; }
    /* search reverts to icon-only on mobile to save room */
    .icon-link--search {
      width: 36px;
      height: 36px;
      padding: 0;
      border: none;
      border-radius: 0;
    }
    .icon-link--search .icon-link__label { display: none; }
    .icon-link--search svg { width: 22px; height: 22px; }
    .page-width { padding: 0 14px; }
    /* shorter banner on mobile (fixed-height mode only) */
    .hero:not(.hero--auto) { height: 62vh; }
  }

  /* ============ Category carousel section ============ */
  .category-section {
    padding: 80px 0 90px;
    background: #fafaf7;
  }

  /* shared section header: title left + actions right */
  .section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    max-width: 1500px;
    margin: 0 auto 36px;
    padding: 0 24px;
  }
  .section-title h2 {
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #2a241d;
    margin-bottom: 8px;
  }
  .section-title p {
    color: #888;
    font-size: 12px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
  }
  .section-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
  }

  /* carousel container */
  .cat-carousel {
    position: relative;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 24px;
  }
  .cat-viewport {
    overflow: hidden;
    /* drag UX */
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;          /* allow vertical page scroll, capture horizontal */
  }
  .cat-viewport.is-dragging { cursor: grabbing; }
  .cat-track {
    display: flex;
    gap: 14px;
    transition: transform .6s cubic-bezier(.22, .61, .36, 1);
    will-change: transform;
  }
  /* during drag we kill the transition for 1:1 finger tracking */
  .cat-viewport.is-dragging .cat-track { transition: none; }
  /* prevent native image drag from hijacking the pointer */
  .cat-track img,
  .cat-card { -webkit-user-drag: none; }
  /* 5 cards per view, 1:1 */
  .cat-card {
    flex: 0 0 calc((100% - 56px) / 5);
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    cursor: pointer;
    isolation: isolate;
    transition: transform .35s ease, box-shadow .35s ease;
  }

  .cat-card__media {
    position: absolute;
    inset: 0;
    overflow: hidden;
  }
  .cat-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s cubic-bezier(.22, .61, .36, 1);
  }

  /* ---- auto height mode: cards follow each image's natural height ---- */
  .cat--auto-h .cat-card {
    aspect-ratio: auto;
    height: auto;
  }
  .cat--auto-h .cat-card__media {
    position: relative;
    inset: auto;
  }
  .cat--auto-h .cat-card__media img {
    height: auto;
    object-fit: initial;
    display: block;
  }
  .cat-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, .55) 0%,
      rgba(0, 0, 0, .15) 45%,
      rgba(0, 0, 0, 0) 75%
    );
    transition: background .35s ease;
  }
  .cat-card__info {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 16px 18px 20px;
    color: #fff;
    z-index: 2;
  }
  .cat-card__info h3 {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .8px;
    text-transform: uppercase;
    margin-bottom: 4px;
  }
  .cat-card__info span {
    font-size: 12px;
    letter-spacing: .4px;
    opacity: .85;
  }
  .cat-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    font-size: 12px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, .8);
    padding-bottom: 3px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .35s ease, transform .35s ease, gap .25s ease;
  }
  .cat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .15);
  }
  .cat-card:hover .cat-card__media img { transform: scale(1.08); }
  .cat-card:hover::after {
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, .75) 0%,
      rgba(0, 0, 0, .25) 50%,
      rgba(0, 0, 0, 0) 90%
    );
  }
  .cat-card:hover .cat-card__cta {
    opacity: 1;
    transform: translateY(0);
    gap: 12px;
  }
  .cat-card.is-active {
    box-shadow: 0 0 0 2px #c9a063, 0 14px 30px rgba(0, 0, 0, .15);
  }

  /* arrow buttons (live in section header) */
  .cat-arrow {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e2dcd2;
    color: #444;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s, color .2s, border-color .2s, opacity .2s;
  }
  .cat-arrow:hover { background: #c9a063; color: #fff; border-color: #c9a063; }
  .cat-arrow svg {
    width: 18px; height: 18px;
    stroke: currentColor; fill: none; stroke-width: 2;
  }
  .cat-arrow:disabled { opacity: .35; cursor: not-allowed; }
  .cat-arrow:disabled:hover { background: #fff; color: #444; border-color: #e2dcd2; }

  @media (max-width: 768px) {
    .cat-carousel { padding: 0 16px; }
    .section-header { padding: 0 16px; flex-direction: column; align-items: flex-start; }
    .cat-viewport { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .cat-track { transform: none !important; }
    .cat-card { flex: 0 0 60%; }
    .section-actions { display: none; }
  }

  /* ============ Product sections (shared) ============ */
  .product-section {
    padding: 70px 0 80px;
  }
  .product-section + .product-section { padding-top: 0; }

  .view-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #222;
    border-bottom: 1px solid #222;
    padding-bottom: 4px;
    transition: gap .25s ease, color .25s ease, border-color .25s ease;
  }
  .view-more:hover {
    gap: 14px;
    color: #c9a063;
    border-color: #c9a063;
  }

  .product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px 24px;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 24px;
  }

  .product-card {
    display: block;
    text-align: center;
    color: #222;
  }
  .product-card__media {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    margin-bottom: 14px;
    background: #f5f1ec;
  }
  .product-card__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity .5s ease, transform .9s ease;
  }
  .product-card__media .img-hover {
    opacity: 0;
  }
  .product-card:hover .img-default { opacity: 0; }
  .product-card:hover .img-hover { opacity: 1; transform: scale(1.04); }

  .product-card__title {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 6px;
    /* clamp to 2 lines */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em;
    transition: color .2s ease;
  }
  .product-card:hover .product-card__title { color: #c9a063; }

  .product-card__rating {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #666;
    margin-bottom: 6px;
  }
  .stars {
    --rating: 5;
    --color: #f5b400;
    display: inline-block;
    font-size: 13px;
    font-family: Arial, sans-serif;
    line-height: 1;
    letter-spacing: 1px;
    background: linear-gradient(
      90deg,
      var(--color) calc(var(--rating) * 20%),
      #d8d2c7 calc(var(--rating) * 20%)
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .stars::before { content: "★★★★★"; }

  .product-card__price {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
  }
  .product-card__price .compare-at {
    color: #aaa;
    text-decoration: line-through;
    font-size: 13px;
  }
  .product-card__price .sale {
    color: #c0392b;
    font-weight: 600;
  }

  @media (max-width: 1024px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); }
  }
  @media (max-width: 640px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 14px; padding: 0 16px; }
    .product-card__title { font-size: 13px; }
  }

  /* ============ Shop By Symbol section ============ */
  .symbols-section {
    padding: 80px 0 90px;
    background: #fff;
  }
  .symbols-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 28px 22px;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 24px;
  }
  .symbol-item {
    display: block;
    text-align: center;
    color: #2a241d;
  }
  .symbol-item__image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f5f1ec;
    margin-bottom: 14px;
  }
  .symbol-item__image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s cubic-bezier(.22, .61, .36, 1);
  }
  .symbol-item:hover .symbol-item__image img {
    transform: scale(1.08);
  }
  .symbol-item__title {
    display: block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: #2a241d;
    transition: color .25s ease;
  }
  .symbol-item:hover .symbol-item__title { color: #c9a063; }

  @media (max-width: 1024px) {
    .symbols-grid { grid-template-columns: repeat(4, 1fr); }
  }
  @media (max-width: 768px) {
    .symbols-grid { grid-template-columns: repeat(3, 1fr); padding: 0 16px; gap: 22px 14px; }
    .symbol-item__title { font-size: 12px; letter-spacing: 1.2px; }
  }
  @media (max-width: 480px) {
    .symbols-grid { grid-template-columns: repeat(2, 1fr); }
  }

  /* ============ About / Brand Story section ============ */
  .about-section {
    padding: 110px 0;
    background: #f7f1e9;
    overflow: hidden;
  }
  .about-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
  }
  .about-media {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
  }
  .about-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    transition: transform 1.6s ease;
  }
  .about-section.is-visible .about-media img { transform: scale(1); }

  .about-content { max-width: 520px; }
  .about-eyebrow {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #c9a063;
    margin-bottom: 16px;
  }
  .about-content h2 {
    font-size: 36px;
    font-weight: 600;
    line-height: 1.25;
    color: #2a241d;
    margin-bottom: 22px;
  }
  .about-content .lead {
    font-size: 15px;
    line-height: 1.85;
    color: #5b5048;
    margin-bottom: 16px;
  }
  .about-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 32px 0 36px;
  }
  .about-pillar {
    padding: 18px 0 0;
    border-top: 1px solid rgba(42, 36, 29, .15);
  }
  .about-pillar h4 {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #2a241d;
    margin-bottom: 6px;
  }
  .about-pillar p {
    font-size: 12px;
    line-height: 1.55;
    color: #7a6e63;
  }
  .about-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: #2a241d;
    color: #fff;
    font-size: 13px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    transition: background .25s ease, gap .25s ease, transform .25s ease;
  }
  .about-cta:hover {
    background: #c9a063;
    gap: 16px;
  }

  /* entrance animation */
  .about-media,
  .about-content > * {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .9s cubic-bezier(.22,.61,.36,1),
                transform .9s cubic-bezier(.22,.61,.36,1);
  }
  .about-media {
    transform: translateX(-60px);
  }
  .about-section.is-visible .about-media,
  .about-section.is-visible .about-content > * {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
  /* stagger child reveal */
  .about-section.is-visible .about-content > *:nth-child(1) { transition-delay: .1s; }
  .about-section.is-visible .about-content > *:nth-child(2) { transition-delay: .2s; }
  .about-section.is-visible .about-content > *:nth-child(3) { transition-delay: .3s; }
  .about-section.is-visible .about-content > *:nth-child(4) { transition-delay: .4s; }
  .about-section.is-visible .about-content > *:nth-child(5) { transition-delay: .5s; }
  .about-section.is-visible .about-content > *:nth-child(6) { transition-delay: .6s; }

  @media (max-width: 900px) {
    .about-section { padding: 70px 0; }
    .about-grid {
      grid-template-columns: 1fr;
      gap: 36px;
    }
    .about-content { max-width: 100%; }
    .about-content h2 { font-size: 28px; }
    .about-pillars { gap: 14px; }
    .about-pillar h4 { font-size: 12px; }
  }

  /* ============ Journal / Articles section ============ */
  .journal-section {
    padding: 90px 0 100px;
    background: #fff;
  }
  .journal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 24px;
  }
  .article-card {
    display: block;
    color: inherit;
    background: #fff;
  }
  .article-card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    margin-bottom: 18px;
    background: #f5f1ec;
  }
  .article-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .9s cubic-bezier(.22,.61,.36,1);
  }
  .article-card:hover .article-card__media img { transform: scale(1.06); }
  .article-card__tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(255, 255, 255, .92);
    color: #2a241d;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    padding: 6px 12px;
    z-index: 1;
  }
  .article-card__meta {
    font-size: 12px;
    letter-spacing: .6px;
    color: #999;
    margin-bottom: 8px;
  }
  .article-card__meta .dot {
    display: inline-block;
    margin: 0 8px;
    color: #ccc;
  }
  .article-card__title {
    font-size: 19px;
    font-weight: 600;
    line-height: 1.4;
    color: #2a241d;
    margin-bottom: 10px;
    transition: color .25s ease;
    /* clamp 2 lines */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .article-card:hover .article-card__title { color: #c9a063; }
  .article-card__excerpt {
    font-size: 14px;
    line-height: 1.65;
    color: #6b5f54;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .article-card__readmore {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #2a241d;
    border-bottom: 1px solid #2a241d;
    padding-bottom: 3px;
    transition: gap .25s ease, color .25s ease, border-color .25s ease;
  }
  .article-card:hover .article-card__readmore {
    gap: 12px;
    color: #c9a063;
    border-color: #c9a063;
  }

  @media (max-width: 900px) {
    .journal-grid { grid-template-columns: 1fr; gap: 36px; }
  }

  /* ============ Reviews / Testimonials marquee ============ */
  .reviews-section {
    padding: 90px 0 100px;
    background: #fafaf7;
    overflow: hidden;
  }
  .reviews-section .section-header {
    margin-bottom: 36px;
  }

  /* Full-bleed marquee */
  .reviews-marquee {
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right,
      transparent 0,
      #000 60px,
      #000 calc(100% - 60px),
      transparent 100%);
    mask-image: linear-gradient(to right,
      transparent 0,
      #000 60px,
      #000 calc(100% - 60px),
      transparent 100%);
  }
  .reviews-track {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: reviews-scroll 60s linear infinite;
    will-change: transform;
  }
  .reviews-marquee:hover .reviews-track,
  .reviews-marquee.is-paused .reviews-track {
    animation-play-state: paused;
  }
  @keyframes reviews-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }

  /* 6 per row at desktop. Card width ≈ (100vw - gaps) / 6  */
  .review-card {
    flex: 0 0 calc((100vw - 16px * 7) / 6);
    background: #fff;
    border: 1px solid #ece6dc;
  }
  .review-card__img {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #f0ece5;
  }
  .review-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    -webkit-user-drag: none;
  }
  .review-card__content {
    padding: 14px 16px 18px;
  }
  .review-card__author {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
  }
  .review-card__avatar {
    position: relative;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #c9a063;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .5px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .review-card__verified {
    position: absolute;
    bottom: -2px;
    right: -3px;
    width: 14px;
    height: 14px;
    background: #4caf50;
    border: 2px solid #fff;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .review-card__verified svg { width: 8px; height: 8px; stroke: #fff; stroke-width: 3; fill: none; }
  .review-card__author-info { min-width: 0; flex: 1; }
  .review-card__name {
    font-size: 13px;
    font-weight: 600;
    color: #2a241d;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
  }
  .review-card__date {
    font-size: 11px;
    color: #999;
    margin-top: 2px;
  }
  .review-card__body {
    font-size: 13px;
    line-height: 1.55;
    color: #5b5048;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(1.55em * 3);
  }
  .review-card__stars {
    color: #f5b400;
    font-size: 13px;
    letter-spacing: 2px;
    line-height: 1;
  }
  .review-card__stars::before { content: "★★★★★"; }

  @media (max-width: 1280px) {
    .review-card { flex: 0 0 calc((100vw - 16px * 6) / 5); }
  }
  @media (max-width: 1024px) {
    .review-card { flex: 0 0 calc((100vw - 16px * 5) / 4); }
  }
  @media (max-width: 768px) {
    .reviews-track { animation-duration: 40s; }
    .review-card { flex: 0 0 calc((100vw - 16px * 3) / 2); }
    .reviews-marquee {
      -webkit-mask-image: linear-gradient(to right, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
              mask-image: linear-gradient(to right, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
    }
  }

  /* ============ Site footer ============ */
  .site-footer-wrapper {
    position: relative;
    color: #1a1612;
    overflow: hidden;
    background: #f7f1e9;
  }
  .site-footer-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('footer.png') center / cover no-repeat;
    z-index: 0;
  }
  /* light, theme-matching overlay so text stays readable over the image */
  .site-footer-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(247, 241, 233, .55);
    z-index: 1;
  }
  .site-footer {
    position: relative;
    z-index: 2;
    padding: 90px 24px 50px;
  }
  .footer-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1.3fr;
    gap: 48px;
  }
  .footer-col h4 {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 22px;
    color: #1a1612;
  }
  .footer-col nav a {
    display: block;
    font-size: 13px;
    line-height: 2.2;
    color: rgba(26, 22, 18, .8);
    transition: color .2s ease, padding-left .2s ease;
  }
  .footer-col nav a:hover {
    color: #c9a063;
    padding-left: 4px;
  }

  /* Newsletter column */
  .footer-newsletter p {
    font-size: 13px;
    line-height: 1.7;
    color: rgba(26, 22, 18, .8);
    margin-bottom: 16px;
  }
  .footer-newsletter strong { color: #c9a063; font-weight: 600; }
  .footer-form {
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(26, 22, 18, .35);
    padding-bottom: 6px;
    margin-bottom: 22px;
    transition: border-color .25s ease;
  }
  .footer-form:focus-within {
    border-bottom-color: #c9a063;
  }
  .footer-form input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #1a1612;
    font-size: 13px;
    padding: 8px 0;
    font-family: inherit;
  }
  .footer-form input::placeholder { color: rgba(26, 22, 18, .55); }
  .footer-form button {
    background: transparent;
    border: none;
    color: #1a1612;
    cursor: pointer;
    padding: 6px 4px;
    display: inline-flex;
    align-items: center;
    transition: color .2s ease, transform .25s ease;
  }
  .footer-form button:hover {
    color: #c9a063;
    transform: translateX(3px);
  }
  .footer-form button svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; }

  .footer-form__status {
    font-size: 12px;
    line-height: 1.5;
    margin: -10px 0 18px;
    min-height: 1em;
  }
  .footer-form__status.is-ok { color: #4a8f5b; }
  .footer-form__status.is-error { color: #c0392b; }

  .footer-social {
    display: flex;
    gap: 12px;
    list-style: none;
  }
  .footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(26, 22, 18, .35);
    border-radius: 50%;
    color: rgba(26, 22, 18, .85);
    transition: background .25s, color .25s, border-color .25s;
  }
  .footer-social a:hover {
    background: #c9a063;
    border-color: #c9a063;
    color: #fff;
  }
  .footer-social svg { width: 16px; height: 16px; fill: currentColor; }

  /* Bottom strip: payment icons + copyright */
  .footer-bottom {
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(26, 22, 18, .15);
    padding: 24px 24px 30px;
    text-align: center;
  }
  .payment-icons {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    list-style: none;
    margin-bottom: 14px;
  }
  .payment-icons li { line-height: 0; }
  .payment-icons svg {
    width: 38px;
    height: 24px;
    border-radius: 3px;
    background: #fff;
  }
  .copyright {
    font-size: 11px;
    letter-spacing: 1.5px;
    color: rgba(26, 22, 18, .6);
    text-transform: uppercase;
  }

  @media (max-width: 900px) {
    .site-footer { padding: 60px 24px 30px; }
    .footer-grid {
      grid-template-columns: 1fr 1fr;
      gap: 36px 24px;
    }
  }
  @media (max-width: 560px) {
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-col h4 { margin-bottom: 14px; }
  }

  /* ============ Header search panel ============ */
  /* keep header solid while search is open (don't move it, so the
     announcement bar above stays visible and nothing jumps) */
  .header-wrapper.is-search-open {
    background: rgba(255, 255, 255, .75);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    backdrop-filter: blur(14px) saturate(160%);
    color: #1a1a1a;
    box-shadow: none;            /* panel below provides the only shadow */
  }
  /* search icon ⇄ close icon toggle */
  #searchBtn .icon-close { display: none; }
  .header-wrapper.is-search-open #searchBtn .icon-search { display: none; }
  .header-wrapper.is-search-open #searchBtn .icon-close { display: block; }

  /* ============ Language / currency switcher ============ */
  .lang-switch { position: relative; }
  .lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: currentColor;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .5px;
    padding: 8px 4px;
    transition: opacity .2s ease;
  }
  .lang-toggle:hover { opacity: .65; }
  .lang-toggle__chev {
    width: 14px; height: 14px;
    stroke: currentColor; fill: none; stroke-width: 2;
    transition: transform .3s ease;
  }
  .lang-switch.is-open .lang-toggle__chev { transform: rotate(180deg); }

  .lang-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    width: 240px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .16);
    border: 1px solid #ece4d6;
    padding: 6px;
    z-index: 60;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s ease, transform .28s cubic-bezier(.22,.61,.36,1), visibility .25s ease;
  }
  .lang-switch.is-open .lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  /* collapsible sub-dropdown */
  .lang-acc + .lang-acc { margin-top: 2px; }
  .lang-acc__head {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .4px;
    color: #2a241d;
    padding: 12px 12px;
    transition: background .18s ease;
  }
  .lang-acc__head:hover { background: #f7f1e9; }
  .lang-acc__name { flex: 1; text-align: left; }
  .lang-acc__val {
    font-weight: 400;
    color: #a89c8d;
    font-size: 12.5px;
  }
  .lang-acc__chev {
    width: 14px; height: 14px;
    stroke: #8a8178; fill: none; stroke-width: 2;
    transition: transform .3s ease;
  }
  .lang-acc.is-open .lang-acc__chev { transform: rotate(180deg); }

  .lang-acc__panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height .32s cubic-bezier(.22,.61,.36,1);
  }
  .lang-acc.is-open .lang-acc__panel { max-height: 184px; }

  /* fixed-height scrollable option list */
  .lang-acc__list {
    max-height: 184px;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 2px 0 6px;
    scrollbar-width: thin;
    scrollbar-color: #c9a063 transparent;
  }
  .lang-acc__list::-webkit-scrollbar { width: 6px; }
  .lang-acc__list::-webkit-scrollbar-track { background: transparent; }
  .lang-acc__list::-webkit-scrollbar-thumb {
    background: #c9a063;
    border-radius: 6px;
  }

  .lang-opt, .cur-opt {
    display: block;
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 13.5px;
    color: #2a241d;
    padding: 9px 14px 9px 22px;
    transition: background .18s ease, color .18s ease;
  }
  .lang-opt:hover, .cur-opt:hover { background: #f7f1e9; color: #c9a063; }
  .lang-opt.is-active, .cur-opt.is-active {
    color: #c9a063;
    font-weight: 600;
  }
  .lang-opt.is-active::after, .cur-opt.is-active::after {
    content: "✓";
    float: right;
    color: #c9a063;
  }
  .header-wrapper.is-search-open .site-logo img { filter: none; }
  .header-wrapper.is-search-open .site-nav { border-top-color: rgba(0, 0, 0, .08); }

  .header-search {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;                 /* JS sets exact top = header bottom edge */
    z-index: 45;            /* below header (50) so it emerges from under it */
    background: rgba(255, 255, 255, .75);   /* match the frosted header */
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    backdrop-filter: blur(14px) saturate(160%);
    box-shadow: 0 16px 20px -8px rgba(0, 0, 0, .12);  /* shadow only below */
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height .42s cubic-bezier(.22,.61,.36,1),
                opacity .3s ease,
                visibility .42s ease;
  }
  .header-search.is-open {
    max-height: 260px;
    opacity: 1;
    visibility: visible;
  }
  .header-search__inner {
    max-width: 1040px;
    margin: 0 auto;
    padding: 4px 0 24px;
  }
  .header-search__form {
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #cdc4b6;
    padding-bottom: 10px;
  }
  .header-search__form svg {
    width: 19px; height: 19px;
    stroke: #2a241d; fill: none; stroke-width: 1.6;
    flex-shrink: 0;
  }
  .header-search__form input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-family: inherit;
    font-size: 15px;
    font-weight: 300;
    color: #2a241d;
    padding: 4px 0;
  }
  .header-search__form input::placeholder { color: #b3a99c; font-weight: 300; }
  .header-search__close {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #8a8178;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 6px;
    transition: color .2s ease;
  }
  .header-search__close:hover { color: #2a241d; }
  .header-search__hot {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
  }
  .header-search__hot .label {
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #8a8178;
    margin-right: 4px;
  }
  .hot-term {
    font-size: 13px;
    color: #5b5048;
    background: #f3ede4;
    border: 1px solid #e7ddcf;
    border-radius: 0;
    padding: 7px 15px;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
  }
  .hot-term:hover {
    background: #c9a063;
    border-color: #c9a063;
    color: #fff;
  }

  /* ============ Generic overlay / scrim ============ */
  .scrim {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease, visibility .35s ease;
  }
  .scrim.is-active { opacity: 1; visibility: visible; }
  /* search scrim sits below the header so the panel stays visible */
  #searchScrim { z-index: 40; }
  /* modal + cart scrims sit above everything */
  #authScrim, #cartScrim { z-index: 100; }
  body.no-scroll { overflow: hidden; }

  /* ============ Auth modal (login / register) ============ */
  .auth-modal {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -46%);
    width: min(820px, calc(100vw - 40px));
    background: #fff;
    border-radius: 0;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
    z-index: 110;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, transform .35s cubic-bezier(.22,.61,.36,1), visibility .3s ease;
    overflow: hidden;
    display: flex;
  }
  .auth-modal.is-open {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%);
  }
  /* left image column */
  .auth-media {
    flex: 0 0 44%;
    position: relative;
    background: #f0ece5;
  }
  .auth-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  /* right form column */
  .auth-panel {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
  }
  .auth-modal__close {
    position: absolute;
    top: 12px; right: 12px;
    width: 32px; height: 32px;
    border: none;
    background: rgba(255, 255, 255, .85);
    cursor: pointer;
    color: #2a241d;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background .2s ease, color .2s ease;
    z-index: 2;
  }
  .auth-modal__close:hover { background: #fff; color: #c9a063; }
  .auth-modal__close svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; }
  .auth-tabs {
    display: flex;
    gap: 30px;
    padding: 0 34px;
  }
  .auth-tab {
    position: relative;
    flex: 0 0 auto;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #8a8178;
    padding: 22px 0;
    transition: color .25s ease;
  }
  /* left-to-right underline indicator */
  .auth-tab::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 2px;
    background: #c9a063;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .32s cubic-bezier(.22,.61,.36,1);
  }
  .auth-tab.is-active { color: #2a241d; }
  .auth-tab.is-active::after { transform: scaleX(1); }

  /* fixed height so login (2 fields) and register (3 fields) match */
  .auth-body {
    padding: 30px 34px 36px;
    min-height: 440px;
    display: flex;
    flex-direction: column;
  }
  .auth-form { display: none; flex-direction: column; gap: 16px; }
  .auth-form.is-active { display: flex; }
  .auth-field label {
    display: block;
    font-size: 12px;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: #8a8178;
    margin-bottom: 7px;
  }
  .auth-field input {
    width: 100%;
    border: 1px solid #e2dcd2;
    border-radius: 0;
    padding: 12px 14px;
    font-family: inherit;
    font-size: 14px;
    color: #2a241d;
    outline: none;
    transition: border-color .2s ease;
  }
  .auth-field input:focus { border-color: #c9a063; }
  .auth-submit {
    margin-top: 6px;
    border: none;
    cursor: pointer;
    background: #2a241d;
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    padding: 15px 0;
    border-radius: 0;
    transition: background .25s ease;
  }
  .auth-submit:hover { background: #c9a063; }
  .auth-aside {
    margin-top: 4px;
    font-size: 12px;
    color: #8a8178;
    text-align: center;
  }
  .auth-aside a { color: #c9a063; font-weight: 600; }

  @media (max-width: 640px) {
    .auth-media { display: none; }
    .auth-modal { width: min(420px, calc(100vw - 32px)); }
  }

  /* ============ Cart drawer ============ */
  .cart-drawer {
    position: fixed;
    top: 0; right: 0;
    height: 100%;
    width: min(420px, 100vw);
    background: #fff;
    box-shadow: -16px 0 50px rgba(0, 0, 0, .25);
    z-index: 110;
    transform: translateX(100%);
    transition: transform .4s cubic-bezier(.22,.61,.36,1);
    display: flex;
    flex-direction: column;
  }
  .cart-drawer.is-open { transform: translateX(0); }
  .cart-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 24px;
    border-bottom: 1px solid #eee5d8;
  }
  .cart-drawer__head h3 {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #2a241d;
  }
  .cart-drawer__close {
    width: 34px; height: 34px;
    border: none;
    background: transparent;
    cursor: pointer;
    color: #8a8178;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background .2s ease, color .2s ease;
  }
  .cart-drawer__close:hover { background: #f3ede4; color: #2a241d; }
  .cart-drawer__close svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; fill: none; }
  .cart-drawer__body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
  }
  .cart-line {
    display: flex;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid #f1ebe1;
  }
  .cart-line__img {
    width: 76px; height: 76px;
    flex-shrink: 0;
    border-radius: 0;
    overflow: hidden;
    background: #f5f1ec;
  }
  .cart-line__img img { width: 100%; height: 100%; object-fit: cover; }
  .cart-line__info { flex: 1; min-width: 0; }
  .cart-line__title {
    font-size: 13px;
    font-weight: 500;
    color: #2a241d;
    line-height: 1.4;
    margin-bottom: 6px;
  }
  .cart-line__meta { font-size: 12px; color: #8a8178; }
  .cart-line__price {
    margin-top: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #c0392b;
  }
  .cart-drawer__foot {
    border-top: 1px solid #eee5d8;
    padding: 20px 24px 26px;
  }
  .cart-drawer__subtotal {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 6px;
  }
  .cart-drawer__subtotal .label {
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #5b5048;
  }
  .cart-drawer__subtotal .amount {
    font-size: 18px;
    font-weight: 600;
    color: #2a241d;
  }
  .cart-drawer__note {
    font-size: 12px;
    color: #8a8178;
    margin-bottom: 16px;
  }
  .cart-drawer__checkout {
    display: block;
    width: 100%;
    text-align: center;
    background: #2a241d;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    padding: 16px 0;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: background .25s ease;
  }
  .cart-drawer__checkout:hover { background: #c9a063; }

  @media (max-width: 768px) {
    .header-search__form input { font-size: 16px; }
    .cart-drawer { width: 100vw; }
  }


/* ============================================================
   Inner-page solid header overrides
   (used on every view that is not the front page, where there
   is no hero banner for the header to float over)
   ============================================================ */
.header-wrapper.is-solid {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, .75);
  color: #1a1a1a;
  box-shadow: 0 2px 14px rgba(0, 0, 0, .06);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
}
/* keep it sticky even when the scroll script toggles .is-fixed */
.header-wrapper.is-solid.is-fixed {
  position: sticky;
}
/* logo should stay full-color on the solid header */
.header-wrapper.is-solid .site-logo img {
  filter: none;
}
/* nav divider matches the light theme */
.header-wrapper.is-solid .site-nav {
  border-top-color: rgba(0, 0, 0, .08);
}

/* ============================================================
   Basic content styling for standard pages / posts
   ============================================================ */
.page-content-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}
.page-content-wrap .entry-title {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: .5px;
  color: #2a241d;
  margin-bottom: 24px;
}
.page-content-wrap .entry-content {
  font-size: 15px;
  line-height: 1.85;
  color: #5b5048;
}
.page-content-wrap .entry-content p { margin-bottom: 16px; }
.page-content-wrap .entry-content a { color: #c9a063; }
.page-content-wrap img { height: auto; }


/* ============================================================
   WordPress-generated nav menu (wp_nav_menu) styling
   Makes the admin-assigned "primary" menu match the original
   static .site-nav / .nav-link look (horizontal, centered).
   ============================================================ */
.site-nav .nav-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}
.site-nav .nav-list li {
  position: relative;
  margin: 0;
}
.site-nav .nav-list li a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .6px;
  text-transform: uppercase;
  padding: 10px 2px;
  display: inline-block;
  position: relative;
  color: currentColor;
}
.site-nav .nav-list li a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s ease;
}
.site-nav .nav-list li a:hover::after { transform: scaleX(1); }

@media (max-width: 768px) {
  .site-nav .nav-list { display: none; }
}


/* ============================================================
   Dropdown sub-menus for the WordPress nav menu
   (supports one or more nested levels)
   ============================================================ */
.site-nav .nav-list li.menu-item-has-children > a {
  /* room for a small caret indicator */
  padding-right: 14px;
}
.site-nav .nav-list li.menu-item-has-children > a::before {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -4px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  opacity: .7;
  transition: transform .25s ease;
}
.site-nav .nav-list li.menu-item-has-children:hover > a::before {
  transform: rotate(-135deg);
}

/* the sub-menu panel */
.site-nav .nav-list .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  list-style: none;
  margin: 0;
  padding: 8px 0;
  background: #fff;
  border: 1px solid #ece4d6;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .14);
  z-index: 60;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .25s ease, transform .28s cubic-bezier(.22,.61,.36,1), visibility .25s ease;
}
/* reveal on hover / focus-within */
.site-nav .nav-list li:hover > .sub-menu,
.site-nav .nav-list li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* sub-menu items always render dark on white, even when the header
   is transparent over the hero banner */
.site-nav .nav-list .sub-menu li {
  width: 100%;
}
.site-nav .nav-list .sub-menu li a {
  display: block;
  width: 100%;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .4px;
  text-transform: none;
  color: #2a241d;
  white-space: nowrap;
  transition: background .18s ease, color .18s ease, padding-left .2s ease;
}
.site-nav .nav-list .sub-menu li a::after { display: none; }
.site-nav .nav-list .sub-menu li a:hover {
  background: #f7f1e9;
  color: #c9a063;
  padding-left: 22px;
}

/* nested (3rd level and beyond) flies out to the right */
.site-nav .nav-list .sub-menu .sub-menu {
  top: 0;
  left: 100%;
  transform: translateX(-8px);
}
.site-nav .nav-list .sub-menu li:hover > .sub-menu,
.site-nav .nav-list .sub-menu li:focus-within > .sub-menu {
  transform: translateX(0);
}
/* caret for nested parents points to the right */
.site-nav .nav-list .sub-menu li.menu-item-has-children > a::before {
  right: 14px;
  transform: rotate(-45deg);
}
.site-nav .nav-list .sub-menu li.menu-item-has-children:hover > a::before {
  transform: rotate(-45deg);
}


/* ============================================================
   Elementor compatibility
   ============================================================ */

/* Elementor's reset applies `.elementor img { height:auto }` at the same
   specificity as our layout rules and loads later, collapsing our object-fit
   media. Re-assert full-bleed cover images for every fixed-ratio container. */
.hero-slide img,
.cat-card__media img,
.product-card__media img,
.symbol-item__image img,
.about-media img,
.article-card__media img,
.review-card__img img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
}

/* Auto-height modes must win over the cover !important rules above so the
   image can display at its natural height without cropping. */
.hero--auto .hero-slide img,
.hero--auto .hero-slide picture,
.cat--auto-h .cat-card__media img {
  height: auto !important;
  object-fit: initial !important;
}

/* Keep our media boxes from being shrunk by Elementor widget resets. */
.product-card__media,
.cat-card,
.symbol-item__image,
.article-card__media,
.review-card__img,
.collection-banner__media,
.about-media {
  height: auto;
}

/* The hero needs a real height even inside an Elementor column.
   Default fallback only — the SS_Widget_Hero responsive control overrides
   this per-breakpoint via {{WRAPPER}} .hero { height: ... }. */
.elementor-widget-ss_hero .hero {
  min-height: 320px;
}
/* auto-height mode follows the image, so no minimum is enforced */
.elementor-widget-ss_hero .hero--auto {
  min-height: 0;
}

/* <picture> wrapper inside a hero slide should fill the slide too,
   so the inner <img>'s height:100% has a real reference. */
.hero-slide picture {
  display: block;
  width: 100%;
  height: 100%;
}

/* Elementor columns add their own padding; let our full-width sections breathe
   edge to edge when used as widgets. */
.elementor-widget-ss_hero .elementor-widget-container,
.elementor-widget-ss_category .elementor-widget-container,
.elementor-widget-ss_products .elementor-widget-container,
.elementor-widget-ss_symbols .elementor-widget-container,
.elementor-widget-ss_about .elementor-widget-container,
.elementor-widget-ss_journal .elementor-widget-container,
.elementor-widget-ss_reviews .elementor-widget-container {
  padding: 0;
}

/* ---- About reveal: visible by default, animate only as enhancement ----
   (so the block is never blank when the reveal script has not run yet, e.g.
   inside the Elementor editor). */
.about-media,
.about-content > * {
  opacity: 1;
  transform: none;
}
.about-section.ss-prereveal .about-media {
  opacity: 0;
  transform: translateX(-60px);
}
.about-section.ss-prereveal .about-content > * {
  opacity: 0;
  transform: translateY(28px);
}
.about-section.ss-prereveal.is-visible .about-media,
.about-section.ss-prereveal.is-visible .about-content > * {
  opacity: 1;
  transform: translateX(0) translateY(0);
}


/* ============================================================
   Category carousel — hide native scrollbar on touch fall-back.
   On the original static layout the carousel switched to
   overflow-x:auto on small screens; the visible scrollbar looked
   ugly inside Elementor, so we hide it across the board while
   keeping the ability to scroll horizontally on touch devices.
   ============================================================ */
.cat-viewport {
  -ms-overflow-style: none;     /* IE / old Edge */
  scrollbar-width: none;        /* Firefox */
}
.cat-viewport::-webkit-scrollbar {
  display: none;                /* Chrome / Safari / new Edge */
  height: 0;
  width: 0;
}

/* Make the touch fall-back work for the Elementor widget too. */
@media (max-width: 767px) {
  .ss-cat-section .cat-viewport {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    /* Hand horizontal swipes back to the browser, otherwise the JS pointer
       capture (used for drag-to-paginate on desktop) would block native scroll. */
    touch-action: pan-x pan-y;
    cursor: auto;
    user-select: auto;
    -webkit-user-select: auto;
  }
  .ss-cat-section .cat-track {
    transform: none !important;   /* let the user scroll naturally */
  }
}


/* ============================================================
   Brand Story widget — media on the right variant
   ============================================================ */
.ss-about--media-right .about-media {
  order: 2;
}
.ss-about--media-right .about-content {
  order: 1;
}
/* the original entrance animation slides media in from the left; when it is
   on the right, slide it in from the right instead. */
.ss-about--media-right.about-section.ss-prereveal .about-media {
  transform: translateX(60px);
}
@media (max-width: 900px) {
  /* stacked on mobile — keep media first regardless of desktop order */
  .ss-about--media-right .about-media { order: 0; }
  .ss-about--media-right .about-content { order: 0; }
}


/* ============================================================
   Customer Reviews widget — allow disabling hover-pause
   ============================================================ */
.reviews-marquee.ss-rev-nopause:hover .reviews-track {
  animation-play-state: running;
}


/* ============================================================
   AJAX mini-cart: skeleton loading, remove button, empty state
   ============================================================ */
.cart-line { position: relative; }
.cart-line__remove {
  position: absolute;
  top: 14px;
  right: 0;
  width: 22px;
  height: 22px;
  border: none;
  background: transparent;
  color: #b3a99c;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: color .2s ease;
}
.cart-line__remove:hover { color: #c0392b; }

.cart-empty {
  text-align: center;
  color: #8a8178;
  font-size: 14px;
  padding: 40px 0;
}

/* Skeleton placeholders */
.cart-skeleton { padding: 4px 0; }
.cart-skel-line {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid #f1ebe1;
}
.cart-skel-img {
  width: 76px;
  height: 76px;
  flex-shrink: 0;
  border-radius: 0;
}
.cart-skel-text { flex: 1; display: flex; flex-direction: column; gap: 8px; padding-top: 4px; }
.cart-skel-text b { width: 85%; height: 12px; display: block; }
.cart-skel-text i { width: 50%; height: 10px; display: block; }
.cart-skel-text u { width: 30%; height: 12px; display: block; margin-top: 6px; }
.cart-skel-img,
.cart-skel-text b,
.cart-skel-text i,
.cart-skel-text u {
  background: linear-gradient(90deg, #efe9e0 25%, #f7f2ea 37%, #efe9e0 63%);
  background-size: 400% 100%;
  animation: ss-skel 1.3s ease infinite;
}
@keyframes ss-skel {
  0%   { background-position: 100% 50%; }
  100% { background-position: 0 50%; }
}


/* ============================================================
   Cart drawer: per-line quantity stepper + busy state
   ============================================================ */
.cart-line__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
}
.cart-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid #e2dcd2;
}
.cart-qty__btn {
  width: 26px;
  height: 26px;
  border: none;
  background: #fff;
  color: #2a241d;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  transition: background .15s ease;
}
.cart-qty__btn:hover { background: #f7f1e9; }
.cart-qty__btn:disabled { opacity: .4; cursor: default; }
.cart-qty__num {
  min-width: 30px;
  text-align: center;
  font-size: 13px;
  color: #2a241d;
  border-left: 1px solid #ece4d6;
  border-right: 1px solid #ece4d6;
  line-height: 26px;
}
.cart-line__price { font-size: 13px; font-weight: 600; color: #c0392b; }

/* dim + lock the cart body while an update request is in flight */
.cart-drawer__body.is-busy {
  opacity: .55;
  pointer-events: none;
  transition: opacity .15s ease;
}


/* Auth modal inline message */
.auth-msg {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}


/* ============================================================
   WooCommerce select2 (country / state dropdowns) — match the
   theme's form inputs. Applies wherever select2 is rendered.
   ============================================================ */
.select2-container--default .select2-selection--single {
  height: 46px;
  border: 1px solid #e2dcd2;
  border-radius: 0;
  background: #fff;
  outline: none;
  transition: border-color .2s ease;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 44px;
  padding-left: 14px;
  padding-right: 30px;
  color: #2a241d;
  font-family: inherit;
  font-size: 14px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 44px;
  right: 10px;
}
.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--single {
  border-color: #c9a063;
}
.select2-container .select2-selection--single .select2-selection__rendered { line-height: 44px; }

/* Dropdown panel (appended to <body>) */
.select2-dropdown {
  border: 1px solid #e2dcd2;
  border-radius: 0;
  background: #fff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .12);
}
.select2-container--default .select2-search--dropdown .select2-search__field {
  border: 1px solid #e2dcd2;
  border-radius: 0;
  padding: 9px 12px;
  font-family: inherit;
  font-size: 14px;
  color: #2a241d;
  outline: none;
}
.select2-container--default .select2-results__option {
  font-size: 14px;
  color: #5b5048;
  padding: 9px 14px;
}
.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted {
  background: #c9a063;
  color: #fff;
}
.select2-container--default .select2-results__option[aria-selected="true"] {
  background: #f7f1e9;
  color: #2a241d;
}


/* ============================================================
   Mobile menu: hamburger toggle + left slide-out drawer
   ============================================================ */
.menu-toggle { display: none; }

@media (max-width: 768px) {
  .menu-toggle { display: inline-flex; }
}

.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: min(330px, 86vw);
  background: #fff;
  z-index: 130;
  transform: translateX(-100%);
  transition: transform .4s cubic-bezier(.22, .61, .36, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: 16px 0 50px rgba(0, 0, 0, .25);
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid #eee5d8;
}
.mobile-nav__title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #2a241d;
}
.mobile-nav__close {
  width: 34px;
  height: 34px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: #8a8178;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background .2s ease, color .2s ease;
}
.mobile-nav__close:hover { background: #f3ede4; color: #2a241d; }
.mobile-nav__close svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; fill: none; }

.mobile-nav__menu { padding: 6px 0 30px; }
.mobile-menu,
.mobile-menu .sub-menu { list-style: none; margin: 0; padding: 0; }
.mobile-menu li { position: relative; border-bottom: 1px solid #f3ede4; }
.mobile-menu a {
  display: block;
  padding: 14px 50px 14px 22px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .5px;
  color: #2a241d;
  text-decoration: none;
  transition: color .2s ease, background .2s ease;
}
.mobile-menu a:hover { color: #c9a063; background: #faf7f2; }

/* submenu accordion toggle (injected by JS) */
.mobile-submenu-toggle {
  position: absolute;
  top: 0;
  right: 0;
  width: 50px;
  height: 49px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.mobile-submenu-toggle::before,
.mobile-submenu-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 1.5px;
  background: #8a8178;
  transform: translate(-50%, -50%);
  transition: transform .25s ease;
}
.mobile-submenu-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.menu-item-has-children.is-open > .mobile-submenu-toggle::after { transform: translate(-50%, -50%) rotate(0); }

.mobile-menu .sub-menu { display: none; background: #faf7f2; }
.mobile-menu .menu-item-has-children.is-open > .sub-menu { display: block; }
.mobile-menu .sub-menu a { padding-left: 38px; font-size: 13px; color: #5b5048; }
.mobile-menu .sub-menu .sub-menu a { padding-left: 54px; }

/* mobile nav scrim sits below the drawer, above content */
#mobileNavScrim { z-index: 120; }


/* ============================================================
   Layout hardening
   Guarantees the top-level page structure always stacks as
   normal full-width block flow. Defends against any externally
   injected grid/column/flex rule (browser extensions, stray
   cached CSS, etc.) that could otherwise split the page into
   side-by-side columns.
   ============================================================ */
html,
body {
  display: block !important;
  column-count: auto !important;
  columns: auto !important;
}
body > .announcement-bar,
body > .hero-block,
body > .header-wrapper,
body > .header-search,
body > .mobile-nav,
body > .search-page,
body > .collection-page,
body > .shop-wrap,
body > .account-wrap,
body > .post-layout,
body > .page-content-wrap,
body > .blog-archive,
body > .site-footer-wrapper {
  float: none !important;
  clear: both !important;
  width: auto !important;
}
