/*! SmartyBar WooCommerce refinement v1.15.4
 * Scope: Carta, fichas, carrito y checkout nativos de WooCommerce con GeneratePress.
 * No sustituye plantillas, no modifica pagos y no depende de IDs de producto.
 */

body.single-product.woocommerce {
  --sb-woo-ink: #241713;
  --sb-woo-text: #4f3a32;
  --sb-woo-muted: #735f56;
  --sb-woo-cream: #fff8ef;
  --sb-woo-cream-2: #fffdf9;
  --sb-woo-warm: #f4dfcc;
  --sb-woo-line: rgba(140, 36, 63, .17);
  --sb-woo-red: #8c243f;
  --sb-woo-red-dark: #6d1730;
  --sb-woo-green: #2f855d;
  --sb-woo-shadow: 0 18px 46px rgba(63, 30, 18, .11);
  --sb-woo-shadow-hover: 0 24px 56px rgba(63, 30, 18, .17);
  background: #fffdf9;
  color: var(--sb-woo-text);
}

body.single-product.woocommerce .site.grid-container {
  max-width: none;
  background: transparent;
}

body.single-product.woocommerce .site-content {
  width: min(100%, 1320px);
  margin-inline: auto;
  padding: clamp(28px, 4vw, 58px) clamp(16px, 3vw, 30px) clamp(48px, 7vw, 90px);
}

body.single-product.woocommerce .content-area,
body.single-product.woocommerce .site-main,
body.single-product.woocommerce .inside-article,
body.single-product.woocommerce .entry-content {
  width: 100%;
  max-width: none;
}

body.single-product.woocommerce .inside-article {
  padding: 0;
  background: transparent;
}

body.single-product.woocommerce .entry-content > div.product[id^="product-"] {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, .88fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
  margin: 0;
  color: var(--sb-woo-text);
}

body.single-product.woocommerce .entry-content > div.product[id^="product-"] > * {
  box-sizing: border-box;
  min-width: 0;
}

body.single-product.woocommerce div.product .woocommerce-product-gallery,
body.single-product.woocommerce div.product .summary {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
}

body.single-product.woocommerce div.product > .woocommerce-product-gallery {
  grid-column: 1;
  grid-row: 1;
}

body.single-product.woocommerce div.product > .summary {
  grid-column: 2;
  grid-row: 1;
}

body.single-product.woocommerce div.product .woocommerce-product-gallery {
  overflow: hidden;
  padding: clamp(12px, 2vw, 18px);
  border: 1px solid var(--sb-woo-line);
  border-radius: 28px;
  background: linear-gradient(145deg, #fff 0%, var(--sb-woo-cream) 100%);
  box-shadow: var(--sb-woo-shadow);
}

body.single-product.woocommerce div.product .woocommerce-product-gallery__wrapper,
body.single-product.woocommerce div.product .woocommerce-product-gallery__image,
body.single-product.woocommerce div.product .woocommerce-product-gallery__image a {
  overflow: hidden;
  border-radius: 20px;
}

body.single-product.woocommerce div.product .woocommerce-product-gallery__image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
}

body.single-product.woocommerce div.product .woocommerce-product-gallery__trigger {
  top: 30px;
  right: 30px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .7);
  background: rgba(255, 253, 249, .94);
  box-shadow: 0 10px 26px rgba(36, 23, 19, .14);
  backdrop-filter: blur(8px);
}

body.single-product.woocommerce div.product .flex-control-thumbs {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0 0 !important;
}

body.single-product.woocommerce div.product .flex-control-thumbs li {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
}

body.single-product.woocommerce div.product .flex-control-thumbs img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 2px solid transparent;
  border-radius: 13px;
  object-fit: cover;
  opacity: .68;
  transition: opacity .24s ease, transform .24s ease, border-color .24s ease;
}

body.single-product.woocommerce div.product .flex-control-thumbs img:hover,
body.single-product.woocommerce div.product .flex-control-thumbs img.flex-active {
  border-color: var(--sb-woo-red);
  opacity: 1;
  transform: translateY(-2px);
}

body.single-product.woocommerce div.product .summary {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 3.3vw, 44px);
  border: 1px solid var(--sb-woo-line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 213, 154, .38), transparent 34%),
    linear-gradient(145deg, var(--sb-woo-cream-2) 0%, #f9e9da 100%);
  box-shadow: var(--sb-woo-shadow);
}

body.single-product.woocommerce div.product .summary::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--sb-woo-red-dark), var(--sb-woo-red), #d59b61);
  content: "";
}

