/**
 * Canevi PDP — editorial boutique skin (alt to soft-app pills).
 * Column floats only bridged 900–921 (Astra tablet breakpoint is 922).
 */

body.single-product.canevi-site-page {
  --brand: #c1608d;
  --brand-dark: #8e3d66;
  --brand-soft: #f3e0ea;
  --bg: #f2f2f0;
  --bg-soft: #efeae6;
  --page-bg: #f2f2f0;
  --surface: #ffffff;
  --border: #e8e4e0;
  --text: #171717;
  --text-muted: #6d6865;
  --text-inverse: #ffffff;
  --canevi-promo-red: #f93956;
  --promotion: #f93956;
  --badge-promo-bg: #f93956;
  --badge-promo-fg: #fff;
  --font-ui: "Manrope", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --radius: 2px;
  --gallery-radius: 0.85rem;
  --transition-hover: 150ms ease;
}

body.single-product.canevi-site-page,
body.single-product.canevi-site-page .site-content,
body.single-product.canevi-site-page .ast-container,
body.single-product.canevi-site-page .woocommerce,
body.single-product.canevi-site-page .product {
  font-family: var(--font-ui);
  color: var(--text);
}

body.single-product.canevi-site-page .product.type-product {
  padding-top: 0.5rem;
  padding-bottom: 3rem;
}

/*
 * Astra stacks gallery + summary below 922px (inline max-width:921 float:none).
 * Canevi desktop chrome starts at 900px — restore side-by-side there.
 */
@media (min-width: 900px) {
  body.single-product.canevi-site-page.woocommerce div.product div.images,
  body.single-product.canevi-site-page.woocommerce #content div.product div.images,
  body.single-product.canevi-site-page.woocommerce-page div.product div.images,
  body.single-product.canevi-site-page.woocommerce-page #content div.product div.images {
    float: left;
    width: 50%;
  }

  body.single-product.canevi-site-page.woocommerce div.product div.summary,
  body.single-product.canevi-site-page.woocommerce #content div.product div.summary,
  body.single-product.canevi-site-page.woocommerce-page div.product div.summary,
  body.single-product.canevi-site-page.woocommerce-page #content div.product div.summary {
    float: right;
    width: 46%;
    clear: none;
    padding-left: 2.25rem;
    box-sizing: border-box;
  }
}

/* Kill Astra blues */
body.single-product.canevi-site-page .woocommerce a,
body.single-product.canevi-site-page .woocommerce a:visited,
body.single-product.canevi-site-page .product a,
body.single-product.canevi-site-page .product a:visited {
  color: var(--text);
}

body.single-product.canevi-site-page .woocommerce a:hover,
body.single-product.canevi-site-page .woocommerce a:focus-visible,
body.single-product.canevi-site-page .product a:hover,
body.single-product.canevi-site-page .product a:focus-visible {
  color: var(--brand-dark);
}

/* —— Breadcrumbs —— */
body.single-product.canevi-site-page .woocommerce-breadcrumb,
body.single-product.canevi-site-page .ast-breadcrumbs,
body.single-product.canevi-site-page .summary .woocommerce-breadcrumb {
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: none;
  margin: 0 0 1.1rem;
}

body.single-product.canevi-site-page .woocommerce-breadcrumb a {
  color: var(--text-muted);
}

body.single-product.canevi-site-page .woocommerce-breadcrumb a:hover {
  color: var(--text);
}

body.single-product.canevi-site-page .single-product-category {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-dark);
}

body.single-product.canevi-site-page .single-product-category a {
  color: inherit;
}

/* —— Title (same family/weight as home product cards) —— */
body.single-product.canevi-site-page .product_title,
body.single-product.canevi-site-page .summary .product_title {
  color: var(--text);
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: clamp(1.35rem, 2.4vw, 2.25rem);
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
  margin: 0 0 0.75rem;
}

body.single-product.canevi-site-page .woocommerce-product-details__short-description,
body.single-product.canevi-site-page .woocommerce-product-details__short-description p {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0 0 1.25rem;
  max-width: 34rem;
}

/* —— Price —— */
body.single-product.canevi-site-page .summary .price,
body.single-product.canevi-site-page .woocommerce-variation-price .price,
body.single-product.canevi-site-page p.price {
  color: var(--text);
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1.15;
  margin: 0 0 0.45rem;
  letter-spacing: 0;
}

body.single-product.canevi-site-page .summary .price del,
body.single-product.canevi-site-page .woocommerce-variation-price .price del,
body.single-product.canevi-site-page p.price del {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 0.78em;
  opacity: 0.75;
  margin-left: 0.45rem;
  margin-right: 0;
}

body.single-product.canevi-site-page .summary .price ins,
body.single-product.canevi-site-page .woocommerce-variation-price .price ins,
body.single-product.canevi-site-page p.price ins {
  text-decoration: none;
  color: var(--canevi-promo-red);
  font-weight: 700;
  margin-right: 0;
}

body.single-product.canevi-site-page .summary .price .woocommerce-Price-amount,
body.single-product.canevi-site-page p.price .woocommerce-Price-amount {
  color: inherit;
}

/* Amazon-style price on PDP (same as home cards) */
body.single-product.canevi-site-page .summary .price .canevi-price--amazon,
body.single-product.canevi-site-page .woocommerce-variation-price .price .canevi-price--amazon,
body.single-product.canevi-site-page p.price .canevi-price--amazon {
  display: inline-flex !important;
  flex-wrap: nowrap;
  align-items: stretch !important;
  gap: 0.35rem 0.45rem;
}

body.single-product.canevi-site-page .summary .price .canevi-price__now,
body.single-product.canevi-site-page .woocommerce-variation-price .price .canevi-price__now {
  display: inline-flex;
  align-items: flex-start;
  color: inherit;
}

body.single-product.canevi-site-page .summary .price .canevi-price__int,
body.single-product.canevi-site-page .woocommerce-variation-price .price .canevi-price__int,
body.single-product.canevi-site-page p.price .canevi-price__int {
  font-size: 1.55em;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.9;
}

body.single-product.canevi-site-page .summary .price .canevi-price__dec,
body.single-product.canevi-site-page .summary .price .canevi-price__cur,
body.single-product.canevi-site-page .woocommerce-variation-price .price .canevi-price__dec,
body.single-product.canevi-site-page .woocommerce-variation-price .price .canevi-price__cur,
body.single-product.canevi-site-page p.price .canevi-price__dec,
body.single-product.canevi-site-page p.price .canevi-price__cur {
  font-size: 0.72em;
  font-weight: 700;
  line-height: 1.1;
  margin-top: 0.08em;
}

/* Stretch to sale-price height, then pin struck text to the bottom edge */
body.single-product.canevi-site-page .summary .price .canevi-price__was,
body.single-product.canevi-site-page .woocommerce-variation-price .price .canevi-price__was,
body.single-product.canevi-site-page p.price .canevi-price__was {
  display: inline-flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  align-items: flex-start !important;
  align-self: stretch !important;
  color: var(--text-muted);
  font-weight: 500;
  font-size: inherit;
  line-height: 1;
  text-decoration: none;
  margin: 0 !important;
  padding: 0 !important;
  position: static;
  top: auto;
  transform: none !important;
  vertical-align: bottom;
}

body.single-product.canevi-site-page .summary .price .canevi-price__was-text,
body.single-product.canevi-site-page .woocommerce-variation-price .price .canevi-price__was-text,
body.single-product.canevi-site-page p.price .canevi-price__was-text {
  display: inline-block;
  font-size: 0.72em;
  font-weight: 500;
  line-height: 1;
  color: var(--text-muted);
  text-decoration: line-through;
  margin: 0;
  padding: 0;
}

body.single-product.canevi-site-page .summary .price .canevi-price__now,
body.single-product.canevi-site-page .woocommerce-variation-price .price .canevi-price__now {
  color: inherit;
}

/* Promo price — same red as home cards */
body.single-product.canevi-site-page .summary .price .canevi-price--sale .canevi-price__now,
body.single-product.canevi-site-page .summary .price .canevi-price--sale .canevi-price__int,
body.single-product.canevi-site-page .summary .price .canevi-price--sale .canevi-price__dec,
body.single-product.canevi-site-page .summary .price .canevi-price--sale .canevi-price__cur,
body.single-product.canevi-site-page .summary .price:has(.canevi-price__was) .canevi-price__now,
body.single-product.canevi-site-page .summary .price:has(.canevi-price__was) .canevi-price__int,
body.single-product.canevi-site-page .summary .price:has(.canevi-price__was) .canevi-price__dec,
body.single-product.canevi-site-page .summary .price:has(.canevi-price__was) .canevi-price__cur,
body.single-product.canevi-site-page .woocommerce-variation-price .price .canevi-price--sale .canevi-price__now,
body.single-product.canevi-site-page .woocommerce-variation-price .price .canevi-price--sale .canevi-price__int,
body.single-product.canevi-site-page .woocommerce-variation-price .price .canevi-price--sale .canevi-price__dec,
body.single-product.canevi-site-page .woocommerce-variation-price .price .canevi-price--sale .canevi-price__cur,
body.single-product.canevi-site-page .woocommerce-variation-price .price:has(.canevi-price__was) .canevi-price__now,
body.single-product.canevi-site-page .woocommerce-variation-price .price:has(.canevi-price__was) .canevi-price__int,
body.single-product.canevi-site-page .woocommerce-variation-price .price:has(.canevi-price__was) .canevi-price__dec,
body.single-product.canevi-site-page .woocommerce-variation-price .price:has(.canevi-price__was) .canevi-price__cur,
body.single-product.canevi-site-page .summary .price ins,
body.single-product.canevi-site-page .summary .price ins .woocommerce-Price-amount,
body.single-product.canevi-site-page .woocommerce-variation-price .price ins,
body.single-product.canevi-site-page .woocommerce-variation-price .price ins .woocommerce-Price-amount {
  color: var(--canevi-promo-red) !important;
}

