/*
Theme Name:   Store Child
Theme URI:    https://git.nangoen.com/nangoen/wp-store-template
Description:  Per-store child theme for Blocksy. Design tokens live in theme.json, page sections in patterns/. Keep this file small: brand differences belong in theme.json, structural CSS belongs here.
Author:       nangoen
Template:     blocksy
Version:      0.6.23
Requires at least: 6.5
Requires PHP: 8.1
Text Domain:  store-child
*/

/* ------------------------------------------------------------------
   Typography: Blocksy leaves fonts on "System Default"; the child theme
   binds body/headings to the theme.json font presets so a store changes
   fonts by editing theme.json only.
   ------------------------------------------------------------------ */
body {
  font-family: var(--wp--preset--font-family--body);
}

h1, h2, h3, h4, h5, h6,
.wp-block-post-title,
.entry-title {
  font-family: var(--wp--preset--font-family--heading);
  letter-spacing: -0.01em;
}

/* ------------------------------------------------------------------
   Section helpers used by the patterns
   ------------------------------------------------------------------ */
.store-eyebrow {
  font-size: var(--wp--preset--font-size--small);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wp--preset--color--accent);
}

.store-stars {
  color: var(--wp--preset--color--accent);
  letter-spacing: 0.1em;
  font-size: var(--wp--preset--font-size--medium);
}

.store-card {
  background: var(--wp--preset--color--base);
  border: 1px solid var(--wp--preset--color--border);
  border-radius: var(--wp--custom--radius--card);
  height: 100%;
}

/* Full-bleed covers (hero) must not inherit the image radius from theme.json */
.wp-block-cover.alignfull {
  border-radius: 0;
}

/* Collection tiles: cover blocks that zoom slightly on hover; the whole tile is a link (overlay anchor) */
.store-tile {
  border-radius: var(--wp--custom--radius--card);
  overflow: hidden;
  position: relative;
}
.store-tile__link {
  position: absolute;
  inset: 0;
  z-index: 2;
}
.store-tile .wp-block-cover__inner-container {
  position: relative;
  z-index: 3;
  pointer-events: none;
}
.store-tile .wp-block-cover__inner-container a {
  pointer-events: auto;
}
.store-tile .wp-block-cover__image-background,
.store-tile .wp-block-cover__background {
  transition: transform .5s ease;
}
.store-tile:hover .wp-block-cover__image-background {
  transform: scale(1.04);
}

/* Value props / trust badges: quiet, evenly spaced */
.store-badges .wp-block-column {
  text-align: center;
}
.store-badges p {
  margin: 0;
}
.store-badges .store-badge-title {
  font-weight: 600;
  color: var(--wp--preset--color--ink);
}

/* FAQ (core/details) */
.store-faq .wp-block-details {
  border-bottom: 1px solid var(--wp--preset--color--border);
  padding: var(--wp--preset--spacing--30) 0;
}
.store-faq .wp-block-details summary {
  font-weight: 600;
  color: var(--wp--preset--color--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.store-faq .wp-block-details summary::-webkit-details-marker { display: none; }
.store-faq .wp-block-details summary::after {
  content: "+";
  font-size: 1.4em;
  line-height: 1;
  color: var(--wp--preset--color--body);
  transition: transform .2s ease;
}
.store-faq .wp-block-details[open] summary::after {
  transform: rotate(45deg);
}
.store-faq .wp-block-details > :not(summary) {
  margin-top: var(--wp--preset--spacing--20);
}

/* Carousel rows. Featured products set their own column counts below. */
.store-carousel {
  position: relative;
}
.store-carousel .store-carousel__track ul.wc-block-grid__products,
.store-carousel--media .store-carousel__track {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}
.store-carousel .store-carousel__track ul.wc-block-grid__products::-webkit-scrollbar,
.store-carousel--media .store-carousel__track::-webkit-scrollbar {
  display: none;
}
.store-carousel--products .store-carousel__track ul.wc-block-grid__products > li {
  flex: 0 0 calc((100% - 3 * 16px) / 4) !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  scroll-snap-align: start;
}
@media (max-width: 1023px) {
  .store-carousel--products .store-carousel__track ul.wc-block-grid__products {
    gap: 12px;
  }
  .store-carousel--products .store-carousel__track ul.wc-block-grid__products > li {
    flex: 0 0 calc((100% - 2 * 12px) / 3) !important;
  }
}
@media (max-width: 767px) {
  .store-carousel--products .store-carousel__track ul.wc-block-grid__products {
    display: grid !important;
    grid-template-rows: auto auto !important;
    grid-template-columns: none !important;
    grid-auto-flow: column !important;
    grid-auto-columns: calc((100% - 8px) / 2) !important;
    gap: 8px;
  }
  .store-carousel--products .store-carousel__track ul.wc-block-grid__products > li {
    flex: none !important;
    width: auto !important;
    min-width: 0;
  }
}
.store-carousel__controls {
  margin-top: 12px;
}
.store-carousel__nav {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
.store-carousel__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
}
.store-carousel__dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #cbd5e1;
  cursor: pointer;
}
.store-carousel__dots button.is-active {
  width: 40px;
  background: var(--wp--preset--color--ink);
}
@media (min-width: 1280px) {
  .store-carousel--products .store-carousel__dots {
    display: none;
  }
}
.store-carousel__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--wp--preset--color--border);
  background: var(--wp--preset--color--base);
  color: var(--wp--preset--color--ink);
  line-height: 1;
  cursor: pointer;
  padding: 0;
}
.store-carousel__btn svg {
  display: block;
}
.store-carousel__btn:disabled {
  opacity: .35;
  cursor: default;
}

/* Product cards: square photo, two-line title, price with a round bag button */
.store-carousel--products ul.wc-block-grid__products > li {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--wp--preset--color--base);
  border: 1px solid color-mix(in srgb, var(--wp--preset--color--border) 70%, transparent);
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(15, 23, 32, .05);
  padding: 0 !important;
  overflow: hidden;
}
.store-carousel--products .wc-block-grid__product-image {
  border-radius: 16px 16px 0 0;
  background: var(--wp--preset--color--surface);
  aspect-ratio: 1;
}
.store-carousel--products .wc-block-grid__product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.store-carousel--products .wc-block-grid__product-title,
.store-carousel--products .wc-block-grid__product-title a {
  color: var(--wp--preset--color--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 12px;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5em;
}
.store-carousel--products .wc-block-grid__product-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
.store-carousel--products .wc-block-grid__product-title {
  padding: 16px 16px 0;
}
.store-carousel--products .wc-block-grid__product-price {
  color: var(--wp--preset--color--ink);
  font-size: 12px;
  font-weight: 500;
  margin: 4px 48px 16px 16px;
}
.store-carousel--products .wc-block-grid__product-price del {
  color: var(--wp--preset--color--body);
  font-weight: 400;
  margin-right: 6px;
}
.store-carousel--products .wc-block-grid__product-add-to-cart {
  position: absolute;
  right: 12px;
  bottom: 12px;
  margin: 0;
}
.store-carousel--products .wc-block-grid__product-onsale {
  display: none;
}
.store-carousel--products .wc-block-grid__product-price ins {
  text-decoration: none;
}
.store-carousel--products .wc-block-grid__product-add-to-cart .wp-block-button__link {
  width: 32px !important;
  height: 32px;
  min-height: 32px;
  padding: 0 !important;
  border-radius: 999px;
  font-size: 0;
  line-height: 0;
  color: transparent;
  background-color: var(--wp--preset--color--brand);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4Z'/%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M16 10a4 4 0 0 1-8 0'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
@media (min-width: 768px) {
  .store-carousel--products .wc-block-grid__product-price {
    font-size: 14px;
  }
}
@media (min-width: 1280px) {
  .store-carousel--products .wc-block-grid__product-title,
  .store-carousel--products .wc-block-grid__product-title a {
    font-size: 14px;
  }
  .store-carousel--products .wc-block-grid__product-price {
    font-size: 16px;
  }
}

/* Technology cards: image on top, text below */
.store-tech .store-card {
  overflow: hidden;
}
.store-tech .store-card .wp-block-image {
  margin: 0;
}
.store-tech .store-card .wp-block-image img {
  border-radius: 0;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.store-tech .store-card > :not(.wp-block-image) {
  padding-left: var(--wp--preset--spacing--30);
  padding-right: var(--wp--preset--spacing--30);
}
.store-tech .store-card > :last-child {
  padding-bottom: var(--wp--preset--spacing--30);
}

/* Ambassadors: portrait tiles */
.store-people .wp-block-image img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  width: 100%;
}

/* Catalog banners replace Blocksy's page-title hero. The count / sort / filter bar is omitted. */
.tax-product_cat .hero-section,
.post-type-archive-product .hero-section,
.tax-product_cat .woo-listing-top,
.post-type-archive-product .woo-listing-top {
  display: none !important;
}
.store-catalog-hero {
  position: relative;
  width: 100%;
  margin: 0 0 20px;
  min-height: 200px;
  padding: 40px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #f4f6f8 center / cover no-repeat;
  box-sizing: border-box;
}
.store-catalog-hero__title {
  margin: 0;
  color: #0f172a;
  font-size: 30px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
}
.store-catalog-hero--all {
  justify-content: flex-start;
  min-height: 320px;
  padding: 40px 24px;
  text-align: left;
  background-color: #f5f5f7;
  background-image: none;
  overflow: hidden;
}
.store-catalog-hero--all::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--store-hero) center / cover no-repeat;
  opacity: .2;
  pointer-events: none;
}
.store-catalog-hero--all .store-catalog-hero__copy {
  position: relative;
  z-index: 1;
}
.store-catalog-hero__copy { max-width: 68%; }
.store-catalog-hero--all .store-catalog-hero__title {
  font-size: 36px !important;
  font-weight: 700 !important;
  line-height: 0.96 !important;
  letter-spacing: -0.04em !important;
}
.store-catalog-hero__lead {
  margin: 20px 0 0;
  color: rgba(15, 23, 42, .75);
  font-size: 14px;
  line-height: 24px;
}
.store-catalog-hero__badge {
  display: inline-flex;
  align-items: center;
  margin: 28px 0 0;
  padding: 8px 16px;
  border: 1px solid rgba(226, 232, 240, .7);
  border-radius: 999px;
  background: rgba(255, 255, 255, .6);
  color: #0f172a;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  backdrop-filter: blur(12px);
}
.store-catalog-setup,
.store-catalog-search {
  width: min(100%, var(--theme-container-width, 88vw));
  max-width: var(--theme-normal-container-max-width, 1290px);
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}
.store-catalog-setup { margin-top: 8px; margin-bottom: 8px; }
.store-catalog-setup__title {
  margin: 0;
  color: #0f172a;
  font-size: 24px;
  font-weight: 600;
  line-height: 30px;
  letter-spacing: -0.025em;
}
.store-catalog-setup__lead {
  margin: 8px 0 0;
  color: #717182;
  font-size: 14px;
  line-height: 24px;
}
.store-catalog-setup__chips {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin-top: 16px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.store-catalog-setup__chips::-webkit-scrollbar { display: none; }
.store-catalog-chip {
  appearance: none;
  cursor: pointer;
  font-family: inherit;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 16px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #fff;
  color: #0f172a;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  text-decoration: none;
}
.store-catalog-chip.is-active {
  border-color: #d6272e;
  color: #d6272e;
}
.post-type-archive-product ul.products:not(.is-filtered) > li.product:not(.is-controller) {
  display: none !important;
}
.post-type-archive-product .woocommerce-pagination {
  display: none;
}
.store-catalog-search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  margin-top: 16px;
  margin-bottom: 20px;
  padding: 0 16px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #fff;
  color: #64748b;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}
.store-catalog-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #0f172a;
  font-size: 14px;
  line-height: 20px;
  outline: none;
}
@media (min-width: 768px) {
  .store-catalog-hero { min-height: 300px; }
  .store-catalog-hero--all { min-height: 360px; padding-left: 40px; }
  .store-catalog-hero--all .store-catalog-hero__title { font-size: 48px !important; }
  .store-catalog-hero__lead { font-size: 16px; line-height: 28px; }
}
@media (min-width: 1280px) {
  .store-catalog-hero { min-height: 380px; }
  .store-catalog-hero--all .store-catalog-hero__title { font-size: 60px !important; }
  .store-catalog-setup__title { font-size: 30px; line-height: 36px; }
}

