/* Pick of Trend — WooCommerce adapter.
 *
 * pot.css holds the design system. This file maps it onto the markup
 * WooCommerce actually outputs, so Woo keeps rendering its own cart,
 * checkout, variation form and payment gateway and we only restyle them.
 * Nothing here changes behaviour.
 */

/* ---------------------------------------------------------- chrome bits */

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 4px; }

.pot-main { display: block; }
.sec-crumb { padding-top: 30px; }
.sec-pagehead { padding-top: 44px; }
.sec-filters { padding-top: 34px; }
.sec-grid { padding-top: 28px; }
.sec-tabs { padding-top: 74px; }
.sec-closer { padding-top: 64px; }
.sec-prose { padding-bottom: 74px; }
.lede-tight { margin: -18px 0 30px; }
.strong { font-weight: 600; color: var(--ink); }
.ph { color: var(--ink-3); }
.ftr-todo { font-size: 13px; color: var(--ink-3); line-height: 1.5; }
.ftr-ship { font-size: 13px; color: var(--ink-3); }

.closer { border-top: 1px solid var(--line); padding-top: 48px; }
.closer h2 { margin: 0 0 12px; font-family: var(--disp); font-size: 34px; font-weight: 800; letter-spacing: -0.03em; }

.prose { max-width: 720px; font-size: 16px; line-height: 1.7; color: var(--ink-2); }
.prose h2 { font-family: var(--disp); font-size: 30px; letter-spacing: -0.028em; color: var(--ink); margin: 34px 0 12px; }
.prose h3 { font-family: var(--disp); font-size: 22px; letter-spacing: -0.02em; color: var(--ink); margin: 28px 0 10px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: 6px; }
.prose blockquote { margin: 24px 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--acc); font-size: 18px; color: var(--ink); }

.post-list { display: flex; flex-direction: column; gap: 34px; max-width: 720px; }
.post-item h2 { font-family: var(--disp); font-size: 28px; letter-spacing: -0.028em; margin: 0 0 6px; }
.post-hero img { border-radius: 6px; margin-bottom: 26px; }

.hdr-search { border-top: 1px solid var(--line); background: var(--sunk); }
.hdr-search-in { max-width: var(--maxw); margin: 0 auto; padding: 16px var(--gut); display: flex; align-items: center; gap: 12px; }
.hdr-search form { display: flex; gap: 10px; flex-grow: 1; }
.hdr-search input[type="search"] { height: 52px; padding: 0 16px; border: 1.5px solid var(--ink); border-radius: 4px; font-size: 15px; background: var(--bg); color: var(--ink); flex-grow: 1; }
.hdr-search button[type="submit"] { height: 52px; padding: 0 24px; border: 0; border-radius: 4px; background: var(--ink); color: var(--bg); font-size: 14px; font-weight: 700; cursor: pointer; }

/* --------------------------------------------------------- Woo prices */

.woocommerce-Price-amount { font-variant-numeric: tabular-nums; }

.card .prices .price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin: 0; }
.card .prices .price ins { text-decoration: none; font-family: var(--disp); font-size: 26px; font-weight: 800; letter-spacing: -0.025em; }
.card .prices .price > .woocommerce-Price-amount { font-family: var(--disp); font-size: 26px; font-weight: 800; letter-spacing: -0.025em; }
.card .prices .price del { font-size: 13px; color: var(--ink-3); opacity: 1; }

.buy-price .price { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin: 0; }
.buy-price .price ins { text-decoration: none; font-family: var(--disp); font-size: 52px; font-weight: 800; letter-spacing: -0.035em; line-height: 1; }
.buy-price .price > .woocommerce-Price-amount { font-family: var(--disp); font-size: 52px; font-weight: 800; letter-spacing: -0.035em; line-height: 1; }
.buy-price .price del { font-size: 20px; color: var(--ink-3); opacity: 1; }

.deal-price .price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 0; color: var(--bg); }
.deal-price .price ins { text-decoration: none; font-family: var(--disp); font-size: 46px; font-weight: 800; letter-spacing: -0.03em; }
.deal-price .price del { font-size: 18px; color: var(--ink-3); opacity: 1; }

