/* COSMOSKIN — premium reference mobile commerce layer. Desktop is intentionally untouched. */
#cm-mobile-redesign-root,
#cm-mobile-sheet-root { display: none; }

@media (max-width: 768px) {
  :root {
    --cm-ivory: #fbf8f2;
    --cm-cream: #f6efe5;
    --cm-stone: #e8dfd3;
    --cm-ink: #111111;
    --cm-muted: #6f6a63;
    --cm-soft-border: rgba(17, 17, 17, 0.10);
    --cm-gold: #b58a4a;
    --cm-soft-gold: #ead8bd;
    --cm-success: #4f8f55;
    --cm-warning: #b97818;
    --cm-danger: #b94a48;
    --cm-disabled: #d8d3cb;
    --cm-card: rgba(255,255,255,0.82);
    --cm-shadow-soft: 0 18px 40px rgba(20, 15, 10, 0.07);
    --cm-radius-card: 22px;
    --cm-radius-tile: 18px;
    --cm-radius-pill: 999px;
    --cm-serif: 'Cormorant Garamond', Georgia, serif;
    --cm-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  }

  html.cm-mobile-active,
  body.cm-mobile-active {
    width: 100%;
    min-width: 0;
    overflow-x: hidden !important;
    background: var(--cm-ivory) !important;
  }

  body.cm-mobile-active {
    margin: 0 !important;
    padding: 0 0 calc(84px + env(safe-area-inset-bottom)) !important;
    color: var(--cm-ink) !important;
    font-family: var(--cm-sans) !important;
  }

  body.cm-mobile-active > .announcement,
  body.cm-mobile-active > .header,
  body.cm-mobile-active > .mobile-nav,
  body.cm-mobile-active .cart-drawer,
  body.cm-mobile-active .cart-backdrop,
  body.cm-mobile-active footer.site-footer,
  body.cm-mobile-active footer.footer,
  body.cm-mobile-active > .footer,
  body.cm-mobile-active main > :not(#cm-mobile-redesign-root) {
    display: none !important;
  }

  body.cm-mobile-active main {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.cm-mobile-active #cm-mobile-redesign-root {
    display: block !important;
    width: 100% !important;
  }

  #cm-mobile-redesign-root,
  #cm-mobile-redesign-root * { box-sizing: border-box; }

  .cm-mobile-page {
    min-height: 100svh;
    width: 100%;
    background:
      radial-gradient(circle at 50% 0%, rgba(255,255,255,.96), transparent 34%),
      linear-gradient(180deg, #fffdf9 0%, #fbf8f2 54%, #f8f1e8 100%);
    color: var(--cm-ink);
    padding-bottom: calc(96px + env(safe-area-inset-bottom));
  }

  .cm-mobile-page a { color: inherit; text-decoration: none; }
  .cm-mobile-page button,
  .cm-mobile-page input,
  .cm-mobile-page textarea { font: inherit; }
  .cm-mobile-page button { -webkit-tap-highlight-color: transparent; }

  .cm-page-inner { padding: 0 18px 26px; }
  .cm-page-inner--top { padding-top: 0; }

  .cm-header {
    position: sticky;
    top: 0;
    z-index: 80;
    min-height: 76px;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
    gap: 6px;
    padding: 16px 18px 10px;
    background: rgba(255,253,249,.94);
    border-bottom: 1px solid rgba(17,17,17,.06);
    backdrop-filter: blur(22px) saturate(1.08);
  }

  .cm-header--checkout { grid-template-columns: 44px minmax(0, 1fr) auto; }
  .cm-header__left { display: flex; align-items: center; justify-content: flex-start; }
  .cm-header__right { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }

  .cm-wordmark {
    justify-self: center;
    font-family: var(--cm-serif);
    font-size: 32px;
    letter-spacing: .12em;
    line-height: 1;
    font-weight: 500;
    color: #111;
    white-space: nowrap;
    text-decoration: none;
  }

  .cm-icon-btn {
    position: relative;
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--cm-ink);
    cursor: pointer;
  }

  .cm-icon-btn svg,
  .cm-mobile-page svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .cm-badge {
    position: absolute;
    right: 4px;
    top: 4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
  }

  .cm-secure-title {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #5b5249;
    font-size: 13px;
    font-weight: 650;
    white-space: nowrap;
  }
  .cm-secure-title svg { width: 18px; height: 18px; stroke: var(--cm-gold); }

  .cm-searchbar {
    height: 58px;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    margin: 12px 0 18px;
    padding: 0 18px;
    border: 1px solid rgba(17,17,17,.11);
    border-radius: 18px;
    background: rgba(255,255,255,.78);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.74);
  }
  .cm-searchbar svg { width: 23px; height: 23px; color: #4d4842; }
  .cm-searchbar input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--cm-ink);
    font-size: 14px;
  }
  .cm-searchbar input::placeholder { color: #8a837b; }

  .cm-page-title,
  .cm-list-head h1,
  .cm-cart-title h1,
  .cm-checkout-title h1 {
    margin: 10px 0 6px;
    font-family: var(--cm-serif);
    font-size: 43px;
    line-height: .94;
    font-weight: 500;
    letter-spacing: -.045em;
  }
  .cm-page-subtitle,
  .cm-list-head p,
  .cm-cart-title p,
  .cm-checkout-title p {
    margin: 0;
    color: var(--cm-muted);
    font-size: 15px;
    line-height: 1.5;
  }

  .cm-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin: 30px 0 14px;
  }
  .cm-section-head h2 {
    margin: 0;
    font-family: var(--cm-serif);
    font-size: 29px;
    line-height: 1;
    font-weight: 500;
    letter-spacing: -.04em;
  }
  .cm-see-all {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #302c27;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
  }
  .cm-see-all svg { width: 18px; height: 18px; }

  .cm-btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 18px;
    border: 1px solid rgba(17,17,17,.14);
    border-radius: 13px;
    background: rgba(255,255,255,.8);
    color: #111;
    font-size: 14px;
    font-weight: 750;
    cursor: pointer;
  }
  .cm-btn--primary {
    background: #111;
    border-color: #111;
    color: #fff;
    box-shadow: 0 16px 34px rgba(0,0,0,.20);
  }
  .cm-btn--wide { width: 100%; min-height: 56px; border-radius: 14px; font-size: 16px; }

  .cm-hero-ref {
    position: relative;
    min-height: 330px;
    margin: 0 14px 12px;
    border-radius: 0 0 24px 24px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    padding: 24px 18px;
    background:
      radial-gradient(circle at 86% 28%, rgba(255,255,255,.96), transparent 18%),
      linear-gradient(110deg, #f2e2d1 0%, #fbf1e6 48%, #e9d7c4 100%);
  }
  .cm-hero-ref:after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 38%, rgba(255,255,255,.34), transparent 28%);
    pointer-events: none;
  }
  .cm-hero-ref__copy { position: relative; z-index: 2; max-width: 220px; }
  .cm-hero-ref__copy p {
    margin: 0 0 10px;
    color: var(--cm-gold);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .20em;
  }
  .cm-hero-ref__copy h1 {
    margin: 0;
    font-family: var(--cm-serif);
    font-size: 43px;
    line-height: .96;
    letter-spacing: -.055em;
    font-weight: 500;
  }
  .cm-hero-ref__copy span {
    display: block;
    margin: 16px 0 18px;
    color: #5c554d;
    font-size: 14px;
    line-height: 1.55;
  }
  .cm-hero-ref img {
    position: relative;
    z-index: 1;
    justify-self: center;
    max-width: 105%;
    max-height: 280px;
    object-fit: contain;
    filter: drop-shadow(0 24px 24px rgba(63,45,27,.18));
  }

  .cm-trust-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 0 18px;
    border-block: 1px solid rgba(17,17,17,.08);
    background: rgba(255,255,255,.48);
  }
  .cm-trust-strip div {
    min-height: 68px;
    display: grid;
    grid-template-columns: 32px 1fr;
    align-content: center;
    gap: 4px 8px;
    padding: 10px 8px;
    border-right: 1px solid rgba(17,17,17,.08);
  }
  .cm-trust-strip div:last-child { border-right: 0; }
  .cm-trust-strip svg { grid-row: span 2; width: 28px; height: 28px; color: var(--cm-gold); }
  .cm-trust-strip strong { font-size: 10.5px; line-height: 1.2; }
  .cm-trust-strip span { color: #756a60; font-size: 10px; line-height: 1.2; }

  .cm-brand-strip-ref {
    display: flex;
    align-items: center;
    gap: 24px;
    overflow-x: auto;
    padding: 22px 18px 18px;
    border-bottom: 1px solid rgba(17,17,17,.08);
    scrollbar-width: none;
  }
  .cm-brand-strip-ref::-webkit-scrollbar { display: none; }
  .cm-brand-strip-ref a {
    flex: 0 0 auto;
    color: #171512;
    font-family: var(--cm-serif);
    font-size: 19px;
    letter-spacing: .09em;
    white-space: nowrap;
  }
  .cm-brand-strip-ref a:first-child { font-family: var(--cm-sans); font-size: 17px; font-weight: 800; letter-spacing: .20em; }
  .cm-brand-arrow svg { width: 20px; height: 20px; }

  .cm-concern-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }
  .cm-concern-tile {
    min-height: 104px;
    display: grid;
    place-items: center;
    gap: 8px;
    padding: 12px 6px;
    border: 1px solid rgba(17,17,17,.09);
    border-radius: 18px;
    background: rgba(255,255,255,.62);
    box-shadow: 0 12px 24px rgba(20,15,10,.035);
    text-align: center;
    color: #5c554e;
  }
  .cm-concern-tile svg { width: 35px; height: 35px; color: var(--cm-gold); }
  .cm-concern-tile span { font-size: 13px; font-weight: 650; }

  .cm-product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 14px;
  }
  .cm-product-card {
    position: relative;
    min-width: 0;
    border: 1px solid rgba(17,17,17,.09);
    border-radius: 18px;
    background: rgba(255,255,255,.68);
    overflow: hidden;
    box-shadow: 0 15px 34px rgba(20,15,10,.055);
  }
  .cm-product-card__media {
    position: relative;
    height: 185px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #fbf4eb, #fffdf9);
    border-bottom: 1px solid rgba(17,17,17,.055);
  }
  .cm-product-card__media:after {
    content: "";
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    height: 28px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(115,87,55,.14), transparent 70%);
  }
  .cm-product-card__media img,
  .cm-product-card > a > img,
  .cm-product-card img {
    position: relative;
    z-index: 1;
    max-width: 88%;
    max-height: 158px;
    object-fit: contain;
    filter: drop-shadow(0 18px 16px rgba(31,24,18,.10));
  }
  .cm-product-card__body {
    padding: 12px 12px 14px;
    display: grid;
    gap: 7px;
  }
  .cm-product-card small {
    color: #686159;
    font-size: 11px;
    font-weight: 650;
    letter-spacing: .04em;
  }
  .cm-product-title h3 {
    margin: 0;
    min-height: 42px;
    color: #111;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.35;
    letter-spacing: -.025em;
  }
  .cm-card-price {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -.035em;
  }
  .cm-card-review {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #69615a;
    font-size: 11px;
  }
  .cm-stars { color: #c08a3c; letter-spacing: -.12em; }
  .cm-card-review em { font-style: normal; }
  .cm-card-stock-row { min-height: 20px; display: flex; align-items: center; }
  .cm-stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #777;
    font-size: 11px;
    font-weight: 650;
  }
  .cm-stock-badge:before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: currentColor;
  }
  .cm-stock-badge.is-in { color: var(--cm-success); }
  .cm-stock-badge.is-low { color: #d38414; }
  .cm-stock-badge.is-out { color: #8c8a86; }
  .cm-stock-badge.is-checking { color: #9a9189; }
  .cm-card-actions {
    display: grid;
    grid-template-columns: 1fr 46px;
    gap: 8px;
    align-items: center;
    margin-top: 2px;
  }
  .cm-card-cart,
  .cm-card-bag {
    min-height: 48px;
    border: 0;
    border-radius: 10px;
    background: #111;
    color: #fff;
    font-size: 13px;
    font-weight: 750;
    cursor: pointer;
  }
  .cm-card-bag {
    display: grid;
    place-items: center;
    background: #fff;
    color: #111;
    border: 1px solid rgba(17,17,17,.12);
  }
  .cm-card-bag svg { width: 22px; height: 22px; }
  .cm-card-cart:disabled,
  .cm-card-bag:disabled,
  .cm-btn:disabled {
    background: #dedbd6 !important;
    color: #777 !important;
    border-color: #dedbd6 !important;
    box-shadow: none !important;
    cursor: not-allowed;
  }
  .cm-stock-line,
  .cm-stock-notify-card {
    display: block;
    color: #6d665e;
    font-size: 11px;
    line-height: 1.35;
  }
  .cm-stock-notify-card { text-decoration: underline !important; text-underline-offset: 3px; }
  .cm-stock-line.is-in { color: var(--cm-success); }
  .cm-stock-line.is-low { color: #d38414; }
  .cm-stock-line.is-out { color: #777; }

  .favorite-btn {
    position: absolute;
    z-index: 5;
    top: 12px;
    right: 12px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #111;
    cursor: pointer;
  }
  .favorite-btn svg { width: 27px; height: 27px; }
  .favorite-btn.is-active svg { fill: #111; stroke: #111; }
  .cm-chip-label {
    position: absolute;
    z-index: 5;
    top: 12px;
    left: 10px;
    padding: 7px 10px;
    border-radius: 999px;
    background: #f2e2cf;
    color: #a66f28;
    font-size: 11px;
    font-weight: 700;
  }

  .cm-routine-teaser,
  .cm-explore-hero,
  .cm-account-card,
  .cm-help-card,
  .cm-empty-state,
  .cm-checkout-card,
  .cm-summary,
  .cm-free-shipping,
  .cm-coupon-row,
  .cm-cart-trust {
    border: 1px solid rgba(17,17,17,.09);
    border-radius: 18px;
    background: rgba(255,255,255,.72);
    box-shadow: var(--cm-shadow-soft);
  }

  .cm-routine-teaser {
    display: grid;
    gap: 16px;
    margin-top: 28px;
    padding: 20px;
  }
  .cm-routine-teaser p,
  .cm-explore-hero p {
    margin: 0 0 7px;
    color: var(--cm-gold);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .16em;
  }
  .cm-routine-teaser h2,
  .cm-explore-hero h2 {
    margin: 0;
    font-family: var(--cm-serif);
    font-size: 30px;
    line-height: 1;
    font-weight: 500;
    letter-spacing: -.04em;
  }
  .cm-routine-teaser span,
  .cm-explore-hero span { color: var(--cm-muted); font-size: 13px; line-height: 1.55; }

  .cm-search-filter-row {
    display: grid;
    grid-template-columns: minmax(0,1fr) 112px;
    gap: 12px;
    align-items: center;
    margin: 26px 0 18px;
  }
  .cm-search-filter-row .cm-searchbar { margin: 0; }
  .cm-filter-mini,
  .cm-list-controls button,
  .cm-list-head--fav button {
    height: 58px;
    border: 1px solid rgba(17,17,17,.10);
    border-radius: 17px;
    background: rgba(255,255,255,.68);
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
  }
  .cm-filter-mini svg,
  .cm-list-controls svg { width: 21px; height: 21px; }

  .cm-category-grid-ref {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }
  .cm-category-tile-ref {
    position: relative;
    min-height: 148px;
    display: grid;
    grid-template-rows: 1fr auto;
    gap: 6px;
    padding: 0 0 10px;
    border: 1px solid rgba(17,17,17,.09);
    border-radius: 18px;
    background: rgba(255,255,255,.62);
    overflow: hidden;
  }
  .cm-category-tile-ref span {
    display: grid;
    place-items: center;
    min-height: 106px;
    background: linear-gradient(145deg,#fbf4ec,#fffdf9);
  }
  .cm-category-tile-ref img { max-width: 90%; max-height: 92px; object-fit: contain; filter: drop-shadow(0 12px 12px rgba(17,17,17,.09)); }
  .cm-category-tile-ref b { padding: 0 8px; font-size: 12px; font-weight: 650; line-height: 1.25; }
  .cm-category-tile-ref svg { position: absolute; right: 6px; bottom: 9px; width: 16px; height: 16px; }

  .cm-brand-grid-ref {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
  }
  .cm-brand-tile {
    min-height: 62px;
    display: grid;
    place-items: center;
    padding: 8px;
    border: 1px solid rgba(17,17,17,.08);
    border-radius: 14px;
    background: rgba(255,255,255,.62);
  }
  .cm-brand-tile span {
    font-family: var(--cm-serif);
    font-size: 18px;
    line-height: 1;
    letter-spacing: .08em;
    text-align: center;
  }

  .cm-explore-hero { padding: 22px; background: linear-gradient(135deg,#fffdf9,#f3e3d1); }
  .cm-content-chips {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 18px 0 4px;
    scrollbar-width: none;
  }
  .cm-content-chips::-webkit-scrollbar { display: none; }
  .cm-content-chips a,
  .cm-tabs a,
  .cm-filter-chips span {
    flex: 0 0 auto;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    padding: 0 15px;
    border: 1px solid rgba(17,17,17,.10);
    border-radius: 999px;
    background: rgba(255,255,255,.65);
    color: #4d463f;
    font-size: 13px;
    font-weight: 700;
  }
  .cm-tabs { display: flex; gap: 0; margin: 0 0 18px; }
  .cm-tabs a { border-radius: 0; min-width: 95px; justify-content: center; }
  .cm-tabs a:first-child { border-radius: 16px 0 0 16px; }
  .cm-tabs a:last-child { border-radius: 0 16px 16px 0; }
  .cm-tabs .is-active,
  .cm-content-chips a:first-child { background: #f6eadb; color: #9a661f; border-color: rgba(181,138,74,.20); }

  .cm-article-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
  .cm-article-card {
    overflow: hidden;
    border: 1px solid rgba(17,17,17,.08);
    border-radius: 14px;
    background: rgba(255,255,255,.64);
  }
  .cm-article-card img { width: 100%; height: 90px; object-fit: contain; background: #fbf3e9; padding: 8px; }
  .cm-article-card strong { display: block; padding: 9px 9px 4px; font-size: 11px; line-height: 1.35; }
  .cm-article-card span { display: block; padding: 0 9px 10px; color: var(--cm-muted); font-size: 10px; }
  .cm-horizontal-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
  .cm-horizontal-product {
    min-height: 132px;
    display: grid;
    grid-template-columns: 86px 1fr;
    gap: 10px;
    padding: 10px;
    border: 1px solid rgba(17,17,17,.08);
    border-radius: 14px;
    background: rgba(255,255,255,.65);
  }
  .cm-horizontal-product img { width: 86px; height: 108px; object-fit: contain; background: #fbf4ec; border-radius: 10px; }
  .cm-horizontal-product small { color: #777; font-size: 9px; text-transform: uppercase; }
  .cm-horizontal-product b { display: block; margin: 3px 0; font-size: 12px; line-height: 1.25; }
  .cm-horizontal-product span { font-weight: 800; font-size: 12px; }

  .cm-list-head,
  .cm-list-head--fav {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin: 14px 0 18px;
  }
  .cm-list-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 14px;
  }
  .cm-filter-chips { display: flex; gap: 8px; overflow-x: auto; margin: 0 0 16px; scrollbar-width: none; }
  .cm-filter-chips::-webkit-scrollbar { display: none; }
  .cm-filter-chips span { min-height: 38px; color: #9a661f; background: #f6eadb; }
  .cm-mobile-filterbar {
    position: fixed;
    left: 18px;
    right: 18px;
    bottom: calc(86px + env(safe-area-inset-bottom));
    z-index: 74;
    height: 56px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid rgba(17,17,17,.13);
    border-radius: 999px;
    background: rgba(255,253,249,.96);
    box-shadow: 0 14px 34px rgba(17,17,17,.12);
    backdrop-filter: blur(20px);
    overflow: hidden;
  }
  .cm-mobile-filterbar button {
    border: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 750;
  }
  .cm-mobile-filterbar button + button { border-left: 1px solid rgba(17,17,17,.10); }
  .cm-mobile-filterbar svg { width: 22px; height: 22px; }

  .cm-routine-progress,
  .cm-checkout-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin: 12px 18px 16px;
    padding: 10px 12px;
    border: 1px solid rgba(17,17,17,.08);
    border-radius: 16px;
    background: rgba(255,255,255,.68);
  }
  .cm-checkout-steps { grid-template-columns: repeat(4, 1fr); margin-top: 0; }
  .cm-routine-progress span,
  .cm-checkout-steps span {
    position: relative;
    display: grid;
    place-items: center;
    gap: 5px;
    color: #6e665e;
    font-size: 12px;
    font-weight: 650;
  }
  .cm-routine-progress b,
  .cm-checkout-steps b {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(17,17,17,.13);
    border-radius: 999px;
    background: #fff;
    color: #111;
  }
  .cm-routine-progress .is-active b,
  .cm-checkout-steps .is-active b,
  .cm-checkout-steps .is-done b { background: #111; color: #fff; border-color: #111; }
  .cm-checkout-steps .is-active b { background: var(--cm-gold); border-color: var(--cm-gold); }

  .cm-routine-title-ref { text-align: center; padding: 12px 0 20px; }
  .cm-routine-title-ref h1 { margin: 0; font-family: var(--cm-serif); font-size: 38px; font-weight: 500; letter-spacing: -.045em; }
  .cm-routine-title-ref p { margin: 8px 0 0; color: var(--cm-muted); font-size: 14px; }
  .cm-step-block { margin: 0 0 22px; }
  .cm-step-block h2,
  .cm-routine-list h2,
  .cm-checkout-card h2 { margin: 0 0 12px; font-size: 19px; font-weight: 700; }
  .cm-select-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 12px; }
  .cm-select-grid--skin { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .cm-select-chip {
    min-height: 88px;
    display: grid;
    place-items: center;
    gap: 6px;
    border: 1px solid rgba(17,17,17,.10);
    border-radius: 16px;
    background: rgba(255,255,255,.62);
    color: #625a52;
    cursor: pointer;
  }
  .cm-select-chip svg { width: 30px; height: 30px; color: var(--cm-gold); }
  .cm-select-chip span { font-size: 13px; font-weight: 650; }
  .cm-select-chip.is-selected { border-color: #111; box-shadow: inset 0 0 0 1px #111; color: #111; background: #fff; }
  .cm-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin: 22px 0;
    padding: 3px;
    border-radius: 999px;
    background: #eee7df;
  }
  .cm-toggle button {
    height: 48px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #4d4741;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
  }
  .cm-toggle button.is-active { background: #fff; color: #111; box-shadow: 0 6px 18px rgba(17,17,17,.08); }
  .cm-toggle svg { width: 20px; height: 20px; }
  .cm-routine-list { display: grid; gap: 10px; margin: 0 0 20px; }
  .cm-routine-row {
    min-height: 78px;
    display: grid;
    grid-template-columns: 42px 64px 1fr 28px;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border: 1px solid rgba(17,17,17,.08);
    border-radius: 15px;
    background: rgba(255,255,255,.68);
  }
  .cm-routine-row > b {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    border: 1px solid rgba(17,17,17,.09);
    background: #fff;
    font-weight: 600;
  }
  .cm-routine-row img { width: 64px; height: 60px; object-fit: contain; border-radius: 12px; background: #fbf3ea; }
  .cm-routine-row strong { display: block; font-size: 15px; }
  .cm-routine-row small { display: block; margin-top: 3px; color: var(--cm-muted); font-size: 12px; line-height: 1.35; }
  .cm-routine-expert { display: flex; justify-content: center; align-items: center; gap: 4px; margin: 18px 0 6px; font-weight: 700; }

  .cm-pdp-hero-ref {
    position: relative;
    height: 460px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: radial-gradient(circle at 50% 42%, rgba(255,255,255,.95), transparent 28%), linear-gradient(135deg,#f3dfca,#fff5e9);
  }
  .cm-pdp-hero-ref:before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 45% 70%, rgba(255,255,255,.42), transparent 38%);
  }
  .cm-pdp-product {
    position: relative;
    z-index: 1;
    max-width: 78%;
    max-height: 390px;
    object-fit: contain;
    filter: drop-shadow(0 28px 24px rgba(45,32,20,.18));
  }
  .cm-pdp-floating {
    position: absolute;
    z-index: 3;
    width: 54px;
    height: 54px;
    border: 0;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.9);
    color: #111;
    box-shadow: 0 12px 26px rgba(17,17,17,.08);
  }
  .cm-pdp-floating--back { left: 22px; top: 30px; }
  .cm-pdp-floating--share { right: 22px; top: 30px; }
  .cm-pdp-floating--zoom { right: 22px; top: 96px; }
  .cm-gallery-count {
    position: absolute;
    right: 22px;
    bottom: 22px;
    z-index: 3;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.88);
    font-weight: 800;
  }
  .cm-pdp-info { padding: 24px 18px 120px; background: linear-gradient(180deg,#fffdf9,#fbf8f2); }
  .cm-pdp-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
  .cm-pdp-brand { color: var(--cm-muted); font-size: 14px; font-weight: 650; letter-spacing: .03em; }
  .cm-pdp-info h1 { margin: 8px 0 0; font-family: var(--cm-serif); font-size: 35px; line-height: 1; font-weight: 500; letter-spacing: -.04em; }
  .cm-pdp-meta { margin: 16px 0 10px; display: flex; align-items: center; gap: 8px; color: #5d554e; }
  .cm-pdp-price-line b { display: block; font-size: 28px; line-height: 1; }
  .cm-pdp-price-line span { display: block; margin-top: 9px; color: #4d4741; font-size: 14px; }
  .cm-pdp-benefits { display: grid; gap: 14px; margin: 24px 0; padding-top: 20px; border-top: 1px solid rgba(17,17,17,.09); }
  .cm-pdp-benefits p { display: flex; align-items: center; gap: 12px; margin: 0; color: #5e564e; font-size: 15px; line-height: 1.4; }
  .cm-pdp-benefits svg { width: 25px; height: 25px; color: var(--cm-gold); flex: 0 0 auto; }
  .cm-pdp-trust { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid rgba(17,17,17,.09); border-radius: 15px; overflow: hidden; background: rgba(255,255,255,.62); }
  .cm-pdp-trust span { min-height: 56px; display: flex; align-items: center; justify-content: center; gap: 8px; color: #5d554e; font-weight: 650; }
  .cm-pdp-trust span + span { border-left: 1px solid rgba(17,17,17,.09); }
  .cm-pdp-trust svg { width: 22px; height: 22px; color: var(--cm-gold); }
  .cm-pdp-actions { display: grid; grid-template-columns: 1fr 1.2fr; gap: 16px; align-items: center; margin: 24px 0 14px; }
  .cm-fav-inline,
  .cm-cart-fav {
    position: static;
    width: auto;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    background: transparent;
  }
  .cm-fav-inline:after { content: "Favorilere ekle"; font-weight: 750; }
  .cm-fav-inline.is-active:after { content: "Favorilerde"; }
  .cm-pdp-sticky-cta {
    position: fixed;
    left: 18px;
    right: 18px;
    bottom: calc(18px + env(safe-area-inset-bottom));
    z-index: 76;
    height: 64px;
    border-radius: 14px;
    font-size: 20px;
  }
  .cm-stock-notify { display: block; text-align: center; text-decoration: underline !important; text-underline-offset: 4px; margin-bottom: 18px; font-weight: 700; }
  .cm-accordion { display: grid; gap: 10px; margin: 22px 0; }
  .cm-acc-row { border: 1px solid rgba(17,17,17,.08); border-radius: 14px; background: rgba(255,255,255,.65); overflow: hidden; }
  .cm-acc-row summary { min-height: 56px; display: grid; grid-template-columns: 28px 1fr 24px; align-items: center; gap: 8px; padding: 0 14px; list-style: none; }
  .cm-acc-row summary::-webkit-details-marker { display: none; }
  .cm-acc-row p { margin: 0; padding: 0 14px 16px 50px; color: var(--cm-muted); font-size: 13px; line-height: 1.55; }

  .cm-cart-title { padding: 18px; }
  .cm-cart-list { display: grid; gap: 16px; padding: 0 18px; }
  .cm-cart-row {
    display: grid;
    grid-template-columns: 170px minmax(0,1fr);
    gap: 18px;
    padding: 16px;
    border: 1px solid rgba(17,17,17,.08);
    border-radius: 18px;
    background: rgba(255,255,255,.72);
    box-shadow: var(--cm-shadow-soft);
  }
  .cm-cart-row__img { display: grid; place-items: center; height: 150px; border-radius: 14px; background: linear-gradient(145deg,#fbf4ec,#fffdf9); }
  .cm-cart-row__img img { max-width: 92%; max-height: 132px; object-fit: contain; }
  .cm-cart-row__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
  .cm-cart-row small { color: #686159; font-size: 12px; font-weight: 650; }
  .cm-cart-row h2 { margin: 5px 0 4px; font-size: 17px; line-height: 1.25; }
  .cm-cart-row span { color: var(--cm-muted); font-size: 13px; }
  .cm-cart-row b { display: block; margin: 10px 0; font-size: 21px; }
  .cm-cart-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .cm-stepper { height: 52px; display: grid; grid-template-columns: 52px 44px 52px; align-items: center; border: 1px solid rgba(17,17,17,.09); border-radius: 17px; background: rgba(255,255,255,.62); overflow: hidden; }
  .cm-stepper button { height: 100%; border: 0; background: transparent; font-size: 24px; }
  .cm-stepper span { text-align: center; color: #111; font-size: 16px; font-weight: 750; }
  .cm-trash { width: 48px; height: 48px; border: 1px solid rgba(17,17,17,.10); border-radius: 999px; background: rgba(255,255,255,.7); display: grid; place-items: center; }
  .cm-trash svg { width: 22px; height: 22px; }
  .cm-coupon-row,
  .cm-free-shipping,
  .cm-summary { margin: 16px 18px 0; padding: 16px; }
  .cm-coupon-row { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 12px; }
  .cm-coupon-row > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 999px; border: 1px solid rgba(181,138,74,.28); color: var(--cm-gold); }
  .cm-coupon-row label { display: grid; gap: 5px; }
  .cm-coupon-row input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--cm-ink); font-size: 13px; }
  .cm-coupon-row button { border: 0; background: #111; color: #fff; border-radius: 10px; padding: 10px 12px; font-weight: 750; }
  .cm-coupon-row p { grid-column: 2 / -1; margin: 0; color: var(--cm-muted); font-size: 12px; }
  .cm-free-shipping div { display: flex; align-items: center; gap: 10px; }
  .cm-free-shipping svg { width: 28px; height: 28px; color: var(--cm-gold); }
  .cm-free-shipping span { display: block; height: 8px; margin: 14px 0 8px; border-radius: 999px; background: #eadfce; overflow: hidden; }
  .cm-free-shipping i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#b58a4a,#d7b178); }
  .cm-free-shipping p { margin: 0; color: #9a661f; font-weight: 700; }
  .cm-summary-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
  .cm-summary-title h2 { margin: 0; font-family: var(--cm-serif); font-size: 24px; font-weight: 500; }
  .cm-summary-row { display: flex; align-items: center; justify-content: space-between; padding: 9px 0; font-size: 14px; }
  .cm-summary-row.is-total { margin-top: 7px; padding-top: 16px; border-top: 1px solid rgba(17,17,17,.08); font-size: 20px; font-weight: 850; }
  .cm-cart-sticky,
  .cm-checkout-sticky {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 75;
    min-height: calc(88px + env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 14px;
    align-items: center;
    padding: 14px 18px calc(14px + env(safe-area-inset-bottom));
    background: rgba(255,253,249,.96);
    border-top: 1px solid rgba(17,17,17,.08);
    box-shadow: 0 -16px 36px rgba(17,17,17,.09);
    backdrop-filter: blur(22px);
  }
  .cm-cart-sticky small,
  .cm-checkout-sticky small { display: block; color: var(--cm-muted); font-size: 12px; }
  .cm-cart-sticky strong,
  .cm-checkout-sticky strong { display: block; margin-top: 3px; font-size: 22px; letter-spacing: -.04em; }
  .cm-cart-sticky .cm-btn,
  .cm-checkout-sticky .cm-btn { height: 58px; border-radius: 13px; font-size: 16px; }

  .cm-checkout-title { padding: 14px 18px 10px; }
  .cm-checkout-card { margin: 14px 18px 0; padding: 16px; }
  .cm-checkout-card__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
  .cm-checkout-card__head button { border: 0; background: transparent; color: var(--cm-gold); display: flex; align-items: center; gap: 5px; font-weight: 750; }
  .cm-address-card,
  .cm-delivery-method {
    position: relative;
    display: grid;
    grid-template-columns: 34px 1fr auto;
    align-items: center;
    gap: 12px;
    min-height: 76px;
    padding: 14px;
    border: 1px solid rgba(17,17,17,.09);
    border-radius: 14px;
    background: rgba(255,255,255,.58);
    margin-top: 10px;
  }
  .cm-address-card input,
  .cm-delivery-method input { position: absolute; opacity: 0; }
  .cm-address-card.is-selected,
  .cm-delivery-method.is-selected { border-color: rgba(181,138,74,.66); box-shadow: inset 0 0 0 1px rgba(181,138,74,.25); }
  .cm-radio-dot { width: 28px; height: 28px; border-radius: 999px; border: 1px solid rgba(17,17,17,.18); background: #fff; }
  .cm-address-card.is-selected .cm-radio-dot,
  .cm-delivery-method.is-selected .cm-radio-dot { background: #111; box-shadow: inset 0 0 0 8px #111; }
  .cm-address-card b,
  .cm-delivery-method b { display: block; font-size: 15px; }
  .cm-address-card em { padding: 5px 9px; border-radius: 999px; background: #f4e5d1; color: #9a661f; font-size: 11px; font-style: normal; }
  .cm-address-card small,
  .cm-delivery-method small { display: block; margin-top: 4px; color: var(--cm-muted); font-size: 12px; line-height: 1.35; }
  .cm-address-card i,
  .cm-address-edit { font-style: normal; color: #8a5c22; font-weight: 700; font-size: 12px; border: 0; background: transparent; padding: 6px 0; text-align: right; }
  .cm-delivery-method > svg { width: 31px; height: 31px; color: var(--cm-gold); }
  .cm-delivery-method em { font-style: normal; color: var(--cm-success); font-weight: 800; font-size: 13px; }
  .cm-field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .cm-field-grid label { display: grid; gap: 7px; color: #6f675f; font-size: 12px; font-weight: 650; }
  .cm-field-grid .is-full { grid-column: 1 / -1; }
  .cm-field-grid input,
  .cm-field-grid textarea {
    width: 100%;
    border: 1px solid rgba(17,17,17,.10);
    border-radius: 12px;
    background: rgba(255,255,255,.72);
    padding: 13px;
    color: #111;
    outline: 0;
  }
  .cm-check-row { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; margin-top: 14px; color: var(--cm-muted); font-size: 12px; line-height: 1.45; }
  .cm-check-row input { width: 20px; height: 20px; accent-color: #111; }
  .cm-checkout-status { margin: 10px 0 0; color: var(--cm-danger); font-size: 13px; }
  .cm-checkout-minis { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
  .cm-checkout-minis img { width: 48px; height: 54px; object-fit: contain; border-radius: 9px; background: #fbf3ea; }
  .cm-cart-trust { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; margin: 14px 18px 110px; overflow: hidden; }
  .cm-cart-trust div { padding: 12px 8px; text-align: center; border-right: 1px solid rgba(17,17,17,.08); }
  .cm-cart-trust div:last-child { border-right: 0; }
  .cm-cart-trust svg { width: 24px; height: 24px; color: var(--cm-gold); }
  .cm-cart-trust b { display: block; margin-top: 4px; font-size: 11px; }
  .cm-cart-trust span { display: block; color: var(--cm-muted); font-size: 9px; line-height: 1.2; }
  .cm-payment-card .cm-checkout-card__head span { color: var(--cm-muted); font-size: 12px; display: flex; align-items: center; gap: 5px; }
  .cm-card-mock {
    min-height: 150px;
    display: grid;
    align-content: center;
    gap: 8px;
    padding: 18px;
    border: 1px solid rgba(17,17,17,.10);
    border-radius: 16px;
    background: linear-gradient(135deg,#fff,#fbf2e6);
  }
  .cm-card-mock b { font-size: 19px; }
  .cm-card-mock span { color: var(--cm-muted); font-size: 13px; line-height: 1.45; }
  .cm-card-mock em { justify-self: end; color: #1c4eb2; font-style: normal; font-weight: 850; }
  .cm-provider-placeholder { margin-top: 12px; padding: 14px; border-radius: 14px; background: #fbf7f0; color: var(--cm-muted); font-size: 12px; line-height: 1.5; }
  .cm-provider-placeholder b { display: block; color: #111; margin-bottom: 5px; }
  .cm-segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .cm-segmented button { height: 54px; border: 1px solid rgba(17,17,17,.09); border-radius: 13px; background: rgba(255,255,255,.7); font-weight: 750; }
  .cm-segmented .is-active { border-color: var(--cm-gold); box-shadow: inset 0 0 0 1px var(--cm-gold); }
  .cm-legal-card { display: grid; gap: 0; overflow: hidden; padding: 0; }
  .cm-legal-card label { min-height: 58px; display: grid; grid-template-columns: 34px 1fr 24px; align-items: center; gap: 8px; padding: 0 16px; border-bottom: 1px solid rgba(17,17,17,.07); }
  .cm-legal-card label:last-of-type { border-bottom: 0; }
  .cm-legal-card input { width: 22px; height: 22px; accent-color: var(--cm-gold); }
  .cm-legal-card a { font-size: 13px; line-height: 1.35; }
  .cm-checkout-summary { margin: 14px 18px 110px; border: 1px solid rgba(17,17,17,.09); border-radius: 16px; background: rgba(255,255,255,.72); overflow: hidden; }
  .cm-checkout-summary > button { width: 100%; min-height: 62px; display: grid; grid-template-columns: 1fr auto 24px; align-items: center; gap: 8px; border: 0; background: transparent; padding: 0 16px; font-weight: 750; text-align: left; }
  .cm-checkout-summary__detail { padding: 0 16px 14px; }
  .cm-checkout-mini { display: grid; grid-template-columns: 54px 1fr; gap: 10px; margin: 10px 0; }
  .cm-checkout-mini img { width: 54px; height: 58px; object-fit: contain; border-radius: 10px; background: #fbf3ea; }
  .cm-checkout-mini strong { display: block; font-size: 13px; }
  .cm-checkout-mini span { color: var(--cm-muted); font-size: 12px; }

  .cm-profile-card { display: grid; grid-template-columns: 70px 1fr auto; gap: 14px; align-items: center; padding: 18px; margin: 18px 0 28px; border-radius: 18px; }
  .cm-avatar { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 999px; background: #f2ede5; font-family: var(--cm-serif); font-size: 29px; }
  .cm-profile-card strong { display: block; font-size: 17px; }
  .cm-profile-card span { display: block; color: var(--cm-muted); font-size: 12px; margin-top: 3px; }
  .cm-profile-card a { display: flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 750; }
  .cm-quick-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 30px; }
  .cm-quick-actions a,
  .cm-quick-actions button {
    height: 104px;
    border: 1px solid rgba(17,17,17,.08);
    border-radius: 16px;
    background: rgba(255,255,255,.70);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: #5f574f;
    font-size: 12px;
    font-weight: 650;
  }
  .cm-quick-actions svg { width: 33px; height: 33px; color: var(--cm-gold); }
  .cm-order-card { margin: 0 0 16px; padding: 16px; border: 1px solid rgba(17,17,17,.09); border-radius: 18px; background: rgba(255,255,255,.72); box-shadow: var(--cm-shadow-soft); }
  .cm-order-card__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }
  .cm-order-card__top strong { font-size: 18px; }
  .cm-order-card__top span { display: block; margin-top: 4px; color: var(--cm-muted); font-size: 12px; }
  .cm-order-card__top em { font-style: normal; border-radius: 999px; background: #f4e5d1; color: #9a661f; padding: 7px 12px; font-size: 12px; font-weight: 750; }
  .cm-order-product { display: grid; grid-template-columns: 112px 1fr; gap: 14px; }
  .cm-order-product img { width: 112px; height: 128px; object-fit: contain; border-radius: 14px; background: #fbf3ea; }
  .cm-order-product small { color: var(--cm-muted); font-size: 11px; font-weight: 750; text-transform: uppercase; }
  .cm-order-product b { display: block; margin: 5px 0; font-size: 14px; }
  .cm-order-product span { color: var(--cm-muted); font-size: 12px; }
  .cm-order-product strong { display: block; margin-top: 10px; font-size: 18px; }
  .cm-order-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
  .cm-order-actions a { height: 44px; border: 1px solid rgba(17,17,17,.20); border-radius: 12px; display: grid; place-items: center; font-weight: 750; font-size: 13px; }
  .cm-order-actions .is-dark { background: #111; color: #fff; border-color: #111; }
  .cm-help-card { display: grid; gap: 5px; padding: 16px; margin: 20px 0; }
  .cm-help-card strong { font-size: 16px; }
  .cm-help-card span { color: var(--cm-muted); font-size: 13px; }
  .cm-help-card a { margin-top: 8px; font-weight: 750; display: flex; align-items: center; justify-content: space-between; }
  .cm-info-list { display: grid; gap: 10px; padding: 16px; }
  .cm-info-list a { min-height: 44px; display: flex; align-items: center; border-bottom: 1px solid rgba(17,17,17,.06); }

  .cm-mobile-reviews { margin: 28px 0; }
  .cm-review-empty { padding: 16px; border: 1px solid rgba(17,17,17,.08); border-radius: 14px; background: rgba(255,255,255,.62); color: var(--cm-muted); }
  .cm-review-list { display: grid; gap: 12px; }
  .cm-review-card { padding: 14px; border: 1px solid rgba(17,17,17,.08); border-radius: 14px; background: rgba(255,255,255,.68); }
  .cm-review-card__head { display: flex; align-items: center; gap: 10px; }
  .cm-review-avatar { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 999px; background: #f2ede5; font-weight: 800; }
  .cm-verified { display: inline-flex; align-items: center; gap: 5px; margin-top: 10px; color: var(--cm-success); }
  .cm-verified svg { width: 16px; height: 16px; }
  .cm-review-card p { margin: 10px 0 0; color: var(--cm-muted); font-size: 13px; line-height: 1.55; }

  .cm-empty-state { margin: 24px 18px; padding: 24px; display: grid; gap: 12px; text-align: center; }
  .cm-empty-state--inline { margin: 0 0 16px; text-align: left; }
  .cm-empty-state strong { font-size: 18px; }
  .cm-empty-state span { color: var(--cm-muted); font-size: 14px; line-height: 1.5; }

  .cm-footer { margin: 30px -18px -26px; padding: 30px 18px 36px; border-radius: 26px 26px 0 0; background: #111; color: #fff; }
  .cm-footer-logo { font-family: var(--cm-serif); letter-spacing: .16em; font-size: 28px; margin-bottom: 8px; }
  .cm-footer p { color: rgba(255,255,255,.72); line-height: 1.6; }
  .cm-newsletter label { display: grid; gap: 7px; margin: 14px 0; }
  .cm-newsletter label span { color: rgba(255,255,255,.72); font-size: 12px; }
  .cm-newsletter input { width: 100%; border: 1px solid rgba(255,255,255,.16); border-radius: 13px; background: rgba(255,255,255,.08); color: #fff; padding: 15px; }
  .cm-newsletter button { width: 100%; height: 50px; border: 0; border-radius: 13px; background: #fff; color: #111; font-weight: 800; }
  .cm-footer-grid { display: flex; flex-wrap: wrap; gap: 10px 16px; margin-top: 18px; }
  .cm-footer-grid a { color: rgba(255,255,255,.82); font-size: 13px; }
  .cm-payment-row { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
  .cm-payment-row img { height: 20px; filter: brightness(0) invert(1); opacity: .88; }

  .cm-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 72;
    height: calc(78px + env(safe-area-inset-bottom));
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2px;
    background: rgba(255,253,249,.96);
    border-top: 1px solid rgba(17,17,17,.09);
    box-shadow: 0 -12px 30px rgba(17,17,17,.08);
    backdrop-filter: blur(22px);
  }
  .cm-bottom-nav a {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-radius: 12px;
    color: #2d2925;
    font-size: 10.5px;
    font-weight: 650;
    line-height: 1.15;
  }
  .cm-bottom-nav svg { width: 25px; height: 25px; }
  .cm-bottom-nav .is-active { color: #111; background: #f3eee6; font-weight: 800; }
  .cm-bottom-nav .is-active svg { fill: #111; stroke: #111; }

  #cm-mobile-sheet-root { display: block; }
  .cm-sheet-dim { position: fixed; inset: 0; z-index: 100; background: rgba(17,17,17,.30); backdrop-filter: blur(3px); }
  .cm-sheet {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 101;
    max-height: 82svh;
    overflow: auto;
    padding: 18px 18px calc(24px + env(safe-area-inset-bottom));
    border-radius: 26px 26px 0 0;
    background: #fffdf9;
    box-shadow: 0 -20px 50px rgba(17,17,17,.20);
  }
  .cm-sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
  .cm-sheet-head strong { font-family: var(--cm-serif); font-size: 30px; font-weight: 500; }
  .cm-sheet-head button { width: 42px; height: 42px; border: 0; border-radius: 999px; background: #f2ede5; font-size: 24px; }
  .cm-sheet h3 { margin: 20px 0 10px; font-size: 15px; }
  .cm-sheet-chips { display: flex; flex-wrap: wrap; gap: 8px; }
  .cm-sheet-chips button,
  .cm-sheet-option { min-height: 42px; border: 1px solid rgba(17,17,17,.10); border-radius: 999px; background: #fff; padding: 0 14px; font-weight: 700; }
  .cm-sheet-option { width: 100%; margin-bottom: 8px; text-align: left; border-radius: 14px; }
  .cm-sheet .is-selected { background: #111; color: #fff; border-color: #111; }

  .cm-mobile-toast {
    position: fixed;
    left: 50%;
    bottom: calc(104px + env(safe-area-inset-bottom));
    z-index: 150;
    transform: translateX(-50%) translateY(18px);
    opacity: 0;
    pointer-events: none;
    max-width: calc(100vw - 36px);
    padding: 12px 18px;
    border-radius: 999px;
    background: #111;
    color: #fff;
    box-shadow: 0 16px 38px rgba(17,17,17,.24);
    font-size: 13px;
    font-weight: 750;
    transition: opacity .2s ease, transform .2s ease;
  }
  .cm-mobile-toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }

  .cm-image-modal {
    position: fixed;
    inset: 0;
    z-index: 160;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(17,17,17,.76);
  }
  .cm-image-modal img { max-width: 100%; max-height: 86svh; object-fit: contain; border-radius: 18px; background: #fffdf9; }
  .cm-image-modal button { position: absolute; right: 18px; top: 18px; width: 44px; height: 44px; border: 0; border-radius: 999px; background: #fff; font-size: 24px; }

  @media (max-width: 430px) {
    .cm-wordmark { font-size: 29px; letter-spacing: .11em; }
    .cm-header { padding-left: 14px; padding-right: 14px; }
    .cm-page-inner { padding-left: 14px; padding-right: 14px; }
    .cm-hero-ref { margin-left: 0; margin-right: 0; border-radius: 0 0 22px 22px; min-height: 315px; grid-template-columns: 1.05fr .95fr; }
    .cm-hero-ref__copy h1 { font-size: 38px; }
    .cm-product-card__media { height: 170px; }
    .cm-product-card__media img, .cm-product-card img { max-height: 142px; }
    .cm-category-grid-ref { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
    .cm-category-tile-ref { min-height: 138px; }
    .cm-category-tile-ref span { min-height: 96px; }
    .cm-category-tile-ref b { font-size: 11px; }
    .cm-brand-grid-ref { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .cm-select-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .cm-select-grid--skin { grid-template-columns: repeat(4, minmax(0,1fr)); }
    .cm-cart-row { grid-template-columns: 130px minmax(0,1fr); gap: 12px; padding: 12px; }
    .cm-cart-row__img { height: 132px; }
    .cm-cart-row h2 { font-size: 15px; }
    .cm-cart-sticky, .cm-checkout-sticky { grid-template-columns: 136px 1fr; }
    .cm-field-grid { grid-template-columns: 1fr; }
    .cm-quick-actions { gap: 8px; }
    .cm-quick-actions a, .cm-quick-actions button { height: 90px; }
    .cm-pdp-hero-ref { height: 420px; }
    .cm-pdp-info h1 { font-size: 31px; }
  }

  @media (max-width: 375px) {
    .cm-wordmark { font-size: 25px; letter-spacing: .10em; }
    .cm-concern-grid { gap: 8px; }
    .cm-concern-tile { min-height: 94px; }
    .cm-concern-tile span { font-size: 11px; }
    .cm-product-card__media { height: 148px; }
    .cm-product-title h3 { font-size: 13px; }
    .cm-card-actions { grid-template-columns: 1fr; }
    .cm-card-bag { display: none; }
    .cm-trust-strip strong { font-size: 9.5px; }
    .cm-trust-strip span { font-size: 9px; }
  }

  @media (min-width: 560px) {
    .cm-mobile-page { max-width: 560px; margin: 0 auto; box-shadow: 0 0 0 1px rgba(17,17,17,.04); }
    .cm-bottom-nav, .cm-cart-sticky, .cm-checkout-sticky, .cm-pdp-sticky-cta, .cm-mobile-filterbar {
      left: 50%;
      right: auto;
      width: min(560px, 100vw);
      transform: translateX(-50%);
    }
    .cm-pdp-sticky-cta, .cm-mobile-filterbar { width: calc(min(560px, 100vw) - 36px); }
  }

  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  }
}

/* Phase 2 continuation — discovery refinements */
@media (max-width: 768px) {
  .cm-card-review--empty {
    color: #8a837b;
    letter-spacing: 0;
  }

  .cm-card-review--empty em {
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
  }

  .cm-routine-inspo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .cm-routine-inspo-card {
    min-height: 178px;
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-rows: 82px auto 1fr 20px;
    gap: 5px;
    padding: 10px;
    border: 1px solid rgba(17,17,17,.08);
    border-radius: 16px;
    background: rgba(255,255,255,.68);
    box-shadow: 0 12px 28px rgba(20, 15, 10, .045);
  }

  .cm-routine-inspo-card img {
    width: 100%;
    height: 82px;
    object-fit: contain;
    border-radius: 12px;
    background: #fbf3e9;
    padding: 7px;
  }

  .cm-routine-inspo-card strong {
    display: block;
    font-size: 12px;
    line-height: 1.25;
    letter-spacing: -.02em;
  }

  .cm-routine-inspo-card span {
    color: var(--cm-muted);
    font-size: 10px;
    line-height: 1.35;
  }

  .cm-routine-inspo-card svg {
    justify-self: end;
    align-self: end;
    width: 18px;
    height: 18px;
    color: var(--cm-gold);
  }

  .cm-sheet-actions {
    position: sticky;
    bottom: 0;
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 10px;
    margin-top: 18px;
    padding-top: 12px;
    background: linear-gradient(180deg, rgba(255,253,249,0), #fffdf9 24%);
  }

  .cm-sheet-actions .cm-btn {
    width: 100%;
  }
}

/* Phase 3 — account, routine and PDP refinements */
@media (max-width: 768px) {
  .cm-membership-badge {
    display: inline-flex !important;
    width: max-content;
    margin-top: 8px;
    padding: 5px 9px;
    border-radius: 999px;
    background: #f4e5d1;
    color: #9a661f !important;
    font-size: 11px !important;
    font-style: normal;
    font-weight: 800;
  }

  .cm-quick-actions--account {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cm-status-chip.is-preparing { background: #f4e5d1; color: #9a661f; }
  .cm-status-chip.is-shipped { background: #e8eef9; color: #315c93; }
  .cm-status-chip.is-delivered { background: #e6f2e6; color: #34733d; }
  .cm-status-chip.is-cancelled { background: #eee9e4; color: #7e5550; }

  .cm-order-actions--single { grid-template-columns: 1fr; }
  .cm-order-actions:not(.cm-order-actions--single):has(a:nth-child(3)) { grid-template-columns: repeat(3, 1fr); }

  .cm-select-chip { position: relative; }
  .cm-select-chip.is-selected:after {
    content: "✓";
    position: absolute;
    right: -6px;
    top: -7px;
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(17,17,17,.16);
  }

  .cm-routine-product-name {
    display: block;
    margin-top: 5px;
    color: #4f4841;
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.25;
  }

  .cm-routine-row .cm-stock-line {
    display: block;
    margin-top: 4px;
    font-size: 10.5px;
    font-style: normal;
    line-height: 1.25;
  }

  .cm-pdp-meta a {
    font-weight: 750;
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .cm-review-summary {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: -4px 0 12px;
    padding: 12px 14px;
    border: 1px solid rgba(17,17,17,.08);
    border-radius: 14px;
    background: rgba(255,255,255,.64);
  }

  .cm-review-summary strong {
    font-size: 26px;
    line-height: 1;
  }

  .cm-review-summary span {
    color: var(--cm-muted);
    font-size: 13px;
    font-weight: 650;
  }

  .cm-review-filters {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    margin: 0 0 14px;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .cm-review-filters::-webkit-scrollbar { display: none; }

  .cm-review-filters button {
    min-width: 48px;
    min-height: 38px;
    border: 1px solid rgba(17,17,17,.10);
    border-radius: 999px;
    background: rgba(255,255,255,.7);
    color: #4d4741;
    font-weight: 750;
  }

  .cm-review-filters button.is-active {
    border-color: #111;
    background: #111;
    color: #fff;
  }

  .cm-review-card__head span span {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
  }

  .cm-review-card__head em {
    color: var(--cm-muted);
    font-size: 11px;
    font-style: normal;
  }

  .cm-review-card[hidden] { display: none !important; }
}

/* Phase 4 continuation — cart and secure checkout reference refinements */
@media (max-width: 768px) {
  .cm-mobile-cart,
  .cm-mobile-checkout {
    background:
      radial-gradient(circle at 50% 0%, rgba(255,255,255,.98), transparent 36%),
      linear-gradient(180deg,#fffdf9 0%,#fbf8f2 60%,#f7efe5 100%);
  }

  .cm-mobile-cart .cm-cart-title,
  .cm-mobile-checkout .cm-checkout-title {
    padding-left: 22px;
    padding-right: 22px;
  }

  .cm-mobile-cart .cm-cart-title h1,
  .cm-mobile-checkout .cm-checkout-title h1 {
    font-size: 44px;
    letter-spacing: -.055em;
  }

  .cm-cart-row--ref {
    min-height: 178px;
    border-radius: 22px;
    background: rgba(255,255,255,.80);
    box-shadow: 0 18px 42px rgba(20,15,10,.055);
  }

  .cm-cart-row--ref .cm-cart-row__body {
    min-width: 0;
    display: grid;
    align-content: center;
  }

  .cm-cart-row--ref .cm-cart-row__img {
    min-height: 156px;
    border-radius: 18px;
    background: linear-gradient(145deg,#fbf4ec 0%,#fffdf9 100%);
  }

  .cm-cart-row--ref .cm-cart-row__top h2 a {
    text-decoration: none;
  }

  .cm-cart-row--ref .cm-cart-fav {
    width: 42px;
    height: 42px;
    padding: 0;
    flex: 0 0 auto;
  }

  .cm-cart-row--ref .cm-cart-fav svg {
    width: 24px;
    height: 24px;
  }

  .cm-cart-row--ref .cm-stock-line {
    margin-top: 10px;
    font-weight: 700;
    font-size: 13px;
  }

  .cm-cart-row--ref .cm-stock-line::before,
  .cm-card-stock-row .cm-stock-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    display: inline-block;
    margin-right: 7px;
    border-radius: 999px;
    background: currentColor;
    vertical-align: middle;
  }

  .cm-cart-row--ref .cm-stock-line.is-in { color: var(--cm-success); }
  .cm-cart-row--ref .cm-stock-line.is-low { color: #d27900; }
  .cm-cart-row--ref .cm-stock-line.is-out { color: #8f8981; }
  .cm-cart-row--ref .cm-stock-line.is-checking { color: #8a837b; }

  .cm-cart-warning {
    margin: 14px 18px 0;
    padding: 12px 14px;
    border: 1px solid rgba(185,74,72,.20);
    border-radius: 16px;
    background: rgba(185,74,72,.06);
    color: var(--cm-danger);
    font-size: 13px;
    line-height: 1.45;
  }

  .cm-coupon-row--ref {
    border-radius: 21px;
    background: rgba(255,255,255,.78);
  }

  .cm-coupon-row--ref input::placeholder {
    color: #6f6a63;
  }

  .cm-free-shipping {
    border-radius: 21px;
    background: rgba(255,255,255,.78);
  }

  .cm-free-shipping strong {
    font-size: 14px;
  }

  .cm-checkout-steps {
    position: sticky;
    top: 76px;
    z-index: 70;
    margin: 0;
    padding: 12px 18px 15px;
    border-width: 0 0 1px;
    border-radius: 0;
    background: rgba(255,253,249,.94);
    backdrop-filter: blur(22px) saturate(1.08);
  }

  .cm-checkout-steps span::after {
    content: '';
    position: absolute;
    left: calc(50% + 19px);
    right: calc(-50% + 19px);
    top: 15px;
    height: 1px;
    background: rgba(17,17,17,.12);
  }

  .cm-checkout-steps span:last-child::after { display: none; }

  .cm-checkout-card,
  .cm-summary--checkout,
  .cm-checkout-summary {
    border-radius: 21px;
    background: rgba(255,255,255,.80);
    box-shadow: 0 18px 42px rgba(20,15,10,.055);
  }

  .cm-checkout-card__head strong {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 18px;
  }

  .cm-checkout-card__head strong svg {
    width: 22px;
    height: 22px;
    color: var(--cm-gold);
  }

  .cm-address-card,
  .cm-delivery-method {
    border-radius: 18px;
    min-height: 88px;
    background: rgba(255,255,255,.64);
  }

  .cm-address-card small {
    line-height: 1.45;
  }

  .cm-address-edit {
    display: grid;
    justify-items: center;
    gap: 4px;
    min-width: 52px;
  }

  .cm-address-edit svg {
    width: 22px;
    height: 22px;
  }

  .cm-field-grid--delivery input,
  .cm-field-grid--delivery textarea {
    min-height: 52px;
    border-radius: 14px;
    font-size: 14px;
  }

  .cm-summary--checkout .cm-summary-title a {
    color: var(--cm-ink);
    font-weight: 750;
  }

  .cm-cart-trust {
    border-radius: 17px;
    background: rgba(255,255,255,.76);
    box-shadow: none;
  }

  .cm-payment-card .cm-checkout-card__head {
    margin-bottom: 14px;
  }

  .cm-card-mock--iyzico {
    min-height: 154px;
    grid-template-columns: 1fr auto;
    grid-template-areas: 'brand chip' 'copy copy' 'cards cards';
    align-content: start;
    background:
      radial-gradient(circle at 88% 18%, rgba(213,181,123,.28), transparent 18%),
      linear-gradient(135deg,#ffffff 0%,#fbf4e9 100%);
  }

  .cm-card-mock--iyzico b { grid-area: brand; font-size: 20px; }
  .cm-card-mock--iyzico b::after {
    content: '';
    display: inline-block;
    width: 38px;
    height: 28px;
    margin-left: 12px;
    border-radius: 6px;
    background: linear-gradient(135deg,#f3d9a3,#d5b57b);
    vertical-align: middle;
  }
  .cm-card-mock--iyzico span { grid-area: copy; max-width: 92%; }
  .cm-card-mock--iyzico em { grid-area: cards; justify-self: end; color: #164eb5; letter-spacing: .02em; }

  .cm-provider-placeholder {
    border: 1px solid rgba(17,17,17,.07);
    background: #fbf7f0;
  }

  .cm-segmented button {
    position: relative;
    min-height: 56px;
    border-radius: 16px;
  }

  .cm-segmented .is-active::after {
    content: '✓';
    position: absolute;
    right: 16px;
    top: 50%;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    transform: translateY(-50%);
    border-radius: 999px;
    background: var(--cm-gold);
    color: #fff;
    font-weight: 900;
  }

  .cm-legal-card label {
    min-height: 62px;
    cursor: pointer;
  }

  .cm-legal-card input {
    width: 24px;
    height: 24px;
    border-radius: 6px;
  }

  .cm-legal-card a {
    text-decoration: none;
  }

  .cm-checkout-summary__detail[hidden] { display: none !important; }

  .cm-checkout-sticky .cm-btn:disabled,
  .cm-cart-sticky .cm-btn:disabled,
  .cm-stepper button:disabled {
    cursor: not-allowed;
    opacity: .45;
  }

  .cm-secure-footnote {
    position: fixed;
    left: 18px;
    right: 18px;
    bottom: calc(3px + env(safe-area-inset-bottom));
    z-index: 77;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0;
    color: #6f675f;
    font-size: 12px;
    pointer-events: none;
  }

  .cm-secure-footnote svg {
    width: 15px;
    height: 15px;
  }

  .cm-mobile-checkout--payment .cm-checkout-summary {
    margin-bottom: 142px;
  }

  .cm-mobile-checkout--delivery .cm-cart-trust {
    margin-bottom: 126px;
  }

  @media (max-width: 430px) {
    .cm-mobile-cart .cm-cart-title h1,
    .cm-mobile-checkout .cm-checkout-title h1 { font-size: 40px; }
    .cm-cart-list { gap: 14px; }
    .cm-cart-row--ref { grid-template-columns: 42% minmax(0,1fr); }
    .cm-cart-row--ref .cm-cart-row__img { min-height: 134px; }
    .cm-coupon-row--ref { grid-template-columns: 42px 1fr 72px; gap: 10px; }
    .cm-coupon-row--ref button { padding-left: 8px; padding-right: 8px; }
    .cm-checkout-steps { top: 72px; padding-left: 12px; padding-right: 12px; }
    .cm-checkout-steps span { font-size: 11px; }
    .cm-checkout-steps b { width: 28px; height: 28px; }
    .cm-address-card,
    .cm-delivery-method { grid-template-columns: 30px 1fr auto; gap: 10px; padding: 12px; }
    .cm-cart-trust div { padding-left: 6px; padding-right: 6px; }
  }

  @media (max-width: 375px) {
    .cm-cart-row--ref { grid-template-columns: 39% minmax(0,1fr); gap: 10px; }
    .cm-cart-row--ref .cm-cart-row__img { min-height: 120px; }
    .cm-stepper { grid-template-columns: 42px 34px 42px; height: 46px; }
    .cm-cart-row--ref .cm-cart-fav { width: 34px; height: 34px; }
    .cm-trash { width: 42px; height: 42px; }
    .cm-cart-row h2 { font-size: 14px; }
    .cm-coupon-row--ref { grid-template-columns: 38px 1fr; }
    .cm-coupon-row--ref button { grid-column: 2; justify-self: start; }
    .cm-coupon-row p { grid-column: 1 / -1; }
  }

  @media (min-width: 560px) {
    .cm-secure-footnote {
      left: 50%;
      right: auto;
      width: min(560px, 100vw);
      transform: translateX(-50%);
    }
  }
}

/* Phase 5 final QA refinements — unified cards, legal/support readability, filter chips */
@media (max-width: 768px) {
  .cm-stock-notify-card[hidden],
  .cm-stock-notify[hidden] { display: none !important; }

  .cm-filter-chips button {
    flex: 0 0 auto;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 14px;
    border: 1px solid rgba(181, 138, 74, .22);
    border-radius: 999px;
    background: #f6eadb;
    color: #9a661f;
    font-size: 13px;
    font-weight: 750;
    cursor: pointer;
  }

  .cm-filter-chips button b {
    font-size: 15px;
    line-height: 1;
  }

  .cm-embedded-legal {
    display: grid;
    gap: 16px;
    margin: 14px 0 18px;
  }

  .cm-embedded-legal .legal-card {
    border-radius: 24px !important;
    box-shadow: var(--cm-shadow-soft) !important;
    background: rgba(255,255,255,.78) !important;
  }

  .cm-embedded-legal .legal-hero,
  .cm-embedded-legal .legal-body {
    padding: 20px !important;
  }

  .cm-embedded-legal .legal-hero h1 {
    font-size: 36px !important;
    line-height: .98 !important;
  }

  .cm-embedded-legal .legal-section {
    border-radius: 18px !important;
    padding: 16px !important;
  }

  .cm-embedded-legal .placeholder {
    grid-template-columns: 1fr !important;
  }

  .cm-info-list a {
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(17,17,17,.07);
    font-weight: 700;
  }

  .cm-info-list a:last-child { border-bottom: 0; }
}

/* 2026-05-13 Mobile polish pass: header/logo parity, compact search, desktop-matched hero, single product CTA, cart/account/menu/share refinements. */
@media (max-width: 768px) {
  .cm-header {
    min-height: 68px;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    padding: 12px 16px 9px;
  }
  .cm-wordmark {
    font-size: 24px !important;
    letter-spacing: .16em !important;
    font-weight: 500;
  }
  .cm-icon-btn { width: 40px; height: 40px; }
  .cm-icon-btn svg { width: 23px; height: 23px; }

  .cm-searchbar {
    position: relative;
    height: 52px;
    margin: 10px 0 16px;
    border-radius: 16px;
    padding: 0 14px;
  }
  .cm-searchbar .cs-live-search {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: calc(100% + 8px) !important;
    max-height: min(390px, 58vh) !important;
    padding: 8px !important;
    border-radius: 18px !important;
    box-shadow: 0 18px 42px rgba(25,18,12,.16) !important;
    background: rgba(255,253,249,.98) !important;
  }
  .cm-searchbar .cs-search-group { padding: 4px 0 6px; }
  .cm-searchbar .cs-search-group__title { margin: 4px 7px 5px; font-size: 9px; }
  .cm-searchbar .cs-search-row {
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 8px;
    padding: 7px;
    border-radius: 13px;
  }
  .cm-searchbar .cs-search-row img { width: 38px; height: 38px; border-radius: 11px; }
  .cm-searchbar .cs-search-row strong { font-size: 12px; -webkit-line-clamp: 1; }
  .cm-searchbar .cs-search-row span { font-size: 10px; margin-top: 2px; }
  .cm-searchbar .cs-search-row b { font-size: 11px; }

  .cm-hero-ref--desktop-match {
    min-height: 600px;
    margin: 0;
    border-radius: 0 0 26px 26px;
    display: block;
    padding: 34px 18px 320px;
    overflow: hidden;
    background:
      linear-gradient(180deg, rgba(250,246,240,.99) 0%, rgba(250,246,240,.90) 42%, rgba(250,246,240,.20) 72%, rgba(239,229,217,.10) 100%),
      url('/assets/img/hero/hero-bg.png') 68% bottom / auto 100% no-repeat;
  }
  .cm-hero-ref--desktop-match::after {
    background: radial-gradient(circle at 18% 24%, rgba(255,255,255,.42), transparent 34%);
  }
  .cm-hero-ref--desktop-match .cm-hero-ref__copy { max-width: none; width: 100%; }
  .cm-hero-ref--desktop-match .cm-hero-ref__copy p {
    color: #15110d;
    font-size: 10px;
    letter-spacing: .24em;
    margin-bottom: 22px;
  }
  .cm-hero-ref--desktop-match .cm-hero-ref__copy h1 {
    max-width: 8.9ch;
    font-size: clamp(52px, 15vw, 74px);
    line-height: .83;
    letter-spacing: -.055em;
    color: #0d0a08;
  }
  .cm-hero-ref--desktop-match .cm-hero-ref__copy h1 span { display: block; }
  .cm-hero-ref--desktop-match .cm-hero-ref__copy h1 em {
    position: relative;
    display: inline-block;
    font-style: normal;
    color: #7c5a37;
    overflow: hidden;
  }
  .cm-hero-ref--desktop-match .cm-hero-ref__copy h1 em::after {
    content: '';
    position: absolute;
    inset: 0 -40%;
    background: linear-gradient(105deg, transparent 0%, rgba(255,247,232,.78) 42%, transparent 58%);
    transform: translateX(-100%);
    animation: cmHeroShimmer 4.8s ease-in-out infinite;
    mix-blend-mode: screen;
  }
  .cm-hero-script {
    display: block;
    margin-top: 7px;
    font-style: italic;
    font-weight: 300;
    letter-spacing: -.06em;
  }
  .cm-hero-ref--desktop-match .cm-hero-ref__copy > span {
    max-width: 34ch;
    margin: 22px 0 22px;
    font-size: 14px;
    line-height: 1.65;
    color: #5e554b;
  }
  .cm-hero-ref--desktop-match .cm-btn--primary {
    width: 100%;
    min-height: 54px;
    border-radius: 10px;
    color: #fff !important;
    background: #111 !important;
    border-color: #111 !important;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 12px;
  }

  .cm-card-actions,
  .cm-card-actions--single { grid-template-columns: 1fr !important; }
  .cm-card-bag { display: none !important; }
  .cm-card-cart { width: 100%; }
  .cm-stock-notify-card { display: none !important; }
  .cm-card-stock-row + .cm-card-actions { margin-top: 4px; }
  .cm-stock-line { min-height: 16px; }
  .cm-product-card__body { gap: 6px; }

  .cm-faq-section { margin-top: 4px; }
  .cm-faq-list { display: grid; gap: 10px; }
  .cm-faq-item {
    border: 1px solid rgba(17,17,17,.09);
    border-radius: 16px;
    background: rgba(255,255,255,.70);
    overflow: hidden;
  }
  .cm-faq-item summary {
    min-height: 56px;
    display: grid;
    grid-template-columns: minmax(0,1fr) 24px;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    list-style: none;
    font-weight: 750;
  }
  .cm-faq-item summary::-webkit-details-marker { display: none; }
  .cm-faq-item summary svg { width: 20px; height: 20px; transition: transform .18s ease; }
  .cm-faq-item[open] summary svg { transform: rotate(90deg); }
  .cm-faq-item p { margin: 0; padding: 0 14px 16px; color: var(--cm-muted); font-size: 13px; line-height: 1.55; }

  .cm-footer {
    margin: 34px -18px -26px;
    padding: 32px 18px calc(42px + env(safe-area-inset-bottom));
    border-radius: 26px 26px 0 0;
    background: #111;
    color: #fff;
  }
  .cm-footer-logo { font-size: 24px; letter-spacing: .18em; }
  .cm-footer-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .cm-footer-grid a {
    min-height: 42px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,.10);
  }
  .cm-payment-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 11px;
    margin-top: 20px;
  }
  .cm-payment-row img {
    height: 22px !important;
    max-width: 72px;
    object-fit: contain;
    filter: brightness(0) invert(1) !important;
    opacity: .92;
  }

  .cm-mobile-cart .cm-cart-title { padding: 14px 18px 10px; }
  .cm-cart-list { gap: 12px !important; padding: 0 14px !important; }
  .cm-cart-row--ref {
    grid-template-columns: 112px minmax(0,1fr) !important;
    gap: 12px !important;
    padding: 12px !important;
    min-height: 0 !important;
    border-radius: 20px !important;
  }
  .cm-cart-row--ref .cm-cart-row__img {
    width: 112px;
    min-height: 128px !important;
    height: 128px !important;
    border-radius: 16px;
  }
  .cm-cart-row__img img { max-height: 112px !important; }
  .cm-cart-row__top { gap: 6px; }
  .cm-cart-row h2 { font-size: 14.5px !important; line-height: 1.24; margin: 4px 0 3px; }
  .cm-cart-row small { font-size: 10px; letter-spacing: .06em; }
  .cm-cart-row b { font-size: 17px; margin: 7px 0; }
  .cm-cart-controls { align-items: center; gap: 8px; }
  .cm-stepper { grid-template-columns: 38px 32px 38px !important; height: 44px !important; border-radius: 14px; }
  .cm-stepper button { font-size: 20px; }
  .cm-trash { width: 42px; height: 42px; }
  .cm-cart-row--ref .cm-cart-fav { width: 36px !important; height: 36px !important; }
  .cm-cart-row--ref .cm-stock-line { margin-top: 7px; font-size: 11.5px; }

  .cm-pdp-floating--share svg { width: 25px; height: 25px; }
  .cm-pdp-stock-line {
    margin: 8px 0 16px;
    padding: 11px 14px;
    border-radius: 14px;
    background: rgba(255,255,255,.68);
    border: 1px solid rgba(17,17,17,.08);
    font-weight: 700;
    text-align: center;
  }

  .cm-sheet-dim--drawer { background: rgba(17,17,17,.58); backdrop-filter: blur(3px); }
  .cm-mobile-drawer {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 101;
    width: min(88vw, 366px);
    height: 100svh;
    overflow-y: auto;
    padding: 28px 24px calc(26px + env(safe-area-inset-bottom));
    border-radius: 0 30px 30px 0;
    background:
      radial-gradient(circle at 60% 0%, rgba(255,255,255,.92), transparent 32%),
      linear-gradient(180deg,#fffdf9,#fbf6ef 64%,#fffaf4);
    box-shadow: 24px 0 60px rgba(0,0,0,.24);
  }
  .cm-drawer-head {
    display: grid;
    grid-template-columns: 44px minmax(0,1fr) auto;
    align-items: center;
    gap: 12px;
    margin-bottom: 34px;
  }
  .cm-drawer-head > button {
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    color: #111;
    font-size: 36px;
    line-height: 1;
    font-weight: 250;
  }
  .cm-drawer-head > a {
    justify-self: center;
    font-family: var(--cm-serif);
    font-size: 16px;
    letter-spacing: .30em;
  }
  .cm-drawer-head > div { display: flex; align-items: center; gap: 8px; }
  .cm-drawer-icon { position: relative; width: 38px; height: 38px; display: grid; place-items: center; }
  .cm-drawer-icon svg { width: 25px; height: 25px; }
  .cm-drawer-links { display: grid; }
  .cm-drawer-links--primary { margin-bottom: 26px; border-bottom: 1px solid rgba(17,17,17,.10); }
  .cm-drawer-links--secondary { padding-top: 4px; border-bottom: 1px solid rgba(17,17,17,.10); }
  .cm-drawer-links a {
    min-height: 68px;
    display: grid;
    grid-template-columns: 42px minmax(0,1fr) 24px;
    align-items: center;
    gap: 14px;
    border-top: 1px solid rgba(17,17,17,.08);
    font-size: 19px;
    letter-spacing: -.025em;
  }
  .cm-drawer-links--secondary a { min-height: 52px; font-size: 14px; }
  .cm-drawer-links a:first-child { border-top: 0; }
  .cm-drawer-links a > svg:first-child { color: var(--cm-gold); width: 28px; height: 28px; }
  .cm-drawer-links--secondary a > svg:first-child { color: #6f6a63; width: 24px; height: 24px; }
  .cm-drawer-links a > svg:last-child { justify-self: end; width: 20px; height: 20px; color: #111; }
  .cm-drawer-social { display: grid; place-items: center; margin: 26px 0 20px; }
  .cm-drawer-social a { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 999px; border: 1px solid rgba(181,138,74,.22); color: var(--cm-gold); background: rgba(255,255,255,.52); }
  .cm-drawer-social svg { width: 28px; height: 28px; }
  .cm-drawer-legal { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; color: #333; font-size: 12px; }
  .cm-drawer-copy { margin: 18px 0 0; text-align: center; color: #8c857d; font-size: 12px; }

  .cm-mobile-account--premium .cm-page-inner { padding-left: 18px; padding-right: 18px; }
  .cm-mobile-account--premium .cm-page-title { margin-top: 22px; margin-bottom: 20px; }
  .cm-account-profile-card {
    display: grid;
    grid-template-columns: 92px minmax(0,1fr) 28px;
    gap: 14px;
    align-items: center;
    padding: 18px;
    border: 1px solid rgba(181,138,74,.22);
    border-radius: 22px;
    background: rgba(255,255,255,.74);
    box-shadow: 0 18px 42px rgba(20,15,10,.055);
  }
  .cm-account-avatar {
    width: 92px;
    height: 92px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: linear-gradient(145deg,#d9b99a,#fff4e8);
    color: #6f4d2b;
    font-family: var(--cm-serif);
    font-size: 28px;
    font-weight: 650;
  }
  .cm-account-profile-main { min-width: 0; }
  .cm-account-profile-main strong { display: block; font-family: var(--cm-serif); font-size: 27px; line-height: 1.05; font-weight: 600; }
  .cm-account-profile-main span { display: block; margin-top: 6px; color: var(--cm-muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; }
  .cm-account-profile-main em { display: inline-flex; align-items: center; gap: 7px; height: 34px; margin-top: 10px; padding: 0 13px; border-radius: 999px; background: #eee9e4; color: #4f4943; font-style: normal; font-size: 12px; font-weight: 800; }
  .cm-account-profile-main em svg { width: 17px; height: 17px; color: var(--cm-gold); }
  .cm-account-profile-main small { display: block; margin-top: 9px; color: #5f5851; font-size: 12px; }
  .cm-account-profile-card > a { display: grid; place-items: center; }
  .cm-account-action-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 10px;
    margin: 16px 0 18px;
  }
  .cm-account-action-grid a {
    min-height: 104px;
    display: grid;
    place-items: center;
    gap: 8px;
    padding: 12px 6px;
    border: 1px solid rgba(17,17,17,.08);
    border-radius: 18px;
    background: rgba(255,255,255,.72);
    font-size: 12px;
    font-weight: 750;
    text-align: center;
  }
  .cm-account-action-grid svg { width: 30px; height: 30px; color: var(--cm-gold); }
  .cm-account-last-order {
    position: relative;
    display: grid;
    grid-template-columns: 104px minmax(0,1fr);
    gap: 14px;
    align-items: center;
    padding: 14px;
    border: 1px solid rgba(181,138,74,.20);
    border-radius: 22px;
    background: rgba(255,255,255,.78);
    box-shadow: 0 18px 42px rgba(20,15,10,.055);
  }
  .cm-account-last-order__media { height: 116px; border-radius: 18px; display: grid; place-items: center; background: #f7ecdf; }
  .cm-account-last-order__media img { max-width: 88%; max-height: 104px; object-fit: contain; }
  .cm-account-last-order__body { min-width: 0; }
  .cm-account-last-order__body small { color: var(--cm-gold); font-size: 10px; letter-spacing: .14em; font-weight: 850; }
  .cm-account-last-order__body strong { display: block; margin-top: 6px; font-family: var(--cm-serif); font-size: 24px; line-height: 1; }
  .cm-account-last-order__body span,
  .cm-account-last-order__body p { display: block; margin: 8px 0 0; color: var(--cm-muted); font-size: 12.5px; line-height: 1.45; }
  .cm-account-last-order__body p { color: #342d27; }
  .cm-account-last-order .cm-status-chip { position: absolute; right: 14px; top: 18px; }
  .cm-account-last-order > a { grid-column: 1 / -1; min-height: 52px; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 15px; background: #f5ecdf; font-weight: 800; }
  .cm-account-last-order--empty { grid-template-columns: 1fr; text-align: center; }
  .cm-account-list { margin-top: 22px; }
  .cm-account-list h2,
  .cm-account-section-head h2 { margin: 0 0 12px; font-family: var(--cm-serif); font-size: 27px; line-height: 1; font-weight: 500; letter-spacing: -.04em; }
  .cm-account-list > a {
    min-height: 58px;
    display: grid;
    grid-template-columns: 34px minmax(0,1fr) auto 22px;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    border: 1px solid rgba(17,17,17,.08);
    border-bottom: 0;
    background: rgba(255,255,255,.70);
  }
  .cm-account-list > a:first-of-type { border-radius: 18px 18px 0 0; }
  .cm-account-list > a:last-child { border-bottom: 1px solid rgba(17,17,17,.08); border-radius: 0 0 18px 18px; }
  .cm-account-list > a > svg:first-child { width: 24px; height: 24px; color: var(--cm-gold); }
  .cm-account-list > a > svg:last-child { width: 20px; height: 20px; justify-self: end; }
  .cm-account-list span { font-weight: 650; }
  .cm-account-list small { color: var(--cm-muted); font-size: 12px; }
  .cm-account-section-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 24px 0 12px; }
  .cm-account-section-head a { display: flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 800; }
  .cm-account-skin > div:last-child {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 10px;
    padding: 12px;
    border: 1px solid rgba(181,138,74,.18);
    border-radius: 20px;
    background: rgba(255,255,255,.68);
  }
  .cm-account-skin span { min-height: 86px; display: grid; place-items: center; gap: 4px; padding: 10px 4px; border-radius: 16px; background: rgba(255,255,255,.68); text-align: center; }
  .cm-account-skin span svg { width: 28px; height: 28px; color: var(--cm-gold); }
  .cm-account-skin strong { font-size: 13px; }
  .cm-account-skin small { color: var(--cm-muted); font-size: 11px; }
  .cm-account-logout,
  .cm-account-login {
    width: 100%;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
    border: 1px solid rgba(164,58,43,.22);
    border-radius: 16px;
    background: rgba(255,255,255,.68);
    color: #9d4d36;
    font-weight: 850;
  }
  .cm-account-login { color: #fff; background: #111; border-color: #111; }
  .cm-account-logout svg { width: 22px; height: 22px; }

  .cm-share-sheet { border-radius: 28px 28px 0 0; }
  .cm-share-preview { display: grid; grid-template-columns: 76px minmax(0,1fr); gap: 12px; align-items: center; padding: 12px; border-radius: 18px; background: #f8efe5; margin-bottom: 14px; }
  .cm-share-preview img { width: 76px; height: 76px; object-fit: contain; border-radius: 14px; background: #fff; }
  .cm-share-preview small { display: block; color: var(--cm-muted); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
  .cm-share-preview b { display: block; margin-top: 4px; font-size: 14px; line-height: 1.3; }
  .cm-share-preview span { display: block; margin-top: 5px; font-weight: 850; }
  .cm-share-actions { display: grid; gap: 10px; }
  .cm-share-actions button,
  .cm-share-actions a { min-height: 56px; display: grid; grid-template-columns: 32px minmax(0,1fr); align-items: center; gap: 10px; padding: 0 14px; border: 1px solid rgba(17,17,17,.08); border-radius: 16px; background: #fff; color: #111; text-align: left; font-weight: 800; }
  .cm-share-actions svg { width: 24px; height: 24px; color: var(--cm-gold); }
}

@keyframes cmHeroShimmer {
  0%, 64% { transform: translateX(-105%); opacity: 0; }
  72% { opacity: .82; }
  100% { transform: translateX(105%); opacity: 0; }
}


/* 2026-05-14 senior mobile audit fix layer — mobile-only containment and premium density corrections */
@media (max-width: 768px) {
  /* Pages without a <main> used to keep fallback desktop/mobile shells visible under the new mobile layer. */
  body.cm-mobile-active > :not(#cm-mobile-redesign-root):not(#cm-mobile-sheet-root):not(.cm-mobile-toast):not(script):not(style):not(link):not(noscript) {
    display: none !important;
  }

  body.cm-mobile-active main > :not(#cm-mobile-redesign-root):not(script):not(style):not(link):not(noscript) {
    display: none !important;
  }

  #cm-mobile-redesign-root,
  #cm-mobile-redesign-root * {
    max-width: 100%;
  }

  .cm-header {
    min-height: 68px;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    padding-top: 12px;
    padding-bottom: 9px;
  }

  .cm-wordmark {
    font-size: clamp(23px, 6.8vw, 29px);
    letter-spacing: .105em;
  }

  .cm-icon-btn,
  .cm-drawer-icon,
  .cm-drawer-head > button {
    min-width: 44px;
    min-height: 44px;
  }

  .cm-hero-ref--desktop-match {
    min-height: 344px;
    grid-template-columns: minmax(0, 1.02fr) minmax(112px, .8fr);
    gap: 8px;
    padding: 22px 16px 20px;
  }

  .cm-hero-ref__copy {
    max-width: 100%;
  }

  .cm-hero-ref__copy h1 {
    font-size: clamp(35px, 10.8vw, 43px);
  }

  .cm-hero-ref__copy .cm-btn {
    min-height: 50px;
    padding-inline: 16px;
    background: #111 !important;
    color: #fff !important;
    border-color: #111 !important;
  }

  .cm-hero-ref__visual {
    position: relative;
    z-index: 1;
    align-self: end;
    justify-self: center;
    width: min(150px, 38vw);
    aspect-ratio: 1 / 1.36;
    display: grid;
    place-items: end center;
    pointer-events: none;
  }

  .cm-hero-ref__visual::before {
    content: "";
    position: absolute;
    left: 7%;
    right: 7%;
    bottom: 4px;
    height: 18px;
    border-radius: 999px;
    background: radial-gradient(ellipse, rgba(72,50,30,.17), transparent 70%);
    filter: blur(1px);
  }

  .cm-hero-ref__visual img {
    position: relative;
    z-index: 1;
    width: 100%;
    max-height: 245px;
    object-fit: contain;
    filter: drop-shadow(0 24px 22px rgba(49,35,22,.19));
  }

  .cm-category-grid-ref {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px;
  }

  .cm-category-tile-ref {
    min-height: 154px;
  }

  .cm-category-tile-ref span {
    min-height: 106px;
  }

  .cm-routine-inspo-grid,
  .cm-horizontal-grid {
    grid-template-columns: 1fr !important;
  }

  .cm-article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .cm-account-action-grid,
  .cm-quick-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .cm-account-action-grid a,
  .cm-quick-actions a,
  .cm-quick-actions button {
    min-height: 88px;
    height: auto;
  }

  .cm-search-filter-row {
    grid-template-columns: 1fr;
  }

  .cm-search-filter-row .cm-filter-mini {
    width: 100%;
  }

  .cs-live-search,
  .cm-live-results {
    position: fixed !important;
    left: 14px !important;
    right: 14px !important;
    top: 124px !important;
    max-height: min(60svh, 520px) !important;
    border-radius: 20px !important;
    z-index: 120 !important;
  }

  .cm-mobile-drawer {
    width: min(86vw, 354px);
    padding: 24px 20px calc(24px + env(safe-area-inset-bottom));
    transition: transform .32s cubic-bezier(.22,.61,.36,1), opacity .32s ease;
  }

  .cm-drawer-head {
    margin-bottom: 24px;
  }

  .cm-drawer-head > a {
    font-size: 15px;
    letter-spacing: .24em;
  }

  .cm-drawer-links a {
    min-height: 60px;
    font-size: 16px;
  }

  .cm-drawer-links--secondary a {
    min-height: 50px;
    font-size: 13px;
  }

  .cm-payment-card .cm-checkout-card__head,
  .cm-checkout-card__head {
    align-items: flex-start;
  }

  .cm-payment-card .cm-checkout-card__head {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cm-card-mock--iyzico {
    background: #111 !important;
    border-color: rgba(255,255,255,.10) !important;
    color: #fff !important;
    box-shadow: 0 18px 38px rgba(0,0,0,.18);
  }

  .cm-card-mock--iyzico span,
  .cm-card-mock--iyzico em {
    color: rgba(255,255,255,.76) !important;
  }

  .cm-legal-card label {
    min-height: 64px;
    grid-template-columns: 28px minmax(0,1fr) 20px;
    gap: 10px;
    padding: 10px 14px;
  }

  .cm-legal-card input,
  .cm-check-row input {
    width: 20px;
    height: 20px;
  }

  .cm-cart-row__body,
  .cm-order-product > div,
  .cm-account-profile-main {
    min-width: 0;
  }

  .cm-cart-row h2 a,
  .cm-order-product b,
  .cm-account-profile-main span {
    overflow-wrap: anywhere;
  }

  .cm-footer {
    margin-top: 26px;
    padding-bottom: calc(104px + env(safe-area-inset-bottom));
  }

  .cm-newsletter {
    display: none !important;
  }
}

@media (max-width: 430px) {
  .cm-header {
    padding-left: 12px;
    padding-right: 12px;
  }

  .cm-header__right {
    gap: 2px;
  }

  .cm-icon-btn {
    width: 40px;
    height: 40px;
  }

  .cm-hero-ref--desktop-match {
    margin-inline: 0;
    min-height: 338px;
    grid-template-columns: minmax(0, 1fr) minmax(96px, .66fr);
  }

  .cm-hero-ref__copy span:not(.cm-hero-script) {
    margin: 12px 0 14px;
    font-size: 13px;
    line-height: 1.48;
  }

  .cm-hero-ref__visual {
    width: min(128px, 35vw);
  }

  .cm-product-grid {
    gap: 14px 10px;
  }

  .cm-cart-row {
    grid-template-columns: 112px minmax(0, 1fr) !important;
    gap: 10px !important;
  }

  .cm-cart-row__img {
    height: 126px !important;
  }

  .cm-cart-controls {
    align-items: stretch;
  }

  .cm-checkout-sticky,
  .cm-cart-sticky {
    grid-template-columns: minmax(112px, .72fr) minmax(0, 1fr) !important;
    gap: 10px;
    padding-inline: 14px;
  }

  .cm-checkout-sticky .cm-btn,
  .cm-cart-sticky .cm-btn {
    font-size: 14px;
  }

  .cm-account-profile-card {
    grid-template-columns: 68px minmax(0,1fr) 24px;
    padding: 14px;
  }

  .cm-account-avatar {
    width: 68px;
    height: 68px;
    font-size: 22px;
  }

  .cm-account-profile-main strong {
    font-size: 23px;
  }
}

@media (max-width: 375px) {
  .cm-wordmark {
    font-size: 22px !important;
    letter-spacing: .085em !important;
  }

  .cm-header {
    grid-template-columns: 40px minmax(0, 1fr) 82px;
  }

  .cm-hero-ref--desktop-match {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .cm-hero-ref__visual {
    justify-self: end;
    width: 118px;
    margin-top: -32px;
    opacity: .94;
  }

  .cm-category-grid-ref,
  .cm-product-grid,
  .cm-article-grid {
    grid-template-columns: 1fr !important;
  }

  .cm-cart-row {
    grid-template-columns: 96px minmax(0, 1fr) !important;
  }

  .cm-cart-row__img {
    height: 112px !important;
  }

  .cm-cart-sticky strong,
  .cm-checkout-sticky strong {
    font-size: 18px;
  }
}

/* =====================================================================
   2026-05-16 — Mobile homepage editorial polish layer
   Hero with attached image, brand bar with real SVGs, footer/payment fix,
   search focus artifact removal, white-gap fix.
   Mobile-only. Desktop untouched.
   ===================================================================== */
@media (max-width: 768px) {

  /* --- Remove old mobile hero so the new editorial hero takes over --- */
  .cm-mobile-home .cm-hero-ref--desktop-match { display: none !important; }

  /* --- Page bottom: kill the white gap & let footer dock naturally --- */
  .cm-mobile-page.cm-mobile-home,
  .cm-mobile-page.cm-mobile-categories {
    padding-bottom: 0 !important;
    display: flex;
    flex-direction: column;
    min-height: 100svh;
  }
  .cm-mobile-page.cm-mobile-home .cm-page-inner,
  .cm-mobile-page.cm-mobile-categories .cm-page-inner {
    flex: 1 0 auto;
    padding-bottom: 24px;
  }
  .cm-mobile-page.cm-mobile-home .cm-footer,
  .cm-mobile-page.cm-mobile-categories .cm-footer {
    flex: 0 0 auto;
    margin: 0 !important;
    border-radius: 24px 24px 0 0;
    padding-bottom: calc(96px + env(safe-area-inset-bottom));
  }

  /* Other mobile pages keep the legacy bottom padding because their
     footer isn't injected — they only need room for the fixed bottom nav. */
  .cm-mobile-page:not(.cm-mobile-home):not(.cm-mobile-categories) {
    padding-bottom: calc(94px + env(safe-area-inset-bottom));
  }

  /* --- Editorial hero ---------------------------------------------- */
  .cm-hero-editorial {
    position: relative;
    margin: 6px 14px 18px;
    padding: 26px 22px 26px;
    border-radius: 26px;
    overflow: hidden;
    isolation: isolate;
    background:
      linear-gradient(160deg, rgba(250,244,234,.98) 0%, rgba(247,238,225,.92) 38%, rgba(244,232,215,.62) 100%);
    box-shadow: 0 24px 60px -28px rgba(63,45,27,.30);
  }
  .cm-hero-editorial__media {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
  }
  .cm-hero-editorial__media img {
    position: absolute;
    right: -2%;
    bottom: 0;
    width: 78%;
    max-width: 360px;
    height: auto;
    object-fit: contain;
    object-position: right bottom;
    filter: drop-shadow(0 24px 28px rgba(63,45,27,.16));
  }
  .cm-hero-editorial::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
      linear-gradient(95deg, rgba(250,244,234,.92) 0%, rgba(250,244,234,.78) 38%, rgba(250,244,234,.10) 62%, rgba(250,244,234,0) 100%);
    pointer-events: none;
  }
  .cm-hero-editorial__copy {
    position: relative;
    z-index: 2;
    max-width: 62%;
  }
  .cm-hero-editorial__eyebrow {
    margin: 0 0 18px;
    color: #8a6d44;
    font-family: var(--cm-sans);
    font-size: 10.5px;
    font-weight: 750;
    letter-spacing: .26em;
    text-transform: uppercase;
  }
  .cm-hero-editorial__title {
    margin: 0 0 18px;
    font-family: var(--cm-serif);
    color: #0f0c08;
    font-weight: 500;
    letter-spacing: -.045em;
    line-height: .94;
  }
  .cm-hero-editorial__line {
    display: block;
    font-size: clamp(38px, 11.6vw, 56px);
  }
  .cm-hero-editorial__line--accent {
    color: #b58a4a;
    background: linear-gradient(96deg, #c39a5b 0%, #e6c386 48%, #a87637 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .cm-hero-editorial__line--script {
    margin-top: 4px;
    font-style: italic;
    font-weight: 400;
    font-size: clamp(26px, 7.2vw, 36px);
    letter-spacing: -.025em;
    color: #2b241c;
  }
  .cm-hero-editorial__lead {
    margin: 0 0 22px;
    max-width: 30ch;
    color: #4a4136;
    font-size: 14px;
    line-height: 1.55;
  }
  .cm-hero-editorial__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    max-width: 220px;
  }
  .cm-hero-editorial__cta {
    width: 100%;
    min-height: 52px;
    border-radius: 999px;
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-weight: 800;
  }
  .cm-btn.cm-btn--ghost.cm-hero-editorial__cta {
    background: rgba(255,253,249,.86);
    color: #1a1610;
    border: 1px solid rgba(26,22,16,.18);
    box-shadow: 0 10px 24px -16px rgba(26,22,16,.30);
  }
  .cm-btn.cm-btn--primary.cm-hero-editorial__cta {
    background: #0f0c08;
    border-color: #0f0c08;
    color: #fff;
    box-shadow: 0 18px 36px -18px rgba(15,12,8,.55);
  }

  /* Narrow phones: image stays visible, copy gets a tighter column */
  @media (max-width: 400px) {
    .cm-hero-editorial { padding: 22px 18px 22px; }
    .cm-hero-editorial__copy { max-width: 64%; }
    .cm-hero-editorial__media img { width: 76%; right: -4%; }
    .cm-hero-editorial__lead { font-size: 13px; max-width: 26ch; }
    .cm-hero-editorial__actions { max-width: 200px; }
  }
  @media (max-width: 360px) {
    .cm-hero-editorial__copy { max-width: 100%; }
    .cm-hero-editorial { padding-bottom: 220px; }
    .cm-hero-editorial__media img { width: 64%; max-width: 240px; right: 0; }
    .cm-hero-editorial::before {
      background:
        linear-gradient(180deg, rgba(250,244,234,.96) 0%, rgba(250,244,234,.78) 36%, rgba(250,244,234,.10) 70%, rgba(250,244,234,0) 100%);
    }
  }

  /* --- Brand bar with real SVGs ------------------------------------ */
  /* Hide legacy text brand strip when the new SVG brand bar is rendered */
  .cm-mobile-home .cm-brand-strip-ref { display: none !important; }
  .cm-brand-bar {
    margin: 6px 0 14px;
    padding: 18px 0 6px;
    border-top: 1px solid rgba(17,17,17,.06);
    border-bottom: 1px solid rgba(17,17,17,.06);
    background: rgba(255,253,249,.66);
  }
  .cm-brand-bar__head {
    padding: 0 18px 12px;
  }
  .cm-brand-bar__head p {
    margin: 0;
    color: #8a7a60;
    font-family: var(--cm-sans);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .26em;
    text-transform: uppercase;
  }
  .cm-brand-bar__track {
    display: flex;
    align-items: center;
    gap: 26px;
    padding: 4px 18px 14px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .cm-brand-bar__track::-webkit-scrollbar { display: none; }
  .cm-brand-bar__item,
  .cm-brand-bar__more {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 4px 4px;
    color: #1a1610;
    text-decoration: none;
  }
  .cm-brand-bar__item img {
    display: block;
    width: auto;
    max-width: 110px;
    height: 26px;
    object-fit: contain;
    object-position: center;
    opacity: .88;
    transition: opacity .2s ease;
  }
  .cm-brand-bar__item:hover img,
  .cm-brand-bar__item:focus-visible img { opacity: 1; }
  .cm-brand-bar__more {
    gap: 4px;
    color: #4a4136;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    white-space: nowrap;
  }
  .cm-brand-bar__more svg { width: 16px; height: 16px; }

  /* --- Search bar: kill focus square artifact --------------------- */
  .cm-searchbar {
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
  }
  .cm-searchbar:focus-within {
    border-color: rgba(181,138,74,.45);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.74),
      0 0 0 3px rgba(181,138,74,.14);
    background: rgba(255,255,255,.92);
  }
  .cm-searchbar input,
  .cm-searchbar input:focus,
  .cm-searchbar input:focus-visible,
  .cm-searchbar input:active {
    outline: none !important;
    box-shadow: none !important;
    border: 0 !important;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
  }
  .cm-searchbar input::-webkit-search-decoration,
  .cm-searchbar input::-webkit-search-cancel-button,
  .cm-searchbar input::-webkit-search-results-button,
  .cm-searchbar input::-webkit-search-results-decoration { -webkit-appearance: none; display: none; }
  .cm-searchbar::before,
  .cm-searchbar::after { content: none !important; }

  /* --- Footer redesign -------------------------------------------- */
  .cm-footer {
    position: relative;
    color: #f7f3ec;
    background: linear-gradient(180deg, #16120d 0%, #0c0907 100%);
  }
  .cm-footer__brand {
    display: grid;
    gap: 8px;
    margin-bottom: 20px;
  }
  .cm-footer .cm-footer-logo {
    font-family: var(--cm-serif);
    font-size: 26px;
    letter-spacing: .20em;
    line-height: 1;
    color: #fff;
  }
  .cm-footer__brand p {
    margin: 0;
    color: rgba(247,243,236,.7);
    font-size: 13.5px;
    line-height: 1.55;
    max-width: 30ch;
  }
  .cm-footer-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 0 18px !important;
    margin-bottom: 22px;
    padding-top: 6px;
    border-top: 1px solid rgba(247,243,236,.10);
  }
  .cm-footer-grid a {
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
    color: rgba(247,243,236,.82) !important;
    font-size: 13.5px;
    border-bottom: 1px solid rgba(247,243,236,.08) !important;
  }
  .cm-payment-block {
    display: grid;
    gap: 10px;
    padding: 16px;
    margin-bottom: 18px;
    border-radius: 16px;
    background: rgba(247,243,236,.05);
    border: 1px solid rgba(247,243,236,.08);
  }
  .cm-payment-label {
    color: rgba(247,243,236,.62);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .22em;
    text-transform: uppercase;
  }
  .cm-payment-row {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px !important;
    margin: 0 !important;
  }
  .cm-payment-row img {
    display: block;
    height: 26px !important;
    width: auto !important;
    max-width: 56px !important;
    padding: 4px 8px;
    border-radius: 6px;
    background: #fff;
    object-fit: contain !important;
    filter: none !important;
    opacity: 1 !important;
  }
  .cm-footer__copy {
    margin: 0;
    padding-top: 14px;
    border-top: 1px solid rgba(247,243,236,.10);
    color: rgba(247,243,236,.45);
    font-size: 11.5px;
    letter-spacing: .04em;
  }

  /* --- Header polish: keep wordmark centered, icons readable ------- */
  .cm-header { padding-left: 14px; padding-right: 14px; }
  .cm-wordmark {
    font-size: clamp(22px, 6.4vw, 28px) !important;
    letter-spacing: .12em !important;
    font-weight: 500;
  }
  .cm-header__right { gap: 2px; }
  .cm-icon-btn:focus-visible {
    outline: 2px solid rgba(181,138,74,.6);
    outline-offset: 2px;
  }
}

/* 2026-05-16 requested mobile-only final parity pass: bottom nav, cart, account gate, hero typography. */
@media (max-width: 768px) {
  body.cm-mobile-active > .cm-announcement,
  body.cm-mobile-active .cm-announcement {
    display: none !important;
  }

  body.cm-mobile-active > .m-bottom-nav,
  body.cm-mobile-active > .mobile-bottom-nav,
  body.cm-mobile-active > .m-toast {
    display: none !important;
  }

  .cm-header {
    min-height: 66px !important;
    grid-template-columns: 44px minmax(0, 1fr) auto !important;
    padding: 11px 14px 9px !important;
  }
  .cm-wordmark {
    font-size: clamp(22px, 6.3vw, 27px) !important;
    letter-spacing: .12em !important;
    line-height: 1 !important;
  }
  .cm-header__right { gap: 2px !important; }
  .cm-icon-btn { width: 42px !important; height: 42px !important; }

  .cm-bottom-nav {
    height: calc(78px + env(safe-area-inset-bottom)) !important;
    padding: 7px 10px calc(7px + env(safe-area-inset-bottom)) !important;
    gap: 3px !important;
    z-index: 90 !important;
  }
  .cm-bottom-nav a {
    min-height: 58px;
    border-radius: 14px;
    color: #4c463f;
    font-size: 10.5px !important;
    letter-spacing: -.01em;
  }
  .cm-bottom-nav svg { width: 23px !important; height: 23px !important; }
  .cm-bottom-nav .is-active {
    background: #f1ebe2 !important;
    color: #111 !important;
  }

  .cm-searchbar {
    height: 52px !important;
    border-radius: 16px !important;
    border-color: rgba(17,17,17,.11) !important;
    background: rgba(255,255,255,.84) !important;
    -webkit-tap-highlight-color: transparent !important;
  }
  .cm-searchbar:focus,
  .cm-searchbar:focus-visible,
  .cm-searchbar input:focus,
  .cm-searchbar input:focus-visible {
    outline: none !important;
  }
  .cm-searchbar:focus-within {
    border-color: rgba(181,138,74,.48) !important;
    box-shadow: 0 0 0 3px rgba(181,138,74,.12), inset 0 1px 0 rgba(255,255,255,.78) !important;
  }

  .cm-hero-editorial__title { margin-bottom: 18px !important; }
  .cm-hero-editorial__line--story {
    margin-top: 4px;
    font-family: var(--cm-serif) !important;
    font-style: normal !important;
    font-weight: 500 !important;
    font-size: clamp(32px, 9.2vw, 44px) !important;
    letter-spacing: -.045em !important;
    color: #17120d !important;
  }
  .cm-hero-editorial__line--script { font-style: normal !important; }
  .cm-hero-editorial__lead { display: none !important; }

  .cm-mobile-page:not(.cm-mobile-home):not(.cm-mobile-categories):not(.cm-mobile-brands) {
    padding-bottom: calc(102px + env(safe-area-inset-bottom));
  }
  .cm-mobile-page.cm-mobile-brands {
    min-height: 100svh;
    padding-bottom: calc(100px + env(safe-area-inset-bottom));
  }
  .cm-brand-grid-ref--full {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    margin-top: 18px;
  }
  .cm-brand-grid-ref--full .cm-brand-tile {
    min-height: 78px;
    justify-items: start;
    padding: 16px;
  }
  .cm-brand-grid-ref--full .cm-brand-tile span {
    font-size: 20px;
    letter-spacing: .04em;
    text-align: left;
  }

  .cm-mobile-cart {
    padding-bottom: calc(205px + env(safe-area-inset-bottom)) !important;
  }
  .cm-mobile-cart .cm-cart-title {
    padding: 14px 18px 10px !important;
  }
  .cm-mobile-cart .cm-cart-title h1 {
    margin-top: 8px;
    font-size: clamp(38px, 10.8vw, 46px) !important;
  }
  .cm-cart-row--ref {
    grid-template-columns: 38% minmax(0,1fr) !important;
    gap: 12px !important;
    padding: 12px !important;
    min-height: 0 !important;
  }
  .cm-cart-row--ref .cm-cart-row__img {
    min-height: 136px !important;
    height: auto !important;
  }
  .cm-cart-row--ref .cm-cart-row__body {
    align-content: start !important;
  }
  .cm-cart-row--ref .cm-cart-row__top {
    align-items: flex-start;
  }
  .cm-cart-row--ref .cm-cart-row__top h2 a,
  .cm-cart-row h2 {
    color: #111 !important;
    overflow-wrap: anywhere;
  }
  .cm-cart-controls { gap: 8px !important; }
  .cm-cart-row--ref .cm-stepper {
    grid-template-columns: 38px 34px 38px !important;
    height: 42px !important;
    border-radius: 14px !important;
  }
  .cm-cart-row--ref .cm-stepper button { font-size: 19px !important; }
  .cm-cart-row--ref .cm-trash {
    width: 42px !important;
    height: 42px !important;
  }
  .cm-coupon-row--ref,
  .cm-free-shipping,
  .cm-summary {
    border: 1px solid rgba(17,17,17,.08);
    border-radius: 20px;
    background: rgba(255,255,255,.78);
  }
  .cm-cart-sticky {
    bottom: calc(78px + env(safe-area-inset-bottom)) !important;
    z-index: 88 !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    min-height: 122px !important;
    padding: 12px 18px !important;
  }
  .cm-cart-sticky > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .cm-cart-sticky .cm-btn {
    width: 100% !important;
    min-height: 56px !important;
    color: #fff !important;
    background: #111 !important;
    border-color: #111 !important;
  }
  .cm-pdp-sticky-cta {
    bottom: calc(92px + env(safe-area-inset-bottom)) !important;
    z-index: 88 !important;
  }
  .cm-mobile-pdp { padding-bottom: calc(172px + env(safe-area-inset-bottom)) !important; }

  .cm-btn,
  .cm-card-cart,
  .cm-card-bag,
  .cm-filter-mini,
  .cm-list-controls button,
  .cm-mobile-filterbar button,
  .cm-select-chip,
  .cm-account-action-grid a,
  .cm-account-list a,
  .cm-account-login,
  .cm-account-logout {
    text-shadow: none !important;
  }
  .cm-card-cart,
  .cm-btn--primary {
    background: #111 !important;
    border-color: #111 !important;
    color: #fff !important;
  }
  .cm-card-cart { width: 100% !important; white-space: nowrap; }
  .cm-card-actions,
  .cm-card-actions--single { grid-template-columns: 1fr !important; }

  .cm-mobile-account--auth .cm-page-inner {
    padding-bottom: 28px;
  }
  .cm-auth-hero {
    padding: 18px 0 16px;
  }
  .cm-auth-hero p {
    margin: 0 0 10px;
    color: #8a6d44;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .22em;
  }
  .cm-auth-hero h1 {
    margin: 0;
    font-family: var(--cm-serif);
    font-size: clamp(40px, 11vw, 52px);
    line-height: .94;
    letter-spacing: -.055em;
    font-weight: 500;
  }
  .cm-auth-hero span {
    display: block;
    margin-top: 12px;
    color: var(--cm-muted);
    font-size: 14px;
    line-height: 1.55;
  }
  .cm-auth-card {
    padding: 16px;
    border: 1px solid rgba(17,17,17,.08);
    border-radius: 24px;
    background: rgba(255,255,255,.80);
    box-shadow: 0 18px 42px rgba(20,15,10,.055);
  }
  .cm-auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 4px;
    border-radius: 999px;
    background: #f1ebe2;
    margin-bottom: 16px;
  }
  .cm-auth-tabs button {
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #5e574f;
    font-weight: 800;
  }
  .cm-auth-tabs button.is-active {
    background: #111;
    color: #fff;
  }
  .cm-auth-form {
    display: none;
    gap: 12px;
  }
  .cm-auth-form.is-active {
    display: grid;
  }
  .cm-auth-form label {
    display: grid;
    gap: 7px;
    color: #5e574f;
    font-size: 12px;
    font-weight: 750;
  }
  .cm-auth-form input {
    width: 100%;
    height: 52px;
    border: 1px solid rgba(17,17,17,.10);
    border-radius: 15px;
    background: rgba(255,253,249,.92);
    padding: 0 14px;
    color: #111;
    outline: 0;
  }
  .cm-auth-form input:focus {
    border-color: rgba(181,138,74,.48);
    box-shadow: 0 0 0 3px rgba(181,138,74,.12);
  }
  .cm-auth-hint,
  .cm-auth-status {
    margin: 0;
    color: var(--cm-muted);
    font-size: 12px;
    line-height: 1.45;
  }
  .cm-auth-status { min-height: 18px; color: var(--cm-danger); }
  .cm-auth-shortcuts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 14px;
  }
  .cm-auth-shortcuts a {
    min-height: 46px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(17,17,17,.08);
    border-radius: 15px;
    background: rgba(255,255,255,.64);
    font-size: 13px;
    font-weight: 800;
  }
}

/* 2026-05-16 reference alignment pass: top header, bottom nav and contextual back button. */
@media (max-width: 767px) {
  body.cm-mobile-active .cm-header {
    height: 74px !important;
    min-height: 74px !important;
    padding: 0 18px !important;
    display: grid !important;
    grid-template-columns: 56px minmax(0, 1fr) 104px !important;
    align-items: center !important;
    gap: 0 !important;
    background: rgba(255,255,255,.98) !important;
    border-bottom: 1px solid rgba(17,17,17,.08) !important;
    box-shadow: none !important;
  }

  body.cm-mobile-active .cm-header__left,
  body.cm-mobile-active .cm-header__right {
    height: 74px !important;
    display: flex !important;
    align-items: center !important;
  }

  body.cm-mobile-active .cm-header__left {
    justify-content: flex-start !important;
  }

  body.cm-mobile-active .cm-header__right {
    justify-content: flex-end !important;
    gap: 12px !important;
  }

  body.cm-mobile-active .cm-wordmark {
    justify-self: center !important;
    text-align: center !important;
    font-family: var(--cm-serif, Georgia, serif) !important;
    font-size: clamp(25px, 7.2vw, 31px) !important;
    line-height: 1 !important;
    letter-spacing: .18em !important;
    color: #111 !important;
    transform: translateX(.08em) !important;
    white-space: nowrap !important;
  }

  body.cm-mobile-active .cm-icon-btn {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    padding: 0 !important;
    display: inline-grid !important;
    place-items: center !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: transparent !important;
    color: #111 !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent !important;
  }

  body.cm-mobile-active .cm-icon-btn svg {
    width: 32px !important;
    height: 32px !important;
    stroke-width: 1.9 !important;
    fill: none !important;
  }

  body.cm-mobile-active .cm-header__left .cm-icon-btn svg {
    width: 38px !important;
    height: 38px !important;
    stroke-width: 1.75 !important;
  }

  body.cm-mobile-active .cm-icon-btn[data-cm-back] svg {
    width: 34px !important;
    height: 34px !important;
    stroke-width: 2.1 !important;
  }

  body.cm-mobile-active .cm-icon-btn--bag {
    position: relative !important;
  }

  body.cm-mobile-active .cm-header .cm-badge {
    position: absolute !important;
    top: 2px !important;
    right: -2px !important;
    min-width: 20px !important;
    height: 20px !important;
    padding: 0 5px !important;
    border-radius: 999px !important;
    display: grid !important;
    place-items: center !important;
    background: #9f2b1f !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    border: 1.5px solid #fff !important;
  }

  body.cm-mobile-active .cm-bottom-nav {
    height: calc(84px + env(safe-area-inset-bottom)) !important;
    padding: 5px 18px calc(7px + env(safe-area-inset-bottom)) !important;
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 0 !important;
    background: rgba(255,255,255,.98) !important;
    border-top: 1px solid rgba(17,17,17,.08) !important;
    box-shadow: 0 -8px 22px rgba(17,17,17,.06) !important;
    backdrop-filter: blur(18px) !important;
  }

  body.cm-mobile-active .cm-bottom-nav a {
    position: relative !important;
    min-height: 68px !important;
    padding: 11px 0 2px !important;
    border-radius: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 5px !important;
    background: transparent !important;
    color: #9a9188 !important;
    font-size: 11.5px !important;
    font-weight: 500 !important;
    letter-spacing: -.02em !important;
    line-height: 1.1 !important;
    text-align: center !important;
    white-space: nowrap !important;
  }

  body.cm-mobile-active .cm-bottom-nav a::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    width: 0;
    height: 3px;
    border-radius: 999px;
    background: #111;
    transform: translateX(-50%);
    transition: width .18s ease;
  }

  body.cm-mobile-active .cm-bottom-nav a.is-active {
    background: transparent !important;
    color: #111 !important;
    font-weight: 650 !important;
  }

  body.cm-mobile-active .cm-bottom-nav a.is-active::before {
    width: 78%;
  }

  body.cm-mobile-active .cm-bottom-nav svg {
    width: 30px !important;
    height: 30px !important;
    stroke-width: 1.75 !important;
    fill: none !important;
    color: currentColor !important;
  }

  body.cm-mobile-active .cm-bottom-nav span {
    display: block !important;
    max-width: 100% !important;
    overflow: visible !important;
  }

  body.cm-mobile-active .cm-page-inner--top {
    padding-top: 24px !important;
  }

  body.cm-mobile-active .cm-searchbar {
    margin-top: 0 !important;
  }
}