body.single-product.canevi-site-page .canevi-related .canevi-card--sale .canevi-price__now, body.woocommerce-cart .canevi-related .canevi-card--sale .canevi-price__now,
body.single-product.canevi-site-page .canevi-related .canevi-card--sale .canevi-price__int, body.woocommerce-cart .canevi-related .canevi-card--sale .canevi-price__int,
body.single-product.canevi-site-page .canevi-related .canevi-card--sale .canevi-price__dec, body.woocommerce-cart .canevi-related .canevi-card--sale .canevi-price__dec,
body.single-product.canevi-site-page .canevi-related .canevi-card--sale .canevi-price__cur, body.woocommerce-cart .canevi-related .canevi-card--sale .canevi-price__cur,
body.single-product.canevi-site-page .canevi-related .canevi-price--sale .canevi-price__now, body.woocommerce-cart .canevi-related .canevi-price--sale .canevi-price__now,
body.single-product.canevi-site-page .canevi-related .canevi-price--sale .canevi-price__int, body.woocommerce-cart .canevi-related .canevi-price--sale .canevi-price__int,
body.single-product.canevi-site-page .canevi-related .canevi-price--sale .canevi-price__dec, body.woocommerce-cart .canevi-related .canevi-price--sale .canevi-price__dec,
body.single-product.canevi-site-page .canevi-related .canevi-price--sale .canevi-price__cur , body.woocommerce-cart .canevi-related .canevi-price--sale .canevi-price__cur {
  color: var(--canevi-promo-red) !important;
}

/* —— Omnibus: lowest price in last 30 days —— */
body.single-product.canevi-site-page .canevi-omnibus-price {
  margin: 0 0 0.85rem;
  max-width: 34rem;
  color: var(--text-muted);
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.4;
}

body.single-product.canevi-site-page .canevi-omnibus-price[hidden] {
  display: none !important;
}

body.single-product.canevi-site-page .canevi-omnibus-price__label {
  margin-right: 0.25rem;
}

body.single-product.canevi-site-page .canevi-omnibus-price__amount,
body.single-product.canevi-site-page .canevi-omnibus-price__amount .woocommerce-Price-amount,
body.single-product.canevi-site-page .canevi-omnibus-price__amount .amount {
  color: var(--text);
  font-weight: 700;
}

body.single-product.canevi-site-page .canevi-omnibus-price__amount .woocommerce-Price-currencySymbol {
  font-weight: 700;
}

/* Hide gallery / Astra “Sale!” — offer lives under the price */
body.single-product.canevi-site-page .ast-onsale-card,
body.single-product.canevi-site-page .onsale,
body.single-product.canevi-site-page span.onsale,
body.single-product.canevi-site-page .woocommerce-product-gallery .onsale,
body.single-product.canevi-site-page .images .onsale {
  display: none !important;
}

/* —— Offer under price (flash or promo) —— */
body.single-product.canevi-site-page .canevi-pdp-offer {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  margin: 0 0 1.35rem;
  max-width: 34rem;
}

body.single-product.canevi-site-page .canevi-pdp-offer:has([data-canevi-offer-trigger][aria-expanded='true']) {
  z-index: 80;
}

body.single-product.canevi-site-page .canevi-pdp-offer__flash {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.7rem;
  background: var(--canevi-promo-red);
  color: var(--text-inverse);
  font-family: var(--font-ui);
  line-height: 1;
  white-space: nowrap;
}

body.single-product.canevi-site-page .canevi-pdp-offer__flash-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

body.single-product.canevi-site-page .canevi-pdp-offer__flash-sep {
  opacity: 0.75;
  font-size: 0.72rem;
  font-weight: 700;
}

body.single-product.canevi-site-page .canevi-pdp-offer__countdown {
  font-size: 0.88rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

body.single-product.canevi-site-page .canevi-pdp-offer__promo {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

body.single-product.canevi-site-page .canevi-pdp-offer--oportunidade .canevi-pdp-offer__badge {
  background: var(--canevi-promo-red);
  color: var(--text-inverse);
}

body.single-product.canevi-site-page .canevi-pdp-offer--promo .canevi-pdp-offer__badge {
  background: var(--text);
  color: var(--text-inverse);
}

body.single-product.canevi-site-page .canevi-pdp-offer__badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.55rem;
  padding: 0.2rem 0.55rem;
  background: var(--text);
  color: var(--text-inverse);
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
}

body.single-product.canevi-site-page .canevi-pdp-offer__trigger {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
  cursor: pointer;
}

body.single-product.canevi-site-page .canevi-pdp-offer__trigger:hover,
body.single-product.canevi-site-page .canevi-pdp-offer__trigger[aria-expanded='true'] {
  color: var(--text);
}

body.single-product.canevi-site-page .canevi-pdp-offer__tip {
  position: absolute;
  left: 0;
  top: calc(100% + 0.35rem);
  z-index: 6;
  box-sizing: border-box;
  width: min(16rem, calc(100vw - 2rem));
  max-width: calc(100vw - 2rem);
  padding: 0.75rem 0.85rem;
  background: var(--surface, #fff);
  border: 1px solid var(--border, #e8e4e0);
  border-radius: var(--radius-md, 0.5rem);
  box-shadow: 0 8px 24px rgba(23, 23, 23, 0.12);
  color: var(--text, #171717);
  font-family: var(--font-ui, Manrope, system-ui, sans-serif);
  pointer-events: auto;
  overflow-wrap: anywhere;
  word-break: break-word;
}

body.single-product.canevi-site-page .canevi-pdp-offer__tip[hidden] {
  display: none !important;
}

body.single-product.canevi-site-page .canevi-pdp-offer__tip-title {
  margin: 0 0 0.25rem;
  font-size: 0.78rem;
  font-weight: 700;
}

body.single-product.canevi-site-page .canevi-pdp-offer__tip-body {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted, #6b6b6b);
  line-height: 1.4;
}

/* —— Gallery: contemporânea, cantos arredondados —— */
/* Woo sets inline opacity:0 until flexslider start(); never leave gallery invisible */
body.single-product.canevi-site-page .woocommerce-product-gallery {
  background: transparent;
  border-radius: 0;
  overflow: visible;
  position: relative;
  opacity: 1 !important;
}

body.single-product.canevi-site-page .woocommerce-product-gallery .flex-viewport,
body.single-product.canevi-site-page .woocommerce-product-gallery__wrapper,
body.single-product.canevi-site-page .woocommerce-product-gallery__image,
body.single-product.canevi-site-page .woocommerce-product-gallery__image--placeholder {
  border-radius: var(--gallery-radius);
  overflow: hidden;
}

body.single-product.canevi-site-page .woocommerce-product-gallery__image img,
body.single-product.canevi-site-page .woocommerce-product-gallery__image--placeholder img,
body.single-product.canevi-site-page .woocommerce-product-gallery .flex-viewport img,
body.single-product.canevi-site-page .woocommerce-product-gallery .wp-post-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  margin-inline: 0;
  border-radius: var(--gallery-radius);
}

/*
 * Desktop: cap gallery width so loupe + thumbs share the same frame.
 * Do NOT max-width the flexslider wrapper/slides — that stacks slides and
 * breaks thumbnail switching.
 */
@media (min-width: 900px) {
  body.single-product.canevi-site-page .woocommerce-product-gallery {
    width: min(100%, 45rem);
    max-width: 45rem;
  }

  body.single-product.canevi-site-page .woocommerce-product-gallery .flex-viewport {
    width: 100% !important;
    max-width: 100%;
  }

  body.single-product.canevi-site-page .woocommerce-product-gallery__wrapper {
    max-width: none !important;
  }

  body.single-product.canevi-site-page .woocommerce-product-gallery__image {
    max-width: none;
  }
}

body.single-product.canevi-site-page .flex-control-thumbs {
  margin: 0.85rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0.4rem;
  justify-content: flex-start;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  position: relative;
  z-index: 5;
}

body.single-product.canevi-site-page .flex-control-thumbs::-webkit-scrollbar {
  height: 4px;
}

body.single-product.canevi-site-page .flex-control-thumbs::-webkit-scrollbar-thumb {
  background: rgba(23, 23, 23, 0.25);
  border-radius: 2px;
}

body.single-product.canevi-site-page .flex-control-thumbs li {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  flex: 0 0 auto;
  scroll-snap-align: start;
}

body.single-product.canevi-site-page .woocommerce-product-gallery .woocommerce-product-gallery__trigger {
  top: 0.55rem !important;
  right: 0.55rem !important;
  left: auto !important;
  width: 2.15rem !important;
  height: 2.15rem !important;
  border-radius: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #fff !important;
  opacity: 1;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 0 !important;
  line-height: 0 !important;
  text-indent: 0 !important;
  overflow: visible !important;
  transition: opacity var(--transition-hover, 150ms ease), filter var(--transition-hover, 150ms ease);
  z-index: 3;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 1px rgba(0, 0, 0, 0.35));
}

body.single-product.canevi-site-page .woocommerce-product-gallery .woocommerce-product-gallery__trigger:hover,
body.single-product.canevi-site-page .woocommerce-product-gallery .woocommerce-product-gallery__trigger:focus-visible {
  opacity: 1;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 1px rgba(0, 0, 0, 0.4));
}

/* Hide WP emoji / default glyph — Lucide expand SVG is injected */
body.single-product.canevi-site-page .woocommerce-product-gallery .woocommerce-product-gallery__trigger > span,
body.single-product.canevi-site-page .woocommerce-product-gallery .woocommerce-product-gallery__trigger img.emoji {
  display: none !important;
}

body.single-product.canevi-site-page .woocommerce-product-gallery .woocommerce-product-gallery__trigger::before,
body.single-product.canevi-site-page .woocommerce-product-gallery .woocommerce-product-gallery__trigger::after {
  content: none !important;
  display: none !important;
}

body.single-product.canevi-site-page .woocommerce-product-gallery .woocommerce-product-gallery__trigger .canevi-icon,
body.single-product.canevi-site-page .woocommerce-product-gallery .woocommerce-product-gallery__trigger svg {
  display: block !important;
  width: 1.15rem !important;
  height: 1.15rem !important;
  color: #fff !important;
  pointer-events: none;
}

body.single-product.canevi-site-page .flex-control-thumbs li img {
  width: 4rem;
  height: 4rem;
  object-fit: cover;
  border: 1px solid transparent;
  border-radius: calc(var(--gallery-radius) * 0.55);
  opacity: 0.45;
  cursor: pointer;
  transition: opacity var(--transition-hover), border-color var(--transition-hover);
}

body.single-product.canevi-site-page .flex-control-thumbs li img.flex-active,
body.single-product.canevi-site-page .flex-control-thumbs li img:hover {
  border-color: var(--text);
  opacity: 1;
}

/* Mobile: dots on main photo */
body.single-product.canevi-site-page .woocommerce-product-gallery .flex-viewport {
  position: relative;
}

body.single-product.canevi-site-page .canevi-pdp-gallery-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.65rem;
  z-index: 4;
  display: none;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  pointer-events: none;
}