/* Header logo height (wide wordmark logos need a smaller cap on phones). Blocksy reads this variable. */
header [data-id="logo"] .site-logo-container {
  --logo-max-height: 48px;
}
@media (max-width: 999px) {
  header [data-id="logo"] .site-logo-container { --logo-max-height: 40px; }
}
@media (max-width: 689px) {
  header [data-id="logo"] .site-logo-container { --logo-max-height: 26px; }
}

/* Hero: nearly full viewport like the reference (header ≈ 36px announcement + 68px row), flush under the header */
.home .ct-container-full,
.home .ct-container {
  padding-top: 0 !important;
}
.store-hero.wp-block-cover.alignfull {
  min-height: calc(100svh - 104px) !important;
  padding: var(--wp--preset--spacing--60) var(--wp--preset--spacing--40);
}
@media (max-width: 689px) {
  .store-hero.wp-block-cover.alignfull {
    min-height: calc(100svh - 92px) !important;
  }
}

/* Hero slider: full-width slides, scroll-snap, dots + arrows from carousel.js */
.store-hero-slider {
  position: relative;
}
.store-hero-slider__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.store-hero-slider__track::-webkit-scrollbar {
  display: none;
}
.store-hero-slider__track > .store-hero-slide {
  flex: 0 0 100%;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  scroll-snap-align: start;
}
.store-hero-slider > .store-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, .85);
  border: 0;
}
.store-hero-slider > .store-carousel__btn--prev { left: 24px; }
.store-hero-slider > .store-carousel__btn--next { right: 24px; }
.store-hero-slider__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 5;
}
.store-hero-slider__dots button {
  width: 28px;
  height: 4px;
  border-radius: 2px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, .45);
  cursor: pointer;
}
.store-hero-slider__dots button.is-active {
  background: #fff;
}
@media (max-width: 767px) {
  .store-hero-slider > .store-carousel__btn {
    width: 28px;
    height: 28px;
  }
  .store-hero-slider > .store-carousel__btn--prev { left: 4px; }
  .store-hero-slider > .store-carousel__btn--next { right: 4px; }
}
/* Phones: portrait image (slug <hero>-m) at its own 2:3 ratio, text and button centred at the top like the reference */
.store-hero-slide__mobile {
  display: none;
}
@media (max-width: 767px) {
  .store-hero-slide.has-mobile-image.wp-block-cover.alignfull {
    min-height: 0 !important;
    aspect-ratio: 2660 / 4023;
    padding: 40px 20px 24px !important;
    align-items: flex-start;
  }
  .store-hero-slide.has-mobile-image > .wp-block-cover__image-background {
    display: none;
  }
  .store-hero-slide.has-mobile-image > .store-hero-slide__mobile {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
  }
  .store-hero-slide.has-mobile-image > .wp-block-cover__background {
    background: transparent !important;
  }
  .store-hero-slide .wp-block-cover__inner-container {
    align-self: flex-start;
    text-align: center;
  }
  .store-hero-slide .wp-block-cover__inner-container .wp-block-group {
    justify-content: center;
  }
  .store-hero-slide .wp-block-cover__inner-container > .wp-block-group,
  .store-hero-slide .wp-block-cover__inner-container .wp-block-group {
    max-width: none !important;
    width: 100%;
  }
  .store-hero-slide .wp-block-cover__inner-container h1,
  .store-hero-slide .wp-block-cover__inner-container h2,
  .store-hero-slide .wp-block-cover__inner-container p,
  .store-hero-slide .wp-block-cover__inner-container .wp-block-buttons {
    text-align: center;
  }
  .store-hero-slide .wp-block-cover__inner-container h1,
  .store-hero-slide .wp-block-cover__inner-container h2 {
    font-size: 30px;
    line-height: 36px;
    font-weight: 700;
  }
  .store-hero-slide .wp-block-cover__inner-container p {
    font-size: 14px;
    line-height: 20px;
    opacity: .8;
    margin-top: 12px;
  }
  .store-hero-slide .wp-block-buttons {
    justify-content: center;
    margin-top: 20px !important;
  }
  .store-hero-slide .wp-block-button__link {
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    min-height: 40px;
    padding: 0 24px;
    line-height: 40px;
  }
  .store-hero-slider__dots { bottom: 14px; }
  .store-hero-slider__dots button { background: rgba(255, 255, 255, .45); }
  .store-hero-slider__dots button.is-active { background: #fff; }
}
@media (min-width: 768px) {
  .store-hero-slide .wp-block-cover__inner-container {
    align-self: center;
    text-align: left;
  }
  .store-hero-slide .wp-block-cover__inner-container h1,
  .store-hero-slide .wp-block-cover__inner-container h2 {
    font-size: 48px;
    line-height: 1.05;
    font-weight: 700;
    text-align: left;
  }
  .store-hero-slide .wp-block-cover__inner-container p {
    font-size: 18px;
    line-height: 1.4;
  }
  .store-hero-slide .wp-block-buttons {
    justify-content: flex-start;
  }
  .store-hero-slide .wp-block-button__link {
    border-radius: 999px;
  }
}
@media (min-width: 1024px) {
  .store-hero-slide .wp-block-cover__inner-container h1,
  .store-hero-slide .wp-block-cover__inner-container h2 {
    font-size: 60px;
  }
}

/* Product page: description full width under gallery + summary (images stacked, like the reference) */
.store-product-description {
  width: min(var(--theme-normal-container-max-width, 1290px), var(--theme-container-edge-spacing, 88vw));
  margin: 48px auto 0;
  padding: 0 0 var(--wp--preset--spacing--40);
}
.store-product-description__inner > p,
.store-product-description__inner > h2,
.store-product-description__inner > h3 {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.store-product-description__inner img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: var(--wp--custom--radius--image);
}
.store-overview {
  width: min(var(--theme-normal-container-max-width, 1290px), var(--theme-container-edge-spacing, 88vw));
  margin: 48px auto 0;
}
.store-overview__frame { margin: 0; }
.store-overview img {
  display: block;
  width: 100%;
  height: auto;
}
/* Product cards: light grey image area like the reference (blocks grid, shop grid, related products) */
.wc-block-grid__product-image,
.products .product .ct-media-container,
.products .product > .ct-image-container,
.products .product .ct-product-image {
  background: var(--wp--preset--color--surface);
  border-radius: var(--wp--custom--radius--card);
  overflow: hidden;
}
.wc-block-grid__product-image img,
.products .product .ct-media-container img {
  mix-blend-mode: multiply;
}
/* Cart / mini-cart line items: WooCommerce falls back to the full description when a product has no short
   description — never render its images or embeds there */
.wc-block-components-product-metadata img,
.wc-block-components-product-metadata iframe,
.wc-block-components-product-metadata figure,
.wc-block-components-product-details img,
.woocommerce-mini-cart img:not(.attachment-woocommerce_thumbnail):not(.wp-post-image),
.ct-cart-item .product-description img {
  display: none !important;
}

/* Cart drawer: right-hand panel, full height, WooCommerce mini-cart inside */
.store-cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 10000;
  visibility: hidden;
  pointer-events: none;
}
.store-cart-drawer.is-open {
  visibility: visible;
  pointer-events: auto;
}
.store-cart-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 32, .45);
  opacity: 0;
  transition: opacity .25s ease;
}
.store-cart-drawer.is-open .store-cart-drawer__backdrop {
  opacity: 1;
}
.store-cart-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(440px, 100vw);
  background: var(--wp--preset--color--base);
  box-shadow: -24px 0 48px -24px rgba(15, 23, 32, .35);
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.2, .7, .2, 1);
  display: flex;
  flex-direction: column;
}
.store-cart-drawer.is-open .store-cart-drawer__panel {
  transform: none;
}
.store-cart-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--wp--preset--color--border);
}
.store-cart-drawer__head h2 {
  margin: 0;
  font-size: 1.125rem;
}
.store-cart-drawer__close {
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: var(--wp--preset--color--ink);
  padding: 0 4px;
}
.store-cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px 24px !important;
  margin: 0 !important;
}
.store-cart-drawer__body .widget_shopping_cart_content,
.store-cart-drawer__body .woocommerce-mini-cart,
.store-cart-drawer__body .woocommerce-mini-cart__total,
.store-cart-drawer__body .woocommerce-mini-cart__buttons {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.store-cart-drawer__body .woocommerce-mini-cart {
  list-style: none;
  margin: 0;
  padding: 0;
}
.store-cart-drawer__body .woocommerce-mini-cart-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid var(--wp--preset--color--border);
  position: relative;
}
.store-cart-drawer__body .woocommerce-mini-cart-item img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--wp--preset--color--surface);
  float: none;
  margin: 0;
}
.store-cart-drawer__body .woocommerce-mini-cart-item a:not(.remove) {
  color: var(--wp--preset--color--ink);
  font-weight: 600;
  text-decoration: none;
}
.store-cart-drawer__body .woocommerce-mini-cart-item .remove {
  position: absolute;
  right: 0;
  top: 14px;
  font-size: 18px;
  color: var(--wp--preset--color--body);
}
.store-cart-drawer__body .quantity {
  display: block;
  color: var(--wp--preset--color--body);
  font-size: .875rem;
  margin-top: 4px;
}
.store-cart-drawer__body .woocommerce-mini-cart__total {
  display: flex;
  justify-content: space-between;
  padding: 16px 0 8px;
  font-weight: 600;
}
.store-cart-drawer__body .woocommerce-mini-cart__buttons {
  display: grid;
  gap: 10px;
  margin: 8px 0 0;
}
.store-cart-drawer__body .woocommerce-mini-cart__buttons .button {
  display: block;
  text-align: center;
  padding: 14px;
}
.store-cart-drawer__body .woocommerce-mini-cart__buttons .checkout {
  background: var(--wp--preset--color--brand);
  color: #fff;
  order: -1;
}
.store-cart-drawer__body .woocommerce-mini-cart__empty-message {
  text-align: center;
  color: var(--wp--preset--color--body);
  padding: 40px 0;
}
.store-cart-drawer-open body {
  overflow: hidden;
}