body.single-product.woocommerce div.product .product_title {
  max-width: 16ch;
  margin: 0 0 14px;
  color: var(--sb-woo-ink);
  font-size: clamp(34px, 4.1vw, 58px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: .99;
  text-wrap: balance;
}

body.single-product.woocommerce div.product p.price {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: baseline;
  margin: 0 0 24px;
  color: var(--sb-woo-red-dark);
  font-size: clamp(23px, 2.4vw, 32px);
  font-weight: 850;
  line-height: 1.2;
}

body.single-product.woocommerce div.product p.price del {
  color: var(--sb-woo-muted);
  font-size: .72em;
  font-weight: 650;
  opacity: .72;
}

body.single-product.woocommerce div.product p.price ins {
  color: var(--sb-woo-red-dark);
  font-weight: 850;
  text-decoration: none;
}

body.single-product.woocommerce div.product p.price .woocommerce-price-suffix {
  color: var(--sb-woo-muted);
  font-size: .5em;
  font-weight: 750;
}

body.single-product.woocommerce .woocommerce-product-details__short-description {
  color: var(--sb-woo-text);
  font-size: clamp(17px, 1.45vw, 19px);
  line-height: 1.62;
}

body.single-product.woocommerce .woocommerce-product-details__short-description p {
  margin: 0 0 18px;
}

body.single-product.woocommerce div.product form.cart {
  display: grid;
  grid-template-columns: auto minmax(210px, 1fr);
  gap: 12px;
  align-items: stretch;
  margin: 26px 0 20px;
  padding: 14px;
  border: 1px solid var(--sb-woo-line);
  border-radius: 20px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 12px 26px rgba(63, 30, 18, .08);
}

body.single-product.woocommerce div.product form.cart::before,
body.single-product.woocommerce div.product form.cart::after {
  display: none;
}

body.single-product.woocommerce div.product form.cart .quantity {
  display: grid;
  grid-template-columns: 44px 54px 44px;
  float: none;
  width: auto;
  margin: 0;
  border: 1px solid rgba(140, 36, 63, .18);
  border-radius: 14px;
  background: #fff;
}

body.single-product.woocommerce div.product form.cart .quantity > * {
  min-width: 0;
  min-height: 52px;
  border: 0 !important;
  background: transparent !important;
  color: var(--sb-woo-ink) !important;
  font-weight: 800;
  text-align: center;
}

body.single-product.woocommerce div.product form.cart .quantity .qty {
  width: 54px;
  border-right: 1px solid rgba(140, 36, 63, .13) !important;
  border-left: 1px solid rgba(140, 36, 63, .13) !important;
  appearance: textfield;
}

body.single-product.woocommerce div.product form.cart .single_add_to_cart_button {
  min-height: 54px;
  margin: 0;
  padding: 14px 24px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--sb-woo-red) 0%, var(--sb-woo-red-dark) 100%);
  color: #fff;
  font-size: 17px;
  font-weight: 850;
  letter-spacing: .01em;
  line-height: 1.15;
  box-shadow: 0 12px 24px rgba(109, 23, 48, .22);
  transition: transform .24s ease, box-shadow .24s ease, filter .24s ease;
}

body.single-product.woocommerce div.product form.cart .single_add_to_cart_button:hover,
body.single-product.woocommerce div.product form.cart .single_add_to_cart_button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 17px 30px rgba(109, 23, 48, .3);
  filter: saturate(1.08);
}

body.single-product.woocommerce div.product .product_meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  color: var(--sb-woo-muted);
  font-size: 13px;
  line-height: 1.35;
}

body.single-product.woocommerce div.product .product_meta > span {
  padding: 8px 11px;
  border: 1px solid rgba(140, 36, 63, .12);
  border-radius: 999px;
  background: rgba(255, 255, 255, .66);
}

body.single-product.woocommerce div.product .product_meta a {
  color: var(--sb-woo-red-dark);
  font-weight: 750;
  text-decoration: none;
}

body.single-product.woocommerce div.product > .onsale {
  position: absolute !important;
  top: 18px;
  right: auto;
  left: 18px;
  z-index: 4;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 9px 14px;
  border: 0;
  border-radius: 999px;
  background: var(--sb-woo-red);
  color: #fff;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 0 9px 22px rgba(109, 23, 48, .25);
}

body.single-product.woocommerce div.product > .woocommerce-tabs,
body.single-product.woocommerce div.product > .related.products {
  grid-column: 1 / -1;
  margin: 0;
}

body.single-product.woocommerce div.product > .woocommerce-tabs {
  padding: clamp(22px, 3.5vw, 42px);
  border: 1px solid var(--sb-woo-line);
  border-radius: 28px;
  background: var(--sb-woo-cream-2);
  box-shadow: var(--sb-woo-shadow);
}

body.single-product.woocommerce div.product .woocommerce-tabs ul.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 28px;
  padding: 0;
}

body.single-product.woocommerce div.product .woocommerce-tabs ul.tabs::before,
body.single-product.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
body.single-product.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
  display: none !important;
}

body.single-product.woocommerce div.product .woocommerce-tabs ul.tabs li {
  margin: 0;
  padding: 0;
  border: 1px solid rgba(140, 36, 63, .14);
  border-radius: 999px;
  background: var(--sb-woo-cream);
}

body.single-product.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  padding: 11px 17px;
  color: var(--sb-woo-red-dark);
  font-weight: 800;
}

body.single-product.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
  border-color: var(--sb-woo-red);
  background: var(--sb-woo-red);
}

body.single-product.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: #fff;
}

body.single-product.woocommerce div.product .woocommerce-Tabs-panel {
  margin: 0;
  color: var(--sb-woo-text);
  font-size: 17px;
  line-height: 1.68;
}

body.single-product.woocommerce div.product .woocommerce-Tabs-panel > h2:first-child {
  margin-top: 0;
  color: var(--sb-woo-ink);
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -.025em;
}

body.single-product.woocommerce div.product > .related.products {
  padding-top: clamp(10px, 2vw, 24px);
}

body.single-product.woocommerce div.product > .related.products > h2 {
  margin: 0 0 24px;
  color: var(--sb-woo-ink);
  font-size: clamp(30px, 3.4vw, 44px);
  letter-spacing: -.03em;
  text-align: center;
}

body.single-product.woocommerce div.product > .related.products ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
}