.shot-card-t { flex-grow: 1; }
.shot-card-t .name { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.shot-card-p .price { display: block; text-align: right; margin: 0; }
.shot-card-p .price ins { text-decoration: none; font-family: var(--disp); font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.shot-card-p .price del { display: block; font-size: 12px; color: var(--ink-3); opacity: 1; }

/* ------------------------------------------------------------ loop */

.rate .star, .stars, .stars-wrap { color: var(--acc); }
.rate .star { display: inline-flex; }
.rate-link { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.blurb-empty { color: var(--ink-3); font-style: italic; }
.badge-out { position: absolute; top: 14px; right: 14px; background: var(--ink); color: var(--bg); font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 9px; border-radius: 3px; }

a.qa, a.added_to_cart { display: inline-flex; align-items: center; justify-content: center; text-align: center; text-decoration: none; }
.qa.loading { opacity: 0.6; pointer-events: none; }
a.added_to_cart { margin-left: 8px; font-size: 12px; color: var(--acc); text-decoration: underline; }

ul.products { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
ul.products::before, ul.products::after { content: none; }
.grid > .card, ul.products > .card { width: auto; margin: 0; float: none; clear: none; }

.woocommerce-breadcrumb, .crumb { font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.crumb .sep { padding: 0 8px; color: var(--line-2); }

a.pill, a.sortb { text-decoration: none; }
a.pill[aria-current="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
a.sortb[aria-current="true"] { background: var(--ink); color: var(--bg); }

/* ------------------------------------- beat WooCommerce's layout CSS
   woocommerce-layout.css gives div.product .images and .summary width:48%
   and floats them, which squeezed our buy column to 192px. Its general CSS
   paints .button.alt purple (#7f54b3) with a selector more specific than
   ours. These rules match or beat those selectors on purpose. */

/* Woo's rule is `.woocommerce #content div.product div.summary` — it carries
   an ID, and our <main> is id="content", so no class-only selector can beat
   it. These carry #content too. */
.woocommerce #content div.product.pdp .pdp-buy.summary,
.woocommerce #content div.product.pdp .pdp-gallery div.images,
.woocommerce #content div.product.pdp .pdp-gallery .woocommerce-product-gallery,
.woocommerce div.product.pdp .pdp-buy.summary,
.woocommerce div.product.pdp .pdp-gallery div.images,
.woocommerce div.product.pdp .pdp-gallery .woocommerce-product-gallery {
  width: 100%;
  float: none;
  margin: 0;
}
.woocommerce div.product.pdp .pdp-buy .product_title { max-width: none; overflow-wrap: anywhere; }

/* pot.css has a `.summary` card for the cart's order summary. WooCommerce
   gives the product buy box the same class, so it inherited that border,
   white fill and padding. Strip it here. */
.woocommerce #content div.product.pdp .pdp-buy.summary,
.woocommerce div.product.pdp .pdp-buy.summary {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
}

/* Long supplier titles: step the size down rather than stack 11 lines. */
.woocommerce div.product.pdp .pdp-buy .product_title.is-long { font-size: 32px; line-height: 1.08; letter-spacing: -0.025em; }
.woocommerce div.product.pdp .pdp-buy .product_title.is-very-long { font-size: 26px; line-height: 1.12; letter-spacing: -0.02em; }

/* Price. get_price_html() prints bare amounts — no .price wrapper — so the
   size has to target the amounts themselves. */
.pdp-buy .buy-price { align-items: baseline; gap: 10px 12px; }
.pdp-buy .buy-price .woocommerce-Price-amount {
  font-family: var(--disp); font-size: 40px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--ink);
}
.pdp-buy .buy-price > span[aria-hidden="true"]:not(.woocommerce-Price-amount) { font-size: 28px; color: var(--ink-3); }
.pdp-buy .buy-price del,
.pdp-buy .buy-price del .woocommerce-Price-amount { font-family: var(--text); font-size: 18px; font-weight: 400; color: var(--ink-3); }
.pdp-buy .buy-price ins { text-decoration: none; }
.pdp-buy .woocommerce-variation-price .woocommerce-Price-amount { font-family: var(--disp); font-size: 28px; font-weight: 800; letter-spacing: -0.025em; }

/* Stars: pot.css greys every `.rate span`, which caught the star wrappers. */
.rate .stars, .rate .stars-wrap, .rate .stars-wrap .stars, .rate .star { color: var(--acc); }

.woocommerce #content div.product.pdp form.cart .single_add_to_cart_button.button.alt,
.woocommerce #content div.product.pdp form.cart .single_add_to_cart_button.button.alt.disabled,
.woocommerce #content div.product.pdp form.cart .single_add_to_cart_button.button.alt:disabled,
.woocommerce div.product.pdp form.cart .single_add_to_cart_button.button.alt,
.woocommerce div.product.pdp form.cart .single_add_to_cart_button.button.alt.disabled,
.woocommerce div.product.pdp form.cart .single_add_to_cart_button.button.alt:disabled {
  background-color: var(--acc);
  color: var(--bg);
  border: 0;
  border-radius: 4px;
  height: 60px;
  padding: 0 28px;
  font-family: var(--text);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: none;
  box-shadow: none;
  float: none;
}
.woocommerce div.product.pdp form.cart .single_add_to_cart_button.button.alt:hover { background-color: var(--acc-dark); color: var(--bg); }
.woocommerce div.product.pdp form.cart .single_add_to_cart_button.button.alt.disabled,
.woocommerce div.product.pdp form.cart .single_add_to_cart_button.button.alt:disabled { opacity: 0.45; cursor: not-allowed; }
.woocommerce div.product.pdp form.cart div.quantity { float: none; margin: 0; }

/* the same purple leaks onto every other .button.alt in the store */
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt {
  background-color: var(--acc);
  color: var(--bg);
}
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce #respond input#submit.alt:hover { background-color: var(--acc-dark); color: var(--bg); }

/* --------------------------------------------------- single product */

.pdp { display: grid; grid-template-columns: 660px minmax(0, 1fr); gap: 60px; align-items: start; }
.pdp-gallery { position: relative; }
.pdp-gallery .woocommerce-product-gallery { width: 100%; float: none; margin: 0; }
.pdp-gallery .woocommerce-product-gallery__wrapper { border-radius: 6px; overflow: hidden; background: var(--sunk); margin: 0; }
.pdp-gallery img { border-radius: 6px; display: block; }
.pdp-gallery .flex-control-thumbs { list-style: none; margin: 14px 0 0; padding: 0; display: flex; gap: 12px; flex-wrap: wrap; }
.pdp-gallery .flex-control-thumbs li { width: 104px; margin: 0; }
.pdp-gallery .flex-control-thumbs img { border: 2px solid var(--line); border-radius: 5px; cursor: pointer; opacity: 1; }
.pdp-gallery .flex-control-thumbs img.flex-active,
.pdp-gallery .flex-control-thumbs img:hover { border-color: var(--ink); }
.pdp-gallery .woocommerce-product-gallery__trigger { position: absolute; top: 20px; right: 20px; z-index: 9; background: var(--bg); border: 1px solid var(--line-2); border-radius: 4px; padding: 8px 10px; text-decoration: none; }
.gal-badge { position: absolute; top: 20px; left: 20px; z-index: 9; background: var(--acc); color: var(--bg); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; padding: 8px 13px; border-radius: 3px; font-variant-numeric: tabular-nums; }

.pdp-buy { display: flex; flex-direction: column; gap: 20px; }
.pdp-buy .product_title { margin: 0; font-family: var(--disp); font-size: 46px; font-weight: 800; letter-spacing: -0.032em; line-height: 1.02; }

.pdp-buy .variations { width: 100%; border: 0; margin: 0; border-collapse: collapse; }
.pdp-buy .variations tr { display: block; border-top: 1px solid var(--line); padding-top: 16px; margin-bottom: 14px; }
.pdp-buy .variations th,
.pdp-buy .variations td { display: block; padding: 0; text-align: left; border: 0; }
.pdp-buy .variations th label { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); padding-bottom: 10px; display: block; }
.pdp-buy .variations select { width: 100%; height: 54px; padding: 0 40px 0 15px; border: 1.5px solid var(--line-2); border-radius: 4px; font-size: 15px; background: var(--bg); color: var(--ink); font-family: inherit; }
.pdp-buy .variations select:focus { outline: none; border-color: var(--ink); }
.pdp-buy .reset_variations { font-size: 13px; color: var(--ink-3); text-decoration: underline; text-underline-offset: 3px; }
.pdp-buy .woocommerce-variation-price { padding: 4px 0 2px; }
.pdp-buy .woocommerce-variation-price .price { font-family: var(--disp); font-size: 32px; font-weight: 800; letter-spacing: -0.03em; }
.pdp-buy .woocommerce-variation-availability { font-size: 14px; color: var(--ink-2); }

.pdp-buy form.cart { display: flex; align-items: stretch; gap: 12px; flex-wrap: wrap; margin: 0; }
.pdp-buy form.variations_form { display: block; margin: 0; }
.pdp-buy form.variations_form .woocommerce-variation-add-to-cart { display: flex; align-items: stretch; gap: 12px; flex-wrap: wrap; }
.pdp-buy .quantity { display: flex; align-items: center; border: 1.5px solid var(--ink); border-radius: 4px; height: 60px; overflow: hidden; }
.pdp-buy .quantity input.qty { width: 64px; height: 100%; border: 0; text-align: center; font-size: 17px; font-weight: 700; background: transparent; color: var(--ink); font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.pdp-buy .quantity input.qty::-webkit-outer-spin-button,
.pdp-buy .quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; appearance: none; margin: 0; }
.pot-step { width: 46px; height: 100%; border: 0; background: transparent; font-size: 19px; font-weight: 600; color: var(--ink); cursor: pointer; font-family: inherit; }
.pot-step:hover { color: var(--acc); }
.pdp-buy .single_add_to_cart_button {
  flex-grow: 1; min-width: 220px; height: 60px; background: var(--acc); color: var(--bg);
  border: 0; border-radius: 4px; font-size: 16px; font-weight: 700; letter-spacing: -0.01em;
  cursor: pointer; font-family: inherit;
}
.pdp-buy .single_add_to_cart_button:hover { background: var(--acc-dark); }
.pdp-buy .single_add_to_cart_button.disabled { opacity: 0.45; cursor: not-allowed; }
.pdp-buy .stock.out-of-stock { color: var(--acc); font-weight: 600; }

.assure { list-style: none; margin: 0; padding: 20px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 11px; }
.assure li { display: flex; align-items: center; gap: 11px; font-size: 14px; color: var(--ink-2); }
.assure .pot-i { flex-shrink: 0; color: var(--ink-2); }
.assure li:first-child .pot-i { color: var(--ok); }

.pot-meter-slot:empty { display: none; }

.woocommerce-tabs { max-width: 780px; }
.woocommerce-tabs ul.tabs { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.woocommerce-tabs ul.tabs::before { content: none; }
.woocommerce-tabs ul.tabs li { margin: 0; padding: 0; background: transparent; border: 0; border-radius: 0; }
.woocommerce-tabs ul.tabs li::before, .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce-tabs ul.tabs li a { display: block; padding: 18px; font-family: var(--disp); font-size: 17px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink-3); border-bottom: 2px solid transparent; }
.woocommerce-tabs ul.tabs li a:hover { color: var(--ink); }
.woocommerce-tabs ul.tabs li.active a { color: var(--ink); border-bottom-color: var(--acc); }
.woocommerce-tabs .panel { padding: 28px 0 0; font-size: 15px; line-height: 1.7; color: var(--ink-2); }
.woocommerce-tabs .panel h2 { font-family: var(--disp); font-size: 24px; letter-spacing: -0.025em; color: var(--ink); margin: 0 0 14px; }
.woocommerce-tabs table.shop_attributes { width: 100%; border: 0; border-collapse: collapse; font-size: 14px; }
.woocommerce-tabs table.shop_attributes th,
.woocommerce-tabs table.shop_attributes td { padding: 11px 0; border-top: 1px solid var(--line); border-bottom: 0; text-align: left; margin: 0; font-style: normal; }
.woocommerce-tabs table.shop_attributes th { color: var(--ink-3); font-weight: 400; width: 200px; }
.woocommerce-tabs table.shop_attributes td { font-weight: 600; color: var(--ink); }
.woocommerce-tabs table.shop_attributes td p { margin: 0; }

/* Reviews — sit on the page ground, not in white boxes.
   WooCommerce styles these with `.woocommerce #reviews #comments ol.commentlist
   li …` (two IDs) in cool greys (#e4e1e3, #ebe9eb). `body.single-product`
   plus the same two IDs outranks it. */

body.single-product #reviews .woocommerce-Reviews-title,
body.single-product #reviews #comments > h2 {
  font-family: var(--disp); font-size: 24px; font-weight: 800; letter-spacing: -0.025em;
  color: var(--ink); margin: 0 0 8px;
}
body.single-product #reviews #comments ol.commentlist {
  list-style: none; margin: 0; padding: 0; display: block; border-top: 1px solid var(--line);
}
body.single-product #reviews #comments ol.commentlist li.review,
body.single-product #reviews #comments ol.commentlist li {
  position: static; background: transparent; border: 0; border-bottom: 1px solid var(--line);
  margin: 0; padding: 22px 0;
}
body.single-product #reviews #comments ol.commentlist li .comment_container {
  display: flex; gap: 14px; align-items: flex-start;
  border: 0; border-radius: 0; padding: 0; background: transparent;
}
body.single-product #reviews #comments ol.commentlist li img.avatar { display: none; }
body.single-product #reviews #comments ol.commentlist li .pot-avatar {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 999px;
  background: var(--sunk); border: 1px solid var(--line-2); color: var(--ink-2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--disp); font-size: 15px; font-weight: 800; letter-spacing: -0.01em;
}
body.single-product #reviews #comments ol.commentlist li .comment-text {
  margin: 0; border: 0; border-radius: 0; padding: 0; background: transparent;
  flex-grow: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px;
}
body.single-product #reviews #comments ol.commentlist li .comment-text p.meta {
  order: -1; margin: 0; font-size: 13px; color: var(--ink-3); display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
}
body.single-product #reviews #comments ol.commentlist li .comment-text p.meta strong { font-size: 14px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
body.single-product #reviews #comments ol.commentlist li .comment-text p.meta .woocommerce-review__dash { display: none; }
body.single-product #reviews #comments ol.commentlist li .comment-text .description { font-size: 15px; line-height: 1.65; color: var(--ink-2); }
body.single-product #reviews #comments ol.commentlist li .comment-text .description p { margin: 0 0 8px; }
body.single-product #reviews #comments ol.commentlist li .comment-text .description img {
  width: 72px; height: 72px; max-height: none; object-fit: cover; border-radius: 5px;
  border: 1px solid var(--line-2); margin: 6px 6px 0 0; background: var(--sunk);
}

