/* Commerce primitives are deliberately scoped to preserve GeneratePress chrome. */
.kanteen-child-commerce main {
  color: var(--kanteen-ink);
}

.kanteen-child-commerce .site-header .main-navigation .main-nav > ul > li > a {
  color: var(--kanteen-ink);
}

.kanteen-child-commerce .site-header .main-navigation .main-nav > ul > li > a:is(:hover, :focus, :active),
.kanteen-child-commerce .site-header .main-navigation .main-nav > ul > li[class*='current-menu-'] > a {
  color: var(--kanteen-ink);
}

.kanteen-child-commerce .site-header .menu-toggle {
  color: var(--kanteen-ink);
}

.kanteen-child-commerce .site-header .menu-toggle:is(:hover, :focus, :active) {
  color: var(--kanteen-ink);
}

.kanteen-child-commerce main :is(h1, h2, h3) {
  color: var(--kanteen-ink);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.kanteen-child-commerce main :is(a, button, input, select, textarea) {
  font: inherit;
}

.kanteen-child-commerce main :is(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--kanteen-focus);
  outline-offset: 3px;
}

.kanteen-child-commerce .kanteen-commerce-shell {
  box-sizing: border-box;
  margin-inline: auto;
  max-width: var(--kanteen-container);
  padding-inline: var(--kanteen-space-6);
}

.kanteen-child-commerce .kanteen-commerce-hero {
  background: var(--kanteen-ivory);
  border-bottom: var(--kanteen-border-width) solid var(--kanteen-border);
  padding-block: var(--kanteen-space-7) var(--kanteen-space-6);
}

/*
 * GeneratePress uses .header-wrap when its header is transparent and removed
 * from normal document flow. Reserve only the measured header height in that
 * mode, so regular (non-transparent) headers retain their native spacing.
 */
.kanteen-child-commerce:has(.header-wrap) {
  --kanteen-transparent-header-height: 109.984px;
}

.kanteen-child-commerce.woocommerce-shop:has(.header-wrap) .kanteen-shop-hero {
  padding-top: calc(var(--kanteen-transparent-header-height) + var(--kanteen-space-7));
}

.kanteen-child-commerce:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account):has(.header-wrap) .kanteen-page-hero {
  padding-top: calc(var(--kanteen-transparent-header-height) + var(--kanteen-space-7));
}

/*
 * Cart and Checkout use the full-width layout (like the Shop), where the blocks'
 * `.alignwide` class removes any max-width. Re-centre them in the same 1168px
 * container as the title band so content and breadcrumb line up.
 */
.kanteen-child-commerce.full-width-content :is(.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout).alignwide {
  box-sizing: border-box;
  margin-inline: auto;
  max-width: var(--kanteen-container);
  padding-inline: var(--kanteen-space-6);
}

@media (max-width: 1024px) {
  .kanteen-child-commerce.full-width-content :is(.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout).alignwide {
    padding-inline: var(--kanteen-space-5);
  }
}

/*
 * "Mon compte" is a classic shortcode page: same 1168px container as the title band,
 * and a plain vertical menu instead of the browser's bulleted list.
 */
.kanteen-child-commerce.woocommerce-account.full-width-content .entry-content > .woocommerce {
  box-sizing: border-box;
  margin-inline: auto;
  max-width: var(--kanteen-container);
  padding: var(--kanteen-space-6);
}

@media (max-width: 1024px) {
  .kanteen-child-commerce.woocommerce-account.full-width-content .entry-content > .woocommerce {
    padding-inline: var(--kanteen-space-5);
  }
}

/*
 * The order-received ("thank you") screen is also classic markup: same
 * 1168px container as the rest of checkout, instead of running edge to edge.
 */
.kanteen-child-commerce.woocommerce-order-received.full-width-content .entry-content > .woocommerce {
  box-sizing: border-box;
  margin-inline: auto;
  max-width: var(--kanteen-container);
  padding: var(--kanteen-space-6);
}

@media (max-width: 1024px) {
  .kanteen-child-commerce.woocommerce-order-received.full-width-content .entry-content > .woocommerce {
    padding-inline: var(--kanteen-space-5);
  }
}

.kanteen-child-commerce.woocommerce-account .woocommerce :is(button.button, a.button):not(.woocommerce-button--previous) {
  background: var(--kanteen-coral);
  border: var(--kanteen-border-width) solid var(--kanteen-coral);
  border-radius: var(--kanteen-radius-panel);
  color: var(--kanteen-ink);
  font-weight: 800;
  min-height: 44px;
  padding: 0.625rem var(--kanteen-space-5);
}

.kanteen-child-commerce.woocommerce-account .woocommerce :is(button.button, a.button):not(.woocommerce-button--previous):hover {
  background: var(--kanteen-coral-hover);
  border-color: var(--kanteen-coral-hover);
  color: var(--kanteen-ink);
}

/* Two columns: menu card + content. Replaces WooCommerce's 30% / 68% floats. */
.kanteen-child-commerce.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation) {
  display: grid;
  gap: var(--kanteen-space-7);
  grid-template-columns: 280px minmax(0, 1fr);
}

.kanteen-child-commerce.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation) > .woocommerce-notices-wrapper {
  grid-column: 1 / -1;
}

.kanteen-child-commerce.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation) > .woocommerce-notices-wrapper:empty {
  display: none;
}

/* WooCommerce's clearfix pseudo-elements would otherwise become grid cells. */
.kanteen-child-commerce.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation)::before,
.kanteen-child-commerce.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation)::after {
  display: none;
}

.kanteen-child-commerce .woocommerce-MyAccount-navigation,
.kanteen-child-commerce .woocommerce-MyAccount-content {
  float: none;
  width: auto;
}

.kanteen-child-commerce .woocommerce-MyAccount-navigation {
  align-self: start;
  background: var(--kanteen-ivory);
  border-radius: 16px;
  padding: var(--kanteen-space-3);
}

.kanteen-child-commerce .woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.kanteen-child-commerce .woocommerce-MyAccount-navigation li {
  margin: 0;
}

.kanteen-child-commerce .woocommerce-MyAccount-navigation a {
  align-items: center;
  border-radius: var(--kanteen-radius-panel);
  color: var(--kanteen-ink-soft);
  display: flex;
  font-weight: 600;
  gap: var(--kanteen-space-3);
  padding: var(--kanteen-space-3) 0.875rem;
  text-decoration: none;
}

.kanteen-child-commerce .woocommerce-MyAccount-navigation a::before {
  background: currentColor;
  content: "";
  flex-shrink: 0;
  height: 20px;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  width: 20px;
}

.kanteen-child-commerce .woocommerce-MyAccount-navigation .is-active a {
  background: var(--kanteen-white);
  box-shadow: 0 1px 0 var(--kanteen-border-strong);
  color: var(--kanteen-coral-text);
  font-weight: 800;
}

.kanteen-child-commerce .woocommerce-MyAccount-navigation a:hover {
  color: var(--kanteen-coral-text);
}

.kanteen-child-commerce .woocommerce-MyAccount-navigation-link--customer-logout {
  border-top: 1px solid var(--kanteen-border-strong);
  margin-top: var(--kanteen-space-2);
  padding-top: var(--kanteen-space-2);
}

.kanteen-child-commerce .woocommerce-MyAccount-navigation-link--customer-logout a {
  color: var(--kanteen-taupe);
}

.kanteen-child-commerce .woocommerce-MyAccount-navigation-link--dashboard a::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M3 11 12 3l9 8%22/%3E%3Cpath d=%22M5 10v10h14V10%22/%3E%3C/svg%3E");
}

.kanteen-child-commerce .woocommerce-MyAccount-navigation-link--orders a::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22m21 8-9-5-9 5v8l9 5 9-5z%22/%3E%3Cpath d=%22m3 8 9 5 9-5M12 13v8%22/%3E%3C/svg%3E");
}

.kanteen-child-commerce .woocommerce-MyAccount-navigation-link--edit-address a::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 21s7-6.2 7-11.5A7 7 0 0 0 5 9.5C5 14.8 12 21 12 21z%22/%3E%3Ccircle cx=%2212%22 cy=%229.5%22 r=%222.5%22/%3E%3C/svg%3E");
}

.kanteen-child-commerce .woocommerce-MyAccount-navigation-link--payment-methods a::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%223%22 y=%225%22 width=%2218%22 height=%2214%22 rx=%222%22/%3E%3Cpath d=%22M3 10h18%22/%3E%3C/svg%3E");
}

.kanteen-child-commerce .woocommerce-MyAccount-navigation-link--edit-account a::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2212%22 cy=%228%22 r=%224%22/%3E%3Cpath d=%22M4 21c1-4 4.5-6 8-6s7 2 8 6%22/%3E%3C/svg%3E");
}

.kanteen-child-commerce .woocommerce-MyAccount-navigation-link--customer-logout a::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M9 21H5V3h4M16 17l5-5-5-5M21 12H9%22/%3E%3C/svg%3E");
}

/* Addresses page: compact titles with the edit link on the same line. */
.kanteen-child-commerce .woocommerce-Address-title {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: var(--kanteen-space-2);
  margin-bottom: var(--kanteen-space-3);
}

.kanteen-child-commerce .woocommerce-Address-title h2 {
  font-size: 1.375rem;
  margin: 0;
  padding: 0;
}

.kanteen-child-commerce .woocommerce-Address-title a.edit {
  color: var(--kanteen-coral-text);
  float: none;
  font-weight: 700;
}

/* Dashboard (woocommerce/myaccount/dashboard.php) */
.kanteen-child-commerce .kanteen-account-title {
  font-size: 1.625rem;
  margin: 0 0 var(--kanteen-space-1);
}

.kanteen-child-commerce .kanteen-account-lead {
  color: var(--kanteen-taupe);
  margin: 0;
}

.kanteen-child-commerce .kanteen-account-tiles {
  display: grid;
  gap: var(--kanteen-space-4);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: var(--kanteen-space-5) 0 var(--kanteen-space-6);
}

.kanteen-child-commerce .kanteen-account-tile {
  background: var(--kanteen-white);
  border: 1.5px solid var(--kanteen-border-strong);
  border-radius: var(--kanteen-radius-card);
  color: var(--kanteen-ink);
  display: grid;
  gap: var(--kanteen-space-2);
  padding: 1.125rem;
  text-decoration: none;
  transition: border-color var(--kanteen-transition);
}