body.single-product.woocommerce div.product > .related.products ul.products li.product {
  display: flex;
  float: none;
  flex-direction: column;
  width: auto;
  margin: 0;
  padding: 14px 14px 18px;
  border: 1px solid var(--sb-woo-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(63, 30, 18, .09);
  text-align: left;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

body.single-product.woocommerce div.product > .related.products ul.products li.product:hover {
  transform: translateY(-5px);
  border-color: rgba(140, 36, 63, .3);
  box-shadow: var(--sb-woo-shadow-hover);
}

body.single-product.woocommerce div.product > .related.products ul.products li.product img {
  width: 100%;
  margin: 0 0 14px;
  border-radius: 16px;
}

body.single-product.woocommerce div.product > .related.products .woocommerce-loop-product__title {
  padding: 0;
  color: var(--sb-woo-ink);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.12;
}

body.single-product.woocommerce div.product > .related.products .price {
  margin: auto 0 12px;
  padding-top: 12px;
  color: var(--sb-woo-red-dark);
  font-weight: 800;
}

body.single-product.woocommerce div.product > .related.products .button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  margin-top: 2px;
  border-radius: 999px;
  background: var(--sb-woo-red);
  color: #fff;
  font-weight: 800;
  text-align: center;
}

body.single-product.woocommerce :is(a, button, input):focus-visible {
  outline: 3px solid rgba(47, 133, 93, .58);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  body.single-product.woocommerce .entry-content > div.product[id^="product-"] {
    grid-template-columns: minmax(0, .96fr) minmax(330px, 1.04fr);
    gap: 24px;
  }

  body.single-product.woocommerce div.product .summary {
    padding: 26px;
  }

  body.single-product.woocommerce div.product > .related.products ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body.single-product.woocommerce .site-content {
    padding: 24px 14px 58px;
  }

  body.single-product.woocommerce .entry-content > div.product[id^="product-"] {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  body.single-product.woocommerce div.product > .woocommerce-product-gallery,
  body.single-product.woocommerce div.product > .summary {
    grid-column: 1;
    grid-row: auto;
  }

  body.single-product.woocommerce div.product .woocommerce-product-gallery,
  body.single-product.woocommerce div.product .summary,
  body.single-product.woocommerce div.product > .woocommerce-tabs {
    border-radius: 23px;
  }

  body.single-product.woocommerce div.product .product_title {
    max-width: none;
    font-size: clamp(32px, 10vw, 44px);
    line-height: 1.01;
  }

  body.single-product.woocommerce div.product form.cart {
    grid-template-columns: auto minmax(0, 1fr);
  }

  body.single-product.woocommerce div.product .woocommerce-tabs ul.tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 3px 3px 8px;
    scrollbar-width: thin;
  }

  body.single-product.woocommerce div.product .woocommerce-tabs ul.tabs li {
    flex: 0 0 auto;
  }
}

@media (max-width: 520px) {
  body.single-product.woocommerce .site-content {
    padding-inline: 12px;
  }

  body.single-product.woocommerce div.product .woocommerce-product-gallery {
    padding: 10px;
  }

  body.single-product.woocommerce div.product .woocommerce-product-gallery__trigger {
    top: 22px;
    right: 22px;
    width: 44px;
    height: 44px;
  }

  body.single-product.woocommerce div.product .flex-control-thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  body.single-product.woocommerce div.product .summary {
    padding: 25px 18px 20px;
  }

  body.single-product.woocommerce div.product form.cart {
    grid-template-columns: 1fr;
    padding: 10px;
  }

  body.single-product.woocommerce div.product form.cart .quantity {
    grid-template-columns: 1fr 1fr 1fr;
    width: 100%;
  }

  body.single-product.woocommerce div.product form.cart .quantity .qty {
    width: 100%;
  }

  body.single-product.woocommerce div.product form.cart .single_add_to_cart_button {
    width: 100%;
    min-height: 56px;
  }

  body.single-product.woocommerce div.product .product_meta {
    align-items: flex-start;
    flex-direction: column;
  }

  body.single-product.woocommerce div.product > .woocommerce-tabs {
    padding: 22px 17px;
  }

  body.single-product.woocommerce div.product > .related.products ul.products {
    grid-template-columns: 1fr;
  }

  body.single-product.woocommerce div.product > .related.products ul.products li.product {
    padding: 12px 12px 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.single-product.woocommerce div.product .flex-control-thumbs img,
  body.single-product.woocommerce div.product form.cart .single_add_to_cart_button,
  body.single-product.woocommerce div.product > .related.products ul.products li.product {
    transition: none !important;
  }
}

/* --------------------------------------------------------------------------
   v1.11.0 — estabilidad inicial de galería y recorrido completo WooCommerce
   -------------------------------------------------------------------------- */

/* Evita el salto de miles de píxeles antes de que FlexSlider se inicialice. */
@media (max-width: 760px) {
  body.single-product.woocommerce .woocommerce-product-gallery:not(:has(.flex-viewport))
  .woocommerce-product-gallery__wrapper {
    aspect-ratio: 1 / 1;
    overflow: hidden;
  }

  body.single-product.woocommerce .woocommerce-product-gallery:not(:has(.flex-viewport))
  .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:not(:first-child) {
    display: none !important;
  }
}

body.sbds-woo-catalog,
body.woocommerce-cart,
body.woocommerce-checkout {
  --sb-woo-ink: #241713;
  --sb-woo-text: #4f3a32;
  --sb-woo-muted: #735f56;
  --sb-woo-cream: #fff8ef;
  --sb-woo-cream-2: #fffdf9;
  --sb-woo-warm: #f4dfcc;
  --sb-woo-line: rgba(140, 36, 63, .17);
  --sb-woo-red: #8c243f;
  --sb-woo-red-dark: #6d1730;
  --sb-woo-green: #2f855d;
  --sb-woo-shadow: 0 18px 46px rgba(63, 30, 18, .11);
  --sb-woo-shadow-hover: 0 24px 56px rgba(63, 30, 18, .17);
  background: #fffdf9;
  color: var(--sb-woo-text);
}

body.sbds-woo-catalog .site.grid-container,
body.woocommerce-cart .site.grid-container,
body.woocommerce-checkout .site.grid-container {
  max-width: none;
  background: transparent;
}

body.sbds-woo-catalog .site-content,
body.woocommerce-cart .site-content,
body.woocommerce-checkout .site-content {
  width: min(100%, 1320px);
  margin-inline: auto;
  padding: clamp(26px, 4vw, 56px) clamp(15px, 3vw, 30px) clamp(50px, 7vw, 90px);
}

body.sbds-woo-catalog .inside-article,
body.woocommerce-cart .inside-article,
body.woocommerce-checkout .inside-article {
  padding: 0;
  background: transparent;
}

/* Carta: acceso rápido antes del contenido editorial. */
body.sbds-woo-catalog .sb-woo-quickbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 clamp(22px, 3vw, 38px);
  padding: 16px 18px 16px 22px;
  border: 1px solid var(--sb-woo-line);
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 213, 154, .36), transparent 40%),
    linear-gradient(135deg, #fff 0%, var(--sb-woo-cream) 100%);
  box-shadow: 0 12px 32px rgba(63, 30, 18, .08);
}