/* Stars — WooCommerce draws them with its own icon font; recolour both layers. */
body.single-product #reviews .star-rating,
body.single-product .woocommerce-product-rating .star-rating { font-size: 13px; width: 5.4em; margin: 0; float: none; }
body.single-product #reviews .star-rating::before,
body.single-product .woocommerce-product-rating .star-rating::before { color: var(--line-2); }
body.single-product #reviews .star-rating span::before,
body.single-product .woocommerce-product-rating .star-rating span::before { color: var(--acc); }

/* "Add a review" form stars and labels */
body.single-product #review_form #respond p.stars a { color: var(--acc); }
body.single-product #review_form #respond p.stars a:hover ~ a { color: var(--line-2); }
body.single-product #review_form_wrapper { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 26px; }
body.single-product #review_form #reply-title { font-family: var(--disp); font-size: 20px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); display: block; margin-bottom: 12px; }
body.single-product .woocommerce-noreviews { color: var(--ink-3); }

body.single-product #reviews .pot-more-reviews {
  margin: 22px 0 0; height: 52px; padding: 0 24px; border: 1.5px solid var(--ink); border-radius: 4px;
  background: transparent; color: var(--ink); font-family: var(--text); font-size: 14px; font-weight: 700; cursor: pointer;
}
body.single-product #reviews .pot-more-reviews:hover { background: var(--ink); color: var(--bg); }
body.single-product #reviews #comments ol.commentlist li[hidden] { display: none; }

