/* Caitlin's Little Studio — main.css
   Brand guidelines, Edition 1. Roughly 60% ivory, 30% pink, 10% everything else.
   Deep rose is for things you click. One per screen. Gold is rationed. */

:root {
  --pink: #D9ACA6;
  --ivory: #F4EDE6;
  --cocoa: #3A2F28;
  --rose: #8A3A3F;
  --sage: #8A9A80;
  --gold: #C9A24E;
  --blush: #EBD5D0;
  --stone: #8A7A6C;

  --display: 'Bodoni Moda', 'Bodoni 72', Didot, serif;
  --body: 'DM Sans', system-ui, sans-serif;

  --h1: clamp(36px, 5vw, 48px);
  --h2: 32px;
  --label: 12px;
  --text: 16px;
  --small: 13px;

  --pad: 20px;
  --max: 1200px;
  --narrow: 720px;
  --radius: 4px;
}

/* Reset-ish */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--cocoa);
  font-family: var(--body);
  font-size: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--rose); }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }
.screen-reader-text, .skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; background: var(--ivory); padding: 8px 12px; z-index: 100; }

/* Type */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  margin: 0;
  color: var(--cocoa);
}
h1 { font-size: var(--h1); line-height: 1.05; }
h2 { font-size: var(--h2); line-height: 1.15; }
h3 { font-size: 22px; line-height: 1.2; }
h4 { font-size: 18px; }
h1 em, h2 em { font-style: italic; }
p { margin: 0 0 1em; }
.cls-small, small { font-size: var(--small); color: var(--stone); }

.cls-label {
  display: inline-block;
  font-family: var(--display);
  font-weight: 700;
  font-size: var(--label);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  line-height: 1.4;
  margin: 0 0 10px;
}
.cls-label--stone { color: var(--stone); }
.cls-label--ivory { color: var(--ivory); }
.cls-label--gold { color: var(--gold); }
.cls-label--cocoa { color: var(--cocoa); }