body.sbds-woo-catalog .sb-woo-quickbar span {
  display: grid;
  gap: 2px;
}

body.sbds-woo-catalog .sb-woo-quickbar strong {
  color: var(--sb-woo-ink);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.2;
}

body.sbds-woo-catalog .sb-woo-quickbar small {
  color: var(--sb-woo-muted);
  font-size: 14px;
}

body.sbds-woo-catalog .sb-woo-quickbar__cta,
body.sbds-woo-catalog .products .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--sb-woo-red), var(--sb-woo-red-dark));
  box-shadow: 0 12px 25px rgba(140, 36, 63, .2);
  color: #fff;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}

body.sbds-woo-catalog .sb-woo-quickbar__cta:hover,
body.sbds-woo-catalog .sb-woo-quickbar__cta:focus-visible,
body.sbds-woo-catalog .products .button:hover,
body.sbds-woo-catalog .products .button:focus-visible {
  color: #fff;
  filter: brightness(1.05);
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(140, 36, 63, .28);
}

body.sbds-woo-catalog .sb-woo-shop-intro {
  scroll-margin-top: 28px;
  margin: clamp(32px, 5vw, 62px) 0 24px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--sb-woo-line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 0% 0%, rgba(140, 36, 63, .1), transparent 34%),
    linear-gradient(145deg, #fff 0%, var(--sb-woo-cream) 100%);
  box-shadow: var(--sb-woo-shadow);
  text-align: center;
}

body.sbds-woo-catalog .sb-woo-shop-intro__eyebrow {
  display: block;
  margin-bottom: 5px;
  color: var(--sb-woo-red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

body.sbds-woo-catalog .sb-woo-shop-intro h2 {
  margin: 0;
  color: var(--sb-woo-ink);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.04;
  text-wrap: balance;
}

body.sbds-woo-catalog .sb-woo-shop-intro p {
  max-width: 720px;
  margin: 10px auto 0;
  color: var(--sb-woo-muted);
  font-size: clamp(15px, 1.8vw, 18px);
}

/* Categorías WooCommerce convertidas en navegación visual compacta. */
body.sbds-woo-catalog ul.products:has(> li.product-category) {
  gap: clamp(14px, 2.2vw, 26px);
}

body.sbds-woo-catalog ul.products li.product-category {
  overflow: hidden;
  padding: 0 0 16px;
  border: 1px solid var(--sb-woo-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(63, 30, 18, .08);
  transition: transform .22s ease, box-shadow .22s ease;
}

body.sbds-woo-catalog ul.products li.product-category:hover {
  transform: translateY(-5px);
  box-shadow: var(--sb-woo-shadow-hover);
}

body.sbds-woo-catalog ul.products li.product-category img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  margin: 0 0 14px;
  object-fit: cover;
}

body.sbds-woo-catalog ul.products li.product-category .woocommerce-loop-category__title {
  margin: 0;
  padding-inline: 14px;
  color: var(--sb-woo-ink);
  font-size: 17px;
  line-height: 1.2;
}

/* Tarjetas de producto coherentes y con CTA siempre alineado. */
body.sbds-woo-catalog ul.products li.product:not(.product-category) {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  padding: 12px 12px 18px;
  border: 1px solid var(--sb-woo-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(63, 30, 18, .09);
  text-align: left;
  transition: transform .22s ease, box-shadow .22s ease;
}

body.sbds-woo-catalog ul.products li.product:not(.product-category):hover {
  transform: translateY(-5px);
  box-shadow: var(--sb-woo-shadow-hover);
}

body.sbds-woo-catalog ul.products li.product:not(.product-category) .woocommerce-loop-product__link {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

body.sbds-woo-catalog ul.products li.product:not(.product-category) img {
  width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0 0 15px;
  border-radius: 15px;
  object-fit: cover;
}

body.sbds-woo-catalog ul.products li.product:not(.product-category) .woocommerce-loop-product__title {
  margin: 0 0 8px;
  color: var(--sb-woo-ink);
  font-size: clamp(17px, 1.8vw, 20px);
  font-weight: 800;
  line-height: 1.16;
  text-wrap: balance;
}

body.sbds-woo-catalog .sb-woo-card-meta {
  display: block;
  margin: 0 0 8px;
  color: var(--sb-woo-muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

body.sbds-woo-catalog .sb-woo-card-pack {
  display: block;
  align-self: center;
  width: 100%;
  margin: 0 auto;
  padding: 8px 10px;
  box-sizing: border-box;
  border: 1px solid rgba(47, 133, 93, .18);
  border-radius: 11px;
  background: rgba(47, 133, 93, .075);
  color: var(--sb-woo-green);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 900;
  text-align: center;
}

body.sbds-woo-catalog ul.products li.product .star-rating {
  margin: 3px 0 9px;
  color: #a67c1f;
}

body.sbds-woo-catalog ul.products li.product.sb-woo-no-rating .star-rating {
  display: block;
  visibility: hidden;
  pointer-events: none;
}

body.sbds-woo-catalog ul.products li.product .price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 7px;
  margin: auto 0 14px;
  color: var(--sb-woo-red-dark);
  font-size: 18px;
  font-weight: 900;
}

body.sbds-woo-catalog ul.products li.product .price del {
  color: var(--sb-woo-muted);
  font-size: 13px;
  font-weight: 600;
  opacity: .8;
}

body.sbds-woo-catalog ul.products li.product .onsale {
  top: 22px;
  right: 22px;
  left: auto;
  min-height: 0;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(140, 36, 63, .94);
  box-shadow: 0 8px 20px rgba(140, 36, 63, .2);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

body.sbds-woo-catalog ul.products li.product .button {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex-shrink: 0;
  margin: 14px 0 0;
  text-align: center !important;
}

/* Carrito: menos fricción y progreso hacia el mínimo de envío. */
body.woocommerce-cart .entry-content > h1,
body.woocommerce-checkout .entry-content > h1 {
  color: var(--sb-woo-ink);
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1;
}

body.woocommerce-cart .entry-content > h2 {
  max-width: 780px;
  margin-inline: auto;
  color: var(--sb-woo-ink);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
  text-align: center;
  text-wrap: balance;
}

body.woocommerce-cart .entry-content > figure {
  max-width: 280px;
  margin: 22px auto 30px;
}

body.woocommerce-cart .entry-content > figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: var(--sb-woo-shadow);
}

.sb-woo-cart-progress {
  display: grid;
  gap: 5px;
  margin: 0 0 24px;
  padding: 18px 20px;
  border: 1px solid rgba(47, 133, 93, .25);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(232, 247, 239, .96), #fff);
  box-shadow: 0 10px 26px rgba(47, 133, 93, .08);
}

.sb-woo-cart-progress strong {
  color: #1f6647;
  font-size: 19px;
  line-height: 1.2;
}

.sb-woo-cart-progress span {
  color: #3f5f50;
  font-size: 14px;
}

.sb-woo-cart-progress__track {
  overflow: hidden;
  height: 8px;
  margin-top: 7px;
  border-radius: 999px;
  background: rgba(47, 133, 93, .14);
}

.sb-woo-cart-progress__track > span {
  display: block;
  width: 16.666%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2f855d, #70b68e);
}

.sb-woo-cart-progress__track > .sb-progress-2 { width: 33.333%; }
.sb-woo-cart-progress__track > .sb-progress-3 { width: 50%; }
.sb-woo-cart-progress__track > .sb-progress-4 { width: 66.666%; }
.sb-woo-cart-progress__track > .sb-progress-5 { width: 83.333%; }
.sb-woo-cart-progress__track > .sb-progress-6 { width: 100%; }

body.woocommerce-cart .woocommerce-cart-form,
body.woocommerce-cart .cart_totals,
body.woocommerce-checkout .woocommerce-billing-fields,
body.woocommerce-checkout .woocommerce-additional-fields,
body.woocommerce-checkout #order_review {
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid var(--sb-woo-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--sb-woo-shadow);
}

body.woocommerce-cart .cart-collaterals {
  margin-top: 28px;
}

body.woocommerce-cart .cart_totals h2,
body.woocommerce-checkout #order_review_heading,
body.woocommerce-checkout .woocommerce-billing-fields > h3,
body.woocommerce-checkout .woocommerce-additional-fields > h3 {
  color: var(--sb-woo-ink);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.05;
}

body.woocommerce-cart .checkout-button,
body.woocommerce-checkout #place_order {
  min-height: 58px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--sb-woo-red), var(--sb-woo-red-dark));
  box-shadow: 0 14px 30px rgba(140, 36, 63, .22);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

/* Checkout: formularios legibles y resumen claro sin alterar campos ni pagos. */
body.woocommerce-checkout form.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  gap: clamp(24px, 4vw, 46px);
  align-items: start;
}

body.woocommerce-checkout form.checkout > #customer_details {
  grid-column: 1;
  grid-row: 1 / span 2;
}