/* Review pagination, if reviews are paged */
body.single-product #reviews .woocommerce-pagination { padding: 22px 0 0; }
#reviews .comment-form label { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); display: block; padding-bottom: 7px; }
#reviews .comment-form input[type="text"],
#reviews .comment-form input[type="email"],
#reviews .comment-form textarea { width: 100%; border: 1.5px solid var(--line-2); border-radius: 4px; padding: 14px 15px; font-size: 15px; font-family: inherit; background: var(--bg); color: var(--ink); }
#reviews .comment-form .submit { height: 56px; padding: 0 30px; background: var(--ink); color: var(--bg); border: 0; border-radius: 4px; font-size: 15px; font-weight: 700; cursor: pointer; font-family: inherit; }

.upsells.products, .related.products { padding-top: 74px; max-width: var(--maxw); margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut); }
.upsells.products > h2, .related.products > h2 { font-family: var(--disp); font-size: 32px; font-weight: 800; letter-spacing: -0.03em; margin: 0 0 26px; }

/* ------------------------------------------------------ cart + account */

.woocommerce-cart .pot-main,
.woocommerce-checkout .pot-main,
.woocommerce-account .pot-main { max-width: var(--maxw); margin: 0 auto; padding: 48px var(--gut) 0; }
.woocommerce-cart .entry-title,
.woocommerce-checkout .entry-title,
.woocommerce-account .entry-title { font-family: var(--disp); font-size: 54px; font-weight: 800; letter-spacing: -0.035em; line-height: 1; margin: 0 0 30px; }