body.single-product.canevi-site-page .canevi-pdp-gallery-dot {
  pointer-events: auto;
  width: 0.45rem;
  height: 0.45rem;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 0 1px rgba(23, 23, 23, 0.2);
  cursor: pointer;
  appearance: none;
  transition: transform 0.15s ease, background 0.15s ease;
}

body.single-product.canevi-site-page .canevi-pdp-gallery-dot.is-active {
  background: #fff;
  transform: scale(1.2);
  box-shadow: 0 0 0 1px rgba(23, 23, 23, 0.35);
}

@media (max-width: 899px) {
  /* Look-style: full-bleed gallery, dots only (no thumbs) */
  body.single-product.canevi-site-page .product.type-product {
    padding-top: 0;
  }

  body.single-product.canevi-site-page.woocommerce div.product div.images,
  body.single-product.canevi-site-page.woocommerce #content div.product div.images,
  body.single-product.canevi-site-page .woocommerce-product-gallery {
    float: none !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    margin-bottom: 1rem;
  }

  body.single-product.canevi-site-page .woocommerce-product-gallery,
  body.single-product.canevi-site-page .woocommerce-product-gallery .flex-viewport,
  body.single-product.canevi-site-page .woocommerce-product-gallery__wrapper,
  body.single-product.canevi-site-page .woocommerce-product-gallery__image,
  body.single-product.canevi-site-page .woocommerce-product-gallery__image--placeholder,
  body.single-product.canevi-site-page .woocommerce-product-gallery__image img,
  body.single-product.canevi-site-page .woocommerce-product-gallery .flex-viewport img,
  body.single-product.canevi-site-page .woocommerce-product-gallery .wp-post-image {
    border-radius: 0 !important;
  }

  body.single-product.canevi-site-page .flex-control-thumbs {
    display: none !important;
  }

  body.single-product.canevi-site-page .canevi-pdp-gallery-dots {
    display: flex;
    top: 0.85rem;
    bottom: auto;
  }

  /* Hide flexslider arrows on mobile — swipe + dots */
  body.single-product.canevi-site-page .woocommerce-product-gallery .flex-direction-nav {
    display: none !important;
  }
}

/* Desktop: prev/next arrows on main image */
body.single-product.canevi-site-page .woocommerce-product-gallery .flex-direction-nav {
  margin: 0;
  padding: 0;
  list-style: none;
}

body.single-product.canevi-site-page .woocommerce-product-gallery .flex-direction-nav li {
  margin: 0;
  padding: 0;
  list-style: none;
}

body.single-product.canevi-site-page .woocommerce-product-gallery .flex-direction-nav a {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92) !important;
  color: var(--text, #171717) !important;
  font-size: 0;
  line-height: 0;
  text-indent: 0;
  text-decoration: none !important;
  box-shadow: 0 1px 4px rgba(23, 23, 23, 0.14);
  transform: translateY(-50%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease, background 0.15s ease;
  overflow: hidden;
}

body.single-product.canevi-site-page .woocommerce-product-gallery .flex-direction-nav a::before {
  content: "";
  display: block;
  width: 0.45rem;
  height: 0.45rem;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

body.single-product.canevi-site-page .woocommerce-product-gallery .flex-prev {
  left: 0.55rem;
}

body.single-product.canevi-site-page .woocommerce-product-gallery .flex-prev::before {
  transform: rotate(-135deg);
  margin-left: 0.15rem;
}

body.single-product.canevi-site-page .woocommerce-product-gallery .flex-next {
  right: 0.55rem;
}

body.single-product.canevi-site-page .woocommerce-product-gallery .flex-next::before {
  transform: rotate(45deg);
  margin-right: 0.15rem;
}

body.single-product.canevi-site-page .woocommerce-product-gallery:hover .flex-direction-nav a,
body.single-product.canevi-site-page .woocommerce-product-gallery:focus-within .flex-direction-nav a {
  opacity: 1;
  pointer-events: auto;
}

body.single-product.canevi-site-page .woocommerce-product-gallery .flex-direction-nav a.flex-disabled {
  opacity: 0 !important;
  pointer-events: none !important;
}

@media (min-width: 900px) {
  body.single-product.canevi-site-page .canevi-pdp-gallery-dots {
    display: none !important;
  }

  body.single-product.canevi-site-page .woocommerce-product-gallery .flex-direction-nav a {
    opacity: 0;
  }
}

/* Custom expand lightbox (dots + swipe — same UX as look) */
html.canevi-pdp-lightbox-open,
html.canevi-pdp-lightbox-open body {
  overflow: hidden;
}

.canevi-pdp-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 1.25rem;
  background: rgba(10, 8, 6, 0.88);
  box-sizing: border-box;
}

.canevi-pdp-lightbox[hidden] {
  display: none !important;
}

.canevi-pdp-lightbox__stage {
  position: relative;
  margin: 0;
  max-width: min(96vw, 56rem);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.canevi-pdp-lightbox__img {
  max-width: min(92vw, 56rem);
  max-height: calc(90vh - 2rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 0.25rem;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.45);
  user-select: none;
  -webkit-user-drag: none;
  touch-action: pan-y;
}

.canevi-pdp-lightbox__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.65rem;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
  pointer-events: none;
}

.canevi-pdp-lightbox__dots[hidden] {
  display: none !important;
}

.canevi-pdp-lightbox__dot {
  pointer-events: auto;
  width: 0.4rem;
  height: 0.4rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.canevi-pdp-lightbox__dot.is-active {
  background: #fff;
  transform: scale(1.15);
}

.canevi-pdp-lightbox__close,
.canevi-pdp-lightbox__nav,
body.single-product.canevi-site-page .canevi-pdp-lightbox__close,
body.single-product.canevi-site-page .canevi-pdp-lightbox__nav {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.14) !important;
  background-color: rgba(255, 255, 255, 0.14) !important;
  color: #fff !important;
  box-shadow: none !important;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
}

.canevi-pdp-lightbox__close {
  position: absolute !important;
  top: max(0.75rem, env(safe-area-inset-top, 0px)) !important;
  right: max(0.75rem, env(safe-area-inset-right, 0px)) !important;
  left: auto !important;
  z-index: 3;
  width: 2.5rem !important;
  height: 2.5rem !important;
  min-width: 2.5rem !important;
  font-size: 0 !important;
}

.canevi-pdp-lightbox__close .canevi-icon,
.canevi-pdp-lightbox__close svg {
  display: block;
  width: 1.15rem;
  height: 1.15rem;
  color: #fff !important;
  pointer-events: none;
}

.canevi-pdp-lightbox__nav {
  flex: 0 0 auto;
  width: 2.5rem !important;
  height: 2.5rem !important;
  min-width: 2.5rem !important;
  font-size: 1.55rem !important;
  line-height: 1 !important;
}

.canevi-pdp-lightbox__nav[hidden] {
  visibility: hidden;
  pointer-events: none;
}

.canevi-pdp-lightbox__close:hover,
.canevi-pdp-lightbox__close:focus-visible,
.canevi-pdp-lightbox__nav:hover,
.canevi-pdp-lightbox__nav:focus-visible,
body.single-product.canevi-site-page .canevi-pdp-lightbox__close:hover,
body.single-product.canevi-site-page .canevi-pdp-lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.28) !important;
  background-color: rgba(255, 255, 255, 0.28) !important;
  color: #fff !important;
  outline: none !important;
  box-shadow: none !important;
}