/* Footer link columns (Blocksy widget areas with Navigation Menu widgets) */
footer .ct-footer [data-row="middle"] .widget_nav_menu .widget-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--wp--preset--color--ink);
  margin-bottom: 12px;
}
footer .ct-footer [data-row="middle"] .widget_nav_menu li a {
  font-size: 14px;
  color: var(--wp--preset--color--body);
  line-height: 2;
}
footer .ct-footer [data-row="middle"] .widget_nav_menu li a:hover {
  color: var(--wp--preset--color--brand);
}

/* Mega menu: a top-level item with the "mega" class opens a full-width panel; its children are column headings,
   their children the links. Blocksy still handles hover/focus open state and the mobile off-canvas (unchanged). */
@media (min-width: 1000px) {
  header [data-row="middle"] .ct-container,
  header [data-row="middle"] .ct-container-fluid {
    position: relative;
  }
  header [data-id="menu"] > ul > li.mega {
    position: static;
  }
  header [data-id="menu"] > ul > li.mega > .sub-menu {
    left: 0 !important;
    right: 0 !important;
    width: auto !important;
    min-width: 0 !important;
    --dropdown-width: 100%;
    display: flex !important;
    flex-direction: row;
    justify-content: center;
    gap: clamp(32px, 5vw, 80px);
    padding: 32px 40px 36px !important;
    background: var(--wp--preset--color--base) !important;
    --dropdown-background-color: var(--wp--preset--color--base);
    border-top: 1px solid var(--wp--preset--color--border);
    border-radius: 0 0 var(--wp--custom--radius--card) var(--wp--custom--radius--card);
    box-shadow: 0 24px 48px -24px rgba(15, 23, 32, .25);
  }
  header [data-id="menu"] > ul > li.mega > .sub-menu > li {
    position: static;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch;
    min-width: 160px;
  }
  header [data-id="menu"] > ul > li.mega > .sub-menu > li > a {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--wp--preset--color--body) !important;
    pointer-events: none;
    padding: 0 0 10px !important;
    border-bottom: 1px solid var(--wp--preset--color--border);
    margin-bottom: 8px;
  }
  header [data-id="menu"] > ul > li.mega > .sub-menu > li > a .ct-toggle-dropdown-desktop,
  header [data-id="menu"] > ul > li.mega > .sub-menu > li > a .ct-icon,
  header [data-id="menu"] > ul > li.mega > .sub-menu > li > .ct-toggle-dropdown-desktop-ghost {
    display: none !important;
  }
  header [data-id="menu"] > ul > li.mega > .sub-menu > li > .sub-menu {
    position: static !important;
    display: block !important;
    opacity: 1 !important;
    /* follow the panel: Blocksy hides the panel with visibility/pointer-events, so forcing these to visible/auto
       made the invisible link columns a hover target below the header (the menu opened over the hero) */
    visibility: inherit !important;
    pointer-events: inherit !important;
    transform: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    min-width: 0 !important;
    width: auto !important;
    background: transparent !important;
  }
  header [data-id="menu"] > ul > li.mega > .sub-menu > li > .sub-menu > li {
    display: block;
  }
  header [data-id="menu"] > ul > li.mega > .sub-menu > li > .sub-menu > li > a {
    padding: 7px 0 !important;
    font-size: 14px;
    color: var(--wp--preset--color--ink) !important;
    background: transparent !important;
  }
  header [data-id="menu"] > ul > li.mega > .sub-menu > li > .sub-menu > li > a:hover {
    color: var(--wp--preset--color--brand) !important;
  }
}

/* Sale badge: rounded red pill, white text (Blocksy badges + WooCommerce blocks grid) */
.ct-woo-badge-sale,
.wc-block-grid__product-onsale,
span.onsale {
  background: var(--wp--preset--color--brand) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 8px !important;
  padding: 4px 10px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1.4 !important;
  min-width: 0 !important;
  min-height: 0 !important;
}

/* Product cards (blocks grid + Blocksy grid): no link underline on titles */
.wc-block-grid__product-link,
.wc-block-grid__product-title a,
.wc-block-grid__product-title,
.products .woocommerce-loop-product__title a,
.products .woocommerce-loop-product__title {
  text-decoration: none !important;
}
.wc-block-grid__product-link:hover,
.wc-block-grid__product-link:focus {
  text-decoration: none !important;
}

/* Product page gallery: square main image on a light grey rounded stage, small square thumbs (reference) */
.woocommerce-product-gallery .flexy-items > div,
.woocommerce-product-gallery__image {
  aspect-ratio: 1 / 1;
}
.woocommerce-product-gallery .flexy-items img,
.woocommerce-product-gallery__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.woocommerce-product-gallery .flexy-view {
  background: var(--wp--preset--color--surface);
  border-radius: 16px;
  overflow: hidden;
}
.woocommerce-product-gallery .flexy-items img {
  mix-blend-mode: multiply;
}
.woocommerce-product-gallery .flexy-pills ol {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto;
  gap: 10px;
  scrollbar-width: none;
  padding: 2px 2px 6px;
  margin-top: 12px;
  /* Blocksy pulls this row left with a negative margin, which clips the first thumb. */
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.woocommerce-product-gallery .flexy-pills ol::-webkit-scrollbar { display: none; }
.woocommerce-product-gallery .flexy-pills li {
  flex: 0 0 64px !important;
  width: 64px !important;
  max-width: 64px !important;
  height: 64px !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box;
  border: 2px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  background: var(--wp--preset--color--surface);
  cursor: pointer;
  position: relative;
}
.woocommerce-product-gallery .flexy-pills li .ct-media-container {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  position: relative !important;
}
.woocommerce-product-gallery .flexy-pills li img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  mix-blend-mode: multiply;
}
/* Main-image arrows: round buttons with < > chevrons (reference buy page). */
.single-product .flexy-arrow-prev,
.single-product .flexy-arrow-next {
  width: 36px !important;
  height: 36px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, .8) !important;
  color: #475569 !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 4px rgba(15, 23, 42, .12);
}
.single-product .flexy-arrow-prev svg,
.single-product .flexy-arrow-next svg {
  display: none !important;
}
.single-product .flexy-arrow-prev::after,
.single-product .flexy-arrow-next::after {
  content: "";
  width: 8px;
  height: 8px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  display: block;
}
.single-product .flexy-arrow-prev::after {
  transform: rotate(45deg);
  margin-left: 3px;
}
.single-product .flexy-arrow-next::after {
  transform: rotate(-135deg);
  margin-right: 3px;
}
.woocommerce-product-gallery .flexy-pills li.active,
.woocommerce-product-gallery .flexy-pills li[class*="active"] {
  border-color: var(--wp--preset--color--ink);
}

/* ------------------------------------------------------------------
   Product page summary — reference "buy" page: title, subtitle, price, divider, swatches, one full-width
   add-to-cart pill, policy accordions. No quantity stepper, no "In stock", no "Clear", no meta block.
   ------------------------------------------------------------------ */
.single-product .entry-summary .product_title {
  font-size: clamp(1.5rem, 1.1rem + 1vw, 1.875rem);
  line-height: 1.2;
  margin-bottom: 6px;
}
.store-product-subtitle {
  color: #717182;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.375;
  margin: 4px 0 12px;
}
@media (min-width: 640px) {
  .store-product-subtitle { font-size: 16px; }
}
.single-product .entry-summary .price {
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  color: #475569;
}
.single-product .entry-summary .price del {
  font-size: 16px;
  font-weight: 400;
  color: #717182;
  margin-right: 8px;
}
.single-product .entry-summary .price ins {
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  color: #475569;
  text-decoration: none;
}
.single-product .entry-summary .ct-product-divider {
  margin: 20px 0 !important;
}
/* variations: label row + swatch row, stacked */
.single-product table.variations,
.single-product table.variations tbody,
.single-product table.variations tr,
.single-product table.variations th,
.single-product table.variations td {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
}
.single-product table.variations tr + tr {
  margin-top: 18px;
}
.single-product table.variations th.label {
  font-size: .875rem;
  font-weight: 600;
  color: var(--wp--preset--color--ink);
  margin-bottom: 10px;
  text-align: left;
}
.single-product table.variations th.label label {
  font-weight: 600;
}
.single-product table.variations th.label .woo-selected-variation-item-name {
  display: none; /* the swatches plugin's copy of the selection */
}
.store-swatch-current {
  font-weight: 600;
}
.single-product table.variations td.value .reset_variations,
.store-swatches__select,
.single-product .woo-variation-items-wrapper .variable-items-wrapper {
  display: none !important;
}
.store-swatches {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px;
  -webkit-overflow-scrolling: touch;
}
.store-swatches::-webkit-scrollbar { display: none; }
@media (min-width: 690px) {
  .store-swatches { flex-wrap: wrap; overflow: visible; } /* mouse users cannot side-scroll: wrap on desktop, one row on phones */
}
.store-swatch {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 6px 12px 6px 6px;
  border: 2px solid var(--wp--preset--color--border);
  border-radius: 12px;
  background: var(--wp--preset--color--base);
  color: var(--wp--preset--color--ink);
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.store-swatch:not(.has-image) {
  padding: 6px 16px;
}
.store-swatch:hover {
  border-color: var(--wp--preset--color--body);
}
.store-swatch.is-active {
  border-color: var(--wp--preset--color--ink);
  box-shadow: 0 0 0 1px var(--wp--preset--color--ink);
}
.store-swatch.is-disabled {
  opacity: .4;
  cursor: not-allowed;
}
.store-swatch__img {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--wp--preset--color--surface);
  flex: 0 0 40px;
}
.store-swatch__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
}
/* add to cart: one full-width pill; quantity stays 1 (editable in the cart) */
.single-product .entry-summary .stock.in-stock {
  display: none; /* simple and variable products alike; out-of-stock notices stay */
}
.single-product .ct-cart-actions .quantity {
  display: none !important;
}
.single-product form.cart,
.single-product .ct-cart-actions,
.single-product .woocommerce-variation-add-to-cart {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.single-product .ct-cart-actions { margin-top: 0; }
/* No option row: drop the divider and sit the buttons just under the price. */
.single-product .ct-product-divider:has(+ .ct-product-add-to-cart > form.cart:not(.variations_form)) {
  display: none;
}
.single-product form.cart:not(.variations_form) {
  margin-top: 16px;
}
.single-product .ct-cart-actions .single_add_to_cart_button,
.single-product .store-buy-now {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  height: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700 !important;
  font-size: 16px !important;
  line-height: 22px;
  cursor: pointer;
}
.single-product .store-buy-now {
  order: -1;
  background: var(--wp--preset--color--brand, #D6272E) !important;
  color: #fff !important;
  border: 1px solid transparent !important;
  box-shadow: rgba(208, 38, 45, 0.81) 0 3.37px 13.08px -1.58px, rgba(0, 0, 0, 0.098) 0 0.79px 2.37px 0;
}
.single-product .store-buy-now:hover {
  background: var(--wp--preset--color--brand-dark, #C61C23) !important;
}
.single-product .ct-cart-actions .single_add_to_cart_button {
  order: 1;
  background: #fff !important;
  color: #0f172a !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: none !important;
}
.single-product .ct-cart-actions .single_add_to_cart_button:hover {
  border-color: #cbd5e1 !important;
  background: #fff !important;
  color: #0f172a !important;
}
.single-product .woocommerce-variation-price,
.single-product .woocommerce-variation-availability {
  display: none !important;
}
.single-product .entry-summary .ppc-button-wrapper {
  margin-top: 12px;
}
/* policy accordions (generated from site.yml policies) */
.store-pdp-accordions {
  margin-top: 24px;
  border-top: 1px solid var(--wp--preset--color--border);
}
.store-pdp-accordion {
  border-bottom: 1px solid var(--wp--preset--color--border);
}
.store-pdp-accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--wp--preset--color--ink);
  cursor: pointer;
  list-style: none;
}
.store-pdp-accordion summary::-webkit-details-marker { display: none; }
.store-pdp-accordion__icon {
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--wp--preset--color--body);
  border-bottom: 2px solid var(--wp--preset--color--body);
  transform: rotate(45deg);
  transition: transform .2s ease;
  margin-right: 4px;
  flex: 0 0 auto;
}
.store-pdp-accordion[open] .store-pdp-accordion__icon {
  transform: rotate(225deg);
}
.store-pdp-accordion__body {
  padding: 0 0 20px;
  font-size: .875rem;
  line-height: 1.6;
  color: var(--wp--preset--color--body);
}
.store-pdp-accordion__body p { margin: 0 0 8px; }
.store-pdp-accordion__body ul { margin: 6px 0 10px; padding-left: 18px; }
.store-pdp-accordion__body strong { color: var(--wp--preset--color--ink); }

