/*
 * CrochetSimply shop: the WooCommerce shop, product, cart, checkout and account pages.
 * Loaded only on those pages (see wp-content/novamira-sandbox/20-woocommerce-store.php).
 * Built on the theme's own tokens (--cs-*) so the shop reads as part of the site.
 */

/* ------------------------------------------------------------------ shared */
.cs-shop { --cs-shop-gap: clamp(20px, 3vw, 40px); }
.cs-shop .cs-crumbs { margin: 0 0 6px; }
.cs-shop h1, .cs-shop h2, .cs-shop h3 { text-wrap: balance; }
.cs-shop .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* Every WooCommerce button speaks the theme's button language. */
.cs-shop .button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.single_add_to_cart_button, .cs-shop .added_to_cart, .wc-block-components-button:not(.is-link),
.wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 13px 26px; border: 1.5px solid var(--cs-green); border-radius: 999px;
  background: var(--cs-green); color: var(--cs-bg); font-family: var(--cs-sans); font-size: 15px;
  font-weight: 700; letter-spacing: 0.01em; line-height: 1.2; text-align: center; text-decoration: none;
  cursor: pointer; transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.cs-shop .button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover,
.single_add_to_cart_button:hover, .cs-shop .added_to_cart:hover, .wc-block-components-button:not(.is-link):hover,
.wc-block-cart__submit-button:hover, .wc-block-components-checkout-place-order-button:hover {
  background: var(--cs-green-dk); border-color: var(--cs-green-dk); color: var(--cs-bg);
}
.cs-shop .button:focus-visible, .single_add_to_cart_button:focus-visible, .wc-block-components-button:focus-visible {
  outline: 3px solid var(--cs-clay); outline-offset: 2px;
}
.cs-shop .button.loading { opacity: .7; pointer-events: none; }
.cs-shop .button.added { display: none; }
.cs-shop .added_to_cart { background: transparent; color: var(--cs-green); }
.cs-shop .added_to_cart:hover { background: var(--cs-clay); border-color: var(--cs-clay); color: var(--cs-ink); }

/* Notices */
.cs-shop .woocommerce-notices-wrapper { margin: 0 0 22px; }
.cs-shop .woocommerce-message, .cs-shop .woocommerce-info, .cs-shop .woocommerce-error,
.wc-block-components-notice-banner {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 0 0 14px; padding: 16px 20px;
  list-style: none; border: 1px solid var(--cs-line-2); border-left: 4px solid var(--cs-sage);
  border-radius: 14px; background: var(--cs-panel); color: var(--cs-ink); font-size: 15px;
}
.cs-shop .woocommerce-error { border-left-color: #B5503C; }
.cs-shop .woocommerce-message .button { margin-left: auto; min-height: 40px; padding: 9px 20px; font-size: 14px; }

/* --------------------------------------------------------------- shop page */
.cs-shop-hero {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: var(--cs-shop-gap); align-items: end;
  margin: 14px 0 clamp(28px, 4vw, 48px); padding: clamp(28px, 4.4vw, 56px);
  border: 1px solid var(--cs-line); border-radius: calc(var(--cs-radius) + 8px);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(204, 145, 121, .20), transparent 55%),
    linear-gradient(180deg, var(--cs-panel), var(--cs-bg-warm));
}
.cs-shop-hero__title { margin: 14px 0 12px; font-weight: 400; font-size: clamp(38px, 5.4vw, 68px); line-height: 1.02; letter-spacing: -0.025em; }
.cs-shop-hero__lead { margin: 0; max-width: 54ch; font-size: clamp(17px, 1.5vw, 19px); line-height: 1.65; color: var(--cs-muted); }
.cs-shop-hero__points { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.cs-shop-hero__points li {
  display: grid; grid-template-columns: 38px 1fr; gap: 14px; align-items: start; padding-bottom: 14px;
  border-bottom: 1px solid var(--cs-line-2); font-size: 15px; line-height: 1.5; color: var(--cs-ink-soft);
}
.cs-shop-hero__points li:last-child { border-bottom: 0; padding-bottom: 0; }
.cs-shop-hero__points strong { display: block; font-family: var(--cs-serif); font-size: 19px; font-weight: 500; color: var(--cs-ink); }
.cs-shop-hero__icon {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--cs-green); color: var(--cs-bg);
}
.cs-shop-hero__icon svg { width: 18px; height: 18px; }