/* Buttons */
.cls-button, .wp-block-button__link, .wp-element-button,
.woocommerce button.button.alt, .woocommerce .button.alt,
.woocommerce #respond input#submit.alt, .woocommerce a.button.alt,
.woocommerce button.button.alt:disabled,
.woocommerce .single_add_to_cart_button,
.woocommerce #place_order,
.woocommerce .checkout-button {
  display: inline-block;
  background: var(--rose) !important;
  color: var(--ivory) !important;
  font-family: var(--body);
  font-weight: 500;
  font-size: 15px;
  line-height: 1;
  padding: 15px 24px;
  border: 0;
  border-radius: var(--radius);
  text-align: center;
  transition: background 0.15s;
}
.cls-button:hover, .wp-block-button__link:hover, .woocommerce .button.alt:hover, .woocommerce .single_add_to_cart_button:hover, .woocommerce #place_order:hover, .woocommerce .checkout-button:hover {
  background: #74313A !important;
  color: var(--ivory) !important;
}
.cls-button--outline,
.woocommerce .button:not(.alt):not(.single_add_to_cart_button):not(.checkout-button),
.woocommerce a.button:not(.alt), .woocommerce button.button:not(.alt), .woocommerce input.button:not(.alt) {
  display: inline-block;
  background: transparent;
  color: var(--cocoa);
  border: 1px solid var(--cocoa);
  border-radius: var(--radius);
  padding: 12px 18px;
  font-family: var(--body);
  font-weight: 400;
  font-size: 14px;
  line-height: 1;
}
.cls-button--outline:hover { background: var(--blush); }
.cls-underline-link { border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.cls-quiet-link { font-size: var(--small); color: var(--stone); text-decoration: underline; text-underline-offset: 3px; }

/* Layout */
.cls-main { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.cls-section { padding: 36px 0 8px; }
.cls-section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 16px; }
.cls-section-foot { margin: 8px 0 0; }
.cls-content--narrow { max-width: var(--narrow); }
.cls-content > * + * { margin-top: 1em; }
.cls-content h2 { margin-top: 1.6em; }
.cls-page-head { padding: 36px 0 20px; max-width: var(--narrow); }
.cls-page-head h1 { margin-bottom: 8px; }
.cls-page__media { margin: 0 0 28px; background: var(--blush); }
.cls-placeholder { background: var(--blush); aspect-ratio: 4 / 3; width: 100%; }

/* Header */
.cls-header { background: var(--pink); color: var(--cocoa); }
.cls-header__bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 8px var(--pad) 6px;
  max-width: var(--max);
  margin: 0 auto;
}
.cls-menu-toggle { grid-column: 1; justify-self: start; }
.cls-logo { grid-column: 2; display: block; justify-self: center; }
.cls-logo img { width: auto; margin: 0 auto; }
.cls-logo__wordmark { height: 60px; display: none; }
.cls-logo__icon, .woocommerce-page .cls-logo__icon, .woocommerce .cls-logo__icon { height: 48px !important; width: 48px !important; max-width: 48px; border-radius: 12px; }
.cls-mobile-wordmark .cls-logo__wordmark { display: block; height: 88px; }
.cls-mobile-wordmark .cls-logo__icon { display: none; }
.cls-footer .cls-logo__wordmark { display: block; }
.cls-footer .cls-logo__icon { display: none; }
.cls-bag { grid-column: 3; }
.cls-menu-toggle {
  width: 44px; height: 44px; background: none; border: 0; padding: 12px;
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
}
.cls-menu-toggle span { display: block; height: 1.5px; background: var(--cocoa); }
.cls-menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.cls-menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.cls-bag { justify-self: end; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; padding: 6px 0 6px 12px; margin-right: 6px; }
.cls-bag__icon { display: block; }
.cls-bag__count { color: var(--rose); font-weight: 500; min-width: 1em; text-align: center; }
.cls-nav { display: none; padding: 0 var(--pad) 16px; }
.cls-nav.is-open { display: block; }
.cls-nav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.cls-nav__list a { display: block; padding: 8px 0; font-family: var(--display); font-size: 22px; }
.cls-nav__list .current-menu-item a { border-bottom: 1px solid var(--cocoa); display: inline-block; }

@media (min-width: 900px) {
  .cls-header__bar { padding: 18px var(--pad) 8px; }
  .cls-menu-toggle { display: none; }
  .cls-logo__wordmark, .cls-mobile-wordmark .cls-logo__wordmark, .woocommerce-page .cls-logo__wordmark { display: block; height: 76px !important; width: auto; }
  .cls-logo__icon { display: none; }
  .cls-nav { display: block; padding: 0 0 16px; }
  .cls-nav__list { flex-direction: row; justify-content: center; gap: 32px; }
  .cls-nav__list a { font-family: var(--body); font-size: 14px; padding: 4px 0; border-bottom: 1px solid transparent; }
  .cls-nav__list a:hover { border-color: var(--cocoa); color: var(--cocoa); }
  .cls-nav__list .current-menu-item a { border-color: var(--cocoa); }
}

/* Ticker */
.cls-ticker { background: var(--cocoa); color: var(--ivory); overflow: hidden; font-family: var(--body); font-weight: 500; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; padding: 8px 0; }
.cls-ticker__track { display: flex; white-space: nowrap; width: max-content; animation: cls-ticker 28s linear infinite; }
.cls-ticker__track span { padding: 0 3em; }
@keyframes cls-ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .cls-ticker__track { animation: none; } .cls-ticker__track span + span { display: none; } }

/* Hero */
.cls-hero { display: grid; gap: 22px; padding: 28px 0 0; }
.cls-hero__text p { max-width: 34ch; }
.cls-hero__text .cls-button { margin-top: 6px; }
.cls-hero__media { margin: 0; background: var(--blush); position: relative; }
.cls-hero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.cls-hero__media figcaption { position: absolute; left: 14px; bottom: 12px; }
@media (min-width: 900px) {
  .cls-hero { grid-template-columns: 5fr 7fr; align-items: center; gap: 48px; padding: 48px 0 12px; }
}