/* Tech Specs + What's in the Box: full container width under gallery/summary, before the description */
.store-specs,
.store-box {
  /* same edges as Blocksy's gallery/summary wrapper (.product-entry-wrapper.is-width-constrained) on every viewport */
  width: min(var(--theme-normal-container-max-width, 1290px), var(--theme-container-edge-spacing, 88vw));
  margin: 0 auto;
  padding-top: var(--wp--preset--spacing--60);
}
.single-product .store-specs__title,
.single-product .store-box__title,
.single-product .store-related__title {
  font-size: 24px !important;
  font-weight: 600 !important;
  line-height: 30px !important;
  letter-spacing: -0.025em !important;
  color: #0f172a;
  margin: 0 0 20px;
}
.single-product .store-box__title {
  text-align: center;
}
.single-product .store-related__title {
  text-align: left;
}
.single-product .store-box {
  margin-bottom: 0;
  padding-bottom: 8px;
}
.single-product .related.products {
  width: min(var(--theme-normal-container-max-width, 1290px), var(--theme-container-edge-spacing, 88vw));
  margin: 56px auto 0;
  box-sizing: border-box;
}
.single-product .woocommerce-tabs,
.single-product #reviews {
  display: none !important;
}
.store-specs__list {
  margin: 0;
  border-top: 1px solid var(--wp--preset--color--border);
}
.store-specs__row {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 8px 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--wp--preset--color--border);
}
.store-specs__row dt {
  font-size: .875rem;
  font-weight: 600;
  color: var(--wp--preset--color--ink);
}
.store-specs__row dd {
  margin: 0;
  font-size: .875rem;
  color: var(--wp--preset--color--body);
}
.store-specs__group {
  font-size: 1.125rem;
  margin: 32px 0 12px;
}
.store-specs__note {
  font-size: .8125rem;
  color: var(--wp--preset--color--body);
  margin: 16px 0 0;
}
.store-specs__toggle {
  margin-top: 16px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--wp--preset--color--ink);
  font-size: .875rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.store-box__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(136px, 1fr));
  gap: 20px 12px;
}
.store-box__item {
  margin: 0;
}
.store-box__media {
  margin: 0;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  background: var(--wp--preset--color--surface);
  display: flex;
  align-items: center;
  justify-content: center;
}
.store-box__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.store-box__name {
  display: block;
  margin-top: 8px;
  font-size: .8125rem;
  line-height: 1.35;
  color: var(--wp--preset--color--ink);
}
.store-box__qty {
  display: block;
  font-size: .75rem;
  color: var(--wp--preset--color--body);
}
@media (max-width: 999px) {
  .store-specs__row {
    grid-template-columns: 160px minmax(0, 1fr);
  }
}
@media (max-width: 689px) {
  .single-product .entry-summary .product_title { font-size: 1.375rem; }
  .store-specs,
  .store-box { padding-top: var(--wp--preset--spacing--40); }
  .store-specs__title,
  .store-box__title,
  .store-related__title { margin-bottom: 20px; }
  .store-specs__row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 12px 0;
  }
  .store-specs__group { font-size: 1rem; margin: 24px 0 8px; }
  .store-box__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px 8px;
  }
  .store-box__media { border-radius: 10px; }
  .store-box__name { font-size: .75rem; }
}

/* Product path: one row under the header, aligned with the product column.
   Overview is visual only until those pages exist. */
.single-product .entry-header:not(:has(.product_title)):not(:has(h1)),
.single-product nav.ct-breadcrumbs,
.single-product .hero-section:not(:has(.product_title)):not(:has(h1)) {
  display: none !important;
}
.single-product .ct-container-full {
  padding-top: 0;
}
.store-pdp-path {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-sizing: border-box;
  width: min(100%, var(--theme-container-width, 88vw));
  max-width: var(--theme-normal-container-max-width, 1290px);
  min-height: 48px;
  margin: 0 auto 8px;
  padding: 8px 0;
}
.store-pdp-path__trail {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
  overflow: hidden;
  color: #717182;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  white-space: nowrap;
}
.store-pdp-path__back {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  color: inherit;
  text-decoration: none;
}
.store-pdp-path__back svg {
  width: 16px;
  height: 16px;
  margin-right: 2px;
}
.store-pdp-path__back:hover { color: var(--wp--preset--color--ink); }
.store-pdp-path__sep { flex: 0 0 auto; }
.store-pdp-path__overview-label,
.store-pdp-path__current {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.store-pdp-path__overview-label { flex: 1 1 auto; }
.store-pdp-path__current {
  flex: 0 1 auto;
  color: #0f172a;
  font-weight: 500;
}
.store-pdp-path__btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--wp--preset--color--brand, #D6272E);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  white-space: nowrap;
}
@media (min-width: 1024px) {
  .store-pdp-path__trail { font-size: 14px; line-height: 20px; }
  .single-product .store-specs__title,
  .single-product .store-box__title,
  .single-product .store-related__title {
    font-size: 30px !important;
    line-height: 36px !important;
  }
}

/* Sticky buy bar */
.store-pdp-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  background: #fff;
  border-top: 1px solid #e2e8f0;
  padding: 8px 16px calc(16px + env(safe-area-inset-bottom, 0px));
}
.store-pdp-bar__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: var(--theme-normal-container-max-width, 1290px);
  margin: 0 auto;
}
.store-pdp-bar__product {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}
.store-pdp-bar__img {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--wp--preset--color--surface);
}
.store-pdp-bar__text { min-width: 0; }
.store-pdp-bar__name,
.store-pdp-bar__meta { margin: 0; }
.store-pdp-bar__name {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  color: #475569;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.store-pdp-bar__meta {
  display: flex;
  gap: 6px;
  font-size: 12px;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
}
.store-pdp-bar__variant {
  color: #717182;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
}
.store-pdp-bar__price,
.store-pdp-bar__price .woocommerce-Price-amount {
  color: #475569;
  font-size: 12px;
  font-weight: 700;
  flex: 0 0 auto;
}
.store-pdp-bar__atc {
  flex: 0 0 auto;
  height: 40px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: var(--wp--preset--color--brand, #D6272E);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 40px;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(214, 39, 46, .25);
}
body.single-product { padding-bottom: 76px; }

/* You May Also Like: aligned with the sections above, auto-scrolling row, arrows at the top right */
.store-related__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.store-related__head .store-related__title { margin: 0; }
.store-related__nav { display: flex; gap: 8px; flex: 0 0 auto; }
.store-related__arrow {
  width: 36px;
  height: 36px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #fff;
  color: #475569;
  cursor: pointer;
  position: relative;
}
.store-related__arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}
.store-related__arrow--prev::after { transform: translate(-30%, -50%) rotate(45deg); }
.store-related__arrow--next::after { transform: translate(-70%, -50%) rotate(-135deg); }
.single-product .store-related ul.products {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  margin: 0 !important;
  padding: 0 0 4px;
}
.single-product .store-related ul.products::-webkit-scrollbar { display: none; }
.single-product .store-related ul.products li.product {
  flex: 0 0 calc(50% - 6px) !important;
  width: calc(50% - 6px) !important;
  max-width: none !important;
  margin: 0 !important;
  scroll-snap-align: start;
}
@media (min-width: 1000px) {
  .single-product .store-related ul.products li.product {
    flex-basis: calc(25% - 9px) !important;
    width: calc(25% - 9px) !important;
  }
}

/* Mobile: 4-up sections become 2×2 grids instead of a long single column */
@media (max-width: 781px) {
  .store-grid-2.wp-block-columns {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px !important;
  }
  .store-grid-2.wp-block-columns > .wp-block-column {
    flex-basis: auto !important;
    width: auto !important;
    margin: 0 !important;
  }
  .store-grid-2 .store-tile.wp-block-cover {
    min-height: 240px !important;
    padding: var(--wp--preset--spacing--30) !important;
  }
  .store-grid-2 .store-tile p.has-small-font-size {
    display: none;
  }
  .store-badges .store-grid-2 .wp-block-column {
    text-align: left;
  }
  .store-tech .store-card h3,
  .store-people h3 {
    font-size: 1rem;
  }
  .store-tech .store-card > :not(.wp-block-image) {
    padding-left: var(--wp--preset--spacing--20);
    padding-right: var(--wp--preset--spacing--20);
  }
}