.kanteen-child-commerce .kanteen-account-tile:hover {
  border-color: var(--kanteen-coral);
  color: var(--kanteen-ink);
}

.kanteen-child-commerce .kanteen-account-tile .kanteen-account-icon {
  color: var(--kanteen-coral-text);
}

.kanteen-child-commerce .kanteen-account-tile span {
  color: var(--kanteen-taupe);
  font-size: 0.8125rem;
}

.kanteen-child-commerce .kanteen-account-subtitle {
  font-size: 1.25rem;
  margin: 0 0 var(--kanteen-space-3);
}

.kanteen-child-commerce table.kanteen-account-orders {
  border: 0;
  border-collapse: collapse;
  font-size: 0.875rem;
  margin: 0;
  width: 100%;
}

.kanteen-child-commerce .kanteen-account-orders :is(th, td) {
  background: transparent;
  border: 0;
  padding: 0.875rem var(--kanteen-space-3) 0.875rem 0;
  text-align: left;
  vertical-align: middle;
}

.kanteen-child-commerce .kanteen-account-orders th {
  color: var(--kanteen-taupe);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  padding-top: 0;
  text-transform: uppercase;
}

.kanteen-child-commerce .kanteen-account-orders td {
  border-top: 1px solid var(--kanteen-border);
}

.kanteen-child-commerce .kanteen-account-orders .kanteen-account-orders__total {
  padding-right: 0;
  text-align: right;
}

.kanteen-child-commerce .kanteen-account-orders a {
  color: var(--kanteen-ink);
  text-decoration: none;
}

.kanteen-child-commerce .kanteen-account-orders a:hover {
  color: var(--kanteen-coral-text);
}

.kanteen-child-commerce .kanteen-badge {
  background: #ffe9e0;
  border-radius: 999px;
  color: var(--kanteen-coral-text);
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.1875rem 0.625rem;
}

.kanteen-child-commerce .kanteen-badge--ok {
  background: #e5f2e6;
  color: var(--kanteen-stock);
}

.kanteen-child-commerce .kanteen-badge--muted {
  background: var(--kanteen-sand);
  color: var(--kanteen-ink-soft);
}

.kanteen-child-commerce .kanteen-account-more {
  margin: var(--kanteen-space-4) 0 0;
}

.kanteen-child-commerce .kanteen-account-more a {
  color: var(--kanteen-coral-text);
  font-weight: 700;
}

.kanteen-child-commerce .kanteen-account-empty {
  background: var(--kanteen-ivory);
  border-radius: var(--kanteen-radius-card);
  padding: var(--kanteen-space-5);
}

.kanteen-child-commerce .kanteen-account-empty p {
  margin: 0 0 var(--kanteen-space-4);
}

@media (max-width: 782px) {
  .kanteen-child-commerce.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation) {
    gap: var(--kanteen-space-5);
    grid-template-columns: minmax(0, 1fr);
  }

  /* Menu as a swipeable row of pills instead of a tall card. */
  .kanteen-child-commerce .woocommerce-MyAccount-navigation ul {
    display: flex;
    gap: var(--kanteen-space-1);
    overflow-x: auto;
    scrollbar-width: none;
  }

  .kanteen-child-commerce .woocommerce-MyAccount-navigation li {
    flex: none;
  }

  .kanteen-child-commerce .woocommerce-MyAccount-navigation a {
    white-space: nowrap;
  }

  .kanteen-child-commerce .woocommerce-MyAccount-navigation-link--customer-logout {
    border-top: 0;
    margin-top: 0;
    padding-top: 0;
  }

  .kanteen-child-commerce .kanteen-account-tiles {
    grid-template-columns: minmax(0, 1fr);
  }

  /* Orders table becomes one card per order. */
  .kanteen-child-commerce .kanteen-account-orders thead {
    display: none;
  }

  .kanteen-child-commerce .kanteen-account-orders :is(tbody, tr, td) {
    display: block;
  }

  .kanteen-child-commerce .kanteen-account-orders tr {
    border-top: 1px solid var(--kanteen-border);
    padding: var(--kanteen-space-3) 0;
  }

  .kanteen-child-commerce .kanteen-account-orders td {
    align-items: center;
    border: 0;
    display: flex;
    justify-content: space-between;
    padding: var(--kanteen-space-1) 0;
    text-align: right;
  }

  .kanteen-child-commerce .kanteen-account-orders td::before {
    color: var(--kanteen-taupe);
    content: attr(data-label);
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }
}

.kanteen-child-commerce.single-product:has(.header-wrap) .site-content {
  padding-top: calc(var(--kanteen-transparent-header-height) + var(--kanteen-space-3));
}

.kanteen-child-commerce .kanteen-commerce-hero > * {
  margin-block: 0;
}

.kanteen-child-commerce .kanteen-commerce-hero > * + * {
  margin-top: var(--kanteen-space-3);
}

.kanteen-child-commerce .kanteen-card {
  background: var(--kanteen-white);
  border: var(--kanteen-border-width) solid var(--kanteen-border);
  border-radius: var(--kanteen-radius-card);
  box-shadow: 0 8px 24px rgb(31 30 28 / 4%);
}

.kanteen-child-commerce .kanteen-button {
  align-items: center;
  background: var(--kanteen-coral);
  border: var(--kanteen-border-width) solid var(--kanteen-coral);
  border-radius: var(--kanteen-radius-panel);
  color: var(--kanteen-ink);
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  gap: var(--kanteen-space-2);
  justify-content: center;
  min-height: 44px;
  padding: 0.625rem var(--kanteen-space-5);
  text-align: center;
  text-decoration: none;
  transition: background-color var(--kanteen-transition), border-color var(--kanteen-transition), color var(--kanteen-transition), transform var(--kanteen-transition);
}

.kanteen-child-commerce .kanteen-button:hover {
  background: var(--kanteen-coral-hover);
  border-color: var(--kanteen-coral-hover);
  color: var(--kanteen-ink);
}

.kanteen-child-commerce .kanteen-button:active {
  transform: translateY(1px);
}

.kanteen-child-commerce .kanteen-button[aria-disabled='true'],
.kanteen-child-commerce .kanteen-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.kanteen-child-commerce .woocommerce-notices-wrapper,
.kanteen-child-commerce .wc-block-components-notice-banner,
.kanteen-child-commerce .woocommerce-error,
.kanteen-child-commerce .woocommerce-info,
.kanteen-child-commerce .woocommerce-message {
  border-radius: var(--kanteen-radius-control);
  overflow-wrap: anywhere;
}

/* Native notice/review actions need the same explicit reset as primary CTAs. */
.kanteen-child-commerce main .woocommerce-message .button,
.kanteen-child-commerce main .woocommerce-info .button,
.kanteen-child-commerce main .woocommerce-error .button,
.kanteen-child-commerce.single-product #review_form #respond .form-submit input {
  background: var(--kanteen-coral);
  border: 1px solid var(--kanteen-coral);
  border-radius: var(--kanteen-radius-control);
  box-sizing: border-box;
  color: var(--kanteen-ink);
  font-weight: 700;
  line-height: 1.4;
  min-height: 44px;
  padding: 10px var(--kanteen-space-4);
}

.kanteen-child-commerce main .woocommerce-message .button:hover,
.kanteen-child-commerce main .woocommerce-info .button:hover,
.kanteen-child-commerce main .woocommerce-error .button:hover,
.kanteen-child-commerce.single-product #review_form #respond .form-submit input:hover {
  background: var(--kanteen-coral-hover);
  border-color: var(--kanteen-coral-hover);
  color: var(--kanteen-ink);
}

/* Shop archive. Native result count, ordering and pagination retain their markup. */
.kanteen-child-commerce :is(.kanteen-shop-hero, .kanteen-page-hero) h1 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  margin: 0 0 var(--kanteen-space-3);
}

.kanteen-child-commerce :is(.kanteen-shop-hero, .kanteen-page-hero) .woocommerce-breadcrumb {
  color: var(--kanteen-taupe);
  font-size: 0.8125rem;
  margin-bottom: var(--kanteen-space-3);
}

.kanteen-child-commerce .kanteen-page-hero .woocommerce-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.kanteen-child-commerce .kanteen-page-hero .woocommerce-breadcrumb a:hover {
  color: var(--kanteen-ink);
  text-decoration: underline;
}

.kanteen-child-commerce .kanteen-shop-intro {
  color: var(--kanteen-taupe);
  line-height: 1.5;
  max-width: 640px;
}

.kanteen-child-commerce .kanteen-shop-intro p:last-child {
  margin-bottom: 0;
}

.kanteen-child-commerce .kanteen-shop-layout {
  display: grid;
  gap: var(--kanteen-space-7);
  grid-template-columns: 240px minmax(0, 1fr);
  padding-block: var(--kanteen-space-7) var(--kanteen-space-8);
}

.kanteen-child-commerce .kanteen-shop-results {
  min-width: 0;
}

.kanteen-child-commerce .kanteen-shop-filters [hidden] {
  display: none !important;
}

.kanteen-child-commerce .kanteen-shop-filters .kanteen-filter-heading {
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.065em;
  line-height: 1.4;
  margin: 0 0 var(--kanteen-space-3);
  text-transform: uppercase;
}

.kanteen-child-commerce .kanteen-category-list {
  border: 1px solid var(--kanteen-border);
  border-radius: var(--kanteen-radius-panel);
  list-style: none;
  margin: 0 0 var(--kanteen-space-7);
  overflow: hidden;
  padding: 0;
}

.kanteen-child-commerce .kanteen-category-list li + li {
  border-top: 1px solid var(--kanteen-border);
}

.kanteen-child-commerce .kanteen-category-list a {
  align-items: center;
  color: var(--kanteen-ink-soft);
  display: flex;
  font-size: 0.875rem;
  gap: var(--kanteen-space-3);
  justify-content: space-between;
  min-height: 44px;
  padding: var(--kanteen-space-3) var(--kanteen-space-4);
  text-decoration: none;
}

.kanteen-child-commerce .kanteen-category-list a:hover,
.kanteen-child-commerce .kanteen-category-list a[aria-current='page'] {
  background: var(--kanteen-ivory);
  color: var(--kanteen-coral-text);
  font-weight: 700;
}

.kanteen-child-commerce .kanteen-price-filter fieldset {
  border: 0;
  margin: 0;
  min-width: 0;
  padding: 0;
}