.cs-shop-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin: 0 0 22px; }
.cs-shop-bar h2 { margin: 0; font-size: clamp(26px, 3vw, 34px); }
.cs-shop-bar .woocommerce-result-count, .cs-shop-bar .woocommerce-ordering { margin: 0; font-size: 14px; color: var(--cs-muted-2); }
.cs-shop-bar select { padding: 9px 36px 9px 14px; border: 1px solid var(--cs-line-3); border-radius: 999px; background: var(--cs-panel); color: var(--cs-ink); font: inherit; font-size: 14px; }

ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--cs-shop-gap); margin: 0 0 clamp(36px, 5vw, 64px); padding: 0; list-style: none; }
ul.products li.product { margin: 0; padding: 0; width: auto; float: none; }

/* Product card */
.cs-pcard { display: flex; flex-direction: column; height: 100%; }
.cs-pcard__media {
  position: relative; display: block; overflow: hidden; border-radius: var(--cs-radius);
  background: var(--cs-panel-2); aspect-ratio: 4 / 5; box-shadow: var(--cs-shadow);
}
.cs-pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cs-pcard:hover .cs-pcard__media img { transform: scale(1.035); }
.cs-pcard__badge {
  position: absolute; top: 14px; left: 14px; padding: 6px 12px; border-radius: 999px;
  background: var(--cs-clay); color: var(--cs-ink); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
}
.cs-pcard__body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 20px 4px 0; }
.cs-pcard__kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--cs-clay); }
.cs-pcard__kicker .sep { width: 3px; height: 3px; border-radius: 50%; background: #C6BCA8; }
.cs-pcard__kicker .skill { color: var(--cs-muted-2); }
.cs-pcard__title { margin: 0; font-family: var(--cs-serif); font-size: clamp(22px, 2vw, 27px); font-weight: 500; line-height: 1.15; letter-spacing: -0.01em; }
.cs-pcard__title a { color: var(--cs-ink); }
.cs-pcard__title a:hover { color: var(--cs-clay); }
.cs-pcard__blurb { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--cs-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cs-pcard__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; margin-top: auto; padding-top: 14px; }
.cs-pcard__foot .button { min-height: 44px; padding: 10px 22px; font-size: 14px; }

/* Price (shared by cards and the product page) */
.cs-shop .price, .cs-pcard .price { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0; font-family: var(--cs-serif); font-size: 28px; line-height: 1; color: var(--cs-ink); }
.cs-shop .price del { order: 2; font-family: var(--cs-sans); font-size: 15px; color: var(--cs-muted-3); text-decoration: line-through; opacity: 1; }
.cs-shop .price ins { order: 1; text-decoration: none; background: none; color: var(--cs-ink); }
.cs-shop .price .woocommerce-Price-currencySymbol { margin-right: 1px; }

/* Shop end band */
.cs-shop-end {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px;
  margin: 0 0 clamp(28px, 4vw, 48px); padding: clamp(22px, 3vw, 34px) clamp(22px, 3vw, 40px);
  border: 1px solid var(--cs-line); border-radius: var(--cs-radius); background: var(--cs-panel);
}
.cs-shop-end h2 { margin: 0 0 4px; font-size: clamp(22px, 2.4vw, 28px); }
.cs-shop-end p { margin: 0; max-width: 56ch; font-size: 16px; line-height: 1.6; color: var(--cs-muted); }
.cs-shop-end__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cs-shop .button--ghost, .cs-shop a.button.button--ghost { background: transparent; color: var(--cs-green); }
.cs-shop .button--ghost:hover { background: var(--cs-clay); border-color: var(--cs-clay); color: var(--cs-ink); }
.cs-shop .woocommerce-info.woocommerce-no-products-found { display: block; padding: 40px; text-align: center; }

/* ----------------------------------------------------------- product page */
.cs-shop--single div.product {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 4.4vw, 64px); align-items: start;
  margin-top: 12px;
}
.cs-shop--single .woocommerce-product-gallery { position: relative; margin: 0; min-width: 0; }
.cs-shop--single .woocommerce-product-gallery__wrapper { margin: 0; }
.cs-shop--single .woocommerce-product-gallery__image { overflow: hidden; border-radius: var(--cs-radius); background: var(--cs-panel-2); box-shadow: var(--cs-shadow); }
.cs-shop--single .woocommerce-product-gallery__image img { display: block; width: 100%; height: auto; }
.cs-shop--single .woocommerce-product-gallery__trigger {
  position: absolute; z-index: 5; top: 14px; right: 14px; display: grid; place-items: center; width: 42px; height: 42px;
  border-radius: 50%; background: rgba(255, 253, 248, .92); box-shadow: 0 6px 18px -8px rgba(44, 58, 45, .5); font-size: 0; text-decoration: none;
}
.cs-shop--single .woocommerce-product-gallery__trigger::before {
  content: ""; width: 14px; height: 14px; border: 2px solid var(--cs-green); border-radius: 50%; margin: -3px 0 0 -3px;
}
.cs-shop--single .woocommerce-product-gallery__trigger::after {
  content: ""; position: absolute; width: 2px; height: 8px; background: var(--cs-green); transform: translate(8px, 8px) rotate(-45deg);
}
.cs-shop--single .flex-control-thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 14px 0 0; padding: 0; list-style: none; }
.cs-shop--single .flex-control-thumbs li { margin: 0; }
.cs-shop--single .flex-control-thumbs img {
  width: 100%; aspect-ratio: 1; object-fit: cover; border: 2px solid transparent; border-radius: 12px; opacity: .72; cursor: pointer;
  transition: opacity .18s ease, border-color .18s ease;
}
.cs-shop--single .flex-control-thumbs img:hover, .cs-shop--single .flex-control-thumbs img.flex-active { opacity: 1; border-color: var(--cs-green); }