/* Cart / checkout (WooCommerce blocks): centred 1120px, two equal columns, order summary as a quiet card — like a
   Shopify checkout. Below the "is-large" breakpoint the blocks stack on their own. */
.woocommerce-checkout .hero-section,
.woocommerce-cart .hero-section {
  display: none;
}
.woocommerce-cart .entry-content {
  padding-top: var(--wp--preset--spacing--50);
}
.wc-block-components-sidebar-layout.is-large.wc-block-checkout,
.wc-block-components-sidebar-layout.is-large.wc-block-cart {
  max-width: 1120px;
  margin-left: auto !important;
  margin-right: auto !important;
  align-items: flex-start;
}
.wc-block-components-sidebar-layout.is-large .wc-block-components-main {
  width: 50% !important;
  flex: 0 0 50%;
  padding-right: 48px !important;
  padding-left: 0 !important;
  box-sizing: border-box;
}
.wc-block-components-sidebar-layout.is-large .wc-block-components-sidebar {
  width: 50% !important;
  flex: 0 0 50%;
  box-sizing: border-box;
  padding: 32px !important;
  background: var(--wp--preset--color--surface);
  border: 1px solid var(--wp--preset--color--border);
  border-radius: var(--wp--custom--radius--card);
  position: sticky;
  top: 24px;
}
.wc-block-components-sidebar-layout.is-large .wc-block-components-sidebar .wc-block-components-panel,
.wc-block-components-sidebar-layout.is-large .wc-block-components-sidebar .wc-block-components-totals-wrapper {
  background: transparent;
}

/* Checkout layout, modelled on the reference store's checkout:
   full-width header (logo + cart), form on the left, order summary on a gray
   panel on the right. Below 1000px the summary collapses under the header. */
body.woocommerce-checkout:not(.woocommerce-order-received) {
  background: #fff;
}
body.woocommerce-checkout:not(.woocommerce-order-received) #header,
body.woocommerce-checkout:not(.woocommerce-order-received) #footer,
body.woocommerce-checkout:not(.woocommerce-order-received) .ct-page-title-container,
body.woocommerce-checkout:not(.woocommerce-order-received) .entry-header,
body.woocommerce-checkout:not(.woocommerce-order-received) h1.page-title {
  display: none !important;
}
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce,
body.woocommerce-checkout:not(.woocommerce-order-received) .is-width-constrained,
body.woocommerce-checkout:not(.woocommerce-order-received) .site-main,
body.woocommerce-checkout:not(.woocommerce-order-received) .entry-content,
body.woocommerce-checkout:not(.woocommerce-order-received) .hero-section,
body.woocommerce-checkout:not(.woocommerce-order-received) .ct-container,
body.woocommerce-checkout:not(.woocommerce-order-received) .ct-container-full {
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}
body.woocommerce-checkout:not(.woocommerce-order-received) .entry-content.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.store-co-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 73px;
  padding: 0 22px 0 28px;
  background: #fff;
  border-bottom: 1px solid #e6e6e6;
}
.store-co-header__logo {
  display: flex;
  align-items: center;
  line-height: 0;
}
.store-co-header__img {
  height: 32px;
  width: auto;
}
.store-co-header__cart {
  position: relative;
  display: flex;
  color: #111;
}
.store-co-header__count {
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--wp--preset--color--brand, #d6272e);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-form-coupon-toggle,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-form-login-toggle,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-additional-fields {
  display: none !important;
}
body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout_coupon {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  display: block !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) form.ct-woocommerce-checkout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  max-width: 1280px;
  margin: 0 auto;
  padding: 8px 40px 0;
  column-gap: 56px;
  row-gap: 0;
  box-sizing: border-box;
}
body.woocommerce-checkout:not(.woocommerce-order-received) .ct-customer-details {
  width: 100%;
  margin: 0;
  padding: 28px 8px 72px 4px;
  box-sizing: border-box;
}
body.woocommerce-checkout:not(.woocommerce-order-received) .ct-order-review {
  --order-review-padding: 0px;
  position: relative;
  top: auto !important;
  align-self: start;
  justify-self: stretch;
  width: 100%;
  margin: 0;
  padding: 28px 28px 40px;
  background: #fafafa;
  border: 0;
  border-radius: 0;
  box-sizing: border-box;
}
body.woocommerce-checkout:not(.woocommerce-order-received) #order_review {
  position: sticky;
  top: 90px;
  max-width: none;
  background: transparent;
}
body.woocommerce-checkout:not(.woocommerce-order-received) #order_review_heading,
body.woocommerce-checkout:not(.woocommerce-order-received) .store-co-summary-toggle {
  display: none;
}

body.woocommerce-checkout:not(.woocommerce-order-received) #customer_details.col2-set,
body.woocommerce-checkout:not(.woocommerce-order-received) #customer_details .col-1,
body.woocommerce-checkout:not(.woocommerce-order-received) #customer_details .col-2 {
  width: 100% !important;
  float: none !important;
  max-width: none;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-billing-fields {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  column-gap: 12px;
  row-gap: 12px;
}
body.woocommerce-checkout:not(.woocommerce-order-received) .store-co-contact-head { order: 1; grid-column: 1 / -1; }
body.woocommerce-checkout:not(.woocommerce-order-received) #billing_email_field { order: 2; }
body.woocommerce-checkout:not(.woocommerce-order-received) #billing_marketing_optin_field { order: 3; grid-column: 1 / -1; }
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-billing-fields > h3 { order: 4; grid-column: 1 / -1; margin-top: 18px; }
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-billing-fields__field-wrapper > .form-row { order: 5; }
body.woocommerce-checkout:not(.woocommerce-order-received) form.ct-woocommerce-checkout > .woocommerce-NoticeGroup,
body.woocommerce-checkout:not(.woocommerce-order-received) form.ct-woocommerce-checkout > .woocommerce-notices-wrapper,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce > .woocommerce-notices-wrapper {
  grid-column: 1 / -1;
  width: min(560px, calc(58% - 40px));
  margin: 12px 42% 0 auto;
  box-sizing: border-box;
}

.store-co-contact-head,
.woocommerce-billing-fields > h3,
.store-co-shipping__title,
.store-co-payment-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 22px 0 10px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 24px;
  color: #1a1a1a;
}
.store-co-contact-head { margin-top: 8px; }
body.woocommerce-checkout:not(.woocommerce-order-received) h3.store-co-shipping__title {
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  color: #1a1a1a;
}
body.woocommerce-checkout:not(.woocommerce-order-received) h3.store-co-payment-title,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-billing-fields > h3,
body.woocommerce-checkout:not(.woocommerce-order-received) .store-co-contact-head h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 24px;
  color: #1a1a1a;
}
body.woocommerce-checkout:not(.woocommerce-order-received) #billing_marketing_optin_field .optional { display: none; }
.store-co-contact-head h3 {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
}
.store-co-shipping__title,
.store-co-payment-title {
  margin: 0;
}
.store-co-signin {
  border: 0;
  background: none;
  padding: 0;
  color: #c71a2b;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  cursor: pointer;
}
.store-co-payment-note {
  margin: 0 0 12px;
  color: rgba(0, 0, 0, 0.56);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}
body.woocommerce-checkout:not(.woocommerce-order-received) #billing_marketing_optin_field {
  margin: 10px 0 0;
}
body.woocommerce-checkout:not(.woocommerce-order-received) #billing_marketing_optin_field label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: #1a1a1a;
}
body.woocommerce-checkout:not(.woocommerce-order-received) #billing_marketing_optin_field input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #c71a2b;
  flex: 0 0 auto;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-billing-fields__field-wrapper {
  display: contents;
}
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-billing-fields__field-wrapper::before,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-billing-fields__field-wrapper::after {
  display: none;
}
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-billing-fields__field-wrapper .form-row {
  float: none;
  width: auto;
  margin: 0;
}
body.woocommerce-checkout:not(.woocommerce-order-received) #billing_country_field,
body.woocommerce-checkout:not(.woocommerce-order-received) #billing_address_1_field,
body.woocommerce-checkout:not(.woocommerce-order-received) #billing_address_2_field,
body.woocommerce-checkout:not(.woocommerce-order-received) #billing_phone_field,
body.woocommerce-checkout:not(.woocommerce-order-received) #billing_email_field {
  grid-column: 1 / -1;
}
body.woocommerce-checkout:not(.woocommerce-order-received) #billing_first_name_field,
body.woocommerce-checkout:not(.woocommerce-order-received) #billing_last_name_field {
  grid-column: span 3;
}
body.woocommerce-checkout:not(.woocommerce-order-received) #billing_city_field,
body.woocommerce-checkout:not(.woocommerce-order-received) #billing_state_field,
body.woocommerce-checkout:not(.woocommerce-order-received) #billing_postcode_field {
  grid-column: span 2;
}
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-billing-fields__field-wrapper > .form-row > label:not(.woocommerce-form__label-for-checkbox),
body.woocommerce-checkout:not(.woocommerce-order-received) #billing_email_field > label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
body.woocommerce-checkout:not(.woocommerce-order-received) .form-row {
  position: relative;
}
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-billing-fields input.input-text,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-billing-fields textarea,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-billing-fields select,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-billing-fields .select2-selection--single,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-shipping-fields input.input-text,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-shipping-fields select {
  border: 1px solid #dedede !important;
  border-radius: 12px !important;
  min-height: 48px;
  background: #fff !important;
  box-shadow: none !important;
  padding: 12px 14px;
}
body.woocommerce-checkout:not(.woocommerce-order-received) .select2-container { width: 100% !important; }
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-billing-fields input.input-text:focus,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-billing-fields select:focus {
  border-color: #111 !important;
  outline: none;
}
body.woocommerce-checkout:not(.woocommerce-order-received) #billing_email_field { margin: 0 0 4px; }
body.woocommerce-checkout:not(.woocommerce-order-received) #ship-to-different-address {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 500;
}
/* Hidden until "Ship to a different address?" is checked. Woo hides this in JS after load, which flashes the form. */
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-shipping-fields:not(:has(#ship-to-different-address-checkbox:checked)) .shipping_address {
  display: none;
}
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-form__label-for-checkbox {
  display: block;
  position: relative;
  padding-left: 26px;
  line-height: 1.45;
}
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-form__label-for-checkbox > input[type="checkbox"] {
  position: absolute !important;
  left: 0;
  top: 2px !important;
  width: 16px !important;
  height: 16px !important;
  margin: 0 !important;
}
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-account-fields {
  margin-top: 8px;
  font-size: 14px;
}

.store-co-shipping { margin-top: 22px; }
body.woocommerce-checkout form.checkout > .store-co-shipping { display: none; }
.store-co-shipping__wait {
  margin: 10px 0 0;
  padding: 14px 16px;
  border-radius: 8px;
  background: #f5f5f5;
  color: rgba(0, 0, 0, 0.56);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
}
.store-co-shipping.is-waiting .woocommerce-shipping-methods { display: none !important; }
.store-co-shipping:not(.is-waiting) .store-co-shipping__wait { display: none; }
body.woocommerce-checkout:not(.woocommerce-order-received) #payment {
  margin-top: 40px;
}
.store-co-shipping .woocommerce-shipping-methods {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.store-co-shipping .woocommerce-shipping-methods li {
  margin: 0 !important;
  padding: 10px 12px;
  border: 1px solid #dedede;
  border-radius: 8px;
  background: #fff;
}
.store-co-shipping .woocommerce-shipping-methods li:has(input:checked) {
  border-color: var(--wp--preset--color--brand, #d6272e);
  box-shadow: inset 0 0 0 1px var(--wp--preset--color--brand, #d6272e);
}
.store-co-shipping .woocommerce-shipping-methods label { cursor: pointer; }

body.woocommerce-checkout:not(.woocommerce-order-received) #payment {
  background: transparent;
  border-radius: 0;
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: auto !important;
  max-width: 100%;
}
body.woocommerce-checkout:not(.woocommerce-order-received) #payment .wc_payment_methods {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
body.woocommerce-checkout:not(.woocommerce-order-received) #payment .wc_payment_method {
  margin: 0;
  padding: 0;
  border: 1px solid #e3e3e3;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}
body.woocommerce-checkout:not(.woocommerce-order-received) #payment .wc_payment_method:last-child { border-bottom: 1px solid #e3e3e3; }
body.woocommerce-checkout:not(.woocommerce-order-received) #payment .wc_payment_method:has(input:checked) {
  border-color: #d6272e;
  box-shadow: none;
}
body.woocommerce-checkout:not(.woocommerce-order-received) #payment .wc_payment_method > label {
  display: flex !important;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 14px 16px;
  box-sizing: border-box;
  background: #fff;
  color: #1a1a1a;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  cursor: pointer;
}
body.woocommerce-checkout:not(.woocommerce-order-received) #payment .wc_payment_method:has(input:checked) > label {
  background: #fff1f1;
}
body.woocommerce-checkout:not(.woocommerce-order-received) #payment .wc_payment_method > label::before {
  content: "" !important;
  display: block !important;
  position: static !important;
  flex: 0 0 auto;
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
  border: 2px solid #c8c8c8 !important;
  border-radius: 50% !important;
  background: #fff !important;
  box-shadow: none !important;
}
body.woocommerce-checkout:not(.woocommerce-order-received) #payment .wc_payment_method > input:checked + label::before {
  border: 5px solid #d6272e !important;
  background: #fff !important;
}
body.woocommerce-checkout:not(.woocommerce-order-received) #payment .ccg-brands,
body.woocommerce-checkout:not(.woocommerce-order-received) #payment .paypal-gateway-icon,
body.woocommerce-checkout:not(.woocommerce-order-received) #payment .wc_payment_method > label > img {
  margin-left: auto !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}