.kanteen-child-commerce .kanteen-price-fields {
  display: grid;
  gap: var(--kanteen-space-3);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: var(--kanteen-space-4);
}

.kanteen-child-commerce .kanteen-price-fields label {
  color: var(--kanteen-taupe);
  font-size: 0.8125rem;
  min-width: 0;
}

.kanteen-child-commerce .kanteen-price-fields input {
  background: var(--kanteen-white);
  border: 1px solid var(--kanteen-border-strong);
  border-radius: var(--kanteen-radius-control);
  box-sizing: border-box;
  color: var(--kanteen-ink);
  margin-top: var(--kanteen-space-2);
  min-height: 44px;
  min-width: 0;
  padding: var(--kanteen-space-2);
  width: 100%;
}

/* Price slider (built by assets/js/price-slider.js; number fields stay as no-JS fallback). */
.kanteen-child-commerce .kanteen-price-filter.is-enhanced .kanteen-price-fields {
  display: none;
}

.kanteen-child-commerce .kanteen-price-slider {
  margin-bottom: var(--kanteen-space-5);
}

.kanteen-child-commerce .kanteen-price-slider__head {
  align-items: center;
  display: flex;
  gap: var(--kanteen-space-3);
  justify-content: space-between;
  margin-bottom: var(--kanteen-space-4);
}

.kanteen-child-commerce .kanteen-price-slider__value {
  color: var(--kanteen-ink);
  font-size: 1.125rem;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  line-height: 1.3;
}

.kanteen-child-commerce .kanteen-price-slider__clear {
  background: var(--kanteen-white);
  border: 1px solid var(--kanteen-border-strong);
  border-radius: var(--kanteen-radius-control);
  color: var(--kanteen-taupe);
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 600;
  min-height: 32px;
  padding: 0 var(--kanteen-space-3);
  transition: color var(--kanteen-transition), border-color var(--kanteen-transition);
}

.kanteen-child-commerce .kanteen-price-slider__clear:hover:not(:disabled) {
  border-color: var(--kanteen-ink);
  color: var(--kanteen-ink);
}

.kanteen-child-commerce .kanteen-price-slider__clear:disabled {
  cursor: default;
  opacity: 0.5;
}

.kanteen-child-commerce .kanteen-price-slider__clear:focus-visible {
  box-shadow: var(--kanteen-focus-ring);
  outline: none;
}

.kanteen-child-commerce .kanteen-price-slider__control {
  height: 28px;
  margin-inline: 10px; /* Half a thumb, so handles at the ends stay inside the panel. */
  position: relative;
}

.kanteen-child-commerce .kanteen-price-slider__track {
  background: var(--kanteen-border-strong);
  border-radius: 999px;
  height: 8px;
  left: -10px;
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
}

.kanteen-child-commerce .kanteen-price-slider__range {
  background: var(--kanteen-coral);
  border-radius: 999px;
  bottom: 0;
  position: absolute;
  top: 0;
}

.kanteen-child-commerce .kanteen-price-slider__input {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  height: 28px;
  left: -10px;
  margin: 0;
  pointer-events: none;
  position: absolute;
  top: 0;
  width: calc(100% + 20px);
}

.kanteen-child-commerce .kanteen-price-slider__input::-webkit-slider-runnable-track {
  background: transparent;
  height: 28px;
}

.kanteen-child-commerce .kanteen-price-slider__input::-moz-range-track {
  background: transparent;
  height: 28px;
}

.kanteen-child-commerce .kanteen-price-slider__input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  background: var(--kanteen-white);
  border: 2px solid var(--kanteen-coral);
  border-radius: 50%;
  box-shadow: 0 1px 4px rgb(31 30 28 / 0.25);
  box-sizing: border-box;
  cursor: grab;
  height: 20px;
  margin-top: 4px;
  pointer-events: auto;
  transition: transform var(--kanteen-transition);
  width: 20px;
}

.kanteen-child-commerce .kanteen-price-slider__input::-moz-range-thumb {
  background: var(--kanteen-white);
  border: 2px solid var(--kanteen-coral);
  border-radius: 50%;
  box-shadow: 0 1px 4px rgb(31 30 28 / 0.25);
  box-sizing: border-box;
  cursor: grab;
  height: 20px;
  pointer-events: auto;
  transition: transform var(--kanteen-transition);
  width: 20px;
}

.kanteen-child-commerce .kanteen-price-slider__input:hover::-webkit-slider-thumb,
.kanteen-child-commerce .kanteen-price-slider__input:active::-webkit-slider-thumb {
  transform: scale(1.2);
}

.kanteen-child-commerce .kanteen-price-slider__input:hover::-moz-range-thumb,
.kanteen-child-commerce .kanteen-price-slider__input:active::-moz-range-thumb {
  transform: scale(1.2);
}

.kanteen-child-commerce .kanteen-price-slider__input:focus-visible {
  outline: none;
}

.kanteen-child-commerce .kanteen-price-slider__input:focus-visible::-webkit-slider-thumb {
  box-shadow: var(--kanteen-focus-ring);
}

.kanteen-child-commerce .kanteen-price-slider__input:focus-visible::-moz-range-thumb {
  box-shadow: var(--kanteen-focus-ring);
}

.kanteen-child-commerce .kanteen-price-slider__control.is-low-on-top .kanteen-price-slider__input:first-of-type {
  z-index: 2;
}

.kanteen-child-commerce .kanteen-price-slider__ticks {
  color: var(--kanteen-muted-light);
  display: flex;
  font-size: 0.6875rem;
  font-weight: 600;
  justify-content: space-between;
  margin-top: var(--kanteen-space-2);
  user-select: none;
}

.kanteen-child-commerce .kanteen-shop-results .woocommerce-result-count {
  color: var(--kanteen-taupe);
  font-size: 0.875rem;
  line-height: 44px;
  margin-bottom: var(--kanteen-space-5);
}

.kanteen-child-commerce .kanteen-shop-results .woocommerce-ordering {
  margin-bottom: var(--kanteen-space-5);
  max-width: 100%;
}

.kanteen-child-commerce .kanteen-shop-results .orderby {
  background: var(--kanteen-white);
  border: 1px solid var(--kanteen-border-strong);
  border-radius: var(--kanteen-radius-control);
  color: var(--kanteen-ink-soft);
  font-size: 0.875rem;
  max-width: 100%;
  min-height: 44px;
  padding: var(--kanteen-space-2) var(--kanteen-space-3);
}

.kanteen-child-commerce .kanteen-shop-results ul.products {
  clear: both;
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: 0 0 var(--kanteen-space-7);
  padding: 0;
}

.kanteen-child-commerce .kanteen-shop-results ul.products::before,
.kanteen-child-commerce .kanteen-shop-results ul.products::after {
  display: none;
}

.kanteen-child-commerce .kanteen-shop-results ul.products li.product.kanteen-product-card {
  clear: none;
  display: flex;
  flex-direction: column;
  float: none;
  gap: var(--kanteen-space-3);
  margin: 0;
  min-width: 0;
  width: auto;
}

/* Card design "B · Panneau": ivory panel, hover photo, round cart button beside the price. */
.kanteen-child-commerce ul.products li.product.kanteen-product-card {
  background: var(--kanteen-ivory);
  border: 1px solid var(--kanteen-border);
  border-radius: 16px;
  box-sizing: border-box;
  padding: 12px 12px 16px;
  position: relative;
  transition: box-shadow var(--kanteen-transition), border-color var(--kanteen-transition);
}

.kanteen-child-commerce ul.products li.product.kanteen-product-card:hover,
.kanteen-child-commerce ul.products li.product.kanteen-product-card:focus-within {
  border-color: var(--kanteen-border-strong);
  box-shadow: 0 8px 24px rgb(31 30 28 / 0.08);
}

.kanteen-child-commerce ul.products li.product.kanteen-product-card :is(.kanteen-product-category, .woocommerce-loop-product__title, .star-rating, .price) {
  margin-inline: 4px;
}

.kanteen-child-commerce .kanteen-product-card .woocommerce-LoopProduct-link {
  color: var(--kanteen-ink);
  display: block;
  text-decoration: none;
}

.kanteen-child-commerce .kanteen-product-media {
  aspect-ratio: 1 / 1;
  background: var(--kanteen-sand);
  border-radius: var(--kanteen-radius-panel);
  margin-bottom: var(--kanteen-space-3);
  overflow: hidden;
  position: relative;
}

.kanteen-child-commerce ul.products li.product .kanteen-product-media img {
  height: 100%;
  margin: 0;
  object-fit: cover;
  transition: opacity 350ms ease, transform 600ms ease;
  width: 100%;
}

/* Second gallery photo, only revealed on devices that can hover. */
.kanteen-child-commerce ul.products li.product .kanteen-product-media img.kanteen-product-media__hover {
  inset: 0;
  opacity: 0;
  position: absolute;
}

@media (hover: hover) {
  .kanteen-child-commerce ul.products li.product.kanteen-product-card:is(:hover, :focus-within) .kanteen-product-media img.kanteen-product-media__hover {
    opacity: 1;
  }

  .kanteen-child-commerce ul.products li.product.kanteen-product-card:hover .kanteen-product-media img {
    transform: scale(1.03);
  }
}

@media (prefers-reduced-motion: reduce) {
  .kanteen-child-commerce ul.products li.product .kanteen-product-media img {
    transition: none;
  }

  .kanteen-child-commerce ul.products li.product.kanteen-product-card:hover .kanteen-product-media img {
    transform: none;
  }
}

.kanteen-child-commerce ul.products li.product .kanteen-product-media .onsale {
  background: var(--kanteen-coral);
  border-radius: 999px;
  color: var(--kanteen-ink);
  font-size: 0.6875rem;
  left: var(--kanteen-space-3);
  letter-spacing: 0.04em;
  line-height: 1.4;
  margin: 0;
  min-height: 0;
  min-width: 0;
  padding: 5px 10px;
  right: auto;
  text-transform: uppercase;
  top: var(--kanteen-space-3);
  z-index: 1;
}

.kanteen-child-commerce .kanteen-product-category {
  color: var(--kanteen-taupe);
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.075em;
  margin-bottom: var(--kanteen-space-1);
  text-transform: uppercase;
}

.kanteen-child-commerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.3;
  margin: 0 0 var(--kanteen-space-2);
  padding: 0;
}

.kanteen-child-commerce .kanteen-product-card .star-rating {
  color: var(--kanteen-amber);
  font-size: 0.8125rem;
  margin-bottom: var(--kanteen-space-2);
}