@media (max-width: 699px) {
  .canevi-pdp-lightbox {
    padding: 3.25rem 0.35rem 1.25rem;
  }

  .canevi-pdp-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
  }

  .canevi-pdp-lightbox__nav--prev {
    left: 0.35rem;
  }

  .canevi-pdp-lightbox__nav--next {
    right: 0.35rem;
  }
}


/* —— Variations: stacked, sharp fields —— */
body.single-product.canevi-site-page table.variations {
  border: 0;
  width: 100%;
  margin: 0 0 0.35rem;
}

body.single-product.canevi-site-page table.variations tbody {
  display: block;
}

body.single-product.canevi-site-page table.variations tr {
  display: block;
  margin: 0 0 1.1rem;
  border: 0;
}

body.single-product.canevi-site-page table.variations th,
body.single-product.canevi-site-page table.variations td {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
}

body.single-product.canevi-site-page table.variations label {
  display: block;
  margin: 0 0 0.45rem;
  color: var(--text);
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  text-transform: none;
}

body.single-product.canevi-site-page table.variations .canevi-attr-selected {
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0;
  text-transform: none;
}

body.single-product.canevi-site-page table.variations .canevi-attr-selected[hidden] {
  display: none !important;
}

body.single-product.canevi-site-page table.variations select,
body.single-product.canevi-site-page .variations select {
  width: 100%;
  max-width: 100%;
  border: 0 !important;
  border-bottom: 1px solid var(--text) !important;
  border-radius: 0;
  background-color: transparent;
  color: var(--text);
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 0.95rem;
  min-height: 2.75rem;
  padding: 0.4rem 2rem 0.45rem 0;
  box-shadow: none !important;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23171717' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.15rem center;
}

body.single-product.canevi-site-page table.variations select:focus {
  border-bottom-color: var(--brand) !important;
  outline: none;
  box-shadow: none !important;
}

/* Attribute buttons (replace dropdown UI; native select is visually clipped) */
body.single-product.canevi-site-page .variations td.value {
  position: relative;
}

body.single-product.canevi-site-page .canevi-attr-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin: 0.15rem 0 0;
}

body.single-product.canevi-site-page .canevi-attr-btn {
  margin: 0;
  cursor: pointer;
  font-family: var(--font-ui);
  transition: border-color var(--transition-hover), background var(--transition-hover),
    color var(--transition-hover), opacity var(--transition-hover), box-shadow var(--transition-hover);
}

body.single-product.canevi-site-page .canevi-attr-btn--chip {
  min-width: 2.75rem;
  min-height: 2.55rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: calc(var(--gallery-radius) * 0.55);
  background: var(--surface);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
}

body.single-product.canevi-site-page .canevi-attr-btn--chip:hover {
  border-color: var(--text);
}

body.single-product.canevi-site-page .canevi-attr-btn--chip.is-selected {
  background: var(--text);
  border-color: var(--text);
  color: var(--text-inverse);
}