body.woocommerce-checkout form.checkout > #order_review_heading,
body.woocommerce-checkout form.checkout > #order_review {
  grid-column: 2;
}

body.woocommerce-checkout form.checkout > #order_review_heading {
  margin: 0;
}

body.woocommerce-checkout #order_review {
  position: sticky;
  top: 24px;
}

body.woocommerce-checkout form .form-row label {
  color: var(--sb-woo-ink);
  font-weight: 800;
}

body.woocommerce-checkout form .input-text,
body.woocommerce-checkout form select,
body.woocommerce-checkout .select2-container .select2-selection {
  min-height: 48px;
  border: 1px solid rgba(115, 95, 86, .25);
  border-radius: 11px;
  background: #fffdf9;
}

body.woocommerce-checkout #payment {
  border-radius: 16px;
  background: var(--sb-woo-cream);
}

body.woocommerce-checkout #payment ul.payment_methods li {
  padding-block: 7px;
}

body.woocommerce-checkout #payment ul.payment_methods li label {
  color: var(--sb-woo-ink);
  font-weight: 850;
}

body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
  border: 1px solid var(--sb-woo-line);
  border-radius: 14px;
  background: #fff;
}

body.sbds-woo-catalog :is(a, button, input, select):focus-visible,
body.woocommerce-cart :is(a, button, input, select):focus-visible,
body.woocommerce-checkout :is(a, button, input, select):focus-visible {
  outline: 3px solid rgba(47, 133, 93, .58);
  outline-offset: 3px;
}

@media (max-width: 860px) {
  body.woocommerce-checkout form.checkout {
    grid-template-columns: 1fr;
  }

  body.woocommerce-checkout form.checkout > #customer_details,
  body.woocommerce-checkout form.checkout > #order_review_heading,
  body.woocommerce-checkout form.checkout > #order_review {
    grid-column: 1;
    grid-row: auto;
  }

  body.woocommerce-checkout #order_review {
    position: static;
  }
}