.kanteen-child-commerce ul.products li.product.kanteen-product-card .price {
  align-items: center;
  color: var(--kanteen-coral-text);
  display: flex;
  flex-wrap: wrap;
  font-size: 1rem;
  font-weight: 800;
  gap: 0 var(--kanteen-space-2);
  margin-block: 0;
  min-height: 44px;
  padding-right: 56px; /* Room for the round cart button. */
}

.kanteen-child-commerce .kanteen-product-card .price del {
  color: var(--kanteen-taupe);
  font-size: 0.8125rem;
  margin-right: var(--kanteen-space-2);
  opacity: 1;
}

.kanteen-child-commerce .kanteen-product-card .price ins {
  background: none;
  text-decoration: none;
}

/* Round cart button, bottom-right, aligned with the price row. */
.kanteen-child-commerce ul.products li.product.kanteen-product-card .button.kanteen-cart-btn {
  align-items: center;
  background: var(--kanteen-coral);
  border: 0;
  border-radius: 50%;
  bottom: 16px;
  box-sizing: border-box;
  color: var(--kanteen-ink);
  display: inline-flex;
  height: 44px;
  justify-content: center;
  margin: 0;
  min-height: 44px;
  padding: 0;
  position: absolute;
  right: 16px;
  transition: background var(--kanteen-transition), color var(--kanteen-transition);
  width: 44px;
}

.kanteen-child-commerce ul.products li.product.kanteen-product-card .button.kanteen-cart-btn:hover {
  background: var(--kanteen-coral-hover);
  color: var(--kanteen-ink);
}

.kanteen-child-commerce ul.products li.product.kanteen-product-card .button.kanteen-cart-btn:focus-visible {
  box-shadow: var(--kanteen-focus-ring);
  outline: none;
}

.kanteen-child-commerce ul.products li.product.kanteen-product-card .button.kanteen-cart-btn.added {
  background: var(--kanteen-ink);
  color: var(--kanteen-white);
}

.kanteen-child-commerce .kanteen-product-card .button.kanteen-cart-btn.loading {
  opacity: 0.65;
}

/* WooCommerce adds its own check / spinner glyph (::after): show it alone, centred. */
.kanteen-child-commerce ul.products li.product.kanteen-product-card .button.kanteen-cart-btn:is(.added, .loading) svg {
  display: none;
}

.kanteen-child-commerce ul.products li.product.kanteen-product-card .button.kanteen-cart-btn:is(.added, .loading)::after {
  margin: 0;
  position: static;
}

/* WooCommerce appends "Voir le panier" after an AJAX add: show it as a small tag above the button. */
.kanteen-child-commerce .kanteen-product-card .added_to_cart {
  background: var(--kanteen-ink);
  border-radius: var(--kanteen-radius-control);
  bottom: 68px;
  box-shadow: 0 4px 12px rgb(31 30 28 / 0.2);
  color: var(--kanteen-white);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
  padding: 8px var(--kanteen-space-3);
  position: absolute;
  right: 16px;
  text-decoration: none;
  white-space: nowrap;
  z-index: 3;
}

.kanteen-child-commerce .kanteen-shop-results .woocommerce-pagination ul {
  border: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--kanteen-space-2);
  justify-content: center;
}

.kanteen-child-commerce .kanteen-shop-results .woocommerce-pagination li {
  border: 0;
}

.kanteen-child-commerce .kanteen-shop-results .woocommerce-pagination :is(a, span) {
  border: 1px solid var(--kanteen-border-strong);
  border-radius: var(--kanteen-radius-control);
  box-sizing: border-box;
  color: var(--kanteen-ink);
  min-height: 44px;
  min-width: 44px;
  padding: 13px;
}

.kanteen-child-commerce .kanteen-shop-results .woocommerce-pagination .current {
  background: var(--kanteen-ink);
  color: var(--kanteen-white);
}

/* Single product: the gallery, forms and variation availability stay native. */
.kanteen-child-commerce.single-product div.product[id^='product-'] {
  box-sizing: border-box;
  column-gap: 56px;
  display: grid;
  grid-template-columns: minmax(0, 560fr) minmax(0, 552fr);
  margin-inline: auto;
  max-width: var(--kanteen-container);
  position: relative;
  row-gap: var(--kanteen-space-8);
}

.kanteen-child-commerce.single-product div.product[id^='product-'] > * {
  grid-column: 1 / -1;
  min-width: 0;
}

.kanteen-child-commerce.single-product #content div.product[id^='product-'] > .woocommerce-product-gallery {
  float: none;
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  width: 100%;
}

.kanteen-child-commerce.single-product #content div.product[id^='product-'] > .summary {
  float: none;
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  width: 100%;
}

.kanteen-child-commerce.single-product div.product .woocommerce-product-gallery__image {
  aspect-ratio: 1 / 1; /* Fixed frame: the carousel never changes height between photos. */
  background: var(--kanteen-sand);
  border-radius: var(--kanteen-radius-card);
  overflow: hidden;
}

.kanteen-child-commerce.single-product div.product .woocommerce-product-gallery__image > a {
  display: block;
  height: 100%;
}

.kanteen-child-commerce.single-product div.product .woocommerce-product-gallery__image img:not(.zoomImg) {
  border-radius: var(--kanteen-radius-card);
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.kanteen-child-commerce.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger {
  background: var(--kanteen-white);
  height: 44px;
  width: 44px;
  z-index: 3;
}

.kanteen-child-commerce.single-product div.product .woocommerce-product-gallery .flex-control-thumbs {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 12px;
}

.kanteen-child-commerce.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li {
  float: none;
  margin: 0;
  width: auto;
}

.kanteen-child-commerce.single-product div.product .flex-control-thumbs img {
  border: 2px solid transparent;
  border-radius: var(--kanteen-radius-panel);
  box-sizing: border-box;
}

.kanteen-child-commerce.single-product div.product .flex-control-thumbs .flex-active {
  border-color: var(--kanteen-coral);
}

.kanteen-child-commerce.single-product div.product[id^='product-'] > .onsale {
  background: var(--kanteen-coral);
  border-radius: 999px;
  color: var(--kanteen-ink);
  font-size: 0.75rem;
  left: var(--kanteen-space-4);
  line-height: 1.4;
  margin: 0;
  min-height: 0;
  min-width: 0;
  padding: 6px 12px;
  pointer-events: none;
  position: absolute;
  top: var(--kanteen-space-4);
  z-index: 2;
}

.kanteen-child-commerce.single-product .summary .kanteen-product-category {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  margin-bottom: var(--kanteen-space-4);
}

.kanteen-child-commerce.single-product div.product .product_title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin: 0 0 var(--kanteen-space-4);
}

.kanteen-child-commerce.single-product .summary .woocommerce-product-rating {
  font-size: 0.8125rem;
  margin-bottom: var(--kanteen-space-4);
}

.kanteen-child-commerce.single-product .summary .star-rating {
  color: var(--kanteen-amber);
}

.kanteen-child-commerce.single-product .summary .woocommerce-review-link {
  color: var(--kanteen-taupe);
  text-decoration: underline;
}

.kanteen-child-commerce.single-product div.product .summary .price {
  color: var(--kanteen-coral-text);
  font-size: 2.125rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: var(--kanteen-space-4);
}

.kanteen-child-commerce.single-product .summary .price del {
  color: var(--kanteen-taupe);
  font-size: 1.25rem;
  font-weight: 400;
  margin-right: var(--kanteen-space-2);
  opacity: 1;
}

.kanteen-child-commerce.single-product .summary .price ins {
  background: transparent;
  text-decoration: none;
}

.kanteen-child-commerce.single-product .summary .price .woocommerce-price-suffix {
  color: var(--kanteen-taupe);
  font-size: 0.8125rem;
  font-weight: 400;
}

.kanteen-child-commerce.single-product .woocommerce-product-details__short-description {
  color: var(--kanteen-ink-soft);
  font-size: 0.9375rem;
  line-height: 1.65;
  margin-bottom: var(--kanteen-space-5);
}

.kanteen-child-commerce.single-product div.product .stock {
  color: var(--kanteen-stock);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: var(--kanteen-space-4);
}

.kanteen-child-commerce.single-product div.product .stock::before {
  background: currentColor;
  border-radius: 50%;
  content: '';
  display: inline-block;
  height: 7px;
  margin-right: var(--kanteen-space-2);
  vertical-align: middle;
  width: 7px;
}

.kanteen-child-commerce.single-product div.product .out-of-stock {
  color: var(--kanteen-error);
}

.kanteen-child-commerce.single-product div.product .available-on-backorder {
  color: var(--kanteen-ink-soft);
}

.kanteen-child-commerce.single-product div.product form.cart {
  margin-bottom: var(--kanteen-space-5);
}

.kanteen-child-commerce.single-product div.product form.cart div.quantity {
  float: left;
  margin: 0 var(--kanteen-space-3) var(--kanteen-space-2) 0;
}

/* Keep browser number steppers and WooCommerce min/max/step constraints. */
.kanteen-child-commerce.single-product div.product .quantity .qty {
  background: var(--kanteen-ivory);
  border: 1px solid var(--kanteen-border-strong);
  border-radius: var(--kanteen-radius-panel);
  box-sizing: border-box;
  color: var(--kanteen-ink);
  font-size: 1rem;
  font-weight: 700;
  height: 56px;
  padding: 10px;
  text-align: center;
  width: 90px;
}

.kanteen-child-commerce.single-product div.product .single_add_to_cart_button {
  background: var(--kanteen-coral);
  border: 1px solid var(--kanteen-coral);
  border-radius: var(--kanteen-radius-panel);
  box-sizing: border-box;
  color: var(--kanteen-ink);
  float: none;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.4;
  min-height: 56px;
  padding: 14px var(--kanteen-space-5);
}

.kanteen-child-commerce.single-product div.product .single_add_to_cart_button:hover {
  background: var(--kanteen-coral-hover);
  border-color: var(--kanteen-coral-hover);
  color: var(--kanteen-ink);
}

.kanteen-child-commerce.single-product div.product .single_add_to_cart_button:is(.disabled, :disabled, .loading) {
  cursor: not-allowed;
  opacity: 0.55;
}

.kanteen-child-commerce.single-product div.product form.cart .variations {
  margin-bottom: var(--kanteen-space-4);
}