.woocommerce table.shop_table { border: 0; border-collapse: collapse; width: 100%; border-radius: 0; margin: 0; }
.woocommerce table.shop_table th { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); padding: 0 0 14px; border: 0; text-align: left; }
.woocommerce table.shop_table td { padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 0; vertical-align: middle; }
.woocommerce table.cart img { width: 96px; height: 96px; object-fit: cover; border-radius: 5px; background: var(--sunk); }
.woocommerce table.cart .product-name a { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.woocommerce table.cart .variation { font-size: 13px; color: var(--ink-3); margin: 6px 0 0; }
.woocommerce table.cart .variation dt, .woocommerce table.cart .variation dd { display: inline; margin: 0; }
.woocommerce table.cart .variation dd p { display: inline; margin: 0; }
.woocommerce table.cart .product-subtotal { font-family: var(--disp); font-size: 22px; font-weight: 800; letter-spacing: -0.025em; text-align: right; }
.woocommerce table.cart td.actions { padding-top: 26px; }
.woocommerce .quantity input.qty { height: 46px; width: 72px; border: 1.5px solid var(--ink); border-radius: 4px; text-align: center; font-size: 16px; font-weight: 700; background: var(--bg); color: var(--ink); font-variant-numeric: tabular-nums; }
.woocommerce a.remove { color: var(--ink-3); font-size: 20px; line-height: 1; }
.woocommerce a.remove:hover { color: var(--acc); background: transparent; }

.woocommerce .cart-collaterals { width: 100%; }
.woocommerce .cart_totals { width: 100%; float: none; }
.woocommerce .cart_totals > h2 { font-family: var(--disp); font-size: 22px; font-weight: 800; letter-spacing: -0.025em; margin: 0 0 20px; }
.woocommerce .cart_totals table { border: 0; }
.woocommerce .cart_totals table th { width: auto; color: var(--ink-2); font-size: 15px; font-weight: 400; text-transform: none; letter-spacing: 0; padding: 12px 0; border-top: 1px solid var(--line); }
.woocommerce .cart_totals table td { text-align: right; font-weight: 600; padding: 12px 0; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.woocommerce .cart_totals .order-total th,
.woocommerce .cart_totals .order-total td { border-top: 1.5px solid var(--ink); padding-top: 18px; }
.woocommerce .cart_totals .order-total th { font-family: var(--disp); font-size: 19px; font-weight: 800; }
.woocommerce .cart_totals .order-total td { font-family: var(--disp); font-size: 30px; font-weight: 800; letter-spacing: -0.03em; }

.woocommerce #coupon_code { height: 48px; padding: 0 14px; border: 1.5px solid var(--line-2); border-radius: 4px; font-size: 14px; width: 180px; background: var(--bg); color: var(--ink); }

.woocommerce .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  background: var(--ink); color: var(--bg); border: 0; border-radius: 4px;
  height: 52px; padding: 0 26px; font-size: 14px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: inherit; line-height: 1; text-transform: none; cursor: pointer;
}
.woocommerce .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover { background: var(--acc); color: var(--bg); }
.woocommerce .button.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce .checkout-button { background: var(--acc); color: var(--bg); height: 60px; font-size: 16px; }
.woocommerce .button.alt:hover,
.woocommerce .checkout-button:hover { background: var(--acc-dark); }
.woocommerce .checkout-button { width: 100%; margin-top: 20px; }

/* ------------------------------------------------------ order received */

/* Same page as checkout (Woo adds both body classes), so .pot-main / .entry-title
   width and type scale already apply — this covers just the thank-you content. */

.woocommerce-order {
  max-width: 720px; margin: 0 auto 80px;
}
.woocommerce-order > .woocommerce-notice,
.woocommerce-order > .woocommerce-thankyou-order-received {
  display: flex; align-items: center; gap: 14px;
  background: var(--sunk); border: 1.5px solid var(--ink);
  border-radius: 6px; padding: 22px 26px; margin: 0 0 30px;
  font-size: 17px; font-weight: 600; line-height: 1.4; color: var(--ink);
}
.woocommerce-order > .woocommerce-notice::before,
.woocommerce-order > .woocommerce-thankyou-order-received::before {
  content: ""; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  background: var(--acc);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/16px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/16px no-repeat;
}

ul.woocommerce-order-overview {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 22px; list-style: none; margin: 0 0 40px; padding: 24px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
ul.woocommerce-order-overview li {
  margin: 0; font-size: 13px; font-weight: 600; color: var(--ink-3);
  text-transform: uppercase; letter-spacing: 0.08em;
}
ul.woocommerce-order-overview li strong {
  display: block; font-family: var(--disp); font-size: 19px; font-weight: 800;
  letter-spacing: -0.02em; margin-top: 4px;
}

.woocommerce-order-details__title,
.woocommerce-column__title {
  font-family: var(--disp); font-size: 22px; font-weight: 800;
  letter-spacing: -0.025em; margin: 0 0 20px;
}
.woocommerce-order-details { margin: 0 0 44px; }
.woocommerce-order-details table.shop_table tfoot th { font-weight: 600; color: var(--ink-2); text-transform: none; letter-spacing: 0; font-size: 15px; padding: 12px 0; }
.woocommerce-order-details table.shop_table tfoot td { padding: 12px 0; font-weight: 700; }
.woocommerce-order-details table.shop_table tfoot tr:last-child th,
.woocommerce-order-details table.shop_table tfoot tr:last-child td { border-top: 1.5px solid var(--ink); padding-top: 18px; font-family: var(--disp); font-size: 20px; font-weight: 800; }

.woocommerce-customer-details { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 36px; }
.woocommerce-customer-details address {
  font-style: normal; font-size: 15px; line-height: 1.6; color: var(--ink-2);
  border: 1px solid var(--line); border-radius: 6px; padding: 20px 22px;
}
.woocommerce-customer-details p { font-size: 15px; color: var(--ink-2); margin: 8px 0 0; }
.woocommerce-customer-details .woocommerce-column__title + address { margin-top: 0; }

@media (max-width: 600px) {
  ul.woocommerce-order-overview { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .woocommerce-order > .woocommerce-notice,
  .woocommerce-order > .woocommerce-thankyou-order-received { padding: 18px 20px; font-size: 15px; }
}
.woocommerce .button:disabled,
.woocommerce .button.disabled { opacity: 0.45; cursor: not-allowed; }

/* ------------------------------------------------------------ checkout */

.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 60px; align-items: start; }
.woocommerce-checkout form.checkout { display: contents; }
.woocommerce-checkout #customer_details { grid-column: 1; }
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review { grid-column: 2; }
.woocommerce-checkout .col2-set { display: grid; grid-template-columns: minmax(0, 1fr); }
.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 { width: auto; float: none; }
.woocommerce-checkout h3 { font-family: var(--disp); font-size: 22px; font-weight: 800; letter-spacing: -0.025em; margin: 0 0 18px; padding-top: 26px; }
.woocommerce-checkout #order_review_heading { font-family: var(--disp); font-size: 22px; font-weight: 800; letter-spacing: -0.025em; margin: 0 0 18px; padding-top: 0; }

.woocommerce form .form-row { padding: 0 0 14px; margin: 0; }
.woocommerce form .form-row label { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); padding-bottom: 7px; display: block; }
.woocommerce form .form-row label.checkbox { text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 400; color: var(--ink-2); display: flex; align-items: center; gap: 10px; }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce .select2-container .select2-selection--single {
  height: 54px; padding: 0 15px; border: 1.5px solid var(--line-2); border-radius: 4px;
  font-size: 15px; background: var(--bg); color: var(--ink); width: 100%; font-family: inherit;
}
.woocommerce form .form-row textarea { height: auto; padding: 14px 15px; min-height: 110px; }
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row select:focus { outline: none; border-color: var(--ink); }
.woocommerce .select2-container .select2-selection--single .select2-selection__rendered { line-height: 52px; padding: 0; color: var(--ink); }
.woocommerce .select2-container .select2-selection--single .select2-selection__arrow { height: 52px; }
.woocommerce form .form-row-first,
.woocommerce form .form-row-last { width: 48.5%; }
.woocommerce-invalid input.input-text { border-color: var(--acc); }

.woocommerce-checkout #order_review { border: 1.5px solid var(--ink); border-radius: 6px; background: var(--card); padding: 28px; position: sticky; top: 20px; }
.woocommerce-checkout #order_review table.shop_table th,
.woocommerce-checkout #order_review table.shop_table td { padding: 12px 0; font-size: 14px; }
.woocommerce-checkout #order_review .order-total th,
.woocommerce-checkout #order_review .order-total td { border-top: 1.5px solid var(--ink); padding-top: 18px; }
.woocommerce-checkout #order_review .order-total td { font-family: var(--disp); font-size: 28px; font-weight: 800; letter-spacing: -0.03em; }
.woocommerce-checkout ul.wc_payment_methods { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-direction: column; gap: 10px; border: 0; }
.woocommerce-checkout ul.wc_payment_methods li { border: 1.5px solid var(--line-2); border-radius: 5px; padding: 16px 18px; margin: 0; }
.woocommerce-checkout ul.wc_payment_methods li label { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); display: inline; text-transform: none; padding: 0; }
.woocommerce-checkout ul.wc_payment_methods li input[type="radio"] { accent-color: var(--acc); width: 18px; height: 18px; margin-right: 10px; }
.woocommerce-checkout .payment_box { background: var(--sunk); border-radius: 5px; margin-top: 14px; font-size: 14px; color: var(--ink-2); }
.woocommerce-checkout .payment_box::before { display: none; }
.woocommerce-checkout #place_order { width: 100%; height: 64px; font-size: 17px; background: var(--acc); }
.woocommerce-checkout #place_order:hover { background: var(--acc-dark); }
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper { font-size: 13px; color: var(--ink-3); padding-bottom: 14px; }

ul#shipping_method { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
ul#shipping_method li { margin: 0; padding: 0; font-size: 14px; }
ul#shipping_method input[type="radio"] { accent-color: var(--acc); }

/* ------------------------------------------------------------ notices */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  background: var(--sunk); border: 1px solid var(--line-2); border-top: 3px solid var(--acc);
  border-radius: 5px; padding: 18px 22px; margin: 0 0 24px; color: var(--ink-2); font-size: 14px;
  list-style: none;
}
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before { display: none; }
.woocommerce-message .button { height: 42px; padding: 0 18px; font-size: 13px; margin-left: 14px; }

.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0 0 28px; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.woocommerce-account .woocommerce-MyAccount-navigation a { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border: 1.5px solid var(--line-2); border-radius: 999px; font-size: 13px; font-weight: 600; }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { background: var(--ink); border-color: var(--ink); color: var(--bg); }

.pot-pagination, .woocommerce-pagination { padding: 40px 0 0; }
.woocommerce-pagination ul { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0; border: 0; }
.woocommerce-pagination ul li { border: 0; margin: 0; }
.woocommerce-pagination a, .woocommerce-pagination span.current,
.pot-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; height: 44px; padding: 0 12px; border: 1.5px solid var(--line-2);
  border-radius: 4px; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums;
}
.woocommerce-pagination span.current, .pot-pagination .page-numbers.current { background: var(--ink); border-color: var(--ink); color: var(--bg); }