body.woocommerce-checkout:not(.woocommerce-order-received) #payment .ccg-brand-icon {
  display: inline-flex;
  width: 38px;
  height: 24px;
}
body.woocommerce-checkout:not(.woocommerce-order-received) #payment .ccg-brands svg,
body.woocommerce-checkout:not(.woocommerce-order-received) #payment .ccg-brand-icon svg {
  width: 38px !important;
  height: 24px !important;
  display: block;
}
body.woocommerce-checkout:not(.woocommerce-order-received) #payment .ccg-brands-more,
body.woocommerce-checkout:not(.woocommerce-order-received) #payment .ccg-brands-tooltip,
body.woocommerce-checkout:not(.woocommerce-order-received) #payment #wc-secure-badge,
body.woocommerce-checkout:not(.woocommerce-order-received) #payment #wc-card-description,
body.woocommerce-checkout:not(.woocommerce-order-received) #payment #wc-card-brands {
  display: none !important;
}
body.woocommerce-checkout:not(.woocommerce-order-received) #payment .payment_box {
  background: #f5f5f5 !important;
  border-radius: 0;
  margin: 0 !important;
  padding: 12px 12px 14px !important;
}
body.woocommerce-checkout:not(.woocommerce-order-received) #payment .payment_box::before { display: none; }
body.woocommerce-checkout:not(.woocommerce-order-received) #payment .wc-credit-card-form,
body.woocommerce-checkout:not(.woocommerce-order-received) #payment #wc-card-iframe-container {
  margin: 0 !important;
  padding: 0;
  border: 0;
  min-height: 0 !important;
  background: transparent;
}
body.woocommerce-checkout:not(.woocommerce-order-received) #payment #wc-card-iframe-container iframe {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
}
body.woocommerce-checkout:not(.woocommerce-order-received) #payment .store-co-bill-same {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 2px 0;
  color: #1a1a1a;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  cursor: pointer;
}
body.woocommerce-checkout:not(.woocommerce-order-received) #payment .store-co-bill-same input[type="checkbox"] {
  -webkit-appearance: none !important;
  appearance: none !important;
  position: static !important;
  top: 0 !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  margin: 0 !important;
  padding: 0 !important;
  flex: 0 0 18px;
  border: 1.5px solid #c8c8c8 !important;
  border-radius: 4px !important;
  background: #fff none center / 12px 12px no-repeat !important;
  box-shadow: none !important;
  vertical-align: middle !important;
}
body.woocommerce-checkout:not(.woocommerce-order-received) #payment .store-co-bill-same input[type="checkbox"]::before,
body.woocommerce-checkout:not(.woocommerce-order-received) #payment .store-co-bill-same input[type="checkbox"]::after {
  content: none !important;
  display: none !important;
}
body.woocommerce-checkout:not(.woocommerce-order-received) #payment .store-co-bill-same input[type="checkbox"]:checked {
  border-color: #d6272e !important;
  background-color: #d6272e !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.2 6.1 4.7 8.6 9.8 3.3' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
}
.store-co-bill-fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}
.store-co-bill-fields[hidden] { display: none !important; }
.store-co-bill-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 10px;
}
.store-co-bill-input {
  width: 100%;
  height: 48px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid #e3e3e3;
  border-radius: 8px;
  background: #fff;
  color: #1a1a1a;
  font-size: 16px;
  box-sizing: border-box;
}
@media (max-width: 767px) {
  .store-co-bill-row { grid-template-columns: 1fr; }
}
body.woocommerce-checkout:not(.woocommerce-order-received) #payment .place-order {
  padding: 0;
  margin-top: 16px;
}
body.woocommerce-checkout:not(.woocommerce-order-received) #place_order {
  width: 100%;
  min-height: 50px;
  border: 0;
  border-radius: 12px !important;
  background: #c71a2b !important;
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
}
body.woocommerce-checkout:not(.woocommerce-order-received) #place_order:hover,
body.woocommerce-checkout:not(.woocommerce-order-received) #place_order:focus {
  background: #a81524 !important;
  color: #fff !important;
}
.store-co-policies {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.store-co-policies a {
  color: var(--wp--preset--color--brand, #d6272e);
  font-size: 13px;
  text-decoration: none;
}
.store-co-policies a:hover { text-decoration: underline; }

body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-checkout-review-order-table {
  width: 100%;
  margin: 0;
  border: 0;
  background: transparent;
}
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-checkout-review-order-table thead { display: none; }
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-checkout-review-order-table th,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-checkout-review-order-table td {
  border: 0;
  background: transparent;
  padding: 8px 0;
  vertical-align: top;
}
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-checkout-review-order-table .product-total {
  text-align: right;
  white-space: nowrap;
  font-weight: 500;
}
body.woocommerce-checkout:not(.woocommerce-order-received) td.product-name {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  column-gap: 14px;
  align-items: start;
}
.store-co-line { display: contents; }
.store-co-line__media {
  position: relative;
  grid-column: 1;
  grid-row: 1 / span 3;
  width: 64px;
  height: 64px;
}
.store-co-line__img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border: 1px solid #eee;
  border-radius: 8px;
  background: #fff;
}
.store-co-line__qty {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: #707070;
  color: #fff;
  font-size: 12px;
  line-height: 20px;
  text-align: center;
}
.store-co-line__copy { grid-column: 2; grid-row: 1; }
.store-co-line__name { font-size: 14px; line-height: 1.35; }
body.woocommerce-checkout:not(.woocommerce-order-received) td.product-name .variation {
  grid-column: 2;
  grid-row: 2;
  margin: 2px 0 0;
  font-size: 12px;
  color: #6d7175;
}
body.woocommerce-checkout:not(.woocommerce-order-received) td.product-name .product-quantity { display: none; }

.store-co-coupon {
  display: flex;
  gap: 8px;
  margin: 8px 0 4px;
}
.store-co-coupon-input {
  flex: 1;
  min-width: 0;
  height: 46px;
  padding: 0 14px;
  border: 1px solid #dedede;
  border-radius: 12px;
  background: #fff;
  font-size: 14px;
}
.store-co-coupon-apply {
  width: auto;
  flex: 0 0 auto;
  height: 46px;
  padding: 0 16px;
  border: 1px solid #dedede !important;
  border-radius: 12px !important;
  background: #f5f5f5 !important;
  color: #111 !important;
  font-weight: 500;
}
.store-co-coupon .woocommerce-error,
.store-co-coupon .woocommerce-message { margin: 8px 0 0; }

body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-checkout-review-order-table .woocommerce-shipping-methods { display: none; }
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-checkout-review-order-table tfoot td,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-checkout-review-order-table .product-total {
  text-align: right;
}
body.woocommerce-checkout:not(.woocommerce-order-received) tr.shipping td {
  position: relative;
  text-align: right;
}
body.woocommerce-checkout:not(.woocommerce-order-received) tr.shipping td::after {
  content: "";
  display: table;
  clear: both;
}
body.woocommerce-checkout:not(.woocommerce-order-received) .ct-shipping-heading {
  float: left;
  position: relative;
  color: transparent;
  font-size: 14px;
  font-weight: 400;
}
body.woocommerce-checkout:not(.woocommerce-order-received) .ct-shipping-heading::after {
  content: "Shipping";
  position: absolute;
  left: 0;
  top: 0;
  color: #1a1a1a;
  font-size: 14px;
  font-weight: 400;
}
.store-co-ship-chosen {
  float: right;
  font-size: 14px;
  font-weight: 400;
  color: #1a1a1a;
  line-height: 21px;
}
.store-co-ship-chosen.is-pending { color: rgba(0, 0, 0, 0.56); }
body.woocommerce-checkout:not(.woocommerce-order-received) tfoot .order-total th,
body.woocommerce-checkout:not(.woocommerce-order-received) tfoot .order-total td {
  padding-top: 14px;
  border-top: 1px solid #e5e5e5;
  font-size: 1.15rem;
  font-weight: 700;
}
body.woocommerce-checkout:not(.woocommerce-order-received) .order-total td .amount::before {
  content: none;
}

body.woocommerce-checkout:not(.woocommerce-order-received) form.woocommerce-form-login {
  width: min(560px, calc(58% - 40px));
  margin: 16px 42% 0 auto;
  padding: 16px 20px;
  box-sizing: border-box;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .ct-customer-details,
body.woocommerce-checkout:not(.woocommerce-order-received) .ct-order-review {
  color: #1a1a1a;
  font-size: 14px;
  font-weight: 400;
}
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-billing-fields input.input-text,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-billing-fields select,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-billing-fields .select2-selection__rendered,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-shipping-fields input.input-text,
body.woocommerce-checkout:not(.woocommerce-order-received) .store-co-coupon-input {
  font-size: 14px !important;
  font-weight: 400;
  color: #1a1a1a !important;
}
body.woocommerce-checkout:not(.woocommerce-order-received) input::placeholder,
body.woocommerce-checkout:not(.woocommerce-order-received) textarea::placeholder {
  color: rgba(0, 0, 0, 0.56);
  opacity: 1;
}
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-shipping-methods label,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-account-fields label,
body.woocommerce-checkout:not(.woocommerce-order-received) #ship-to-different-address,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-terms-and-conditions-wrapper,
body.woocommerce-checkout:not(.woocommerce-order-received) .store-co-line__name,
body.woocommerce-checkout:not(.woocommerce-order-received) .product-total,
body.woocommerce-checkout:not(.woocommerce-order-received) tr.cart-subtotal th,
body.woocommerce-checkout:not(.woocommerce-order-received) tr.cart-subtotal td,
body.woocommerce-checkout:not(.woocommerce-order-received) tr.shipping th,
body.woocommerce-checkout:not(.woocommerce-order-received) .ct-shipping-heading::after,
body.woocommerce-checkout:not(.woocommerce-order-received) .store-co-ship-chosen {
  font-size: 14px;
  font-weight: 400;
  color: #1a1a1a;
}
body.woocommerce-checkout:not(.woocommerce-order-received) td.product-name .variation,
body.woocommerce-checkout:not(.woocommerce-order-received) .store-co-payment-note {
  color: rgba(0, 0, 0, 0.56);
}
body.woocommerce-checkout:not(.woocommerce-order-received) tfoot .order-total th,
body.woocommerce-checkout:not(.woocommerce-order-received) tfoot .order-total td {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
}
body.woocommerce-checkout:not(.woocommerce-order-received) .store-co-policies a,
body.woocommerce-checkout:not(.woocommerce-order-received) .store-co-signin {
  color: #c71a2b;
  font-weight: 400;
}
body.woocommerce-checkout:not(.woocommerce-order-received) .store-co-policies a { font-size: 12px; }

@media (max-width: 999px) {
  .store-co-header { padding: 0 16px; }
  body.woocommerce-checkout:not(.woocommerce-order-received) form.ct-woocommerce-checkout {
    display: flex;
    flex-direction: column;
    max-width: none;
    margin: 0;
    padding: 0;
  }
  body.woocommerce-checkout:not(.woocommerce-order-received) .ct-order-review {
    order: -1;
    width: 100%;
    min-height: 0;
    padding: 0;
    background: #fafafa;
  }
  body.woocommerce-checkout:not(.woocommerce-order-received) .store-co-summary-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 18px;
    border: 0;
    border-bottom: 1px solid #eee;
    background: #fafafa;
    color: var(--wp--preset--color--brand, #d6272e);
    font-size: 14px;
    cursor: pointer;
  }
  .store-co-summary-toggle__label::before {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    margin-right: 8px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    vertical-align: middle;
  }
  .ct-order-review.is-open .store-co-summary-toggle__label::before {
    transform: rotate(180deg);
  }
  .store-co-summary-toggle__total {
    color: #111;
    font-weight: 600;
  }
  body.woocommerce-checkout:not(.woocommerce-order-received) .ct-order-review:not(.is-open) #order_review {
    display: none;
  }
  body.woocommerce-checkout:not(.woocommerce-order-received) #order_review {
    position: static;
    max-width: none;
    padding: 12px 16px 16px;
  }
  body.woocommerce-checkout:not(.woocommerce-order-received) .ct-customer-details {
    width: 100%;
    margin: 0;
    padding: 8px 16px 48px;
  }
  body.woocommerce-checkout:not(.woocommerce-order-received) #billing_first_name_field,
  body.woocommerce-checkout:not(.woocommerce-order-received) #billing_last_name_field,
  body.woocommerce-checkout:not(.woocommerce-order-received) #billing_city_field,
  body.woocommerce-checkout:not(.woocommerce-order-received) #billing_state_field,
  body.woocommerce-checkout:not(.woocommerce-order-received) #billing_postcode_field {
    grid-column: 1 / -1;
  }
  body.woocommerce-checkout:not(.woocommerce-order-received) form.woocommerce-form-login {
    margin: 12px 16px;
    max-width: none;
  }
  body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-notices-wrapper,
  body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce > .woocommerce-notices-wrapper,
  body.woocommerce-checkout:not(.woocommerce-order-received) form.ct-woocommerce-checkout > .woocommerce-NoticeGroup {
    width: auto;
    margin: 12px 16px 0;
  }
}

