/*
Theme Name: Cheripets
Theme URI: http://localhost/cheripets
Author: Cheripets
Description: Cheripets custom theme
Version: 1.0.1
License: GNU General Public License v2 or later
Text Domain: cheripets
*/

/* ============================================================
   CHÉRIPETS · Design tokens
   ============================================================ */

@font-face {
  font-family: 'EB Garamond';
  src: url('assets/fonts/EBGaramond-VariableFont_wght.ttf') format('truetype-variations');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'EB Garamond';
  src: url('assets/fonts/EBGaramond-Italic-VariableFont_wght.ttf') format('truetype-variations');
  font-weight: 400 800;
  font-style: italic;
  font-display: swap;
}

:root {
  --cp-brown:      #3E190C;
  --cp-paper:      #F3EEE6;
  --cp-warm-grey:  #686B6B;
  --cp-blue:       #546575;
  --cp-orange:     #ED6337;
  --cp-oak:        #A0722A;
  --cp-ink:        #1C1E1D;
  --cp-chestnut:   #785D3E;
  --cp-sand:       #D1BB9F;
  --cp-taupe:      #D6C2AA;
  --cp-white:      #FFFFFF;

  --cp-bg:         var(--cp-paper);
  --cp-fg-1:       var(--cp-brown);
  --cp-fg-2:       var(--cp-oak);
  --cp-fg-3:       var(--cp-warm-grey);

  --cp-border:        rgba(62, 25, 12, 0.14);
  --cp-hairline:      rgba(62, 25, 12, 0.08);

  --cp-display: 'Cormorant Garamond', 'EB Garamond', Georgia, serif;
  --cp-body:    'EB Garamond', Georgia, serif;
  --cp-ui:      'Montserrat', sans-serif;

  --cp-size-body:   17px;
  --cp-lh-body:     1.55;

  --cp-s-1:  4px;  --cp-s-2:  8px;  --cp-s-3:  12px; --cp-s-4:  16px;
  --cp-s-5:  24px; --cp-s-6:  32px; --cp-s-7:  48px; --cp-s-8:  64px;

  --cp-r-sm:   6px;  --cp-r-md:  12px; --cp-r-xl: 32px; --cp-r-pill: 999px;

  --cp-ease:     cubic-bezier(0.22, 0.61, 0.36, 1);
  --cp-dur-fast: 160ms;
  --cp-dur-med:  320ms;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  background: var(--cp-bg);
  color: var(--cp-fg-1);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--cp-body);
  font-size: var(--cp-size-body);
  line-height: var(--cp-lh-body);
  color: var(--cp-fg-1);
  background: var(--cp-bg);
}

a {
  color: var(--cp-oak);
  text-decoration: none;
  transition: color var(--cp-dur-fast) var(--cp-ease);
}
a:hover { color: var(--cp-brown); text-decoration: underline; text-underline-offset: 4px; }

/* ============================================================
   SITE HEADER
   ============================================================ */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--cp-s-5);
  padding: 22px 56px;
  background: var(--cp-bg);
  border-bottom: 1px solid var(--cp-hairline);
  position: sticky;
  top: 0;
  z-index: 1002;
}

/* Logo */
.site-header__logo a,
.site-header__logo .custom-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.site-header__logo img,
.site-header__logo .custom-logo {
  height: 22px;
  width: auto;
  display: block;
}

/* Primary nav */
.site-header__nav ul {
  list-style: none;
  display: flex;
  gap: 34px;
}
.site-header__nav a {
  font-family: var(--cp-ui);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cp-ink);
  text-decoration: none;
  transition: color var(--cp-dur-fast) var(--cp-ease);
}
.site-header__nav a:hover { color: var(--cp-brown); text-decoration: none; }
.site-header__nav .current-menu-item > a { color: var(--cp-brown); }

/* Right icons */
.site-header__actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-header__action-btn {
  font-family: var(--cp-ui);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cp-ink);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  line-height: 1;
  transition: color var(--cp-dur-fast) var(--cp-ease);
}
.site-header__action-btn:hover { color: var(--cp-brown); text-decoration: none; }

.site-header__wishlist svg { stroke: currentColor; }
.site-header__wish-count { font-variant-numeric: tabular-nums; }

.site-header__cart { color: #38180F !important; }
.site-header__cart:hover { color: var(--cp-brown) !important; }

/* Nav-extras — hidden on desktop, shown inside hamburger on mobile */
.site-header__nav-extras {
  display: none;
}

/* Mobile hamburger — hidden on desktop */
.site-header__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.site-header__hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--cp-ink);
  transition: transform var(--cp-dur-med) var(--cp-ease);
}

/* ============================================================
   MOBILE NAV
   ============================================================ */
@media (max-width: 768px) {
  .site-header {
    padding: 14px 20px;
    flex-wrap: wrap;
  }
  .site-header__nav {
    display: none;
    width: 100%;
    padding: var(--cp-s-4) 0;
    border-top: 1px solid var(--cp-hairline);
    order: 10;
  }
  .site-header__nav.is-open { display: block; }
  .site-header__nav ul {
    flex-direction: column;
    gap: var(--cp-s-4);
  }
  .site-header__hamburger { display: flex; }
  /* Hide actions row completely on mobile — links move inside hamburger menu */
  .site-header__actions { display: none; }
  /* Nav-extras: shown below nav links with a border separator */
  .site-header__nav-extras {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-top: 20px;
    border-top: 1px solid var(--cp-hairline);
  }
  .site-header__nav-extra-link {
    font-family: var(--cp-ui);
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--cp-ink);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 12px;
    border-bottom: 1px solid var(--cp-hairline);
    border-right: 1px solid var(--cp-hairline);
    line-height: 1;
    transition: background var(--cp-dur-fast) var(--cp-ease), color var(--cp-dur-fast) var(--cp-ease);
  }
  .site-header__nav-extra-link:nth-child(even) { border-right: none; }
  .site-header__nav-extra-link:nth-last-child(-n+2) { border-bottom: none; }
  .site-header__nav-extra-link:hover { background: rgba(56,24,15,0.04); color: var(--cp-brown); text-decoration: none; }
  .site-header__nav-extra-link--cart { color: #38180F; font-weight: 500; }
}


/* ============================================================
   MAIN CONTENT
   ============================================================ */
.site-main {
  min-height: 60vh;
}

/* ============================================================
   SHARED UTILITIES
   ============================================================ */
.cp-section-eyebrow {
  font-family: var(--cp-ui);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cp-chestnut);
}
.cp-section-eyebrow--sand { color: var(--cp-sand); }

.cp-section-title {
  font-family: var(--cp-display);
  font-weight: 400;
  font-size: 46px;
  line-height: 1.1;
  margin: 0;
  color: var(--cp-ink);
}

.cp-link-bare {
  font-family: var(--cp-ui);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(28,30,29,0.3);
  padding: 0 0 5px;
  color: var(--cp-ink);
  white-space: nowrap;
  text-decoration: none;
}
.cp-link-bare:hover { color: var(--cp-brown); text-decoration: none; border-bottom-color: var(--cp-brown); }

.cp-btn--cream {
  font-family: var(--cp-ui);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--cp-paper);
  color: var(--cp-brown);
  padding: 16px 32px;
  border-radius: var(--cp-r-pill);
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.cp-btn--cream:hover { background: #fff; color: var(--cp-brown); text-decoration: none; }

.cp-btn--dark {
  font-family: var(--cp-ui);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: #38180F;
  color: var(--cp-paper);
  padding: 15px 30px;
  border-radius: var(--cp-r-pill);
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  align-self: start;
}
.cp-btn--dark:hover { background: var(--cp-brown); color: var(--cp-paper); text-decoration: none; }

.cp-btn--ghost-cream {
  font-family: var(--cp-ui);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: transparent;
  color: var(--cp-paper);
  padding: 15px 32px;
  border-radius: var(--cp-r-pill);
  border: 1px solid rgba(243,238,230,0.4);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.cp-btn--ghost-cream:hover { border-color: var(--cp-paper); color: var(--cp-paper); text-decoration: none; }

/* ============================================================
   HERO
   ============================================================ */
.cp-hero {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  min-height: 640px;
}

.cp-hero__text-panel {
  position: relative;
  background: #38180F;
  color: var(--cp-paper);
  padding: 96px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 34px;
  overflow: hidden;
}

/* Multiple text-inners stack — only .is-active is shown */
.cp-hero__text-inner {
  display: none;
  flex-direction: column;
  gap: 26px;
}
.cp-hero__text-inner.is-active {
  display: flex;
  animation: cpHeroIn 720ms cubic-bezier(.16, 1, .3, 1) both;
}
@keyframes cpHeroIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .cp-hero__text-inner.is-active { animation: none; }
  .cp-hero__image-panel .hero-slide { transition: none; }
}

.cp-hero__eyebrow {
  font-family: var(--cp-ui);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cp-sand);
}

.cp-hero__heading {
  font-family: var(--cp-display);
  font-weight: 400;
  font-size: 66px;
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--cp-paper);
  text-wrap: pretty;
}

.cp-hero__body {
  font-family: var(--cp-body);
  font-size: 19px;
  line-height: 1.66;
  color: var(--cp-taupe);
  margin: 0;
  max-width: 44ch;
  text-wrap: pretty;
}

.cp-hero__cta-row {
  display: flex;
  gap: 14px;
  margin-top: 14px;
}

.cp-hero__controls {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 0;
}

.cp-hero__dots {
  display: flex;
  gap: 10px;
  align-items: center;
}

.hero-dot {
  width: 9px;
  height: 9px;
  border-radius: var(--cp-r-pill);
  background: rgba(243,238,230,0.34);
  display: block;
  cursor: pointer;
  transition: width 300ms var(--cp-ease), background 300ms var(--cp-ease);
  border: none;
  padding: 0;
}
.hero-dot.is-active {
  width: 34px;
  background: var(--cp-paper);
}

.cp-hero__arrows {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.cp-hero__arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(243,238,230,0.3);
  color: var(--cp-paper);
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  transition: background var(--cp-dur-fast) var(--cp-ease), border-color var(--cp-dur-fast) var(--cp-ease);
}
.cp-hero__arrow:hover { background: rgba(243,238,230,0.1); border-color: rgba(243,238,230,0.6); }

.cp-hero__image-panel {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  background: #EFE8DC;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 900ms cubic-bezier(.22, .61, .36, 1);
  opacity: 0;
}
.hero-slide.is-active { opacity: 1; }
.cp-hero__img-placeholder { background: #EFE8DC; }

/* ============================================================
   FEATURED PRODUCTS
   ============================================================ */
.cp-products {
  padding: 104px 56px 0;
  max-width: 1280px;
  margin: 0 auto;
}

.cp-products__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 40px;
}

.cp-products__heading-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cp-products__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 26px;
}

.cp-product-card {
  display: flex;
  flex-direction: column;
  gap: 13px;
  cursor: pointer;
}