/* ------------------------------------------------------------ makers
   The shop is many makers under one roof. These components carry that —
   and replace the discount-led pieces of the first design. */

.badge-sale {
  background: var(--bg); color: var(--ink); border: 1px solid var(--ink);
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; padding: 5px 9px;
}
.gal-badge {
  background: var(--bg); color: var(--ink); border: 1px solid var(--ink);
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
}

.kicker-maker { color: var(--ink-2); }
.kicker-link { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.kicker-link:hover { color: var(--acc); }

.makers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.maker-card {
  border: 1px solid var(--line-2); border-radius: 6px; background: var(--card);
  display: flex; gap: 18px; padding: 20px; color: var(--ink); align-items: flex-start;
}
.maker-card:hover { border-color: var(--ink); color: var(--ink); }
.maker-card:hover .maker-name { color: var(--acc); }
.maker-card-img { width: 72px; height: 72px; flex-shrink: 0; border-radius: 999px; overflow: hidden; background: var(--sunk); display: flex; align-items: center; justify-content: center; }
.maker-card-img img { width: 100%; height: 100%; object-fit: cover; }
.maker-initial { font-family: var(--disp); font-size: 28px; font-weight: 800; color: var(--ink-3); }
.maker-card-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.maker-card-body p { margin: 0; font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.maker-name { font-size: 17px; font-weight: 700; letter-spacing: -0.018em; }

.maker-block {
  display: flex; gap: 16px; align-items: flex-start;
  border: 1px solid var(--line-2); border-radius: 6px; background: var(--sunk); padding: 18px 20px;
}
.maker-img { width: 56px; height: 56px; flex-shrink: 0; border-radius: 999px; overflow: hidden; background: var(--card); }
.maker-img:empty { display: none; }
.maker-img img { width: 100%; height: 100%; object-fit: cover; }
.maker-copy { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.maker-copy .maker-name { color: var(--ink); }
.maker-copy p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.maker-copy .link-acc { font-size: 13px; padding-top: 2px; }

.cat { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 16px; min-height: 120px; }
.cat-arrow { font-size: 20px; color: var(--ink-3); }
.cat:hover .cat-arrow { color: var(--bg); }

.promise { border-top: 1px solid var(--line); padding: 56px 0 74px; }
.promise-head { padding-bottom: 36px; }
.promise-head h2 { margin: 14px 0 0; font-family: var(--disp); font-size: 42px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; max-width: 640px; }
.promise-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.promise-n { font-family: var(--disp); font-size: 14px; font-weight: 800; color: var(--acc); padding-bottom: 12px; }
.promise-cols h3 { margin: 0 0 10px; font-size: 19px; font-weight: 700; letter-spacing: -0.02em; }
.promise-cols p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--ink-2); }

/* ------------------------------------------------ product page, v1.2 */

/* Smaller gallery: 660px → 500px. The buy column takes the space back. */
.woocommerce #content div.product.pdp,
.woocommerce div.product.pdp {
  grid-template-columns: minmax(0, 500px) minmax(0, 1fr);
  gap: 64px;
}
.woocommerce #content div.product.pdp .pdp-gallery .flex-control-thumbs li,
.woocommerce div.product.pdp .pdp-gallery .flex-control-thumbs li { width: calc((100% - 36px) / 4); }

/* Option price — shown in the big price at the top (see pot.js), so the
   duplicate price WooCommerce inserts under the swatches is hidden. */
.woocommerce #content div.product.pdp .woocommerce-variation-price,
.woocommerce div.product.pdp .woocommerce-variation-price { display: none; }

.pdp-buy .buy-price.is-changing { animation: pot-price-in 0.32s ease-out; }
@keyframes pot-price-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

/* WooCommerce paints price and stock text olive (#958e09). Theme colours
   instead, with a small status dot for stock. */
.woocommerce #content div.product.pdp span.price,
.woocommerce #content div.product.pdp p.price,
.woocommerce div.product.pdp span.price,
.woocommerce div.product.pdp p.price { color: var(--ink); }

.woocommerce #content div.product.pdp .stock,
.woocommerce div.product.pdp .stock {
  display: inline-flex; align-items: center; gap: 8px; margin: 2px 0 12px;
  font-size: 13px; font-weight: 600; color: var(--ink-2);
}
.woocommerce #content div.product.pdp .stock::before,
.woocommerce div.product.pdp .stock::before {
  content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--ok);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 18%, transparent);
}
.woocommerce #content div.product.pdp .stock.out-of-stock,
.woocommerce div.product.pdp .stock.out-of-stock { color: var(--acc); }
.woocommerce #content div.product.pdp .stock.out-of-stock::before,
.woocommerce div.product.pdp .stock.out-of-stock::before { background: var(--acc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--acc) 18%, transparent); }
.woocommerce div.product.pdp .woocommerce-variation-description p { margin: 0 0 10px; font-size: 14px; color: var(--ink-2); }

/* ---- buy banner (under Add to cart) ---- */

.pot-banner {
  border: 1px solid var(--line-2); border-radius: 8px; background: var(--card);
  overflow: hidden; margin-top: 4px;
}
.pot-banner-ship,
.pot-banner-eta {
  display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px;
}
.pot-banner-eta { border-top: 1px solid var(--line); }
.pot-banner-ico {
  width: 38px; height: 38px; flex-shrink: 0; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  background: var(--sunk); color: var(--ink);
  transition: background-color 0.3s ease, color 0.3s ease;
}
.pot-banner-ship-body { flex-grow: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; padding-top: 1px; }
.pot-banner-msg { font-size: 14px; line-height: 1.4; color: var(--ink-2); }
.pot-banner-msg strong { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.pot-banner-msg .woocommerce-Price-amount { font-weight: 700; color: var(--ink); }
.pot-banner-sub { font-size: 12px; color: var(--ink-3); padding-top: 3px; }
.pot-banner-eta .pot-banner-msg strong { display: block; font-size: 16px; padding-top: 2px; letter-spacing: -0.01em; }

.pot-banner-bar {
  position: relative; height: 6px; border-radius: 999px; background: var(--sunk); overflow: hidden;
}
.pot-banner-bar > i {
  position: relative; display: block; height: 100%; border-radius: 999px; background: var(--acc);
  transition: width 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), background-color 0.3s ease;
  overflow: hidden;
}
/* a slow sheen travels along the bar while there is still a gap to close */
.pot-banner-bar > i::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.45) 50%, transparent 100%);
  transform: translateX(-100%);
  animation: pot-sheen 2.4s ease-in-out infinite;
}
@keyframes pot-sheen { to { transform: translateX(100%); } }