/* Buttons: consistent radius across core buttons and WooCommerce buttons */
.wp-block-button__link,
.wc-block-components-button,
.button,
button.single_add_to_cart_button {
  border-radius: var(--wp--custom--radius--button);
}

/* Product grid: tighter, Shopify-like spacing on mobile */
@media (max-width: 689px) {
  .products[data-products] {
    --grid-columns-gap: 12px;
  }
}

/* Mobile header matches the reference: menu | centered logo | search + cart icon.
   The dollar amount beside the cart is removed on every breakpoint. The announcement
   bar stays on desktop and is hidden on the phone row, which is a single icon bar. */
.ct-header-cart .ct-label,
[data-id="cart"] .ct-label,
header [data-id="cart"] .amount,
header [data-id="cart"] .woocommerce-Price-amount,
.ct-header-cart .ct-cart-total {
  display: none !important;
}
@media (max-width: 999px) {
  [data-device="mobile"] [data-row="top"],
  [data-device="mobile"] [data-id="account"] {
    display: none;
  }
}

/* Homepage "Choose your setup" is retired. Hide it if a saved page still contains the old section. */
.home .wp-block-group.alignfull:has(> .wp-block-columns.store-grid-2) {
  display: none !important;
}

.store-featured > .wp-block-group > h2,
.store-media-reviews > .wp-block-group > h2,
.store-quotes > .wp-block-group > h2 {
  font-weight: 600;
}
@media (max-width: 767px) {
  .store-featured > .wp-block-group > h2,
  .store-media-reviews > .wp-block-group > h2,
  .store-quotes > .wp-block-group > h2 {
    font-size: 24px;
    line-height: 30px;
  }
  .store-featured > .wp-block-group > p,
  .store-media-reviews > .wp-block-group > p,
  .store-quotes > .wp-block-group > p {
    font-size: 14px;
    line-height: 20px;
  }
}

/* Media reviews: peeking portrait cards, side arrows under 1280px, dots underneath. */
.store-carousel--media .store-carousel__track {
  gap: 8px;
  scroll-padding-inline: 0;
}
.store-media-card {
  position: relative;
  display: block;
  flex: 0 0 76%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 16px;
  color: #fff;
  text-decoration: none;
  scroll-snap-align: start;
}
.store-media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.store-media-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .8) 0%, rgba(0, 0, 0, .28) 42%, transparent 70%);
}
.store-media-card__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
}
.store-media-card__name {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}
.store-media-card__text {
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, .8);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.store-media-card__more {
  font-size: 14px;
  font-weight: 500;
}
.store-carousel--media > .store-carousel__btn {
  position: absolute;
  top: 42%;
  z-index: 2;
  background: rgba(255, 255, 255, .72);
  border: 0;
  transform: translateY(-50%);
}
.store-carousel--media > .store-carousel__btn--prev { left: 8px; }
.store-carousel--media > .store-carousel__btn--next { right: 8px; }
@media (min-width: 640px) {
  .store-media-card { flex-basis: calc((100% - 8px) / 2.2); }
}
@media (min-width: 1024px) {
  .store-carousel--media .store-carousel__track { gap: 12px; }
  .store-media-card { flex-basis: calc((100% - 24px) / 3); }
}
@media (min-width: 1280px) {
  .store-carousel--media .store-carousel__track { gap: 16px; }
  .store-media-card { flex-basis: calc((100% - 48px) / 4); }
  .store-carousel--media > .store-carousel__btn { display: none; }
}