@media (max-width: 620px) {
  body.sbds-woo-catalog .site-content,
  body.woocommerce-cart .site-content,
  body.woocommerce-checkout .site-content {
    padding: 24px 12px 56px;
  }

  body.sbds-woo-catalog .sb-woo-quickbar {
    align-items: stretch;
    flex-direction: column;
    padding: 17px;
  }

  body.sbds-woo-catalog .sb-woo-quickbar__cta {
    width: 100%;
  }

  body.sbds-woo-catalog ul.products:has(> li.product-category) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.sbds-woo-catalog ul.products li.product-category .woocommerce-loop-category__title {
    font-size: 14px;
  }

  body.sbds-woo-catalog ul.products li.product:not(.product-category) {
    padding: 10px 10px 15px;
  }

  body.sbds-woo-catalog ul.products li.product:not(.product-category) .woocommerce-loop-product__title {
    font-size: 19px;
  }

  body.woocommerce-cart .entry-content > figure {
    max-width: 220px;
  }

  body.woocommerce-cart .woocommerce-cart-form,
  body.woocommerce-cart .cart_totals,
  body.woocommerce-checkout .woocommerce-billing-fields,
  body.woocommerce-checkout .woocommerce-additional-fields,
  body.woocommerce-checkout #order_review {
    padding: 17px 15px;
    border-radius: 18px;
  }

  .sb-woo-cart-progress {
    padding: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.sbds-woo-catalog .sb-woo-quickbar__cta,
  body.sbds-woo-catalog .products .button,
  body.sbds-woo-catalog ul.products li.product {
    transition: none !important;
  }
}

/* --------------------------------------------------------------------------
   v1.12.0 — menos fricción antes del producto, carrito y checkout
   -------------------------------------------------------------------------- */

/* La cabecera editorial conserva H1 y texto SEO, pero deja de dominar la Carta. */
body.sbds-woo-catalog .gb-element-89c8da81 {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto clamp(24px, 4vw, 42px);
  padding: clamp(22px, 3.5vw, 40px);
  border: 1px solid var(--sb-woo-line);
  border-radius: 26px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 213, 154, .32), transparent 34%),
    linear-gradient(145deg, #fff 0%, var(--sb-woo-cream) 100%);
  box-shadow: var(--sb-woo-shadow);
  text-align: center;
}

body.sbds-woo-catalog .gb-element-89c8da81 > h1 {
  max-width: 920px;
  margin: 0 auto 14px;
  color: var(--sb-woo-ink);
  font-size: clamp(34px, 4.5vw, 56px) !important;
  line-height: 1.02;
  letter-spacing: -.035em;
  text-wrap: balance;
}

body.sbds-woo-catalog .gb-element-89c8da81 > p:not(:last-child) {
  max-width: 820px;
  margin: 0 auto 18px;
  color: var(--sb-woo-text);
  font-size: clamp(16px, 1.8vw, 19px) !important;
  line-height: 1.55;
  text-wrap: pretty;
}

body.sbds-woo-catalog .gb-element-89c8da81 > p:last-child {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin: 0;
  padding: 8px 14px;
  border: 1px solid rgba(47, 133, 93, .24);
  border-radius: 999px;
  background: rgba(232, 247, 239, .88);
  color: #1f6647;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .04em;
}

/* Los módulos antiguos duplicaban mensajes ya cubiertos por el progreso real. */
body.woocommerce-cart .entry-content > div:has([id^="Envio_sin_coste_incluido_desde_6_cocteles"]) {
  display: none !important;
}

body.woocommerce-checkout .entry-content > div:has(#Muchas_Gracias_por_comprar_nuestros_Cocteles_Preparados),
body.woocommerce-checkout .entry-content > div:has(> .wp-block-group) {
  display: none !important;
}

body.woocommerce-cart .entry-header,
body.woocommerce-checkout .entry-header {
  margin-bottom: clamp(20px, 3vw, 34px);
}

body.woocommerce-cart .entry-title,
body.woocommerce-checkout .entry-title {
  margin: 0;
  color: var(--sb-woo-ink);
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1;
  letter-spacing: -.035em;
}

@media (max-width: 620px) {
  body.sbds-woo-catalog .gb-element-89c8da81 {
    margin-bottom: 22px;
    padding: 22px 18px;
    border-radius: 22px;
  }

  body.sbds-woo-catalog .gb-element-89c8da81 > h1 {
    font-size: clamp(31px, 9.2vw, 38px) !important;
    line-height: 1.04;
  }

  body.sbds-woo-catalog .gb-element-89c8da81 > p:not(:last-child) {
    font-size: 16px !important;
    line-height: 1.5;
  }

  /* Mantiene WhatsApp disponible sin cubrir títulos, precios o cantidades. */
  #ht-ctc-chat {
    right: 12px !important;
    bottom: 14px !important;
  }

  #ht-ctc-chat .ctc_chip {
    width: 52px !important;
    height: 52px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    font-size: 0 !important;
    line-height: 1 !important;
  }

  #ht-ctc-chat .ctc_chip > .s4_img {
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
  }

  #ht-ctc-chat .ctc_chip > .s4_img svg {
    width: 36px !important;
    height: 36px !important;
  }
}

/* --------------------------------------------------------------------------
   v1.13.0 — compra visible antes y soporte sin solapamientos
   -------------------------------------------------------------------------- */

/* El CTA de compra aparece después del precio; el contenido se conserva debajo. */
body.single-product.woocommerce div.product .summary {
  display: flex;
  flex-direction: column;
}

body.single-product.woocommerce div.product .product_title {
  order: 1;
}

body.single-product.woocommerce div.product p.price {
  order: 2;
  margin-bottom: 18px;
}

body.single-product.woocommerce div.product form.cart {
  order: 3;
  margin: 0 0 22px;
}

body.single-product.woocommerce .woocommerce-product-details__short-description {
  order: 4;
}

body.single-product.woocommerce div.product .product_meta {
  order: 5;
}