.cs-shop--single .summary { display: flex; flex-direction: column; gap: 18px; min-width: 0; padding-top: 4px; }
.cs-sp__title { margin: 0; font-weight: 500; font-size: clamp(34px, 4.4vw, 54px); line-height: 1.05; letter-spacing: -0.02em; }
.cs-sp__lead { margin: 0; max-width: 56ch; font-size: 18px; line-height: 1.65; color: var(--cs-muted); }
.cs-sp__buy { display: flex; flex-direction: column; gap: 18px; padding: 24px; border: 1px solid var(--cs-line); border-radius: var(--cs-radius); background: var(--cs-panel); }
.cs-sp__buy .price { font-size: 40px; }
.cs-sp__buy form.cart { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.cs-sp__buy .quantity { display: none; } /* sold individually: one copy per order */
.cs-sp__buy .single_add_to_cart_button { flex: 1 1 220px; min-height: 56px; font-size: 16px; }
.cs-sp__assure { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; font-size: 14.5px; color: var(--cs-ink-soft); }
.cs-sp__assure li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; line-height: 1.45; }
.cs-sp__assure svg { width: 18px; height: 18px; margin-top: 1px; color: var(--cs-sage); }
.cs-sp__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; margin: 0; border-top: 1px solid var(--cs-line); }
.cs-sp__facts div { padding: 12px 0; border-bottom: 1px solid var(--cs-line); }
.cs-sp__facts dt { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cs-muted-2); }
.cs-sp__facts dd { margin: 3px 0 0; font-size: 15.5px; line-height: 1.4; color: var(--cs-ink); }

.cs-shop--single .cs-sp__body { grid-column: 1 / -1; max-width: 760px; width: 100%; margin: clamp(20px, 3vw, 40px) auto 0; }
.cs-sp__body h2 { margin: 1.9em 0 .5em; font-size: clamp(24px, 2.6vw, 30px); }
.cs-sp__body h2:first-child { margin-top: 0; }
.cs-sp__body p, .cs-sp__body li { font-size: 17px; line-height: 1.75; color: var(--cs-ink-soft); }
.cs-sp__body ul { padding-left: 1.2em; }
.cs-shop--single .cs-shop-end { grid-column: 1 / -1; width: 100%; max-width: 760px; margin: 12px auto 0; }