body.single-product.canevi-site-page .canevi-attr-btn--swatch {
  width: 1.85rem;
  height: 1.85rem;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(23, 23, 23, 0.14);
  background: var(--swatch, #c4c4c4);
  box-shadow: inset 0 0 0 2px var(--surface, #fff);
  position: relative;
}

body.single-product.canevi-site-page .canevi-attr-btn--swatch.canevi-attr-btn--light {
  border-color: rgba(23, 23, 23, 0.28);
}

body.single-product.canevi-site-page .canevi-attr-btn--swatch:hover {
  box-shadow: inset 0 0 0 2px var(--surface, #fff), 0 0 0 1px var(--text);
}

body.single-product.canevi-site-page .canevi-attr-btn--swatch.is-selected {
  box-shadow: inset 0 0 0 2px var(--surface, #fff), 0 0 0 2px var(--text);
}

body.single-product.canevi-site-page .canevi-attr-btn.is-disabled,
body.single-product.canevi-site-page .canevi-attr-btn.canevi-attr-btn--no-stock {
  opacity: 0.38;
  cursor: pointer;
}

body.single-product.canevi-site-page .canevi-attr-btn--chip.is-disabled,
body.single-product.canevi-site-page .canevi-attr-btn--chip.canevi-attr-btn--no-stock {
  text-decoration: line-through;
  color: var(--text-muted);
}

body.single-product.canevi-site-page .canevi-attr-btn--swatch.is-disabled::after,
body.single-product.canevi-site-page .canevi-attr-btn--swatch.canevi-attr-btn--no-stock::after {
  content: "";
  position: absolute;
  inset: 45% -12%;
  height: 1.5px;
  background: rgba(23, 23, 23, 0.72);
  transform: rotate(-42deg);
  pointer-events: none;
}

body.single-product.canevi-site-page .canevi-attr-btn--chip.is-disabled.is-selected,
body.single-product.canevi-site-page .canevi-attr-btn--chip.canevi-attr-btn--no-stock.is-selected {
  opacity: 0.75;
  background: #444;
  border-color: #777;
  color: #fff;
  text-decoration: line-through;
}

body.single-product.canevi-site-page .canevi-attr-btn--swatch.is-disabled.is-selected,
body.single-product.canevi-site-page .canevi-attr-btn--swatch.canevi-attr-btn--no-stock.is-selected {
  opacity: 0.75;
}

body.single-product.canevi-site-page .canevi-attr-btn:focus-visible {
  outline: 2px solid var(--brand-dark);
  outline-offset: 2px;
}

/* Keep Woo <select> for variation JS, but fully out of sight/hit-testing */
body.single-product.canevi-site-page select.canevi-attr-select--native,
body.single-product.canevi-site-page .variations select.canevi-attr-select--native {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  width: 1px !important;
  height: 1px !important;
  min-height: 0 !important;
  max-width: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  opacity: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  pointer-events: none !important;
  background: none !important;
  background-image: none !important;
  appearance: none !important;
  z-index: -1 !important;
}

body.single-product.canevi-site-page .reset_variations {
  display: none !important;
}

body.single-product.canevi-site-page .woocommerce-variation {
  margin: 0.25rem 0 1rem;
}

body.single-product.canevi-site-page .stock {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 500;
}

body.single-product.canevi-site-page .stock.in-stock {
  color: #3d6b45;
}

body.single-product.canevi-site-page .stock.canevi-stock--low,
body.single-product.canevi-site-page .canevi-stock--low {
  color: #b42318;
  font-weight: 600;
}

body.single-product.canevi-site-page .stock.out-of-stock {
  color: #b42318;
}

/* —— Qty + ATC —— */
body.single-product.canevi-site-page .woocommerce-variation-add-to-cart,
body.single-product.canevi-site-page form.cart:not(.variations_form),
body.single-product.canevi-site-page .variations_button {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.55rem;
  margin-top: 0.25rem;
}

body.single-product.canevi-site-page .quantity {
  margin: 0;
}

/* One control: rounded shell + two straight inner dividers (− | qty | +) */
body.single-product.canevi-site-page .quantity.canevi-qty {
  display: inline-flex;
  align-items: stretch;
  gap: 0;
  border: 1px solid var(--border, #e4ded9);
  border-radius: var(--radius-md, 10px);
  overflow: hidden;
  background: var(--surface, #fff);
  min-height: 3.15rem;
  box-sizing: border-box;
}

body.single-product.canevi-site-page .quantity.canevi-qty .qty,
body.single-product.canevi-site-page .quantity.canevi-qty input.qty {
  width: 2.75rem;
  min-width: 2.75rem;
  margin: 0;
  padding: 0 0.15rem;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--text);
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  min-height: 3.15rem;
  box-shadow: none !important;
  -moz-appearance: textfield;
  appearance: textfield;
}

body.single-product.canevi-site-page .quantity.canevi-qty .qty::-webkit-outer-spin-button,
body.single-product.canevi-site-page .quantity.canevi-qty .qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

body.single-product.canevi-site-page .quantity .qty,
body.single-product.canevi-site-page .quantity input.qty {
  width: 4.25rem;
  border: 1px solid var(--border, #e4ded9) !important;
  border-radius: var(--radius-md, 10px);
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  min-height: 3.15rem;
  box-shadow: none !important;
}

body.single-product.canevi-site-page .quantity.canevi-qty .qty:focus {
  border: 0 !important;
  outline: none;
  box-shadow: none !important;
}

body.single-product.canevi-site-page .quantity .qty:focus {
  border-color: var(--brand) !important;
  outline: none;
  box-shadow: none !important;
}

body.single-product.canevi-site-page .canevi-qty__btn,
body.single-product.canevi-site-page button.canevi-qty__btn,
body.single-product.canevi-site-page .woocommerce button.canevi-qty__btn {
  appearance: none;
  flex: 0 0 2.65rem;
  width: 2.65rem;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--text-muted, #6d6865) !important;
  font-family: var(--font-ui);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

body.single-product.canevi-site-page .canevi-qty__btn:hover,
body.single-product.canevi-site-page .canevi-qty__btn:focus-visible,
body.single-product.canevi-site-page button.canevi-qty__btn:hover,
body.single-product.canevi-site-page button.canevi-qty__btn:focus-visible {
  background: color-mix(in srgb, var(--text) 5%, transparent) !important;
  color: var(--text, #171717) !important;
  outline: none;
  box-shadow: none !important;
}

body.single-product.canevi-site-page .canevi-qty__btn:disabled,
body.single-product.canevi-site-page button.canevi-qty__btn:disabled,
body.single-product.canevi-site-page .canevi-qty__btn[aria-disabled="true"],
body.single-product.canevi-site-page button.canevi-qty__btn[aria-disabled="true"] {
  opacity: 0.35 !important;
  cursor: not-allowed !important;
  color: var(--text-muted, #6d6865) !important;
  background: transparent !important;
  pointer-events: none;
}

/* Straight dividers only — outer radius lives on .canevi-qty */
body.single-product.canevi-site-page .canevi-qty__minus,
body.single-product.canevi-site-page button.canevi-qty__minus {
  border-right: 1px solid var(--border, #e4ded9) !important;
  border-radius: 0 !important;
}

body.single-product.canevi-site-page .canevi-qty__plus,
body.single-product.canevi-site-page button.canevi-qty__plus {
  border-left: 1px solid var(--border, #e4ded9) !important;
  border-radius: 0 !important;
}

/* Single-option attribute: label + value only (hide swatches/chips) */
body.single-product.canevi-site-page .variations tr.canevi-attr--single td.value {
  min-height: 0;
}

body.single-product.canevi-site-page .variations tr.canevi-attr--single .canevi-attr-buttons {
  display: none !important;
}

body.single-product.canevi-site-page .variations tr.canevi-attr--single .canevi-attr-selected {
  font-weight: 600;
  color: var(--text);
}

body.single-product.canevi-site-page .single_add_to_cart_button {
  flex: 1 1 12rem;
}

/* —— Buttons: sharp black (general) —— */
body.single-product.canevi-site-page .woocommerce a.button,
body.single-product.canevi-site-page .woocommerce button.button,
body.single-product.canevi-site-page .woocommerce input.button,
body.single-product.canevi-site-page .woocommerce #respond input#submit,
body.single-product.canevi-site-page .woocommerce a.button.alt,
body.single-product.canevi-site-page .woocommerce button.button.alt,
body.single-product.canevi-site-page .woocommerce input.button.alt,
body.single-product.canevi-site-page .single_add_to_cart_button,
body.single-product.canevi-site-page .ast-single-product-summary .button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius) !important;
  border: 1px solid var(--text) !important;
  background: var(--text) !important;
  background-color: var(--text) !important;
  color: var(--text-inverse) !important;
  font-family: var(--font-ui) !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none !important;
  box-shadow: none !important;
  transition:
    background var(--transition-hover),
    border-color var(--transition-hover),
    color var(--transition-hover);
}

/* Adicionar: cor Canevi + cantos arredondados */
body.single-product.canevi-site-page .single_add_to_cart_button.button,
body.single-product.canevi-site-page .single_add_to_cart_button {
  border-radius: var(--gallery-radius) !important;
  border-color: var(--brand) !important;
  background: var(--brand) !important;
  background-color: var(--brand) !important;
  color: var(--text-inverse) !important;
}

body.single-product.canevi-site-page .woocommerce a.button:hover,
body.single-product.canevi-site-page .woocommerce button.button:hover,
body.single-product.canevi-site-page .woocommerce input.button:hover,
body.single-product.canevi-site-page .woocommerce a.button.alt:hover,
body.single-product.canevi-site-page .woocommerce button.button.alt:hover,
body.single-product.canevi-site-page .woocommerce input.button.alt:hover,
body.single-product.canevi-site-page .single_add_to_cart_button:hover,
body.single-product.canevi-site-page .ast-single-product-summary .button:hover,
body.single-product.canevi-site-page .woocommerce a.button:focus,
body.single-product.canevi-site-page .woocommerce button.button:focus,
body.single-product.canevi-site-page .woocommerce a.button.alt:focus,
body.single-product.canevi-site-page .woocommerce button.button.alt:focus,
body.single-product.canevi-site-page .single_add_to_cart_button:focus {
  background: var(--brand-dark) !important;
  background-color: var(--brand-dark) !important;
  border-color: var(--brand-dark) !important;
  color: var(--text-inverse) !important;
  outline: none;
  box-shadow: none !important;
}

body.single-product.canevi-site-page .woocommerce a.button:disabled,
body.single-product.canevi-site-page .woocommerce button.button:disabled,
body.single-product.canevi-site-page .single_add_to_cart_button:disabled,
body.single-product.canevi-site-page .woocommerce a.button.disabled,
body.single-product.canevi-site-page .woocommerce button.button.disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

body.single-product.canevi-site-page #ppc-button,
body.single-product.canevi-site-page .paypal-buttons,
body.single-product.canevi-site-page [id*="paypal"],
body.single-product.canevi-site-page .wc-apollo-paypal,
body.single-product.canevi-site-page .ast-on-card-button {
  margin-top: 0;
}

/* Express checkout disabled on PDP — hide any leftover mounts */
body.single-product.canevi-site-page #wc-stripe-express-checkout-element,
body.single-product.canevi-site-page .ppc-button-wrapper,
body.single-product.canevi-site-page #ppc-button-ppcp-gateway,
body.single-product.canevi-site-page .canevi-express-row,
body.single-product.canevi-site-page .canevi-buy-row {
  display: none !important;
}

/* —— Meta (moved into Informação adicional) —— */
body.single-product.canevi-site-page .product_meta {
  display: none !important;
}

/* —— Additional information (under ATC, summary column) —— */
body.single-product.canevi-site-page .canevi-pdp-additional {
  width: 100%;
  margin: 1.1rem 0 0.35rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border, #e8e4df);
}

body.single-product.canevi-site-page .canevi-pdp-additional__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-ui);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--text);
  line-height: 1.25;
}

body.single-product.canevi-site-page .canevi-pdp-additional__table,
body.single-product.canevi-site-page .canevi-pdp-additional .woocommerce-product-attributes {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
}

body.single-product.canevi-site-page .canevi-pdp-additional__table tr,
body.single-product.canevi-site-page .canevi-pdp-additional .woocommerce-product-attributes tr {
  border-bottom: 1px solid var(--border, #eee);
}

body.single-product.canevi-site-page .canevi-pdp-additional__table th,
body.single-product.canevi-site-page .canevi-pdp-additional__table td,
body.single-product.canevi-site-page .canevi-pdp-additional .woocommerce-product-attributes th,
body.single-product.canevi-site-page .canevi-pdp-additional .woocommerce-product-attributes td {
  padding: 0.65rem 0.5rem 0.65rem 0;
  font-size: 1.02rem;
  line-height: 1.45;
  vertical-align: top;
}

body.single-product.canevi-site-page .canevi-pdp-additional__table th,
body.single-product.canevi-site-page .canevi-pdp-additional .woocommerce-product-attributes th {
  width: 36%;
  color: var(--text-muted);
  font-weight: 600;
}

body.single-product.canevi-site-page .canevi-pdp-additional__table td,
body.single-product.canevi-site-page .canevi-pdp-additional .woocommerce-product-attributes td {
  color: var(--text);
  font-weight: 500;
}

body.single-product.canevi-site-page .canevi-pdp-additional__table td p,
body.single-product.canevi-site-page .canevi-pdp-additional .woocommerce-product-attributes td p {
  margin: 0;
  font-size: inherit;
}

body.single-product.canevi-site-page .canevi-pdp-additional__desc {
  margin: 0.95rem 0 0;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--text);
}

body.single-product.canevi-site-page .canevi-pdp-additional__desc p {
  margin: 0 0 0.65rem;
  font-size: inherit;
}

body.single-product.canevi-site-page .canevi-pdp-additional__desc p:last-child {
  margin-bottom: 0;
}

/* Bottom tabs removed — hide any leftover chrome */
body.single-product.canevi-site-page .woocommerce-tabs {
  display: none !important;
}

body.single-product.canevi-site-page .woocommerce-product-rating,
body.single-product.canevi-site-page .star-rating,
body.single-product.canevi-site-page #reviews {
  display: none !important;
}

/* —— Tabs (legacy; kept for safety if a plugin re-adds them) —— */
body.single-product.canevi-site-page .woocommerce-tabs ul.tabs {
  padding: 0;
  margin: 0 0 1.5rem;
  border-bottom: 1px solid var(--border);
  background: transparent;
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.75rem;
}

body.single-product.canevi-site-page .woocommerce-tabs ul.tabs::before,
body.single-product.canevi-site-page .woocommerce-tabs ul.tabs::after {
  display: none !important;
}

body.single-product.canevi-site-page .woocommerce-tabs ul.tabs li {
  border: 0 !important;
  background: transparent !important;
  border-radius: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.single-product.canevi-site-page .woocommerce-tabs ul.tabs li a {
  display: inline-block;
  padding: 0.95rem 0;
  color: var(--text-muted) !important;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: none;
  border: 0 !important;
  border-bottom: 1px solid transparent !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.single-product.canevi-site-page .woocommerce-tabs ul.tabs li.active a,
body.single-product.canevi-site-page .woocommerce-tabs ul.tabs li a:hover {
  color: var(--text) !important;
  border-bottom-color: var(--text) !important;
}

body.single-product.canevi-site-page .woocommerce-tabs .panel,
body.single-product.canevi-site-page .woocommerce-Tabs-panel {
  background: transparent;
  border: 0;
  box-shadow: none;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.75;
  padding: 0.1rem 0 0;
  max-width: 42rem;
}

body.single-product.canevi-site-page .woocommerce-tabs .panel h2,
body.single-product.canevi-site-page .woocommerce-Tabs-panel h2 {
  font-family: var(--font-ui);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--text);
  margin: 0 0 0.85rem;
}

body.single-product.canevi-site-page .woocommerce-product-attributes {
  border: 0;
}

body.single-product.canevi-site-page .woocommerce-product-attributes tr {
  border-bottom: 1px solid var(--border);
}

body.single-product.canevi-site-page .woocommerce-product-attributes th,
body.single-product.canevi-site-page .woocommerce-product-attributes td {
  border: 0;
  padding: 0.85rem 0;
  background: transparent;
  font-family: var(--font-ui);
}

body.single-product.canevi-site-page .woocommerce-product-attributes th {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  width: 34%;
}

body.single-product.canevi-site-page .woocommerce-product-attributes td {
  color: var(--text);
  font-weight: 500;
}

/* —— Related / upsells (Novidades card parity) —— */
body.single-product.canevi-site-page .related.products, body.woocommerce-cart .related.products,
body.single-product.canevi-site-page .upsells.products, body.woocommerce-cart .upsells.products {
  margin-top: 3.25rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  clear: both;
}

body.single-product.canevi-site-page .related.products > h2, body.woocommerce-cart .related.products > h2,
body.single-product.canevi-site-page .upsells.products > h2, body.woocommerce-cart .upsells.products > h2,
body.single-product.canevi-site-page .related > h2, body.woocommerce-cart .related > h2,
body.single-product.canevi-site-page .upsells > h2, body.woocommerce-cart .upsells > h2,
body.single-product.canevi-site-page .canevi-related__title, body.woocommerce-cart .canevi-related__title {
  font-family: var(--font-ui);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--text);
  margin: 0 0 1.25rem;
  line-height: 1.15;
}

body.single-product.canevi-site-page .canevi-related__grid, body.woocommerce-cart .canevi-related__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Promo / % badges — same red as home (token was black outside .canevi-home) */
body.single-product.canevi-site-page .canevi-related .canevi-badge--promo, body.woocommerce-cart .canevi-related .canevi-badge--promo,
body.single-product.canevi-site-page .canevi-related .canevi-badge--pct, body.woocommerce-cart .canevi-related .canevi-badge--pct {
  background: var(--canevi-promo-red) !important;
  color: #fff !important;
}

body.single-product.canevi-site-page .canevi-related .canevi-card, body.woocommerce-cart .canevi-related .canevi-card {
  min-width: 0;
  width: 100%;
  height: 100%;
  background: var(--surface, #fff);
  border-radius: var(--radius-md, 10px);
  overflow: hidden;
}

body.single-product.canevi-site-page .canevi-related .canevi-card.is-offer-tip-open, body.woocommerce-cart .canevi-related .canevi-card.is-offer-tip-open,
body.single-product.canevi-site-page .canevi-related .canevi-card:has([data-canevi-offer-trigger][aria-expanded='true']) , body.woocommerce-cart .canevi-related .canevi-card:has([data-canevi-offer-trigger][aria-expanded='true']) {
  overflow: visible !important;
  z-index: 5;
}

body.single-product.canevi-site-page .canevi-related .canevi-card__media , body.woocommerce-cart .canevi-related .canevi-card__media {
  border-radius: 0;
}

body.single-product.canevi-site-page .canevi-related .canevi-card__body , body.woocommerce-cart .canevi-related .canevi-card__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding-left: 0.55rem;
  padding-right: 0.55rem;
  padding-bottom: 0.7rem;
}

body.single-product.canevi-site-page .canevi-related .canevi-offer , body.woocommerce-cart .canevi-related .canevi-offer {
  margin-top: auto;
  grid-template-rows: auto;
  min-height: 1.3em;
  gap: 0;
}

body.single-product.canevi-site-page .canevi-related .canevi-card__cta , body.woocommerce-cart .canevi-related .canevi-card__cta {
  display: none;
}

/*
 * Mobile related: pack meta, no blank reserved rows; uneven card heights OK.
 */
@media (max-width: 899px) {
  body.single-product.canevi-site-page .canevi-related__grid, body.woocommerce-cart .canevi-related__grid {
    align-items: start;
  }

  body.single-product.canevi-site-page .canevi-related .canevi-card, body.woocommerce-cart .canevi-related .canevi-card {
    height: auto !important;
  }

  body.single-product.canevi-site-page .canevi-related .canevi-card__body , body.woocommerce-cart .canevi-related .canevi-card__body {
    flex: 0 1 auto !important;
    gap: 0.25rem;
  }

  body.single-product.canevi-site-page .canevi-related .canevi-card__title , body.woocommerce-cart .canevi-related .canevi-card__title {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  body.single-product.canevi-site-page .canevi-related .canevi-card__ref , body.woocommerce-cart .canevi-related .canevi-card__ref {
    min-height: 0 !important;
  }

  body.single-product.canevi-site-page .canevi-related .canevi-card__ref[aria-hidden='true'] , body.woocommerce-cart .canevi-related .canevi-card__ref[aria-hidden='true'] {
    display: none !important;
  }

  body.single-product.canevi-site-page .canevi-related .canevi-card__swatches , body.woocommerce-cart .canevi-related .canevi-card__swatches {
    min-height: 0 !important;
    padding-top: 0;
  }

  body.single-product.canevi-site-page .canevi-related .canevi-offer , body.woocommerce-cart .canevi-related .canevi-offer {
    margin-top: 0.15rem !important;
    min-height: 0 !important;
  }

  body.single-product.canevi-site-page .canevi-related__grid.is-canevi-masonry, body.woocommerce-cart .canevi-related__grid.is-canevi-masonry {
    display: block;
    position: relative;
  }
}

body.single-product.canevi-site-page .canevi-related a.canevi-card__title, body.woocommerce-cart .canevi-related a.canevi-card__title,
body.single-product.canevi-site-page .canevi-related a.canevi-card__gallery-slide , body.woocommerce-cart .canevi-related a.canevi-card__gallery-slide {
  color: inherit;
  text-decoration: none;
}

body.single-product.canevi-site-page .canevi-related a.canevi-card__title:hover , body.woocommerce-cart .canevi-related a.canevi-card__title:hover {
  color: var(--brand-dark);
}

/* Legacy Woo loop (fallback if template not used) */
body.single-product.canevi-site-page .related .woocommerce-loop-product__title, body.woocommerce-cart .related .woocommerce-loop-product__title,
body.single-product.canevi-site-page .upsells .woocommerce-loop-product__title, body.woocommerce-cart .upsells .woocommerce-loop-product__title {
  font-family: var(--font-ui);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  margin-top: 0.75rem;
  line-height: 1.35;
  text-transform: none;
}

body.single-product.canevi-site-page .related .price, body.woocommerce-cart .related .price,
body.single-product.canevi-site-page .upsells .price, body.woocommerce-cart .upsells .price {
  color: var(--text);
  font-weight: 700;
  font-size: 0.9rem;
}

body.single-product.canevi-site-page .related .price, body.woocommerce-cart .related .price ins,
body.single-product.canevi-site-page .upsells .price, body.woocommerce-cart .upsells .price ins {
  text-decoration: none;
  color: var(--canevi-promo-red);
}

body.single-product.canevi-site-page .related .price, body.woocommerce-cart .related .price del,
body.single-product.canevi-site-page .upsells .price, body.woocommerce-cart .upsells .price del {
  color: var(--text-muted);
}

body.single-product.canevi-site-page .related .button, body.woocommerce-cart .related .button,
body.single-product.canevi-site-page .upsells .button, body.woocommerce-cart .upsells .button {
  margin-top: 0.55rem;
  min-height: 2.5rem !important;
  padding: 0.55rem 1rem !important;
  font-size: 0.68rem !important;
}

/* —— Notices —— */
body.single-product.canevi-site-page .woocommerce-message,
body.single-product.canevi-site-page .woocommerce-info,
body.single-product.canevi-site-page .woocommerce-error {
  border-top: 0 !important;
  border-left: 2px solid var(--brand, #c1608d) !important;
  background: var(--surface, #fff);
  color: var(--text);
  font-family: var(--font-ui);
  border-radius: 0.65rem;
  padding: 0.95rem 1.1rem;
}

body.single-product.canevi-site-page .woocommerce-error {
  border-left-color: var(--canevi-promo-red, #f93956) !important;
}

body.single-product.canevi-site-page .woocommerce-info {
  border-left-color: rgba(23, 23, 23, 0.28) !important;
}

body.single-product.canevi-site-page .woocommerce-message::before,
body.single-product.canevi-site-page .woocommerce-info::before,
body.single-product.canevi-site-page .woocommerce-error::before {
  display: none !important;
}

body.single-product.canevi-site-page .woocommerce-message a,
body.single-product.canevi-site-page .woocommerce-info a {
  color: var(--brand-dark) !important;
  font-weight: 600;
}

/* —— Reviews —— */
body.single-product.canevi-site-page #review_form_wrapper input,
body.single-product.canevi-site-page #review_form_wrapper textarea,
body.single-product.canevi-site-page .comment-form input,
body.single-product.canevi-site-page .comment-form textarea {
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  font-family: var(--font-ui);
  color: var(--text);
  background: transparent;
  box-shadow: none;
}

body.single-product.canevi-site-page #review_form_wrapper input:focus,
body.single-product.canevi-site-page #review_form_wrapper textarea:focus {
  border-bottom-color: var(--text);
  outline: none;
  box-shadow: none;
}

/*
 * Desktop typography — same author scale as home (@ 2304 + html zoom).
 * Values match --canevi-fs-* in canevi-home.css / DESIGN-REGISTRY.
 */
@media (min-width: 900px) {
  body.single-product.canevi-site-page {
    --canevi-ui-scale: 1;
    --canevi-fs-section: calc(36px * var(--canevi-ui-scale));
    --canevi-fs-more: calc(18.67px * var(--canevi-ui-scale));
    --canevi-fs-card-title: calc(20.48px * var(--canevi-ui-scale));
    --canevi-fs-price: calc(28px * var(--canevi-ui-scale));
    --canevi-fs-ref: calc(18.5px * var(--canevi-ui-scale));
    --canevi-fs-offer: calc(14px * var(--canevi-ui-scale));
    --canevi-fs-badge: calc(17.5px * var(--canevi-ui-scale));
    --canevi-fs-look-title: calc(28.67px * var(--canevi-ui-scale));
    --canevi-fs-look-sub: calc(17.41px * var(--canevi-ui-scale));
    --canevi-fs-cat: calc(15px * var(--canevi-ui-scale));
    --canevi-fs-campaign-sub: calc(18px * var(--canevi-ui-scale));
    --canevi-flash-bar-h: calc(44px * var(--canevi-ui-scale));
    --canevi-fs-flash: calc(17.5px * var(--canevi-ui-scale));
    --canevi-gallery-dot: calc(10px * var(--canevi-ui-scale));
  }

  body.single-product.canevi-site-page .woocommerce-breadcrumb,
  body.single-product.canevi-site-page .ast-breadcrumbs,
  body.single-product.canevi-site-page .summary .woocommerce-breadcrumb {
    font-size: var(--canevi-fs-cat);
  }

  body.single-product.canevi-site-page .single-product-category {
    font-size: var(--canevi-fs-cat);
  }

  body.single-product.canevi-site-page .product_title,
  body.single-product.canevi-site-page .summary .product_title {
    font-size: calc(28px * var(--canevi-ui-scale));
    font-weight: 500;
    line-height: 1.2;
  }

  body.single-product.canevi-site-page .woocommerce-product-details__short-description,
  body.single-product.canevi-site-page .woocommerce-product-details__short-description p {
    font-size: var(--canevi-fs-campaign-sub);
    line-height: 1.55;
  }

  body.single-product.canevi-site-page .summary .price,
  body.single-product.canevi-site-page .woocommerce-variation-price .price,
  body.single-product.canevi-site-page p.price {
    font-size: var(--canevi-fs-price);
    font-weight: 700;
  }

  body.single-product.canevi-site-page .canevi-omnibus-price {
    font-size: calc(15px * var(--canevi-ui-scale));
  }

  body.single-product.canevi-site-page .canevi-pdp-offer__flash {
    min-height: calc(36px * var(--canevi-ui-scale));
    padding: calc(8px * var(--canevi-ui-scale)) calc(12px * var(--canevi-ui-scale));
  }

  body.single-product.canevi-site-page .canevi-pdp-offer__flash-label,
  body.single-product.canevi-site-page .canevi-pdp-offer__flash-sep {
    font-size: var(--canevi-fs-flash, 17.5px);
  }

  body.single-product.canevi-site-page .canevi-pdp-offer__countdown {
    font-size: var(--canevi-fs-flash, 17.5px);
  }

  body.single-product.canevi-site-page .canevi-pdp-offer__badge {
    font-size: var(--canevi-fs-badge, 17.5px);
    min-height: calc(28px * var(--canevi-ui-scale));
    padding: calc(6px * var(--canevi-ui-scale)) calc(11px * var(--canevi-ui-scale));
  }

  body.single-product.canevi-site-page .canevi-pdp-offer__trigger {
    font-size: var(--canevi-fs-offer);
  }

  body.single-product.canevi-site-page .canevi-pdp-offer__tip {
    width: min(18rem, calc(100vw - 2rem));
    padding: 0.9rem 1.05rem;
  }

  body.single-product.canevi-site-page .canevi-pdp-offer__tip-title {
    font-size: calc(18px * var(--canevi-ui-scale));
    font-weight: 700;
  }

  body.single-product.canevi-site-page .canevi-pdp-offer__tip-body {
    font-size: calc(16.5px * var(--canevi-ui-scale));
    line-height: 1.45;
  }

  body.single-product.canevi-site-page table.variations label {
    font-size: var(--canevi-fs-cat);
  }

  body.single-product.canevi-site-page table.variations .canevi-attr-selected {
    font-size: var(--canevi-fs-cat);
  }

  body.single-product.canevi-site-page table.variations select,
  body.single-product.canevi-site-page .variations select {
    font-size: var(--canevi-fs-ref);
  }

  body.single-product.canevi-site-page .canevi-attr-btn--chip {
    min-width: calc(48px * var(--canevi-ui-scale));
    min-height: calc(44px * var(--canevi-ui-scale));
    font-size: var(--canevi-fs-ref);
    padding: calc(8px * var(--canevi-ui-scale)) calc(14px * var(--canevi-ui-scale));
  }

  body.single-product.canevi-site-page .canevi-attr-btn--swatch {
    width: calc(32px * var(--canevi-ui-scale));
    height: calc(32px * var(--canevi-ui-scale));
  }

  body.single-product.canevi-site-page .canevi-attr-buttons {
    gap: calc(10px * var(--canevi-ui-scale));
  }

  body.single-product.canevi-site-page .reset_variations {
    font-size: var(--canevi-fs-offer);
  }

  body.single-product.canevi-site-page .stock {
    font-size: var(--canevi-fs-look-sub);
  }

  body.single-product.canevi-site-page .quantity .qty,
  body.single-product.canevi-site-page .quantity input.qty {
    font-size: var(--canevi-fs-ref);
  }

  body.single-product.canevi-site-page .quantity.canevi-qty {
    min-height: calc(44px * var(--canevi-ui-scale));
  }

  body.single-product.canevi-site-page .canevi-qty__btn {
    flex-basis: calc(44px * var(--canevi-ui-scale));
    width: calc(44px * var(--canevi-ui-scale));
    font-size: calc(17px * var(--canevi-ui-scale));
    font-weight: 500;
  }

  body.single-product.canevi-site-page .quantity.canevi-qty .qty,
  body.single-product.canevi-site-page .quantity.canevi-qty input.qty {
    width: calc(48px * var(--canevi-ui-scale));
    min-width: calc(48px * var(--canevi-ui-scale));
    min-height: calc(44px * var(--canevi-ui-scale));
  }

  body.single-product.canevi-site-page .woocommerce a.button,
  body.single-product.canevi-site-page .woocommerce button.button,
  body.single-product.canevi-site-page .woocommerce input.button,
  body.single-product.canevi-site-page .woocommerce #respond input#submit,
  body.single-product.canevi-site-page .woocommerce a.button.alt,
  body.single-product.canevi-site-page .woocommerce button.button.alt,
  body.single-product.canevi-site-page .woocommerce input.button.alt,
  body.single-product.canevi-site-page .single_add_to_cart_button,
  body.single-product.canevi-site-page .ast-single-product-summary .button {
    font-size: var(--canevi-fs-cat) !important;
  }

  body.single-product.canevi-site-page .canevi-pdp-additional__title {
    font-size: calc(19px * var(--canevi-ui-scale));
  }

  body.single-product.canevi-site-page .canevi-pdp-additional__table th,
  body.single-product.canevi-site-page .canevi-pdp-additional__table td,
  body.single-product.canevi-site-page .canevi-pdp-additional .woocommerce-product-attributes th,
  body.single-product.canevi-site-page .canevi-pdp-additional .woocommerce-product-attributes td,
  body.single-product.canevi-site-page .canevi-pdp-additional__desc {
    font-size: calc(17px * var(--canevi-ui-scale));
  }

  body.single-product.canevi-site-page .product_meta,
  body.single-product.canevi-site-page .product_meta a,
  body.single-product.canevi-site-page .sku_wrapper,
  body.single-product.canevi-site-page .posted_in,
  body.single-product.canevi-site-page .tagged_as {
    font-size: var(--canevi-fs-ref);
    font-weight: 500;
  }

  body.single-product.canevi-site-page .woocommerce-tabs ul.tabs li a {
    font-size: var(--canevi-fs-more);
  }

  body.single-product.canevi-site-page .woocommerce-tabs .panel,
  body.single-product.canevi-site-page .woocommerce-Tabs-panel {
    font-size: var(--canevi-fs-campaign-sub);
  }

  body.single-product.canevi-site-page .woocommerce-tabs .panel h2,
  body.single-product.canevi-site-page .woocommerce-Tabs-panel h2 {
    font-size: var(--canevi-fs-look-title);
    font-weight: 700;
  }

  body.single-product.canevi-site-page .woocommerce-product-attributes th {
    font-size: var(--canevi-fs-cat);
  }

  body.single-product.canevi-site-page .woocommerce-product-attributes td {
    font-size: var(--canevi-fs-ref);
  }

  body.single-product.canevi-site-page .related.products > h2, body.woocommerce-cart .related.products > h2,
  body.single-product.canevi-site-page .upsells.products > h2, body.woocommerce-cart .upsells.products > h2,
  body.single-product.canevi-site-page .related > h2, body.woocommerce-cart .related > h2,
  body.single-product.canevi-site-page .upsells > h2, body.woocommerce-cart .upsells > h2,
  body.single-product.canevi-site-page .canevi-related__title, body.woocommerce-cart .canevi-related__title {
    font-size: var(--canevi-fs-section);
    font-weight: 700;
  }

  body.single-product.canevi-site-page .canevi-related__grid, body.woocommerce-cart .canevi-related__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: calc(28px * var(--canevi-ui-scale)) calc(22px * var(--canevi-ui-scale));
  }

  body.single-product.canevi-site-page .canevi-related .canevi-card__title , body.woocommerce-cart .canevi-related .canevi-card__title {
    font-size: var(--canevi-fs-card-title) !important;
    font-weight: 500;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 1 !important;
    line-clamp: 1 !important;
    overflow: hidden !important;
    height: 1.35em !important;
    min-height: 1.35em !important;
    max-height: 1.35em !important;
    text-transform: none;
    letter-spacing: 0;
  }

  body.single-product.canevi-site-page .canevi-related .canevi-card__price, body.woocommerce-cart .canevi-related .canevi-card__price,
  body.single-product.canevi-site-page .canevi-related .canevi-price, body.woocommerce-cart .canevi-related .canevi-price,
  body.single-product.canevi-site-page .canevi-related .canevi-price--amazon , body.woocommerce-cart .canevi-related .canevi-price--amazon {
    font-size: var(--canevi-fs-price) !important;
  }

  body.single-product.canevi-site-page .canevi-related .canevi-card__ref , body.woocommerce-cart .canevi-related .canevi-card__ref {
    font-size: var(--canevi-fs-ref) !important;
  }

  body.single-product.canevi-site-page .canevi-related .canevi-offer__trigger , body.woocommerce-cart .canevi-related .canevi-offer__trigger {
    font-size: var(--canevi-fs-offer) !important;
  }

  body.single-product.canevi-site-page .canevi-related .canevi-card__swatches , body.woocommerce-cart .canevi-related .canevi-card__swatches {
    gap: calc(4.5px * var(--canevi-ui-scale)) !important;
    min-height: calc(16px * var(--canevi-ui-scale)) !important;
  }

  body.single-product.canevi-site-page .canevi-related .canevi-badge , body.woocommerce-cart .canevi-related .canevi-badge {
    font-size: var(--canevi-fs-badge, 17.5px) !important;
    padding: calc(6px * var(--canevi-ui-scale)) calc(11px * var(--canevi-ui-scale)) !important;
  }

  body.single-product.canevi-site-page .canevi-related .canevi-card--flash , body.woocommerce-cart .canevi-related .canevi-card--flash {
    --canevi-flash-bar-h: calc(44px * var(--canevi-ui-scale));
  }

  body.single-product.canevi-site-page .canevi-related .canevi-card__flash-bar , body.woocommerce-cart .canevi-related .canevi-card__flash-bar {
    min-height: var(--canevi-flash-bar-h) !important;
    height: auto !important;
    padding: calc(9px * var(--canevi-ui-scale)) calc(14px * var(--canevi-ui-scale)) !important;
    gap: calc(8px * var(--canevi-ui-scale)) !important;
  }

  body.single-product.canevi-site-page .canevi-related .canevi-card__flash-label, body.woocommerce-cart .canevi-related .canevi-card__flash-label,
  body.single-product.canevi-site-page .canevi-related .canevi-card__flash-sep, body.woocommerce-cart .canevi-related .canevi-card__flash-sep,
  body.single-product.canevi-site-page .canevi-related .canevi-card__flash-countdown , body.woocommerce-cart .canevi-related .canevi-card__flash-countdown {
    font-size: var(--canevi-fs-flash, 17.5px) !important;
  }

  body.single-product.canevi-site-page .canevi-related .canevi-card__gallery-dot , body.woocommerce-cart .canevi-related .canevi-card__gallery-dot {
    width: var(--canevi-gallery-dot, 10px) !important;
    height: var(--canevi-gallery-dot, 10px) !important;
  }

  body.single-product.canevi-site-page .canevi-related .canevi-card__gallery-dots , body.woocommerce-cart .canevi-related .canevi-card__gallery-dots {
    gap: calc(7px * var(--canevi-ui-scale)) !important;
  }

  body.single-product.canevi-site-page .related .woocommerce-loop-product__title, body.woocommerce-cart .related .woocommerce-loop-product__title,
  body.single-product.canevi-site-page .upsells .woocommerce-loop-product__title, body.woocommerce-cart .upsells .woocommerce-loop-product__title {
    font-size: var(--canevi-fs-card-title);
  }

  body.single-product.canevi-site-page .related .price, body.woocommerce-cart .related .price,
  body.single-product.canevi-site-page .upsells .price, body.woocommerce-cart .upsells .price {
    font-size: var(--canevi-fs-price);
  }

  body.single-product.canevi-site-page .related .button, body.woocommerce-cart .related .button,
  body.single-product.canevi-site-page .upsells .button, body.woocommerce-cart .upsells .button {
    font-size: var(--canevi-fs-cat) !important;
  }

  body.single-product.canevi-site-page .woocommerce-message,
  body.single-product.canevi-site-page .woocommerce-info,
  body.single-product.canevi-site-page .woocommerce-error {
    font-size: var(--canevi-fs-campaign-sub);
  }
}

@supports not (zoom: 1) {
  @media (min-width: 900px) {
    body.single-product.canevi-site-page {
      --canevi-ui-scale: calc(100vw / 2304px);
    }
  }
}

@media (min-width: 900px) {
  body.woocommerce-cart .canevi-related {
    --canevi-promo-red: #f93956;
    --promotion: #f93956;
    --badge-promo-bg: #f93956;
    --badge-promo-fg: #fff;
    --text: #171717;
    --text-muted: #6d6865;
    --surface: #ffffff;
    --border: #e8e4e0;
    --font-ui: "Manrope", "Segoe UI", system-ui, sans-serif;
    --canevi-ui-scale: 1;
    --canevi-fs-section: calc(36px * var(--canevi-ui-scale));
    --canevi-fs-more: calc(18.67px * var(--canevi-ui-scale));
    --canevi-fs-card-title: calc(20.48px * var(--canevi-ui-scale));
    --canevi-fs-price: calc(28px * var(--canevi-ui-scale));
    --canevi-fs-ref: calc(18.5px * var(--canevi-ui-scale));
    --canevi-fs-offer: calc(14px * var(--canevi-ui-scale));
    --canevi-fs-badge: calc(17.5px * var(--canevi-ui-scale));
    --canevi-flash-bar-h: calc(44px * var(--canevi-ui-scale));
    --canevi-fs-flash: calc(17.5px * var(--canevi-ui-scale));
    --canevi-gallery-dot: calc(10px * var(--canevi-ui-scale));
    color: var(--text, #171717);
  }
}