.cp-product-card__media {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

.cp-product-card__img {
  width: 100%;
  height: 270px;
  object-fit: contain;
  background: #EFE8DC;
  display: block;
}

.cp-product-card__wishlist {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(243,238,230,0.94);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-shadow: 0 2px 10px rgba(60,38,20,0.10);
}
.cp-product-card__wishlist svg {
  fill: none;
  stroke: var(--cp-ink);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cp-product-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--cp-ui);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 7px 13px;
  border-radius: 20px;
}
.cp-product-card__badge--cart    { background: var(--cp-paper);  color: #38180F; }
.cp-product-card__badge--reserve { background: #38180F;          color: var(--cp-paper); }
.cp-product-card__badge--order   { background: var(--cp-chestnut); color: var(--cp-paper); }

.cp-product-card__info {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.cp-product-card__name {
  font-family: var(--cp-display);
  font-size: 27px;
  font-weight: 400;
  color: var(--cp-ink);
}

.cp-product-card__line {
  font-family: var(--cp-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--cp-chestnut);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cp-product-card__cta {
  font-family: var(--cp-ui);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #9B9587;
  margin-top: 4px;
}

/* ============================================================
   MANIFESTO
   ============================================================ */
.cp-manifesto {
  margin: 104px 0 0;
  padding: 96px 56px;
  background: #38180F;
  color: var(--cp-paper);
}

.cp-manifesto__inner {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: center;
  text-align: center;
}

.cp-manifesto__quote {
  font-family: var(--cp-display);
  font-weight: 300;
  font-size: 44px;
  line-height: 1.24;
  margin: 0;
  color: var(--cp-paper);
  text-wrap: pretty;
}

.cp-manifesto__body {
  font-family: var(--cp-body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--cp-taupe);
  margin: 0;
  max-width: 56ch;
  text-wrap: pretty;
}

/* ============================================================
   WHY CHÉRIPETS
   ============================================================ */
.cp-why__intro {
  padding: 104px 56px 0;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cp-why__intro-title {
  font-family: var(--cp-display);
  font-weight: 400;
  font-size: 46px;
  line-height: 1.1;
  margin: 0;
  color: var(--cp-ink);
  max-width: 24ch;
  text-wrap: pretty;
}

.cp-why__rows {
  padding: 56px 56px 104px;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.cp-why__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.cp-why__img {
  width: 100%;
  height: 440px;
  object-fit: contain;
  background: #EFE8DC;
  border-radius: 20px;
  display: block;
}
.cp-why__img--cover {
  object-fit: cover;
  background: #EFE8DC;
}

.cp-why__text {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.cp-why__num {
  font-family: var(--cp-ui);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cp-chestnut);
}

.cp-why__title {
  font-family: var(--cp-display);
  font-weight: 400;
  font-size: 40px;
  line-height: 1.12;
  margin: 0;
  color: var(--cp-ink);
  text-wrap: pretty;
}

.cp-why__body {
  font-family: var(--cp-body);
  font-size: 18px;
  line-height: 1.7;
  color: #4A3A30;
  margin: 0;
  max-width: 44ch;
  text-wrap: pretty;
}

/* ============================================================
   BESPOKE
   ============================================================ */
.cp-bespoke {
  padding: 0 56px 104px;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 44px;
}

.cp-bespoke__header {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  text-align: center;
}

.cp-bespoke__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 26px;
}

.cp-bespoke-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cp-bespoke-card__img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}

.cp-bespoke-card__text {
  display: flex;
  flex-direction: column;
  gap: 9px;
  text-align: center;
}

.cp-bespoke-card__title {
  font-family: var(--cp-display);
  font-weight: 500;
  font-size: 26px;
  margin: 0;
  color: var(--cp-ink);
}

.cp-bespoke-card__body {
  font-family: var(--cp-body);
  font-size: 17px;
  line-height: 1.6;
  color: #4A3A30;
  margin: 0;
  text-wrap: pretty;
}

/* ============================================================
   CLOSING IMAGE
   ============================================================ */
.cp-closing-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}

/* ============================================================
   RESPONSIVE — TABLET  ≤ 1024px
   ============================================================ */
@media (max-width: 1024px) {
  .cp-hero__heading              { font-size: 50px; }
  .cp-section-title              { font-size: 36px; }
  .cp-manifesto__quote           { font-size: 34px; }
  .cp-why__title                 { font-size: 32px; }
  .cp-products                   { padding-left: 32px; padding-right: 32px; }
  .cp-manifesto                  { padding-left: 32px; padding-right: 32px; }
  .cp-why__intro                 { padding-left: 32px; padding-right: 32px; }
  .cp-why__rows                  { padding-left: 32px; padding-right: 32px; }
  .cp-bespoke                    { padding-left: 32px; padding-right: 32px; }
  .site-footer                   { padding-left: 32px; padding-right: 32px; }
  .site-footer__grid             { grid-template-columns: 1.2fr 1fr 1fr !important; gap: 36px !important; }
  .cp-why__row                   { gap: 40px; }
  .cp-why__img                   { height: 360px; }
}

/* ============================================================
   RESPONSIVE — MOBILE  ≤ 768px
   ============================================================ */
@media (max-width: 768px) {

  /* Hero — stacks vertically, text on top per handoff */
  .cp-hero                       { grid-template-columns: 1fr; }
  .cp-hero__image-panel          { min-height: 640px; }
  /* 96px 64px → 56px 24px per handoff spec */
  .cp-hero__text-panel           { padding: 56px 24px; }
  .cp-hero__heading              { font-size: 34px; line-height: 1.1; }
  .cp-hero__body                 { font-size: 17px; }

  /* Products — only left/right padding changes per handoff */
  .cp-products                   { padding-left: 20px; padding-right: 20px; }
  .cp-products__header           { gap: 16px; flex-wrap: wrap; }
  .cp-product-card__img          { height: 270px; }
  .cp-section-title              { font-size: 29px; }

  /* Manifesto — only left/right changes, top/bottom stays 96px */
  .cp-manifesto                  { padding-left: 20px; padding-right: 20px; }
  .cp-manifesto__quote           { font-size: 25px; line-height: 1.3; }
  .cp-manifesto__body            { font-size: 16px; }

  /* Why — only left/right changes, top/bottom same */
  .cp-why__intro                 { padding-left: 20px; padding-right: 20px; }
  .cp-why__intro-title           { font-size: 29px; }
  .cp-why__rows                  { padding-left: 20px; padding-right: 20px; gap: 56px; }
  .cp-why__row                   { grid-template-columns: 1fr; gap: 32px; }
  .cp-why__img                   { height: 440px; }
  .cp-why__img--cover            { background: #EFE8DC; }
  .cp-why__title                 { font-size: 25px; line-height: 1.3; }
  .cp-why__body                  { font-size: 16px; }

  /* Bespoke — only left/right changes */
  .cp-bespoke                    { padding-left: 20px; padding-right: 20px; }
  .cp-bespoke-card__img          { height: 280px; }
  .cp-bespoke-card__title        { font-size: 22px; }

  /* Closing image */
  .cp-closing-img                { height: 280px; }

  /* Footer */
  .site-footer                   { padding-left: 20px; padding-right: 20px; }
  .site-footer__grid             { grid-template-columns: 1fr !important; gap: 28px !important; }
  .site-footer__watermark        { width: 260px; height: 260px; right: -50px; bottom: -50px; }
  .site-footer__bottom           { flex-direction: column; gap: 14px; }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE  ≤ 480px
   ============================================================ */
@media (max-width: 480px) {
  .cp-hero__heading              { font-size: 34px; }
}

/* ============================================================
   SITE FOOTER
   ============================================================ */
.site-footer {
  background: #38180F;
  color: var(--cp-taupe);
  padding: 72px 20px 40px;
  position: relative;
  overflow: hidden;
}

.site-footer__watermark {
  position: absolute;
  right: -90px;
  bottom: -110px;
  width: 420px;
  height: 420px;
  opacity: 0.07;
  filter: invert(1);
  pointer-events: none;
  display: block;
}

.site-footer__svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.site-footer__grid {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(214,194,170,0.2);
}

.site-footer__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.site-footer__col--brand { gap: 16px; }

.site-footer__logo {
  height: 18px;
  width: 128px;
  object-fit: contain;
  display: block;
}

.site-footer__tagline {
  font-family: var(--cp-body);
  font-style: italic;
  font-size: 18px;
  line-height: 1.6;
  color: var(--cp-taupe);
  margin: 0;
  max-width: 30ch;
}

.site-footer__social {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.site-footer__social-link {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(214,194,170,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cp-paper);
  text-decoration: none;
  transition: background-color var(--cp-dur-fast) var(--cp-ease), border-color var(--cp-dur-fast) var(--cp-ease);
}
.site-footer__social-link:hover,
.site-footer__social-link:focus-visible { background: rgba(243,238,230,0.08); border-color: rgba(214,194,170,0.6); color: var(--cp-paper); text-decoration: none; }
.site-footer__social-link svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-footer__col-label {
  font-family: var(--cp-ui);
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cp-sand);
}

.site-footer__col a {
  font-family: var(--cp-ui);
  font-size: 12px;
  color: var(--cp-paper);
  text-decoration: none;
  line-height: 1.4;
}
.site-footer__col a:hover, .site-footer__col a:focus { color: var(--cp-paper); text-decoration: none; } /* design: no hover effect */

.site-footer__ql-desc {
  font-family: var(--cp-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--cp-taupe);
  margin: 0;
}

.site-footer__ql-form {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.site-footer__ql-input {
  flex: 1;
  min-width: 0;
  border: 1px solid rgba(214,194,170,0.35);
  background: rgba(243,238,230,0.05);
  border-radius: var(--cp-r-pill);
  padding: 11px 16px;
  font-size: 12px;
  color: var(--cp-paper);
  outline: none;
  font-family: var(--cp-ui);
}
.site-footer__ql-input::placeholder { color: rgba(243,238,230,0.45); }
.site-footer__ql-input:focus { border-color: rgba(214,194,170,0.7); }

.site-footer__ql-btn {
  background: var(--cp-taupe);
  color: #38180F;
  border: none;
  border-radius: var(--cp-r-pill);
  padding: 11px 18px;
  cursor: pointer;
  font-family: var(--cp-ui);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background var(--cp-dur-fast) var(--cp-ease);
}
.site-footer__ql-btn:hover { background: var(--cp-sand); }

.site-footer__bottom {
  position: relative;
  max-width: 1280px;
  margin: 24px auto 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.site-footer__copy {
  font-family: var(--cp-ui);
  font-size: 10px;
  color: var(--cp-sand);
}

.site-footer__legal {
  display: flex;
  gap: 22px;
}
.site-footer__legal a {
  font-family: var(--cp-ui);
  font-size: 10px;
  color: var(--cp-sand);
  text-decoration: none;
}
.site-footer__legal a:hover, .site-footer__legal a:focus { color: var(--cp-sand); text-decoration: none; }

/* ============================================================
   OUR STORY — intro + quote band
   ============================================================ */
.cp-story-intro {
  padding: 96px 56px;
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  text-align: center;
}
.cp-story-intro__title {
  font-family: var(--cp-display);
  font-weight: 400;
  font-size: 56px;
  line-height: 1.06;
  margin: 0;
  color: #1C1E1D;
  text-wrap: pretty;
}
.cp-story-intro__body {
  font-family: var(--cp-body);
  font-size: 20px;
  line-height: 1.72;
  color: #4A3A30;
  margin: 0;
  text-wrap: pretty;
}
.cp-story-quote {
  padding: 96px 56px;
  background: #38180F;
  color: var(--cp-paper);
}
.cp-story-quote__inner {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: center;
  text-align: center;
}
.cp-story-quote__text {
  font-family: var(--cp-display);
  font-weight: 300;
  font-size: 42px;
  line-height: 1.24;
  margin: 0;
  text-wrap: pretty;
}
.cp-story-quote__body {
  font-family: var(--cp-body);
  font-size: 18px;
  line-height: 1.7;
  color: #D6C2AA;
  margin: 0;
  max-width: 52ch;
}
@media (max-width: 1024px) {
  .cp-story-intro { padding: 72px 32px; }
  .cp-story-intro__title { font-size: 44px; }
  .cp-story-quote { padding: 72px 32px; }
  .cp-story-quote__text { font-size: 34px; }
}
@media (max-width: 600px) {
  .cp-story-intro { padding: 56px 20px; }
  .cp-story-intro__title { font-size: 30px; }
  .cp-story-intro__body { font-size: 17px; }
  .cp-story-quote { padding: 64px 20px; }
  .cp-story-quote__text { font-size: 24px; line-height: 1.3; }
  .cp-story-quote__body { font-size: 16px; }
}

/* Newsletter toast — same pill as the design (success + error) */
.cp-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translate(-50%, 12px);
  z-index: 120;
  background: #38180F;
  color: #F3EEE6;
  padding: 15px 30px;
  border-radius: 32px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  max-width: calc(100vw - 32px);
  box-shadow: 0 12px 40px rgba(56, 24, 15, 0.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
}
.cp-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 600px) {
  .cp-toast { white-space: normal; text-align: center; padding: 14px 22px; }
}

/* ============================================================
   DOCUMENT PAGES — privacy, refunds, terms and other plain pages
   Tokens taken from the Care page in the design.
   ============================================================ */
.cp-doc {
  max-width: 1080px;
  margin: 0 auto;
  padding: 72px 56px 104px;
}
.cp-doc__head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 46px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(28, 30, 29, 0.08);
}
.cp-doc__title {
  font-family: var(--cp-display);
  font-weight: 400;
  font-size: 52px;
  line-height: 1.08;
  margin: 0;
  color: #1C1E1D;
  text-wrap: pretty;
}
.cp-doc__intro {
  font-family: var(--cp-body);
  font-size: 19px;
  line-height: 1.68;
  color: #4A3A30;
  max-width: 54ch;
  text-wrap: pretty;
}
.cp-doc__updated {
  font-family: var(--cp-ui);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #9B9587;
}

/* Content column */
.cp-doc__body {
  max-width: 760px;
  font-family: var(--cp-body);
  font-size: 18px;
  line-height: 1.72;
  color: #4A3A30;
}
.cp-doc__body > * + * { margin-top: 18px; }
.cp-doc__body h2 {
  font-family: var(--cp-display);
  font-weight: 400;
  font-size: 34px;
  line-height: 1.14;
  color: #1C1E1D;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(28, 30, 29, 0.08);
}
.cp-doc__body > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.cp-doc__body h3 {
  font-family: var(--cp-display);
  font-weight: 500;
  font-size: 25px;
  line-height: 1.2;
  color: #1C1E1D;
  margin-top: 36px;
}
.cp-doc__body h4 {
  font-family: var(--cp-ui);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #785D3E;
  margin-top: 30px;
}
.cp-doc__body p { text-wrap: pretty; }
.cp-doc__body strong, .cp-doc__body b { font-weight: 500; color: #38180F; }
.cp-doc__body a {
  color: #785D3E;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(120, 93, 62, 0.4);
}
.cp-doc__body a:hover { color: #38180F; text-decoration-color: #38180F; }

/* Lists — same dot bullets as the Care page */
.cp-doc__body ul,
.cp-doc__body ol { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.cp-doc__body ul > li {
  position: relative;
  padding-left: 22px;
}
.cp-doc__body ul > li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.78em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #C4A882;
}
.cp-doc__body ol { counter-reset: cpdoc; }
.cp-doc__body ol > li { position: relative; padding-left: 34px; counter-increment: cpdoc; }
.cp-doc__body ol > li::before {
  content: counter(cpdoc, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.45em;
  font-family: var(--cp-ui);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: #785D3E;
}

.cp-doc__body blockquote {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 26px 30px;
  box-shadow: 0 4px 20px rgba(60, 38, 20, 0.05);
  font-family: var(--cp-display);
  font-size: 24px;
  line-height: 1.4;
  color: #38180F;
}
.cp-doc__body hr { border: 0; border-top: 1px solid rgba(28, 30, 29, 0.08); margin: 40px 0; }
.cp-doc__body img { max-width: 100%; height: auto; border-radius: 20px; }
.cp-doc__body table {
  width: 100%;
  border-collapse: collapse;
  background: #FFFFFF;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(60, 38, 20, 0.05);
  font-size: 16px;
}
.cp-doc__body th, .cp-doc__body td { padding: 14px 20px; text-align: left; border-bottom: 1px solid rgba(28, 30, 29, 0.08); }
.cp-doc__body th {
  font-family: var(--cp-ui);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #785D3E;
}
.cp-doc__body tr:last-child td { border-bottom: 0; }
.cp-doc__body .privacy-policy-tutorial { color: #9B9587; font-weight: 400; }

@media (max-width: 1024px) {
  .cp-doc { padding: 56px 32px 80px; }
  .cp-doc__title { font-size: 44px; }
  .cp-doc__body h2 { font-size: 30px; }
}
@media (max-width: 600px) {
  .cp-doc { padding: 40px 20px 64px; }
  .cp-doc__head { margin-bottom: 34px; padding-bottom: 28px; }
  .cp-doc__title { font-size: 30px; }
  .cp-doc__intro { font-size: 17px; }
  .cp-doc__body { font-size: 17px; }
  .cp-doc__body h2 { font-size: 26px; margin-top: 40px; padding-top: 30px; }
  .cp-doc__body h3 { font-size: 22px; }
  .cp-doc__body blockquote { font-size: 20px; padding: 20px; }
  .cp-doc__body table { font-size: 14px; display: block; overflow-x: auto; }
}

/* Product cards are fully clickable */
.cp-product-card, .cpx-prod-card, .cpw-card { cursor: pointer; }

/* ============================================================
   CONTACT — details + FAQ, and manuals
   ============================================================ */
.cp-contact {
  max-width: 1080px;
  margin: 0 auto;
  padding: 72px 56px 104px;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
  align-items: start;
}
.cp-contact--single { grid-template-columns: 1fr; max-width: 760px; }
.cp-contact__info { display: flex; flex-direction: column; gap: 18px; }
.cp-contact__title {
  font-family: var(--cp-display);
  font-weight: 400;
  font-size: 44px;
  line-height: 1.08;
  margin: 0;
  color: #1C1E1D;
}
.cp-contact__text {
  font-family: var(--cp-body);
  font-size: 18px;
  line-height: 1.68;
  color: #4A3A30;
}
.cp-contact__details { display: flex; flex-direction: column; gap: 14px; margin-top: 12px; }
.cp-contact__detail { display: flex; flex-direction: column; gap: 3px; }
.cp-contact__detail-label {
  font-family: var(--cp-ui);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #9B9587;
}
.cp-contact__detail-value { font-family: var(--cp-ui); font-size: 13px; color: #785D3E; }
.cp-contact__detail-value--plain { color: #4A3A30; }

.cp-contact__faqs { display: flex; flex-direction: column; gap: 14px; }
.cp-faq {
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(60, 38, 20, 0.05);
}
.cp-faq__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
}
.cp-faq__q-text { font-family: var(--cp-display); font-size: 24px; line-height: 1.2; color: #1C1E1D; }
.cp-faq__sign { font-family: var(--cp-ui); font-size: 17px; color: #9B9587; flex-shrink: 0; }
.cp-faq__a {
  padding: 0 28px 24px;
  font-family: var(--cp-body);
  font-size: 17px;
  line-height: 1.66;
  color: #4A3A30;
}
.cp-faq__a[hidden] { display: none; }

.cp-manuals { max-width: 1080px; margin: 0 auto; padding: 0 56px 104px; }
.cp-manuals__head {
  padding-top: 56px;
  border-top: 1px solid rgba(28, 30, 29, 0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}
.cp-manuals__title {
  font-family: var(--cp-display);
  font-weight: 400;
  font-size: 40px;
  line-height: 1.1;
  margin: 0;
  color: #1C1E1D;
}
.cp-manuals__text { font-family: var(--cp-body); font-size: 18px; line-height: 1.68; color: #4A3A30; max-width: 52ch; text-wrap: pretty; }
.cp-manuals__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 14px; }
.cp-manual {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 18px;
  display: flex;
  gap: 18px;
  align-items: center;
  box-shadow: 0 4px 20px rgba(60, 38, 20, 0.05);
}
.cp-manual__img { width: 76px; height: 76px; object-fit: contain; background: #EFE8DC; border-radius: 12px; display: block; flex-shrink: 0; }
.cp-manual__body { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.cp-manual__name { font-family: var(--cp-display); font-size: 25px; color: #1C1E1D; }
.cp-manual__meta { font-family: var(--cp-ui); font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: #9B9587; }
.cp-manual__link,
.cp-manuals__all {
  font-family: var(--cp-ui);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #38180F;
  border-bottom: 1px solid rgba(56, 24, 15, 0.3);
  text-decoration: none;
  padding-bottom: 3px;
  align-self: flex-start;
  display: inline-block;
}
.cp-manual__link:hover, .cp-manuals__all:hover { color: #38180F; text-decoration: none; }
.cp-manuals__all { margin-top: 30px; }

@media (max-width: 1024px) {
  .cp-contact { padding: 56px 32px 80px; gap: 40px; }
  .cp-contact__title { font-size: 38px; }
  .cp-manuals { padding: 0 32px 80px; }
  .cp-manuals__title { font-size: 34px; }
}
@media (max-width: 800px) {
  .cp-contact { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .cp-contact { padding: 36px 20px 64px; gap: 32px; }
  .cp-contact__title { font-size: 26px; line-height: 1.15; }
  .cp-contact__text { font-size: 17px; line-height: 1.7; }
  .cp-contact__detail-value { font-size: 13px; }
  .cp-faq__q { padding: 22px 24px; }
  .cp-faq__q-text { font-size: 22px; line-height: 1.22; }
  .cp-faq__a { padding: 0 24px 22px; font-size: 16px; }
  .cp-manuals { padding: 0 20px 64px; }
  .cp-manuals__title { font-size: 25px; line-height: 1.15; }
  .cp-manuals__text { font-size: 16px; line-height: 1.68; }
  .cp-manuals__head { padding-top: 40px; margin-bottom: 28px; gap: 10px; }
  .cp-manuals__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   MOBILE — matches "Cheripets VMobile GoLive" (390px design)
   Phones only (≤ 600px). Swipe carousels, full-bleed hero,
   mobile type scale. Loaded last so it wins over earlier rules.
   ============================================================ */
@media (max-width: 600px) {

  /* ── Hero: full-bleed image, text + dots over a dark gradient ── */
  .cp-hero { display: block; position: relative; height: 620px; min-height: 0; overflow: hidden; }
  .cp-hero__image-panel { position: absolute; inset: 0; min-height: 0; }
  .cp-hero__text-panel {
    position: absolute; inset: 0; z-index: 2;
    background: linear-gradient(to bottom, rgba(24,16,10,.66) 0%, rgba(24,16,10,.46) 40%, rgba(24,16,10,.08) 66%, rgba(24,16,10,.22) 100%);
    padding: 118px 24px 26px;
    justify-content: flex-start;
    gap: 18px;
  }
  .cp-hero__text-inner { gap: 16px; }
  .cp-hero__eyebrow { color: #F0E4D2; }
  .cp-hero__heading { font-weight: 300; font-size: 40px; line-height: 1.06; letter-spacing: 0; color: #FFFCF6; }
  .cp-hero__body { display: none; }
  .cp-hero__cta-row { margin-top: 2px; }
  .cp-hero__cta-row .cp-btn--cream { padding: 15px 28px; font-size: 10px; letter-spacing: 0.22em; }
  .cp-hero__controls { position: absolute; left: 24px; bottom: 26px; margin: 0; }
  .cp-hero__arrows { display: none; }
  .cp-hero__dots { gap: 9px; }
  .hero-dot { width: 8px; height: 8px; background: rgba(248,243,234,.38); }
  .hero-dot.is-active { width: 30px; background: #F8F3EA; }

  /* ── Featured products: swipe carousel, one card per screen ── */
  .cp-products { padding: 56px 0 8px; }
  .cp-products__header { padding: 0 24px 28px; gap: 14px; align-items: flex-start; }
  .cp-products__heading-group { gap: 14px; }
  .cp-products .cp-section-title { font-family: var(--cp-body); font-weight: 400; font-size: 19px; line-height: 1.6; color: #4A3A30; }
  .cp-products__grid {
    display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .cp-products__grid::-webkit-scrollbar { display: none; }
  .cp-products__grid .cp-product-card { flex: 0 0 100%; scroll-snap-align: center; gap: 0; }
  .cp-product-card__media { border-radius: 0; }
  .cp-product-card__img { height: 420px; }
  .cp-product-card__info { padding: 22px 24px 12px; gap: 7px; }
  .cp-product-card__name { font-size: 28px; }
  .cp-product-card__line { font-size: 16px; color: #6B5A4C; }
  .cp-product-card__cta { display: none; }

  /* ── Manifesto ── */
  .cp-manifesto { margin-top: 56px; padding: 64px 26px; }
  .cp-manifesto__inner { gap: 22px; }
  .cp-manifesto__quote { font-family: var(--cp-body); font-style: italic; font-weight: 400; font-size: 25px; line-height: 1.5; }
  .cp-manifesto__body { font-size: 16px; }

  /* ── Why Chéripets: full-width image, then text ── */
  .cp-why__intro { padding: 56px 24px 28px; gap: 14px; }
  .cp-why__intro-title { font-weight: 300; font-size: 34px; line-height: 1.1; }
  .cp-why__rows { padding: 0; gap: 0; }
  .cp-why__row { grid-template-columns: 1fr; gap: 0; }
  .cp-why__img { order: -1; width: 100%; height: 380px; border-radius: 0; object-fit: contain; background: #EFE8DC; }
  .cp-why__img--cover { object-fit: cover; }
  .cp-why__text { padding: 26px 24px 44px; gap: 12px; }
  .cp-why__num { font-size: 10px; letter-spacing: 0.28em; color: #9B9587; }
  .cp-why__title { font-size: 30px; line-height: 1.14; }
  .cp-why__body { font-size: 17px; line-height: 1.65; }

  /* ── Bespoke: swipe carousel of 306px cards ── */
  .cp-bespoke { padding: 20px 0 44px; }
  .cp-bespoke__header { padding: 0 24px 26px; align-items: center; text-align: center; gap: 12px; }
  .cp-bespoke .cp-section-title { font-weight: 300; font-size: 34px; line-height: 1.1; }
  .cp-bespoke__grid {
    display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .cp-bespoke__grid::-webkit-scrollbar { display: none; }
  .cp-bespoke-card { flex: 0 0 306px; scroll-snap-align: center; padding: 0 12px; gap: 16px; }
  .cp-bespoke-card__img { height: 260px; border-radius: 20px; }
  .cp-bespoke-card__text { text-align: center; gap: 8px; }
  .cp-bespoke-card__title { font-weight: 500; font-size: 24px; }
  .cp-bespoke-card__body { font-size: 16px; line-height: 1.6; }

  /* ── Collection / category listing: swipe cards, scrolling filter pills ── */
  html body .cpx-arch { padding: 64px 0 0; }
  html body .cpx-arch-header { padding: 0 24px 18px; gap: 10px; margin-bottom: 0; }
  html body .cpx-arch-title { font-weight: 300; font-size: 36px; line-height: 1.06; }
  html body .cpx-arch-filters {
    flex-wrap: nowrap; overflow-x: auto; gap: 10px; padding: 8px 24px 20px; margin-bottom: 0;
    border-bottom: 0; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  html body .cpx-arch-filters::-webkit-scrollbar { display: none; }
  html body .cpx-filter-btn { flex: 0 0 auto; white-space: nowrap; }
  html body .cpx-arch-grid {
    display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  html body .cpx-arch-grid::-webkit-scrollbar { display: none; }
  html body .cpx-arch-grid .cpx-prod-card { flex: 0 0 100%; scroll-snap-align: center; gap: 0; }
  html body .cpx-prod-img-wrap { border-radius: 0; }
  html body .cpx-prod-img { height: 450px; }
  html body .cpx-prod-info { padding: 24px 24px 8px; gap: 8px; }
  html body .cpx-prod-name { font-size: 30px; font-weight: 400; }
  html body .cpx-prod-desc { font-size: 16px; line-height: 1.5; color: #6B5A4C; }

  /* ── Product detail ── */
  html body .cpx-wrap { padding: 0 0 80px; }
  html body .cpx-back { display: block; padding: 18px 24px 14px; }
  html body .cpx-grid { gap: 0; }
  html body .cpx-gallery { gap: 0; }
  html body .cpx-hero { height: 440px; border-radius: 0; }
  html body .cpx-thumbs { padding: 12px 24px 0; }
  html body .cpx-panel { padding: 28px 24px 0; }
  html body .cpx-eyebrow { letter-spacing: 0.26em; }
  html body .cpx-name { font-weight: 300; font-size: 42px; line-height: 1; }
  html body .cpx-story { font-size: 18px; line-height: 1.6; color: #6B5A4C; }
  html body .cpx-qinput, html body .cpx-wrap input[type=text], html body .cpx-wrap input[type=email], html body .cpx-wrap input[type=tel] {
    font-family: var(--cp-body); font-size: 17px; border-radius: 14px; padding: 15px 14px;
  }
}

/* ============================================================
   CARE — header, cards, tips + wash card, manuals note
   ============================================================ */
.cp-icon { fill: none; stroke: #785D3E; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.cp-care-head {
  max-width: 1080px;
  margin: 0 auto;
  padding: 72px 56px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cp-care-head__title {
  font-family: var(--cp-display);
  font-weight: 400;
  font-size: 52px;
  line-height: 1.08;
  margin: 0;
  color: #1C1E1D;
}
.cp-care-head__text {
  font-family: var(--cp-body);
  font-size: 19px;
  line-height: 1.68;
  color: #4A3A30;
  max-width: 54ch;
  text-wrap: pretty;
}

.cp-care-cards {
  max-width: 1080px;
  margin: 0 auto;
  padding: 46px 56px 80px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
}
.cp-care-card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 4px 20px rgba(60, 38, 20, 0.05);
}
.cp-care-card__head { display: flex; align-items: center; gap: 12px; }
.cp-care-card__label {
  font-family: var(--cp-ui);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #785D3E;
}

.cp-bullets { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.cp-bullets li {
  position: relative;
  padding-left: 16px;
  font-family: var(--cp-body);
  font-size: 17px;
  line-height: 1.6;
  color: #4A3A30;
  text-wrap: pretty;
}
.cp-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #C4A882;
}
.cp-bullets--lg { gap: 14px; }
.cp-bullets--lg li { font-size: 18px; line-height: 1.62; padding-left: 17px; }

.cp-care-cushions { max-width: 1080px; margin: 0 auto; padding: 0 56px 80px; }
.cp-care-cushions__head {
  padding-top: 56px;
  border-top: 1px solid rgba(28, 30, 29, 0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.cp-care-cushions__title {
  font-family: var(--cp-display);
  font-weight: 400;
  font-size: 38px;
  line-height: 1.1;
  margin: 0;
  color: #1C1E1D;
}
.cp-care-cushions__body {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: start;
}
.cp-care-cushions__body--single { grid-template-columns: 1fr; max-width: 760px; }
.cp-wash {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(60, 38, 20, 0.05);
}
.cp-wash__label {
  font-family: var(--cp-ui);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #785D3E;
}
.cp-wash__row { display: flex; align-items: center; gap: 13px; padding: 3px 0; }
.cp-wash__text { font-family: var(--cp-ui); font-size: 12px; line-height: 1.5; color: #4A3A30; }

.cp-manuals__note {
  font-family: var(--cp-body);
  font-style: italic;
  font-size: 17px;
  line-height: 1.66;
  color: #785D3E;
  margin: 30px 0 0;
}

@media (max-width: 1024px) {
  .cp-care-head { padding: 56px 32px 0; }
  .cp-care-head__title { font-size: 44px; }
  .cp-care-cards { padding: 38px 32px 64px; }
  .cp-care-cushions { padding: 0 32px 64px; }
  .cp-care-cushions__title { font-size: 32px; }
}
@media (max-width: 800px) {
  .cp-care-cushions__body { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 600px) {
  .cp-care-head { padding: 40px 20px 0; gap: 12px; }
  .cp-care-head__title { font-size: 30px; line-height: 1.12; }
  .cp-care-head__text { font-size: 17px; }
  .cp-care-cards { padding: 32px 20px 56px; grid-template-columns: 1fr; gap: 16px; }
  .cp-care-card { padding: 24px; }
  .cp-bullets li { font-size: 16px; }
  .cp-bullets--lg li { font-size: 16px; }
  .cp-care-cushions { padding: 0 20px 56px; }
  .cp-care-cushions__head { padding-top: 40px; margin-bottom: 24px; }
  .cp-care-cushions__title { font-size: 25px; line-height: 1.15; }
  .cp-wash { padding: 22px; }
}

/* ============================================================
   NOTES — tagged note cards ("Build notes")
   ============================================================ */
.cp-notes {
  max-width: 900px;
  margin: 0 auto;
  padding: 72px 56px 104px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.cp-notes__title {
  font-family: var(--cp-display);
  font-weight: 400;
  font-size: 44px;
  line-height: 1.08;
  margin: 0;
  color: #1C1E1D;
}
.cp-note {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(60, 38, 20, 0.05);
}
.cp-note__tag {
  align-self: flex-start;
  font-family: var(--cp-ui);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  color: #38180F;
  background: #D1BB9F;
}
.cp-note__tag.is-confirmed { color: #F3EEE6; background: #785D3E; }
.cp-note__title { font-family: var(--cp-display); font-weight: 400; font-size: 24px; line-height: 1.2; margin: 0; color: #1C1E1D; }
.cp-note__body { font-family: var(--cp-body); font-size: 17px; line-height: 1.62; color: #4A3A30; }

@media (max-width: 1024px) {
  .cp-notes { padding: 56px 32px 80px; }
  .cp-notes__title { font-size: 38px; }
}
@media (max-width: 600px) {
  .cp-notes { padding: 40px 20px 64px; gap: 18px; }
  .cp-notes__title { font-size: 28px; line-height: 1.15; }
  .cp-note { padding: 20px; }
  .cp-note__title { font-size: 21px; }
  .cp-note__body { font-size: 16px; }
}

/* ============================================================
   CHECKOUT — WooCommerce checkout themed to the Chéripets design
   ============================================================ */
body.woocommerce-checkout .woocommerce-notices-wrapper,
body.woocommerce-checkout .woocommerce-NoticeGroup,
body.woocommerce-checkout .woocommerce-form-coupon-toggle,
body.woocommerce-checkout form.checkout_coupon {
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 56px;
  padding-right: 56px;
}

/* WooCommerce notices: plain Montserrat lines, no boxes */
body.woocommerce-checkout .woocommerce-info,
body.woocommerce-checkout .woocommerce-message,
body.woocommerce-checkout .woocommerce-error {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
  background: none;
  border: 0;
  font-family: var(--cp-ui);
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: #785D3E;
}
body.woocommerce-checkout .woocommerce-info::before,
body.woocommerce-checkout .woocommerce-message::before,
body.woocommerce-checkout .woocommerce-error::before { display: none; }
body.woocommerce-checkout .woocommerce-error { color: #C65947; }
body.woocommerce-checkout .woocommerce-error li { margin: 0 0 4px; }
body.woocommerce-checkout .woocommerce-info a { color: #38180F; text-decoration: underline; text-underline-offset: 3px; }

.cpx-co { max-width: 1200px; margin: 0 auto; padding: 72px 56px 104px; }
.cpx-co__head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 38px; }
.cpx-co__eyebrow { font-family: var(--cp-ui); font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: #785D3E; }
.cpx-co__title { font-family: var(--cp-display); font-weight: 400; font-size: 46px; line-height: 1.08; margin: 0; color: #1C1E1D; }

.cpx-co__grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 56px; align-items: start; }
.cpx-co__main { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.cpx-co__details { display: flex; flex-direction: column; gap: 0; }
.cpx-co__details > .woocommerce-shipping-fields:has(*) { margin-top: 20px; }
.cpx-co__details > .woocommerce-shipping-fields:not(:has(*)) { display: none; }
.cpx-co__details > .woocommerce-shipping-fields:has(*),
.cpx-co__details > .woocommerce-additional-fields:has(*) { margin-top: 20px; }
.cpx-co .woocommerce-billing-fields { display: flex; flex-direction: column; gap: 26px; }
.cpx-co .woocommerce-additional-fields { display: flex; flex-direction: column; gap: 12px; }
.cpx-co wc-order-attribution-inputs { display: none; }
.cpx-co__section { display: flex; flex-direction: column; gap: 12px; }
.cpx-co__label,
body.woocommerce-checkout .cpx-co #payment::before,
.cpx-co .woocommerce-shipping-fields h3,
.cpx-co .woocommerce-additional-fields h3 {
  font-family: var(--cp-ui);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #1C1E1D;
  margin: 0;
}

/* Fields */
.cpx-co__fields,
.cpx-co .woocommerce-shipping-fields__field-wrapper,
.cpx-co .woocommerce-additional-fields__field-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
body.woocommerce-checkout .cpx-co form .form-row { margin: 0; padding: 0; flex: 1 1 100%; min-width: 0; float: none; width: auto; }
body.woocommerce-checkout .cpx-co form .form-row-first,
body.woocommerce-checkout .cpx-co form .form-row-last { flex: 1 1 calc(50% - 6px); }
body.woocommerce-checkout .cpx-co form .cpx-f-city { flex: 1.3 1 0; }
body.woocommerce-checkout .cpx-co form .cpx-f-state,
body.woocommerce-checkout .cpx-co form .cpx-f-zip { flex: 1 1 0; }
.cpx-co .woocommerce-input-wrapper { display: block; }

/* Labels become screen-reader text — the design uses placeholders only */
.cpx-co .form-row > label:not(.checkbox):not(.woocommerce-form__label-for-checkbox) {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

body.woocommerce-checkout .cpx-co .form-row input.input-text,
body.woocommerce-checkout .cpx-co .form-row input[type=text],
body.woocommerce-checkout .cpx-co .form-row input[type=email],
body.woocommerce-checkout .cpx-co .form-row input[type=tel],
body.woocommerce-checkout .cpx-co .form-row input[type=password],
body.woocommerce-checkout .cpx-co .form-row textarea,
body.woocommerce-checkout .cpx-co .form-row select {
  width: 100%;
  border: 1px solid rgba(28, 30, 29, 0.18);
  background: #FFFFFF;
  border-radius: 12px;
  padding: 15px 16px;
  font-family: var(--cp-ui);
  font-size: 13px;
  color: #1C1E1D;
  outline: none;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
}
.cpx-co textarea { min-height: 96px; resize: vertical; font-family: var(--cp-body); font-size: 16px; }
.cpx-co input::placeholder, .cpx-co textarea::placeholder { color: #9B9587; }
body.woocommerce-checkout .cpx-co .form-row input:focus, body.woocommerce-checkout .cpx-co .form-row textarea:focus, body.woocommerce-checkout .cpx-co .form-row select:focus { border-color: rgba(56, 24, 15, 0.55); }
.cpx-co .woocommerce-invalid input,
.cpx-co .woocommerce-invalid select,
.cpx-co .woocommerce-invalid .select2-selection { border-color: #C65947; }
.cpx-co .checkout-inline-error-message { margin: 6px 0 0; font-family: var(--cp-ui); font-size: 11px; color: #C65947; }
.cpx-co .required, .cpx-co abbr.required { display: none; }

/* Native selects (when select2 is not active) */
.cpx-co select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%231C1E1D' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 12px; padding-right: 40px;
}
/* select2 (country / state) */
.cpx-co .select2-container { width: 100% !important; display: block; }
body.woocommerce-checkout .cpx-co .select2-container--default .select2-selection--single {
  height: auto; border: 1px solid rgba(28, 30, 29, 0.18); border-radius: 12px; background: #FFFFFF; padding: 13px 10px;
}
.cpx-co .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 1.4; padding: 0 6px; font-family: var(--cp-ui); font-size: 13px; color: #1C1E1D;
}
.cpx-co .select2-container--default .select2-selection--single .select2-selection__arrow { height: 100%; top: 0; right: 10px; }
.cpx-co .select2-container--default.select2-container--focus .select2-selection--single { border-color: rgba(56, 24, 15, 0.55); }

/* Ship to a different address + create account */
.cpx-co .woocommerce-shipping-fields { margin-top: 0; }
.cpx-co #ship-to-different-address { margin: 0 0 12px; }
.cpx-co #ship-to-different-address label,
.cpx-co .create-account label,
.cpx-co .woocommerce-form__label-for-checkbox {
  display: flex; align-items: center; gap: 10px; cursor: pointer;
  font-family: var(--cp-ui); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: #1C1E1D;
}
.cpx-co input[type=checkbox], .cpx-co input[type=radio] { accent-color: #38180F; width: auto; margin: 0; }

/* Payment */
body.woocommerce-checkout .cpx-co #payment { background: none; border-radius: 0; display: flex; flex-direction: column; gap: 12px; }
body.woocommerce-checkout .cpx-co #payment::before { content: 'Payment'; }
body.woocommerce-checkout .cpx-co #payment ul.wc_payment_methods { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; border: 0; }
body.woocommerce-checkout .cpx-co #payment ul.wc_payment_methods li {
  margin: 0; padding: 7px 16px; background: #FFFFFF; border: 1px solid rgba(28, 30, 29, 0.18); border-radius: 12px; list-style: none;
}
body.woocommerce-checkout .cpx-co #payment ul.wc_payment_methods li:has(input:checked) { border-color: #38180F; }
body.woocommerce-checkout .cpx-co #payment ul.wc_payment_methods li label {
  display: inline-flex; align-items: center; gap: 10px; margin: 0; cursor: pointer;
  font-family: var(--cp-ui); font-size: 12px; letter-spacing: 0.04em; color: #1C1E1D;
}
body.woocommerce-checkout .cpx-co #payment div.payment_box {
  background: none; padding: 10px 0 0 26px; margin: 0; border: 0;
  font-family: var(--cp-body); font-size: 15px; line-height: 1.55; color: #785D3E;
}
body.woocommerce-checkout .cpx-co #payment div.payment_box::before { display: none; }
body.woocommerce-checkout .cpx-co #payment div.payment_box p { margin: 0; }
body.woocommerce-checkout .cpx-co #payment div.form-row.place-order { padding: 0; margin: 4px 0 0; display: flex; flex-direction: column; gap: 14px; background: none; }
.cpx-co .woocommerce-terms-and-conditions-wrapper,
.cpx-co .woocommerce-privacy-policy-text { font-family: var(--cp-ui); font-size: 10px; line-height: 1.6; letter-spacing: 0.04em; color: #9B9587; }
.cpx-co .woocommerce-privacy-policy-text p { margin: 0; }
.cpx-co .woocommerce-privacy-policy-text a, .cpx-co .woocommerce-terms-and-conditions-wrapper a { color: #785D3E; text-decoration: underline; text-underline-offset: 3px; }
body.woocommerce-checkout .cpx-co #payment #place_order,
body.woocommerce-checkout .cpx-co #payment button#place_order {
  width: 100%;
  font-family: var(--cp-ui);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: #38180F;
  color: #F3EEE6;
  padding: 18px 30px;
  border-radius: 32px;
  border: 0;
  cursor: pointer;
  float: none;
  opacity: 1;
}
body.woocommerce-checkout .cpx-co #payment #place_order:hover, body.woocommerce-checkout .cpx-co #payment #place_order:focus { background: #38180F; color: #F3EEE6; opacity: 1; text-decoration: none; }

/* Summary card */
.cpx-co__summary {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 6px 28px rgba(60, 38, 20, 0.07);
}
.cpx-sum { display: flex; flex-direction: column; gap: 14px; }
.cpx-sum__lines { display: flex; flex-direction: column; gap: 14px; }
.cpx-sum__line { display: flex; gap: 14px; align-items: center; }
.cpx-sum__img { width: 64px; height: 64px; object-fit: contain; background: #EFE8DC; border-radius: 12px; display: block; flex-shrink: 0; }
.cpx-sum__info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.cpx-sum__name { font-family: var(--cp-display); font-size: 18px; line-height: 1.2; color: #1C1E1D; }
.cpx-sum__name a, .cpx-sum__name a:visited, .cpx-sum__name a:hover { color: inherit; text-decoration: none; }
.cpx-sum__meta { line-height: 1.5; }
.cpx-sum__meta { font-family: var(--cp-ui); font-size: 10px; color: #9B9587; }
.cpx-sum__price { font-family: var(--cp-ui); font-size: 13px; color: #1C1E1D; white-space: nowrap; }

.cpx-sum__totals { width: 100%; border-collapse: collapse; border-top: 1px solid rgba(28, 30, 29, 0.1); margin-top: 0; }
.cpx-sum__totals th, .cpx-sum__totals td {
  padding: 9px 0; border: 0; background: none; text-align: left; vertical-align: top;
  font-family: var(--cp-ui); font-size: 12px; font-weight: 400; color: #4A3A30;
}
.cpx-sum__totals tr:first-child th, .cpx-sum__totals tr:first-child td { padding-top: 14px; }
.cpx-sum__totals td { text-align: right; }
.cpx-sum__totals .order-total th, .cpx-sum__totals .order-total td {
  font-size: 15px; color: #1C1E1D; border-top: 1px solid rgba(28, 30, 29, 0.1); padding-top: 12px;
}
.cpx-sum__totals .order-total strong { font-weight: 400; }
.cpx-sum__totals .amount { font-family: inherit; }

/* Shipping methods as selectable pills */
.cpx-sum__totals .woocommerce-shipping-totals th { padding-bottom: 0; }
.cpx-sum__totals .woocommerce-shipping-totals td { text-align: left; }
.cpx-sum__totals ul#shipping_method { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.cpx-sum__totals ul#shipping_method li { margin: 0; padding: 0; }
.cpx-sum__totals ul#shipping_method li label {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 14px; border: 1px solid rgba(28, 30, 29, 0.18); border-radius: 12px; cursor: pointer;
  font-family: var(--cp-ui); font-size: 12px; color: #1C1E1D;
}
.cpx-sum__totals ul#shipping_method li input { position: absolute; opacity: 0; pointer-events: none; }
.cpx-sum__totals ul#shipping_method li:has(input:checked) label { border-color: #38180F; background: #F3EEE6; }
.cpx-sum__totals .woocommerce-shipping-destination { font-size: 10px; color: #9B9587; margin: 8px 0 0; }

@media (max-width: 900px) {
  .cpx-co { padding: 56px 32px 80px; }
  .cpx-co__grid { grid-template-columns: 1fr; gap: 36px; }
  .cpx-co__side { order: -1; }
  body.woocommerce-checkout .woocommerce-notices-wrapper,
  body.woocommerce-checkout .woocommerce-NoticeGroup,
  body.woocommerce-checkout .woocommerce-form-coupon-toggle,
  body.woocommerce-checkout form.checkout_coupon { padding-left: 32px; padding-right: 32px; }
}
@media (max-width: 600px) {
  .cpx-co { padding: 40px 24px 64px; }
  .cpx-co__head { margin-bottom: 26px; }
  .cpx-co__title { font-size: 34px; }
  .cpx-co .form-row-first, .cpx-co .form-row-last { flex-basis: 100%; }
  .cpx-co .cpx-f-city { flex-basis: 100%; }
  .cpx-co__summary { padding: 22px; }
  body.woocommerce-checkout .woocommerce-notices-wrapper,
  body.woocommerce-checkout .woocommerce-NoticeGroup,
  body.woocommerce-checkout .woocommerce-form-coupon-toggle,
  body.woocommerce-checkout form.checkout_coupon { padding-left: 24px; padding-right: 24px; }
}

/* Checkout summary — reserve (Limited Run) items */
.cpx-sum__totals .cpx-balance th, .cpx-sum__totals .cpx-balance td { color: #785D3E; padding-top: 4px; }
.cpx-sum__totals .cpx-balance th { padding-right: 12px; }
.cpx-sum__note {
  background: #F3EEE6;
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cpx-sum__note-label { font-family: var(--cp-ui); font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: #785D3E; }
.cpx-sum__note-text { font-family: var(--cp-body); font-size: 15px; line-height: 1.55; color: #4A3A30; }

/* WooCommerce clearfix pseudo-elements become flex items (and extra gaps) — switch them off */
.cpx-co__details::before, .cpx-co__details::after,
.cpx-co .woocommerce-billing-fields::before, .cpx-co .woocommerce-billing-fields::after,
.cpx-co .woocommerce-additional-fields::before, .cpx-co .woocommerce-additional-fields::after,
.cpx-co__section::before, .cpx-co__section::after,
.cpx-co__fields::before, .cpx-co__fields::after,
.cpx-co .woocommerce-shipping-fields__field-wrapper::before, .cpx-co .woocommerce-shipping-fields__field-wrapper::after,
.cpx-co .woocommerce-additional-fields__field-wrapper::before, .cpx-co .woocommerce-additional-fields__field-wrapper::after,
.cpx-co__main::before, .cpx-co__main::after { display: none !important; content: none !important; }

.cpx-co #payment li.payment_method_cod .payment_box { display: none !important; }

/* Checkout coupon — same row as the cart page ("Have a coupon code?") */
.cpx-co-coupon { max-width: 1200px; margin: 0 auto; padding: 80px 56px 0; }
body.woocommerce-checkout .cpx-co-coupon .woocommerce-form-coupon-toggle { max-width: none; margin: 0; padding: 0; }
body.woocommerce-checkout .cpx-co-coupon .cpx-coupon-toggle {
  display: flex; justify-content: space-between; align-items: center; width: 100%;
  border-top: 1px solid rgba(28, 30, 29, 0.08); padding: 16px 0 0;
  font-family: var(--cp-ui); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: #9B9587; text-decoration: none; cursor: pointer;
}
body.woocommerce-checkout .cpx-co-coupon .cpx-coupon-toggle:hover { color: #38180F; text-decoration: none; }
body.woocommerce-checkout .cpx-co-coupon form.checkout_coupon { max-width: none; margin: 12px 0 0; padding: 0; border: 0; }
body.woocommerce-checkout .cpx-co-coupon .cpx-coupon-row { display: flex; gap: 8px; width: 100%; }
body.woocommerce-checkout .cpx-co-coupon .cpx-coupon-input {
  flex: 1; min-width: 0; width: auto; border: 1px solid rgba(28, 30, 29, 0.18); border-radius: 10px;
  padding: 12px 14px; font-family: var(--cp-ui); font-size: 12px; color: #1C1E1D; background: #FFFFFF;
  outline: none; box-shadow: none; -webkit-appearance: none; appearance: none;
}
body.woocommerce-checkout .cpx-co-coupon .cpx-coupon-input:focus { border-color: #38180F; }
body.woocommerce-checkout .cpx-co-coupon .cpx-coupon-apply {
  font-family: var(--cp-ui); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  background: #1C1E1D; color: #F3EEE6; border: 0; border-radius: 10px; padding: 12px 16px; cursor: pointer; white-space: nowrap;
}
body.woocommerce-checkout .cpx-co-coupon .cpx-coupon-apply:hover, body.woocommerce-checkout .cpx-co-coupon .cpx-coupon-apply:focus { background: #1C1E1D; color: #F3EEE6; opacity: 1; }
@media (max-width: 900px) { .cpx-co-coupon { padding: 64px 32px 0; } }
@media (max-width: 600px) { .cpx-co-coupon { padding: 48px 24px 0; } }

/* Checkout: field errors show under each field — hide the duplicate summary list on top.
   Errors without a field (payment failure, stock, etc.) still show. */
body.woocommerce-checkout .woocommerce-NoticeGroup-checkout .woocommerce-error li[data-id] { display: none; }
body.woocommerce-checkout .woocommerce-NoticeGroup-checkout .woocommerce-error:not(:has(li:not([data-id]))) { display: none; }

/* ============================================================
   ORDER CONFIRMATION (thank-you) — Chéripets design
   ============================================================ */
.cpx-ty { max-width: 960px; margin: 0 auto; padding: 72px 56px 104px; display: flex; flex-direction: column; gap: 44px; }

.cpx-ty__hero {
  background: #38180F;
  color: #F3EEE6;
  border-radius: 32px;
  padding: 64px 56px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  overflow: hidden;
}
.cpx-ty__mark {
  position: absolute; right: -60px; top: -70px; width: 300px; height: 300px;
  opacity: 0.06; filter: invert(1); pointer-events: none; display: block;
}
.cpx-ty__eyebrow { font-family: var(--cp-ui); font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: #D1BB9F; position: relative; }
.cpx-ty__eyebrow--brown { color: #785D3E; }
.cpx-ty__title { font-family: var(--cp-display); font-weight: 400; font-size: 50px; line-height: 1.08; margin: 0; color: #F3EEE6; position: relative; }
.cpx-ty__text { font-family: var(--cp-body); font-size: 19px; line-height: 1.65; color: #D6C2AA; max-width: 52ch; position: relative; }
.cpx-ty__btns { display: flex; gap: 12px; margin-top: 12px; flex-wrap: wrap; position: relative; }
.cpx-ty__btn {
  font-family: var(--cp-ui); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 15px 30px; border-radius: 32px; text-decoration: none; display: inline-block; cursor: pointer;
}
.cpx-ty__btn--light { background: #F3EEE6; color: #38180F; border: 1px solid #F3EEE6; }
.cpx-ty__btn--ghost { background: transparent; color: #F3EEE6; border: 1px solid rgba(243, 238, 230, 0.4); }
.cpx-ty__btn:hover, .cpx-ty__btn:focus { text-decoration: none; }
.cpx-ty__btn--light:hover, .cpx-ty__btn--light:focus { background: #F3EEE6; color: #38180F; }
.cpx-ty__btn--ghost:hover, .cpx-ty__btn--ghost:focus { background: transparent; color: #F3EEE6; border-color: rgba(243, 238, 230, 0.4); }

.cpx-ty__mail-wrap { display: flex; flex-direction: column; gap: 16px; }
.cpx-ty__mail { background: #FFFFFF; border-radius: 20px; overflow: hidden; box-shadow: 0 6px 28px rgba(60, 38, 20, 0.07); }
.cpx-ty__mail-head { background: #38180F; padding: 26px; text-align: center; }
.cpx-ty__mail-head img { height: 16px; width: 114px; display: inline-block; }
.cpx-ty__mail-body { padding: 38px 40px; display: flex; flex-direction: column; gap: 16px; }
.cpx-ty__order-no { font-family: var(--cp-ui); font-size: 9px; letter-spacing: 0.26em; text-transform: uppercase; color: #9B9587; }
.cpx-ty__mail-title { font-family: var(--cp-display); font-weight: 400; font-size: 34px; line-height: 1.15; margin: 0; color: #1C1E1D; }
.cpx-ty__mail-text { font-family: var(--cp-body); font-size: 17px; line-height: 1.65; color: #4A3A30; }

.cpx-ty__items {
  border-top: 1px solid rgba(28, 30, 29, 0.1); border-bottom: 1px solid rgba(28, 30, 29, 0.1);
  padding: 18px 0; display: flex; flex-direction: column; gap: 12px;
}
.cpx-ty__item { display: flex; gap: 14px; align-items: center; }
.cpx-ty__item-img { width: 56px; height: 56px; object-fit: contain; background: #EFE8DC; border-radius: 10px; display: block; flex-shrink: 0; }
.cpx-ty__item-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cpx-ty__item-name { font-family: var(--cp-display); font-size: 20px; line-height: 1.2; color: #1C1E1D; }
.cpx-ty__item-meta { font-family: var(--cp-ui); font-size: 10px; color: #9B9587; line-height: 1.5; }
.cpx-ty__item-price { font-family: var(--cp-ui); font-size: 13px; color: #1C1E1D; white-space: nowrap; }

.cpx-ty__total { display: flex; justify-content: space-between; gap: 12px; font-family: var(--cp-ui); font-size: 14px; color: #1C1E1D; }
.cpx-ty__total--balance { font-size: 12px; color: #785D3E; margin-top: -8px; }
.cpx-ty__ship { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; }
.cpx-ty__ship-label { font-family: var(--cp-ui); font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: #9B9587; }
.cpx-ty__ship-text { font-family: var(--cp-ui); font-size: 12px; line-height: 1.7; color: #4A3A30; }
.cpx-ty__sign { font-family: var(--cp-body); font-style: italic; font-size: 17px; color: #785D3E; margin: 14px 0 0; }

@media (max-width: 900px) { .cpx-ty { padding: 56px 32px 80px; gap: 36px; } .cpx-ty__title { font-size: 42px; } }
@media (max-width: 600px) {
  .cpx-ty { padding: 18px clamp(18px, 5.4vw, 24px) 64px; gap: 32px; }
  .cpx-ty__hero { padding: 40px 24px 36px; border-radius: 28px; gap: 16px; }
  .cpx-ty__title { font-size: 28px; line-height: 1.15; }
  .cpx-ty__text { font-size: 16px; line-height: 1.7; }
  .cpx-ty__btns { gap: 10px; margin-top: 8px; flex-wrap: nowrap; }
  .cpx-ty__btn { padding: 15px 26px; white-space: nowrap; }
  .cpx-ty__mail-body { padding: 38px clamp(24px, 9.4vw, 40px); gap: 16px; }
  .cpx-ty__mail-head { padding: 26px; }
  .cpx-ty__mail-text { font-size: 15px; line-height: 1.85; }
  .cpx-ty__order-no { font-size: 9px; }
  .cpx-ty__items { padding: 18px 0; }
  .cpx-ty__item-img { width: 56px; height: 56px; }
  .cpx-ty__mail-title { font-size: 30px; line-height: 1.15; }
  .cpx-ty__sign { font-size: 16px; }
  .cpx-ty__item-name { font-size: 18px; }
}

/* Confirmation buttons stay side by side on narrow phones */
@media (max-width: 420px) {
  .cpx-ty__btn { padding: 15px 20px; font-size: 10px; letter-spacing: 0.16em; }
  .cpx-ty__btns { gap: 8px; }
}
@media (max-width: 340px) { .cpx-ty__btns { flex-wrap: wrap; } }

/* Confirmation card on narrow phones (≈ 320–420px): tighter so long names fit */
@media (max-width: 420px) {
  .cpx-ty__mail-body { padding: 32px clamp(20px, 7vw, 28px); gap: 14px; }
  .cpx-ty__mail-title { font-size: 26px; line-height: 1.15; }
  .cpx-ty__mail-text { font-size: 15px; line-height: 1.7; }
  .cpx-ty__items { gap: 14px; padding: 16px 0; }
  .cpx-ty__item { gap: 12px; align-items: flex-start; }
  .cpx-ty__item-img { width: 48px; height: 48px; border-radius: 9px; }
  .cpx-ty__item-name { font-size: 16px; line-height: 1.25; }
  .cpx-ty__item-meta { font-size: 9px; letter-spacing: 0.02em; }
  .cpx-ty__item-price { font-size: 12px; padding-top: 2px; }
  .cpx-ty__total { font-size: 13px; }
  .cpx-ty__total--balance { font-size: 11px; margin-top: -6px; }
  .cpx-ty__ship-text { font-size: 12px; line-height: 1.6; }
  .cpx-ty__sign { font-size: 15px; margin-top: 6px; }
}

/* My account → Requests: quote status badges */
.cpa-order-badge.new { background: #F3EEE6; color: #785D3E; }
.cpa-order-badge.quoted { background: #EFF6EF; color: #2D5A27; }
.cpa-order-badge.closed { background: #F3F0EC; color: #4A3A30; }
.cpa-order-total--note { font-family: var(--cp-body); font-size: 14px; line-height: 1.4; color: #785D3E; text-align: right; max-width: 22ch; }

/* ============================================================
   ACCOUNT AUTH SCREENS — sign in, forgot password, reset password
   ============================================================ */
.cpa-login-wrap { padding: 72px 56px 104px; max-width: 1080px; margin: 0 auto; }
.cpa-login-inner { max-width: 440px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.cpa-login-title { font-family: var(--cp-display); font-weight: 400; font-size: 44px; line-height: 1.08; margin: 0 0 6px; color: #1C1E1D; text-align: center; }
.cpa-login-card { background: #FFFFFF; border-radius: 20px; padding: 36px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 6px 28px rgba(60, 38, 20, 0.07); }
.cpa-login-card form { display: flex; flex-direction: column; gap: 16px; }
.cpa-login-card--center { align-items: stretch; text-align: center; }
.cpa-login-copy { font-family: var(--cp-body); font-size: 17px; line-height: 1.65; color: #4A3A30; margin: 0; }
body .cpa-login-wrap .cpa-login-input {
  border: 1px solid rgba(28, 30, 29, 0.18); background: #FFFFFF; border-radius: 12px; padding: 15px 16px;
  font-size: 13px; font-family: var(--cp-ui); outline: none; width: 100%; box-shadow: none; -webkit-appearance: none; appearance: none; color: #1C1E1D;
}
body .cpa-login-wrap .cpa-login-input:focus { border-color: rgba(56, 24, 15, 0.4); }
.cpa-login-input::placeholder { color: #9B9587; }
.cpa-login-error-msg, .cpa-login-success-msg { font-family: var(--cp-ui); font-size: 11px; line-height: 1.6; margin: 0; }
.cpa-login-error-msg { color: #C65947; }
.cpa-login-success-msg { color: #785D3E; }
.cpa-login-btn {
  font-family: var(--cp-ui); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  background: #38180F; color: #F3EEE6; padding: 16px 30px; border-radius: 32px; border: 0; cursor: pointer; text-align: center;
}
.cpa-login-btn--link { display: block; text-decoration: none; }
.cpa-login-btn:hover, .cpa-login-btn:focus { background: #38180F; color: #F3EEE6; opacity: 1; text-decoration: none; }
.cpa-login-lost {
  font-family: var(--cp-ui); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: #9B9587; text-align: center; display: block; margin-top: 2px; text-decoration: none;
}
.cpa-login-lost:hover { color: #38180F; text-decoration: none; }
@media (max-width: 600px) {
  .cpa-login-wrap { padding: 48px 20px 72px; }
  .cpa-login-title { font-size: 34px; }
  .cpa-login-card { padding: 24px; }
}

/* ============================================================
   MY ACCOUNT — WooCommerce notices (e.g. "Confirm your email address…")
   ============================================================ */
body.woocommerce-account .cpa-wrap .woocommerce-info,
body.woocommerce-account .cpa-wrap .woocommerce-message,
body.woocommerce-account .cpa-wrap .woocommerce-error {
  list-style: none;
  margin: 0 0 24px;
  padding: 16px 22px;
  background: #FFFFFF;
  border: 0;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(60, 38, 20, 0.05);
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-family: var(--cp-body);
  font-size: 16px;
  line-height: 1.55;
  color: #4A3A30;
}
body.woocommerce-account .cpa-wrap .woocommerce-info::before,
body.woocommerce-account .cpa-wrap .woocommerce-message::before,
body.woocommerce-account .cpa-wrap .woocommerce-error::before { display: none; content: none; }
body.woocommerce-account .cpa-wrap .woocommerce-error { color: #C65947; flex-direction: column; align-items: flex-start; gap: 4px; }
body.woocommerce-account .cpa-wrap .woocommerce-error li { margin: 0; }
body.woocommerce-account .cpa-wrap .woocommerce-info a:not(.button),
body.woocommerce-account .cpa-wrap .woocommerce-message a:not(.button) { color: #38180F; text-decoration: underline; text-underline-offset: 3px; }
body.woocommerce-account .cpa-wrap .woocommerce-info .button,
body.woocommerce-account .cpa-wrap .woocommerce-message .button {
  float: none; margin: 0 0 0 auto; order: 2;
  font-family: var(--cp-ui); font-size: 10px; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase;
  background: #38180F; color: #F3EEE6; padding: 12px 22px; border-radius: 32px; border: 0; cursor: pointer; text-decoration: none; white-space: nowrap;
}
body.woocommerce-account .cpa-wrap .woocommerce-info .button:hover,
body.woocommerce-account .cpa-wrap .woocommerce-info .button:focus,
body.woocommerce-account .cpa-wrap .woocommerce-message .button:hover,
body.woocommerce-account .cpa-wrap .woocommerce-message .button:focus { background: #38180F; color: #F3EEE6; text-decoration: none; opacity: 1; }
@media (max-width: 600px) {
  body.woocommerce-account .cpa-wrap .woocommerce-info,
  body.woocommerce-account .cpa-wrap .woocommerce-message { flex-direction: column; align-items: flex-start; padding: 18px; font-size: 15px; }
}
body.woocommerce-account .cpa-wrap .woocommerce-info,
body.woocommerce-account .cpa-wrap .woocommerce-message { text-align: left; }
body.woocommerce-account .cpa-wrap .woocommerce-info,
body.woocommerce-account .cpa-wrap .woocommerce-message { justify-content: flex-start; text-align: left; }

/* ============================================================
   MY ACCOUNT — clickable order cards + order detail page
   ============================================================ */
a.cpa-order-card { text-decoration: none; color: inherit; cursor: pointer; }
a.cpa-order-card:hover { text-decoration: none; color: inherit; }
a.cpa-order-card .cpa-order-name { color: #1C1E1D; }

.cpa-od { display: flex; flex-direction: column; gap: 18px; }
.cpa-od__back { font-family: var(--cp-ui); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: #785D3E; text-decoration: none; align-self: flex-start; }
.cpa-od__back:hover { color: #38180F; text-decoration: none; }
.cpa-od__card { background: #FFFFFF; border-radius: 20px; padding: 36px 40px; box-shadow: 0 6px 28px rgba(60, 38, 20, 0.07); display: flex; flex-direction: column; gap: 22px; }
.cpa-od__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.cpa-od__head-left { display: flex; flex-direction: column; gap: 6px; }
.cpa-od__eyebrow { font-family: var(--cp-ui); font-size: 9px; letter-spacing: 0.24em; text-transform: uppercase; color: #9B9587; }
.cpa-od__title { font-family: var(--cp-display); font-weight: 400; font-size: 34px; line-height: 1.1; margin: 0; color: #1C1E1D; }

.cpa-od__reserve { background: #F3EEE6; border-radius: 12px; padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.cpa-od__reserve-label { font-family: var(--cp-ui); font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: #785D3E; }
.cpa-od__reserve-text { font-family: var(--cp-body); font-size: 15px; line-height: 1.6; color: #4A3A30; margin: 0; }
.cpa-od__reserve-text strong { font-weight: 500; color: #38180F; }

.cpa-od__items { border-top: 1px solid rgba(28, 30, 29, 0.1); border-bottom: 1px solid rgba(28, 30, 29, 0.1); padding: 18px 0; display: flex; flex-direction: column; gap: 14px; }
.cpa-od__item { display: flex; gap: 14px; align-items: center; }
.cpa-od__item-img { width: 64px; height: 64px; object-fit: contain; background: #EFE8DC; border-radius: 12px; display: block; flex-shrink: 0; }
.cpa-od__item-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.cpa-od__item-name { font-family: var(--cp-display); font-size: 21px; line-height: 1.2; color: #1C1E1D; text-decoration: none; }
a.cpa-od__item-name:hover { color: #38180F; text-decoration: none; }
.cpa-od__item-meta { font-family: var(--cp-ui); font-size: 10px; line-height: 1.5; color: #9B9587; }
.cpa-od__item-price { font-family: var(--cp-ui); font-size: 13px; color: #1C1E1D; white-space: nowrap; }

.cpa-od__totals { width: 100%; border-collapse: collapse; }
.cpa-od__totals th, .cpa-od__totals td { padding: 7px 0; border: 0; background: none; font-family: var(--cp-ui); font-size: 12px; font-weight: 400; color: #4A3A30; text-align: left; vertical-align: top; }
.cpa-od__totals td { text-align: right; }
.cpa-od__sub { color: #9B9587; font-size: 11px; }
.cpa-od__grand th, .cpa-od__grand td { font-size: 15px; color: #1C1E1D; border-top: 1px solid rgba(28, 30, 29, 0.1); padding-top: 14px; }
.cpa-od__balance th, .cpa-od__balance td { color: #785D3E; padding-top: 4px; }
.cpa-od__balance--note th { font-size: 11px; color: #9B9587; padding-top: 0; }

.cpa-od__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 22px; }
.cpa-od__col { display: flex; flex-direction: column; gap: 6px; }
.cpa-od__col--full { grid-column: 1 / -1; }
.cpa-od__label { font-family: var(--cp-ui); font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: #9B9587; }
.cpa-od__addr { font-family: var(--cp-ui); font-style: normal; font-size: 12px; line-height: 1.7; color: #4A3A30; }

.cpa-od__updates { border-top: 1px solid rgba(28, 30, 29, 0.1); padding-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.cpa-od__update { display: flex; flex-direction: column; gap: 3px; }
.cpa-od__update-date { font-family: var(--cp-ui); font-size: 10px; color: #9B9587; }
.cpa-od__update-text { font-family: var(--cp-body); font-size: 16px; line-height: 1.6; color: #4A3A30; }
.cpa-od__update-text p { margin: 0; }

.cpa-od__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.cpa-od__ghost { font-family: var(--cp-ui); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: #1C1E1D; border: 1px solid rgba(28, 30, 29, 0.3); padding: 15px 30px; border-radius: 32px; text-decoration: none; background: transparent; }
.cpa-od__ghost:hover, .cpa-od__ghost:focus { color: #1C1E1D; border-color: rgba(28, 30, 29, 0.3); background: transparent; text-decoration: none; }

@media (max-width: 600px) {
  .cpa-od__card { padding: 24px 22px; gap: 18px; }
  .cpa-od__title { font-size: 28px; }
  .cpa-od__item-img { width: 52px; height: 52px; }
  .cpa-od__item-name { font-size: 18px; }
  .cpa-od__item-price { font-size: 12px; }
  .cpa-od__actions > * { flex: 1 1 100%; text-align: center; }
}

/* ============================================================
   MY ACCOUNT — edit address form (same inputs as checkout)
   ============================================================ */
.cpa-af { display: flex; flex-direction: column; gap: 18px; width: 100%; max-width: none; }
.cpa-af__form { display: flex; flex-direction: column; gap: 18px; }
.cpa-af__title { font-family: var(--cp-display); font-weight: 400; font-size: 32px; line-height: 1.1; margin: 0; color: #1C1E1D; }
.cpa-af .woocommerce-address-fields { display: flex; flex-direction: column; gap: 22px; }
.cpa-af .woocommerce-address-fields::before, .cpa-af .woocommerce-address-fields::after,
.cpa-af__fields::before, .cpa-af__fields::after { display: none !important; content: none !important; }
.cpa-af__fields { display: flex; flex-wrap: wrap; gap: 12px; }
body.woocommerce-account .cpa-af .form-row { margin: 0; padding: 0; flex: 1 1 100%; min-width: 0; float: none; width: auto; }
body.woocommerce-account .cpa-af .form-row-first,
body.woocommerce-account .cpa-af .form-row-last { flex: 1 1 calc(50% - 6px); }
body.woocommerce-account .cpa-af .cpx-f-city { flex: 1.3 1 0; }
body.woocommerce-account .cpa-af .cpx-f-state,
body.woocommerce-account .cpa-af .cpx-f-zip { flex: 1 1 0; }
.cpa-af .woocommerce-input-wrapper { display: block; }
.cpa-af .form-row > label:not(.checkbox) {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
body.woocommerce-account .cpa-af .form-row input.input-text,
body.woocommerce-account .cpa-af .form-row input[type=text],
body.woocommerce-account .cpa-af .form-row input[type=email],
body.woocommerce-account .cpa-af .form-row input[type=tel],
body.woocommerce-account .cpa-af .form-row textarea,
body.woocommerce-account .cpa-af .form-row select {
  width: 100%; border: 1px solid rgba(28, 30, 29, 0.18); background: #FFFFFF; border-radius: 12px; padding: 15px 16px;
  font-family: var(--cp-ui); font-size: 13px; color: #1C1E1D; outline: none; box-shadow: none; -webkit-appearance: none; appearance: none;
}
body.woocommerce-account .cpa-af .form-row input::placeholder, body.woocommerce-account .cpa-af .form-row textarea::placeholder { color: #9B9587; }
body.woocommerce-account .cpa-af .form-row input:focus, body.woocommerce-account .cpa-af .form-row select:focus { border-color: rgba(56, 24, 15, 0.55); }
body.woocommerce-account .cpa-af .form-row select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%231C1E1D' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 12px; padding-right: 40px;
}
.cpa-af .select2-container { width: 100% !important; display: block; }
body.woocommerce-account .cpa-af .select2-container--default .select2-selection--single {
  height: auto; border: 1px solid rgba(28, 30, 29, 0.18); border-radius: 12px; background: #FFFFFF; padding: 13px 10px;
}
.cpa-af .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 1.4; padding: 0 6px; font-family: var(--cp-ui); font-size: 13px; color: #1C1E1D; }
.cpa-af .select2-container--default .select2-selection--single .select2-selection__arrow { height: 100%; top: 0; right: 10px; }
.cpa-af .woocommerce-invalid input, .cpa-af .woocommerce-invalid select, .cpa-af .woocommerce-invalid .select2-selection { border-color: #C65947 !important; }
.cpa-af .checkout-inline-error-message, .cpa-af .woocommerce-error { margin: 6px 0 0; font-family: var(--cp-ui); font-size: 11px; color: #C65947; }
.cpa-af .required, .cpa-af abbr.required { display: none; }
.cpa-af__actions { margin-top: 2px; }
.cpa-af__actions .cpa-login-btn { min-width: 220px; }
@media (max-width: 600px) {
  .cpa-af__title { font-size: 28px; }
  body.woocommerce-account .cpa-af .form-row-first, body.woocommerce-account .cpa-af .form-row-last,
  body.woocommerce-account .cpa-af .cpx-f-city { flex-basis: 100%; }
  .cpa-af__actions .cpa-login-btn { width: 100%; }
}

/* ============================================================
   MOBILE HERO — home page (matches "Cheripets Mobile" design, 390px)
   The logo sits centred over the photo; header is transparent on top of it.
   ============================================================ */
@media (max-width: 600px) {
  body.cp-front .site-header {
    position: absolute; top: 0; left: 0; right: 0;
    display: block; padding: 0; background: transparent; border-bottom: 0; z-index: 1002;
  }
  body.cp-front .site-header__logo {
    position: absolute; top: 58px; left: 0; right: 0;
    display: flex; justify-content: center; pointer-events: none;
  }
  body.cp-front .site-header__logo a { pointer-events: auto; }
  body.cp-front .site-header__logo img { display: none; }
  body.cp-front .site-header__logo a::after {
    content: 'CHÉRIPETS';
    font-family: var(--cp-display); font-weight: 400; font-size: 22px; line-height: 1;
    letter-spacing: 0.18em; color: #F8F3EA; display: block;
  }
  body.cp-front .site-header__hamburger { position: absolute; top: 56px; right: 20px; z-index: 2; }
  body.cp-front .site-header__hamburger span { background: #F8F3EA; }

  /* menu open: cream sheet over the hero, dark logo + icon */
  body.cp-front .site-header__nav { margin: 0; }
  body.cp-front .site-header__nav.is-open {
    position: absolute; top: 0; left: 0; right: 0; z-index: 1;
    background: #F3EEE6; padding: 110px 24px 24px; border-top: 0;
  }
  body.cp-front .site-header:has(.site-header__nav.is-open) .site-header__logo a::after { color: #38180F; }
  body.cp-front .site-header:has(.site-header__nav.is-open) .site-header__hamburger span { background: #1C1E1D; }

  /* text block + button exactly as designed */
  body.cp-front .cp-hero__text-panel { padding: 70px 24px 26px; gap: 18px; }
  body.cp-front .cp-hero__heading br { display: none; } /* mobile: the heading wraps by itself */
  body.cp-front .cp-hero__text-inner { gap: 16px; }
  body.cp-front .cp-hero__heading { font-weight: 300; font-size: 40px; line-height: 1.06; letter-spacing: 0; color: #FFFCF6; }
  body.cp-front .cp-hero__cta-row .cp-btn--cream,
  body.cp-front .cp-hero__cta-row .cp-btn--cream:hover,
  body.cp-front .cp-hero__cta-row .cp-btn--cream:focus {
    background: #F3EEE6; color: #1C1E1D; border: 0; border-radius: 32px;
    padding: 15px 28px; font-size: 10px; letter-spacing: 0.22em; text-decoration: none;
  }
  body.cp-front .cp-hero { cursor: pointer; }
}
@media (max-width: 600px) {
  body.cp-front .site-header__logo { z-index: 2; }
}
@media (max-width: 600px) {
  /* Home hero: logo only — no hamburger, as in the mobile design */
  body.cp-front .site-header__hamburger { display: none; }
}
@media (max-width: 600px) {
  /* Measured against the mobile design: logo box 34px tall, h1 +0.2px tracking, button 43px tall */
  body.cp-front .site-header__logo a::after { line-height: 1.55; }
  body.cp-front .cp-hero__heading { letter-spacing: 0.2px; }
  body.cp-front .cp-hero__cta-row .cp-btn--cream { line-height: normal; }
}

/* ============================================================
   MOBILE HOME — logo a little higher, sticky bar after scrolling
   ============================================================ */
@keyframes cpHdrIn { from { transform: translateY(-100%); } to { transform: none; } }
@media (max-width: 600px) {
  /* hero logo sits higher than the design's 58px (a real phone has no status bar under it) */
  body.cp-front .site-header__logo { top: 30px; }

  /* sticky bar: logo left, hamburger right */
  body.cp-front.cp-stuck .site-header {
    position: fixed; top: 0; left: 0; right: 0;
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
    padding: 14px 20px;
    background: rgba(243, 238, 230, 0.97);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--cp-hairline);
    animation: cpHdrIn 300ms var(--cp-ease) both;
  }
  body.cp-front.cp-stuck .site-header__logo { position: static; display: block; pointer-events: auto; }
  body.cp-front.cp-stuck .site-header__logo img { display: block; }
  body.cp-front.cp-stuck .site-header__logo a::after { display: none; }
  body.cp-front.cp-stuck .site-header__hamburger { display: flex; position: static; }
  body.cp-front.cp-stuck .site-header__hamburger span { background: var(--cp-ink); }
  body.cp-front.cp-stuck .site-header__nav.is-open {
    position: static; background: transparent; padding: var(--cp-s-4) 0;
    border-top: 1px solid var(--cp-hairline); width: 100%; order: 10;
  }
}

/* ============================================================
   MOBILE — Launch Series / featured products (numbers measured on the 390px design)
   header block 56 / 28 / 24 · card media 420 · badge 8/14 r32 · heart 44 @10/10
   info 22/24/12 gap 7 · name 28/1.12 · line 16/1.55 · "Swipe" 9px, 6px below
   ============================================================ */
.cp-swipe { display: none; }
@media (max-width: 600px) {
  .cp-products { padding: 56px 0 0; }
  .cp-products__header { margin: 0; padding: 0 24px 28px; }
  .cp-products__header .cp-link-bare { display: none; }
  .cp-products__heading-group { gap: 14px; }
  .cp-products__grid { padding-bottom: 8px; }

  .cp-product-card__badge {
    top: 14px; left: 14px; padding: 8px 14px; border-radius: 32px;
    font-size: 9px; letter-spacing: 0.2em; line-height: 1.55;
  }
  .cp-product-card__wishlist { top: 10px; right: 10px; width: 44px; height: 44px; background: rgba(243, 238, 230, 0.92); }
  .cp-product-card__wishlist svg { width: 19px; height: 19px; stroke: #38180F; }

  .cp-product-card__name { line-height: 1.12; }
  .cp-product-card__line { line-height: 1.55; }

  .cp-swipe {
    display: flex; justify-content: center; padding: 6px 0 0;
    font-family: var(--cp-ui); font-weight: 400; font-size: 9px; line-height: 1.55;
    letter-spacing: 0.22em; text-transform: uppercase; color: #9B9587;
  }
}
@media (max-width: 600px) {
  .cp-products__heading-group { flex: 1 1 100%; width: 100%; }
}

/* MOBILE — home buttons: design = 10px · tracking 0.22em · padding 15/28 · line-height normal (43px tall) */
@media (max-width: 600px) {
  body.cp-front .cp-btn--cream,
  body.cp-front .cp-btn--dark,
  body.cp-front .cp-btn--ghost-cream {
    font-size: 10px; letter-spacing: 0.22em; line-height: normal; padding: 15px 28px;
  }
  body.cp-front .cp-btn--ghost-cream { padding: 14px 27px; } /* + 1px border = same 43px */
}

/* MOBILE — Bespoke carousel: card pitch 330 (306 image + 12px each side), title line-height 1.12 — measured on the design */
@media (max-width: 600px) {
  .cp-bespoke-card { flex: 0 0 330px; }
  .cp-bespoke-card__title { line-height: 1.12; }
}
@media (max-width: 600px) {
  /* desktop uses a 44px flex gap between header and cards — the design has none (header's own 26px padding only) */
  .cp-bespoke { gap: 0; }
}
@media (max-width: 600px) {
  /* Why Chéripets — last row carries the button: padding-bottom 56 and 8px extra above it (design) */
  .cp-why__row:last-child .cp-why__text { padding-bottom: 56px; }
  .cp-why__text .cp-btn--dark { margin-top: 8px; align-self: flex-start; }
}
@media (max-width: 768px) {
  .cp-bespoke { gap: 0; }
}

/* ============================================================
   MOBILE BOTTOM TAB BAR — Home · Shop · To order · Basket · Account
   Numbers from the mobile design: bar padding 10/8/30, 5 equal columns, item padding 8 gap 6,
   label 9px · tracking 0.14em · uppercase, active = ink + 4px maroon dot, inactive = #9B9587
   ============================================================ */
.cp-tabbar { display: none; }
@media (max-width: 600px) {
  .cp-tabbar {
    display: grid; grid-template-columns: repeat(5, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 999;
    background: rgba(243, 238, 230, 0.96);
    border-top: 1px solid rgba(28, 30, 29, 0.08);
    padding: 10px 8px 21px;
  }
  .cp-tabbar__item {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    padding: 8px 0; text-decoration: none;
    font-family: var(--cp-ui); font-weight: 400; font-size: 9px; line-height: normal;
    letter-spacing: 0.14em; text-transform: uppercase; color: #9B9587;
  }
  .cp-tabbar__item:hover, .cp-tabbar__item:focus { color: #9B9587; text-decoration: none; }
  .cp-tabbar__item.is-active, .cp-tabbar__item.is-active:hover { color: #1C1E1D; }
  .cp-tabbar__dot { display: block; width: 4px; height: 4px; border-radius: 50%; background: transparent; }
  .cp-tabbar__item.is-active .cp-tabbar__dot { background: #38180F; }

  /* keep the page (and its footer) clear of the fixed bar: 10 + 37 + 21 + 1 border = 69 */
  body { padding-bottom: 69px; }

  /* toasts sit above the bar */
  #cpx-toast, .cp-toast, #cpw-global-toast { bottom: 85px !important; }
}

/* ============================================================
   MOBILE — Shop / collection listing (numbers measured on the 390px design)
   The site header (52px) takes the place of the design's status bar, so the title block starts 12px lower.
   ============================================================ */
.cpx-arch-count { display: none; }
@media (max-width: 600px) {
  html body .cpx-arch { padding: 12px 0 0; }
  html body .cpx-arch-header { padding: 0 24px 18px; gap: 10px; }

  /* filter pills: 10px · 0.18em · padding 11/18 · 37px tall */
  html body .cpx-arch-filters { padding: 8px 24px 20px; gap: 10px; }
  html body .cpx-filter-btn {
    padding: 11px 18px; line-height: normal; letter-spacing: 0.18em; white-space: nowrap;
    border-color: rgba(28, 30, 29, 0.2); color: #1C1E1D;
  }
  html body .cpx-filter-btn.active { background: #38180F; border-color: #38180F; color: #F3EEE6; }
  html body .cpx-filter-btn:hover, html body .cpx-filter-btn:focus { color: #1C1E1D; background: transparent; border-color: rgba(28, 30, 29, 0.2); }
  html body .cpx-filter-btn.active:hover, html body .cpx-filter-btn.active:focus { background: #38180F; border-color: #38180F; color: #F3EEE6; }

  /* card: badge 8/14 r32 · heart 44 @10/10 (19px icon) · name 30/1.12 · status 9px */
  html body .cpx-prod-badge { padding: 8px 14px; border-radius: 32px; line-height: 1.55; letter-spacing: 0.2em; }
  html body .cpx-prod-wish { top: 10px; right: 10px; width: 44px; height: 44px; background: rgba(243, 238, 230, 0.92); }
  html body .cpx-prod-wish svg { width: 19px; height: 19px; }
  html body .cpx-prod-kind { display: none; }
  html body .cpx-prod-name { line-height: 1.12; }
  html body .cpx-prod-cta { font-size: 9px; letter-spacing: 0.22em; color: #9B9587; line-height: 1.55; margin-top: 0; }
  html body .cpx-prod-arrow { display: none; }

  /* "8 pieces" under the carousel */
  html body .cpx-arch-count {
    display: block; padding: 16px 24px 40px; text-align: center; font-size: 16px; line-height: 1.55;
  }
  html body .cpx-arch-count span {
    font-family: var(--cp-ui); font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: #9B9587;
  }
}

/* ============================================================
   MOBILE — Make to order (single scrolling form, as in the 390px design)
   photo 240 · intro 36/24/12 · three groups gap 30 · fields gap 14 · inputs r14 pad 15/14
   ============================================================ */
.cpx-m-hero, .cpx-qleft-desc-m, .cpx-qgroup-lbl { display: none; }
@media (max-width: 600px) {
  html body .cpx-qpage .cpx-m-hero { display: block; width: 100%; height: 240px; object-fit: cover; }
  html body .cpx-qpage .cpx-qlayout { display: block; padding: 0; min-height: 0; max-width: none; }

  /* intro */
  html body .cpx-qpage .cpx-qleft { position: static; padding: 36px 24px 12px; gap: 12px; }
  html body .cpx-qpage .cpx-qleft-eyebrow { margin-bottom: 0; }
  html body .cpx-qpage .cpx-qleft-h { font-weight: 300; font-size: 36px; line-height: 1.06; }
  html body .cpx-qpage .cpx-qleft-desc { display: none; }
  html body .cpx-qpage .cpx-qleft-desc-m { display: block; margin: 0; font-family: var(--cp-body); font-size: 16px; line-height: 1.55; color: #785D3E; }
  html body .cpx-qpage .cpx-qleft-steps, html body .cpx-qpage .cpx-qleft-card { display: none; }

  /* form: all three groups on one page, no card */
  html body .cpx-qpage .cpx-qright { background: none; box-shadow: none; border-radius: 0; padding: 16px 24px 48px; gap: 30px; }
  html body .cpx-qpage #cpx-qpanel-1,
  html body .cpx-qpage #cpx-qpanel-2,
  html body .cpx-qpage #cpx-qpanel-3 { display: flex !important; flex-direction: column; gap: 14px; }
  html body .cpx-qpage .cpx-qstep-head { display: none; }
  html body .cpx-qpage .cpx-qgroup-lbl {
    display: block; font-family: var(--cp-ui); font-weight: 400; font-size: 9px; line-height: 1.55;
    letter-spacing: 0.24em; text-transform: uppercase; color: #9B9587;
  }

  /* fields */
  html body .cpx-qpage .cpx-qfield { gap: 14px; margin: 0; }
  html body .cpx-qpage .cpx-qfield-lbl { font-size: 9px; letter-spacing: 0.22em; color: #9B9587; line-height: 1.55; }
  html body .cpx-qpage .cpx-qfield-note { text-transform: inherit; letter-spacing: inherit; font-size: inherit; color: inherit; }
  html body .cpx-qpage label[for="cpx-q-piece"] { display: none; }
  html body .cpx-qpage .cpx-qinput,
  html body .cpx-qpage .cpx-qtextarea,
  html body .cpx-qpage .cpx-qselect {
    font-family: var(--cp-body); font-size: 17px; letter-spacing: 0; line-height: normal; color: #1C1E1D;
    border: 1px solid rgba(28, 30, 29, 0.14); border-radius: 14px; padding: 15px 14px; background-color: #FFFFFF;
  }
  html body .cpx-qpage .cpx-qinput:focus, html body .cpx-qpage .cpx-qselect:focus, html body .cpx-qpage .cpx-qtextarea:focus { border-color: #38180F; }
  html body .cpx-qpage .cpx-qselect { padding-right: 40px; }

  /* size cards: 2 × 2, 10px key + 15px note */
  html body .cpx-qpage .cpx-qsize-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  html body .cpx-qpage .cpx-qsize-btn { align-items: flex-start; gap: 3px; padding: 13px 14px; border-radius: 14px; border-color: rgba(28, 30, 29, 0.16); background: #FFFFFF; }
  html body .cpx-qpage .cpx-qsize-btn--active { background: #F3EEE6; border-color: #38180F; }
  html body .cpx-qpage .cpx-qsize-key { font-size: 10px; letter-spacing: 0.16em; }
  html body .cpx-qpage .cpx-qsize-desc { font-size: 15px; line-height: 1.55; }

  /* wood / fabric / species chips */
  html body .cpx-qpage .cpx-qpills { gap: 8px; }
  html body .cpx-qpage .cpx-qpill { font-size: 10px; letter-spacing: 0.16em; border-radius: 14px; padding: 13px 16px; line-height: normal; border-color: rgba(28, 30, 29, 0.16); }
  html body .cpx-qpage .cpx-qpill--active { border-color: #38180F; }
  html body .cpx-qpage #cpx-q-species-pills { padding-top: 0 !important; flex-wrap: nowrap; }
  html body .cpx-qpage #cpx-q-species-pills .cpx-qpill { flex: 1; }

  /* dimensions + grids */
  html body .cpx-qpage .cpx-qdims { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  html body .cpx-qpage .cpx-qgrid2, html body .cpx-qpage .cpx-qgrid3 { margin: 0; gap: 14px; grid-template-columns: 1fr; }
  html body .cpx-qpage .cpx-qgrid3 { grid-template-columns: 1fr 1fr; gap: 14px 8px; }
  html body .cpx-qpage .cpx-qgrid3 > :first-child { grid-column: 1 / -1; }
  html body .cpx-qpage #cpx-qpanel-2 .cpx-qgrid2 .cpx-qfield-lbl,
  html body .cpx-qpage #cpx-qpanel-2 .cpx-qgrid3 .cpx-qfield-lbl,
  html body .cpx-qpage #cpx-qpanel-3 .cpx-qgrid2 .cpx-qfield-lbl { display: none; }
  html body .cpx-qpage #cpx-qpanel-3 .cpx-qgrid2 + .cpx-qgrid2 { grid-template-columns: 1fr 1fr; gap: 8px; }

  /* actions: no Continue/Back, one full-width submit */
  html body .cpx-qpage #cpx-qpanel-1 .cpx-qbtns, html body .cpx-qpage #cpx-qpanel-2 .cpx-qbtns,
  html body .cpx-qpage .cpx-qbtn-outline, html body .cpx-qpage .cpx-qno-pay { display: none; }
  html body .cpx-qpage .cpx-qerror { font-size: 11px; line-height: 1.5; margin: 0; }
  html body .cpx-qpage .cpx-qbtns { margin: 0; }
  html body .cpx-qpage .cpx-qbtn-continue { width: 100%; padding: 18px 24px; letter-spacing: 0.22em; }

  /* request received */
  html body .cpx-success-screen .cpx-suc-inner { padding: 0; max-width: none; }
  html body .cpx-success-screen .cpx-suc-card { border-radius: 0; padding: 72px 24px 44px; align-items: flex-start; text-align: left; gap: 16px; }
  html body .cpx-success-screen .cpx-suc-head { font-weight: 300; font-size: 36px; line-height: 1.06; color: #F8F3EA; }
  html body .cpx-success-screen .cpx-suc-desc { font-size: 17px; line-height: 1.62; }
  html body .cpx-success-screen .cpx-suc-pills, html body .cpx-success-screen .cpx-suc-next-h, html body .cpx-success-screen .cpx-suc-btn-outline { display: none; }
  html body .cpx-success-screen .cpx-suc-next { margin: 0; padding: 32px 20px 0; text-align: left; display: flex; flex-direction: column; gap: 12px; }
  html body .cpx-success-screen .cpx-suc-next-eyebrow { margin: 0; padding: 0 4px; }
  html body .cpx-success-screen .cpx-suc-steps { display: flex; flex-direction: column; gap: 12px; }
  html body .cpx-success-screen .cpx-suc-step { border-radius: 20px; padding: 20px 22px; gap: 8px; box-shadow: 0 6px 22px rgba(60, 38, 20, 0.06); }
  html body .cpx-success-screen .cpx-suc-step-num { font-size: 10px; letter-spacing: 0.28em; font-weight: 400; }
  html body .cpx-success-screen .cpx-suc-step-h { font-size: 24px; line-height: 1.15; }
  html body .cpx-success-screen .cpx-suc-step-desc { font-size: 16px; line-height: 1.6; }
  html body .cpx-success-screen .cpx-suc-btns { margin: 8px 0 0; padding: 12px 20px 48px; display: block; }
  html body .cpx-success-screen .cpx-suc-btn-dark { display: flex; justify-content: center; width: 100%; padding: 18px 24px; font-size: 11px; box-sizing: border-box; }
  html body .cpx-success-screen .cpx-suc-btn-dark:hover { background: #38180F; }
}
@media (max-width: 600px) {
  /* measured on the design: select 56px, size cards 63px (line-height normal), no note on "Size", submit 30px below the last group */
  html body .cpx-qpage .cpx-qselect { height: 56px; }
  html body .cpx-qpage .cpx-qsize-key, html body .cpx-qpage .cpx-qsize-desc { line-height: normal; }
  html body .cpx-qpage #cpx-q-size-field .cpx-qfield-note { display: none; }
  html body .cpx-qpage #cpx-qpanel-3 .cpx-qbtns { margin-top: 16px; }
}
@media (max-width: 600px) {
  html body .cpx-success-screen .cpx-suc-btn-dark { line-height: normal; } /* 18 + 13.4 + 18 = 50px, as designed */
}

/* ============================================================
   MOBILE — Cart (numbers from the 390px design)
   head 12/24/20 gap 12 (site header replaces the status bar) · list 8/20/40 gap 12
   item card r20 pad 14 gap 14 · image 84 r14 · summary card pad 22 gap 13
   ============================================================ */
.cpx-cart-eyebrow, .cpx-cart-lead, .cpx-hm, .cpx-cart-price--m { display: none; }
.cpx-cart-toprow { display: contents; }
@media (max-width: 600px) {
  html body .cpx-cart-page { padding: 12px 0 0; max-width: none; }

  /* head */
  html body .cpx-cart-page .cpx-cart-eyebrow {
    display: block; padding: 0 24px; margin-bottom: 12px;
    font-family: var(--cp-ui); font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: #785D3E; line-height: 1.55;
  }
  html body .cpx-cart-page .cpx-cart-heading { padding: 0 24px; margin: 0 0 12px; font-weight: 300; font-size: 36px; line-height: 1.06; }
  html body .cpx-cart-page .cpx-hd { display: none; }
  html body .cpx-cart-page .cpx-hm { display: inline; }
  html body .cpx-cart-page .cpx-cart-lead {
    display: block; padding: 0 24px 20px; margin: 0;
    font-family: var(--cp-body); font-size: 17px; line-height: 1.6; color: #6B5A4C; text-wrap: pretty;
  }

  /* list + summary */
  html body .cpx-cart-page .cpx-cart-grid { padding: 8px 20px 40px; gap: 12px; }
  html body .cpx-cart-page .woocommerce-cart-form { display: flex; flex-direction: column; gap: 12px; }

  html body .cpx-cart-page .cpx-cart-item,
  html body .cpx-cart-page .cpx-cart-item:last-child {
    background: #FFFFFF; border: 0; border-radius: 20px; padding: 14px; gap: 14px; align-items: flex-start;
    box-shadow: 0 6px 22px rgba(60, 38, 20, 0.06);
  }
  html body .cpx-cart-page .cpx-cart-img { width: 84px; height: 84px; border-radius: 14px; }
  html body .cpx-cart-page .cpx-cart-details { gap: 7px; min-width: 0; }
  html body .cpx-cart-page .cpx-cart-toprow { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
  html body .cpx-cart-page .cpx-cart-name { font-size: 24px; line-height: 1.55; }
  html body .cpx-cart-page .cpx-cart-price--m { display: block; font-size: 12px; line-height: 1.55; padding: 0; }
  html body .cpx-cart-page .cpx-cart-item > .cpx-cart-price { display: none; }
  html body .cpx-cart-page .cpx-cart-meta { font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; line-height: 1.55; }
  html body .cpx-cart-page .cpx-cart-item-notes { margin-top: 0; gap: 0; }
  html body .cpx-cart-page .cpx-cart-note-line { font-size: 15px; line-height: 1.45; }
  html body .cpx-cart-page .cpx-cart-controls { margin-top: 4px; gap: 14px; }
  html body .cpx-cart-page .cpx-qty-btn { padding: 8px 14px; font-size: 14px; line-height: normal; }
  html body .cpx-cart-page .cpx-qty-val { min-width: 18px; letter-spacing: 0; }
  html body .cpx-cart-page a.remove.cpx-remove-btn { font-size: 9px !important; letter-spacing: 0.2em !important; line-height: 1.55 !important; }

  /* summary */
  html body .cpx-cart-page .cpx-cart-right { margin-top: 6px; }
  html body .cpx-cart-page .cpx-cart-summary-card { padding: 22px; gap: 13px; box-shadow: 0 6px 22px rgba(60, 38, 20, 0.06); }
  html body .cpx-cart-page .cpx-sum-label { line-height: 1.55; }
  html body .cpx-cart-page .cpx-sum-row { font-size: 12px; line-height: 1.55; }
  html body .cpx-cart-page .cpx-sum-total { font-size: 15px; line-height: 1.55; padding-top: 13px; margin-top: 0; }
  html body .cpx-cart-page .cpx-sum-balance { font-size: 11px; line-height: 1.55; }
  html body .cpx-cart-page .cpx-checkout-btn { margin-top: 6px; padding: 18px 24px; letter-spacing: 0.22em; line-height: normal; }
  html body .cpx-cart-page .cpx-checkout-note { font-size: 15px; line-height: 1.5; }
}
@media (max-width: 600px) {
  /* cart — measured on the design: stepper 34px (system-font −/+), "Remove" 9px, checkout button 50px */
  html body .cpx-cart-page .cpx-qty-btn { font-family: Arial, Helvetica, sans-serif; }
  html body .woocommerce .cpx-cart-page a.remove.cpx-remove-btn {
    font-size: 9px !important; letter-spacing: 0.2em !important; line-height: normal !important;
  }
  html body .cpx-cart-page .cpx-cart-summary-card .wc-proceed-to-checkout { margin-top: 6px; }
  html body .cpx-cart-page .cpx-cart-summary-card .wc-proceed-to-checkout a.checkout-button,
  html body .cpx-cart-page .cpx-cart-summary-card .wc-proceed-to-checkout a.checkout-button:hover {
    padding: 18px 24px; letter-spacing: 0.22em; line-height: normal; font-size: 11px;
  }
}

/* ══ Mobile product page (≤600px) — matches Cheripets Mobile design ══ */
.cpx-m-gallery,.cpx-m-specs,.cpx-m-care,.cpx-m-bar,.cpx-share{display:none}
@media (max-width:600px){
  html body .cpx-wrap{padding:0;max-width:none}
  html body .cpx-back,html body .cpx-hero,html body .cpx-thumbs,html body .cpx-panel>.cpx-price,html body .cpx-panel>.cpx-avail,
  html body .cpx-accs,html body .cpx-life,html body .cpx-order-wrap,html body .cpx-cart-row,html body .cpx-cart-wrap>.cpx-in-stock,
  html body .cpx-reserve-cta .cpx-btn-dark,html body #cpx-reserve-form,
  html body #cpx-wl-submit{display:none!important}
  html body .cpx-grid{display:block}
  html body .cpx-gallery{display:block}
  html body .cpx-m-gallery{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;background:#EFE8DC;scrollbar-width:none}
  html body .cpx-m-gallery::-webkit-scrollbar{display:none}
  html body .cpx-m-gallery img{scroll-snap-align:center;flex:0 0 100%;width:100%;height:440px;object-fit:cover;background:#EFE8DC;display:block;border-radius:0}
  html body .cpx-panel{display:flex;flex-direction:column;gap:0;padding:0 24px;position:static}
  html body .cpx-eyebrow{order:1;padding-top:28px;font-size:10px;letter-spacing:.26em;color:#785D3E}
  html body .cpx-name{order:2;margin-top:12px;font-size:42px;font-weight:300;line-height:1}
  html body .cpx-panel>.cpx-name:first-child{margin-top:28px}
  html body .cpx-story{order:3;margin-top:12px;font-size:18px;line-height:1.6;color:#6B5A4C;text-wrap:pretty}
  html body .cpx-actrow{order:4;display:flex;align-items:center;gap:26px;flex-wrap:wrap}
  html body .cpx-actrow .cpx-wish,html body .cpx-actrow .cpx-share{display:flex;align-items:center;gap:9px;background:none;border:none;padding:10px 0;min-height:44px;cursor:pointer;font-family:'Montserrat',sans-serif;font-size:10px;letter-spacing:.22em;text-transform:uppercase;color:#38180F;align-self:auto;line-height:normal}
  html body .cpx-share svg{fill:none;stroke:#38180F;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
  html body .cpx-finishes{order:5;padding:32px 0 0;gap:14px}
  html body .cpx-sec-lbl{font-size:10px;letter-spacing:.24em;line-height:1.55}
  html body .cpx-sec-note{font-size:inherit;letter-spacing:.12em}
  html body .cpx-fin-row{gap:18px;flex-wrap:nowrap}
  html body .cpx-fin-chip{box-sizing:content-box}
  html body .cpx-fin-cap{letter-spacing:.16em}
  html body .cpx-panel>.cpx-cart-wrap,html body .cpx-panel>form{order:6;padding:0}
  html body .cpx-cart-wrap{padding-top:0;gap:0}
  html body .cpx-engrave{margin:28px 0 0!important;gap:10px}
  html body .cpx-engrave input,html body .cpx-wl-inputs input{font-family:'EB Garamond',serif;font-size:17px;letter-spacing:normal;color:#1C1E1D;background:#fff;border:1px solid rgba(28,30,29,.14);border-radius:14px;padding:15px 14px;width:100%;box-sizing:border-box;line-height:normal}
  html body .cpx-when-arrives{order:7;padding-top:28px;gap:10px!important}
  html body .cpx-tiers{grid-template-columns:1fr!important;gap:10px}
  html body .cpx-tier-btn{border-radius:18px;padding:18px;border:1px solid rgba(28,30,29,.16);gap:4px}
  html body .cpx-tier-btn--active{border-color:#38180F}
  html body .cpx-sizes{gap:8px}
  html body .cpx-size-btn{border-radius:14px;padding:13px 14px;gap:3px;border-color:rgba(28,30,29,.16)}
  html body .cpx-size-btn--active{border-color:#38180F}
  html body .cpx-size-k{font-size:10px}
  html body #cpx-res-bal-note,html body .cpx-reserve-cta .cpx-in-stock,html body #cpx-wl-form-wrap .cpx-in-stock{font-size:16px;line-height:1.55;color:#785D3E;margin:0;display:block}
  html body .cpx-reserve-cta{gap:0}
  html body #cpx-wl-form-wrap{gap:10px!important}
  html body .cpx-wl-inputs{grid-template-columns:1fr;gap:10px}
  html body .cpx-wl-done{padding:22px;border-radius:20px;gap:8px}
  html body .cpx-error{padding-top:14px;line-height:1.5}
  html body .cpx-m-specs{order:8;display:flex;flex-direction:column;padding-top:36px}
  html body .cpx-m-spec{display:flex;justify-content:space-between;gap:18px;padding:15px 0;border-bottom:1px solid rgba(28,30,29,.08)}
  html body .cpx-m-spec .k{font-family:'Montserrat',sans-serif;font-size:10px;letter-spacing:.2em;text-transform:uppercase;color:#9B9587;line-height:1.55}
  html body .cpx-m-spec .v{font-family:'EB Garamond',serif;font-size:16px;color:#1C1E1D;text-align:right;line-height:1.55}
  html body .cpx-m-care{order:9;display:block;padding:36px 0 40px}
  html body .cpx-m-care a{display:block;box-sizing:border-box;width:100%;text-align:center;font-family:'Montserrat',sans-serif;font-size:10px;letter-spacing:.22em;text-transform:uppercase;color:#1C1E1D;border:1px solid rgba(28,30,29,.2);border-radius:32px;padding:16px 24px;text-decoration:none;line-height:normal}
  html body .cpx-m-bar{display:flex;position:sticky;bottom:69px;z-index:998;align-items:center;gap:14px;padding:14px 20px;background:rgba(243,238,230,.96);border-top:1px solid rgba(28,30,29,.08)}
  html body .cpx-m-bar__t{display:flex;flex-direction:column;gap:3px;min-width:0}
  html body .cpx-m-bar__t .s{font-family:'Montserrat',sans-serif;font-size:9px;letter-spacing:.2em;text-transform:uppercase;color:#9B9587;line-height:1.55}
  html body .cpx-m-bar__t .n{font-family:'Cormorant Garamond',serif;font-size:20px;color:#1C1E1D;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.55}
  html body .cpx-m-bar__b{flex:1;font-family:'Montserrat',sans-serif;font-size:11px;letter-spacing:.22em;text-transform:uppercase;background:#38180F;color:#F3EEE6;border:none;border-radius:32px;padding:17px 20px;cursor:pointer;line-height:normal}
}

/* Quote popup on the product page (phones) — same layout as /make-to-order/ */
@media (max-width: 600px) {
  html body .cpx-qoverlay.cpx-qpage { padding-top: 0; z-index: 1100; }
  html body .cpx-qoverlay .cpx-qclose-btn { top: 12px; right: 16px; width: 40px; height: 40px; background: #fff; color: #1C1E1D; border: 1px solid rgba(28,30,29,.15); box-shadow: 0 2px 10px rgba(60,38,20,.18); z-index: 1101; }
  html body .cpx-qoverlay .cpx-qclose-btn:hover { background: #fff; color: #1C1E1D; border-color: rgba(28,30,29,.15); }
  html body .cpx-qoverlay .cpx-qleft { padding-top: 36px; }
}

/* ══ MOBILE — every button like the home buttons: 10px · tracking .22em · padding 15/28 · line-height normal (43px) ══ */
@media (max-width: 600px) {
  html body .cp-btn--cream, html body .cp-btn--dark,
  html body .cpa-login-btn, html body .cps-btn, html body .cpw-card-cta, html body .cpw-empty-btn,
  html body .cpx-btn-dark, html body .cpx-cart-empty-btn, html body .cpx-checkout-btn, html body .cpx-m-bar__b,
  html body .cpx-qbtn-continue, html body .cpx-suc-btn-dark,
  html body .woocommerce a.button, html body .woocommerce button.button, html body .woocommerce input.button, html body .woocommerce #respond input#submit,
  html body .woocommerce-page a.button, html body .woocommerce-page button.button, html body #place_order {
    font-size: 10px !important; letter-spacing: 0.22em !important; line-height: normal !important; padding: 15px 28px !important;
  }
  html body .cp-btn--ghost-cream, html body .cp-404__btn, html body .cpx-qbtn-outline, html body .cpx-suc-btn-outline, html body .cpa-od__ghost, html body .cpx-m-care a {
    font-size: 10px !important; letter-spacing: 0.22em !important; line-height: normal !important; padding: 14px 27px !important;
  }
}

/* ══ MOBILE — toasts (added to cart / wishlist / newsletter) drop in from the top, above the header and popups ══ */
@media (max-width: 600px) {
  html body #cpx-toast, html body .cp-toast, html body .cpw-toast, html body #cpw-global-toast {
    top: 64px !important; bottom: auto !important; z-index: 100000 !important;
    white-space: normal !important; text-align: center; width: max-content; max-width: calc(100vw - 32px);
    padding: 14px 22px !important; font-size: 10px !important; letter-spacing: 0.16em !important; line-height: 1.5 !important;
    box-shadow: 0 12px 40px rgba(56, 24, 15, 0.28);
    transform: translateX(-50%) translateY(-16px) !important;
  }
  html body #cpx-toast.cpx-toast--show, html body .cp-toast.is-visible, html body .cpw-toast.cpw-toast--in {
    transform: translateX(-50%) translateY(0) !important;
  }
}

/* ══ MOBILE — no bottom tab bar while checking out ══ */
@media (max-width: 600px) {
  html body.woocommerce-checkout .cp-tabbar { display: none; }
  html body.woocommerce-checkout { padding-bottom: 0; }
}

/* ══ MOBILE — quote request summary pills stay visible, smaller so they sit on few lines ══ */
@media (max-width: 600px) {
  html body .cpx-suc-pills { display: flex !important; flex-wrap: wrap; justify-content: flex-start; gap: 6px; margin-top: 4px; }
  html body .cpx-suc-pill { font-size: 8px; letter-spacing: 0.12em; padding: 6px 11px; line-height: 1.4; }
}
@media (max-width: 600px) {
  html body #cpw-global-toast { transform: translateX(-50%) !important; }
}

/* ══ No blue tap/focus/autofill flashes anywhere — buttons, links, inputs, selects, textareas ══ */
* { -webkit-tap-highlight-color: transparent; }
a, button, input, select, textarea, summary, label, [role="button"], [tabindex] { -webkit-tap-highlight-color: transparent; }
a:focus, a:active, button:focus, button:active, input:focus, input:active, select:focus, select:active, textarea:focus, textarea:active,
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible, [tabindex]:focus, [tabindex]:focus-visible {
  outline: none !important; outline-offset: 0 !important;
}
button, a, .button, [role="button"], summary { -webkit-user-select: none; user-select: none; }
/* keep the field's own background when the browser pre-fills / autofills it */
input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, input:-webkit-autofill:active,
textarea:-webkit-autofill, textarea:-webkit-autofill:hover, textarea:-webkit-autofill:focus,
select:-webkit-autofill, select:-webkit-autofill:hover, select:-webkit-autofill:focus {
  transition: background-color 600000s 0s, color 600000s 0s !important;
  caret-color: currentColor;
}
input:autofill, textarea:autofill, select:autofill { background-clip: padding-box; }
::selection { background: rgba(120, 93, 62, 0.22); color: inherit; }

/* quote form — field that failed validation */
html body .cpx-qinput.cpx-qinput--err { border-color: #C65947; }

/* Product page images: ".woocommerce img { height:auto }" was beating the class heights — design: hero 560, life photos 400 */
html body .cpx-wrap img.cpx-hero { height: 560px; }
html body .cpx-wrap img.cpx-life-img { height: 400px; }
@media (max-width: 768px) { html body .cpx-wrap img.cpx-hero { height: 300px; } }
html body .cpx-life-label { line-height: normal; }

/* first product-page section (Specification / Assembly / Care) stays open — no toggle, no sign */
html body .cpx-acc-hdr--static { cursor: default; }

/* cart summary — reserve balance sits close under "Due today" (design) */
.cpx-cart-summary-card .cpx-sum-total + .cpx-sum-balance { margin-top: -7px; }

/* cart checkout button — exact design spec (all screen sizes) */
html body .cpx-cart-page .cpx-cart-summary-card .wc-proceed-to-checkout a.checkout-button,
html body .cpx-cart-page .cpx-cart-summary-card .wc-proceed-to-checkout a.checkout-button:hover,
html body .cpx-cart-page .cpx-cart-summary-card .wc-proceed-to-checkout a.checkout-button:focus {
  font-family: 'Montserrat', sans-serif !important; font-size: 11px !important; font-weight: 400 !important;
  letter-spacing: 0.2em !important; text-transform: uppercase !important;
  background: rgb(56, 24, 15) !important; color: rgb(243, 238, 230) !important;
  padding: 17px 30px !important; border-radius: 32px !important; border: none !important;
  cursor: pointer; line-height: normal !important;
}

/* ══ Checkout — "For the pet" (reserve pieces) ══ */
.cpx-co .cpx-co__note { margin: 0; font-family: var(--cp-body); font-size: 17px; line-height: 1.55; color: #785D3E; }
.cpx-co .cpx-pet__row { flex: 1 1 100%; display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; }
body.woocommerce-checkout .cpx-co form .cpx-pet__row .cpx-pet__name { flex: 1 1 220px; }
.cpx-co .cpx-pet__pills { flex: 1 1 220px; display: flex; gap: 8px; }
.cpx-co .cpx-pet__pill { flex: 1; display: flex; cursor: pointer; margin: 0; }
.cpx-co .cpx-pet__pill input { position: absolute; opacity: 0; width: 0; height: 0; }
.cpx-co .cpx-pet__pill span {
  flex: 1; display: flex; align-items: center; justify-content: center; text-align: center;
  font-family: var(--cp-ui); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: #1C1E1D; line-height: normal;
  background: #FFFFFF; border: 1px solid rgba(28, 30, 29, 0.18); border-radius: 12px; padding: 15px 12px;
}
.cpx-co .cpx-pet__pill input:checked + span { background: #38180F; border-color: #38180F; color: #F3EEE6; }
@media (max-width: 600px) {
  .cpx-co .cpx-pet__row { flex-direction: column; }
  body.woocommerce-checkout .cpx-co form .cpx-pet__row .cpx-pet__name,
  .cpx-co .cpx-pet__pills { flex: 0 0 auto; }
  body.woocommerce-checkout .cpx-co form .cpx-pet .form-row-first,
  body.woocommerce-checkout .cpx-co form .cpx-pet .form-row-last { flex: 1 1 100%; }
}

/* "For the pet": same 26px rhythm as the other checkout sections, pills as tall as the inputs */
.cpx-co__details > .cpx-pet { margin-top: 26px; }
.cpx-co__details > .cpx-pet ~ .woocommerce-additional-fields { margin-top: 26px; }
.cpx-co .cpx-pet__pill span { min-height: 48px; box-sizing: border-box; }
.cpx-co .cpx-pet .cpx-co__fields { gap: 12px; }

/* checkout "Continue to payment" — exact design spec (all screen sizes) */
html body.woocommerce-checkout .cpx-co #place_order,
html body.woocommerce-checkout .cpx-co #place_order:hover,
html body.woocommerce-checkout .cpx-co #place_order:focus {
  font-family: 'Montserrat', sans-serif !important; font-size: 11px !important; font-weight: 400 !important; letter-spacing: 0.2em !important;
  text-transform: uppercase !important; background: rgb(56, 24, 15) !important; color: rgb(243, 238, 230) !important;
  padding: 18px 30px !important; border-radius: 32px !important; border: none !important; cursor: pointer;
  line-height: normal !important;
}

/* quote steps: the ones before the current step are clickable (go back) */
.cpx-qleft-step:has(~ .cpx-qleft-step--active) { cursor: pointer; }
@media (max-width: 600px) { html body .cpx-success-screen .cpx-suc-inner { gap: 0; } }
html body .cpx-suc-btn-dark, html body .cpx-suc-btn-outline { line-height: normal; }

/* engraving charge shown on its own line under the piece price (checkout, thank-you, order pages) */
.cpx-sum__price, .cpx-ty__item-price { text-align: right; }
.cpx-sum__eng, .cpx-eng-line { display: block; margin-top: 4px; font-size: 11px; letter-spacing: 0.04em; color: #785D3E; white-space: nowrap; }

/* field rule messages (assets/js/validate.js) */
.cp-field-err { display: block; margin-top: 6px; font-family: 'Montserrat', sans-serif; font-size: 11px; line-height: 1.5; letter-spacing: 0; text-transform: none; color: #C65947; }
input.cp-invalid, textarea.cp-invalid { border-color: #C65947 !important; }

/* ══ Product page — Dimensions table (ACF: heading, columns and rows are all dynamic) ══ */
.cpx-dims-wrap { padding-bottom: 22px; }
.cpx-dims-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cpx-dims { width: 100%; border-collapse: collapse; font-family: 'Montserrat', sans-serif; text-align: left; }
.cpx-dims thead th {
  font-size: 9px; font-weight: 400; letter-spacing: 0.16em; text-transform: uppercase; color: #9B9587;
  padding: 0 16px 10px 0; border-bottom: 1px solid rgba(28, 30, 29, 0.14); vertical-align: bottom;
}
.cpx-dims tbody th, .cpx-dims tbody td {
  font-size: 12px; font-weight: 400; line-height: 1.6; padding: 12px 16px 12px 0; vertical-align: top;
  border-bottom: 1px solid rgba(28, 30, 29, 0.08); color: #4A3A30;
}
.cpx-dims tbody th { color: #1C1E1D; }
.cpx-dims thead th:last-child, .cpx-dims tbody td:last-child { padding-right: 0; }
.cpx-m-dims { display: none; }
@media (max-width: 600px) {
  html body .cpx-dims-wrap { display: none !important; }
  html body .cpx-m-dims { order: 8; display: block; padding-top: 36px; }
  html body .cpx-m-dims__lbl { display: block; margin-bottom: 14px; font-family: 'Montserrat', sans-serif; font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: #1C1E1D; line-height: 1.55; }
  html body .cpx-m-dims .cpx-dims { min-width: 460px; }
}

/* Finish swatches: no ring / border around them (the selected one is shown by its darker caption) */
html body .cpx-fin-chip { border-color: transparent !important; outline: none !important; }

/* stock status line under the add-to-cart row — also on phones */
@media (max-width: 600px) {
  html body .cpx-panel > .cpx-stock-status { order: 6; display: block; padding-top: 12px; }
}

/* ══ Care — "what each piece needs": 2 columns of product cards ══ */
.cp-care-pieces { max-width: 1080px; margin: 0 auto; padding: 24px 56px 80px; }
.cp-care-pieces__head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 36px; }
.cp-care-pieces__title { font-family: var(--cp-display); font-weight: 400; font-size: 52px; line-height: 1.08; margin: 0; color: #1C1E1D; }
.cp-care-pieces__text { margin: 0; font-family: var(--cp-body); font-size: 19px; line-height: 1.6; color: #4A3A30; max-width: 62ch; text-wrap: pretty; }
.cp-care-pieces__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.cp-care-piece {
  display: flex; align-items: flex-start; gap: 24px; padding: 20px;
  background: #FFFFFF; border-radius: 24px; box-shadow: 0 4px 20px rgba(60, 38, 20, 0.05);
}
.cp-care-piece__img { flex: 0 0 180px; width: 180px; height: 160px; object-fit: cover; border-radius: 16px; background: #EFE8DC; display: block; }
.cp-care-piece__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.cp-care-piece__name { margin: 0; font-family: var(--cp-display); font-weight: 400; font-size: 34px; line-height: 1.1; color: #1C1E1D; }
.cp-care-piece__text { font-family: var(--cp-ui); font-size: 13px; line-height: 1.7; color: #4A3A30; }
.cp-care-piece__text p { margin: 0 0 8px; }
.cp-care-piece__text ul, .cp-care-piece__text ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.cp-care-piece__text li { position: relative; padding-left: 16px; }
.cp-care-piece__text ul li::before { content: ''; position: absolute; left: 0; top: 0.72em; width: 5px; height: 5px; border-radius: 50%; background: #C4A882; }
.cp-care-piece__text ol { counter-reset: cp-care; }
.cp-care-piece__text ol li { counter-increment: cp-care; }
.cp-care-piece__text ol li::before { content: counter(cp-care) '.'; position: absolute; left: 0; color: #9B9587; }
.cp-care-piece__text strong { font-weight: 500; color: #1C1E1D; }
.cp-care-piece__text a { color: #38180F; }
@media (max-width: 1024px) { .cp-care-pieces { padding: 16px 32px 64px; } } /* same side padding as the other Care sections */
@media (max-width: 900px) {
  .cp-care-pieces__title { font-size: 40px; }
  .cp-care-pieces__grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .cp-care-pieces { padding: 12px 20px 48px; }
  .cp-care-pieces__title { font-size: 34px; line-height: 1.06; font-weight: 300; }
  .cp-care-pieces__text { font-size: 17px; }
  .cp-care-piece { flex-direction: column; gap: 16px; padding: 16px; }
  .cp-care-piece__img { flex: none; width: 100%; height: 200px; }
  .cp-care-piece__name { font-size: 28px; }
}
/* Care — piece cards: type scale matches the other Care sections (heading like "Tips" 38 → 32 → 25, text like the bullet lists) */
.cp-care-pieces { padding-top: 0; }
.cp-care-pieces__head { padding-top: 56px; border-top: 1px solid rgba(28, 30, 29, 0.08); gap: 12px; margin-bottom: 32px; }
.cp-care-pieces__title { font-size: 38px; line-height: 1.1; }
.cp-care-pieces__text { font-size: 18px; line-height: 1.62; max-width: 60ch; }
.cp-care-piece__name { font-size: 30px; line-height: 1.12; }
.cp-care-piece__text { font-family: var(--cp-body); font-size: 17px; line-height: 1.6; }
.cp-care-piece__text ul, .cp-care-piece__text ol { gap: 10px; }
.cp-care-piece__text li { padding-left: 16px; }
.cp-care-piece__text ul li::before { top: 0.68em; }
@media (max-width: 1024px) { .cp-care-pieces__title { font-size: 32px; } }
@media (max-width: 600px) {
  .cp-care-pieces__head { padding-top: 40px; margin-bottom: 24px; }
  .cp-care-pieces__title { font-size: 25px; line-height: 1.15; font-weight: 400; }
  .cp-care-pieces__text { font-size: 16px; }
  .cp-care-piece__name { font-size: 26px; }
  .cp-care-piece__text { font-size: 16px; }
}

/* Care piece cards: smaller photo, wider text area */
.cp-care-piece { gap: 20px; padding: 18px; }
.cp-care-piece__img { flex: 0 0 120px; width: 120px; height: 120px; border-radius: 14px; }
.cp-care-piece__body { flex: 1 1 auto; }
@media (max-width: 600px) {
  .cp-care-piece__img { flex: none; width: 100%; height: 150px; }
}
.cp-care-piece__text ul, .cp-care-piece__text ol { gap: 0; }

.cp-care-piece[id] { scroll-margin-top: 90px; }
.cp-manuals__note a { color: #38180F; text-decoration: underline; text-underline-offset: 3px; }

/* ══ Product page — Shipping and returns (same look as Specification) ══ */
.cpx-ship-note { margin: 6px 0 0; font-family: 'EB Garamond', serif; font-size: 16px; line-height: 1.6; color: #785D3E; }
.cpx-ship-note a { color: #38180F; text-decoration: underline; text-underline-offset: 3px; }
.cpx-ship-link {
  align-self: flex-start; margin-top: 4px; padding-bottom: 3px; text-decoration: none;
  font-family: 'Montserrat', sans-serif; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: #38180F;
  border-bottom: 1px solid rgba(56, 24, 15, 0.3);
}
.cpx-ship-link:hover { color: #38180F; text-decoration: none; }
.cpx-m-ship { display: none; }
@media (max-width: 600px) {
  html body .cpx-m-ship { order: 8; display: block; padding-top: 36px; }
  html body .cpx-m-ship .cpx-ship-note { margin-top: 14px; }
  html body .cpx-m-ship .cpx-ship-link { display: inline-block; margin-top: 14px; }
}
/* Product page bar (phones): price text never wraps into the button, button keeps one line */
@media (max-width: 600px) {
  html body .cpx-m-bar__t { flex: 1 1 auto; min-width: 0; }
  html body .cpx-m-bar__t .s { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  html body .cpx-m-bar__b { flex: 0 0 auto; white-space: nowrap; padding: 15px 24px !important; }
}