/* What Gamers Say: two marquee rows, opposite directions. */
.store-marquee {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}
.store-marquee__row {
  overflow: hidden;
}
.store-marquee__track {
  display: flex;
  width: max-content;
  animation: store-marquee 40s linear infinite;
}
.store-marquee__row--reverse .store-marquee__track {
  animation-direction: reverse;
}
.store-marquee__group {
  display: flex;
  gap: 16px;
  padding-right: 16px;
}
.store-quote {
  flex: 0 0 18rem;
  width: 18rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  min-height: 10rem;
  padding: 20px;
  border: 1px solid color-mix(in srgb, var(--wp--preset--color--border) 70%, transparent);
  border-radius: 16px;
  background: var(--wp--preset--color--base);
  box-shadow: 0 1px 2px rgba(15, 23, 32, .06);
}
.store-quote__text {
  margin: 0;
  flex: 1;
  font-size: 14px;
  line-height: 1.6;
  color: var(--wp--preset--color--body);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.store-quote__who {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}
.store-quote__avatar {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--wp--preset--color--brand) 12%, white);
  color: var(--wp--preset--color--brand);
  font-size: 12px;
  font-weight: 600;
}
.store-quote__meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.store-quote__meta strong {
  font-size: 14px;
  font-weight: 500;
  color: var(--wp--preset--color--ink);
}
.store-quote__meta span {
  font-size: 12px;
  color: var(--wp--preset--color--body);
}
@keyframes store-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.store-marquee__row:hover .store-marquee__track,
.store-marquee__row:focus-within .store-marquee__track {
  animation-play-state: paused;
}
@media (min-width: 768px) {
  .store-quote {
    flex-basis: 20rem;
    width: 20rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .store-marquee__track {
    animation: none;
  }
}

/* Mobile drawer: full-screen sheet, logo + close, accordion rows, mega groups as a 2-column icon grid.
   The reference also has an account card, language picker and theme switch; those stay out. */
@media (max-width: 999px) {
  #offcanvas.ct-panel {
    --side-panel-width: 100vw;
    --drawer-panel-width: 100vw;
    width: 100vw !important;
    max-width: none !important;
    --ico-pad: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12h4M8 10v4M15 11h.01M18 13h.01'/%3E%3Cpath d='M2 10.5C2 8 3.5 7 6 7h12c2.5 0 4 1 4 3.5 0 3-2 6.5-4.5 6.5-1.5 0-2-.8-2.8-1.6-.5-.5-1.1-.9-1.7-.9s-1.2.4-1.7.9c-.8.8-1.3 1.6-2.8 1.6C4 17 2 13.5 2 10.5z'/%3E%3C/svg%3E");
    --ico-monitor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Crect x='3' y='4' width='18' height='12' rx='2'/%3E%3Cpath d='M8 20h8M12 16v4'/%3E%3C/svg%3E");
    --ico-xbox: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M7 12.5c1.6-2 3.2-3 5-3s3.4 1 5 3c-1.4 2.2-3 3.5-5 3.5s-3.6-1.3-5-3.5z'/%3E%3C/svg%3E");
    --ico-switch: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8'%3E%3Crect x='3' y='5' width='7' height='14' rx='3'/%3E%3Crect x='14' y='5' width='7' height='14' rx='3'/%3E%3Cpath d='M6.5 8.5h.01M17.5 15.5h.01'/%3E%3C/svg%3E");
    --ico-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8'%3E%3Crect x='7' y='2' width='10' height='20' rx='2'/%3E%3Cpath d='M11 18h2'/%3E%3C/svg%3E");
    --ico-spark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M12 3l1.6 5.2L19 10l-5.4 1.8L12 17l-1.6-5.2L5 10l5.4-1.8L12 3z'/%3E%3C/svg%3E");
    --ico-ring: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M12 3v3M12 18v3M3 12h3M18 12h3M5.6 5.6l2.1 2.1M16.3 16.3l2.1 2.1M18.4 5.6l-2.1 2.1M7.7 16.3l-2.1 2.1'/%3E%3C/svg%3E");
  }
  #offcanvas .ct-panel-inner {
    min-height: 100%;
    background: linear-gradient(180deg, #ffffff 0%, #ffffff 58%, #fde8e4 100%);
  }
  #offcanvas .ct-panel-actions {
    position: absolute !important;
    top: 14px !important;
    right: 10px !important;
    z-index: 40 !important;
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: transparent;
    box-shadow: none;
  }
  #offcanvas .ct-toggle-close {
    position: relative;
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    color: #111;
    opacity: 1 !important;
  }
  #offcanvas .ct-toggle-close svg {
    display: none !important;
  }
  #offcanvas .ct-toggle-close::before,
  #offcanvas .ct-toggle-close::after {
    content: "";
    position: absolute;
    left: 10px;
    top: 19px;
    width: 18px;
    height: 2px;
    background: #111;
    border-radius: 1px;
  }
  #offcanvas .ct-toggle-close::before { transform: rotate(45deg); }
  #offcanvas .ct-toggle-close::after { transform: rotate(-45deg); }
  #offcanvas [data-id="logo"] {
    padding: 22px 56px 0 24px;
  }
  #offcanvas [data-id="logo"] img,
  #offcanvas [data-id="logo"] .site-logo-container {
    height: 28px;
    width: auto;
    max-width: 168px;
  }
  #offcanvas .mobile-menu {
    padding: 8px 8px 40px;
  }
  #offcanvas .mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  #offcanvas .mobile-menu > ul > li > a,
  #offcanvas .mobile-menu > ul > li > .ct-sub-menu-parent > a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #0f172a;
    text-decoration: none;
  }
  #offcanvas .mobile-menu .ct-sub-menu-parent {
    display: flex;
    align-items: center;
    width: 100%;
  }
  #offcanvas .mobile-menu > ul > li > .ct-sub-menu-parent > a {
    flex: 1;
  }
  #offcanvas .mobile-menu > ul > li.menu-item-has-children > .ct-sub-menu-parent {
    position: relative;
  }
  #offcanvas .mobile-menu > ul > li.menu-item-has-children > .ct-sub-menu-parent > a {
    padding-right: 44px;
  }
  #offcanvas .mobile-menu > ul > li.menu-item-has-children > .ct-sub-menu-parent .ct-toggle-dropdown-mobile {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    margin: 0;
    border: 0;
    background: transparent;
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    color: #64748b;
  }
  #offcanvas .mobile-menu > ul > li.menu-item-has-children > .ct-sub-menu-parent .ct-toggle-dropdown-mobile svg,
  #offcanvas .mobile-menu > ul > li.menu-item-has-children > .ct-sub-menu-parent .ct-toggle-dropdown-mobile .ct-icon {
    display: none !important;
  }
  #offcanvas .mobile-menu > ul > li.menu-item-has-children > .ct-sub-menu-parent::after {
    content: "";
    position: absolute;
    right: 18px;
    top: 50%;
    width: 8px;
    height: 8px;
    margin-top: -6px;
    border-right: 1.5px solid #64748b;
    border-bottom: 1.5px solid #64748b;
    transform: rotate(45deg);
    pointer-events: none;
  }
  #offcanvas .mobile-menu > ul > li.menu-item-has-children.is-open > .ct-sub-menu-parent::after {
    margin-top: -2px;
    transform: rotate(225deg);
  }
  #offcanvas .mobile-menu li.mega > .sub-menu > .menu-item-has-children > .ct-sub-menu-parent > a {
    min-height: 0;
    padding: 16px 16px 4px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #64748b;
    pointer-events: none;
  }
  #offcanvas .mobile-menu li.mega > .sub-menu > .menu-item-has-children > .ct-sub-menu-parent .ct-toggle-dropdown-mobile {
    display: none;
  }
  #offcanvas .mobile-menu li.mega > .sub-menu > .menu-item-has-children > .sub-menu {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    position: static !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    transform: none !important;
    box-shadow: none !important;
    background: transparent !important;
    width: auto !important;
    min-width: 0 !important;
    padding: 0 8px 4px !important;
  }
  #offcanvas .mobile-menu li.mega > .sub-menu > .menu-item-has-children > .sub-menu > li:only-child {
    grid-column: 1 / -1;
  }
  #offcanvas .mobile-menu li.mega > .sub-menu > .menu-item-has-children > .sub-menu > li > a {
    display: flex !important;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.25;
    color: #0f172a;
    text-decoration: none;
  }
  #offcanvas .mobile-menu .store-menu-ico {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    display: block;
    color: #64748b;
  }
  #offcanvas .mobile-menu .store-menu-label {
    min-width: 0;
  }
  #offcanvas .mobile-menu > ul > li:not(.mega) > .sub-menu > li > a {
    display: flex;
    align-items: center;
    min-height: 40px;
    padding: 8px 16px 8px 28px;
    font-size: 14px;
    font-weight: 500;
    color: #0f172a;
    text-decoration: none;
  }
}

/* Technology, ambassadors, and unboxing — portrait cards in a sideways carousel. */
.store-carousel--tech .store-carousel__track,
.store-carousel--people .store-carousel__track,
.store-carousel--unbox .store-carousel__track {
  display: flex !important;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  margin-top: 28px;
}
.store-carousel--tech .store-carousel__track::-webkit-scrollbar,
.store-carousel--people .store-carousel__track::-webkit-scrollbar,
.store-carousel--unbox .store-carousel__track::-webkit-scrollbar {
  display: none;
}
.store-tech-card {
  flex: 0 0 86%;
  scroll-snap-align: start;
  min-width: 0;
}
.store-tech-card img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 16px;
}
.store-tech-card h3 {
  margin: 14px 0 6px;
  font-size: 18px;
  font-weight: 650;
  line-height: 1.25;
}
.store-tech-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--wp--preset--color--body);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.store-tech-card.is-open p {
  display: block;
  -webkit-line-clamp: unset;
}
.store-tech-more {
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: none;
  color: #0f172a;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.store-person {
  position: relative;
  flex: 0 0 calc((100% - 12px) / 2.2);
  aspect-ratio: 3 / 5;
  border-radius: 12px;
  overflow: hidden;
  scroll-snap-align: start;
}
.store-person img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.store-person__meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 12px 14px;
  background: linear-gradient(to top, rgba(0, 0, 0, .72), transparent);
  color: #fff;
}
.store-person__meta h3,
.store-person__meta p {
  margin: 0;
  color: #fff;
}
.store-person__meta h3 { font-size: 16px; font-weight: 650; }
.store-person__meta p { margin-top: 2px; font-size: 12px; color: rgba(255, 255, 255, .86); }
.store-unbox__tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-top: 22px;
  scrollbar-width: none;
}
.store-unbox__tabs::-webkit-scrollbar { display: none; }
.store-unbox__tab {
  flex: none;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #0f172a;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}
.store-unbox__tab.is-active {
  background: #111;
  color: #fff;
  border-color: #111;
}
.store-unbox__card {
  position: relative;
  display: block;
  flex: 0 0 72%;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  overflow: hidden;
  scroll-snap-align: start;
  color: #fff;
  text-decoration: none;
}
.store-unbox__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.store-unbox__card span {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  font-size: 16px;
  font-weight: 650;
}
@media (min-width: 768px) {
  .store-tech-card { flex-basis: calc((100% - 12px) / 2); }
  .store-person { flex-basis: calc((100% - 24px) / 3); }
  .store-unbox__card { flex-basis: calc((100% - 24px) / 3); }
}
@media (min-width: 1100px) {
  .store-tech-card { flex-basis: calc((100% - 36px) / 4); }
  .store-person { flex-basis: calc((100% - 36px) / 4); }
  .store-unbox__card { flex-basis: calc((100% - 48px) / 4); }
}

/* Mobile footer: logo, then accordion columns. No newsletter, social, locale, or payment row. */
.store-footer-logo { display: none; }
@media (max-width: 999px) {
  .store-footer-logo {
    display: block;
    padding: 28px 20px 8px;
    text-align: center;
  }
  .store-footer-logo img {
    height: 40px;
    width: auto;
  }
  footer.ct-footer [data-row="middle"] .ct-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 0;
  }
  footer.ct-footer [data-row="middle"] [data-column] {
    width: 100% !important;
    max-width: none !important;
    flex: none !important;
    border-top: 1px solid #ececec;
  }
  footer.ct-footer [data-row="middle"] .widget-title {
    font-size: 16px !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    margin: 0 !important;
    padding: 18px 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
  }
  footer.ct-footer [data-row="middle"] .widget-title::after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 1.5px solid #64748b;
    border-bottom: 1.5px solid #64748b;
    transform: rotate(45deg);
    margin-top: -4px;
    flex: none;
  }
  footer.ct-footer [data-row="middle"] .widget_nav_menu.is-open .widget-title::after {
    transform: rotate(225deg);
    margin-top: 2px;
  }
  footer.ct-footer [data-row="middle"] .widget_nav_menu > nav {
    display: none;
  }
  footer.ct-footer [data-row="middle"] .widget_nav_menu.is-open > nav {
    display: block;
    padding: 0 4px 14px;
  }
  footer.ct-footer [data-row="bottom"] .ct-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding-bottom: 28px;
  }
  footer.ct-footer .footer-menu-inline .menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
  }
}