/* Product tiles */
.cls-tiles, ul.products.cls-tiles { display: grid !important; grid-template-columns: repeat(2, 1fr); gap: 24px 12px; list-style: none; margin: 0; padding: 0; }
.cls-tiles li.product, ul.products.cls-tiles li.product { width: auto !important; margin: 0 !important; float: none !important; }
.cls-tile__media { position: relative; background: var(--blush); aspect-ratio: 1; overflow: hidden; }
.cls-tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.product:hover .cls-tile__media img { transform: scale(1.02); }
.cls-tile__title { font-size: 17px; margin: 10px 0 2px; }
.cls-tile__meta { font-size: var(--small); color: var(--stone); margin: 0; }
.cls-tile__meta .amount { color: var(--stone); }
.cls-tile__sold, .cls-tile__sale { position: absolute; bottom: 10px; left: 10px; font-size: 11px; color: var(--stone); background: rgba(244,237,230,0.85); padding: 3px 8px; }
.cls-tile__sale { color: var(--rose); }
.product.outofstock .cls-tile__media { opacity: 0.55; }
.product.outofstock .cls-tile__title { color: var(--stone); }
.cls-badge--oneofone { position: absolute; top: 10px; left: 10px; font-family: var(--display); font-weight: 700; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.cls-badge--instock { position: absolute; bottom: 10px; left: 10px; font-size: 11px; font-weight: 500; color: var(--sage); }
@media (min-width: 700px) { .cls-tiles, ul.products.cls-tiles { grid-template-columns: repeat(3, 1fr); gap: 32px 20px; } }
@media (min-width: 1100px) { .cls-shop-main ul.products.cls-tiles { grid-template-columns: repeat(4, 1fr); } }

/* Chips */
.cls-chip { display: inline-block; font-size: 11px; padding: 3px 8px; border-radius: 3px; margin-top: 6px; width: max-content; }
.cls-chip--made, .cls-chip--branded { background: var(--pink); color: var(--cocoa); }
.cls-chip--chosen { background: var(--blush); color: var(--stone); }

/* Collections list */
.cls-collections-list ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--blush); }
.cls-collections-list li { border-bottom: 1px solid var(--blush); }
.cls-collections-list a { display: flex; gap: 14px; align-items: center; padding: 16px 0; }
.cls-collections-list__img { width: 84px; height: 84px; flex-shrink: 0; background: var(--blush); }
.cls-collections-list__img img, .cls-collections-list__img .cls-placeholder { width: 84px; height: 84px; object-fit: cover; aspect-ratio: 1; }
.cls-collections-list__text { flex: 1; display: flex; flex-direction: column; }
.cls-collections-list__name { font-family: var(--display); font-size: 20px; line-height: 1.15; }
.cls-collections-list__arrow { color: var(--cocoa); }
@media (min-width: 900px) {
  .cls-collections-list ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
}

/* Bands */
.cls-band { margin: 36px calc(-1 * var(--pad)) 0; padding: 30px var(--pad); }
.cls-band--pink { background: var(--pink); color: var(--cocoa); }
.cls-band__inner { max-width: var(--max); margin: 0 auto; }
.cls-band h2 { margin-bottom: 10px; }
.cls-band .wp-block-buttons { margin-top: 14px; }
@media (min-width: 1240px) { .cls-band { margin-left: calc(-1 * (100vw - var(--max)) / 2 - var(--pad)); margin-right: calc(-1 * (100vw - var(--max)) / 2 - var(--pad)); padding-left: 0; padding-right: 0; } .cls-band__inner { padding: 0 var(--pad); } }

/* Swatch strip (from plugin) */
.cls-swatches { display: flex; gap: 10px; margin: 14px 0 16px; flex-wrap: wrap; }
.cls-swatch { width: 34px; height: 34px; border-radius: 50%; border: 2px solid transparent; display: inline-block; }
.cls-swatch.is-ivory { border-color: var(--cocoa); }