/* ----------------------------------------------------- cart and checkout */
.cs-page .wp-block-woocommerce-cart, .cs-page .wp-block-woocommerce-checkout { margin-top: 8px; font-family: var(--cs-sans); color: var(--cs-ink); }
.wc-block-components-sidebar-layout { gap: clamp(20px, 3vw, 44px); }
.wc-block-cart__main, .wc-block-checkout__main { min-width: 0; }
.wc-block-cart .wc-block-cart__totals-title, .wc-block-components-totals-wrapper, .wc-block-components-order-summary { font-family: var(--cs-sans); }
.wc-block-cart__sidebar, .wc-block-checkout__sidebar { padding: 22px; border: 1px solid var(--cs-line); border-radius: var(--cs-radius); background: var(--cs-panel); }
.wc-block-cart-items th, .wc-block-cart__totals-title { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cs-muted-2); }
.wc-block-cart-items__row { border-color: var(--cs-line); }
.wc-block-cart-item__image img { border-radius: 12px; }
.wc-block-components-product-name { font-family: var(--cs-serif); font-size: 20px; color: var(--cs-ink); }
.wc-block-components-product-price, .wc-block-components-totals-item__value { color: var(--cs-ink); }
.wc-block-components-text-input input, .wc-block-components-textarea textarea, .wc-block-components-select-input select, .wc-block-components-combobox .components-combobox-control__input {
  border: 1px solid var(--cs-line-3) !important; border-radius: 12px !important; background: var(--cs-panel) !important; color: var(--cs-ink) !important; font-family: var(--cs-sans) !important;
}
.wc-block-components-text-input input:focus { border-color: var(--cs-green) !important; box-shadow: 0 0 0 3px rgba(122, 155, 118, .28) !important; }
.wc-block-components-checkout-step__title, .wc-block-components-title { font-family: var(--cs-serif); font-weight: 500; color: var(--cs-ink); }
.wc-block-components-button.is-link, .wc-block-components-totals-coupon-link { color: var(--cs-green); }
.wc-block-components-notice-banner { border-radius: 14px; }
.wc-block-checkout__actions .wc-block-components-checkout-return-to-cart-button { color: var(--cs-green); font-weight: 700; }
.wc-block-components-checkbox .wc-block-components-checkbox__input:checked { background: var(--cs-green); border-color: var(--cs-green); }
.wc-block-components-radio-control__input:checked { border-color: var(--cs-green); }
.wc-block-components-radio-control__input:checked::before { background: var(--cs-green); }
.wc-block-cart__empty-cart__title, .wc-block-checkout__empty-cart-title { font-family: var(--cs-serif); }

/* Order received, account */
.woocommerce-order, .woocommerce-account .woocommerce { max-width: 860px; }
.woocommerce-order .woocommerce-thankyou-order-received { font-family: var(--cs-serif); font-size: 26px; color: var(--cs-ink); }
.woocommerce-order-overview { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; margin: 20px 0; padding: 20px; list-style: none; border: 1px solid var(--cs-line); border-radius: var(--cs-radius); background: var(--cs-panel); }
.woocommerce-order-overview li { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--cs-muted-2); }
.woocommerce-order-overview li strong { display: block; margin-top: 4px; font-size: 16px; letter-spacing: 0; text-transform: none; color: var(--cs-ink); }
.woocommerce-table, .shop_table { width: 100%; border-collapse: collapse; }
.woocommerce-table th, .woocommerce-table td, .shop_table th, .shop_table td { padding: 12px 10px; border-bottom: 1px solid var(--cs-line); text-align: left; }
.woocommerce-MyAccount-navigation ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.woocommerce-MyAccount-navigation a { display: inline-block; padding: 9px 16px; border: 1px solid var(--cs-line-3); border-radius: 999px; font-size: 14px; font-weight: 700; }
.woocommerce-MyAccount-navigation .is-active a { background: var(--cs-green); border-color: var(--cs-green); color: var(--cs-bg); }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea { width: 100%; padding: 13px 16px; border: 1px solid var(--cs-line-3); border-radius: 12px; background: var(--cs-panel); font: inherit; }
.woocommerce form .form-row label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 700; }
.woocommerce form .form-row { margin: 0 0 16px; }