/* En escritorio ocupa solo el icono y muestra el texto cuando el usuario interactúa. */
@media (min-width: 621px) {
  #ht-ctc-chat.ctc_wp_desktop {
    right: 18px !important;
    bottom: 22px !important;
  }

  #ht-ctc-chat.ctc_wp_desktop .ctc_chip {
    width: 54px !important;
    height: 54px !important;
    justify-content: flex-start !important;
    overflow: hidden;
    padding: 0 !important;
    border-radius: 50% !important;
    box-shadow: 0 14px 28px rgba(63, 30, 18, .2);
    transition: width .24s ease, border-radius .24s ease, box-shadow .24s ease;
  }

  #ht-ctc-chat.ctc_wp_desktop .ctc_chip > .s4_img {
    display: flex !important;
    flex: 0 0 54px;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
  }

  #ht-ctc-chat.ctc_wp_desktop .ctc_chip > .s4_img svg {
    width: 40px !important;
    height: 40px !important;
  }

  #ht-ctc-chat.ctc_wp_desktop .ctc_cta {
    display: block;
    max-width: 0;
    overflow: hidden;
    opacity: 0;
    white-space: nowrap;
    transition: max-width .24s ease, opacity .18s ease;
  }

  #ht-ctc-chat.ctc_wp_desktop:hover .ctc_chip,
  #ht-ctc-chat.ctc_wp_desktop:focus-within .ctc_chip {
    width: 190px !important;
    border-radius: 999px !important;
    box-shadow: 0 18px 34px rgba(63, 30, 18, .25);
  }

  #ht-ctc-chat.ctc_wp_desktop:hover .ctc_cta,
  #ht-ctc-chat.ctc_wp_desktop:focus-within .ctc_cta {
    max-width: 130px;
    padding-right: 13px;
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  #ht-ctc-chat .ctc_chip,
  #ht-ctc-chat .ctc_cta {
    transition: none !important;
  }
}
/* --------------------------------------------------------------------------
   v1.15.0 — recorrido completo: retorno a la Carta, Mi cuenta y confirmación
   Se apoya en clases y hooks públicos de WooCommerce; no sustituye plantillas.
   -------------------------------------------------------------------------- */

body.woocommerce-account,
body.woocommerce-order-received {
  --sb-woo-ink: #241713;
  --sb-woo-text: #4f3a32;
  --sb-woo-muted: #735f56;
  --sb-woo-cream: #fff8ef;
  --sb-woo-cream-2: #fffdf9;
  --sb-woo-red: #8c243f;
  --sb-woo-red-dark: #65172f;
  --sb-woo-line: rgba(140, 36, 63, .18);
  --sb-woo-shadow: 0 18px 48px rgba(83, 44, 27, .11);
}

body.woocommerce-account .site.grid-container {
  max-width: none;
  background: transparent;
}

body.woocommerce-account .site-content {
  width: min(100%, 1180px);
  margin-inline: auto;
  padding: clamp(26px, 4vw, 56px) clamp(15px, 3vw, 30px) clamp(50px, 7vw, 90px);
}

body.woocommerce-account .inside-article {
  padding: 0;
  background: transparent;
}

body.woocommerce-account .entry-title {
  margin: 0 0 clamp(22px, 3vw, 34px);
  color: var(--sb-woo-ink);
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1;
  letter-spacing: -.035em;
}

body.woocommerce-account .woocommerce {
  color: var(--sb-woo-text);
}

body.woocommerce-account .woocommerce::after {
  display: table;
  clear: both;
  content: "";
}

body.woocommerce-account .woocommerce-MyAccount-navigation {
  overflow: hidden;
  width: 29%;
  border: 1px solid var(--sb-woo-line);
  border-radius: 22px;
  background: linear-gradient(145deg, #fff 0%, var(--sb-woo-cream) 100%);
  box-shadow: var(--sb-woo-shadow);
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul {
  margin: 0;
  padding: 10px;
  list-style: none;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li + li {
  margin-top: 4px;
}

body.woocommerce-account .woocommerce-MyAccount-navigation a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 11px 14px;
  border-radius: 12px;
  color: var(--sb-woo-ink);
  font-weight: 800;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

body.woocommerce-account .woocommerce-MyAccount-navigation a:hover,
body.woocommerce-account .woocommerce-MyAccount-navigation a:focus-visible,
body.woocommerce-account .woocommerce-MyAccount-navigation .is-active a {
  background: linear-gradient(135deg, var(--sb-woo-red), var(--sb-woo-red-dark));
  color: #fff;
  transform: translateX(2px);
}

body.woocommerce-account .woocommerce-MyAccount-content {
  width: 67%;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid var(--sb-woo-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--sb-woo-shadow);
}

body.woocommerce-account .woocommerce-MyAccount-content > :first-child {
  margin-top: 0;
}

body.woocommerce-account .woocommerce-MyAccount-content > :last-child {
  margin-bottom: 0;
}

body.woocommerce-account .woocommerce-form-login,
body.woocommerce-account .woocommerce-form-register,
body.woocommerce-account form.edit-account,
body.woocommerce-account form.woocommerce-EditAccountForm,
body.woocommerce-account form.woocommerce-address-fields {
  max-width: 720px;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid var(--sb-woo-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--sb-woo-shadow);
}

body.woocommerce-account form label {
  color: var(--sb-woo-ink);
  font-weight: 800;
}

body.woocommerce-account form .input-text,
body.woocommerce-account form select {
  min-height: 48px;
  border: 1px solid rgba(115, 95, 86, .25);
  border-radius: 11px;
  background: var(--sb-woo-cream-2);
}

body.woocommerce-account .woocommerce :is(.button, button, input[type="submit"]) {
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--sb-woo-red), var(--sb-woo-red-dark));
  color: #fff;
  font-weight: 900;
}

body.woocommerce-account .woocommerce table.shop_table,
body.woocommerce-account .woocommerce-orders-table {
  overflow: hidden;
  border: 1px solid var(--sb-woo-line);
  border-radius: 16px;
  background: #fff;
}

/* Carrito vacío: salida inequívoca hacia la Carta real. */
body.woocommerce-cart .cart-empty.woocommerce-info {
  margin: 0 0 18px;
  padding: 22px 24px;
  border: 1px solid var(--sb-woo-line);
  border-radius: 18px;
  background: linear-gradient(145deg, #fff 0%, var(--sb-woo-cream) 100%);
  color: var(--sb-woo-ink);
  font-size: 18px;
  font-weight: 800;
  box-shadow: var(--sb-woo-shadow);
}

body.woocommerce-cart .return-to-shop .button {
  min-height: 52px;
  padding: 14px 24px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--sb-woo-red), var(--sb-woo-red-dark));
  color: #fff;
  font-weight: 900;
}