/* Instagram grid */
.cls-grid__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.cls-grid__list img { aspect-ratio: 1; object-fit: cover; width: 100%; }
@media (min-width: 900px) { .cls-grid__list { grid-template-columns: repeat(6, 1fr); } }

/* Quote */
.cls-quote blockquote { margin: 0; }
.cls-quote blockquote p { font-family: var(--display); font-size: 24px; line-height: 1.25; max-width: 30ch; }
.cls-quote cite { font-style: normal; font-size: var(--small); color: var(--stone); }

/* Newsletter and footer */
.cls-newsletter { max-width: var(--max); margin: 30px auto 0; padding: 0 var(--pad) 26px; }
.cls-newsletter__inner { background: var(--blush); border-radius: 6px; padding: 18px; }
.cls-newsletter h2 { font-size: 18px; margin-bottom: 2px; }
.cls-newsletter__form { display: flex; gap: 8px; margin-top: 12px; }
.cls-newsletter__form input { flex: 1; min-width: 0; background: var(--ivory); border: 1px solid var(--stone); border-radius: var(--radius); padding: 10px 12px; font: inherit; font-size: 14px; color: var(--cocoa); }
@media (min-width: 900px) { .cls-newsletter__inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 24px; padding: 26px 30px; } .cls-newsletter__form { margin: 0; } }
.cls-footer { background: var(--pink); padding: 28px var(--pad) 26px; text-align: center; }
.cls-footer__inner { max-width: var(--max); margin: 0 auto; }
.cls-footer .cls-logo img { height: 56px !important; margin: 0 auto 14px; }
.cls-footer__nav, .cls-footer__legal { list-style: none; margin: 0 0 8px; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 16px; font-size: 13px; }
.cls-footer__legal { font-size: 12px; color: var(--cocoa); opacity: 0.8; }
.cls-footer__ig { display: inline-block; margin-top: 6px; font-size: 13px; }
.cls-footer__copy { font-size: 12px; margin: 14px 0 0; }

/* Journal list and subpages */
.cls-post-list, .cls-subpages ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--blush); max-width: var(--narrow); }
.cls-post-list li, .cls-subpages li { border-bottom: 1px solid var(--blush); }
.cls-post-list a, .cls-subpages a { display: flex; align-items: center; gap: 14px; padding: 12px 0; justify-content: space-between; }
.cls-post-list__img { width: 64px; height: 64px; background: var(--blush); flex-shrink: 0; }
.cls-post-list__img img { width: 64px; height: 64px; object-fit: cover; }
.cls-post-list__text { flex: 1; display: flex; flex-direction: column; }
.cls-post-list__title { font-weight: 500; }
.cls-subpages { margin: 36px 0; }
.cls-subpages a { font-family: var(--display); font-size: 20px; }
.cls-post-nav { display: flex; justify-content: space-between; gap: 16px; margin: 40px 0; max-width: var(--narrow); font-size: 14px; }
.pagination, .woocommerce-pagination { margin: 30px 0; font-size: 14px; }
.woocommerce nav.woocommerce-pagination ul { border: 0; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { color: var(--cocoa); }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--blush); }