.pot-banner.is-met .pot-banner-bar > i { background: var(--ok); }
.pot-banner.is-met .pot-banner-bar > i::after { animation: none; }
.pot-banner.is-met .pot-banner-ship .pot-banner-ico { background: var(--ok); color: var(--bg); }
.pot-banner.is-met .pot-banner-ship .pot-banner-msg strong { color: var(--ok); }
.pot-banner.just-met .pot-banner-ship .pot-banner-ico { animation: pot-pop 0.5s cubic-bezier(0.3, 1.6, 0.5, 1); }
@keyframes pot-pop { 0% { transform: scale(0.7); } 100% { transform: scale(1); } }

.pot-banner-trust {
  list-style: none; margin: 0; padding: 12px 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px;
  background: var(--sunk); border-top: 1px solid var(--line);
}
.pot-banner-trust li { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: var(--ink-2); min-width: 0; }
.pot-banner-trust li span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pot-banner-trust .pot-i { flex-shrink: 0; color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  .pdp-buy .buy-price.is-changing,
  .pot-banner.just-met .pot-banner-ship .pot-banner-ico { animation: none; }
  .pot-banner-bar > i { transition: none; }
  .pot-banner-bar > i::after { animation: none; display: none; }
}

/* ------------------------------------------- sticky add-to-cart bar */

.pot-sticky-atc {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line-2);
  box-shadow: 0 -10px 30px rgba(23, 20, 15, 0.08);
  transform: translateY(110%);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.pot-sticky-atc.is-visible { transform: translateY(0); }