.kanteen-child-commerce.single-product div.product form.cart .variations :is(th, td) {
  padding-block: var(--kanteen-space-2);
  vertical-align: middle;
}

.kanteen-child-commerce.single-product div.product form.cart .variations select {
  background: var(--kanteen-white);
  border: 1px solid var(--kanteen-border-strong);
  border-radius: var(--kanteen-radius-control);
  box-sizing: border-box;
  color: var(--kanteen-ink);
  min-height: 44px;
  padding: var(--kanteen-space-2) var(--kanteen-space-3);
  width: 100%;
}

.kanteen-child-commerce.single-product .summary .reset_variations {
  color: var(--kanteen-coral-text);
  min-height: 44px;
  padding-block: var(--kanteen-space-2);
}

.kanteen-child-commerce.single-product .kanteen-product-trust {
  background: var(--kanteen-ivory);
  border-radius: var(--kanteen-radius-panel);
  clear: both;
  display: grid;
  gap: var(--kanteen-space-3);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 0 0 var(--kanteen-space-5);
  padding: 18px;
}

.kanteen-child-commerce.single-product .kanteen-product-trust li {
  align-items: center;
  color: var(--kanteen-ink-soft);
  display: flex;
  gap: var(--kanteen-space-3);
  line-height: 1.35;
  margin: 0;
}