/* Shop page */
.cls-shop-head { padding: 28px 0 8px; max-width: var(--narrow); }
.cls-shop-head h1 { margin-bottom: 8px; }
.cls-shop-head__intro p { max-width: 40ch; }
.cls-collections { margin: 8px calc(-1 * var(--pad)) 18px; padding: 0 var(--pad); overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--blush); }
.cls-collections::-webkit-scrollbar { display: none; }
.cls-collections ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; white-space: nowrap; }
.cls-collections a { display: inline-block; padding: 10px 0; font-size: 14px; color: var(--stone); border-bottom: 1.5px solid transparent; }
.cls-collections .is-current a { color: var(--cocoa); border-color: var(--cocoa); }
.cls-loop-tools { display: flex; justify-content: space-between; align-items: center; font-size: var(--small); color: var(--stone); margin-bottom: 18px; }
.woocommerce .cls-loop-tools .woocommerce-result-count, .woocommerce .cls-loop-tools .woocommerce-ordering { margin: 0; float: none; }
.woocommerce .cls-loop-tools select { font: inherit; font-size: var(--small); color: var(--cocoa); background: transparent; border: 0; border-bottom: 1px solid var(--stone); padding: 4px 0; }
.woocommerce-notices-wrapper .woocommerce-message, .woocommerce-message, .woocommerce-info, .woocommerce-error {
  border: 0; border-top: 0; background: var(--blush); color: var(--cocoa); border-radius: 6px; padding: 14px 18px !important; font-size: 14px; margin-bottom: 24px;
}
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { display: none; }
.woocommerce-message { color: var(--cocoa); }
.woocommerce-message a.button { float: none; margin-left: 12px; }
.woocommerce-error { color: var(--rose); }

/* Single product */
.woocommerce div.product { padding-top: 20px; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { float: none; width: 100%; }
.woocommerce div.product div.images { background: var(--blush); margin-bottom: 22px; }
.woocommerce div.product div.images img { width: 100%; }
.woocommerce div.product .woocommerce-product-gallery__image { background: var(--blush); }
.woocommerce div.product .flex-control-thumbs { display: flex; justify-content: center; gap: 6px; padding: 10px 0; margin: 0; }
.woocommerce div.product .flex-control-thumbs li { width: 8px !important; height: 8px; float: none; margin: 0; }
.woocommerce div.product .flex-control-thumbs img { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); object-fit: cover; opacity: 0; }
.woocommerce div.product .flex-control-thumbs li::before { content: ""; display: block; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); }
.woocommerce div.product .flex-control-thumbs li:has(.flex-active)::before { background: var(--cocoa); }
.woocommerce div.product .flex-control-thumbs li { position: relative; }
.woocommerce div.product .flex-control-thumbs img { position: absolute; inset: 0; }
.cls-product__titlerow { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin: 6px 0 6px; }
.woocommerce div.product .product_title { font-size: 30px; margin: 0; }
.woocommerce div.product .cls-product__titlerow p.price { margin: 0; font-family: var(--display); font-size: 22px; color: var(--cocoa); white-space: nowrap; }
.woocommerce div.product p.price ins { text-decoration: none; }
.woocommerce div.product p.price del { color: var(--stone); font-size: 16px; margin-right: 6px; }
.woocommerce div.product .woocommerce-product-details__short-description p { margin: 0 0 8px; }
.woocommerce .star-rating { color: var(--gold); }
.woocommerce .star-rating::before { color: var(--blush); }
.woocommerce div.product .woocommerce-product-rating { margin: 6px 0 0; }
.woocommerce .woocommerce-review-link { font-size: var(--small); color: var(--stone); }
.cls-eyebrow { margin: 0 0 6px; }

/* Variations */
.woocommerce div.product form.cart { margin: 22px 0 0; }
.woocommerce div.product form.cart table.variations { margin-bottom: 0; }
.woocommerce div.product form.cart table.variations td, .woocommerce div.product form.cart table.variations th { display: block; padding: 0; }
.woocommerce div.product form.cart table.variations tr { display: block; margin-bottom: 18px; }
.woocommerce div.product form.cart table.variations label { font-weight: 500; font-size: 14px; }
.woocommerce div.product form.cart table.variations select { font: inherit; font-size: 14px; border: 1px solid var(--stone); border-radius: var(--radius); padding: 8px 12px; background: var(--ivory); margin-top: 8px; }
.woocommerce div.product form.cart .reset_variations { font-size: 12px; color: var(--stone); }
.woocommerce div.product form.cart .single_variation_wrap .woocommerce-variation-price { display: none; }
.woocommerce div.product form.cart .single_variation_wrap .woocommerce-variation-availability { font-size: var(--small); color: var(--sage); }
.woocommerce div.product form.cart div.quantity { display: none; }
.woocommerce div.product form.cart .single_add_to_cart_button { width: 100%; margin-top: 8px; }
.woocommerce div.product form.cart .button.disabled { opacity: 0.4; }