/* ----------------------------------------------------------- responsive */
@media (max-width: 1000px) {
  ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cs-shop-hero { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 860px) {
  .cs-shop--single div.product { grid-template-columns: 1fr; }
  .cs-sp__buy .price { font-size: 34px; }
}
@media (max-width: 600px) {
  ul.products { grid-template-columns: 1fr; }
  .cs-sp__facts { grid-template-columns: 1fr; }
  .cs-shop--single .flex-control-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cs-sp__buy { padding: 18px; }
  .cs-shop-end__actions, .cs-shop-end__actions .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .cs-pcard__media img, .cs-shop .button { transition: none; }
  .cs-pcard:hover .cs-pcard__media img { transform: none; }
}

/* A shop with a single pattern shows it as a feature rather than a lone card in a grid. */
ul.products:has(> li:only-child) { grid-template-columns: 1fr; }
ul.products:has(> li:only-child) .cs-pcard {
  flex-direction: row; align-items: center; gap: clamp(24px, 4vw, 60px); padding: clamp(18px, 3vw, 34px);
  border: 1px solid var(--cs-line); border-radius: calc(var(--cs-radius) + 6px); background: var(--cs-panel);
}
ul.products:has(> li:only-child) .cs-pcard__media { flex: 0 0 min(360px, 38%); }
ul.products:has(> li:only-child) .cs-pcard__body { padding: 0; gap: 14px; }
ul.products:has(> li:only-child) .cs-pcard__title { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; }
ul.products:has(> li:only-child) .cs-pcard__blurb { font-size: 17px; -webkit-line-clamp: 5; }
ul.products:has(> li:only-child) .cs-pcard__foot { margin-top: 10px; gap: 14px 22px; }
ul.products:has(> li:only-child) .cs-pcard .price { font-size: 36px; }
@media (max-width: 700px) {
  ul.products:has(> li:only-child) .cs-pcard { flex-direction: column; align-items: stretch; }
  ul.products:has(> li:only-child) .cs-pcard__media { flex: none; max-width: 360px; }
}


/* =============================================================== store v2
 * A catalogue that grows: category chips, project tiles, benefits, FAQ, product-page trust
 * elements, related products and the phone buy bar. Appended 2026-10-18.
 */

/* Category chips + sorting */
.cs-shop-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cs-chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 18px;
  border: 1px solid var(--cs-line-3); border-radius: 999px; background: var(--cs-panel);
  color: var(--cs-ink); font-size: 14px; font-weight: 600; text-decoration: none;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.cs-chip .n { font-weight: 500; color: var(--cs-muted-2); font-size: 13px; }
.cs-chip:hover { border-color: var(--cs-green); }
.cs-chip.is-active { background: var(--cs-green); border-color: var(--cs-green); color: var(--cs-bg); }
.cs-chip.is-active .n { color: var(--cs-bg); opacity: .8; }
.cs-chip:focus-visible { outline: 3px solid var(--cs-clay); outline-offset: 2px; }

/* Category hero with a picture */
.cs-shop-hero--category { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; }
.cs-shop-hero--category:not(.has-image) { grid-template-columns: minmax(0, 1fr); }
.cs-shop-hero__media { margin: 0; overflow: hidden; border-radius: calc(var(--cs-radius) + 2px); aspect-ratio: 4 / 3; background: var(--cs-bg-warm); }
.cs-shop-hero__media img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Shop by project */
.cs-tiles { margin: 0 0 clamp(32px, 5vw, 56px); }
.cs-tiles__title { margin: 0 0 18px; font-weight: 400; font-size: clamp(26px, 3vw, 34px); }
.cs-tiles__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }
.cs-tile {
  display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--cs-line); border-radius: var(--cs-radius);
  background: var(--cs-panel); color: var(--cs-ink); text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.cs-tile:hover { transform: translateY(-3px); border-color: var(--cs-green); box-shadow: 0 14px 30px -18px rgba(40, 50, 40, .45); }
.cs-tile__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--cs-bg-warm); }
.cs-tile__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cs-tile:hover .cs-tile__media img { transform: scale(1.05); }
.cs-tile__name { padding: 14px 16px 0; font-family: var(--cs-serif); font-size: 20px; font-weight: 500; }
.cs-tile__count { padding: 2px 16px 16px; font-size: 13px; color: var(--cs-muted-2); }

/* Benefits row */
.cs-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: clamp(40px, 6vw, 72px) 0 0; }
.cs-benefit { padding: 24px; border: 1px solid var(--cs-line); border-radius: var(--cs-radius); background: var(--cs-panel); }
.cs-benefit__icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 14px; border-radius: 50%; background: var(--cs-bg-warm); color: var(--cs-green); }
.cs-benefit__icon svg { width: 20px; height: 20px; }
.cs-benefit h3 { margin: 0 0 6px; font-size: 20px; font-weight: 500; }
.cs-benefit p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--cs-muted); }
.cs-benefit a { color: var(--cs-green); text-underline-offset: 3px; }