.pot-sticky-in {
  max-width: var(--maxw); margin: 0 auto; padding: 10px var(--gut);
  display: flex; align-items: center; gap: 16px;
}
.pot-sticky-img { width: 52px; height: 52px; flex-shrink: 0; border-radius: 5px; overflow: hidden; background: var(--sunk); border: 1px solid var(--line); }
.pot-sticky-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.pot-sticky-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex-grow: 1; }
.pot-sticky-name { font-size: 14px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pot-sticky-opt { font-size: 12px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.pot-sticky-price {
  flex-shrink: 0; font-family: var(--disp); font-size: 20px; font-weight: 800; letter-spacing: -0.02em;
  color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap;
}
.pot-sticky-price .woocommerce-Price-amount { font-family: var(--disp); font-weight: 800; }
.pot-sticky-price del { font-size: 13px; color: var(--ink-3); font-weight: 400; }
.pot-sticky-price ins { text-decoration: none; }
.pot-sticky-price .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.pot-sticky-btn {
  flex-shrink: 0; height: 50px; padding: 0 30px; border: 0; border-radius: 4px;
  background: var(--acc); color: var(--bg); font-family: var(--text); font-size: 15px; font-weight: 700;
  cursor: pointer; white-space: nowrap;
  transition: background-color 0.18s ease, transform 0.1s ease;
}
.pot-sticky-btn:hover { background: var(--acc-dark); }
.pot-sticky-btn:active { transform: translateY(1px); }
.pot-sticky-btn.is-choose { background: var(--ink); }
.pot-sticky-btn.is-choose:hover { background: var(--acc); }
.pot-sticky-btn.is-busy { opacity: 0.7; cursor: progress; }

/* keep page content and the added-to-cart toast clear of the bar */
body.pot-sticky-on { padding-bottom: 74px; }
body.pot-sticky-on .toast { bottom: 94px; }

/* the "focused" moment: options pulse when the bar sends the shopper there */
.pdp-buy .variations.is-attention,
.pdp-buy form.cart.is-attention {
  border-radius: 6px;
  animation: pot-attention 1.8s ease-out;
}
@keyframes pot-attention {
  0%   { box-shadow: 0 0 0 0 color-mix(in srgb, var(--acc) 55%, transparent); background-color: color-mix(in srgb, var(--acc) 8%, transparent); }
  35%  { box-shadow: 0 0 0 8px color-mix(in srgb, var(--acc) 0%, transparent); background-color: color-mix(in srgb, var(--acc) 8%, transparent); }
  100% { box-shadow: 0 0 0 0 transparent; background-color: transparent; }
}

@media (prefers-reduced-motion: reduce) {
  .pot-sticky-atc { transition: none; }
  .pdp-buy .variations.is-attention, .pdp-buy form.cart.is-attention { animation: none; outline: 2px solid var(--acc); outline-offset: 4px; }
}

/* ------------------------------------------------ home hero rotator */

.hero-rotator { position: relative; overflow: hidden; }
.hero-rotator .hero-slides { position: absolute; inset: 0; }

.hero-slide {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: var(--ink); text-decoration: none;
  opacity: 0; visibility: hidden;
  transition: opacity 0.7s ease, visibility 0s linear 0.7s;
}
.hero-slide.is-active { opacity: 1; visibility: visible; z-index: 1; transition: opacity 0.7s ease, visibility 0s; }
.hero-slide:hover { color: var(--ink); }

.hero-slide-img { display: block; }
.hero-slide-img img {
  width: 420px; height: 420px; object-fit: cover; border-radius: 6px; display: block;
  transform: scale(0.96); transition: transform 3.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.hero-slide.is-active .hero-slide-img img { transform: scale(1); }

.hero-slide .shot-card {
  transform: translateY(10px); opacity: 0;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) 0.15s, opacity 0.5s ease 0.15s;
}
.hero-slide.is-active .shot-card { transform: none; opacity: 1; }
.hero-slide .shot-card-t > span { display: block; }
.hero-slide .shot-card-t .kicker { padding-bottom: 5px; }
.hero-slide .shot-card-t .name { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.hero-slide:hover .shot-card { border-color: var(--acc); }

/* controls */
.hero-controls {
  position: absolute; top: 20px; right: 22px; z-index: 3;
  display: flex; align-items: center; gap: 8px;
  padding: 5px 8px 5px 5px; border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.hero-pause {
  width: 28px; height: 28px; border-radius: 999px; border: 0; padding: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--ink); color: var(--bg); cursor: pointer;
}
.hero-pause svg { fill: currentColor; }
.hero-pause .i-play { display: none; }
.hero-rotator.user-paused .hero-pause .i-pause { display: none; }
.hero-rotator.user-paused .hero-pause .i-play { display: block; }
.hero-pause:hover { background: var(--acc); }

.hero-dots { display: flex; align-items: center; gap: 2px; }
.hero-dot {
  width: 22px; height: 28px; border: 0; padding: 0; background: transparent; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.hero-dot i {
  position: relative; display: block; width: 6px; height: 6px; border-radius: 999px;
  background: var(--line-2); overflow: hidden; transition: width 0.3s ease, background-color 0.3s ease;
}
.hero-dot:hover i { background: var(--ink-3); }
.hero-dot.is-active { width: 34px; }
.hero-dot.is-active i { width: 26px; background: var(--line-2); }
/* progress fill: runs for one interval while the rotator is advancing */
.hero-dot.is-active i::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: var(--ink); transform-origin: left center; transform: scaleX(1);
}
.hero-rotator.is-ticking .hero-dot.is-active i::after {
  animation: pot-hero-fill var(--hero-interval, 3000ms) linear forwards;
}
@keyframes pot-hero-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (prefers-reduced-motion: reduce) {
  .hero-slide, .hero-slide .shot-card, .hero-slide-img img { transition: none; }
  .hero-slide-img img, .hero-slide .shot-card { transform: none; }
  .hero-rotator.is-ticking .hero-dot.is-active i::after { animation: none; }
}

/* ------------------------------------------------------- responsive */

@media (max-width: 480px) {
  .pot-sticky-info { display: none; }
  /* The price text has no intrinsic upper bound (a price range like
     "$16.65 – $19.17" can run long) and was pushing the button partly off
     narrow screens with no way to tap its edge. min-width:0 lets a flex
     item shrink below its content size so it can truncate instead; the
     button gets flex-shrink:0 so it's always fully visible and tappable. */
  .pot-sticky-price { min-width: 0; flex-shrink: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .pot-sticky-btn { flex-grow: 1; flex-shrink: 0; }
}

@media (max-width: 360px) {
  .pot-sticky-in { gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px)); }
  .pot-sticky-img { width: 36px; height: 36px; }
  .pot-sticky-price { font-size: 15px; }
  .pot-sticky-btn { padding: 0 14px; font-size: 13px; }
}

@media (max-width: 1180px) {
  .pdp { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
  .woocommerce #content div.product.pdp,
  .woocommerce div.product.pdp { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 40px; }
  .woocommerce-checkout:not(.woocommerce-order-received) .woocommerce { grid-template-columns: minmax(0, 1fr) 360px; gap: 36px; }
}

@media (max-width: 900px) {
  /* sticky bar on phones: price + button, everything else trimmed */
  .pot-sticky-in { gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); }
  .pot-sticky-img { width: 44px; height: 44px; }
  .pot-sticky-name { font-size: 13px; }
  .pot-sticky-price { font-size: 17px; }
  .pot-sticky-btn { height: 48px; padding: 0 18px; font-size: 14px; }
  body.pot-sticky-on { padding-bottom: 70px; }
  body.pot-sticky-on .toast { bottom: 84px; }

  /* Slides are absolutely positioned, so the rotator needs its own height. */
  .hero-shot.hero-rotator { min-height: 0; height: 420px; }
  .hero-slide-img { position: absolute; inset: 0; }
  .hero-slide-img img { width: 100%; height: 100%; border-radius: 0; }
  .hero-controls { top: 12px; right: 12px; }
  .woocommerce #content div.product.pdp,
  .woocommerce div.product.pdp { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .woocommerce #content div.product.pdp .pdp-gallery,
  .woocommerce div.product.pdp .pdp-gallery { max-width: 460px; width: 100%; margin: 0 auto; }
  .pot-banner-trust { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .makers { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .promise { padding: 36px 0 40px; }
  .promise-head h2 { font-size: 28px; }
  .promise-cols { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .cat { min-height: 84px; }
  ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .pdp { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .pdp-gallery .flex-control-thumbs li { width: 64px; }
  .pdp-buy .product_title { font-size: 30px; }
  .buy-price .price ins,
  .buy-price .price > .woocommerce-Price-amount { font-size: 36px; }
  .woocommerce-cart .entry-title,
  .woocommerce-checkout .entry-title,
  .woocommerce-account .entry-title { font-size: 36px; }
  .woocommerce-checkout:not(.woocommerce-order-received) .woocommerce { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .woocommerce-checkout #customer_details,
  .woocommerce-checkout #order_review_heading,
  .woocommerce-checkout #order_review { grid-column: 1; }
  .woocommerce-checkout #order_review { position: static; padding: 20px; }
  .woocommerce form .form-row-first,
  .woocommerce form .form-row-last { width: 100%; }
  .woocommerce table.shop_table thead { display: none; }
  .woocommerce table.shop_table tr { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 4px 14px; border-top: 1px solid var(--line); padding: 18px 0; }
  .woocommerce table.shop_table td { border: 0; padding: 0; }
  .woocommerce table.shop_table td.product-thumbnail { grid-column: 1; grid-row: 1 / span 5; }
  .woocommerce table.shop_table td.product-name,
  .woocommerce table.shop_table td.product-price,
  .woocommerce table.shop_table td.product-quantity,
  .woocommerce table.shop_table td.product-subtotal,
  .woocommerce table.shop_table td.product-remove { grid-column: 2; }
  .woocommerce table.shop_table td.product-subtotal { text-align: left; }
  .woocommerce table.shop_table td.actions { grid-column: 1 / -1; }
  .woocommerce table.shop_table td.product-price::before,
  .woocommerce table.shop_table td.product-quantity::before,
  .woocommerce table.shop_table td.product-subtotal::before { content: attr(data-title) ": "; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
  .woocommerce-tabs ul.tabs li a { padding: 14px 12px; font-size: 15px; }
  .upsells.products, .related.products { padding-top: 34px; }
}

/* --------------------------------------------- variation swatch loading */

/* AliDropship's swatch widget inserts each option's <img> via JS after the
   page renders, using the attachment's full-size original rather than a
   thumbnail — on products with many options (a dozen+ scents/colors) that
   can take a couple of seconds, during which the box is flat empty and
   reads as broken rather than loading. A shimmer background shows through
   until the image paints over it, then is covered and irrelevant. */
.meta-item-img.sku-set {
  background-image: linear-gradient(100deg, var(--sunk) 30%, var(--line) 50%, var(--sunk) 70%);
  background-size: 200% 100%;
  animation: pot-swatch-shimmer 1.4s ease-in-out infinite;
}
@keyframes pot-swatch-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .meta-item-img.sku-set { animation: none; }
}

/* Caption under each swatch image (pot-wheel.js swatchLabels()) — near-neutral
   tones (three shades of grey, say) are indistinguishable as tiny thumbnails,
   and the widget otherwise only exposes the option name as an img alt/title,
   invisible until hover. */
.meta-item-img.sku-set { position: relative; display: inline-block; }
.pot-swatch-label {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 3px 4px 2px; background: rgba(23, 20, 15, 0.72); color: #fff;
  font-size: 9.5px; font-weight: 600; letter-spacing: 0.02em; line-height: 1.2;
  text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  pointer-events: none;
}