/* CLS swatch buttons (plugin) */
.cls-swatch-group { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.cls-swatch-btn { width: 34px; height: 34px; border-radius: 50%; border: 2px solid transparent; padding: 0; background: var(--blush); cursor: pointer; }
.cls-swatch-btn.is-selected { outline: 1.5px solid var(--cocoa); outline-offset: 3px; }
.cls-swatch-btn.is-light { border-color: var(--stone); }
.cls-swatch-btn[disabled] { opacity: 0.25; cursor: not-allowed; }
.cls-swatch-btn--text { width: auto; height: auto; border-radius: var(--radius); border: 1px solid var(--stone); padding: 8px 14px; font-size: 13px; background: transparent; color: var(--stone); }
.cls-swatch-btn--text.is-selected { outline: 0; border-color: var(--cocoa); color: var(--cocoa); }
.cls-swatch-current { font-size: var(--small); color: var(--stone); float: right; }

/* Notes under the button (plugin) */
.cls-lead-note { text-align: center; font-size: var(--small); color: var(--stone); margin: 10px 0 0; }
.cls-variation-note { background: var(--blush); border-radius: 6px; padding: 14px 16px; font-size: 13px; margin: 22px 0 0; }

/* Accordion */
.cls-accordion { margin: 26px 0 0; border-top: 1px solid var(--blush); }
.cls-accordion details { border-bottom: 1px solid var(--blush); }
.cls-accordion summary { list-style: none; cursor: pointer; padding: 13px 0; font-size: 14px; display: flex; justify-content: space-between; }
.cls-accordion summary::-webkit-details-marker { display: none; }
.cls-accordion summary::after { content: "+"; color: var(--stone); }
.cls-accordion details[open] summary::after { content: "\2013"; }
.cls-accordion__body { padding: 0 0 16px; font-size: 14px; }
.cls-accordion__body p { margin: 0 0 0.8em; }

/* Related */
.woocommerce .related.products, .woocommerce .cross-sells { margin-top: 28px; }
.woocommerce .related.products > h2, .woocommerce .cross-sells > h2 { font-size: 24px; margin-bottom: 12px; }
.woocommerce .related ul.products, .woocommerce .cross-sells ul.products { display: grid !important; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.woocommerce .related ul.products li.product, .woocommerce .cross-sells ul.products li.product { width: auto !important; margin: 0 !important; float: none; }

@media (min-width: 900px) {
  .woocommerce div.product { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; padding-top: 32px; }
  .woocommerce div.product div.images { grid-row: 1 / span 3; }
  .woocommerce div.product div.summary { grid-column: 2; margin: 0; }
  .woocommerce div.product .cls-accordion { grid-column: 2; }
  .woocommerce div.product .related.products, .woocommerce div.product .cross-sells { grid-column: 1 / -1; }
  .woocommerce div.product .product_title { font-size: 40px; }
  .woocommerce .related ul.products, .woocommerce .cross-sells ul.products { grid-template-columns: repeat(4, 1fr); gap: 20px; }
}

/* Bag */
.woocommerce-cart .cls-shop-main, .woocommerce-checkout .cls-shop-main, .woocommerce-account .cls-shop-main { max-width: 760px; }
.woocommerce-cart .cls-page-head, .woocommerce-checkout .cls-page-head { padding-bottom: 6px; }
.woocommerce-cart .cls-content--narrow, .woocommerce-checkout .cls-content--narrow, .woocommerce-account .cls-content--narrow { max-width: none; }
.woocommerce table.shop_table { border: 0; border-collapse: collapse; border-radius: 0; font-size: 14px; }
.woocommerce table.shop_table th { display: none; }
.woocommerce table.shop_table td { border: 0; padding: 0; }
.woocommerce-cart table.cart tr.woocommerce-cart-form__cart-item { display: grid; grid-template-columns: 76px 1fr auto; grid-template-areas: "img name price" "img meta meta" "img qty remove"; gap: 2px 14px; padding: 18px 0; border-bottom: 1px solid var(--blush); align-items: start; }
.woocommerce-cart table.cart td.product-thumbnail { grid-area: img; background: var(--blush); }
.woocommerce-cart table.cart td.product-thumbnail img { width: 76px; height: 76px; object-fit: cover; }
.woocommerce-cart table.cart td.product-name { grid-area: name; font-family: var(--display); font-size: 17px; }
.woocommerce-cart table.cart td.product-name a { color: var(--cocoa); }
.woocommerce-cart table.cart td.product-name .variation, .woocommerce-cart table.cart td.product-name .cls-cart-meta { font-family: var(--body); font-size: var(--small); color: var(--stone); display: block; margin: 2px 0 0; }
.woocommerce-cart table.cart td.product-name .variation dt, .woocommerce-cart table.cart td.product-name .variation dd { display: inline; margin: 0; font-weight: 400; }
.woocommerce-cart table.cart td.product-name .variation dd p { display: inline; }
.woocommerce-cart table.cart td.product-name .variation dt::after { content: " "; }
.woocommerce-cart table.cart td.product-name .variation dd:not(:last-child)::after { content: " · "; }
.woocommerce-cart table.cart td.product-price { display: none; }
.woocommerce-cart table.cart td.product-subtotal { grid-area: price; font-size: 14px; }
.woocommerce-cart table.cart td.product-subtotal .amount { color: var(--cocoa); }
.woocommerce-cart table.cart td.product-quantity { grid-area: qty; margin-top: 8px; }
.woocommerce-cart table.cart td.product-remove { grid-area: remove; justify-self: end; align-self: end; }
.woocommerce-cart table.cart td.product-remove a.remove { font-size: 0; color: var(--stone) !important; width: auto; height: auto; border-radius: 0; }
.woocommerce-cart table.cart td.product-remove a.remove::after { content: "Remove"; font-size: var(--small); text-decoration: underline; text-underline-offset: 3px; }
.woocommerce-cart table.cart td.product-remove a.remove:hover { background: none; color: var(--rose) !important; }
.woocommerce .quantity .qty { width: 56px; border: 1px solid var(--stone); border-radius: var(--radius); padding: 5px; font: inherit; font-size: 13px; background: transparent; color: var(--cocoa); }
.woocommerce-cart table.cart td.actions { padding: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.woocommerce-cart table.cart td.actions .coupon { display: flex; gap: 8px; flex: 1; float: none; }
.woocommerce-cart table.cart td.actions .coupon label { display: none; }
.woocommerce-cart table.cart td.actions .coupon input.input-text { flex: 1; width: auto !important; border: 1px solid var(--stone); border-radius: var(--radius); padding: 9px 12px; font: inherit; font-size: 13px; background: transparent; color: var(--cocoa); }
.woocommerce-cart table.cart td.actions .button[name="update_cart"] { display: none; }
.cls-delivery-bar { margin: 22px 0 14px; font-size: var(--small); color: var(--stone); }
.cls-delivery-bar p { margin: 0 0 6px; }
.cls-delivery-bar .is-free { color: var(--sage); }
.cls-delivery-bar__track { height: 6px; background: var(--blush); border-radius: 3px; overflow: hidden; }
.cls-delivery-bar__fill { height: 100%; background: var(--pink); }
.woocommerce-cart .cart-collaterals .cart_totals { width: 100%; float: none; }
.woocommerce-cart .cart_totals h2 { display: none; }
.woocommerce-cart .cart_totals table.shop_table tr { display: flex; justify-content: space-between; padding: 6px 0; }
.woocommerce-cart .cart_totals table.shop_table th { display: block; font-weight: 400; color: var(--stone); border: 0; padding: 0; }
.woocommerce-cart .cart_totals table.shop_table tr.order-total { border-top: 1px solid var(--blush); margin-top: 8px; padding-top: 12px; }
.woocommerce-cart .cart_totals table.shop_table tr.order-total th, .woocommerce-cart .cart_totals table.shop_table tr.order-total td { font-family: var(--display); font-size: 22px; color: var(--cocoa); }
.woocommerce-cart .cart_totals table.shop_table tr.order-total .amount { color: var(--cocoa); }
.woocommerce-cart .wc-proceed-to-checkout { padding: 20px 0 0; }
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button { width: 100%; font-size: 15px; padding: 15px; margin: 0; }
.woocommerce-cart .cross-sells > h2 { font-size: 22px; margin-top: 30px; }
.woocommerce-cart .cross-sells ul.products { grid-template-columns: repeat(3, 1fr); }
.woocommerce-shipping-methods { list-style: none; padding: 0; margin: 0; }
.cls-reserve { display: block; font-family: var(--display); font-weight: 700; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-top: 6px; }
.cls-reserve__note { display: block; font-family: var(--body); font-size: var(--small); color: var(--stone); text-transform: none; letter-spacing: 0; font-weight: 400; margin-top: 2px; }
.cls-cart-lead { background: var(--blush); border-radius: 6px; padding: 12px 16px; font-size: 13px; margin: 18px 0 0; }
.cls-gift-wrap { display: flex; align-items: center; gap: 8px; font-size: 13px; margin: 14px 0 0; }
.cls-gift-wrap input { width: 16px; height: 16px; accent-color: var(--cocoa); }

/* Checkout and account: keep it quiet */
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select, .select2-container--default .select2-selection--single {
  border: 1px solid var(--stone); border-radius: var(--radius); padding: 10px 12px; font: inherit; font-size: 14px; background: var(--ivory); color: var(--cocoa); height: auto;
}
.woocommerce form .form-row label { font-size: 13px; color: var(--stone); }
.woocommerce-checkout h3, .woocommerce-account h2, .woocommerce-checkout #order_review_heading { font-family: var(--display); font-weight: 400; font-size: 24px; margin: 24px 0 12px; }
.woocommerce-checkout #payment { background: var(--blush); border-radius: 6px; }
.woocommerce-checkout #payment div.payment_box { background: var(--ivory); color: var(--cocoa); }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--ivory); }
.woocommerce-checkout #payment ul.payment_methods { border-bottom: 1px solid var(--pink); }
.woocommerce-checkout #payment #place_order { width: 100%; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; border-bottom: 1px solid var(--blush); padding-bottom: 12px; }
.woocommerce-account .woocommerce-MyAccount-navigation, .woocommerce-account .woocommerce-MyAccount-content { float: none; width: 100%; }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { border-bottom: 1px solid var(--cocoa); }

/* Gutenberg content basics */
.cls-content .wp-block-image, .cls-content figure { margin-left: 0; margin-right: 0; }
.cls-content figcaption { font-size: var(--small); color: var(--stone); }
.cls-content .wp-block-quote { border-left: 2px solid var(--pink); padding-left: 16px; margin: 1.6em 0; }
.cls-content .wp-block-quote p { font-family: var(--display); font-size: 22px; line-height: 1.25; }
.cls-content .wp-block-separator { border: 0; border-top: 1px solid var(--blush); margin: 2em 0; }
.cls-content ul, .cls-content ol { padding-left: 1.2em; }
.cls-content a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--pink); }
.cls-content a:hover { text-decoration-color: var(--rose); }
.cls-content .wp-block-buttons { margin-top: 20px; }
.cls-hero--pattern { display: block; padding: 28px 0 8px; }
.cls-hero--pattern .cls-label { display: block; }
.cls-hero--pattern .wp-block-buttons { margin-top: 12px; }