/* FAQ */
.cs-faq { margin: clamp(40px, 6vw, 72px) auto 0; max-width: 820px; }
.cs-faq h2 { margin: 0 0 18px; font-weight: 400; font-size: clamp(26px, 3vw, 34px); text-align: center; }
.cs-faq__list { border-top: 1px solid var(--cs-line-2); }
.cs-faq details { border-bottom: 1px solid var(--cs-line-2); }
.cs-faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 4px; cursor: pointer;
  list-style: none; font-family: var(--cs-serif); font-size: 19px; font-weight: 500; color: var(--cs-ink);
}
.cs-faq summary::-webkit-details-marker { display: none; }
.cs-faq summary::after { content: '+'; flex: 0 0 auto; font-family: var(--cs-sans); font-size: 24px; font-weight: 400; line-height: 1; color: var(--cs-green); transition: transform .2s ease; }
.cs-faq details[open] summary::after { transform: rotate(45deg); }
.cs-faq summary:focus-visible { outline: 3px solid var(--cs-clay); outline-offset: 2px; border-radius: 6px; }
.cs-faq details p { margin: 0 0 18px; padding: 0 4px; max-width: 64ch; font-size: 16px; line-height: 1.7; color: var(--cs-muted); }

/* About / SEO text */
.cs-shop-about { margin: clamp(40px, 6vw, 64px) auto 0; max-width: 760px; }
.cs-shop-about h2 { margin: 0 0 12px; font-weight: 400; font-size: clamp(24px, 2.6vw, 30px); }
.cs-shop-about p { margin: 0 0 14px; font-size: 16px; line-height: 1.75; color: var(--cs-muted); }
.cs-shop-about a { color: var(--cs-green); text-underline-offset: 3px; }

/* Product page: price, savings, secure line */
.cs-sp__pricing { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.cs-sp__save {
  display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 999px;
  background: rgba(104, 133, 103, .16); color: var(--cs-green-dk); font-size: 13px; font-weight: 700;
}
.cs-sp__secure { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 12px 0 0; font-size: 13px; font-weight: 600; color: var(--cs-muted); }
.cs-sp__secure svg { width: 16px; height: 16px; color: var(--cs-green); }
.cs-sp__assure a { color: var(--cs-green); text-underline-offset: 3px; }
.cs-pcard__badge--new { background: var(--cs-green); color: var(--cs-bg); }

/* Related products */
.cs-shop--single section.related { grid-column: 1 / -1; margin: clamp(32px, 5vw, 56px) 0 0; }
.cs-shop--single section.related > h2 { margin: 0 0 18px; font-weight: 400; font-size: clamp(26px, 3vw, 34px); }
.cs-shop--single section.related ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cs-shop--single section.related ul.products:has(> li:only-child) { grid-template-columns: minmax(0, 1fr); }

/* Checkout reassurance */
.cs-checkout-note { margin: 14px 0 0; font-size: 13px; line-height: 1.6; text-align: center; color: var(--cs-muted); }

/* Phone buy bar */
.cs-sticky-buy { display: none; }
@media (max-width: 760px) {
  .cs-sticky-buy {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--cs-line-2);
    background: var(--cs-bg); box-shadow: 0 -10px 30px -18px rgba(40, 50, 40, .5);
    transform: translateY(110%); transition: transform .25s ease;
  }
  .cs-sticky-buy.is-visible { transform: translateY(0); }
  .cs-sticky-buy__info { display: grid; min-width: 0; }
  .cs-sticky-buy__info strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--cs-serif); font-size: 15px; font-weight: 500; }
  .cs-sticky-buy .price { font-size: 15px; }
  .cs-sticky-buy .button { flex: 0 0 auto; min-height: 44px; padding: 10px 22px; }
  .cs-woo.single-product { padding-bottom: 72px; }
}
@media (prefers-reduced-motion: reduce) {
  .cs-sticky-buy, .cs-tile, .cs-tile__media img, .cs-faq summary::after { transition: none; }
}

@media (max-width: 1000px) {
  .cs-shop-hero--category { grid-template-columns: minmax(0, 1fr); }
  .cs-benefits { grid-template-columns: minmax(0, 1fr); }
  .cs-shop--single section.related ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .cs-tiles__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cs-shop--single section.related ul.products { grid-template-columns: minmax(0, 1fr); }
  .cs-shop-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
  .cs-shop-chips::-webkit-scrollbar { display: none; }
  .cs-chip { flex: 0 0 auto; }
}

/* Phone buy bar: keep the back-to-top button clear of it, and the label on one line. */
@media (max-width: 760px) {
  .cs-sticky-buy .button { white-space: nowrap; }
  .cs-sticky-buy__info strong { max-width: 100%; }
  body.single-product .cs-back-to-top { bottom: 88px; }
}