.kanteen-child-commerce.single-product .kanteen-product-trust__badge {
  align-items: center;
  background: var(--kanteen-white);
  border-radius: 50%;
  box-shadow: 0 1px 0 var(--kanteen-border-strong);
  color: var(--kanteen-coral-text);
  display: inline-flex;
  flex-shrink: 0;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.kanteen-child-commerce.single-product .kanteen-product-trust__copy {
  display: grid;
  gap: 2px;
}

.kanteen-child-commerce.single-product .kanteen-product-trust__copy strong {
  color: var(--kanteen-ink);
  font-size: 0.875rem;
  font-weight: 800;
}

.kanteen-child-commerce.single-product .kanteen-product-trust__copy span {
  color: var(--kanteen-taupe);
  font-size: 0.78125rem;
}

.kanteen-child-commerce.single-product .product_meta {
  border-top: 1px solid var(--kanteen-border);
  color: var(--kanteen-taupe);
  font-size: 0.8125rem;
  line-height: 1.7;
  padding-top: var(--kanteen-space-4);
}

.kanteen-child-commerce.single-product .product_meta > span {
  display: block;
}

.kanteen-child-commerce.single-product .product_meta a {
  color: var(--kanteen-coral-text);
}

.kanteen-child-commerce.single-product div.product .woocommerce-tabs ul.tabs {
  border-bottom: 1px solid var(--kanteen-border);
  padding: 0;
}

.kanteen-child-commerce.single-product div.product .woocommerce-tabs ul.tabs li {
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  margin: 0 var(--kanteen-space-2) 0 0;
  padding: 0 var(--kanteen-space-4);
}

.kanteen-child-commerce.single-product div.product .woocommerce-tabs ul.tabs li.active {
  border-bottom-color: var(--kanteen-coral);
}

.kanteen-child-commerce.single-product div.product .woocommerce-tabs ul.tabs li::before,
.kanteen-child-commerce.single-product div.product .woocommerce-tabs ul.tabs li::after {
  display: none;
}

.kanteen-child-commerce.single-product div.product .woocommerce-tabs ul.tabs li a {
  color: var(--kanteen-ink-soft);
  min-height: 44px;
  padding-block: var(--kanteen-space-3);
}

.kanteen-child-commerce.single-product div.product .woocommerce-tabs .panel {
  color: var(--kanteen-ink-soft);
  line-height: 1.7;
}

.kanteen-child-commerce.single-product div.product :is(.related, .upsells) ul.products {
  display: grid;
  gap: var(--kanteen-space-5);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* ---- Product page "C": carousel arrows/dots, option pills, one price, sticky buy bar ---- */
.kanteen-child-commerce.single-product .woocommerce-product-gallery .flex-direction-nav {
  aspect-ratio: 1 / 1; /* Same square as the photo frame, so arrows sit at its vertical middle. */
  align-items: center;
  display: flex;
  inset: 0 0 auto 0;
  justify-content: space-between;
  list-style: none;
  margin: 0;
  padding: 0 14px;
  pointer-events: none;
  position: absolute;
  z-index: 3;
}

.kanteen-child-commerce.single-product .woocommerce-product-gallery .flex-direction-nav li {
  margin: 0;
}

.kanteen-child-commerce.single-product .woocommerce-product-gallery .flex-direction-nav a {
  background: var(--kanteen-white);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgb(31 30 28 / 15%);
  color: var(--kanteen-ink);
  display: grid;
  font-size: 0;
  height: 44px;
  place-items: center;
  pointer-events: auto;
  text-decoration: none;
  width: 44px;
}

.kanteen-child-commerce.single-product .woocommerce-product-gallery .flex-direction-nav a:focus-visible {
  box-shadow: var(--kanteen-focus-ring);
  outline: none;
}

.kanteen-child-commerce.single-product .woocommerce-product-gallery .flex-direction-nav a.flex-disabled {
  opacity: 0.35;
  pointer-events: none;
}

.kanteen-child-commerce.single-product .woocommerce-product-gallery .kanteen-gallery-dots {
  align-items: flex-end;
  aspect-ratio: 1 / 1;
  display: flex;
  gap: 6px;
  inset: 0 0 auto 0;
  justify-content: center;
  padding-bottom: 14px;
  pointer-events: none;
  position: absolute;
  z-index: 2;
}

.kanteen-gallery-dots i {
  background: rgb(255 255 255 / 70%);
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgb(31 30 28 / 15%);
  height: 8px;
  transition: width var(--kanteen-transition), background-color var(--kanteen-transition);
  width: 8px;
}

.kanteen-gallery-dots i.is-active {
  background: var(--kanteen-white);
  width: 22px;
}

/* Variations: stacked label + option pills (the native <select> stays in the DOM, hidden). */
.kanteen-child-commerce.single-product div.product form.cart table.variations,
.kanteen-child-commerce.single-product div.product form.cart table.variations :is(tbody, tr, th, td) {
  display: block;
  width: 100%;
}

.kanteen-child-commerce.single-product div.product form.cart table.variations th.label {
  padding: 0 0 var(--kanteen-space-3);
  text-align: left;
}

.kanteen-child-commerce.single-product div.product form.cart table.variations td.value {
  padding: 0;
}

/* WooCommerce hides the reset link with inline visibility, which still reserves its 44px. */
.kanteen-child-commerce.single-product div.product form.cart .reset_variations[style*='hidden'] {
  display: none !important;
}

.kanteen-child-commerce.single-product div.product form.cart .reset_variations {
  display: inline-block;
  margin-top: var(--kanteen-space-3);
  min-height: 0;
  padding: 0;
}

.kanteen-child-commerce.single-product div.product form.cart table.variations th.label label {
  color: var(--kanteen-ink);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.kanteen-child-commerce.single-product div.product form.cart .variations select.kanteen-select-replaced {
  display: none;
}

.kanteen-child-commerce.single-product .kanteen-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.kanteen-child-commerce.single-product .kanteen-pill {
  background: var(--kanteen-white);
  border: 1.5px solid var(--kanteen-border-strong);
  border-radius: 12px;
  box-sizing: border-box;
  color: var(--kanteen-ink);
  cursor: pointer;
  font: inherit;
  line-height: 1.3;
  min-height: 44px;
  min-width: 104px;
  padding: 10px 18px;
  text-align: left;
  transition: border-color var(--kanteen-transition), background-color var(--kanteen-transition), color var(--kanteen-transition);
}

.kanteen-child-commerce.single-product .kanteen-pill__name {
  display: block;
  font-size: 0.875rem;
  font-weight: 800;
}

.kanteen-child-commerce.single-product .kanteen-pill__price {
  color: var(--kanteen-taupe);
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
}

.kanteen-child-commerce.single-product .kanteen-pill:hover:not(:disabled) {
  border-color: var(--kanteen-ink);
}

.kanteen-child-commerce.single-product .kanteen-pill.is-selected {
  background: var(--kanteen-ink);
  border-color: var(--kanteen-ink);
  color: var(--kanteen-white);
}

.kanteen-child-commerce.single-product .kanteen-pill.is-selected .kanteen-pill__price {
  color: #e9dfd3;
}

.kanteen-child-commerce.single-product .kanteen-pill:focus-visible {
  box-shadow: var(--kanteen-focus-ring);
  outline: none;
}

.kanteen-child-commerce.single-product .kanteen-pill:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.kanteen-child-commerce.single-product .kanteen-pill:disabled .kanteen-pill__name {
  text-decoration: line-through;
}

/* The summary price already follows the chosen option, so hide the duplicate one in the form. */
.kanteen-child-commerce.kanteen-price-synced.single-product form.cart .woocommerce-variation-price {
  display: none;
}

/*
 * Sticky buy bar (built by assets/js/product-enhancements.js). It sits at the TOP of the
 * viewport: the bottom edge is taken by Google's auto-ads anchor pill, which covered the
 * button when the bar was at the bottom.
 */
.kanteen-child-commerce .kanteen-buybar {
  background: var(--kanteen-white);
  border-bottom: 1px solid var(--kanteen-border);
  box-shadow: 0 8px 24px rgb(31 30 28 / 8%);
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  transform: translateY(-110%);
  transition: transform 200ms ease, visibility 200ms;
  visibility: hidden;
  z-index: 60;
}

/* Logged-in editors have the WordPress admin bar above the page. */
.kanteen-child-commerce.admin-bar .kanteen-buybar {
  top: 32px;
}

@media (max-width: 782px) {
  .kanteen-child-commerce.admin-bar .kanteen-buybar {
    top: 46px;
  }
}

.kanteen-child-commerce .kanteen-buybar.is-visible {
  transform: none;
  visibility: visible;
}

.kanteen-child-commerce .kanteen-buybar__inner {
  align-items: center;
  display: flex;
  gap: var(--kanteen-space-4);
  padding-block: var(--kanteen-space-3);
}

.kanteen-child-commerce .kanteen-buybar__thumb {
  border-radius: var(--kanteen-radius-panel);
  flex-shrink: 0;
  height: 52px;
  object-fit: cover;
  width: 52px;
}

.kanteen-child-commerce .kanteen-buybar__text {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.kanteen-child-commerce .kanteen-buybar__text strong {
  font-size: 0.9375rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kanteen-child-commerce .kanteen-buybar__text span {
  color: var(--kanteen-taupe);
  font-size: 0.8125rem;
}

.kanteen-child-commerce .kanteen-buybar__cta {
  flex: none;
  min-height: 48px;
  width: auto;
}

@media (max-width: 540px) {
  .kanteen-child-commerce .kanteen-buybar__thumb,
  .kanteen-child-commerce .kanteen-buybar__text strong {
    display: none;
  }

  .kanteen-child-commerce .kanteen-buybar__text span {
    color: var(--kanteen-ink);
    font-size: 0.9375rem;
    font-weight: 800;
  }

  .kanteen-child-commerce.single-product div.product .woocommerce-product-gallery .flex-control-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .kanteen-child-commerce .kanteen-buybar {
    transition: none;
  }
}

/* Characteristics tab: a clean two-column table, no repeated panel heading. */
.kanteen-child-commerce.single-product div.product .woocommerce-tabs .panel {
  max-width: 760px;
  padding-top: var(--kanteen-space-5);
}

.kanteen-child-commerce.single-product .woocommerce-product-attributes {
  border-collapse: collapse;
  width: 100%;
}

.kanteen-child-commerce.single-product .woocommerce-product-attributes :is(th, td) {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--kanteen-border);
  font-size: 0.875rem;
  padding: 12px 0;
  text-align: left;
}

.kanteen-child-commerce.single-product .woocommerce-product-attributes th {
  color: var(--kanteen-taupe);
  font-weight: 600;
  width: 40%;
}

.kanteen-child-commerce.single-product .woocommerce-product-attributes td {
  font-weight: 700;
}

.kanteen-child-commerce.single-product .woocommerce-product-attributes td p {
  margin: 0;
}

.kanteen-child-commerce.single-product div.product :is(.related, .upsells) ul.products::before,
.kanteen-child-commerce.single-product div.product :is(.related, .upsells) ul.products::after {
  display: none;
}

.kanteen-child-commerce.single-product div.product :is(.related, .upsells) ul.products li.product {
  float: none;
  margin: 0;
  min-width: 0;
  width: auto;
}

/* Cart Block: preserve WooCommerce's table, controls, totals and state markup. */
.kanteen-child-commerce .wp-block-woocommerce-cart {
  margin-inline: auto;
  max-width: var(--kanteen-container);
  padding-block: var(--kanteen-space-7) var(--kanteen-space-8);
}

.kanteen-child-commerce .wp-block-woocommerce-cart .wc-block-cart {
  align-items: start;
  column-gap: 40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
}

.kanteen-child-commerce .wp-block-woocommerce-cart .wc-block-cart.wc-block-components-sidebar-layout > .wc-block-cart__main,
.kanteen-child-commerce .wp-block-woocommerce-cart .wc-block-cart.wc-block-components-sidebar-layout > .wc-block-cart__sidebar {
  min-width: 0;
  padding-inline: 0;
  width: 100%;
}

.kanteen-child-commerce .wp-block-woocommerce-cart .wc-block-cart > .kanteen-cart-secure-payment {
  grid-column: 2;
}

.kanteen-child-commerce .wp-block-woocommerce-cart table.wc-block-cart-items {
  border-top: 1.5px solid var(--kanteen-border);
  margin: 0;
}

.kanteen-child-commerce .wp-block-woocommerce-cart table.wc-block-cart-items {
  border-collapse: collapse;
  table-layout: fixed;
  width: 100%;
}

.kanteen-child-commerce .wp-block-woocommerce-cart .wc-block-cart-items__header {
  border-bottom: 1.5px solid var(--kanteen-border);
  color: var(--kanteen-text-secondary);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0 0 var(--kanteen-space-4);
  text-align: center;
  text-transform: uppercase;
}

.kanteen-child-commerce .wp-block-woocommerce-cart .wc-block-cart-items__header:first-child {
  text-align: left;
}

.kanteen-child-commerce .wp-block-woocommerce-cart .wc-block-cart-items__row {
  border-bottom: 1px solid var(--kanteen-border);
}

.kanteen-child-commerce .wp-block-woocommerce-cart .wc-block-cart-items__row > td {
  /* WooCommerce Blocks draws its own faint top rule on each cell (coral on the
     total cell), which doubled the header line. Row dividers come from the row. */
  border-top: 0;
  padding-block: var(--kanteen-space-5);
  vertical-align: middle;
}

.kanteen-child-commerce .wp-block-woocommerce-cart .wc-block-cart-item__image {
  padding-right: var(--kanteen-space-4);
  width: 84px;
}

/*
 * Desktop table: the image column must hold the 84px photo plus its 16px gap.
 * It was 80px wide, so the photo overflowed onto the product name and price.
 * (Below 769px the rows become grid cards with their own 84px column.)
 */
@media (min-width: 769px) {
  /* Specific enough to beat WooCommerce's `table.wc-block-cart-items ... header-image { width: 80px }`. */
  .kanteen-child-commerce .wp-block-woocommerce-cart table.wc-block-cart-items th.wc-block-cart-items__header-image,
  .kanteen-child-commerce .wp-block-woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row > td.wc-block-cart-item__image {
    box-sizing: border-box;
    width: 100px;
  }

  .kanteen-child-commerce .wp-block-woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row > td.wc-block-cart-item__image {
    vertical-align: top;
  }
}

.kanteen-child-commerce .wp-block-woocommerce-cart .wc-block-cart-item__image a,
.kanteen-child-commerce .wp-block-woocommerce-cart .wc-block-cart-item__image img {
  background: var(--kanteen-sand);
  border-radius: var(--kanteen-radius-panel);
  display: block;
  height: 84px;
  object-fit: cover;
  width: 84px;
}

.kanteen-child-commerce .wp-block-woocommerce-cart .wc-block-cart-item__product {
  min-width: 0;
}

.kanteen-child-commerce .wp-block-woocommerce-cart .wc-block-components-product-name {
  color: var(--kanteen-ink);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}

.kanteen-child-commerce .wp-block-woocommerce-cart .wc-block-components-product-name:hover {
  color: var(--kanteen-coral-text);
}

.kanteen-child-commerce .wp-block-woocommerce-cart .wc-block-components-product-metadata {
  color: var(--kanteen-text-secondary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.075em;
  margin-top: var(--kanteen-space-2);
  text-transform: uppercase;
}

.kanteen-child-commerce .wp-block-woocommerce-cart .wc-block-components-product-metadata :is(dt, dd) {
  display: inline;
  margin: 0;
}

.kanteen-child-commerce .wp-block-woocommerce-cart .wc-block-cart-item__total {
  color: var(--kanteen-coral-text);
  font-size: 0.9375rem;
  font-weight: 800;
  text-align: right;
  white-space: nowrap;
}

.kanteen-child-commerce .wp-block-woocommerce-cart .wc-block-cart-item__quantity {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: var(--kanteen-space-3);
  margin-top: var(--kanteen-space-3);
}

.kanteen-child-commerce .wp-block-woocommerce-cart .wc-block-cart-item__quantity .wc-block-components-quantity-selector {
  background: var(--kanteen-white);
  border: 1.5px solid var(--kanteen-border-strong);
  border-radius: var(--kanteen-radius-control);
  display: inline-flex;
  min-height: 44px;
  overflow: hidden;
}

.kanteen-child-commerce .wp-block-woocommerce-cart .wc-block-cart-item__quantity .wc-block-components-quantity-selector :is(button, input) {
  background: var(--kanteen-ivory);
  border: 0;
  border-radius: 0;
  color: var(--kanteen-ink);
  font-weight: 700;
  min-height: 42px;
}

.kanteen-child-commerce .wp-block-woocommerce-cart .wc-block-cart-item__quantity .wc-block-components-quantity-selector button {
  cursor: pointer;
  font-size: 1.0625rem;
  padding: 0;
  width: 38px;
}

.kanteen-child-commerce .wp-block-woocommerce-cart .wc-block-cart-item__quantity .wc-block-components-quantity-selector input {
  background: var(--kanteen-white);
  box-sizing: border-box;
  text-align: center;
  width: 40px;
}

.kanteen-child-commerce .wp-block-woocommerce-cart .wc-block-cart-item__quantity .wc-block-components-quantity-selector :is(button, input):disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.kanteen-child-commerce .wp-block-woocommerce-cart .wc-block-cart-item__remove-link {
  color: var(--kanteen-muted);
  margin-left: auto;
  font-size: 0.8125rem;
  min-height: 36px;
  padding: var(--kanteen-space-2);
}

.kanteen-child-commerce .wp-block-woocommerce-cart .wc-block-cart-item__remove-link:hover {
  color: var(--kanteen-coral-text);
}

.kanteen-child-commerce .wp-block-woocommerce-cart .wc-block-cart__sidebar {
  position: sticky;
  top: var(--kanteen-space-5);
}

.kanteen-child-commerce .wp-block-woocommerce-cart .wc-block-components-totals-wrapper {
  background: var(--kanteen-ivory);
  border: 1px solid var(--kanteen-border);
  border-radius: var(--kanteen-radius-card);
  padding: 26px;
}

/* The coupon card and the totals card were touching, giving a doubled border. */
.kanteen-child-commerce .wp-block-woocommerce-cart .wp-block-woocommerce-cart-order-summary-coupon-form-block {
  margin-bottom: var(--kanteen-space-4);
}

.kanteen-child-commerce .wp-block-woocommerce-cart .wc-block-components-totals-wrapper + .wc-block-components-totals-wrapper {
  margin-top: var(--kanteen-space-4);
}

/* WooCommerce Blocks adds a faint rule under the whole summary, which showed as a stray line below the total card. */
.kanteen-child-commerce .wp-block-woocommerce-cart .wp-block-woocommerce-cart-order-summary-block {
  border-bottom: 0;
}

.kanteen-child-commerce .wp-block-woocommerce-cart .kanteen-cart-secure-payment {
  color: var(--kanteen-taupe);
  font-size: 0.78125rem;
  line-height: 1.4;
  margin: var(--kanteen-space-4) var(--kanteen-space-2) 0;
}

.kanteen-child-commerce .wp-block-woocommerce-cart .wc-block-components-totals-wrapper > * + * {
  border-top: 1px solid var(--kanteen-border);
  margin-top: var(--kanteen-space-4);
  padding-top: var(--kanteen-space-4);
}

.kanteen-child-commerce .wp-block-woocommerce-cart .wc-block-components-totals-item {
  color: var(--kanteen-ink-soft);
  font-size: 0.875rem;
}

.kanteen-child-commerce .wp-block-woocommerce-cart .wc-block-components-totals-item__label,
.kanteen-child-commerce .wp-block-woocommerce-cart .wc-block-components-totals-item__value {
  font-weight: 700;
}

.kanteen-child-commerce .wp-block-woocommerce-cart .wc-block-components-totals-shipping__change-address-button,
.kanteen-child-commerce .wp-block-woocommerce-cart .wc-block-components-totals-shipping__change-address-button:hover {
  color: var(--kanteen-coral-text);
  font-size: 0.8125rem;
  font-weight: 700;
}

.kanteen-child-commerce .wp-block-woocommerce-cart .wc-block-components-shipping-rates-control__package,
.kanteen-child-commerce .wp-block-woocommerce-cart .wc-block-components-shipping-rates-control__package-item {
  margin: 0;
}

.kanteen-child-commerce .wp-block-woocommerce-cart .wc-block-components-radio-control__option {
  align-items: center;
  color: var(--kanteen-ink-soft);
  font-size: 0.875rem;
  gap: var(--kanteen-space-2);
  padding-block: var(--kanteen-space-2);
}

.kanteen-child-commerce .wp-block-woocommerce-cart .wc-block-components-radio-control__input {
  accent-color: var(--kanteen-coral);
}

.kanteen-child-commerce .wp-block-woocommerce-cart .wc-block-components-totals-footer-item {
  align-items: baseline;
  color: var(--kanteen-ink);
  display: flex;
  font-size: 1rem;
  font-weight: 800;
  justify-content: space-between;
}

.kanteen-child-commerce .wp-block-woocommerce-cart .wc-block-components-totals-footer-item .wc-block-formatted-money-amount {
  color: var(--kanteen-coral-text);
  font-size: 1.625rem;
}

.kanteen-child-commerce .wp-block-woocommerce-cart .wc-block-cart__submit {
  margin-top: var(--kanteen-space-4);
}

.kanteen-child-commerce .wp-block-woocommerce-cart .wc-block-cart__submit-button {
  background: var(--kanteen-coral);
  border: 1px solid var(--kanteen-coral);
  border-radius: var(--kanteen-radius-panel);
  box-sizing: border-box;
  color: var(--kanteen-ink);
  font-size: 1rem;
  font-weight: 800;
  min-height: 56px;
  text-decoration: none;
  width: 100%;
}

.kanteen-child-commerce .wp-block-woocommerce-cart .wc-block-cart__submit-button:hover {
  background: var(--kanteen-coral-hover);
  border-color: var(--kanteen-coral-hover);
  color: var(--kanteen-ink);
}

.kanteen-child-commerce .wp-block-woocommerce-cart .wc-block-cart__submit-button:is(:disabled, [aria-disabled='true']) {
  cursor: not-allowed;
  opacity: 0.55;
}

.kanteen-child-commerce .wp-block-woocommerce-cart .wc-block-components-totals-coupon,
.kanteen-child-commerce .wp-block-woocommerce-checkout .wc-block-components-totals-coupon {
  color: var(--kanteen-ink-soft);
  font-size: 0.875rem;
}

.kanteen-child-commerce .wp-block-woocommerce-cart .wc-block-components-totals-coupon__form,
.kanteen-child-commerce .wp-block-woocommerce-checkout .wc-block-components-totals-coupon__form {
  align-items: start;
  display: flex;
  flex-wrap: wrap;
  gap: var(--kanteen-space-2);
}

.kanteen-child-commerce .wp-block-woocommerce-cart .wc-block-components-totals-coupon__form .wc-block-components-text-input,
.kanteen-child-commerce .wp-block-woocommerce-checkout .wc-block-components-totals-coupon__form .wc-block-components-text-input {
  flex: 1 1 180px;
  min-width: 0;
}

.kanteen-child-commerce .wp-block-woocommerce-cart .wc-block-components-totals-coupon-link,
.kanteen-child-commerce .wp-block-woocommerce-checkout .wc-block-components-totals-coupon-link {
  color: var(--kanteen-ink-soft);
  font-weight: 700;
}

.kanteen-child-commerce .wp-block-woocommerce-cart .wc-block-components-totals-coupon-link:hover,
.kanteen-child-commerce .wp-block-woocommerce-checkout .wc-block-components-totals-coupon-link:hover {
  color: var(--kanteen-coral-text);
}

.kanteen-child-commerce .wp-block-woocommerce-cart .wc-block-components-totals-coupon input,
.kanteen-child-commerce .wp-block-woocommerce-checkout .wc-block-components-totals-coupon input {
  background: var(--kanteen-white);
  border: 1.5px solid var(--kanteen-border-strong);
  border-radius: var(--kanteen-radius-control);
  box-sizing: border-box;
  color: var(--kanteen-ink);
  min-height: 48px;
  padding-inline: var(--kanteen-space-3);
}

.kanteen-child-commerce .wp-block-woocommerce-cart .wc-block-components-totals-coupon button,
.kanteen-child-commerce .wp-block-woocommerce-checkout .wc-block-components-totals-coupon button {
  background: var(--kanteen-white);
  border: 1.5px solid var(--kanteen-ink);
  border-radius: var(--kanteen-radius-control);
  color: var(--kanteen-ink);
  font-weight: 700;
  min-height: 48px;
}

.kanteen-child-commerce .wp-block-woocommerce-cart .wc-block-components-totals-coupon button:hover,
.kanteen-child-commerce .wp-block-woocommerce-checkout .wc-block-components-totals-coupon button:hover {
  background: var(--kanteen-ink);
  color: var(--kanteen-white);
}

.kanteen-child-commerce .wp-block-woocommerce-cart .wc-block-components-notice-banner,
.kanteen-child-commerce .wp-block-woocommerce-cart .wc-block-components-validation-error {
  margin-bottom: var(--kanteen-space-4);
}

.kanteen-child-commerce .wp-block-woocommerce-cart .wc-block-components-notice-banner.is-error,
.kanteen-child-commerce .wp-block-woocommerce-cart .wc-block-components-validation-error {
  border-color: var(--kanteen-error);
  color: var(--kanteen-error);
}

.kanteen-child-commerce .wp-block-woocommerce-cart.is-loading {
  cursor: progress;
}

.kanteen-child-commerce .wp-block-woocommerce-cart.is-loading .wc-block-components-skeleton,
.kanteen-child-commerce .wp-block-woocommerce-cart .is-loading .wc-block-components-skeleton {
  background-color: var(--kanteen-sand);
  border-radius: var(--kanteen-radius-control);
}

.kanteen-child-commerce .wp-block-woocommerce-cart .wc-block-components-totals-shipping.is-loading {
  min-height: 44px;
}

.kanteen-child-commerce .wc-block-cart__empty-cart {
  background: var(--kanteen-ivory);
  border: 1px solid var(--kanteen-border);
  border-radius: var(--kanteen-radius-card);
  color: var(--kanteen-ink-soft);
  margin-inline: auto;
  max-width: 620px;
  padding: var(--kanteen-space-7);
  text-align: center;
}

.kanteen-child-commerce .wc-block-cart__empty-cart :is(h1, h2, h3, p) {
  margin-inline: auto;
  max-width: 42ch;
}

.kanteen-child-commerce .wc-block-cart__empty-cart .wc-block-components-button {
  background: var(--kanteen-coral);
  border-color: var(--kanteen-coral);
  border-radius: var(--kanteen-radius-panel);
  color: var(--kanteen-ink);
  font-weight: 800;
  min-height: 48px;
}

/* Current WooCommerce empty-cart markup includes a native recommendations
   grid. Its negative outer margins must not overflow a full-width cart. */
.kanteen-child-commerce .wp-block-woocommerce-empty-cart-block .wc-block-grid__products {
  margin-inline: 0;
  max-width: 100%;
}

.kanteen-child-commerce .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-title {
  color: var(--kanteen-ink);
}

.kanteen-child-commerce .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-price {
  color: var(--kanteen-coral-text);
}

.kanteen-child-commerce .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-add-to-cart .wp-block-button__link {
  align-items: center;
  background: var(--kanteen-coral);
  border-color: var(--kanteen-coral);
  border-radius: var(--kanteen-radius-control);
  color: var(--kanteen-ink);
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 44px;
}

.kanteen-child-commerce .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-add-to-cart .wp-block-button__link:hover {
  background: var(--kanteen-coral-hover);
  border-color: var(--kanteen-coral-hover);
  color: var(--kanteen-ink);
}

/* Checkout Block: visual treatment only; WooCommerce retains fields, gateways and submission. */
.kanteen-child-commerce .wp-block-woocommerce-checkout {
  margin-inline: auto;
  max-width: var(--kanteen-container);
  padding-block: var(--kanteen-space-7) var(--kanteen-space-8);
}

.kanteen-child-commerce .wp-block-woocommerce-checkout .wc-block-checkout.wc-block-components-sidebar-layout {
  column-gap: 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
}

.kanteen-child-commerce .wp-block-woocommerce-checkout .wc-block-checkout.wc-block-components-sidebar-layout > .wc-block-checkout__main,
.kanteen-child-commerce .wp-block-woocommerce-checkout .wc-block-checkout.wc-block-components-sidebar-layout > .wc-block-checkout__sidebar {
  min-width: 0;
  padding-inline: 0;
  width: 100%;
}

.kanteen-child-commerce .wp-block-woocommerce-checkout .wc-block-components-checkout-step {
  border-bottom: 1px solid var(--kanteen-border);
  margin: 0;
  padding-block: 0 var(--kanteen-space-6);
}

.kanteen-child-commerce .wp-block-woocommerce-checkout .wc-block-components-checkout-step + .wc-block-components-checkout-step {
  margin-top: var(--kanteen-space-6);
}

.kanteen-child-commerce .wp-block-woocommerce-checkout .wc-block-components-checkout-step__title {
  color: var(--kanteen-ink);
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: 0 0 var(--kanteen-space-5);
}

.kanteen-child-commerce .wp-block-woocommerce-checkout .wc-block-components-checkout-step__description,
.kanteen-child-commerce .wp-block-woocommerce-checkout .wc-block-checkout__guest-checkout-notice {
  color: var(--kanteen-taupe);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.kanteen-child-commerce .wp-block-woocommerce-checkout .wc-block-components-address-form {
  gap: var(--kanteen-space-4);
}

.kanteen-child-commerce .wp-block-woocommerce-checkout .wc-block-components-address-form :is(.wc-block-components-address-form__first_name, .wc-block-components-address-form__last_name, .wc-block-components-address-form__email, .wc-block-components-address-form__phone) {
  flex: 1 1 calc(50% - var(--kanteen-space-3));
  min-width: 0;
}

.kanteen-child-commerce .wp-block-woocommerce-checkout .wc-block-components-text-input,
.kanteen-child-commerce .wp-block-woocommerce-checkout .wc-block-components-combobox {
  min-width: 0;
}

.kanteen-child-commerce .wp-block-woocommerce-checkout .wc-block-components-text-input label,
.kanteen-child-commerce .wp-block-woocommerce-checkout .wc-block-components-combobox label {
  color: var(--kanteen-ink-soft);
  font-size: 0.8125rem;
  font-weight: 700;
}

.kanteen-child-commerce .wp-block-woocommerce-checkout .wc-block-components-text-input input,
.kanteen-child-commerce .wp-block-woocommerce-checkout .wc-block-components-text-input textarea,
.kanteen-child-commerce .wp-block-woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control,
.kanteen-child-commerce .wp-block-woocommerce-checkout .wc-block-components-combobox .components-combobox-control__input {
  background: var(--kanteen-white);
  border: 1.5px solid var(--kanteen-border-strong);
  border-radius: var(--kanteen-radius-control);
  box-sizing: border-box;
  color: var(--kanteen-ink);
  min-height: 50px;
  padding-inline: var(--kanteen-space-4);
  width: 100%;
}

.kanteen-child-commerce .wp-block-woocommerce-checkout .wc-block-components-text-input textarea {
  min-height: 96px;
  padding-block: var(--kanteen-space-3);
  resize: vertical;
}

.kanteen-child-commerce .wp-block-woocommerce-checkout .wc-block-components-text-input :is(input, textarea):focus,
.kanteen-child-commerce .wp-block-woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control:focus-within {
  border-color: var(--kanteen-coral);
  box-shadow: var(--kanteen-focus-ring);
}

.kanteen-child-commerce .wp-block-woocommerce-checkout .wc-block-components-text-input.has-error :is(input, textarea),
.kanteen-child-commerce .wp-block-woocommerce-checkout .wc-block-components-combobox.has-error .wc-block-components-combobox-control {
  border-color: var(--kanteen-error);
}

.kanteen-child-commerce .wp-block-woocommerce-checkout .wc-block-components-validation-error {
  color: var(--kanteen-error);
  font-size: 0.8125rem;
  line-height: 1.4;
  margin-top: var(--kanteen-space-2);
  overflow-wrap: anywhere;
}

.kanteen-child-commerce .wp-block-woocommerce-checkout .wc-block-components-shipping-rates-control {
  border: 1px solid var(--kanteen-border);
  border-radius: var(--kanteen-radius-panel);
  overflow-wrap: anywhere;
}

.kanteen-child-commerce .wp-block-woocommerce-checkout .wc-block-components-shipping-rates-control__package,
.kanteen-child-commerce .wp-block-woocommerce-checkout .wc-block-components-shipping-rates-control__package-item {
  margin: 0;
}

.kanteen-child-commerce .wp-block-woocommerce-checkout .wc-block-components-shipping-rates-control .wc-block-components-radio-control__option,
.kanteen-child-commerce .wp-block-woocommerce-checkout .wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__option {
  align-items: center;
  color: var(--kanteen-ink-soft);
  display: flex;
  gap: var(--kanteen-space-3);
  margin: 0;
  min-height: 50px;
  padding: var(--kanteen-space-3) var(--kanteen-space-4);
}

.kanteen-child-commerce .wp-block-woocommerce-checkout .wc-block-components-shipping-rates-control .wc-block-components-radio-control__option:last-child {
  border-bottom: 0;
}

.kanteen-child-commerce .wp-block-woocommerce-checkout .wc-block-components-radio-control__input,
.kanteen-child-commerce .wp-block-woocommerce-checkout .wc-block-components-checkbox input,
.kanteen-child-commerce .wp-block-woocommerce-checkout .wc-block-checkout__use-address-for-billing input {
  accent-color: var(--kanteen-coral);
  flex: 0 0 auto;
}

/*
 * WooCommerce Blocks positions the radio input absolutely by default (its own non-flex
 * layout reserves space for it with padding). Our .option rows use flex + gap instead, so the
 * input must stay in normal flow, otherwise it sits outside the gap and overlaps the label text.
 */
.kanteen-child-commerce .wp-block-woocommerce-checkout .wc-block-components-radio-control__input {
  position: static;
}

.kanteen-child-commerce .wp-block-woocommerce-checkout .wc-block-components-radio-control-accordion-option {
  background: var(--kanteen-white);
  border: 1px solid var(--kanteen-border-strong);
  border-radius: var(--kanteen-radius-control);
  color: var(--kanteen-ink-soft);
  font-size: 0.875rem;
  font-weight: 700;
  margin: 0;
}

.kanteen-child-commerce .wp-block-woocommerce-checkout .wc-block-components-radio-control-accordion-option + .wc-block-components-radio-control-accordion-option {
  margin-top: var(--kanteen-space-2);
}

.kanteen-child-commerce .wp-block-woocommerce-checkout .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
.kanteen-child-commerce .wp-block-woocommerce-checkout .wc-block-components-radio-control-accordion-option:has(.wc-block-components-radio-control__option-checked) {
  background: var(--kanteen-ivory);
  border-color: var(--kanteen-coral);
  color: var(--kanteen-ink);
}

.kanteen-child-commerce .wp-block-woocommerce-checkout .wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__option-checked {
  color: var(--kanteen-ink);
}

.kanteen-child-commerce .wp-block-woocommerce-checkout .wc-block-components-radio-control-accordion-content {
  background: var(--kanteen-white);
  color: var(--kanteen-taupe);
  font-size: 0.8125rem;
  line-height: 1.5;
  margin: 0;
  padding: 0 var(--kanteen-space-4) var(--kanteen-space-4) 42px;
}

.kanteen-child-commerce .wp-block-woocommerce-checkout .wc-block-checkout__sidebar {
  align-self: start;
  position: sticky;
  top: var(--kanteen-space-5);
}

.kanteen-child-commerce .wp-block-woocommerce-checkout .wc-block-components-order-summary,
.kanteen-child-commerce .wp-block-woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block {
  background: var(--kanteen-ivory);
  border: 1px solid var(--kanteen-border);
  border-radius: var(--kanteen-radius-card);
  padding: 28px;
}

/* Woo nests the item summary inside the summary block: keep one panel only. */
.kanteen-child-commerce .wp-block-woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-order-summary {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}

.kanteen-child-commerce .wp-block-woocommerce-checkout .wc-block-components-order-summary > *,
.kanteen-child-commerce .wp-block-woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block > * {
  min-width: 0;
}

.kanteen-child-commerce .wp-block-woocommerce-checkout .wc-block-components-order-summary :is(h2, h3),
.kanteen-child-commerce .wp-block-woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block :is(h2, h3) {
  font-size: 1.125rem;
  margin: 0 0 var(--kanteen-space-4);
}

.kanteen-child-commerce .wp-block-woocommerce-checkout .wc-block-components-order-summary-item,
.kanteen-child-commerce .wp-block-woocommerce-checkout .wc-block-components-totals-item {
  border-top: 1px solid var(--kanteen-border);
  color: var(--kanteen-ink-soft);
  font-size: 0.875rem;
  padding-block: var(--kanteen-space-3);
}

.kanteen-child-commerce .wp-block-woocommerce-checkout .wc-block-components-totals-footer-item {
  align-items: baseline;
  border-top: 1px solid var(--kanteen-border);
  color: var(--kanteen-ink);
  display: flex;
  font-size: 1rem;
  font-weight: 800;
  justify-content: space-between;
  margin-top: var(--kanteen-space-2);
  padding-top: var(--kanteen-space-4);
}

.kanteen-child-commerce .wp-block-woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-formatted-money-amount {
  color: var(--kanteen-coral-text);
  font-size: 1.625rem;
}

.kanteen-child-commerce .wp-block-woocommerce-checkout .wc-block-components-checkout-terms,
.kanteen-child-commerce .wp-block-woocommerce-checkout .wc-block-checkout__use-address-for-billing {
  align-items: flex-start;
  color: var(--kanteen-ink-soft);
  display: flex;
  font-size: 0.8125rem;
  gap: var(--kanteen-space-3);
  line-height: 1.5;
  margin-top: var(--kanteen-space-5);
}

.kanteen-child-commerce .wp-block-woocommerce-checkout .wc-block-components-checkout-terms a {
  color: var(--kanteen-coral-text);
  text-decoration: underline;
}

.kanteen-child-commerce .wp-block-woocommerce-checkout .wc-block-components-checkout-place-order-button {
  background: var(--kanteen-coral);
  border: 1px solid var(--kanteen-coral);
  border-radius: var(--kanteen-radius-panel);
  box-sizing: border-box;
  color: var(--kanteen-ink);
  font-size: 1rem;
  font-weight: 800;
  margin-top: var(--kanteen-space-5);
  min-height: 56px;
  padding-inline: var(--kanteen-space-5);
  width: 100%;
}

.kanteen-child-commerce .wp-block-woocommerce-checkout .wc-block-components-checkout-place-order-button:hover {
  background: var(--kanteen-coral-hover);
  border-color: var(--kanteen-coral-hover);
  color: var(--kanteen-ink);
}

.kanteen-child-commerce .wp-block-woocommerce-checkout.is-processing,
.kanteen-child-commerce .wp-block-woocommerce-checkout .is-processing {
  cursor: progress;
}

.kanteen-child-commerce .wp-block-woocommerce-checkout.is-processing .wc-block-components-checkout-place-order-button,
.kanteen-child-commerce .wp-block-woocommerce-checkout .wc-block-components-checkout-place-order-button:is(:disabled, [aria-disabled='true']) {
  cursor: not-allowed;
  opacity: 0.55;
}

.kanteen-child-commerce .wp-block-woocommerce-checkout .wc-block-components-notice-banner {
  margin-bottom: var(--kanteen-space-5);
  overflow-wrap: anywhere;
}