/* Pedido recibido: celebración, tranquilidad y siguiente paso sin tocar thankyou.php. */
body.woocommerce-order-received .entry-header {
  margin-bottom: 18px;
}

body.woocommerce-order-received .entry-title {
  max-width: 980px;
  margin-inline: auto;
  text-align: center;
  text-wrap: balance;
}

body.woocommerce-order-received .woocommerce-order {
  width: min(100%, 1040px);
  margin-inline: auto;
}

.sb-woo-thankyou-hero {
  overflow: hidden;
  margin: 0 0 clamp(24px, 4vw, 42px);
  padding: clamp(24px, 5vw, 52px);
  border: 1px solid rgba(140, 36, 63, .2);
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 210, 145, .42), transparent 34%),
    radial-gradient(circle at 0% 100%, rgba(47, 133, 93, .16), transparent 34%),
    linear-gradient(145deg, #fff 0%, #fff7ec 100%);
  box-shadow: 0 24px 60px rgba(83, 44, 27, .14);
  text-align: center;
}

.sb-woo-thankyou-hero__eyebrow {
  display: inline-flex;
  margin-bottom: 13px;
  color: var(--sb-woo-red);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.sb-woo-thankyou-hero h2 {
  max-width: 780px;
  margin: 0 auto 16px;
  color: var(--sb-woo-ink);
  font-size: clamp(31px, 5vw, 54px);
  line-height: 1.02;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.sb-woo-thankyou-hero > p {
  max-width: 760px;
  margin: 0 auto 26px;
  color: var(--sb-woo-text);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.6;
  text-wrap: pretty;
}

.sb-woo-thankyou-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.sb-woo-thankyou-steps li {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(140, 36, 63, .14);
  border-radius: 16px;
  background: rgba(255, 255, 255, .86);
}

.sb-woo-thankyou-steps strong {
  color: var(--sb-woo-ink);
  font-size: 16px;
}

.sb-woo-thankyou-steps span {
  color: var(--sb-woo-muted);
  font-size: 14px;
  line-height: 1.45;
}

.sb-woo-thankyou-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.sb-woo-thankyou-actions .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 22px;
  border: 1px solid var(--sb-woo-red);
  border-radius: 14px;
  font-weight: 900;
  text-decoration: none;
}

.sb-woo-thankyou-actions__primary {
  background: linear-gradient(135deg, var(--sb-woo-red), var(--sb-woo-red-dark)) !important;
  color: #fff !important;
}

.sb-woo-thankyou-actions__secondary {
  background: #fff !important;
  color: var(--sb-woo-red) !important;
}

body.woocommerce-order-received .woocommerce-notice--success,
body.woocommerce-order-received .woocommerce-thankyou-order-received {
  margin: 0 0 22px;
  padding: 16px 18px;
  border: 1px solid rgba(47, 133, 93, .28);
  border-radius: 14px;
  background: #edf9f2;
  color: #1f6647;
  font-weight: 850;
  text-align: center;
}

body.woocommerce-order-received .woocommerce-order-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

body.woocommerce-order-received .woocommerce-order-overview li {
  float: none;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 15px;
  border: 1px solid var(--sb-woo-line);
  border-radius: 14px;
  background: #fff;
}

body.woocommerce-order-received .woocommerce-order-overview li strong {
  display: block;
  margin-top: 5px;
  color: var(--sb-woo-ink);
  overflow-wrap: anywhere;
}

body.woocommerce-order-received .woocommerce-order-details,
body.woocommerce-order-received .woocommerce-customer-details {
  margin: 0 0 24px;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid var(--sb-woo-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--sb-woo-shadow);
}

body.woocommerce-order-received :is(.woocommerce-order-details__title, .woocommerce-column__title) {
  color: var(--sb-woo-ink);
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.08;
}

body.woocommerce-order-received table.shop_table {
  border: 0;
  border-collapse: collapse;
}

body.woocommerce-order-received table.shop_table :is(th, td) {
  padding: 13px 10px;
  border-color: rgba(115, 95, 86, .14);
}

body.woocommerce-account :is(a, button, input, select):focus-visible,
body.woocommerce-order-received :is(a, button, input, select):focus-visible {
  outline: 3px solid rgba(47, 133, 93, .58);
  outline-offset: 3px;
}

@media (max-width: 780px) {
  body.woocommerce-account .woocommerce-MyAccount-navigation,
  body.woocommerce-account .woocommerce-MyAccount-content {
    float: none;
    width: 100%;
  }

  body.woocommerce-account .woocommerce-MyAccount-navigation {
    margin-bottom: 18px;
  }

  body.woocommerce-account .woocommerce-MyAccount-navigation ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
  }

  body.woocommerce-account .woocommerce-MyAccount-navigation li + li {
    margin-top: 0;
  }

  body.woocommerce-account .woocommerce-MyAccount-navigation a {
    justify-content: center;
    text-align: center;
  }

  .sb-woo-thankyou-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  body.woocommerce-account .site-content {
    padding: 24px 12px 56px;
  }

  body.woocommerce-account .entry-title {
    font-size: clamp(34px, 10vw, 44px);
  }

  body.woocommerce-account .woocommerce-MyAccount-content,
  body.woocommerce-account .woocommerce-form-login,
  body.woocommerce-account .woocommerce-form-register,
  body.woocommerce-account form.edit-account,
  body.woocommerce-account form.woocommerce-EditAccountForm,
  body.woocommerce-account form.woocommerce-address-fields {
    padding: 18px 15px;
    border-radius: 18px;
  }

  .sb-woo-thankyou-hero {
    padding: 24px 17px;
    border-radius: 22px;
  }

  .sb-woo-thankyou-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .sb-woo-thankyou-actions .button {
    width: 100%;
  }

  body.woocommerce-order-received .woocommerce-order-overview {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.woocommerce-account .woocommerce-MyAccount-navigation a {
    transition: none;
  }
}
