.single-product .ff-single-product {
  --ff-card-bg: var(--e-global-color-background, #fff);
  --ff-card-border: var(--e-global-color-border, #dad9d9);
  --ff-heading: var(--e-global-color-secondary, #190d39);
  --ff-text: var(--e-global-color-text, #67656e);
  --ff-muted: var(--e-global-color-tertiary, #95949c);
  --ff-accent: var(--e-global-color-primary, #fcda98);
  --ffehbo-gold: var(--e-global-color-primary, #f4b83f);
  --ffehbo-navy: var(--e-global-color-secondary, #190d39);
  --ff-soft-bg: var(--e-global-color-alternate, #fafaf8);
  --ff-soft-blue: var(--e-global-color-6794727, #e7f5f7);
  --ff-soft-beige: var(--e-global-color-5c0662a, #f3e8de);
  --ff-shadow: 0 14px 35px rgba(25, 13, 57, 0.07);
  --ff-radius: 26px;
  color: var(--ff-text);
}

.single-product .ff-single-product__container {
  width: min(100%, 1360px);
  margin: 0 auto;
  padding: 26px clamp(18px, 4vw, 48px) 72px;
}

.single-product .ff-product-breadcrumbs {
  margin: 0 0 16px;
  color: rgba(25, 13, 57, 0.62);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-gutter: stable;
  -webkit-overflow-scrolling: touch;
}

.single-product .ff-product-breadcrumbs a { color: inherit; text-decoration: none; }
.single-product .ff-product-breadcrumbs a:hover,
.single-product .ff-product-breadcrumbs a:focus-visible { color: #ea8a00; text-decoration: none; outline: none; }
.single-product .ff-product-breadcrumbs .ffehbo-breadcrumb { display: flex; gap: 8px; align-items: center; flex-wrap: nowrap; min-width: 0; margin: 0; padding: 0; list-style: none; }
.single-product .ff-product-breadcrumbs .ffehbo-breadcrumb__item { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.single-product .ff-product-breadcrumbs .ffehbo-breadcrumb__item:not(:last-child)::after { content: "›"; color: rgba(25, 13, 57, 0.36); font-size: 16px; line-height: 1; }
.single-product .ff-product-breadcrumbs .ffehbo-breadcrumb__link,
.single-product .ff-product-breadcrumbs .ffehbo-breadcrumb__current { display: inline-flex; align-items: center; min-width: 0; color: inherit; text-decoration: none; }
.single-product .ff-product-breadcrumbs .ffehbo-breadcrumb__label,
.single-product .ff-product-breadcrumbs .ffehbo-breadcrumb__current { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.single-product .ff-product-hero {
  display: grid;
  grid-template-columns: minmax(450px, 450px) minmax(0, 1fr);
  gap: clamp(24px, 2.4vw, 32px);
  align-items: stretch;
}

.single-product .ff-product-gallery-card,
.single-product .ff-product-summary-card,
.single-product .ff-product-info-card,
.single-product .ff-specifications-card {
  background: var(--ff-card-bg);
  border: 1px solid rgba(218, 217, 217, 0.65);
  border-radius: var(--ff-radius);
  box-shadow: var(--ff-shadow);
}

.single-product .ff-product-gallery-card { width: 100%; min-width: 450px; max-width: 450px; padding: clamp(18px, 2vw, 24px); min-height: 520px; position: relative; display: flex; }
.single-product .ff-product-gallery-card .woocommerce-product-gallery { width: 100% !important; margin: 0 !important; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 26px; align-items: stretch; flex: 1 1 auto; }
.single-product .ff-product-gallery-card .flex-viewport { grid-column: 2; min-height: 470px; height: 100% !important; overflow: hidden; border-radius: 22px; }
.single-product .ff-product-gallery-card .flex-viewport .woocommerce-product-gallery__wrapper { height: 100%; }
.single-product .ff-product-gallery-card .woocommerce-product-gallery__image,
.single-product .ff-product-gallery-card .woocommerce-product-gallery__image > a { min-height: 470px; height: 100%; display: flex !important; align-items: center; justify-content: center; }
.single-product .ff-product-gallery-card .woocommerce-product-gallery__image { width: 100%; }
.single-product .ff-product-gallery-card .woocommerce-product-gallery__image img { width: 100% !important; height: 100% !important; max-width: 100% !important; max-height: 470px !important; object-fit: contain; object-position: center; margin: 0 auto; }
.single-product .ff-product-gallery-card .flex-control-nav { grid-column: 1; grid-row: 1; width: 100% !important; height: 100%; margin: 0 !important; padding: 0 18px 0 0 !important; display: flex !important; flex-direction: column !important; gap: 18px; overflow-y: auto; border-right: 1px solid rgba(218, 217, 217, 0.75); }
.single-product .ff-product-gallery-card--single .woocommerce-product-gallery { display: flex; }
.single-product .ff-product-gallery-card--single .flex-viewport,
.single-product .ff-product-gallery-card--single .woocommerce-product-gallery__wrapper,
.single-product .ff-product-gallery-card--single .woocommerce-product-gallery__image,
.single-product .ff-product-gallery-card--single .woocommerce-product-gallery__image > a { width: 100% !important; min-height: 470px; height: 100% !important; }
.single-product .ff-product-gallery-card--single .flex-control-nav { display: none !important; }
.single-product .ff-product-gallery-card .flex-control-nav li { width: 86px !important; flex: 0 0 86px; }
.single-product .ff-product-gallery-card .flex-control-nav img { width: 86px !important; height: 86px !important; padding: 8px; object-fit: contain; background: #fff; border: 1px solid rgba(218, 217, 217, 0.75); border-radius: 14px; opacity: 1; }
.single-product .ff-product-gallery-card .flex-control-nav img.flex-active,
.single-product .ff-product-gallery-card .flex-control-nav img:hover { border-color: var(--ff-accent); box-shadow: 0 0 0 2px rgba(252, 218, 152, 0.65); }
.single-product .ff-product-gallery-card .woocommerce-product-gallery__trigger { display: none !important; }
.single-product .ff-product-gallery-card .woocommerce-product-gallery__image > a { cursor: default; pointer-events: none; }

.single-product .ff-product-summary-card { width: auto !important; float: none !important; padding: clamp(30px, 3vw, 44px); display: flex; flex-direction: column; }
.single-product .ff-product-summary-card .product_title { margin: 0 0 22px; color: var(--ff-heading); font-size: clamp(26px, 2.15vw, 32px); line-height: 1.18; letter-spacing: -0.02em; }
.single-product .ff-product-short-description,
.single-product .ff-product-short-description p { margin: 0; color: var(--ff-text); font-size: 16px; line-height: 1.7; }
.single-product .ff-summary-divider { border-top: 1px solid var(--ff-card-border); margin: 28px 0; }
.single-product .ff-stock-price-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin: 0 0 34px; }
.single-product .ff-product-price { margin-left: auto; text-align: right; }
.single-product .ff-product-price .price {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 6px 12px 7px;
  border-radius: 4px;
  background: #008a00;
  color: #fff;
  font-size: clamp(28px, 2.45vw, 34px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.03em;
  transform: skewX(-7deg);
}
.single-product .ff-product-price .price > * { transform: skewX(7deg); }
.single-product .ff-product-price .price del { color: rgba(255, 255, 255, 0.74); font-size: 0.58em; font-weight: 500; opacity: 1; }
.single-product .ff-product-price .price ins { color: #fff; text-decoration: none; }
.single-product .ff-product-price .price .amount,
.single-product .ff-product-price .price .woocommerce-Price-amount,
.single-product .ff-product-price .price .woocommerce-Price-currencySymbol,
.single-product .ff-product-price .price bdi { color: #fff !important; }
.single-product .ff-product-price .woocommerce-price-suffix,
.single-product .ff-variation-wrapper .woocommerce-price-suffix { display: none !important; }

.single-product .ff-variation-wrapper form.cart { width: 100%; margin: 0 !important; display: flex !important; flex-wrap: wrap; gap: 18px 20px !important; }
.single-product .ff-variation-wrapper form.variations_form { display: block !important; }
.single-product .ff-variation-wrapper table.variations { width: 100%; margin: 0 0 18px; }
.single-product .ff-variation-wrapper table.variations th,
.single-product .ff-variation-wrapper table.variations td { display: block; padding: 0 0 10px !important; border: 0; background: transparent !important; }
.single-product .ff-variation-wrapper table.variations label { color: var(--ff-heading); font-size: 12px; font-weight: 700; }
.single-product .ff-variation-wrapper table.variations select { width: 100%; min-height: 52px; padding: 0 18px; color: var(--ff-heading); background-color: #fff; border: 1px solid var(--ff-card-border); border-radius: 16px; }
.single-product .ff-variation-wrapper .reset_variations { display: inline-block; margin-top: 8px; color: var(--ff-text); font-size: 13px; }
.single-product .ff-variation-wrapper .single_variation_wrap { width: 100%; }
.single-product .ff-variation-wrapper .woocommerce-variation-price { display: none !important; }
.single-product .ff-variation-wrapper .woocommerce-variation-availability .stock { margin: 0 0 12px; color: var(--ff-text); font-size: 13px; }
.single-product .ff-variation-wrapper .woocommerce-variation-add-to-cart,
.single-product .ff-variation-wrapper form.cart:not(.variations_form) { display: flex !important; gap: 18px; align-items: center; width: 100%; }
.single-product .ff-variation-wrapper .quantity { flex: 0 0 152px; height: 58px; margin: 0 !important; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; background: #fff; border: 1px solid var(--ff-card-border); border-radius: 14px; }
.single-product .ff-variation-wrapper .quantity input.qty { height: 56px !important; min-height: 56px; border: 0 !important; color: var(--ff-heading); font-weight: 700; text-align: center; background: transparent; }
.single-product .ff-variation-wrapper .quantity .qty-btn { height: 56px !important; color: var(--ff-heading); }
.single-product .ff-variation-wrapper .single_add_to_cart_button { flex: 1 1 auto; min-height: 50px; display: inline-flex !important; align-items: center; justify-content: center; gap: 8px; padding: 0 34px !important; border: 0 !important; border-radius: 999px !important; background: linear-gradient(135deg, var(--ffehbo-gold) 0%, #ffc357 100%) !important; color: var(--ffehbo-navy) !important; font-weight: 900 !important; line-height: 1 !important; transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease; }
.single-product .ff-variation-wrapper .single_add_to_cart_button:hover { filter: brightness(0.97); transform: translateY(-1px);}
.single-product .ff-variation-wrapper .single_add_to_cart_button::before,
.single-product .ff-variation-wrapper .single_add_to_cart_button::after,
.single-product .ff-variation-wrapper .single_add_to_cart_button:after { content: none !important; display: none !important; }

.single-product .ff-product-info-grid { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(300px, 1fr); gap: clamp(24px, 2.4vw, 32px); align-items: start; margin-top: 28px; }
.single-product .ff-product-info-card { padding: clamp(28px, 3vw, 42px); }
.single-product .ff-product-info-card .woocommerce-tabs { padding: 0; border: 0; background: transparent; box-shadow: none; }
.single-product .ff-product-info-card ul.tabs { display: flex; justify-content: space-between; gap: clamp(22px, 5vw, 72px); margin: 0 0 32px !important; padding: 0 !important; border-bottom: 1px solid var(--e-global-color-border, var(--ff-card-border)); overflow-x: auto; -webkit-overflow-scrolling: touch; }
.single-product .ff-product-info-card ul.tabs::before,
.single-product .ff-product-info-card ul.tabs::after,
.single-product .ff-product-info-card ul.tabs li::before,
.single-product .ff-product-info-card ul.tabs li::after { content: none !important; display: none !important; }
.single-product .ff-product-info-card ul.tabs li { flex: 0 0 auto; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }
.single-product .ff-product-info-card ul.tabs li a { position: relative; display: block; padding: 0 0 18px !important; border: 0 !important; background: transparent !important; color: var(--e-global-color-text, var(--ff-text)) !important; font-size: 16px; font-weight: 500; line-height: 1.35; text-decoration: none !important; white-space: nowrap; box-shadow: none !important; transition: color 0.2s ease; }
.single-product .ff-product-info-card ul.tabs li a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--e-global-color-secondary, var(--ff-heading)); transform: scaleX(0); transform-origin: center; transition: transform 0.2s ease; }
.single-product .ff-product-info-card ul.tabs li a:hover,
.single-product .ff-product-info-card ul.tabs li a:focus-visible,
.single-product .ff-product-info-card ul.tabs li.active a { color: var(--e-global-color-secondary, var(--ff-heading)) !important; }
.single-product .ff-product-info-card ul.tabs li a:hover::after,
.single-product .ff-product-info-card ul.tabs li a:focus-visible::after,
.single-product .ff-product-info-card ul.tabs li.active a::after { transform: scaleX(1); }
.single-product .ff-product-info-card ul.tabs li.active a { font-weight: 700; }
.single-product .ff-product-info-card .woocommerce-Tabs-panel { padding-top: 2px; color: var(--ff-text); font-size: 15px; line-height: 1.75; animation: ffehbo-tab-fade-in 0.2s ease both; }
.single-product .ff-product-info-card .woocommerce-Tabs-panel h2 { margin: 0 0 18px; color: var(--ff-heading); font-size: 24px; line-height: 1.2; }
.single-product .ff-product-info-card .woocommerce-Tabs-panel ul { columns: 2; padding-left: 0; list-style: none; }
.single-product .ff-product-info-card .woocommerce-Tabs-panel li { position: relative; break-inside: avoid; padding-left: 28px; margin: 0 0 14px; }
.single-product .ff-product-info-card .woocommerce-Tabs-panel li::before { content: "✓"; position: absolute; left: 0; top: 0; color: #d7a326; }
.single-product .ff-product-info-card table.shop_attributes { border: 0; margin: 0; }
.single-product .ff-product-info-card table.shop_attributes th,
.single-product .ff-product-info-card table.shop_attributes td { padding: 14px 0 !important; border-bottom: 1px solid var(--ff-card-border); background: transparent !important; }
.single-product .ff-product-info-card table.shop_attributes th { width: 34%; color: var(--ff-heading); font-weight: 700; }

@keyframes ffehbo-tab-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.single-product .ff-specifications-card { position: relative; overflow: hidden; padding: 34px 32px 32px; }
.single-product .ff-specifications-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: linear-gradient(90deg, var(--ffehbo-gold), #ffe2a8); }
.single-product .ff-specifications-card__eyebrow { display: inline-flex; align-items: center; width: fit-content; margin: 0 0 12px; padding: 6px 10px; border-radius: 999px; background: rgba(244, 184, 63, 0.16); color: var(--ffehbo-navy); font-size: 12px; font-weight: 800; line-height: 1; letter-spacing: 0.04em; text-transform: uppercase; }
.single-product .ff-specifications-card h2 { margin: 0 0 22px; color: var(--ff-heading); font-size: 26px; line-height: 1.2; }
.single-product .ff-specifications-card__table table.shop_attributes { display: grid; gap: 10px; margin: 0; border: 0; }
.single-product .ff-specifications-card__table table.shop_attributes tbody { display: grid; gap: 10px; }
.single-product .ff-specifications-card__table table.shop_attributes tr { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid rgba(218, 217, 217, 0.72); border-radius: 16px; background: linear-gradient(180deg, #fff 0%, var(--ff-soft-bg) 100%); }
.single-product .ff-specifications-card__table table.shop_attributes th,
.single-product .ff-specifications-card__table table.shop_attributes td { display: block; width: auto; padding: 0 !important; border: 0 !important; background: transparent !important; line-height: 1.45; }
.single-product .ff-specifications-card__table table.shop_attributes th { color: var(--ff-muted); font-size: 12px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.single-product .ff-specifications-card__table table.shop_attributes td { color: var(--ff-heading); font-size: 14px; font-weight: 700; text-align: right; }
.single-product .ff-specifications-card__table table.shop_attributes td p { margin: 0; padding: 0; }
.single-product .ffehbo-product-related,
.single-product .related.products,
.single-product .upsells.products,
.single-product .cross-sells,
.single-product .ffehbo-product-usps,
.single-product .ffehbo-product-buy-card,
.single-product .ffehbo-product-stock-badge { display: none !important; }

@media (max-width: 980px) {
  .single-product .ff-product-hero,
  .single-product .ff-product-info-grid { grid-template-columns: 1fr; }
  .single-product .ff-product-gallery-card { order: 2; width: auto; min-width: 0; max-width: none; min-height: auto; }
  .single-product .ff-product-summary-card { order: 1; }
}

@media (max-width: 720px) {
  .single-product .ff-single-product__container { padding-inline: 16px; }
  .single-product .ff-product-gallery-card .woocommerce-product-gallery { display: block; }
  .single-product .ff-product-gallery-card .flex-viewport,
  .single-product .ff-product-gallery-card .woocommerce-product-gallery__wrapper,
  .single-product .ff-product-gallery-card .woocommerce-product-gallery__image,
  .single-product .ff-product-gallery-card .woocommerce-product-gallery__image > a { min-height: 300px; }
  .single-product .ff-product-gallery-card .woocommerce-product-gallery__image img { max-height: 300px !important; }
  .single-product .ff-product-gallery-card .flex-control-nav { margin-top: 16px !important; padding: 0 0 4px !important; flex-direction: row !important; overflow-x: auto; border-right: 0; }
  .single-product .ff-product-gallery-card--single .flex-control-nav { display: none !important; }
  .single-product .ff-stock-price-row { align-items: flex-start; }
  .single-product .ff-variation-wrapper .woocommerce-variation-add-to-cart,
  .single-product .ff-variation-wrapper form.cart:not(.variations_form) { flex-direction: column; align-items: stretch; }
  .single-product .ff-variation-wrapper .quantity { flex-basis: auto; width: 100%; }
  .single-product .ff-variation-wrapper .single_add_to_cart_button { width: 100%; }
  .single-product .ff-product-info-card ul.tabs { justify-content: flex-start; gap: 28px; padding-bottom: 2px !important; }
  .single-product .ff-product-info-card .woocommerce-Tabs-panel ul { columns: 1; }
  .single-product .ff-specifications-card__table table.shop_attributes tr { grid-template-columns: 1fr; gap: 6px; }
  .single-product .ff-specifications-card__table table.shop_attributes td { text-align: left; }
}

/* WPclever product-page integrations and gallery sizing refinements. */
.single-product .ff-product-hero {
  align-items: start;
}

.single-product .ff-product-gallery-card {
  min-height: 0;
  align-self: start;
}

.single-product .ff-product-gallery-card .woocommerce-product-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
  align-items: start;
}

.single-product .ff-product-gallery-card .flex-viewport {
  grid-column: 1;
  grid-row: 1;
  min-height: 0;
  height: auto !important;
}

.single-product .ff-product-gallery-card .flex-viewport .woocommerce-product-gallery__wrapper {
  height: auto;
}

.single-product .ff-product-gallery-card .woocommerce-product-gallery__image,
.single-product .ff-product-gallery-card .woocommerce-product-gallery__image > a,
.single-product .ff-product-gallery-card--single .flex-viewport,
.single-product .ff-product-gallery-card--single .woocommerce-product-gallery__wrapper,
.single-product .ff-product-gallery-card--single .woocommerce-product-gallery__image,
.single-product .ff-product-gallery-card--single .woocommerce-product-gallery__image > a {
  min-height: 0;
  height: auto !important;
}

.single-product .ff-product-gallery-card .woocommerce-product-gallery__image img {
  height: auto !important;
  max-height: clamp(320px, 38vw, 560px) !important;
}

.single-product .ff-product-gallery-card .flex-control-nav {
  grid-column: 1;
  grid-row: 2;
  width: 100% !important;
  height: auto;
  margin: 0 !important;
  padding: 2px 2px 6px !important;
  display: flex !important;
  flex-direction: row !important;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  border-right: 0;
  border-top: 1px solid rgba(218, 217, 217, 0.75);
  padding-top: 16px !important;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.single-product .ff-product-gallery-card .flex-control-nav li {
  width: 86px !important;
  flex: 0 0 86px;
  scroll-snap-align: start;
}

.single-product .ff-product-summary-card .wpcpq-wrap,
.single-product .ff-product-summary-card .wpcpq-table,
.single-product .ff-product-summary-card .wpcpq-list,
.single-product .ff-product-summary-card .wpcpq-container {
  order: 4;
  flex: 0 0 100%;
  grid-column: 1 / -1;
  width: 100%;
  margin: 14px 0 0;
}

.single-product .ff-product-summary-card .wpcpq-wrap table,
.single-product .ff-product-summary-card table.wpcpq-table {
  width: 100%;
  border: 1px solid #d7d7d7;
  border-radius: 4px;
  overflow: hidden;
  background: #f8f8f8;
  border-collapse: separate;
  border-spacing: 0;
  box-shadow: none;
}

.single-product .ff-product-summary-card .wpcpq-wrap tr,
.single-product .ff-product-summary-card table.wpcpq-table tr {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
}

.single-product .ff-product-summary-card .wpcpq-wrap th,
.single-product .ff-product-summary-card .wpcpq-wrap td,
.single-product .ff-product-summary-card table.wpcpq-table th,
.single-product .ff-product-summary-card table.wpcpq-table td {
  padding: 16px 26px;
  border-color: transparent;
  color: #111;
  background: transparent;
  font-size: 18px;
  line-height: 1.35;
  vertical-align: middle;
}

.single-product .ff-product-summary-card .wpcpq-wrap td:first-child,
.single-product .ff-product-summary-card table.wpcpq-table td:first-child {
  flex: 1 1 auto;
}



.single-product .ff-wpcpq-localised {
  order: 4;
  grid-column: 1 / -1;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  width: 100%;
  border: 1px solid var(--e-global-color-border) !important;
  border-radius: 8px;
  background: #f8f8f8;
  padding: 16px 26px;
}

.single-product .ff-wpcpq-localised .ff-wpcpq-discount-label {
  min-width: 0;
  line-height: 1.35;
}


.single-product .ff-wpcpq-localised .ff-wpcpq-discount-label {
  order: 1;
  display: block;
}

.single-product .ff-wpcpq-localised > a.button,
.single-product .ff-wpcpq-localised > button,
.single-product .ff-wpcpq-localised > .button,
.single-product .ff-wpcpq-localised > .ff-wpcpq-button-wrap {
  justify-self: end;
  margin-left: 0;
  order: 2;
}

.single-product .ff-product-summary-card .ff-wpcpq-discount-label strong {
  font-weight: 800;
}

.single-product .ff-product-summary-card .ff-wpcpq-localised td:not(:first-child):not(:last-child),
.single-product .ff-product-summary-card .ff-wpcpq-localised th:not(:first-child):not(:last-child) {
  display: none;
}

.single-product .ff-product-summary-card .wpcpq-wrap .button,
.single-product .ff-product-summary-card .wpcpq-wrap button,
.single-product .ff-product-summary-card .wpcpq-wrap a.button,
.single-product .ff-product-summary-card table.wpcpq-table .button,
.single-product .ff-product-summary-card table.wpcpq-table button,
.single-product .ff-product-summary-card table.wpcpq-table a.button {
min-height: 55px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 22px !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: #c7e4fe !important;
    color: #1d123e !important;
    line-height: 1 !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

.single-product .ff-product-summary-card .wpcpq-wrap .button::before,
.single-product .ff-product-summary-card .wpcpq-wrap .button:before,
.single-product .ff-product-summary-card .wpcpq-wrap button::before,
.single-product .ff-product-summary-card .wpcpq-wrap button:before,
.single-product .ff-product-summary-card .wpcpq-wrap a.button::before,
.single-product .ff-product-summary-card .wpcpq-wrap a.button:before,
.single-product .ff-product-summary-card table.wpcpq-table .button::before,
.single-product .ff-product-summary-card table.wpcpq-table .button:before,
.single-product .ff-product-summary-card table.wpcpq-table button::before,
.single-product .ff-product-summary-card table.wpcpq-table button:before,
.single-product .ff-product-summary-card table.wpcpq-table a.button::before,
.single-product .ff-product-summary-card table.wpcpq-table a.button:before,
.single-product .ff-product-summary-card .wpcpq-wrap .button::after,
.single-product .ff-product-summary-card .wpcpq-wrap .button:after,
.single-product .ff-product-summary-card .wpcpq-wrap button::after,
.single-product .ff-product-summary-card .wpcpq-wrap button:after,
.single-product .ff-product-summary-card .wpcpq-wrap a.button::after,
.single-product .ff-product-summary-card .wpcpq-wrap a.button:after,
.single-product .ff-product-summary-card table.wpcpq-table .button::after,
.single-product .ff-product-summary-card table.wpcpq-table .button:after,
.single-product .ff-product-summary-card table.wpcpq-table button::after,
.single-product .ff-product-summary-card table.wpcpq-table button:after,
.single-product .ff-product-summary-card table.wpcpq-table a.button::after,
.single-product .ff-product-summary-card table.wpcpq-table a.button:after {
  content: none !important;
  display: none !important;
}

.single-product .ff-variation-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 25fr) minmax(0, 60fr) minmax(64px, 15fr);
  gap: 14px 10px;
  align-items: stretch;
}

.single-product .ff-variation-wrapper form.cart:not(.variations_form) {
  display: contents !important;
}

.single-product .ff-variation-wrapper .woocommerce-variation-add-to-cart {
  display: grid !important;
  grid-template-columns: 175px minmax(220px, 1fr);
  gap: 10px;
  align-items: stretch;
  flex: 1 1 calc(100% - 78px);
}
button.wpcpq-item-atc-btn.single_add_to_cart_button.button.alt:hover {
    background: #fcda98 !important;
}
.single-product .ff-variation-wrapper .quantity {
  order: 1;
  grid-column: 1;
  flex: 0 0 auto;
  width: 100%;
  height: 64px;
  border-color: #d7d7d7;
  border-radius: 4px;
}

.single-product .ff-variation-wrapper .quantity input.qty {
  width: 66px !important;
  height: 62px !important;
  min-height: 62px;
  color: #111;
  font-size: 20px;
  font-weight: 400;
}

.single-product .ff-variation-wrapper .quantity .qty-btn {
  width: 54px !important;
  height: 62px !important;
  color: #111 !important;
  font-size: 28px !important;
  font-weight: 300 !important;
}

.single-product .ff-variation-wrapper .quantity .qty-btn:first-child {
  border-right: 1px solid #d7d7d7 !important;
}

.single-product .ff-variation-wrapper .quantity .qty-btn:last-child {
  border-left: 1px solid #d7d7d7 !important;
}

.single-product .ff-variation-wrapper .quantity .qty-btn::before,
.single-product .ff-variation-wrapper .quantity .qty-btn:before,
.single-product .ff-variation-wrapper .quantity .qty-btn::after,
.single-product .ff-variation-wrapper .quantity .qty-btn:after {
  content: none !important;
  display: none !important;
}

.single-product .ff-variation-wrapper .single_add_to_cart_button {
  order: 2;
  flex: 1 1 auto;
  grid-column: 2;
}

.single-product .ff-variation-wrapper .single_add_to_cart_button:hover,
.single-product .ff-variation-wrapper .single_add_to_cart_button:focus-visible {
  background-color: var(--cmsmasters-button-hover-colors-bg, var(--cmsmasters-button-normal-colors-bg)) !important;
  background-image: var(--cmsmasters-button-hover-colors-bg-image, var(--cmsmasters-button-normal-colors-bg-image)) !important;
  color: var(--cmsmasters-button-hover-colors-color, var(--cmsmasters-button-normal-colors-color)) !important;
  filter: none;
  transform: none;
  box-shadow: var(--cmsmasters-button-hover-box-shadow, var(--cmsmasters-button-normal-box-shadow)) !important;
}
.single-product .ff-wpclever-wishlist {
  order: 3;
  grid-column: 3;
  flex: 0 0 auto;
  margin: 0;
  min-width: 0;
}

.single-product .ff-wpclever-wishlist .woosw-btn,
.single-product .ff-wpclever-wishlist a.woosw-btn,
.single-product .ff-product-summary-card .woosw-btn {
  width: 100%;
  min-width: 0;
  height: 50px;
  min-height: 50px;
  max-height: 50px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  border: 1px solid #d7d7d7 !important;
  border-radius: 4px !important;
  background: #fff !important;
  color: #111 !important;
  font-size: 0 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  box-shadow: none !important;
  overflow: hidden;
}
.single-product .ff-wpclever-wishlist .woosw-btn, .single-product .ff-wpclever-wishlist a.woosw-btn, .single-product .ff-product-summary-card .woosw-btn {
    height: 50px !important;
    max-height: 50px !important;
    min-height: unset !important;
    min-width: unset !important;
    width: 75px !important;
    border-radius: 10px !important;
}

.single-product .ff-wpclever-wishlist .woosw-btn:hover,
.single-product .ff-wpclever-wishlist .woosw-btn:focus-visible,
.single-product .ff-product-summary-card .woosw-btn:hover,
.single-product .ff-product-summary-card .woosw-btn:focus-visible {
  border-color: var(--ff-accent) !important;
  background: rgba(252, 218, 152, 0.22) !important;
  color: var(--ffehbo-navy) !important;
  outline: none;
}

.single-product .ff-wpclever-wishlist .woosw-btn::before,
.single-product .ff-wpclever-wishlist .woosw-btn:before,
.single-product .ff-product-summary-card .woosw-btn::before,
.single-product .ff-product-summary-card .woosw-btn:before {
  content: "♡" !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  color: #111;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 40px;
  font-weight: 300;
  line-height: 1;
  background: unset !important;
}

.single-product .ff-wpclever-wishlist .woosw-btn::after,
.single-product .ff-wpclever-wishlist .woosw-btn:after,
.single-product .ff-product-summary-card .woosw-btn::after,
.single-product .ff-product-summary-card .woosw-btn:after {
  content: none !important;
  display: none !important;
  background: unset !important;
}

@media (max-width: 720px) {
  .single-product .ff-variation-wrapper {
    display: grid;
    grid-template-columns: minmax(95px, 25fr) minmax(0, 60fr) minmax(54px, 15fr);
  }

  .single-product .ff-variation-wrapper .quantity,
  .single-product .ff-variation-wrapper .single_add_to_cart_button {
    width: 100%;
  }

  .single-product .ff-product-summary-card .wpcpq-wrap,
  .single-product .ff-product-summary-card .wpcpq-table,
  .single-product .ff-product-summary-card .wpcpq-list,
  .single-product .ff-product-summary-card .wpcpq-container {
    grid-column: 1 / -1;
  }

  .single-product .ff-product-gallery-card .woocommerce-product-gallery__image img {
    max-height: 300px !important;
  }
}

/* Product hero visual refresh to match the updated WooCommerce product-page cards. */
.single-product .ff-single-product__container {
  width: min(100%, 1520px);
  padding: 54px clamp(24px, 2.4vw, 38px) 72px;
}

.single-product .ff-product-hero {
  grid-template-columns: minmax(420px, 0.95fr) minmax(620px, 1.6fr);
  gap: 30px;
  align-items: stretch;
}

.single-product .ff-product-gallery-card,
.single-product .ff-product-summary-card {
  border: 0;
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(25, 13, 57, 0.08);
}

.single-product .ff-product-gallery-card {
  align-items: center;
}

.single-product .ff-product-gallery-card .woocommerce-product-gallery {
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 28px;
}

.single-product .ff-product-gallery-card .flex-viewport {
  align-self: center;
  border-radius: 0;
}

.single-product .ff-product-gallery-card .woocommerce-product-gallery__image,
.single-product .ff-product-gallery-card .woocommerce-product-gallery__image > a {
  min-height: 430px;
}

.single-product .ff-product-gallery-card .woocommerce-product-gallery__image img {
  max-height: 430px !important;
}

.single-product .ff-product-gallery-card .flex-control-nav {
  justify-content: center;
  gap: 20px;
  padding: 0 2px 0 !important;
  border-top: 0;
}

.single-product .ff-product-gallery-card .flex-control-nav li {
  width: 104px !important;
  flex-basis: 104px;
}

.single-product .ff-product-gallery-card .flex-control-nav img {
  width: 104px !important;
  height: 104px !important;
  padding: 12px;
  border-radius: 10px;
  border-color: #e7e7e7;
}

.single-product .ff-product-gallery-card .flex-control-nav img.flex-active,
.single-product .ff-product-gallery-card .flex-control-nav img:hover {
  border-color: #f4b83f;
  box-shadow: none;
}

.single-product .ff-product-gallery-card .woocommerce-product-gallery__trigger {
  top: 32px !important;
  right: 32px !important;
  width: 62px !important;
  height: 62px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border: 1px solid #ececec;
  border-radius: 999px;
  background: #fff;
  box-shadow: none;
}

.single-product .ff-product-gallery-card .woocommerce-product-gallery__trigger::before,
.single-product .ff-product-gallery-card .woocommerce-product-gallery__trigger:before,
.single-product .ff-product-gallery-card .woocommerce-product-gallery__trigger::after,
.single-product .ff-product-gallery-card .woocommerce-product-gallery__trigger:after {
  background: transparent !important;
  box-shadow: none !important;
}

.single-product .ff-product-breadcrumbs {
  margin-bottom: 34px;
  font-size: 14px;
}

.single-product .ff-product-summary-card .product_title {
    font-weight: 700;
}
.single-product .ff-stock-price-row {
  align-items: center;
  margin-bottom: 44px;
}

.single-product .ff-product-price .price {
  display: block;
  padding: 0;
  background: transparent;
  color: #087a12;
  font-size: clamp(34px, 3vw, 44px);
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: -0.03em;
  transform: none;
}

.single-product .ff-product-price .price > * { transform: none; }

.single-product .ff-product-price .price .amount,
.single-product .ff-product-price .price .woocommerce-Price-amount,
.single-product .ff-product-price .price .woocommerce-Price-currencySymbol,
.single-product .ff-product-price .price bdi {
  color: #087a12 !important;
}

.single-product .ff-product-price .woocommerce-price-suffix {
  display: block !important;
  margin-top: 10px;
  color: #67656e;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
}

.single-product .ff-variation-wrapper {
  grid-template-columns: 196px minmax(260px, 1fr) 122px;
  gap: 20px 18px;
}

.single-product .ff-variation-wrapper .quantity,
.single-product .ff-variation-wrapper .single_add_to_cart_button,
.single-product .ff-wpclever-wishlist .woosw-btn,
.single-product .ff-wpclever-wishlist a.woosw-btn,
.single-product .ff-product-summary-card .woosw-btn {
    height: 50px !important;
    min-height: 50px !important;
    max-height: 50px !important;
    border-radius: 10px !important;
}

.single-product .ff-variation-wrapper .quantity {
  border-color: #dfdfdf;
  background: #fff;
  box-shadow: none;
  overflow: hidden;
}

.single-product .ff-variation-wrapper .quantity input.qty,
.single-product .ff-variation-wrapper .quantity .qty-btn {
  height: 82px !important;
  min-height: 82px;
}

.single-product .ff-variation-wrapper .quantity input.qty {
  width: 68px !important;
  border: 0 !important;
  font-size: 24px;
  font-weight: 700;
  color: #100729;
  background: transparent !important;
  box-shadow: none !important;
}

.single-product .ff-variation-wrapper .quantity .qty-btn {
  width: 63px !important;
  border: 0 !important;
  background: #fff !important;
  color: #100729 !important;
  box-shadow: none !important;
}

.single-product .ff-variation-wrapper .quantity .qty-btn:first-child {
  border-right: 1px solid #dfdfdf !important;
}

.single-product .ff-variation-wrapper .quantity .qty-btn:last-child {
  border-left: 1px solid #dfdfdf !important;
}
/*
.single-product .ff-variation-wrapper .single_add_to_cart_button {
  gap: 18px;
  border: 0 !important;
  background: linear-gradient(135deg, #f6bd4b 0%, #ffe094 100%) !important;
  color: #100729 !important;
  font-size: 17px !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  box-shadow: none !important;
}
*/
.single-product .ff-variation-wrapper .single_add_to_cart_button:hover,
.single-product .ff-variation-wrapper .single_add_to_cart_button:focus-visible {
  background: linear-gradient(135deg, #f1ae2e 0%, #ffd778 100%) !important;
  color: #100729 !important;
  box-shadow: none !important;
}

.single-product .ff-variation-wrapper .single_add_to_cart_button::before,
.single-product .ff-variation-wrapper .single_add_to_cart_button:before {
  content: "" !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-right: 0;
  -webkit-mask: var(--ffehbo-cart-icon-svg) center / contain no-repeat;
  mask: var(--ffehbo-cart-icon-svg) center / contain no-repeat;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  color: currentColor !important;
  background: transparent !important;
  box-shadow: none !important;
  left: 20px;
  top: auto;
}

.single-product .ff-variation-wrapper .single_add_to_cart_button::after,
.single-product .ff-variation-wrapper .single_add_to_cart_button:after {
  content: none !important;
  display: none !important;
}

.single-product .ff-wpclever-wishlist .woosw-btn,
.single-product .ff-wpclever-wishlist a.woosw-btn,
.single-product .ff-product-summary-card .woosw-btn {
  width: 122px !important;
  border-color: #dfdfdf !important;
  background: #fff !important;
  box-shadow: none !important;
  color: #100729 !important;
}

.single-product .ff-wpclever-wishlist .woosw-btn::before,
.single-product .ff-wpclever-wishlist .woosw-btn:before,
.single-product .ff-product-summary-card .woosw-btn::before,
.single-product .ff-product-summary-card .woosw-btn:before {
  color: #100729 !important;
  font-size: 42px;
  line-height: 1;
  background: transparent !important;
  box-shadow: none !important;
}

.single-product .ff-wpclever-wishlist .woosw-btn::after,
.single-product .ff-wpclever-wishlist .woosw-btn:after,
.single-product .ff-product-summary-card .woosw-btn::after,
.single-product .ff-product-summary-card .woosw-btn:after {
  content: none !important;
  display: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

.single-product .ff-wpcpq-localised {
  margin-top: 28px;
  padding: 16px 22px 16px 28px;
  border: 1px solid #ededed !important;
  border-radius: 6px;
  background: linear-gradient(100deg, #f8f9fc 0%, #eef7ff 64%, #f8fbff 100%);
}

.single-product .ff-product-summary-card .ff-wpcpq-discount-label {
  color: #67656e;
  font-size: 20px;
}

.single-product .ff-product-summary-card .wpcpq-wrap .button,
.single-product .ff-product-summary-card .wpcpq-wrap button,
.single-product .ff-product-summary-card .wpcpq-wrap a.button,
.single-product .ff-product-summary-card table.wpcpq-table .button,
.single-product .ff-product-summary-card table.wpcpq-table button,
.single-product .ff-product-summary-card table.wpcpq-table a.button {
  min-height: 64px;
  padding: 0 30px !important;
  border-radius: 10px !important;
  background: #bfe2ff !important;
  color: #100729 !important;
  font-weight: 800 !important;
}

@media (max-width: 1180px) {
  .single-product .ff-product-hero { grid-template-columns: 1fr; }
  .single-product .ff-product-gallery-card,
  .single-product .ff-product-summary-card { min-height: 0; }
}

/* Product information grid refresh to match the supplied product-page reference. */
.single-product .ff-product-info-grid {
  grid-template-columns: minmax(0, 1.58fr) minmax(420px, 1fr);
  gap: 28px;
  align-items: stretch;
  margin-top: 24px;
}

.single-product .ff-product-info-card,
.single-product .ff-specifications-card {
  border: 0;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(25, 13, 57, 0.08);
}

.single-product .ff-product-info-card {
  min-height: 468px;
  padding: 26px 38px 34px;
}

.single-product .ff-product-info-card .woocommerce-tabs {
  display: flex;
  flex-direction: column;
  height: 100%;
}

section.ff-product-info-card .woocommerce-tabs.wc-tabs-wrapper {
  margin: 0 !important;
}

.single-product .ff-product-info-card ul.tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(max-content, 1fr));
  gap: 28px;
  justify-content: stretch;
  align-items: end;
  margin: 0 0 20px !important;
  padding: 0 !important;
  border-bottom: 1px solid #d8d8d8;
  overflow: visible;
}

.single-product .ff-product-info-card ul.tabs::before,
.single-product .ff-product-info-card ul.tabs::after,
.single-product .ff-product-info-card ul.tabs li::before,
.single-product .ff-product-info-card ul.tabs li:before,
.single-product .ff-product-info-card ul.tabs li::after,
.single-product .ff-product-info-card ul.tabs li:after {
  content: none !important;
  display: none !important;
}

.single-product .ff-product-info-card ul.tabs li {
  min-width: 0;
  text-align: center;
}

.single-product .ff-product-info-card ul.tabs li a {
  width: 100%;
  padding: 0 10px 20px !important;
  color: #67656e !important;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

.single-product .ff-product-info-card ul.tabs li a::before,
.single-product .ff-product-info-card ul.tabs li a:before {
  content: none !important;
  display: none !important;
}

.single-product .ff-product-info-card ul.tabs li a::after,
.single-product .ff-product-info-card ul.tabs li a:after {
  content: "" !important;
  display: block !important;
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: #190d39;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.single-product .ff-product-info-card ul.tabs li.active a,
.single-product .ff-product-info-card ul.tabs li a:hover,
.single-product .ff-product-info-card ul.tabs li a:focus-visible {
  color: #190d39 !important;
}

.single-product .ff-product-info-card ul.tabs li.active a::after,
.single-product .ff-product-info-card ul.tabs li.active a:after,
.single-product .ff-product-info-card ul.tabs li a:hover::after,
.single-product .ff-product-info-card ul.tabs li a:hover:after,
.single-product .ff-product-info-card ul.tabs li a:focus-visible::after,
.single-product .ff-product-info-card ul.tabs li a:focus-visible:after {
  transform: scaleX(1);
}

.single-product .ff-product-info-card .woocommerce-Tabs-panel {
  padding-top: 0;
  color: #67656e;
  font-size: 15px;
  line-height: 1.45;
}

.single-product .ff-product-info-card .woocommerce-Tabs-panel h2 {
  margin: 0 0 14px;
  color: #190d39;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.single-product .ff-product-info-card .woocommerce-Tabs-panel h3,
.single-product .ff-product-info-card .woocommerce-Tabs-panel h4 {
  margin: 24px 0 10px;
  color: #190d39;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.single-product .ff-product-info-card .woocommerce-Tabs-panel p {
  margin: 0 0 13px;
}

.single-product .ff-product-info-card .woocommerce-Tabs-panel p:last-child {
  margin-bottom: 0;
}

.single-product .ff-product-info-card .woocommerce-Tabs-panel strong,
.single-product .ff-product-info-card .woocommerce-Tabs-panel b {
  color: #190d39;
  font-weight: 800;
}

.single-product .ff-product-info-card .woocommerce-Tabs-panel ul {
  columns: 1;
  margin: 0 0 16px;
  padding-left: 0;
}

.single-product .ff-specifications-card {
  min-height: 468px;
  padding: 28px 36px 34px;
  overflow: visible;
}

.single-product .ff-specifications-card::before,
.single-product .ff-specifications-card:before,
.single-product .ff-specifications-card::after,
.single-product .ff-specifications-card:after {
  content: none !important;
  display: none !important;
}

.single-product .ff-specifications-card__eyebrow {
  margin: 0 0 16px;
  padding: 8px 13px;
  border-radius: 999px;
  background: #fff0d5;
  color: #190d39;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.06em;
}

.single-product .ff-specifications-card h2 {
  margin: 0 0 16px;
  color: #190d39;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.single-product .ff-specifications-card__table table.shop_attributes,
.single-product .ff-specifications-card__table table.shop_attributes tbody {
  gap: 10px;
}

.single-product .ff-specifications-card__table table.shop_attributes tr {
  grid-template-columns: minmax(120px, 0.85fr) minmax(0, 1.15fr);
  gap: 14px;
  min-height: 52px;
  padding: 12px 18px;
  border: 1px solid #dedede;
  border-radius: 10px;
  background: #fff;
}

.single-product .ff-specifications-card__table table.shop_attributes th {
  color: #67656e;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.single-product .ff-specifications-card__table table.shop_attributes td {
  color: #190d39;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
}

@media (max-width: 1180px) {
  .single-product .ff-product-info-grid {
    grid-template-columns: 1fr;
  }

  .single-product .ff-product-info-card,
  .single-product .ff-specifications-card {
    min-height: 0;
  }
}

@media (max-width: 720px) {
  .single-product .ff-product-info-card,
  .single-product .ff-specifications-card {
    padding: 24px 20px;
  }

  .single-product .ff-product-info-card ul.tabs {
    display: flex;
    gap: 24px;
    overflow-x: auto;
  }

  .single-product .ff-product-info-card ul.tabs li a {
    padding-inline: 0 !important;
    text-align: left;
  }
}

/* Responsive product-page hardening across tablet and narrow mobile devices. */
.single-product .ff-single-product,
.single-product .ff-single-product * {
  box-sizing: border-box;
}

.single-product .ff-product-summary-card,
.single-product .ff-product-gallery-card,
.single-product .ff-product-info-card,
.single-product .ff-specifications-card {
  max-width: 100%;
}

.single-product .ff-product-short-description,
.single-product .ff-product-info-card .woocommerce-Tabs-panel,
.single-product .ff-specifications-card__table {
  overflow-wrap: anywhere;
}

.single-product .ff-variation-wrapper table.variations,
.single-product .ff-variation-wrapper table.variations tbody,
.single-product .ff-variation-wrapper table.variations tr,
.single-product .ff-variation-wrapper table.variations th,
.single-product .ff-variation-wrapper table.variations td {
  max-width: 100%;
}

.single-product .ff-variation-wrapper table.variations select {
  min-width: 0;
  max-width: 100%;
}

.single-product .ff-product-summary-card .wpcpq-wrap,
.single-product .ff-product-summary-card .wpcpq-container,
.single-product .ff-product-summary-card .wpcpq-list,
.single-product .ff-product-summary-card .wpcpq-table,
.single-product .ff-product-summary-card table.wpcpq-table {
  max-width: 100%;
}

.single-product .ff-product-summary-card .wpcpq-wrap .button,
.single-product .ff-product-summary-card .wpcpq-wrap button,
.single-product .ff-product-summary-card .wpcpq-wrap a.button,
.single-product .ff-product-summary-card table.wpcpq-table .button,
.single-product .ff-product-summary-card table.wpcpq-table button,
.single-product .ff-product-summary-card table.wpcpq-table a.button {
  white-space: normal !important;
  text-align: center;
}

.single-product .ff-product-summary-card .wpcpq-wrap .button::before,
.single-product .ff-product-summary-card .wpcpq-wrap .button:before,
.single-product .ff-product-summary-card .wpcpq-wrap button::before,
.single-product .ff-product-summary-card .wpcpq-wrap button:before,
.single-product .ff-product-summary-card .wpcpq-wrap a.button::before,
.single-product .ff-product-summary-card .wpcpq-wrap a.button:before,
.single-product .ff-product-summary-card table.wpcpq-table .button::before,
.single-product .ff-product-summary-card table.wpcpq-table .button:before,
.single-product .ff-product-summary-card table.wpcpq-table button::before,
.single-product .ff-product-summary-card table.wpcpq-table button:before,
.single-product .ff-product-summary-card table.wpcpq-table a.button::before,
.single-product .ff-product-summary-card table.wpcpq-table a.button:before,
.single-product .ff-product-summary-card .wpcpq-wrap .button::after,
.single-product .ff-product-summary-card .wpcpq-wrap .button:after,
.single-product .ff-product-summary-card .wpcpq-wrap button::after,
.single-product .ff-product-summary-card .wpcpq-wrap button:after,
.single-product .ff-product-summary-card .wpcpq-wrap a.button::after,
.single-product .ff-product-summary-card .wpcpq-wrap a.button:after,
.single-product .ff-product-summary-card table.wpcpq-table .button::after,
.single-product .ff-product-summary-card table.wpcpq-table .button:after,
.single-product .ff-product-summary-card table.wpcpq-table button::after,
.single-product .ff-product-summary-card table.wpcpq-table button:after,
.single-product .ff-product-summary-card table.wpcpq-table a.button::after,
.single-product .ff-product-summary-card table.wpcpq-table a.button:after {
  content: none !important;
  display: none !important;
}

@media (max-width: 1180px) {
  .single-product .ff-single-product__container {
    padding-top: 32px;
    padding-bottom: 56px;
  }

  .single-product .ff-product-hero,
  .single-product .ff-product-info-grid {
    gap: 24px;
  }

  .single-product .ff-product-gallery-card,
  .single-product .ff-product-summary-card {
    min-height: 0;
  }
}

@media (max-width: 900px) {
  .single-product .ff-product-gallery-card {
    padding: 28px;
  }

  .single-product .ff-product-gallery-card .woocommerce-product-gallery {
    min-height: 0;
  }

  .single-product .ff-product-gallery-card .woocommerce-product-gallery__image,
  .single-product .ff-product-gallery-card .woocommerce-product-gallery__image > a {
    min-height: 340px;
  }

  .single-product .ff-product-gallery-card .woocommerce-product-gallery__image img {
    max-height: 360px !important;
  }

  .single-product .ff-product-summary-card {
    padding: 34px;
  }

  .single-product .ff-stock-price-row {
    flex-wrap: wrap;
    gap: 16px;
  }

  .single-product .ff-product-price {
    width: 100%;
    margin-left: 0;
    text-align: left;
  }

  .single-product .ff-variation-wrapper {
    grid-template-columns: minmax(150px, 0.75fr) minmax(220px, 1fr) 92px;
    gap: 14px;
  }

  .single-product .ff-variation-wrapper .woocommerce-variation-add-to-cart {
    grid-template-columns: minmax(150px, 0.75fr) minmax(220px, 1fr);
  }

  .single-product .ff-wpclever-wishlist .woosw-btn,
  .single-product .ff-wpclever-wishlist a.woosw-btn,
  .single-product .ff-product-summary-card .woosw-btn {
    width: 92px !important;
  }
}

@media (max-width: 640px) {
  .single-product .ff-single-product__container {
    padding: 20px 14px 42px;
  }

  .single-product .ff-product-breadcrumbs {
    margin-bottom: 18px;
    font-size: 12px;
  }

  .single-product .ff-product-gallery-card,
  .single-product .ff-product-summary-card,
  .single-product .ff-product-info-card,
  .single-product .ff-specifications-card {
    border-radius: 18px;
  }

  .single-product .ff-product-gallery-card {
    padding: 18px;
  }

  .single-product .ff-product-gallery-card .woocommerce-product-gallery__image,
  .single-product .ff-product-gallery-card .woocommerce-product-gallery__image > a {
    min-height: 260px;
  }

  .single-product .ff-product-gallery-card .woocommerce-product-gallery__image img {
    max-height: 280px !important;
  }

  .single-product .ff-product-gallery-card .flex-control-nav {
    justify-content: flex-start;
    gap: 10px;
  }

  .single-product .ff-product-gallery-card .flex-control-nav li {
    width: 76px !important;
    flex-basis: 76px;
  }

  .single-product .ff-product-gallery-card .flex-control-nav img {
    width: 76px !important;
    height: 76px !important;
    padding: 8px;
  }

  .single-product .ff-product-summary-card {
    padding: 24px 20px;
  }

  .single-product .ff-product-summary-card .product_title {
    font-size: clamp(30px, 10vw, 38px);
  }

  .single-product .ff-product-short-description,
  .single-product .ff-product-short-description p {
    font-size: 16px;
  }

  .single-product .ff-stock-status.ffehbo-stock-pill {
    font-size: 15px;
    flex-wrap: wrap;
  }

  .single-product .ff-product-price .price {
    font-size: clamp(30px, 11vw, 38px);
  }

  .single-product .ff-product-price .woocommerce-price-suffix {
    font-size: 12px;
  }

  .single-product .ff-variation-wrapper,
  .single-product .ff-variation-wrapper .woocommerce-variation-add-to-cart {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 72px;
    gap: 12px;
  }

  .single-product .ff-variation-wrapper .quantity {
    grid-column: 1 / -1;
    height: 58px !important;
    min-height: 58px !important;
    max-height: 58px !important;
  }

  .single-product .ff-variation-wrapper .quantity input.qty,
  .single-product .ff-variation-wrapper .quantity .qty-btn {
    height: 56px !important;
    min-height: 56px;
  }

  .single-product .ff-variation-wrapper .single_add_to_cart_button {
    grid-column: 1;
    min-width: 0;
    height: 58px !important;
    min-height: 58px !important;
    max-height: none !important;
    padding: 0 18px !important;
  }

  .single-product .ff-wpclever-wishlist {
    grid-column: 2;
  }

  .single-product .ff-wpclever-wishlist .woosw-btn,
  .single-product .ff-wpclever-wishlist a.woosw-btn,
  .single-product .ff-product-summary-card .woosw-btn {
    width: 72px !important;
    height: 58px !important;
    min-height: 58px !important;
    max-height: 58px !important;
  }

  .single-product .ff-wpcpq-localised {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .single-product .ff-wpcpq-localised > a.button,
  .single-product .ff-wpcpq-localised > button,
  .single-product .ff-wpcpq-localised > .button,
  .single-product .ff-wpcpq-localised > .ff-wpcpq-button-wrap {
    justify-self: stretch;
    width: 100%;
  }

  .single-product .ff-product-summary-card .wpcpq-wrap tr,
  .single-product .ff-product-summary-card table.wpcpq-table tr {
    flex-wrap: wrap;
    gap: 10px;
  }

  .single-product .ff-product-summary-card .wpcpq-wrap th,
  .single-product .ff-product-summary-card .wpcpq-wrap td,
  .single-product .ff-product-summary-card table.wpcpq-table th,
  .single-product .ff-product-summary-card table.wpcpq-table td {
    padding: 12px 14px;
    font-size: 15px;
  }

  .single-product .ff-product-summary-card .wpcpq-wrap .button,
  .single-product .ff-product-summary-card .wpcpq-wrap button,
  .single-product .ff-product-summary-card .wpcpq-wrap a.button,
  .single-product .ff-product-summary-card table.wpcpq-table .button,
  .single-product .ff-product-summary-card table.wpcpq-table button,
  .single-product .ff-product-summary-card table.wpcpq-table a.button {
    width: 100%;
    min-height: 52px;
    padding: 0 18px !important;
  }

  .single-product .ff-product-info-card,
  .single-product .ff-specifications-card {
    padding: 22px 18px;
  }

  .single-product .ff-product-info-card ul.tabs {
    margin-bottom: 18px !important;
    padding-bottom: 2px !important;
  }

  .single-product .ff-product-info-card ul.tabs li a {
    font-size: 14px;
  }

  .single-product .ff-specifications-card h2,
  .single-product .ff-product-info-card .woocommerce-Tabs-panel h2 {
    font-size: 24px;
  }

  .single-product .ff-specifications-card__table table.shop_attributes tr {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 12px 14px;
  }

  .single-product .ff-specifications-card__table table.shop_attributes td {
    text-align: left;
  }
}

@media (max-width: 380px) {
  .single-product .ff-single-product__container {
    padding-inline: 10px;
  }

  .single-product .ff-product-gallery-card,
  .single-product .ff-product-summary-card,
  .single-product .ff-product-info-card,
  .single-product .ff-specifications-card {
    border-radius: 14px;
  }

  .single-product .ff-product-summary-card,
  .single-product .ff-product-info-card,
  .single-product .ff-specifications-card {
    padding-inline: 14px;
  }

  .single-product .ff-variation-wrapper,
  .single-product .ff-variation-wrapper .woocommerce-variation-add-to-cart {
    grid-template-columns: 1fr;
  }

  .single-product .ff-variation-wrapper .single_add_to_cart_button,
  .single-product .ff-wpclever-wishlist {
    grid-column: 1;
  }

  .single-product .ff-wpclever-wishlist .woosw-btn,
  .single-product .ff-wpclever-wishlist a.woosw-btn,
  .single-product .ff-product-summary-card .woosw-btn {
    width: 100% !important;
  }
}

/* Mobile overflow fix for single product pages: keep every hero/card child inside the viewport. */
.single-product .ff-product-hero,
.single-product .ff-product-hero > *,
.single-product .ff-product-summary-card > *,
.single-product .ff-variation-wrapper,
.single-product .ff-variation-wrapper > *,
.single-product .ff-variation-wrapper form.cart,
.single-product .ff-variation-wrapper .woocommerce-variation-add-to-cart {
  min-width: 0;
  max-width: 100%;
}

.single-product .ff-product-summary-card .product_title,
.single-product .ff-product-short-description,
.single-product .ff-product-short-description p {
  overflow-wrap: anywhere;
  word-break: normal;
}

@media (max-width: 720px) {
  .single-product .ff-single-product__container {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  .single-product .ff-product-summary-card {
    width: 100% !important;
    padding-inline: clamp(16px, 5vw, 24px);
    overflow: hidden;
  }

  .single-product .ff-product-breadcrumbs {
    max-width: 100%;
    scrollbar-gutter: auto;
  }

  .single-product .ff-product-breadcrumbs .ffehbo-breadcrumb__item,
  .single-product .ff-product-breadcrumbs .ffehbo-breadcrumb__link,
  .single-product .ff-product-breadcrumbs .ffehbo-breadcrumb__current,
  .single-product .ff-product-breadcrumbs .ffehbo-breadcrumb__label {
    flex: 0 1 auto;
  }

  .single-product .ff-product-breadcrumbs .ffehbo-breadcrumb__item.is-current {
    display: none;
  }

  .single-product .ff-product-breadcrumbs .ffehbo-breadcrumb__item:has(+ .ffehbo-breadcrumb__item.is-current)::after {
    content: none;
  }

  .single-product .ff-stock-price-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .single-product .ff-stock-status.ffehbo-stock-pill {
    width: 100%;
    max-width: 100%;
  }

  .single-product .ff-product-price {
    width: 100%;
    margin-left: 0;
    text-align: left;
  }

  .single-product .ff-variation-wrapper,
  .single-product .ff-variation-wrapper form.cart:not(.variations_form),
  .single-product .ff-variation-wrapper .woocommerce-variation-add-to-cart {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    width: 100%;
  }

  .single-product .ff-variation-wrapper form.cart:not(.variations_form),
  .single-product .ff-variation-wrapper .woocommerce-variation-add-to-cart {
    grid-column: 1 / -1;
  }

  .single-product .ff-variation-wrapper .quantity,
  .single-product .ff-variation-wrapper .single_add_to_cart_button,
  .single-product .ff-wpclever-wishlist {
    grid-column: 1 / -1;
    width: 100% !important;
    max-width: 100% !important;
  }

  .single-product .ff-variation-wrapper .quantity {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) 56px;
  }

  .single-product .ff-variation-wrapper .quantity .qty-btn {
    width: 56px !important;
  }

  .single-product .ff-variation-wrapper .quantity input.qty {
    width: 100% !important;
    min-width: 0;
  }

  .single-product .ff-variation-wrapper .single_add_to_cart_button {
    white-space: normal !important;
    text-align: center;
  }

  .single-product .ff-variation-wrapper .single_add_to_cart_button::before,
  .single-product .ff-variation-wrapper .single_add_to_cart_button:before {
    flex: 0 0 auto;
  }

  .single-product .ff-variation-wrapper .single_add_to_cart_button::after,
  .single-product .ff-variation-wrapper .single_add_to_cart_button:after {
    content: none !important;
    display: none !important;
  }
}

@media (max-width: 380px) {
  .single-product .ff-product-summary-card {
    padding-inline: 14px;
  }

  .single-product .ff-variation-wrapper .quantity {
    grid-template-columns: 48px minmax(0, 1fr) 48px;
  }

  .single-product .ff-variation-wrapper .quantity .qty-btn {
    width: 48px !important;
  }
}

/* Mobile reference layout for the WooCommerce product summary card. */
.single-product .ff-mobile-review-summary,
.single-product .ff-mobile-savings-pill,
.single-product .ff-mobile-usp-strip {
  display: none;
}

@media (max-width: 640px) {
  .single-product .ff-product-summary-card {
    order: 1;
  }

  .single-product .ff-product-gallery-card {
    order: 2;
  }
}

@media (max-width: 430px) {
  .single-product .ff-product-breadcrumbs,
  .single-product .ff-product-summary-card .product_title,
  .single-product .ff-product-short-description {
    display: none !important;
  }

  .single-product .ff-product-summary-card {
    padding: 22px 22px 24px;
    border-radius: 18px;
    background: #fff;
  }

  .single-product .ff-mobile-review-summary {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 0 22px;
    border-bottom: 1px solid #dedee3;
    color: #6f6d78;
    font-size: 16px;
    line-height: 1;
  }

  .single-product .ff-mobile-review-summary__stars {
    color: #f7b733;
    font-size: 24px;
    letter-spacing: 1px;
    line-height: 1;
    white-space: nowrap;
  }

  .single-product .ff-mobile-review-summary__count {
    min-width: 0;
    white-space: nowrap;
  }

  .single-product .ff-summary-divider {
    display: none;
  }

  .single-product .ff-stock-price-row {
    display: block;
    margin: 24px 0 22px;
  }

  .single-product .ff-stock-status.ffehbo-stock-pill {
    margin-bottom: 28px;
  }

  .single-product .ff-product-price {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 14px;
  }

  .single-product .ff-product-price .price {
    display: flex;
    flex: 0 0 100%;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 14px;
    margin: 0;
    font-size: clamp(54px, 18vw, 68px);
    font-weight: 900;
    letter-spacing: -0.05em;
  }

  .single-product .ff-product-price .price ins {
    order: 1;
    flex: 0 0 100%;
    text-decoration: none;
  }

  .single-product .ff-product-price .price del {
    order: 2;
    margin: 0;
    color: #85858d !important;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -0.03em;
    opacity: 1;
  }

  .single-product .ff-product-price .price del .amount,
  .single-product .ff-product-price .price del .woocommerce-Price-amount,
  .single-product .ff-product-price .price del .woocommerce-Price-currencySymbol,
  .single-product .ff-product-price .price del bdi {
    color: #85858d !important;
  }

  .single-product .ff-mobile-savings-pill {
    order: 3;
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 13px;
    border-radius: 10px;
    background: #ffedc8;
    color: #08042b;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
  }

  .single-product .ff-mobile-savings-pill::before,
  .single-product .ff-mobile-savings-pill:before {
    content: "";
    display: block;
    width: 1px;
    height: 24px;
    margin: 0 14px 0 -28px;
    background: #cfcfd5;
  }

  .single-product .ff-mobile-savings-pill::after,
  .single-product .ff-mobile-savings-pill:after {
    content: none !important;
    display: none !important;
  }

  .single-product .ff-variation-wrapper,
  .single-product .ff-variation-wrapper form.cart:not(.variations_form),
  .single-product .ff-variation-wrapper .woocommerce-variation-add-to-cart {
    grid-template-columns: minmax(112px, 0.74fr) minmax(0, 1.26fr) !important;
    gap: 12px 12px;
    align-items: stretch;
  }

  .single-product .ff-variation-wrapper .quantity {
    grid-column: 1 !important;
    width: 100% !important;
    height: 58px !important;
    min-height: 58px !important;
    max-height: 58px !important;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    border: 1px solid #dedee3 !important;
    border-radius: 14px !important;
  }

  .single-product .ff-variation-wrapper .quantity input.qty,
  .single-product .ff-variation-wrapper .quantity .qty-btn {
    height: 56px !important;
    min-height: 56px !important;
  }

  .single-product .ff-variation-wrapper .quantity input.qty {
    width: 100% !important;
    font-size: 20px;
    font-weight: 800;
  }

  .single-product .ff-variation-wrapper .quantity .qty-btn {
    width: 40px !important;
    font-size: 24px !important;
  }

  .single-product .ff-variation-wrapper .single_add_to_cart_button {
    grid-column: 2 !important;
    width: 100% !important;
    height: 58px !important;
    min-height: 58px !important;
    padding: 0 14px !important;
    border-radius: 14px !important;
    background: linear-gradient(135deg, #f6bd4b 0%, #ffd778 100%) !important;
    color: #08042b !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
  }

  .single-product .ff-variation-wrapper .single_add_to_cart_button::before,
  .single-product .ff-variation-wrapper .single_add_to_cart_button:before {
    content: none !important;
    display: none !important;
  }

  .single-product .ff-variation-wrapper .single_add_to_cart_button::after,
  .single-product .ff-variation-wrapper .single_add_to_cart_button:after {
    content: "→" !important;
    display: inline-flex !important;
    margin-left: auto;
    color: currentColor !important;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 28px;
    font-weight: 400;
    line-height: 1;
    background: transparent !important;
    box-shadow: none !important;
  }

  .single-product .ff-wpclever-wishlist {
    grid-column: 1 / -1 !important;
    justify-self: stretch;
    width: 100% !important;
    margin: 10px 0 20px;
  }

  .single-product .ff-wpclever-wishlist .woosw-btn,
  .single-product .ff-wpclever-wishlist a.woosw-btn,
  .single-product .ff-product-summary-card .woosw-btn {
    width: auto !important;
    max-width: 100% !important;
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    justify-content: flex-start;
    gap: 12px;
    border: 0 !important;
    background: transparent !important;
    color: #08042b !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    overflow: visible;
  }

  .single-product .ff-wpclever-wishlist .woosw-btn::before,
  .single-product .ff-wpclever-wishlist .woosw-btn:before,
  .single-product .ff-product-summary-card .woosw-btn::before,
  .single-product .ff-product-summary-card .woosw-btn:before {
    content: "♡" !important;
    flex: 0 0 auto;
    font-size: 32px;
    line-height: 1;
  }

  .single-product .ff-wpclever-wishlist .woosw-btn::after,
  .single-product .ff-wpclever-wishlist .woosw-btn:after,
  .single-product .ff-product-summary-card .woosw-btn::after,
  .single-product .ff-product-summary-card .woosw-btn:after {
    content: none !important;
    display: none !important;
  }

  .single-product .ff-mobile-usp-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    padding: 16px 0;
    border-top: 1px solid #dedee3;
    border-radius: 14px;
    background: #fbfcfd;
    box-shadow: 0 12px 26px rgba(25, 13, 57, 0.05);
  }

  .single-product .ff-mobile-usp-strip__item {
    min-width: 0;
    display: grid;
    justify-items: center;
    gap: 3px;
    padding: 0 8px;
    color: #08042b;
    text-align: center;
  }

  .single-product .ff-mobile-usp-strip__item + .ff-mobile-usp-strip__item {
    border-left: 1px solid #dedee3;
  }

  .single-product .ff-mobile-usp-strip__icon {
    display: block;
    min-height: 28px;
    color: #08042b;
    font-size: 24px;
    line-height: 1;
  }

  .single-product .ff-mobile-usp-strip__item strong {
    font-size: 12px;
    font-weight: 800;
    line-height: 1.15;
  }

  .single-product .ff-mobile-usp-strip__item span:not(.ff-mobile-usp-strip__icon) {
    color: #6f6d78;
    font-size: 12px;
    line-height: 1.2;
  }

  .single-product .ff-product-gallery-card {
    margin-top: 16px;
    border: 1px solid #e7e7ec;
  }
}

/* Keep the responsive product page aligned with the desktop content hierarchy. */
@media (max-width: 980px) {
  .single-product .ff-product-gallery-card,
  .single-product .ff-product-summary-card {
    order: initial;
  }
}

@media (max-width: 430px) {
  .single-product .ff-product-breadcrumbs,
  .single-product .ff-product-summary-card .product_title,
  .single-product .ff-product-short-description {
    display: block !important;
  }

  .single-product .ff-mobile-review-summary,
  .single-product .ff-mobile-savings-pill,
  .single-product .ff-mobile-usp-strip {
    display: none !important;
  }

  .single-product .ff-product-summary-card {
    padding: 24px 20px;
  }

  .single-product .ff-product-breadcrumbs {
    margin-bottom: 18px;
    font-size: 12px;
  }

  .single-product .ff-product-summary-card .product_title {
    margin-bottom: 18px;
    font-size: clamp(28px, 9vw, 36px);
  }

  .single-product .ff-product-short-description {
    margin-bottom: 0;
  }

  .single-product .ff-summary-divider {
    display: block;
  }

  .single-product .ff-stock-price-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    margin: 24px 0 26px;
  }

  .single-product .ff-stock-status.ffehbo-stock-pill {
    margin-bottom: 0;
  }

  .single-product .ff-product-price {
    display: block;
  }

  .single-product .ff-product-price .price {
    display: block;
    margin: 0;
    font-size: clamp(34px, 11vw, 44px);
    letter-spacing: -0.03em;
  }

  .single-product .ff-product-price .price ins,
  .single-product .ff-product-price .price del {
    display: inline;
  }

  .single-product .ff-product-price .price del {
    margin-right: 8px;
    font-size: 0.58em;
  }

  .single-product .ff-variation-wrapper,
  .single-product .ff-variation-wrapper form.cart:not(.variations_form),
  .single-product .ff-variation-wrapper .woocommerce-variation-add-to-cart {
    grid-template-columns: minmax(104px, 0.85fr) minmax(0, 1.45fr) minmax(54px, 0.45fr) !important;
    gap: 12px;
    align-items: stretch;
  }

  .single-product .ff-variation-wrapper .quantity {
    grid-column: 1 !important;
  }

  .single-product .ff-variation-wrapper .single_add_to_cart_button {
    grid-column: 2 !important;
    white-space: normal !important;
  }

  .single-product .ff-wpclever-wishlist {
    grid-column: 3 !important;
    width: 100% !important;
    margin: 0;
  }

  .single-product .ff-wpclever-wishlist .woosw-btn,
  .single-product .ff-wpclever-wishlist a.woosw-btn,
  .single-product .ff-product-summary-card .woosw-btn {
    width: 100% !important;
    height: 58px !important;
    min-height: 58px !important;
    max-height: 58px !important;
    justify-content: center;
    gap: 0;
    border: 1px solid #dfdfdf !important;
    border-radius: 14px !important;
    background: #fff !important;
    font-size: 0 !important;
    overflow: hidden;
  }

  .single-product .ff-variation-wrapper .single_add_to_cart_button::before,
  .single-product .ff-variation-wrapper .single_add_to_cart_button:before {
    content: "" !important;
    display: inline-flex !important;
  }

  .single-product .ff-variation-wrapper .single_add_to_cart_button::after,
  .single-product .ff-variation-wrapper .single_add_to_cart_button:after,
  .single-product .ff-wpclever-wishlist .woosw-btn::after,
  .single-product .ff-wpclever-wishlist .woosw-btn:after,
  .single-product .ff-product-summary-card .woosw-btn::after,
  .single-product .ff-product-summary-card .woosw-btn:after {
    content: none !important;
    display: none !important;
  }
}

@media (max-width: 380px) {
  .single-product .ff-variation-wrapper,
  .single-product .ff-variation-wrapper form.cart:not(.variations_form),
  .single-product .ff-variation-wrapper .woocommerce-variation-add-to-cart {
    grid-template-columns: minmax(0, 1fr) 58px !important;
  }

  .single-product .ff-variation-wrapper .quantity {
    grid-column: 1 / -1 !important;
  }

  .single-product .ff-variation-wrapper .single_add_to_cart_button {
    grid-column: 1 !important;
  }

  .single-product .ff-wpclever-wishlist {
    grid-column: 2 !important;
  }
}

/* Desktop card layout with right sidebar, matching the supplied product-page reference. */
.single-product .ff-single-product__container {
  width: min(100%, 1320px);
  padding: 42px clamp(18px, 3vw, 40px) 72px;
}

.single-product .ff-single-product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 300px);
  gap: 24px;
  align-items: start;
}

.single-product .ff-single-product-main {
  display: grid;
  gap: 24px;
  min-width: 0;
}

.single-product .ff-product-hero-card,
.single-product .ff-product-details-card,
.single-product .ff-product-sidebar-card {
  background: #fff;
  border: 0;
  border-radius: 22px;
  box-shadow: 0 18px 45px rgba(25, 13, 57, 0.08);
}

.single-product .ff-product-hero-card {
  display: grid;
  grid-template-columns: minmax(320px, 42%) minmax(0, 58%);
  gap: 32px;
  align-items: start;
  padding: 22px 26px 24px 22px;
}

.single-product .ff-product-gallery {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(25, 13, 57, 0.06);
  border-radius: 18px;
  background: #fff;
}

.single-product .ff-product-gallery .woocommerce-product-gallery {
  width: 100% !important;
  margin: 0 !important;
  display: grid;
  grid-template-rows: auto auto;
  gap: 18px;
}

.single-product .ff-product-gallery .flex-viewport,
.single-product .ff-product-gallery .woocommerce-product-gallery__wrapper,
.single-product .ff-product-gallery .woocommerce-product-gallery__image,
.single-product .ff-product-gallery .woocommerce-product-gallery__image > a {
  min-height: 0 !important;
  height: auto !important;
}

.single-product .ff-product-gallery .woocommerce-product-gallery__image,
.single-product .ff-product-gallery .woocommerce-product-gallery__image > a {
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.single-product .ff-product-gallery .woocommerce-product-gallery__image img {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: clamp(320px, 32vw, 440px) !important;
  object-fit: contain;
}

.single-product .ff-product-gallery .flex-control-nav {
  display: flex !important;
  gap: 12px;
  justify-content: flex-start;
  margin: 0 !important;
  padding: 10px 0 0 !important;
  border: 0;
  overflow-x: auto;
}

.single-product .ff-product-gallery .flex-control-nav li { width: 54px !important; flex: 0 0 54px; }
.single-product .ff-product-gallery .flex-control-nav img { width: 54px !important; height: 54px !important; padding: 6px; object-fit: contain; border: 1px solid #dcdbe2; border-radius: 8px; opacity: 1; }
.single-product .ff-product-gallery .flex-control-nav img.flex-active { border-color: #190d39; }

.single-product .ff-product-gallery .woocommerce-product-gallery__trigger {
  display: inline-flex !important;
  top: auto !important;
  right: 14px !important;
  bottom: 14px !important;
  width: 42px !important;
  height: 42px !important;
  align-items: center;
  justify-content: center;
  border: 1px solid #ececf1;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 10px 25px rgba(25, 13, 57, 0.08);
}

.single-product .ff-product-summary {
  width: auto !important;
  float: none !important;
  min-width: 0;
  padding: 16px 8px 0 0;
  display: flex;
  flex-direction: column;
}

.single-product .ff-product-review-summary { display: inline-flex; gap: 10px; align-items: center; margin: 0 0 14px; }
.single-product .ff-product-review-summary .star-rating { margin: 0; color: #f4b83f; }
.single-product .ff-product-review-summary__count { color: #67656e; font-size: 13px; text-decoration: none; }

.single-product .ff-product-summary .product_title { margin: 0 0 20px; color: var(--ff-heading); font-size: clamp(32px, 2.5vw, 38px); line-height: 1.14; letter-spacing: -0.02em; }
.single-product .ff-product-short-description { max-width: 620px; }
.single-product .ff-summary-divider { margin: 26px 0 26px; border-top: 1px solid #dedde4; }
.single-product .ff-stock-price-row { margin: 0 0 30px; }

.single-product .ff-variation-wrapper { grid-template-columns: 140px minmax(0, 1fr) 70px; gap: 12px; align-items: start; }
.single-product .ff-variation-wrapper:has(.ff-wpclever-wishlist) { grid-template-columns: 140px minmax(0, 1fr) 70px; }
.single-product .ff-variation-wrapper:not(:has(.ff-wpclever-wishlist)) { grid-template-columns: 140px minmax(0, 1fr); }
.single-product .ff-variation-wrapper .woocommerce-variation-add-to-cart { grid-template-columns: 140px minmax(0, 1fr); gap: 12px; }
.single-product .ff-variation-wrapper .quantity,
.single-product .ff-variation-wrapper .single_add_to_cart_button,
.single-product .ff-wpclever-wishlist .woosw-btn,
.single-product .ff-wpclever-wishlist a.woosw-btn,
.single-product .ff-product-summary .woosw-btn { height: 54px !important; min-height: 54px !important; max-height: 54px !important; border-radius: 10px !important; }
.single-product .ff-variation-wrapper .quantity { width: 140px; }
.single-product .ff-variation-wrapper .quantity input.qty,
.single-product .ff-variation-wrapper .quantity .qty-btn { height: 52px !important; min-height: 52px !important; }
.single-product .ff-variation-wrapper .single_add_to_cart_button { min-width: 0; }
.single-product .ff-wpclever-wishlist .woosw-btn,
.single-product .ff-wpclever-wishlist a.woosw-btn,
.single-product .ff-product-summary .woosw-btn { width: 70px !important; }

.single-product .ff-product-benefits--trustbar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid #dedde4;
}
.single-product .ff-product-benefit { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; align-items: center; min-width: 0; padding: 0 12px; }
.single-product .ff-product-benefits--trustbar .ff-product-benefit + .ff-product-benefit { border-left: 1px solid #ebeaf0; }
.single-product .ff-product-benefit:first-child { padding-left: 0; }
.single-product .ff-product-benefit__icon { display: grid; place-items: center; width: 30px; height: 30px; color: #190d39; font-size: 20px; }
.single-product .ff-product-benefit__content { display: grid; gap: 3px; color: #67656e; font-size: 12px; line-height: 1.25; }
.single-product .ff-product-benefit__content strong { color: #190d39; font-size: 13px; line-height: 1.2; }

.single-product .ff-product-details-card { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(260px, 1fr); gap: 36px; align-items: start; padding: 28px; }
.single-product .ff-product-details-card:not(:has(.ff-specifications-card)) { grid-template-columns: 1fr; }
.single-product .ff-product-tabs .woocommerce-tabs { margin: 0 !important; padding: 0; border: 0; box-shadow: none; }
.single-product .ff-product-tabs ul.tabs { display: flex; gap: 32px; justify-content: flex-start; margin: 0 0 20px !important; padding: 0 !important; border-bottom: 1px solid #d8d8d8; overflow-x: auto; }
.single-product .ff-product-tabs ul.tabs::before,
.single-product .ff-product-tabs ul.tabs::after,
.single-product .ff-product-tabs ul.tabs li::before,
.single-product .ff-product-tabs ul.tabs li:before,
.single-product .ff-product-tabs ul.tabs li::after,
.single-product .ff-product-tabs ul.tabs li:after { content: none !important; display: none !important; }
.single-product .ff-product-tabs ul.tabs li { margin: 0 !important; padding: 0 !important; border: 0 !important; background: transparent !important; }
.single-product .ff-product-tabs ul.tabs li a { position: relative; display: block; padding: 0 0 16px !important; color: #67656e !important; font-size: 14px; font-weight: 700; text-decoration: none !important; white-space: nowrap; }
.single-product .ff-product-tabs ul.tabs li a::before { content: none !important; display: none !important; }
.single-product .ff-product-tabs ul.tabs li a::after { content: "" !important; display: block !important; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: #190d39; transform: scaleX(0); transition: transform .2s ease; }
.single-product .ff-product-tabs ul.tabs li.active a,
.single-product .ff-product-tabs ul.tabs li a:hover { color: #190d39 !important; }
.single-product .ff-product-tabs ul.tabs li.active a::after,
.single-product .ff-product-tabs ul.tabs li a:hover::after { transform: scaleX(1); }
.single-product .ff-product-tabs .woocommerce-Tabs-panel { color: #67656e; font-size: 15px; line-height: 1.65; }

.single-product .ff-product-details-card .ff-specifications-card { padding: 0; border-radius: 0; box-shadow: none; background: transparent; min-height: 0; }
.single-product .ff-product-details-card .ff-specifications-card__eyebrow { margin-bottom: 10px; background: transparent; padding: 0; color: #67656e; }
.single-product .ff-product-details-card .ff-specifications-card h2 { margin-bottom: 18px; font-size: 22px; }
.single-product .ff-product-details-card .ff-specifications-card__table table.shop_attributes tr { border-radius: 9px; min-height: 52px; padding: 12px 16px; }

.single-product .ff-product-sidebar { position: sticky; top: 110px; display: grid; gap: 16px; min-width: 0; }
.single-product .ff-product-sidebar-card { padding: 22px; }
.single-product .ff-product-sidebar-card h2 { margin: 0 0 16px; color: #190d39; font-size: 18px; line-height: 1.2; }
.single-product .ff-sidebar-category-link { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid #dedde4; color: #190d39; font-size: 14px; text-decoration: none; }
.single-product .ff-sidebar-category-link:first-child { padding-top: 0; }
.single-product .ff-sidebar-category-link:last-child { border-bottom: 0; padding-bottom: 0; }
.single-product .ff-sidebar-category-link.is-active span:first-child { font-weight: 800; }
.single-product .ff-product-benefits--sidebar { display: grid; gap: 18px; }
.single-product .ff-product-benefits--sidebar .ff-product-benefit { padding: 0; grid-template-columns: 42px minmax(0,1fr); }
.single-product .ff-product-benefits--sidebar .ff-product-benefit__icon { width: 36px; height: 36px; border-radius: 999px; background: rgba(25, 13, 57, 0.06); }
.single-product .ff-product-tip { color: #67656e; font-size: 14px; line-height: 1.55; }
.single-product .ff-product-tip p:last-child { margin-bottom: 0; }
.single-product .ff-sidebar-related-product { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px; border: 1px solid #dedde4; border-radius: 10px; color: #190d39; text-decoration: none; }
.single-product .ff-sidebar-related-product img { width: 74px; height: 74px; object-fit: contain; }
.single-product .ff-sidebar-related-product__body { display: grid; gap: 6px; min-width: 0; font-size: 13px; }
.single-product .ff-sidebar-related-product__price { color: #087a12; font-weight: 800; }

@media (max-width: 1180px) {
  .single-product .ff-single-product-layout,
  .single-product .ff-product-hero-card,
  .single-product .ff-product-details-card { grid-template-columns: 1fr; }
  .single-product .ff-product-sidebar { position: static; }
}

@media (max-width: 720px) {
  .single-product .ff-product-hero-card,
  .single-product .ff-product-details-card { padding: 18px; border-radius: 18px; }
  .single-product .ff-product-summary { padding: 0; }
  .single-product .ff-product-benefits--trustbar { grid-template-columns: 1fr; gap: 14px; }
  .single-product .ff-product-benefits--trustbar .ff-product-benefit + .ff-product-benefit { border-left: 0; }
  .single-product .ff-product-benefit { padding: 0; }
  .single-product .ff-product-tabs ul.tabs { gap: 24px; }
}


/* Sidebar product-page hierarchy: categories, specifications, related content, then benefits. */
.single-product .ff-product-sidebar .ff-specifications-card {
  min-height: 0;
  padding: 22px;
  overflow: visible;
}

.single-product .ff-product-sidebar .ff-specifications-card h2 {
  font-size: 18px;
}

.single-product .ff-product-sidebar .ff-specifications-card__table table.shop_attributes tr {
  grid-template-columns: 1fr;
  gap: 6px;
  min-height: 0;
}

.single-product .ff-product-sidebar .ff-specifications-card__table table.shop_attributes td {
  text-align: left;
}

.single-product .ff-product-sidebar-card--categories nav {
  max-height: 430px;
  overflow-y: auto;
  padding-right: 4px;
}

/* Place WPC Price by Quantity breaks below the cart controls and keep their add buttons unstyled. */
.single-product .ff-product-summary .wpcpq-wrap,
.single-product .ff-product-summary .wpcpq-table,
.single-product .ff-product-summary .wpcpq-list,
.single-product .ff-product-summary .wpcpq-container,
.single-product .ff-product-summary table.wpcpq-table,
.single-product .ff-variation-wrapper .wpcpq-wrap,
.single-product .ff-variation-wrapper .wpcpq-table,
.single-product .ff-variation-wrapper .wpcpq-list,
.single-product .ff-variation-wrapper .wpcpq-container,
.single-product .ff-variation-wrapper table.wpcpq-table,
.single-product .ff-wpcpq-localised {
  order: 4;
  grid-column: 1 / -1;
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  margin-top: 14px;
}

.single-product .ff-product-summary .ff-wpcpq-localised,
.single-product .ff-variation-wrapper .ff-wpcpq-localised {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
}

.single-product .ff-product-summary [data-ff-wpcpq-quantity],
.single-product .ff-variation-wrapper [data-ff-wpcpq-quantity],
.single-product .ff-product-summary .wpcpq-wrap .wpcpq-item-atc-btn,
.single-product .ff-variation-wrapper .wpcpq-wrap .wpcpq-item-atc-btn,
.single-product .ff-product-summary table.wpcpq-table .wpcpq-item-atc-btn,
.single-product .ff-variation-wrapper table.wpcpq-table .wpcpq-item-atc-btn {
  all: revert !important;
  cursor: pointer;
}

.single-product .ff-product-summary [data-ff-wpcpq-quantity]::before,
.single-product .ff-product-summary [data-ff-wpcpq-quantity]:before,
.single-product .ff-variation-wrapper [data-ff-wpcpq-quantity]::before,
.single-product .ff-variation-wrapper [data-ff-wpcpq-quantity]:before,
.single-product .ff-product-summary .wpcpq-wrap .wpcpq-item-atc-btn::before,
.single-product .ff-product-summary .wpcpq-wrap .wpcpq-item-atc-btn:before,
.single-product .ff-variation-wrapper .wpcpq-wrap .wpcpq-item-atc-btn::before,
.single-product .ff-variation-wrapper .wpcpq-wrap .wpcpq-item-atc-btn:before,
.single-product .ff-product-summary table.wpcpq-table .wpcpq-item-atc-btn::before,
.single-product .ff-product-summary table.wpcpq-table .wpcpq-item-atc-btn:before,
.single-product .ff-variation-wrapper table.wpcpq-table .wpcpq-item-atc-btn::before,
.single-product .ff-variation-wrapper table.wpcpq-table .wpcpq-item-atc-btn:before,
.single-product .ff-product-summary [data-ff-wpcpq-quantity]::after,
.single-product .ff-product-summary [data-ff-wpcpq-quantity]:after,
.single-product .ff-variation-wrapper [data-ff-wpcpq-quantity]::after,
.single-product .ff-variation-wrapper [data-ff-wpcpq-quantity]:after,
.single-product .ff-product-summary .wpcpq-wrap .wpcpq-item-atc-btn::after,
.single-product .ff-product-summary .wpcpq-wrap .wpcpq-item-atc-btn:after,
.single-product .ff-variation-wrapper .wpcpq-wrap .wpcpq-item-atc-btn::after,
.single-product .ff-variation-wrapper .wpcpq-wrap .wpcpq-item-atc-btn:after,
.single-product .ff-product-summary table.wpcpq-table .wpcpq-item-atc-btn::after,
.single-product .ff-product-summary table.wpcpq-table .wpcpq-item-atc-btn:after,
.single-product .ff-variation-wrapper table.wpcpq-table .wpcpq-item-atc-btn::after,
.single-product .ff-variation-wrapper table.wpcpq-table .wpcpq-item-atc-btn:after {
  content: none !important;
  display: none !important;
}

.single-product .ff-product-hero-card .ff-product-benefits {
  display: none !important;
}

/* Universal 2026 single-product card system (scoped to WooCommerce product pages only). */
body.single-product .ff-single-product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: clamp(20px, 2vw, 24px);
  align-items: start;
}

body.single-product .ff-single-product-main {
  min-width: 0;
}

body.single-product .ff-product-hero-card,
body.single-product .ff-product-details-card,
body.single-product .ff-product-sidebar-card {
  background: #fff;
  border: 1px solid rgba(218, 217, 217, 0.72);
  border-radius: 22px;
  box-shadow: 0 18px 44px rgba(25, 13, 57, 0.07);
}

body.single-product .ff-product-hero-card {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1fr);
  gap: clamp(22px, 2.4vw, 30px);
  padding: clamp(22px, 2.2vw, 28px);
  margin: 0 0 20px;
}

body.single-product .ff-product-gallery {
  min-width: 0;
}

body.single-product .ff-product-gallery .woocommerce-product-gallery {
  width: 100% !important;
  margin: 0 !important;
}

body.single-product .ff-product-gallery .flex-viewport,
body.single-product .ff-product-gallery .woocommerce-product-gallery__image {
  border: 1px solid rgba(218, 217, 217, 0.78);
  border-radius: 12px;
  background: #fff;
}

body.single-product .ff-product-gallery .woocommerce-product-gallery__image > a {
  display: flex !important;
  min-height: clamp(320px, 34vw, 460px);
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 3vw, 34px);
}

body.single-product .ff-product-gallery .woocommerce-product-gallery__image img {
  width: 100% !important;
  height: auto !important;
  max-height: 430px !important;
  object-fit: contain;
}

body.single-product .ff-product-gallery .woocommerce-product-gallery__trigger {
  right: 18px !important;
  bottom: 18px !important;
  top: auto !important;
  width: 44px !important;
  height: 44px !important;
  border: 1px solid rgba(218, 217, 217, 0.85);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(25, 13, 57, 0.12);
}

body.single-product .ff-product-gallery .woocommerce-product-gallery__trigger::before,
body.single-product .ff-product-gallery .woocommerce-product-gallery__trigger:before,
body.single-product .ff-product-gallery .woocommerce-product-gallery__trigger::after,
body.single-product .ff-product-gallery .woocommerce-product-gallery__trigger:after {
  box-shadow: none !important;
}

body.single-product .ff-product-gallery .flex-control-nav {
  display: flex !important;
  gap: 10px;
  margin: 16px 0 0 !important;
  padding: 0 0 4px !important;
  overflow-x: auto;
  list-style: none;
}

body.single-product .ff-product-gallery .flex-control-nav li {
  width: 62px !important;
  flex: 0 0 62px;
}

body.single-product .ff-product-gallery .flex-control-nav img {
  width: 62px !important;
  height: 62px !important;
  padding: 7px;
  border: 1px solid rgba(218, 217, 217, 0.85);
  border-radius: 10px;
  object-fit: contain;
  background: #fff;
  opacity: 1;
}

body.single-product .ff-product-gallery .flex-control-nav img.flex-active,
body.single-product .ff-product-gallery .flex-control-nav img:hover {
  border-color: var(--e-global-color-secondary, #190d39);
}

body.single-product .ff-product-summary {
  display: flex;
  min-width: 0;
  flex-direction: column;
  float: none !important;
  width: auto !important;
}

body.single-product .ff-product-summary .product_title {
  margin: 0 0 14px;
  color: var(--e-global-color-secondary, #190d39);
  font-size: clamp(30px, 3vw, 38px);
  line-height: 1.15;
  overflow-wrap: anywhere;
}

body.single-product .ff-product-review-summary {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
}

body.single-product .ff-product-short-description,
body.single-product .ff-product-short-description p {
  max-width: 62ch;
  color: var(--e-global-color-text, #67656e);
  font-size: 15px;
  line-height: 1.7;
}

body.single-product .ff-stock-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 22px;
}


body.single-product .ff-product-price .price {
  margin: 0;
  color: #07851d;
  font-size: clamp(24px, 2.3vw, 30px);
  font-weight: 800;
  line-height: 1;
}

body.single-product .ff-product-price .price del { opacity: .58; font-size: .7em; }
body.single-product .ff-product-price .price ins { text-decoration: none; }

body.single-product .ff-variation-wrapper form.cart,
body.single-product .ff-variation-wrapper .woocommerce-variation-add-to-cart {
  display: flex !important;
  flex-wrap: wrap;
  gap: 12px;
  align-items: stretch;
}

body.single-product .ff-variation-wrapper .quantity {
  display: inline-flex;
  width: 150px;
  min-height: 50px;
  overflow: hidden;
  border: 1px solid rgba(218, 217, 217, 0.95);
  border-radius: 10px;
  background: #fff;
}

body.single-product .ff-variation-wrapper .single_add_to_cart_button {
  min-height: 50px;
  flex: 1 1 210px;
  border: 0 !important;
  border-radius: 10px !important;
  background: var(--e-global-color-primary, #fcda98) !important;
  color: var(--e-global-color-secondary, #190d39) !important;
  font-weight: 800 !important;
}

body.single-product .ff-variation-wrapper .single_add_to_cart_button::before,
body.single-product .ff-variation-wrapper .single_add_to_cart_button:before,
body.single-product .ff-variation-wrapper .single_add_to_cart_button::after,
body.single-product .ff-variation-wrapper .single_add_to_cart_button:after,
body.single-product .ff-sidebar-related-product__action::before,
body.single-product .ff-sidebar-related-product__action:before,
body.single-product .ff-sidebar-related-product__action::after,
body.single-product .ff-sidebar-related-product__action:after {
  content: none !important;
  display: none !important;
}

body.single-product .ff-product-benefits--trustbar {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
  padding: 14px 16px;
  border: 1px solid rgba(218, 217, 217, 0.78);
  border-radius: 12px;
  background: rgba(199, 228, 254, 0.16);
}

body.single-product .ff-product-benefit {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--e-global-color-text, #67656e);
  font-size: 13px;
}

body.single-product .ff-product-benefit__content { display: grid; gap: 1px; }
body.single-product .ff-product-benefit__content strong { color: var(--e-global-color-secondary, #190d39); font-size: 13px; }

body.single-product .ff-product-details-card {
  padding: clamp(22px, 2.3vw, 28px);
}

body.single-product .ff-product-details-card ul.tabs {
  display: flex;
  gap: clamp(18px, 3vw, 36px);
  margin: 0 0 24px !important;
  padding: 0 !important;
  overflow-x: auto;
  border-bottom: 1px solid rgba(218, 217, 217, 0.85);
}

body.single-product .ff-product-details-card ul.tabs li {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

body.single-product .ff-product-details-card ul.tabs li::before,
body.single-product .ff-product-details-card ul.tabs li:before,
body.single-product .ff-product-details-card ul.tabs li::after,
body.single-product .ff-product-details-card ul.tabs li:after { content: none !important; display: none !important; }

body.single-product .ff-product-details-card ul.tabs a {
  display: block;
  position: relative;
  padding: 0 0 14px !important;
  color: var(--e-global-color-text, #67656e) !important;
  text-decoration: none !important;
  white-space: nowrap;
}

body.single-product .ff-product-details-card ul.tabs li.active a {
  color: var(--e-global-color-secondary, #190d39) !important;
  font-weight: 700;
}

body.single-product .ff-product-details-card ul.tabs li.active a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--e-global-color-secondary, #190d39);
}

body.single-product .ff-product-details-card .woocommerce-Tabs-panel {
  color: var(--e-global-color-text, #67656e);
  font-size: 15px;
  line-height: 1.7;
}

body.single-product .ff-product-sidebar {
  display: grid;
  gap: 16px;
}

body.single-product .ff-product-sidebar-card {
  padding: 22px;
}

body.single-product .ff-product-sidebar-card h2 {
  margin: 0 0 14px;
  color: var(--e-global-color-secondary, #190d39);
  font-size: 18px;
  line-height: 1.25;
}

body.single-product .ff-sidebar-category-link {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(218, 217, 217, 0.85);
  color: var(--e-global-color-text, #67656e);
  text-decoration: none;
}

body.single-product .ff-sidebar-category-link.is-active {
  margin-inline: -10px;
  padding-inline: 10px;
  border-radius: 8px;
  background: rgba(199, 228, 254, 0.22);
  color: var(--e-global-color-secondary, #190d39);
  font-weight: 700;
}

body.single-product .ff-specifications-card__eyebrow { display: none; }
body.single-product .ff-specifications-card { overflow: hidden; }
body.single-product .ff-specifications-card::before { content: none; display: none; }
body.single-product .ff-specifications-card__table table.shop_attributes { width: 100%; margin: 0; border: 0; }
body.single-product .ff-specifications-card__table table.shop_attributes tr { display: grid; grid-template-columns: minmax(0, 40%) minmax(0, 60%); gap: 12px; min-height: 42px; padding: 10px 0; border-bottom: 1px solid rgba(218, 217, 217, 0.85); }
body.single-product .ff-specifications-card__table table.shop_attributes tr:last-child { border-bottom: 0; }
body.single-product .ff-specifications-card__table table.shop_attributes th,
body.single-product .ff-specifications-card__table table.shop_attributes td { padding: 0 !important; border: 0 !important; background: transparent !important; line-height: 1.45; }
body.single-product .ff-specifications-card__table table.shop_attributes th { color: var(--e-global-color-text, #67656e); font-size: 12px; font-weight: 500; }
body.single-product .ff-specifications-card__table table.shop_attributes td { color: var(--e-global-color-secondary, #190d39); font-size: 13px; font-weight: 700; text-align: right; overflow-wrap: anywhere; }
body.single-product .ff-specifications-card__table table.shop_attributes td p { margin: 0; padding: 0; }

body.single-product .ff-sidebar-related-products { display: grid; gap: 8px; }
body.single-product .ff-sidebar-related-product { display: grid; grid-template-columns: 58px minmax(0, 1fr) 40px; gap: 10px; align-items: center; min-height: 78px; padding: 8px; border: 1px solid rgba(218, 217, 217, 0.8); border-radius: 12px; }
body.single-product .ff-sidebar-related-product__image img { width: 58px; height: 58px; object-fit: contain; }
body.single-product .ff-sidebar-related-product__body { display: grid; gap: 4px; min-width: 0; }
body.single-product .ff-sidebar-related-product__body a { color: var(--e-global-color-secondary, #190d39); font-size: 13px; font-weight: 700; line-height: 1.25; text-decoration: none; }
body.single-product .ff-sidebar-related-product__price { color: #07851d; font-size: 13px; font-weight: 800; }
body.single-product .ff-sidebar-related-product__action { display: inline-flex !important; width: 38px; min-width: 38px; height: 38px; min-height: 38px; align-items: center; justify-content: center; padding: 0 !important; border: 1px solid rgba(218, 217, 217, 0.85) !important; border-radius: 10px !important; background: #fff !important; color: var(--e-global-color-secondary, #190d39) !important; font-size: 20px !important; line-height: 1 !important; text-decoration: none !important; }

@media (max-width: 1100px) {
  body.single-product .ff-single-product-layout,
  body.single-product .ff-product-hero-card { grid-template-columns: 1fr; }
  body.single-product .ff-product-sidebar { order: 2; }
}

@media (max-width: 720px) {
  body.single-product .ff-single-product__container { padding: 24px 16px 48px; }
  body.single-product .ff-product-hero-card,
  body.single-product .ff-product-details-card,
  body.single-product .ff-product-sidebar-card { border-radius: 20px; }
  body.single-product .ff-product-hero-card,
  body.single-product .ff-product-details-card { padding: 18px; }
  body.single-product .ff-product-gallery { order: 1; }
  body.single-product .ff-product-summary { order: 2; }
  body.single-product .ff-product-gallery .woocommerce-product-gallery__image > a { min-height: 260px; padding: 16px; }
  body.single-product .ff-stock-price-row { align-items: flex-start; flex-direction: column; }
  body.single-product .ff-product-price { margin-left: 0; text-align: left; }
  body.single-product .ff-variation-wrapper form.cart,
  body.single-product .ff-variation-wrapper .woocommerce-variation-add-to-cart { flex-direction: column; }
  body.single-product .ff-variation-wrapper .quantity,
  body.single-product .ff-variation-wrapper .single_add_to_cart_button { width: 100%; }
  body.single-product .ff-product-benefits--trustbar { grid-template-columns: 1fr; }
  body.single-product .ff-specifications-card__table table.shop_attributes tr { grid-template-columns: 1fr; gap: 4px; }
  body.single-product .ff-specifications-card__table table.shop_attributes td { text-align: left; }
}

body.single-product .ff-product-hero-card .ff-product-benefits--trustbar {
  display: grid !important;
}

/* FF EHBO 2026 refinement pass: single-product layout aligned to the visual target. */
body.single-product .ff-single-product__container {
  width: min(100% - 32px, 1138px);
  margin-inline: auto;
  padding: 58px 0 64px;
}

body.single-product .ff-single-product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 352px);
  gap: 21px;
  align-items: start;
}

body.single-product .ff-product-hero-card,
body.single-product .ff-product-details-card,
body.single-product .ff-product-sidebar-card {
  border: 1px solid rgba(218, 217, 217, 0.78);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(25, 13, 57, 0.055);
}

body.single-product .ff-product-hero-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 24px;
  margin: 0 0 40px;
}

body.single-product .ff-product-hero-grid {
  display: grid;
  grid-template-columns: minmax(280px, 43%) minmax(0, 57%);
  gap: 26px;
  align-items: start;
}

body.single-product .ff-product-breadcrumbs {
  grid-column: 1 / -1;
  margin: 0;
}

body.single-product .ff-product-gallery {
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

body.single-product .ff-product-gallery .woocommerce-product-gallery {
  display: grid;
  gap: 12px;
  width: 100%;
  margin: 0;
}

body.single-product .ff-product-gallery .flex-viewport,
body.single-product .ff-product-gallery .woocommerce-product-gallery__wrapper,
body.single-product .ff-product-gallery .woocommerce-product-gallery__image,
body.single-product .ff-product-gallery .woocommerce-product-gallery__image > a {
  min-height: 0;
  height: auto;
}

body.single-product .ff-product-gallery .woocommerce-product-gallery__image,
body.single-product .ff-product-gallery .woocommerce-product-gallery__image > a {
  display: flex;
  align-items: center;
  justify-content: center;
}

body.single-product .ff-product-gallery .woocommerce-product-gallery__image > a {
  min-height: clamp(300px, 31vw, 390px);
  padding: clamp(10px, 1.4vw, 18px);
  border: 1px solid rgba(218, 217, 217, 0.82);
  border-radius: 12px;
  background: #fff;
}

body.single-product .ff-product-gallery .woocommerce-product-gallery__image img {
  width: auto;
  height: auto;
  max-width: 86%;
  max-height: clamp(260px, 27vw, 350px);
  object-fit: contain;
}

body.single-product .ff-product-gallery .woocommerce-product-gallery__trigger {
  inset: auto auto 16px 16px;
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(218, 217, 217, 0.9);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 10px 22px rgba(25, 13, 57, 0.1);
}

body.single-product .ff-product-gallery .woocommerce-product-gallery__trigger::before,
body.single-product .ff-product-gallery .woocommerce-product-gallery__trigger:before,
body.single-product .ff-product-gallery .woocommerce-product-gallery__trigger::after,
body.single-product .ff-product-gallery .woocommerce-product-gallery__trigger:after {
  box-shadow: none;
}

body.single-product .ff-product-gallery .flex-control-nav {
  display: flex;
  gap: 9px;
  margin: 8px 0 0;
  padding: 0 0 2px;
  overflow-x: auto;
  list-style: none;
}

body.single-product .ff-product-gallery--single .flex-control-nav,
body.single-product .ff-product-gallery .flex-control-nav:empty {
  display: none;
}

body.single-product .ff-product-gallery .flex-control-nav li {
  width: 54px;
  flex: 0 0 54px;
}

body.single-product .ff-product-gallery .flex-control-nav img {
  width: 54px;
  height: 54px;
  padding: 6px;
  border: 1px solid rgba(218, 217, 217, 0.9);
  border-radius: 8px;
  background: #fff;
  object-fit: contain;
  opacity: 1;
}

body.single-product .ff-product-gallery .flex-control-nav img.flex-active,
body.single-product .ff-product-gallery .flex-control-nav img:hover {
  border-color: var(--e-global-color-secondary, #190d39);
}

body.single-product .ff-product-summary {
  display: flex;
  flex-direction: column;
  width: auto;
  min-width: 0;
  padding: 0;
  float: none;
}

body.single-product .ff-product-summary .product_title {
  margin: 0 0 10px;
  color: var(--e-global-color-secondary, #190d39);
  font-size: clamp(30px, 2.65vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}

body.single-product .ff-product-short-description,
body.single-product .ff-product-short-description p {
  margin: 0;
  color: var(--e-global-color-text, #67656e);
  font-size: 14px;
  line-height: 1.65;
}

body.single-product .ff-product-attribute-summary {
  margin-top: 6px;
  color: var(--e-global-color-text, #67656e);
  font-size: 13px;
  font-weight: 600;
}

body.single-product .ff-summary-divider {
  margin: 20px 0 18px;
  border-top: 1px solid rgba(218, 217, 217, 0.9);
}

body.single-product .ff-stock-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 18px;
}


body.single-product .ff-product-price .price {
  margin: 0;
  color: #008a1e;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.1;
  text-align: right;
}

body.single-product .ff-variation-wrapper,
body.single-product .ff-variation-wrapper form.cart,
body.single-product .ff-variation-wrapper .woocommerce-variation-add-to-cart {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
}

body.single-product .ff-variation-wrapper .quantity.ff-quantity-control,
body.single-product .ff-variation-wrapper .quantity {
  display: inline-grid;
  grid-template-columns: 44px minmax(42px, 1fr) 44px;
  width: 128px;
  min-height: 48px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(218, 217, 217, 0.95);
  border-radius: 8px;
  background: #fff;
}

body.single-product .ff-variation-wrapper .quantity input.qty {
  width: 100%;
  height: 46px;
  min-height: 46px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--e-global-color-secondary, #190d39);
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  appearance: textfield;
}

body.single-product .ff-quantity-control__button {
  display: inline-flex;
  min-width: 44px;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--e-global-color-text, #67656e);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

body.single-product .ff-quantity-control__button:disabled {
  cursor: not-allowed;
  opacity: 0.38;
}

body.single-product .ff-variation-wrapper .quantity:focus-within,
body.single-product .ff-variation-wrapper .single_add_to_cart_button:focus-visible,
body.single-product .ff-wpclever-wishlist .woosw-btn:focus-visible {
  outline: 2px solid rgba(25, 13, 57, 0.35);
  outline-offset: 2px;
}

body.single-product .ff-variation-wrapper .single_add_to_cart_button {
  min-height: 48px;
  flex: 1 1 168px;
  padding: 0 22px;
  border: 0;
  border-radius: 8px;
  background: #f8cf80;
  color: var(--e-global-color-secondary, #190d39);
  font-weight: 800;
  text-align: center;
}

body.single-product .ff-variation-wrapper .single_add_to_cart_button::before,
body.single-product .ff-variation-wrapper .single_add_to_cart_button:before,
body.single-product .ff-variation-wrapper .single_add_to_cart_button::after,
body.single-product .ff-variation-wrapper .single_add_to_cart_button:after,
body.single-product .ff-sidebar-related-product__action::before,
body.single-product .ff-sidebar-related-product__action:before,
body.single-product .ff-sidebar-related-product__action::after,
body.single-product .ff-sidebar-related-product__action:after,
body.single-product .ff-sidebar-related-products__all::before,
body.single-product .ff-sidebar-related-products__all:before,
body.single-product .ff-sidebar-related-products__all::after,
body.single-product .ff-sidebar-related-products__all:after {
  content: none;
  display: none;
}

body.single-product .ff-wpclever-wishlist .woosw-btn,
body.single-product .ff-product-summary .woosw-btn {
  display: inline-flex;
  width: 58px;
  min-width: 58px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(218, 217, 217, 0.95);
  border-radius: 8px;
  background: #fff;
  color: var(--e-global-color-secondary, #190d39);
}

body.single-product .ff-wpcpq-localised,
body.single-product .ff-product-summary .ff-wpcpq-localised,
body.single-product .ff-variation-wrapper .ff-wpcpq-localised {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  margin-top: 14px;
  padding: 10px 10px 10px 14px;
  border: 1px solid rgba(218, 217, 217, 0.88);
  border-radius: 6px;
  background: rgba(199, 228, 254, 0.22);
}

body.single-product .ff-wpcpq-discount-label {
  color: var(--e-global-color-text, #67656e);
  font-size: 13px;
}

body.single-product [data-ff-wpcpq-quantity] {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border: 1px solid rgba(25, 13, 57, 0.32);
  border-radius: 3px;
  background: #fff;
  color: var(--e-global-color-secondary, #190d39);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

body.single-product .ff-product-benefits--trustbar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 12px 0 0;
  padding: 12px 0;
  border: 1px solid rgba(218, 217, 217, 0.86);
  border-radius: 9px;
  background: rgba(199, 228, 254, 0.18);
}

body.single-product .ff-product-benefits--trustbar .ff-product-benefit {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  padding: 0 18px;
}

body.single-product .ff-product-benefits--trustbar .ff-product-benefit + .ff-product-benefit {
  border-left: 1px solid rgba(218, 217, 217, 0.9);
}

body.single-product .ff-product-benefit__icon {
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

body.single-product .ff-product-benefit__content {
  display: grid;
  min-width: 0;
  color: var(--e-global-color-text, #67656e);
  font-size: 12px;
  line-height: 1.25;
}

body.single-product .ff-product-benefit__content strong {
  color: var(--e-global-color-secondary, #190d39);
  font-size: 12px;
  font-weight: 800;
}

body.single-product .ff-product-details-card {
  padding: 24px;
}

body.single-product .ff-product-tabs .woocommerce-tabs {
  margin: 0;
  padding: 0;
  border: 0;
  box-shadow: none;
}

body.single-product .ff-product-tabs ul.tabs {
  display: flex;
  gap: 34px;
  margin: 0 0 24px;
  padding: 0;
  overflow-x: auto;
  border-bottom: 1px solid rgba(218, 217, 217, 0.9);
}

body.single-product .ff-product-tabs ul.tabs::before,
body.single-product .ff-product-tabs ul.tabs::after,
body.single-product .ff-product-tabs ul.tabs li::before,
body.single-product .ff-product-tabs ul.tabs li:before,
body.single-product .ff-product-tabs ul.tabs li::after,
body.single-product .ff-product-tabs ul.tabs li:after {
  content: none;
  display: none;
}

body.single-product .ff-product-tabs ul.tabs li {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

body.single-product .ff-product-tabs ul.tabs li a {
  position: relative;
  display: block;
  padding: 0 0 14px;
  color: var(--e-global-color-text, #67656e);
  text-decoration: none;
  white-space: nowrap;
}

body.single-product .ff-product-tabs ul.tabs li a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--e-global-color-secondary, #190d39);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

body.single-product .ff-product-tabs ul.tabs li.active a,
body.single-product .ff-product-tabs ul.tabs li a:hover,
body.single-product .ff-product-tabs ul.tabs li a:focus-visible {
  color: var(--e-global-color-secondary, #190d39);
  font-weight: 700;
}

body.single-product .ff-product-tabs ul.tabs li.active a::after,
body.single-product .ff-product-tabs ul.tabs li a:hover::after,
body.single-product .ff-product-tabs ul.tabs li a:focus-visible::after {
  transform: scaleX(1);
}

body.single-product .ff-product-tabs .woocommerce-Tabs-panel {
  color: var(--e-global-color-text, #67656e);
  font-size: 14px;
  line-height: 1.7;
}

body.single-product .ff-product-tabs .woocommerce-Tabs-panel p:has(strong:first-child),
body.single-product .ff-product-tip {
  padding: 14px 16px 14px 44px;
  border: 1px solid rgba(218, 217, 217, 0.88);
  border-radius: 9px;
  background: rgba(199, 228, 254, 0.14);
}

body.single-product .ff-product-tabs .woocommerce-Tabs-panel p:has(strong:first-child)::before,
body.single-product .ff-product-tip::before {
  content: "ⓘ";
  float: left;
  margin-left: -28px;
  color: var(--e-global-color-secondary, #190d39);
}

body.single-product .ff-product-sidebar {
  display: grid;
  gap: 16px;
  min-width: 0;
}

body.single-product .ff-product-sidebar-card {
  min-width: 0;
  padding: 22px;
  overflow: hidden;
}

body.single-product .ff-product-sidebar-card h2 {
  margin: 0 0 14px;
  color: var(--e-global-color-secondary, #190d39);
  font-size: 18px;
  line-height: 1.25;
}

body.single-product .ff-product-sidebar-card--categories nav {
  display: grid;
  max-height: none;
  overflow: visible;
  padding: 0;
}

body.single-product .ff-sidebar-category-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  min-width: 0;
  align-items: center;
  padding: 11px 10px;
  border-bottom: 1px solid rgba(218, 217, 217, 0.9);
  color: var(--e-global-color-text, #67656e);
  font-size: 13px;
  text-decoration: none;
}

body.single-product .ff-sidebar-category-link span:first-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

body.single-product .ff-sidebar-category-link.is-active {
  border-radius: 5px;
  background: rgba(199, 228, 254, 0.24);
  color: var(--e-global-color-secondary, #190d39);
  font-weight: 800;
}

body.single-product .ff-specifications-card__eyebrow { display: none; }
body.single-product .ff-specifications-card { overflow: hidden; }
body.single-product .ff-specifications-card::before { content: none; display: none; }
body.single-product .ff-specifications-list { margin: 0; }
body.single-product .ff-specifications-list__row {
  display: grid;
  grid-template-columns: minmax(0, 38%) minmax(0, 62%);
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(218, 217, 217, 0.9);
}
body.single-product .ff-specifications-list__row:last-child { border-bottom: 0; }
body.single-product .ff-specifications-list dt,
body.single-product .ff-specifications-list dd {
  min-width: 0;
  margin: 0;
  padding: 0;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
body.single-product .ff-specifications-list dt {
  color: var(--e-global-color-text, #67656e);
  font-size: 12px;
  font-weight: 500;
}
body.single-product .ff-specifications-list dd {
  color: var(--e-global-color-secondary, #190d39);
  font-size: 12px;
  font-weight: 700;
  text-align: right;
}

body.single-product .ff-sidebar-related-products {
  display: grid;
  gap: 8px;
}

body.single-product .ff-sidebar-related-product {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 38px;
  gap: 10px;
  align-items: center;
  min-width: 0;
  padding: 8px;
  border: 1px solid rgba(218, 217, 217, 0.84);
  border-radius: 9px;
}

body.single-product .ff-sidebar-related-product__image img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

body.single-product .ff-sidebar-related-product__body {
  display: grid;
  gap: 3px;
  min-width: 0;
}

body.single-product .ff-sidebar-related-product__body a {
  color: var(--e-global-color-secondary, #190d39);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
}

body.single-product .ff-sidebar-related-product__price {
  color: var(--ffehbo-navy, #050b3f);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.15;
}

body.single-product .ff-sidebar-related-product__price .amount,
body.single-product .ff-sidebar-related-product__price .woocommerce-Price-amount,
body.single-product .ff-sidebar-related-product__price .woocommerce-Price-currencySymbol,
body.single-product .ff-sidebar-related-product__price bdi {
  color: var(--ffehbo-navy, #050b3f);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.15;
}

body.single-product .ff-sidebar-related-product__price del {
  margin-right: 8px !important;
  font-size: 11px !important;
  font-weight: 500 !important;
}

body.single-product .ff-sidebar-related-product__price ins {
  font-size: 13px !important;
  font-weight: 900 !important;
}

body.single-product .ff-sidebar-related-product__price span.woocommerce-price-from,
body.single-product .ff-sidebar-related-product__price .from {
    font-weight: 400;
    font-size: 11px;
    margin-right: 0.4em;
    color: var(--ffehbo-navy, #050b3f) !important;
    line-height: inherit !important;
}

  body.single-product .ff-sidebar-related-product__action {
  display: inline-flex;
  width: 36px;
  min-width: 36px;
  height: 36px;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(218, 217, 217, 0.9);
  border-radius: 8px;
  background: #fff;
  color: var(--e-global-color-secondary, #190d39);
  font-size: 0;
  text-decoration: none;
}

body.single-product .ff-sidebar-related-product__action::after {
  content: "+";
  display: inline;
  font-size: 18px;
  font-weight: 800;
}

body.single-product .ff-sidebar-related-products__all {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  border: 1px solid rgba(218, 217, 217, 0.9);
  border-radius: 7px;
  color: var(--e-global-color-secondary, #190d39);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

body.single-product .ff-sidebar-related-products__all:hover {
    background: var(--e-global-color-primary, #fcda98)!important;
}

body.single-product .ff-product-sidebar-card--benefits { display: none; }

@media (max-width: 1180px) {
  body.single-product .ff-single-product-layout { grid-template-columns: 1fr; }
  body.single-product .ff-product-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  body.single-product .ff-product-hero-grid { grid-template-columns: 1fr; }
  body.single-product .ff-product-sidebar { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  body.single-product .ff-single-product__container {
    width: min(100% - 32px, 1138px);
    padding: 24px 0 46px;
  }
  body.single-product .ff-product-hero-card,
  body.single-product .ff-product-details-card,
  body.single-product .ff-product-sidebar-card {
    border-radius: 16px;
  }
  body.single-product .ff-product-hero-card,
  body.single-product .ff-product-details-card {
    padding: 18px;
  }
  body.single-product .ff-product-gallery .woocommerce-product-gallery__image > a {
    min-height: 260px;
  }
  body.single-product .ff-product-gallery .woocommerce-product-gallery__image img {
    max-width: 88%;
    max-height: 230px;
  }
  body.single-product .ff-stock-price-row {
    align-items: flex-start;
  }
  body.single-product .ff-variation-wrapper,
  body.single-product .ff-variation-wrapper form.cart,
  body.single-product .ff-variation-wrapper .woocommerce-variation-add-to-cart {
    flex-direction: column;
  }
  body.single-product .ff-variation-wrapper .quantity,
  body.single-product .ff-variation-wrapper .single_add_to_cart_button,
  body.single-product .ff-wpclever-wishlist .woosw-btn,
  body.single-product .ff-product-summary .woosw-btn {
    width: 100%;
  }
  body.single-product .ff-product-benefits--trustbar { grid-template-columns: 1fr; }
  body.single-product .ff-product-benefits--trustbar .ff-product-benefit { padding: 8px 14px; }
  body.single-product .ff-product-benefits--trustbar .ff-product-benefit + .ff-product-benefit {
    border-top: 1px solid rgba(218, 217, 217, 0.9);
    border-left: 0;
  }
  body.single-product .ff-specifications-list__row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  body.single-product .ff-specifications-list dd { text-align: left; }
  body.single-product .ff-sidebar-related-product { grid-template-columns: 54px minmax(0, 1fr) 36px; }
}

/* Override legacy single-product rules that previously hid these existing components. */
body.single-product .ff-product-hero-card .ff-product-benefits--trustbar {
  display: grid !important;
}

body.single-product .ff-sidebar-related-product__action::after,
body.single-product .ff-sidebar-related-product__action:after {
  content: "+" !important;
  display: inline !important;
}

/* Corrective pass after visual comparison at 1509×1042. */
body.single-product .ff-single-product__container {
  width: min(100% - 40px, 1138px);
  padding-top: 58px;
}

body.single-product .ff-single-product-main {
  display: grid;
  gap: 16px;
  min-width: 0;
}

body.single-product .ff-single-product-layout {
  grid-template-columns: minmax(0, 758px) minmax(340px, 360px);
  gap: 20px;
}

body.single-product .ff-product-hero-card {
  gap: 16px;
  padding: 22px 24px 24px;
  margin: 0;
  align-content: start;
}

body.single-product .ff-product-hero-grid {
  grid-template-columns: minmax(300px, 44%) minmax(0, 1fr);
  column-gap: 34px;
  row-gap: 0;
  align-items: start;
}

body.single-product .ff-product-details-card {
  margin: 0;
  padding: 22px 24px 24px;
}

body.single-product .ff-product-gallery .woocommerce-product-gallery__image > a {
  min-height: 304px;
  padding: 12px;
  border: none !important;
  border-radius: 12px;
}

body.single-product .ff-product-gallery .woocommerce-product-gallery__image img {
  max-width: 82%;
  max-height: 260px;
}

body.single-product .ff-product-gallery .woocommerce-product-gallery__trigger {
  inset: auto 16px 16px auto;
  width: 40px;
  height: 40px;
}

body.single-product .ff-product-gallery .flex-control-nav {
  max-width: 190px;
  max-height: 58px;
  overflow: hidden;
}

body.single-product .ff-product-gallery .flex-control-nav li:nth-child(n+4) {
  display: none;
}

body.single-product .ff-product-summary .product_title {
  margin-bottom: 8px;
  font-size: clamp(31px, 2.2vw, 34px);
}

body.single-product .ff-product-short-description,
body.single-product .ff-product-short-description p {
  font-size: 13px;
  line-height: 1.55;
}

body.single-product .ff-product-attribute-summary {
  width: fit-content;
  max-width: 100%;
  margin-top: 8px;
  padding: 7px 10px;
  border: 1px solid rgba(218, 217, 217, 0.92);
  border-radius: 7px;
  background: rgba(246, 247, 250, 0.86);
  color: var(--e-global-color-secondary, #190d39);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

body.single-product .ff-product-attribute-summary span {
  color: var(--e-global-color-text, #67656e);
  font-weight: 500;
}

body.single-product .ff-summary-divider {
  margin: 18px 0 16px;
}

body.single-product .ff-stock-price-row {
  margin-bottom: 14px;
}

body.single-product .ff-product-price .price {
  font-size: 22px;
}

body.single-product .ff-variation-wrapper {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) 54px;
  gap: 10px;
  align-items: stretch;
}

body.single-product .ff-variation-wrapper:not(:has(.ff-wpclever-wishlist)) {
  grid-template-columns: 112px minmax(0, 1fr);
}

body.single-product .ff-variation-wrapper form.cart,
body.single-product .ff-variation-wrapper .woocommerce-variation-add-to-cart {
  display: contents;
}

body.single-product .ff-variation-wrapper table.variations,
body.single-product .ff-variation-wrapper .single_variation,
body.single-product .ff-variation-wrapper .woocommerce-variation-description,
body.single-product .ff-variation-wrapper .woocommerce-variation-price,
body.single-product .ff-variation-wrapper .woocommerce-variation-availability,
body.single-product .ff-variation-wrapper .reset_variations,
body.single-product .ff-variation-wrapper .wpcpq-wrap,
body.single-product .ff-variation-wrapper .wpcpq-table,
body.single-product .ff-variation-wrapper .wpcpq-list,
body.single-product .ff-variation-wrapper .wpcpq-container,
body.single-product .ff-variation-wrapper .ff-wpcpq-localised {
  grid-column: 1 / -1;
}

body.single-product .ff-variation-wrapper .single_variation_wrap {
  display: contents;
}

body.single-product .ff-variation-wrapper .quantity.ff-quantity-control,
body.single-product .ff-variation-wrapper .quantity {
  grid-column: 1;
  width: 112px;
  min-height: 48px;
  grid-template-columns: 34px minmax(34px, 1fr) 34px;
  border-radius: 6px;
}

body.single-product .ff-variation-wrapper .quantity input.qty {
  height: 48px;
  min-height: 48px;
  font-size: 15px;
}

body.single-product .ff-quantity-control__button {
  min-width: 34px;
  min-height: 48px;
  border-right: 1px solid rgba(218, 217, 217, 0.9);
  font-size: 14px;
}

body.single-product .ff-quantity-control__button--plus {
  border-right: 0;
  border-left: 1px solid rgba(218, 217, 217, 0.9);
}

body.single-product .ff-variation-wrapper .single_add_to_cart_button {
  grid-column: 2;
  min-height: 48px;
  width: 100%;
  border-radius: 7px;
  background: #f8cd7c;
  font-size: 13px;
  font-weight: 750;
}

body.single-product .ff-wpclever-wishlist,
body.single-product .ff-product-summary .ff-wpclever-wishlist {
  grid-column: 3;
  margin: 0;
  justify-self: end;
}

body.single-product .ff-wpclever-wishlist .woosw-btn,
body.single-product .ff-product-summary .woosw-btn {
  width: 54px;
  min-width: 54px;
  height: 48px;
  min-height: 48px;
  margin: 0;
  padding: 0;
  border-radius: 7px;
  font-size: 0;
}

body.single-product .ff-wpclever-wishlist .woosw-btn::before,
body.single-product .ff-wpclever-wishlist .woosw-btn:before,
body.single-product .ff-wpclever-wishlist .woosw-btn::after,
body.single-product .ff-wpclever-wishlist .woosw-btn:after {
  content: none;
  display: none;
}

body.single-product .ff-wpclever-wishlist .woosw-btn .woosw-btn-icon,
body.single-product .ff-wpclever-wishlist .woosw-btn .woosw-icon {
  margin: 0;
  font-size: 22px;
}

body.single-product .ff-wpcpq-localised,
body.single-product .ff-product-summary .ff-wpcpq-localised,
body.single-product .ff-variation-wrapper .ff-wpcpq-localised {
  min-height: 38px;
  margin-top: 12px;
  padding: 8px 9px 8px 12px;
  border-radius: 7px;
}

body.single-product [data-ff-wpcpq-quantity] {
  min-height: 26px;
  padding: 3px 9px;
  border-radius: 4px;
  background: #fff;
  font-size: 11px;
  text-decoration: none;
}

body.single-product .ff-product-benefits--trustbar {
  margin-top: 0;
  min-height: 52px;
  padding: 10px 0;
}

body.single-product .ff-product-benefits--trustbar .ff-product-benefit {
  padding: 0 16px;
}

body.single-product .ff-product-tabs .woocommerce-tabs > h2,
body.single-product .ff-product-tabs .woocommerce-Tabs-panel > h2:first-child {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

body.single-product .ff-product-tabs ul.tabs {
  min-height: 48px;
  margin-bottom: 18px;
  gap: 32px;
}

body.single-product .ff-product-tabs ul.tabs li a {
  padding-bottom: 13px;
  font-size: 14px;
  line-height: 1.3;
}

body.single-product .ff-product-tabs .woocommerce-Tabs-panel p,
body.single-product .ff-product-tabs .woocommerce-Tabs-panel p:has(strong:first-child) {
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

body.single-product .ff-product-tabs .woocommerce-Tabs-panel p:has(strong:first-child)::before {
  content: none;
  display: none;
}

body.single-product .ff-product-tabs .woocommerce-Tabs-panel p:has(strong:first-child):has(strong:first-child)::before {
  content: none;
}

body.single-product .ff-product-tabs .woocommerce-Tabs-panel p:has(strong:first-child) strong:first-child {
  font-weight: 700;
}

body.single-product .ff-product-tabs .woocommerce-Tabs-panel p:has(strong:first-child) {
  display: block;
}

body.single-product .ff-product-tabs .woocommerce-Tabs-panel p:has(strong:first-child):not(:first-child) {
  padding: 13px 14px 13px 42px;
  border: 1px solid rgba(218, 217, 217, 0.9);
  border-radius: 8px;
  background: rgba(246, 247, 250, 0.78);
}

body.single-product .ff-product-tabs .woocommerce-Tabs-panel p:has(strong:first-child):not(:first-child)::before {
  content: "ⓘ";
  float: left;
  margin-left: -27px;
  color: var(--e-global-color-secondary, #190d39);
}

body.single-product .ff-product-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

body.single-product .ff-product-highlight {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

body.single-product .ff-product-highlight__icon {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(218, 217, 217, 0.9);
  border-radius: 8px;
  background: rgba(246, 247, 250, 0.86);
}

body.single-product .ff-product-highlight__body {
  display: grid;
  gap: 4px;
  color: var(--e-global-color-text, #67656e);
  font-size: 13px;
  line-height: 1.45;
}

body.single-product .ff-product-highlight__body strong {
  color: var(--e-global-color-secondary, #190d39);
  font-size: 14px;
}

body.single-product .ff-product-sidebar {
  gap: 16px;
}

body.single-product .ff-product-sidebar-card {
  padding: 21px 22px;
  border-radius: 17px;
}

body.single-product .ff-sidebar-category-link {
  min-height: 41px;
  padding: 10px 10px;
}

body.single-product .ff-specifications-list__row {
  min-height: 34px;
  padding: 8px 0;
}

body.single-product .ff-sidebar-related-product {
  grid-template-columns: 62px minmax(0, 1fr) 38px;
  min-height: 72px;
  padding: 8px;
  border-radius: 9px;
}

body.single-product .ff-sidebar-related-product__image img {
  width: 62px;
  height: 62px;
}

body.single-product .ff-sidebar-related-product__body a {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

@media (max-width: 1180px) {
  body.single-product .ff-single-product-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  body.single-product .ff-product-hero-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  body.single-product .ff-single-product__container {
    width: min(100% - 32px, 1138px);
    padding-top: 24px;
  }
  body.single-product .ff-product-hero-card {
    padding: 18px;
  }
  body.single-product .ff-variation-wrapper,
  body.single-product .ff-variation-wrapper:not(:has(.ff-wpclever-wishlist)) {
    grid-template-columns: 1fr;
  }
  body.single-product .ff-variation-wrapper .quantity.ff-quantity-control,
  body.single-product .ff-variation-wrapper .quantity,
  body.single-product .ff-variation-wrapper .single_add_to_cart_button,
  body.single-product .ff-wpclever-wishlist,
  body.single-product .ff-wpclever-wishlist .woosw-btn,
  body.single-product .ff-product-summary .woosw-btn {
    grid-column: 1;
    width: 100%;
  }
  body.single-product .ff-product-highlights {
    grid-template-columns: 1fr;
  }
}

body.single-product .ff-sidebar-related-product__action::after,
body.single-product .ff-sidebar-related-product__action:after {
  content: "🛒" !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
}

/* Follow-up corrections for points 2, 3, 5, 6 and 7 after staging review. */
body.single-product .ff-product-gallery .woocommerce-product-gallery,
body.single-product .ff-product-gallery .flex-viewport,
body.single-product .ff-product-gallery .woocommerce-product-gallery__wrapper,
body.single-product .ff-product-gallery .woocommerce-product-gallery__image {
  position: relative;
}

/* 2. Keep the native WooCommerce zoom trigger inside the image, bottom-right. */
body.single-product .ff-product-gallery .woocommerce-product-gallery__trigger {
  position: absolute;
  top: auto !important;
  right: 16px !important;
  bottom: 16px !important;
  left: auto !important;
  z-index: 6;
  width: 40px !important;
  height: 40px !important;
  border: 1px solid rgba(218, 217, 217, 0.92);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(25, 13, 57, 0.12);
}

/* 3 and 5. Increase product image presence while removing reserved empty gallery space. */
body.single-product .ff-product-gallery .woocommerce-product-gallery__image > a {
  min-height: 304px;
  padding: 10px;
}

body.single-product .ff-product-gallery .woocommerce-product-gallery__image img {
  width: auto !important;
  height: auto !important;
  max-width: 94% !important;
  max-height: 276px !important;
  object-fit: contain;
}

body.single-product .ff-product-gallery .flex-control-nav:empty,
body.single-product .ff-product-gallery--single .flex-control-nav {
  display: none !important;
  height: 0;
  margin: 0 !important;
  padding: 0 !important;
}

body.single-product .ff-product-hero-card {
  row-gap: 14px;
  align-items: start;
}

body.single-product .ff-product-hero-grid {
  align-items: start;
}

body.single-product .ff-product-benefits--trustbar:empty {
  display: none !important;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

/* 6. Flatten WooCommerce tabs: no boxed tab buttons, only active underline. */
body.single-product .ff-product-tabs ul.tabs,
body.single-product .ff-product-tabs ul.tabs li,
body.single-product .ff-product-tabs ul.tabs li a {
  box-shadow: none !important;
}

body.single-product .ff-product-tabs ul.tabs li {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

body.single-product .ff-product-tabs ul.tabs li a {
  min-height: 44px;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

body.single-product .ff-product-tabs ul.tabs li.active a {
  border: 0 !important;
  background: transparent !important;
}

/* 7. Keep normal description text plain and only style actual non-leading tip-like paragraphs compactly. */
body.single-product .ff-product-tabs .woocommerce-Tabs-panel > p:first-of-type,
body.single-product .ff-product-tabs .woocommerce-Tabs-panel > p:first-of-type:has(strong:first-child) {
  display: block;
  margin: 0 0 18px;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

body.single-product .ff-product-tabs .woocommerce-Tabs-panel > p:first-of-type::before,
body.single-product .ff-product-tabs .woocommerce-Tabs-panel > p:first-of-type:has(strong:first-child)::before {
  content: none !important;
  display: none !important;
}

body.single-product .ff-product-tabs .woocommerce-Tabs-panel > p:not(:first-of-type):has(strong:first-child) {
  margin: 18px 0;
  padding: 12px 14px 12px 40px !important;
  border: 1px solid rgba(218, 217, 217, 0.92) !important;
  border-radius: 8px !important;
  background: rgba(248, 249, 251, 0.92) !important;
  color: var(--e-global-color-text, #67656e);
}

body.single-product .ff-product-tabs .woocommerce-Tabs-panel > p:not(:first-of-type):has(strong:first-child)::before {
  content: "ⓘ" !important;
  display: inline-block !important;
  float: left;
  margin-left: -26px;
  color: var(--e-global-color-secondary, #190d39);
}

@media (max-width: 720px) {
  body.single-product .ff-product-gallery .woocommerce-product-gallery__image > a {
    min-height: 250px;
  }

  body.single-product .ff-product-gallery .woocommerce-product-gallery__image img {
    max-height: 232px !important;
  }

  body.single-product .ff-product-gallery .woocommerce-product-gallery__trigger {
    right: 12px !important;
    bottom: 12px !important;
  }
}

body.single-product .ff-product-gallery .woocommerce-product-gallery {
  padding: 14px !important;
}

body.single-product .ff-product-gallery .flex-viewport,
body.single-product .ff-product-gallery .woocommerce-product-gallery__image,
body.single-product .ff-product-gallery .woocommerce-product-gallery__image > a {
  min-height: 304px;
}

body.single-product .ff-product-gallery .woocommerce-product-gallery__image > a {
  padding: 8px;
}

body.single-product .ff-product-gallery .woocommerce-product-gallery__image img {
  max-width: 96% !important;
  max-height: 292px !important;
}

body.single-product .ff-product-gallery .woocommerce-product-gallery__image img {
  width: 100% !important;
  height: 100% !important;
}

/* Requested page width adjustment: keep single-product content capped at 1280px. */
body.single-product .ff-single-product__container {
  width: min(100% - 40px, 1280px);
}

@media (max-width: 720px) {
  body.single-product .ff-single-product__container {
    width: min(100% - 32px, 1280px);
  }
}

/* Keep injected quantity stepper buttons free from theme button pseudo-elements. */
body.single-product .ff-variation-wrapper .quantity.ff-quantity-control {
  display: inline-grid !important;
  grid-template-columns: 44px minmax(38px, 1fr) 44px;
  align-items: stretch;
}

body.single-product .ff-variation-wrapper .quantity .ff-quantity-control__button {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 44px !important;
  min-width: 44px;
  height: 100% !important;
  min-height: 44px;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--e-global-color-secondary, #190d39) !important;
  font: inherit;
  font-size: 18px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  text-indent: 0 !important;
  transform: none !important;
}

body.single-product .ff-variation-wrapper .quantity .ff-quantity-control__button--minus {
  border-right: 1px solid rgba(218, 217, 217, 0.95) !important;
}

body.single-product .ff-variation-wrapper .quantity .ff-quantity-control__button--plus {
  border-left: 1px solid rgba(218, 217, 217, 0.95) !important;
}

body.single-product .ff-variation-wrapper .quantity .ff-quantity-control__button::before,
body.single-product .ff-variation-wrapper .quantity .ff-quantity-control__button:before,
body.single-product .ff-variation-wrapper .quantity .ff-quantity-control__button::after,
body.single-product .ff-variation-wrapper .quantity .ff-quantity-control__button:after {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
  transform: none !important;
}

body.single-product .ff-variation-wrapper .quantity .ff-quantity-control__button:hover,
body.single-product .ff-variation-wrapper .quantity .ff-quantity-control__button:focus-visible {
  background: rgba(252, 218, 152, 0.28) !important;
  color: var(--e-global-color-secondary, #190d39) !important;
}

body.single-product .ff-variation-wrapper .quantity .ff-quantity-control__button:focus-visible {
  outline: 2px solid rgba(25, 13, 57, 0.34);
  outline-offset: -2px;
}

body.single-product .ff-variation-wrapper .quantity.ff-quantity-control {
  grid-template-columns: 36px minmax(38px, 1fr) 36px;
}

body.single-product .ff-variation-wrapper .quantity .ff-quantity-control__button {
  width: 36px !important;
  min-width: 36px;
}

/* Related-product view action: show a compact icon button at the right of each card. */
body.single-product .ff-sidebar-related-product__action {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 38px !important;
  min-width: 38px;
  height: 38px !important;
  min-height: 38px;
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid var(--e-global-color-border) !important;
  border-radius: 10px !important;
  color: var(--e-global-color-secondary, #190d39) !important;
  font-size: 0 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  text-indent: 0 !important;
}

body.single-product .ff-sidebar-related-product__action::before,
body.single-product .ff-sidebar-related-product__action:before {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
  transform: none !important;
}

body.single-product .ff-sidebar-related-product__action::after,
body.single-product .ff-sidebar-related-product__action:after {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
  transform: none !important;
}

body.single-product .ff-sidebar-related-product__action:hover,
body.single-product .ff-sidebar-related-product__action:focus-visible {
  border-color: rgba(25, 13, 57, 0.28) !important;
  background: linear-gradient(180deg, #ffedc8 0%, #f7cc7b 100%) !important;
  color: var(--e-global-color-secondary, #190d39) !important;
}

body.single-product .ff-sidebar-related-product__action-icon {
  display: block;
  width: 17px;
  height: 17px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 5c5.25 0 9 4.7 10 7-1 2.3-4.75 7-10 7S3 14.3 2 12c1-2.3 4.75-7 10-7Zm0 2.25c-3.45 0-6.2 2.75-7.45 4.75 1.25 2 4 4.75 7.45 4.75S18.2 14 19.45 12C18.2 10 15.45 7.25 12 7.25Zm0 1.75a3 3 0 1 1 0 6 3 3 0 0 1 0-6Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 5c5.25 0 9 4.7 10 7-1 2.3-4.75 7-10 7S3 14.3 2 12c1-2.3 4.75-7 10-7Zm0 2.25c-3.45 0-6.2 2.75-7.45 4.75 1.25 2 4 4.75 7.45 4.75S18.2 14 19.45 12C18.2 10 15.45 7.25 12 7.25Zm0 1.75a3 3 0 1 1 0 6 3 3 0 0 1 0-6Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Staging product-page alignment fixes: gallery thumbnails, purchase row, sidebar width and compact promo button. */
body.single-product .ff-single-product__container {
  padding-top: 0;
}

@media (min-width: 1181px) {
  body.single-product .ff-single-product-layout {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 330px);
    gap: 20px;
  }
}

body.single-product .ff-product-gallery .flex-control-nav,
body.single-product .ff-product-gallery-card .flex-control-nav {
  width: 100% !important;
  max-width: none !important;
  max-height: none !important;
  height: auto !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  margin-top: 16px !important;
  padding: 0 0 4px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  border: 0 !important;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

body.single-product .ff-product-gallery .flex-control-nav li,
body.single-product .ff-product-gallery-card .flex-control-nav li {
  display: block !important;
  width: 60px !important;
  flex: 0 0 60px !important;
  scroll-snap-align: start;
}

body.single-product .ff-product-gallery .flex-control-nav li:nth-child(n+4),
body.single-product .ff-product-gallery-card .flex-control-nav li:nth-child(n+4) {
  display: block !important;
}

body.single-product .ff-product-gallery .flex-control-nav img,
body.single-product .ff-product-gallery-card .flex-control-nav img {
  width: 60px !important;
  height: 60px !important;
  padding: 7px !important;
  object-fit: contain;
  border-radius: 7px !important;
}

body.single-product .ff-variation-wrapper {
  grid-template-columns: 112px minmax(150px, 1fr) 54px;
  gap: 0 20px;
}

body.single-product .ff-variation-wrapper .quantity.ff-quantity-control,
body.single-product .ff-variation-wrapper .quantity {
  display: inline-grid !important;
  grid-template-columns: 34px minmax(34px, 1fr) 34px;
  align-items: stretch;
  width: 112px;
  min-width: 112px;
  height: 48px;
  min-height: 48px;
  overflow: hidden;
}

body.single-product .ff-variation-wrapper .quantity input.qty {
  width: 44px !important;
  height: 48px !important;
  min-height: 48px;
  padding: 0 !important;
}

body.single-product .ff-variation-wrapper .quantity .ff-quantity-control__button {
  width: 34px !important;
  min-width: 34px;
  height: 48px !important;
  min-height: 48px;
}

body.single-product .ff-wpclever-wishlist .woosw-btn,
body.single-product .ff-wpclever-wishlist a.woosw-btn,
body.single-product .ff-product-summary .woosw-btn,
body.single-product .ff-product-summary-card .woosw-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 54px !important;
  min-width: 54px !important;
  height: 48px !important;
  min-height: 48px !important;
  padding: 0 !important;
  border: 1px solid #d7d7d7 !important;
  border-radius: 7px !important;
  background: #fff !important;
  color: var(--e-global-color-secondary, #190d39) !important;
  font-size: 0 !important;
  line-height: 1 !important;
  box-shadow: none !important;
}

body.single-product .ff-wpclever-wishlist .woosw-btn::before,
body.single-product .ff-wpclever-wishlist .woosw-btn:before,
body.single-product .ff-product-summary .woosw-btn::before,
body.single-product .ff-product-summary .woosw-btn:before,
body.single-product .ff-product-summary-card .woosw-btn::before,
body.single-product .ff-product-summary-card .woosw-btn:before {
  content: "♡" !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--e-global-color-secondary, #190d39) !important;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 31px !important;
  font-weight: 400;
  line-height: 1;
  transform: none !important;
}

body.single-product .ff-wpclever-wishlist .woosw-btn::after,
body.single-product .ff-wpclever-wishlist .woosw-btn:after,
body.single-product .ff-product-summary .woosw-btn::after,
body.single-product .ff-product-summary .woosw-btn:after,
body.single-product .ff-product-summary-card .woosw-btn::after,
body.single-product .ff-product-summary-card .woosw-btn:after {
  content: none !important;
  display: none !important;
}

body.single-product .ff-wpcpq-localised > a.button,
body.single-product .ff-wpcpq-localised > button,
body.single-product .ff-wpcpq-localised > .button,
body.single-product [data-ff-wpcpq-quantity] {
  min-height: 26px !important;
  padding: 3px 9px !important;
  border: 1px solid #9f9f9f !important;
  border-radius: 4px !important;
  background: #fff !important;
  color: var(--e-global-color-secondary, #190d39) !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  line-height: 1.1 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

body.single-product .ff-wpcpq-localised > a.button::before,
body.single-product .ff-wpcpq-localised > a.button:before,
body.single-product .ff-wpcpq-localised > button::before,
body.single-product .ff-wpcpq-localised > button:before,
body.single-product .ff-wpcpq-localised > .button::before,
body.single-product .ff-wpcpq-localised > .button:before,
body.single-product [data-ff-wpcpq-quantity]::before,
body.single-product [data-ff-wpcpq-quantity]:before,
body.single-product .ff-wpcpq-localised > a.button::after,
body.single-product .ff-wpcpq-localised > a.button:after,
body.single-product .ff-wpcpq-localised > button::after,
body.single-product .ff-wpcpq-localised > button:after,
body.single-product .ff-wpcpq-localised > .button::after,
body.single-product .ff-wpcpq-localised > .button:after,
body.single-product [data-ff-wpcpq-quantity]::after,
body.single-product [data-ff-wpcpq-quantity]:after {
  content: none !important;
  display: none !important;
}

/* Product page polish: match quantity, wishlist, thumbnails and WPC quantity CTA to target. */
body.single-product .ff-product-attribute-summary {
  display: none !important;
}

body.single-product .ff-product-gallery .flex-control-nav,
body.single-product .ff-product-gallery-card .flex-control-nav,
body.single-product .ff-product-gallery .flex-control-nav li,
body.single-product .ff-product-gallery-card .flex-control-nav li,
body.single-product .ff-product-gallery .flex-control-nav a,
body.single-product .ff-product-gallery-card .flex-control-nav a,
body.single-product .ff-product-gallery .flex-control-nav img,
body.single-product .ff-product-gallery-card .flex-control-nav img {
  box-shadow: none !important;
  filter: none !important;
}

body.single-product .ff-variation-wrapper .quantity.ff-quantity-control,
body.single-product .ff-variation-wrapper .quantity {
  display: grid !important;
  grid-template-columns: 36px 44px 36px !important;
  width: 116px !important;
  min-width: 116px !important;
}

body.single-product .ff-variation-wrapper .quantity input.qty {
  grid-column: 2 !important;
  order: 2 !important;
  width: 44px !important;
}

body.single-product .ff-variation-wrapper .quantity .ff-quantity-control__button--minus,
body.single-product .ff-variation-wrapper .quantity .qty-btn:first-child {
  grid-column: 1 !important;
  order: 1 !important;
}

body.single-product .ff-variation-wrapper .quantity .ff-quantity-control__button--plus,
body.single-product .ff-variation-wrapper .quantity .qty-btn:last-child {
  grid-column: 3 !important;
  order: 3 !important;
}

body.single-product .ff-variation-wrapper .quantity .ff-quantity-control__button,
body.single-product .ff-variation-wrapper .quantity .qty-btn {
  width: 36px !important;
  min-width: 36px !important;
  padding: 0 !important;
}

body.single-product .ff-wpclever-wishlist .woosw-btn::before,
body.single-product .ff-wpclever-wishlist .woosw-btn:before,
body.single-product .ff-product-summary .woosw-btn::before,
body.single-product .ff-product-summary .woosw-btn:before,
body.single-product .ff-product-summary-card .woosw-btn::before,
body.single-product .ff-product-summary-card .woosw-btn:before {
  content: none !important;
  display: none !important;
}

body.single-product .ff-wpclever-wishlist .woosw-btn .woosw-btn-icon,
body.single-product .ff-wpclever-wishlist .woosw-btn .woosw-icon,
body.single-product .ff-product-summary .woosw-btn .woosw-btn-icon,
body.single-product .ff-product-summary .woosw-btn .woosw-icon,
body.single-product .ff-product-summary-card .woosw-btn .woosw-btn-icon,
body.single-product .ff-product-summary-card .woosw-btn .woosw-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  color: var(--e-global-color-secondary, #190d39) !important;
  font-size: 30px !important;
  line-height: 1 !important;
}

body.single-product .ff-wpcpq-localised > a.button,
body.single-product .ff-wpcpq-localised > button,
body.single-product .ff-wpcpq-localised > .button,
body.single-product .ff-wpcpq-localised .wpcpq-item-atc-btn,
body.single-product .ff-product-summary .wpcpq-wrap .wpcpq-item-atc-btn,
body.single-product .ff-variation-wrapper .wpcpq-wrap .wpcpq-item-atc-btn,
body.single-product .ff-product-summary table.wpcpq-table .wpcpq-item-atc-btn,
body.single-product .ff-variation-wrapper table.wpcpq-table .wpcpq-item-atc-btn,
body.single-product [data-ff-wpcpq-quantity] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 26px !important;
  padding: 4px 10px !important;
  border: 1px solid #d7d7d7 !important;
  border-radius: 5px !important;
  background: var(--e-global-color-accent)!important;
  color: var(--e-global-color-secondary, #190d39) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.1 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

body.single-product .ff-wpcpq-localised .wpcpq-item-atc-btn::before,
body.single-product .ff-wpcpq-localised .wpcpq-item-atc-btn:before,
body.single-product .ff-product-summary .wpcpq-wrap .wpcpq-item-atc-btn::before,
body.single-product .ff-product-summary .wpcpq-wrap .wpcpq-item-atc-btn:before,
body.single-product .ff-variation-wrapper .wpcpq-wrap .wpcpq-item-atc-btn::before,
body.single-product .ff-variation-wrapper .wpcpq-wrap .wpcpq-item-atc-btn:before,
body.single-product .ff-product-summary table.wpcpq-table .wpcpq-item-atc-btn::before,
body.single-product .ff-product-summary table.wpcpq-table .wpcpq-item-atc-btn:before,
body.single-product .ff-variation-wrapper table.wpcpq-table .wpcpq-item-atc-btn::before,
body.single-product .ff-variation-wrapper table.wpcpq-table .wpcpq-item-atc-btn:before,
body.single-product .ff-wpcpq-localised .wpcpq-item-atc-btn::after,
body.single-product .ff-wpcpq-localised .wpcpq-item-atc-btn:after,
body.single-product .ff-product-summary .wpcpq-wrap .wpcpq-item-atc-btn::after,
body.single-product .ff-product-summary .wpcpq-wrap .wpcpq-item-atc-btn:after,
body.single-product .ff-variation-wrapper .wpcpq-wrap .wpcpq-item-atc-btn::after,
body.single-product .ff-variation-wrapper .wpcpq-wrap .wpcpq-item-atc-btn:after,
body.single-product .ff-product-summary table.wpcpq-table .wpcpq-item-atc-btn::after,
body.single-product .ff-product-summary table.wpcpq-table .wpcpq-item-atc-btn:after,
body.single-product .ff-variation-wrapper table.wpcpq-table .wpcpq-item-atc-btn::after,
body.single-product .ff-variation-wrapper table.wpcpq-table .wpcpq-item-atc-btn:after {
  content: none !important;
  display: none !important;
}

/* Quantity control and gallery border cleanup. */
.single-product .ff-product-gallery-card .flex-viewport,
.single-product .ff-product-gallery-card .woocommerce-product-gallery__wrapper,
.single-product .ff-product-gallery-card .woocommerce-product-gallery__image,
.single-product .ff-product-gallery-card .woocommerce-product-gallery__image > a,
.single-product .ff-product-gallery-card .woocommerce-product-gallery__image img {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

.single-product .ff-variation-wrapper .quantity {
  display: grid !important;
  grid-template-columns: 48px minmax(44px, 1fr) 48px;
  align-items: stretch;
  justify-content: stretch;
  width: 100%;
  height: 50px !important;
  min-height: 50px !important;
  max-height: 50px !important;
  padding: 0 !important;
  border: 1px solid #dfdfdf !important;
  border-radius: 10px !important;
  background: #fff !important;
  box-shadow: none !important;
  overflow: hidden;
}

.single-product .ff-variation-wrapper .quantity input.qty {
  display: block !important;
  width: 100% !important;
  height: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: #100729 !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 48px !important;
  text-align: center !important;
  box-shadow: none !important;
  appearance: textfield;
  -moz-appearance: textfield;
}

.single-product .ff-variation-wrapper .quantity input.qty::-webkit-outer-spin-button,
.single-product .ff-variation-wrapper .quantity input.qty::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
}

.single-product .ff-variation-wrapper .quantity .qty-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 48px !important;
  height: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: #9a98a2 !important;
  font-size: 24px !important;
  font-weight: 300 !important;
  line-height: 1 !important;
  text-align: center;
  box-shadow: none !important;
}

.single-product .ff-variation-wrapper .quantity .qty-btn:hover,
.single-product .ff-variation-wrapper .quantity .qty-btn:focus-visible {
  background: #fafafa !important;
  color: #100729 !important;
  outline: none;
}

.single-product .ff-variation-wrapper .quantity .qty-btn:first-child,
.single-product .ff-variation-wrapper .quantity .qty-btn:last-child {
  border: 0 !important;
}

.single-product .ff-variation-wrapper .quantity .qty-btn::before,
.single-product .ff-variation-wrapper .quantity .qty-btn:before,
.single-product .ff-variation-wrapper .quantity .qty-btn::after,
.single-product .ff-variation-wrapper .quantity .qty-btn:after {
  content: none !important;
  display: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

@media (max-width: 640px) {
  .single-product .ff-variation-wrapper .quantity {
    grid-column: 1 / -1;
    grid-template-columns: 52px minmax(44px, 1fr) 52px;
    height: 58px !important;
    min-height: 58px !important;
    max-height: 58px !important;
  }

  .single-product .ff-variation-wrapper .quantity input.qty,
  .single-product .ff-variation-wrapper .quantity .qty-btn {
    width: 100% !important;
    height: 56px !important;
    min-height: 56px !important;
    max-height: 56px !important;
    line-height: 56px !important;
  }
}

/* Make sidebar related-product cards clickable with gallery-thumbnail style hover feedback. */
body.single-product .ff-sidebar-related-product {
  position: relative;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

body.single-product .ff-sidebar-related-product:hover,
body.single-product .ff-sidebar-related-product:focus-within {
  border-color: var(--e-global-color-secondary);
  transform: translateY(-1px);
}

body.single-product .ff-sidebar-related-product__link {
  display: grid;
  grid-column: 1 / span 2;
  grid-template-columns: subgrid;
  gap: inherit;
  align-items: center;
  min-width: 0;
  color: inherit;
  text-decoration: none !important;
}

body.single-product .ff-sidebar-related-product__link::before,
body.single-product .ff-sidebar-related-product__link:before,
body.single-product .ff-sidebar-related-product__link::after,
body.single-product .ff-sidebar-related-product__link:after {
  content: none !important;
  display: none !important;
}

body.single-product .ff-sidebar-related-product__link:focus-visible {
  outline: 2px solid rgba(25, 13, 57, 0.34);
  outline-offset: 3px;
  border-radius: 8px;
}

body.single-product .ff-sidebar-related-product__title {
  color: var(--e-global-color-secondary, #190d39);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
}

body.single-product .ff-sidebar-related-product__link:hover .ff-sidebar-related-product__title,
body.single-product .ff-sidebar-related-product__link:focus-visible .ff-sidebar-related-product__title {
  color: var(--e-global-color-secondary, #190d39);
  text-decoration: none;
}

body.single-product .ff-sidebar-related-product__click-area {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}

body.single-product .ff-sidebar-related-product__image,
body.single-product .ff-sidebar-related-product__body {
  position: relative;
  z-index: 2;
}

body.single-product .ff-sidebar-related-product__title {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body.single-product .ff-sidebar-related-product__action {
  position: relative;
  z-index: 3;
}

/* Align single-product price and add-to-cart CTA with product-category cards. */
body.single-product .ff-product-price {
  margin-left: 0;
  text-align: right;
}

body.single-product .ff-product-price .price {
  display: block;
  min-height: 0;
  margin: 0;
  padding: 0;
  color: var(--ffehbo-navy, #050b3f) !important;
  font-size: 20px !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
  text-align: right;
  transform: none !important;
}

body.single-product .ff-product-price .price > * {
  transform: none !important;
}

body.single-product .ff-product-price .price del {
  display: block;
  margin: 0 0 3px;
  color: #8a93aa !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  opacity: 1 !important;
}

body.single-product .ff-product-price .price ins {
  color: var(--ffehbo-navy, #050b3f) !important;
  font-size: inherit !important;
  text-decoration: none;
}

body.single-product .ff-product-price .price .amount,
body.single-product .ff-product-price .price .woocommerce-Price-amount,
body.single-product .ff-product-price .price .woocommerce-Price-currencySymbol,
body.single-product .ff-product-price .price bdi {
  color: var(--ffehbo-navy, #050b3f) !important;
}

body.single-product .ff-product-price .price del .amount,
body.single-product .ff-product-price .price del .woocommerce-Price-amount,
body.single-product .ff-product-price .price del .woocommerce-Price-currencySymbol,
body.single-product .ff-product-price .price del bdi {
  color: #8a93aa !important;
}

body.single-product .ff-variation-wrapper .single_add_to_cart_button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  justify-self: stretch;
  gap: 10px;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  min-height: 52px !important;
  height: 52px !important;
  max-height: none !important;
  padding: 0 34px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, var(--ffehbo-gold, #ffd06f) 0%, #ffc357 100%) !important;
  color: var(--ffehbo-navy, #050b3f) !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  text-align: center;
  box-shadow: 0 10px 22px rgba(244, 184, 63, 0.28) !important;
  transform: none !important;
}

body.single-product .ff-variation-wrapper .single_add_to_cart_button::before,
body.single-product .ff-variation-wrapper .single_add_to_cart_button:before {
  content: "" !important;
  display: inline-block !important;
  flex: 0 0 auto;
  background: transparent !important;
  background-image: none !important;
  color: currentColor !important;
  -webkit-mask: var(--ffehbo-cart-icon-svg) center / contain no-repeat;
  mask: var(--ffehbo-cart-icon-svg) center / contain no-repeat;
  font-size: 18px !important;
  font-style: normal !important;
  font-variant: normal !important;
  font-weight: normal !important;
  line-height: 1 !important;
  opacity: 1 !important;
  speak: none;
  text-transform: none !important;
}

body.single-product .ff-variation-wrapper .single_add_to_cart_button::after,
body.single-product .ff-variation-wrapper .single_add_to_cart_button:after {
  content: none !important;
  display: none !important;
  background: transparent !important;
  background-image: none !important;
  opacity: 0 !important;
}

body.single-product .ff-variation-wrapper .single_add_to_cart_button:hover,
body.single-product .ff-variation-wrapper .single_add_to_cart_button:focus-visible {
  background: var(--e-global-color-accent) !important;
  background-color: var(--e-global-color-accent) !important;
  color: var(--cmsmasters-colors-secondary, var(--ffehbo-navy, #050b3f)) !important;
  filter: none !important;
  outline: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}

body.single-product .ff-variation-wrapper .single_add_to_cart_button.disabled,
body.single-product .ff-variation-wrapper .single_add_to_cart_button:disabled,
body.single-product .ff-variation-wrapper .single_add_to_cart_button[disabled] {
  background: #e8eef6 !important;
  color: #667089 !important;
  box-shadow: none !important;
  cursor: not-allowed;
  opacity: 0.72;
}

/* Product gallery: remove inner spacing and pin the zoom control to the main image corner. */
body.single-product .ff-product-gallery .woocommerce-product-gallery {
  --ff-product-gallery-trigger-offset: 96px;
  padding: 0 !important;
}

body.single-product .ff-product-gallery--single .woocommerce-product-gallery,
body.single-product .ff-product-gallery .woocommerce-product-gallery:has(.flex-control-nav:empty) {
  --ff-product-gallery-trigger-offset: 0px;
}

body.single-product .ff-product-gallery .woocommerce-product-gallery__trigger {
  top: auto !important;
  right: 16px !important;
  bottom: calc(16px + var(--ff-product-gallery-trigger-offset)) !important;
  left: auto !important;
  inset: auto 16px calc(16px + var(--ff-product-gallery-trigger-offset)) auto !important;
}

@media (max-width: 720px) {
  body.single-product .ff-product-gallery .woocommerce-product-gallery__trigger {
    right: 12px !important;
    bottom: calc(12px + var(--ff-product-gallery-trigger-offset)) !important;
    inset: auto 12px calc(12px + var(--ff-product-gallery-trigger-offset)) auto !important;
  }
}

/* Mobile and tablet single-product purchase form alignment. */
@media (max-width: 1024px) {

  body.single-product .ff-stock-price-row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 0 14px !important;
    box-sizing: border-box !important;
  }

  body.single-product .ff-stock-price-row .ff-stock-status.ffehbo-stock-pill {
    display: inline-flex !important;
    flex: 1 1 auto !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 6px !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    grid-column: auto !important;
    grid-row: auto !important;
    box-sizing: border-box !important;
  }

  body.single-product .ff-stock-price-row .ff-product-price {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: max-content !important;
    max-width: none !important;
    margin: 0 0 0 auto !important;
    text-align: right !important;
    grid-column: auto !important;
    grid-row: auto !important;
    box-sizing: border-box !important;
  }

  body.single-product .ff-stock-price-row .ff-product-price .price {
    width: auto !important;
    min-width: max-content !important;
    max-width: none !important;
    margin: 0 !important;
    white-space: nowrap !important;
    text-align: right !important;
    box-sizing: border-box !important;
  }

  body.single-product .ff-variation-wrapper {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    grid-template-rows: auto !important;
    align-items: stretch !important;
    column-gap: 8px !important;
    row-gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  body.single-product .ff-variation-wrapper form.cart,
  body.single-product .ff-variation-wrapper form.cart:not(.variations_form),
  body.single-product .ff-variation-wrapper .woocommerce-variation-add-to-cart {
    display: contents !important;
  }

  body.single-product .ff-variation-wrapper form.cart > *:not(.quantity):not(.single_add_to_cart_button),
  body.single-product .ff-variation-wrapper .single_variation,
  body.single-product .ff-variation-wrapper .woocommerce-variation-description,
  body.single-product .ff-variation-wrapper .woocommerce-variation-price,
  body.single-product .ff-variation-wrapper .woocommerce-variation-availability,
  body.single-product .ff-variation-wrapper table.variations,
  body.single-product .ff-variation-wrapper .reset_variations,
  body.single-product .ff-variation-wrapper .wpcpq-wrap,
  body.single-product .ff-variation-wrapper .wpcpq-table,
  body.single-product .ff-variation-wrapper .wpcpq-list,
  body.single-product .ff-variation-wrapper .wpcpq-container,
  body.single-product .ff-variation-wrapper .ff-wpcpq-localised {
    grid-column: 1 / -1 !important;
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  body.single-product .ff-variation-wrapper form.cart > .wpcpq-wrap,
  body.single-product .ff-variation-wrapper .wpcpq-wrap,
  body.single-product .ff-variation-wrapper .wpcpq-container,
  body.single-product .ff-variation-wrapper .wpcpq-list {
    display: block !important;
    visibility: visible !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  body.single-product .ff-variation-wrapper .wpcpq-table,
  body.single-product .ff-variation-wrapper table.wpcpq-table {
    display: table !important;
    visibility: visible !important;
    height: auto !important;
    max-height: none !important;
  }

  body.single-product .ff-variation-wrapper .quantity.ff-quantity-control,
  body.single-product .ff-variation-wrapper .quantity {
    grid-column: 1 !important;
    grid-row: 1 !important;
    align-self: stretch !important;
    justify-self: start !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 52px !important;
    height: 52px !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    gap: 0 !important;
    float: none !important;
    box-sizing: border-box !important;
  }

  body.single-product .ff-variation-wrapper .quantity input.qty {
    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    height: 52px !important;
    min-height: 52px !important;
    padding-left: 3px !important;
    padding-right: 3px !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }

  body.single-product .ff-variation-wrapper .quantity .qty-btn,
  body.single-product .ff-variation-wrapper .quantity .ff-quantity-control__button {
    width: 34px !important;
    min-width: 34px !important;
    height: 52px !important;
    min-height: 52px !important;
    padding-left: 6px !important;
    padding-right: 6px !important;
    box-sizing: border-box !important;
  }

  body.single-product .ff-variation-wrapper .single_add_to_cart_button {
    grid-column: 2 !important;
    grid-row: 1 !important;
    align-self: stretch !important;
    justify-self: stretch !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 52px !important;
    height: 52px !important;
    margin: 0 !important;
        padding-right: 0px !important;
        padding-left: 30px !important;
    gap: 0 !important;
    column-gap: 0 !important;
    justify-content: center !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    float: none !important;
    box-sizing: border-box !important;
  }

  body.single-product .ff-variation-wrapper .single_add_to_cart_button::before,
  body.single-product .ff-variation-wrapper .single_add_to_cart_button:before {
    content: none !important;
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.single-product .ff-variation-wrapper .single_add_to_cart_button::after,
  body.single-product .ff-variation-wrapper .single_add_to_cart_button:after {
    content: none !important;
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.single-product .ff-wpclever-wishlist,
  body.single-product .ff-product-summary .ff-wpclever-wishlist {
    display: flex !important;
    grid-column: 3 !important;
    grid-row: 1 !important;
    align-items: stretch !important;
    align-self: stretch !important;
    justify-content: center !important;
    justify-self: end !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    float: none !important;
    box-sizing: border-box !important;
  }

  body.single-product .ff-wpclever-wishlist .woosw-btn,
  body.single-product .ff-wpclever-wishlist a.woosw-btn,
  body.single-product .ff-wpclever-wishlist button.woosw-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 46px !important;
    min-width: 46px !important;
    max-width: 46px !important;
    height: 100% !important;
    min-height: 52px !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 0 !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 360px) {
  body.single-product .ff-variation-wrapper {
    column-gap: 6px !important;
  }

  body.single-product .ff-variation-wrapper .single_add_to_cart_button {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  body.single-product .ff-variation-wrapper .quantity input.qty {
    width: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
  }

  body.single-product .ff-variation-wrapper .quantity .qty-btn,
  body.single-product .ff-variation-wrapper .quantity .ff-quantity-control__button {
    width: 32px !important;
    min-width: 32px !important;
  }

  body.single-product .ff-wpclever-wishlist .woosw-btn,
  body.single-product .ff-wpclever-wishlist a.woosw-btn,
  body.single-product .ff-wpclever-wishlist button.woosw-btn {
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
  }
}

/* Mobile product sidebar order: show specifications before category navigation. */
@media (max-width: 720px) {
  body.single-product .ff-product-sidebar .ff-specifications-card {
    order: 1;
  }

  body.single-product .ff-product-sidebar .ff-product-sidebar-card--categories {
    order: 2;
  }

  body.single-product .ff-product-sidebar .ff-product-sidebar-card--related {
    order: 3;
  }

  body.single-product .ff-product-sidebar .ff-product-sidebar-card--tip {
    order: 4;
  }
}

/* Single-product gallery: keep one visible frame around the main image only. */
body.single-product .ff-product-gallery .flex-viewport,
body.single-product .ff-product-gallery .woocommerce-product-gallery__wrapper,
body.single-product .ff-product-gallery .woocommerce-product-gallery__image {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

body.single-product .ff-product-gallery .woocommerce-product-gallery__image > a {
  border: 1px solid rgba(218, 217, 217, 0.82) !important;
  box-shadow: none !important;
  background: #fff !important;
}

/* Product gallery lightbox popup: soften the native PhotoSwipe zoom overlay for FF EHBO. */
body.single-product .pswp {
  --ff-pswp-navy: var(--ffehbo-navy, #190d39);
  --ff-pswp-gold: var(--ffehbo-gold, #f4b83f);
  --ff-pswp-panel: rgba(255, 255, 255, 0.94);
  z-index: 999999;
}

body.single-product .pswp__bg {
  background:
    radial-gradient(circle at 20% 18%, rgba(244, 184, 63, 0.18), transparent 32%),
    radial-gradient(circle at 82% 76%, rgba(231, 245, 247, 0.16), transparent 30%),
    rgba(25, 13, 57, 0.88) !important;
  backdrop-filter: blur(8px);
}

body.single-product .pswp__scroll-wrap {
  padding: clamp(18px, 4vw, 48px);
}

body.single-product .pswp__container {
  overflow: visible;
}

body.single-product .pswp__img {
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(244, 184, 63, 0.28);
}

body.single-product .pswp__top-bar {
  top: clamp(14px, 3vw, 28px);
  right: clamp(14px, 3vw, 28px);
  left: auto;
  width: auto;
  height: 54px;
  padding: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(244, 184, 63, 0.24);
  border-radius: 999px;
  background: var(--ff-pswp-panel) !important;
  box-shadow: 0 16px 40px rgba(25, 13, 57, 0.22);
}

body.single-product .pswp__counter {
  position: static;
  min-width: 54px;
  height: auto;
  padding: 0 10px;
  color: var(--ff-pswp-navy);
  font-size: 13px;
  font-weight: 800;
  line-height: 42px;
  opacity: 1;
}

body.single-product .pswp__button {
  width: 42px;
  height: 42px;
  border: 0 !important;
  border-radius: 999px;
  background-color: transparent !important;
  color: var(--ff-pswp-navy) !important;
  opacity: 0.82;
  box-shadow: none !important;
  transition: background-color 0.18s ease, color 0.18s ease, opacity 0.18s ease, transform 0.18s ease;
}

body.single-product .pswp__button::before,
body.single-product .pswp__button:before,
body.single-product .pswp__button::after,
body.single-product .pswp__button:after {
  content: none !important;
  display: none !important;
}

body.single-product .pswp__button:hover,
body.single-product .pswp__button:focus-visible {
  background-color: var(--ff-pswp-gold) !important;
  color: var(--ff-pswp-navy) !important;
  opacity: 1;
  outline: none;
  transform: translateY(-1px);
}

body.single-product .pswp__button:focus-visible {
  box-shadow: 0 0 0 3px rgba(244, 184, 63, 0.32) !important;
}

body.single-product .pswp__caption {
  bottom: clamp(14px, 3vw, 28px);
  min-height: 0;
  background: transparent !important;
}

body.single-product .pswp__caption__center {
  width: fit-content;
  max-width: min(760px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 12px 18px;
  border: 1px solid rgba(244, 184, 63, 0.22);
  border-radius: 999px;
  background: var(--ff-pswp-panel);
  color: var(--ff-pswp-navy);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
  box-shadow: 0 14px 34px rgba(25, 13, 57, 0.2);
}

@media (max-width: 720px) {
  body.single-product .pswp__scroll-wrap {
    padding: 12px;
  }

  body.single-product .pswp__img {
    border-radius: 18px;
  }

  body.single-product .pswp__top-bar {
    top: 10px;
    right: 10px;
    height: 48px;
  }

  body.single-product .pswp__button {
    width: 36px;
    height: 36px;
  }

  body.single-product .pswp__counter {
    min-width: 46px;
    padding: 0 8px;
    line-height: 36px;
  }
}

/* FF EHBO variable products: accessible visual choices backed by native WooCommerce selects. */
body.single-product .ff-single-product.product-type-variable .ff-variable-options {
  display: grid;
  gap: 18px;
  width: 100%;
  margin: 0 0 22px;
}

body.single-product .ff-single-product.product-type-variable .ff-variable-options__group {
  display: grid;
  gap: 12px;
  min-width: 0;
}

body.single-product .ff-single-product.product-type-variable .ff-variable-options__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

body.single-product .ff-single-product.product-type-variable .ff-variable-options__label {
  color: var(--ff-heading);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.2;
}

body.single-product .ff-single-product.product-type-variable .ff-variable-options__scroll-controls {
  display: inline-flex;
  gap: 6px;
  margin-left: auto;
}

body.single-product .ff-single-product.product-type-variable .ff-variable-options__scroll {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--ff-heading);
  border-radius: 8px;
  background: #fff;
  color: var(--ff-heading);
  font-size: 26px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, opacity 0.18s ease;
}

body.single-product .ff-single-product.product-type-variable .ff-variable-options__scroll:hover,
body.single-product .ff-single-product.product-type-variable .ff-variable-options__scroll:focus-visible {
  border-color: #b9b6c4;
  background: #f0f0f3;
  color: var(--ffehbo-navy);
  outline: 0;
  box-shadow: 0 6px 16px rgba(16, 7, 41, 0.12);
}

body.single-product .ff-single-product.product-type-variable .ff-variable-options__scroll:disabled {
  cursor: default;
  opacity: 0.35;
  background: #fff;
  color: var(--ff-heading);
  box-shadow: none;
}

body.single-product .ff-single-product.product-type-variable .ff-variable-options__scroll:disabled:hover,
body.single-product .ff-single-product.product-type-variable .ff-variable-options__scroll:disabled:focus-visible {
  border-color: var(--ff-heading);
  background: #fff;
  color: var(--ff-heading);
  box-shadow: none;
}

body.single-product .ff-single-product.product-type-variable .ff-variable-options__choices {
  display: flex;
  gap: 18px;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

body.single-product .ff-single-product.product-type-variable .ff-variable-options__choices::-webkit-scrollbar {
  display: none;
}

body.single-product .ff-single-product.product-type-variable .ff-variable-options__choice {
    flex: 0 0 clamp(220px, 31%, 250px);
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 65px;
    max-width: 100%;
    padding: 15px 10px !important;
    border: 1px solid var(--e-global-color-border);
    border-radius: 8px;
    background: #f4f4f6;
    color: var(--ff-heading);
    font: inherit;
    line-height: 1.25;
    text-align: left;
    white-space: normal;
    cursor: pointer;
    box-shadow: none;
    scroll-snap-align: start;
    transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

body.single-product .ff-single-product.product-type-variable .ff-variable-options__choice:hover,
body.single-product .ff-single-product.product-type-variable .ff-variable-options__choice:focus-visible {
    border-color: var(--cmsmasters-colors-secondary);
    background: #fff;
    outline: 0;
}

body.single-product .ff-single-product.product-type-variable .ff-variable-options__choice.is-selected {
  border-color: var(--cmsmasters-colors-secondary);
}

body.single-product .ff-single-product.product-type-variable .ff-variable-options__radio {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border: 1px solid #b8dce0;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 5px #fff;
}
body.single-product .ff-single-product.product-type-variable .ff-variable-options__content {
  display: grid;
  gap: 3px;
  min-width: 0;
}

body.single-product .ff-single-product.product-type-variable .ff-variable-options__name {
  color: var(--ff-heading);
  font-size: 16px;
  font-weight: 900;
}

body.single-product .ff-single-product.product-type-variable .ff-variable-options__price,
body.single-product .ff-single-product.product-type-variable .ff-variable-options__price .price,
body.single-product .ff-single-product.product-type-variable .ff-variable-options__price .amount,
body.single-product .ff-single-product.product-type-variable .ff-variable-options__price bdi {
  color: var(--ff-heading) !important;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.15;
}

body.single-product .ff-single-product.product-type-variable .ff-variable-options__price del {
  opacity: 0.62;
}

body.single-product .ff-single-product.product-type-variable .ff-variable-options__price ins {
  text-decoration: none;
}

body.single-product .ff-single-product.product-type-variable .ff-variable-options__choice.is-disabled,
body.single-product .ff-single-product.product-type-variable .ff-variable-options__choice:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  background: #f4f4f6;
  box-shadow: none;
}

body.single-product .ff-single-product.product-type-variable .ff-variation-wrapper table.variations {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

body.single-product .ff-single-product.product-type-variable .ff-variation-wrapper .woocommerce-variation-price {
  display: none !important;
}

@media (max-width: 640px) {
  body.single-product .ff-single-product.product-type-variable .ff-variable-options__header {
    align-items: flex-start;
  }

  body.single-product .ff-single-product.product-type-variable .ff-variable-options__scroll-controls {
    display: none;
  }

  body.single-product .ff-single-product.product-type-variable .ff-variable-options__choices {
    flex-direction: column;
    gap: 16px;
    overflow-x: visible;
    overflow-y: visible;
    scroll-behavior: auto;
    scroll-snap-type: none;
    -webkit-overflow-scrolling: auto;
  }

  body.single-product .ff-single-product.product-type-variable .ff-variable-options__choice {
    flex: 0 0 auto;
    width: 100%;
    min-height: 74px;
    padding: 16px 18px;
    scroll-snap-align: none;
  }
}

/* Keep variable product chooser buttons free from inherited theme pseudo-elements. */
body.single-product .ff-single-product.product-type-variable .ff-variable-options__choice::before,
body.single-product .ff-single-product.product-type-variable .ff-variable-options__choice:before,
body.single-product .ff-single-product.product-type-variable .ff-variable-options__choice::after,
body.single-product .ff-single-product.product-type-variable .ff-variable-options__choice:after,
body.single-product .ff-single-product.product-type-variable .ff-variable-options__scroll::before,
body.single-product .ff-single-product.product-type-variable .ff-variable-options__scroll:before,
body.single-product .ff-single-product.product-type-variable .ff-variable-options__scroll::after,
body.single-product .ff-single-product.product-type-variable .ff-variable-options__scroll:after {
  content: none !important;
  display: none !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.single-product .ff-single-product.product-type-variable .ff-variable-options__name {
  font-size: 13px;
  font-weight: 700;
}

body.single-product .ff-single-product.product-type-variable .ff-variable-options__price,
body.single-product .ff-single-product.product-type-variable .ff-variable-options__price .price,
body.single-product .ff-single-product.product-type-variable .ff-variable-options__price .amount,
body.single-product .ff-single-product.product-type-variable .ff-variable-options__price bdi {
  font-size: 13px;
  font-weight: 400;
}

/* Let variable-product add-to-cart controls participate in the same wrapper grid as simple products. */
body.single-product .ff-single-product.product-type-variable .ff-variation-wrapper .single_variation_wrap {
  display: contents !important;
}

/* Keep variable-product purchase controls aligned with the simple-product ff-variation-wrapper layout. */
body.single-product .ff-single-product.product-type-variable .ff-variation-wrapper form.cart.variations_form,
body.single-product .ff-single-product.product-type-variable .ff-variation-wrapper .single_variation_wrap,
body.single-product .ff-single-product.product-type-variable .ff-variation-wrapper .woocommerce-variation-add-to-cart {
  display: contents !important;
}

body.single-product .ff-single-product.product-type-variable .ff-variation-wrapper .single_variation,
body.single-product .ff-single-product.product-type-variable .ff-variation-wrapper .woocommerce-variation-description,
body.single-product .ff-single-product.product-type-variable .ff-variation-wrapper .woocommerce-variation-availability {
  grid-column: 1 / -1 !important;
  min-width: 0 !important;
  width: 100% !important;
}

@media (max-width: 640px) {
  body.single-product .ff-single-product.product-type-variable .ff-variation-wrapper .woocommerce-variation-availability {
    margin-bottom: 18px;
  }
}

/* Variable products show stock per variation choice instead of in the hero price row. */
body.single-product .ff-single-product.product-type-variable .ff-stock-price-row {
  display: none !important;
}

body.single-product .ff-single-product.product-type-variable .ff-variable-options__content {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  width: 100%;
}

body.single-product .ff-single-product.product-type-variable .ff-variable-options__meta {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
  margin-left: auto;
  text-align: right;
}

body.single-product .ff-single-product.product-type-variable .ff-variable-options__stock {
  display: inline-flex;
  justify-content: flex-end;
}

body.single-product .ff-single-product.product-type-variable .ff-variable-options__stock .ffehbo-stock-pill {
  white-space: nowrap;
}

@media (max-width: 480px) {
  body.single-product .ff-single-product.product-type-variable .ff-variable-options__content {
    grid-template-columns: 1fr;
  }

  body.single-product .ff-single-product.product-type-variable .ff-variable-options__meta {
    justify-content: flex-start;
    margin-left: 0;
    text-align: left;
  }
}

/* Refine variable option cards: one-line label with price and transparent stock pill below. */
body.single-product .ff-single-product.product-type-variable .ff-variable-options__choice {
  align-items: center;
}

body.single-product .ff-single-product.product-type-variable .ff-variable-options__choice.is-selected {
  border-color: var(--ffehbo-navy);
}

body.single-product .ff-single-product.product-type-variable .ff-variable-options__choice.is-selected .ff-variable-options__radio {
  position: relative;
  border-color: #1f8f5f;
  background: #1f8f5f;
  box-shadow: none;
}

body.single-product .ff-single-product.product-type-variable .ff-variable-options__choice.is-selected .ff-variable-options__radio::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 6px;
  height: 11px;
  margin: 0;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  border-radius: 0;
  background: transparent;
  transform: translate(-50%, -58%) rotate(45deg);
}

body.single-product .ff-single-product.product-type-variable .ff-variable-options__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  width: 100%;
  min-width: 0;
}

body.single-product .ff-single-product.product-type-variable .ff-variable-options__name {
  display: block;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.single-product .ff-single-product.product-type-variable .ff-variable-options__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  width: 100%;
  min-width: 0;
  margin-left: 0;
  text-align: left;
}

body.single-product .ff-single-product.product-type-variable .ff-variable-options__stock {
  margin-left: auto;
  text-align: right;
}

body.single-product .ff-single-product.product-type-variable .ff-variable-options__stock .ffehbo-stock-pill {
  padding-right: 0;
  padding-left: 0;
  background: transparent;
  white-space: nowrap;
}

/* Product specifications: keep multi-value attributes readable in the sidebar. */
body.single-product .ff-specifications-list__value {
  display: block;
}

body.single-product .ff-specifications-list__value + .ff-specifications-list__value {
  margin-top: 3px;
}

@media (max-width: 480px) {
  body.single-product .ff-specifications-list__row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  body.single-product .ff-specifications-list dd {
    text-align: left;
  }
}

/* Narrow mobile purchase row: prevent the textual add-to-cart CTA from being squeezed. */
@media (max-width: 340px) {
  body.single-product .ff-variation-wrapper {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 54px !important;
    gap: 10px !important;
    align-items: stretch;
  }

  body.single-product .ff-variation-wrapper form.cart,
  body.single-product .ff-variation-wrapper .woocommerce-variation-add-to-cart,
  body.single-product .ff-variation-wrapper .single_variation_wrap {
    display: contents !important;
  }

  body.single-product .ff-variation-wrapper .quantity,
  body.single-product .ff-variation-wrapper .quantity.ff-quantity-control {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  body.single-product .ff-variation-wrapper .single_add_to_cart_button {
    grid-column: 1 !important;
    grid-row: 2 !important;
    width: 100% !important;
    min-width: 0 !important;
    padding-inline: 14px !important;
    white-space: normal !important;
  }

  body.single-product .ff-wpclever-wishlist,
  body.single-product .ff-product-summary .ff-wpclever-wishlist {
    grid-column: 2 !important;
    grid-row: 2 !important;
    justify-self: stretch;
    width: 100% !important;
    min-width: 0 !important;
  }

  body.single-product .ff-wpclever-wishlist .woosw-btn,
  body.single-product .ff-wpclever-wishlist a.woosw-btn,
  body.single-product .ff-product-summary .woosw-btn,
  body.single-product .ff-product-summary-card .woosw-btn {
    width: 54px !important;
    min-width: 54px !important;
  }
}

/* Central stock status pill for single product pages. */
body.single-product .ff-stock-price-row {
  flex-wrap: wrap;
}

body.single-product .ff-stock-price-row .ff-variation-stock-pill {
  flex: 0 0 100%;
  margin-top: 0;
}

body.single-product .ff-variation-stock-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  box-sizing: border-box;
  margin-top: 12px;
  padding: 10px 14px;
  border: 1px solid #cfe0d5;
  border-radius: 12px;
  background: #f6fbf7;
  color: #17372a;
  font-weight: 500;
  font-size: 12px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

body.single-product .ff-variation-stock-pill[hidden] {
  display: none !important;
}

body.single-product .ff-variation-stock-pill__indicator {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #1f8f5f;
}

body.single-product .ff-variation-stock-pill__status,
body.single-product .ff-variation-stock-pill__detail {
  min-width: 0;
}

body.single-product .ff-variation-stock-pill__status {
  font-weight: 500;
}

body.single-product .ff-variation-stock-pill__separator {
  flex: 0 0 auto;
  width: 1px;
  align-self: stretch;
  min-height: 18px;
  background: #b8c9bf;
}

body.single-product .ff-variation-stock-pill__separator[hidden],
body.single-product .ff-variation-stock-pill__detail[hidden] {
  display: none !important;
}

body.single-product .ff-variation-stock-pill--low-stock,
body.single-product .ff-variation-stock-pill--backorder {
  border-color: #ead3a4;
  background: #fffaf0;
  color: #5b3b08;
}

body.single-product .ff-variation-stock-pill--low-stock .ff-variation-stock-pill__indicator,
body.single-product .ff-variation-stock-pill--backorder .ff-variation-stock-pill__indicator {
  background: #d97706;
}

body.single-product .ff-variation-stock-pill--out-of-stock {
  border-color: #efc3bd;
  background: #fff7f6;
  color: #7a1f16;
}

body.single-product .ff-variation-stock-pill--out-of-stock .ff-variation-stock-pill__indicator {
  background: #de3631;
}

body.single-product .ff-single-product.product-type-variable .ff-variable-options__stock {
  display: none !important;
}

@media (max-width: 430px) {
  body.single-product .ff-variation-stock-pill {
    align-items: flex-start;
    gap: 8px;
    padding: 10px 12px;
  }

  body.single-product .ff-variation-stock-pill__indicator {
    margin-top: 5px;
  }
}

/* FF EHBO stock/delivery pill with left info tooltip. */
body.single-product .ff-variation-stock-pill {
  position: relative;
  gap: 18px;
  min-height: 56px;
  padding: 12px 18px;
  border: 1px solid rgba(31, 143, 95, 0.7);
  border-radius: 12px;
  background: #fff;
  color: #6d7177;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
}

body.single-product .ff-variation-stock-pill__info {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  border: 1px solid rgba(31, 143, 95, 0.35);
  border-radius: 999px;
  background: #f3fbf7;
  color: #1f8f5f;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  cursor: help;
  outline: none;
}

body.single-product .ff-variation-stock-pill__info::before,
body.single-product .ff-variation-stock-pill__info::after {
  position: absolute;
  left: 50%;
  z-index: 5;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
}

body.single-product .ff-variation-stock-pill__info::before {
  content: attr(data-tooltip);
  top: calc(100% + 10px);
  width: max-content;
  max-width: min(240px, 70vw);
  padding: 8px 10px;
  border-radius: 8px;
  background: #112f24;
  box-shadow: 0 10px 25px rgba(17, 47, 36, 0.18);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
}

body.single-product .ff-variation-stock-pill__info::after {
  content: "";
  top: calc(100% + 4px);
  border-right: 6px solid transparent;
  border-bottom: 6px solid #112f24;
  border-left: 6px solid transparent;
}

body.single-product .ff-variation-stock-pill__info:hover::before,
body.single-product .ff-variation-stock-pill__info:hover::after,
body.single-product .ff-variation-stock-pill__info:focus-visible::before,
body.single-product .ff-variation-stock-pill__info:focus-visible::after {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

body.single-product .ff-variation-stock-pill__indicator {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 999px;
  background: #1f9e61;
}

body.single-product .ff-variation-stock-pill__indicator::before {
  content: "";
  width: 13px;
  height: 7px;
  border-bottom: 3px solid #fff;
  border-left: 3px solid #fff;
  transform: rotate(-45deg) translate(1px, -1px);
}

body.single-product .ff-variation-stock-pill__status {
  color: #1f9e61;
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
}

body.single-product .ff-variation-stock-pill__separator {
  width: 1px;
  min-height: 36px;
  background: #e1e4e8;
}

body.single-product .ff-variation-stock-pill__detail {
  color: #6d7177;
  font-size: 17px;
  font-weight: 500;
}

body.single-product .ff-variation-stock-pill__detail strong {
  color: #4d5358;
  font-weight: 700;
}

body.single-product .ff-variation-stock-pill--low-stock,
body.single-product .ff-variation-stock-pill--backorder {
  border-color: rgba(217, 119, 6, 0.45);
  background: #fffaf0;
  color: #5b3b08;
}

body.single-product .ff-variation-stock-pill--out-of-stock {
  border-color: rgba(180, 35, 24, 0.45);
  background: #fff7f6;
  color: #7a1f16;
}

body.single-product .ff-variation-stock-pill--low-stock .ff-variation-stock-pill__indicator,
body.single-product .ff-variation-stock-pill--backorder .ff-variation-stock-pill__indicator {
  background: #d97706;
}

body.single-product .ff-variation-stock-pill--out-of-stock .ff-variation-stock-pill__indicator {
  background: #de3631;
}

body.single-product .ff-variation-stock-pill--low-stock .ff-variation-stock-pill__status,
body.single-product .ff-variation-stock-pill--backorder .ff-variation-stock-pill__status {
  color: #d97706;
}

body.single-product .ff-variation-stock-pill--out-of-stock .ff-variation-stock-pill__status {
  color: #de3631;
}

@media (max-width: 640px) {
  body.single-product .ff-variation-stock-pill {
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    font-size: 13px;
  }

  body.single-product .ff-variation-stock-pill__status,
  body.single-product .ff-variation-stock-pill__detail {
    font-size: 13px;
    white-space: normal;
  }
}

body.single-product .ff-stock-price-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
}

body.single-product .ff-stock-price-row .ff-product-price {
  margin-left: 0;
  text-align: left;
}

body.single-product .ff-stock-price-row .ff-variation-stock-pill {
  order: 2;
  flex: 0 0 auto;
  margin-top: 0;
}

body.single-product .ff-single-product.product-type-variable .ff-variable-options {
  margin: 0;
}

body.single-product .ff-stock-price-row .ff-variation-stock-pill,
body.single-product .ff-single-product.product-type-variable .ff-variable-options > .ff-variation-stock-pill {
  width: 100%;
  box-sizing: border-box;
  margin-top: 0;
}

/* Subtle single-product stock/delivery notice; markup is reused after variation updates. */
body.single-product .ff-variation-stock-pill {
  display: grid;
  grid-template-columns: 9px minmax(0, 1fr) 30px;
  align-items: center;
  column-gap: 12px;
  width: 100%;
  min-height: 0;
  padding: 12px 13px;
  border: 1px solid #dfe4e7;
  border-radius: 14px;
  background: #fff;
  box-shadow: none;
  color: #465164;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.32;
}

body.single-product .ff-variation-stock-pill__indicator {
  position: relative;
  display: block;
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  align-self: start;
  margin-top: 5px;
  border-radius: 999px;
  background: #59c886;
  color: #59c886;
}

body.single-product .ff-variation-stock-pill__indicator::before,
body.single-product .ff-variation-stock-pill__indicator:before {
  content: none;
}

body.single-product .ff-variation-stock-pill__package-icon,
body.single-product .ff-variation-stock-pill__check {
  display: none;
}

body.single-product .ff-variation-stock-pill__separator {
  display: none !important;
}

body.single-product .ff-variation-stock-pill__content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

body.single-product .ff-variation-stock-pill__status,
body.single-product .ff-variation-stock-pill__detail {
  min-width: 0;
  line-height: 1.32;
  overflow-wrap: anywhere;
}

body.single-product .ff-variation-stock-pill__status {
  color: #465164;
  font-size: 15px;
  font-weight: 700;
  white-space: normal;
}

body.single-product .ff-variation-stock-pill__detail {
  color: #7b818b;
  font-size: 14px;
  font-weight: 400;
}

body.single-product .ff-variation-stock-pill__detail strong {
  color: inherit;
  font-weight: 600;
}

body.single-product .ff-variation-stock-pill__info {
  order: initial;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  justify-self: end;
  margin-left: 0;
  border-color: #d6dde1;
  background: transparent;
  color: #7b818b;
  font-size: 13px;
}

body.single-product .ff-variation-stock-pill--low-stock,
body.single-product .ff-variation-stock-pill--backorder,
body.single-product .ff-variation-stock-pill--out-of-stock {
  border-color: #dfe4e7;
  background: #fff;
  color: #465164;
}

body.single-product .ff-variation-stock-pill--low-stock .ff-variation-stock-pill__indicator {
  background: #d5a542;
  color: #d5a542;
}

body.single-product .ff-variation-stock-pill--backorder .ff-variation-stock-pill__indicator {
  background: #ff8c46;
  color: #ff8c46;
}

body.single-product .ff-variation-stock-pill--out-of-stock .ff-variation-stock-pill__indicator {
  background: #de3631;
  color: #de3631;
}

body.single-product .ff-variation-stock-pill--low-stock .ff-variation-stock-pill__status,
body.single-product .ff-variation-stock-pill--backorder .ff-variation-stock-pill__status,
body.single-product .ff-variation-stock-pill--out-of-stock .ff-variation-stock-pill__status {
  color: #465164;
}

@media (max-width: 640px) {
  body.single-product .ff-variation-stock-pill {
    grid-template-columns: 8px minmax(0, 1fr) 28px;
    column-gap: 11px;
    padding: 11px 12px;
  }

  body.single-product .ff-variation-stock-pill__indicator {
    width: 8px;
    height: 8px;
    flex-basis: 8px;
    margin-top: 5px;
  }

  body.single-product .ff-variation-stock-pill__status {
    font-size: 14px;
  }

  body.single-product .ff-variation-stock-pill__detail {
    font-size: 13.5px;
  }

  body.single-product .ff-variation-stock-pill__info {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }
}

.woocommerce div.product div.summary {
  margin-bottom: 0 !important;
}

/* Keep the single-product price and stock/delivery pill stacked on separate full-width rows. */
body.single-product .ff-stock-price-row,
body.single-product .ff-single-product.product-type-variable .ff-stock-price-row {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 14px !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 0 30px !important;
}

body.single-product .ff-stock-price-row .ff-product-price {
  order: 1 !important;
  flex: 0 0 auto !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  text-align: left !important;
}

body.single-product .ff-stock-price-row .ff-product-price .price {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  justify-content: flex-start !important;
  white-space: normal !important;
}

body.single-product .ff-stock-price-row .ff-stock-status,
body.single-product .ff-stock-price-row .ff-variation-stock-pill {
  order: 2 !important;
  flex: 0 0 auto !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

@media (max-width: 640px) {
  body.single-product .ff-stock-price-row,
  body.single-product .ff-single-product.product-type-variable .ff-variable-options > .ff-variation-stock-pill {
    margin-bottom: 10px !important;
  }
}

/* Shared cart icon: use the FF EHBO supplied cart glyph instead of the Woo Floating Cart font icon. */
.single-product .ff-single-product,
body.single-product {
  --ffehbo-cart-icon-svg: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2722%27%20height%3D%2721%27%20viewBox%3D%270%200%2022%2021%27%3E%3Cpath%20fill-rule%3D%27evenodd%27%20clip-rule%3D%27evenodd%27%20d%3D%27M6.952%2012.083h11.5c.34%200%20.64-.23.73-.57l2-8a.74.74%200%2000-.14-.64.754.754%200%2000-.59-.29H6.042l-.36-1.43a.75.75%200%2000-.73-.57h-3.5c-.41%200-.75.34-.75.75s.34.75.75.75h2.91l.36%201.43%201.78%207.11a2.25%202.25%200%2000-1.8%202.2c0%201.24%201.01%202.25%202.25%202.25h11.5c.41%200%20.75-.34.75-.75s-.34-.75-.75-.75h-11.5c-.41%200-.75-.34-.75-.75s.34-.75.75-.75v.01zm10.91-1.5h-9.82l-1.62-6.5h13.08l-1.62%206.5h-.02zm-.41%206c-.97%200-1.75.78-1.75%201.75s.78%201.75%201.75%201.75%201.75-.78%201.75-1.75-.78-1.75-1.75-1.75zm-11.75%201.75c0-.97.78-1.75%201.75-1.75s1.75.78%201.75%201.75-.78%201.75-1.75%201.75-1.75-.78-1.75-1.75z%27%20fill%3D%27currentColor%27%2F%3E%3C%2Fsvg%3E");
}

.single-product .ff-variation-wrapper .single_add_to_cart_button::before,
.single-product .ff-variation-wrapper .single_add_to_cart_button:before,
body.single-product .ff-variation-wrapper .single_add_to_cart_button::before,
body.single-product .ff-variation-wrapper .single_add_to_cart_button:before {
  content: "" !important;
  display: inline-block !important;
  width: 22px !important;
  height: 21px !important;
  flex: 0 0 22px !important;
  margin-inline-end: 8px !important;
  background: currentColor !important;
  -webkit-mask: var(--ffehbo-cart-icon-svg) center / contain no-repeat !important;
  mask: var(--ffehbo-cart-icon-svg) center / contain no-repeat !important;
}

body.single-product .ff-sidebar-related-product__action-icon {
  width: 17px !important;
  height: 17px !important;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 5c5.25 0 9 4.7 10 7-1 2.3-4.75 7-10 7S3 14.3 2 12c1-2.3 4.75-7 10-7Zm0 2.25c-3.45 0-6.2 2.75-7.45 4.75 1.25 2 4 4.75 7.45 4.75S18.2 14 19.45 12C18.2 10 15.45 7.25 12 7.25Zm0 1.75a3 3 0 1 1 0 6 3 3 0 0 1 0-6Z'/%3E%3C/svg%3E") center / contain no-repeat !important;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 5c5.25 0 9 4.7 10 7-1 2.3-4.75 7-10 7S3 14.3 2 12c1-2.3 4.75-7 10-7Zm0 2.25c-3.45 0-6.2 2.75-7.45 4.75 1.25 2 4 4.75 7.45 4.75S18.2 14 19.45 12C18.2 10 15.45 7.25 12 7.25Zm0 1.75a3 3 0 1 1 0 6 3 3 0 0 1 0-6Z'/%3E%3C/svg%3E") center / contain no-repeat !important;
}

/* Keep variable-product variation carousel arrows beside the choices instead of above them. */
body.single-product .ff-single-product.product-type-variable .ff-variable-options__scroll-controls {
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr) 35px;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
  margin-left: 0;
}

body.single-product .ff-single-product.product-type-variable .ff-variable-options__scroll {
  width: 35px;
  min-width: 35px;
  height: 44px;
  border: 1px solid #19113f;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(16, 7, 41, 0.06);
}

body.single-product .ff-single-product.product-type-variable .ff-variable-options__scroll--previous {
  grid-column: 1;
}

body.single-product .ff-single-product.product-type-variable .ff-variable-options__choices {
  grid-column: 2;
  min-width: 0;
}

body.single-product .ff-single-product.product-type-variable .ff-variable-options__scroll--next {
  grid-column: 3;
}

body.single-product .ff-variation-wrapper .ffehbo-disabled-cart .quantity,
body.single-product .ff-variation-wrapper .ffehbo-disabled-cart .quantity.ff-quantity-control {
  display: inline-grid !important;
  grid-template-columns: 48px minmax(44px, 1fr) 48px !important;
  opacity: 0.72;
}


body.single-product .ff-variation-wrapper .ffehbo-disabled-cart .quantity input.qty,
body.single-product .ff-variation-wrapper .ffehbo-disabled-cart .quantity input.qty:disabled {
  display: block !important;
  opacity: 1 !important;
  -webkit-text-fill-color: #100729;
}

body.single-product .ff-variation-wrapper .ffehbo-disabled-cart .quantity input.qty,
body.single-product .ff-variation-wrapper .ffehbo-disabled-cart .quantity input.qty:disabled,
body.single-product .ff-variation-wrapper .ffehbo-disabled-cart .quantity .qty-btn,
body.single-product .ff-variation-wrapper .ffehbo-disabled-cart .quantity .ff-quantity-control__button {
  cursor: not-allowed;
}

@media (max-width: 640px) {
  body.single-product .ff-single-product.product-type-variable .ff-variable-options__scroll-controls {
    display: block;
  }

  body.single-product .ff-single-product.product-type-variable .ff-variable-options__scroll {
    display: none !important;
  }
}

/* Desktop variation scroller: show exactly two cards between full-height arrows. */
@media (min-width: 641px) {
  body.single-product .ff-single-product.product-type-variable .ff-variable-options__scroll-controls {
    align-items: stretch;
    grid-template-columns: 35px minmax(0, 1fr) 35px;
    gap: 12px;
  }

  body.single-product .ff-single-product.product-type-variable .ff-variable-options__scroll {
    align-self: stretch;
    width: 35px;
    min-width: 35px;
    height: auto;
    min-height: 74px;
  }

  body.single-product .ff-single-product.product-type-variable .ff-variable-options__choices {
    align-items: stretch;
    gap: 18px;
  }

  body.single-product .ff-single-product.product-type-variable .ff-variable-options__choice {
    flex: 0 0 calc((100% - 18px) / 2);
    min-width: 0;
    min-height: 74px;
    box-sizing: border-box;
  }
}

/* Align the variable-product chooser heading with the live product price. */
body.single-product .ff-single-product.product-type-variable .ff-variable-options__header .ff-product-price {
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: 45% !important;
  margin: 0 0 0 auto !important;
  text-align: right !important;
}

body.single-product .ff-single-product.product-type-variable .ff-variable-options__header .ff-product-price .price {
  display: inline-flex !important;
  width: auto !important;
  max-width: 100% !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--ff-heading) !important;
  font-size: clamp(20px, 2vw, 24px) !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
  letter-spacing: -0.03em !important;
  transform: none !important;
  white-space: nowrap !important;
}

body.single-product .ff-single-product.product-type-variable .ff-variable-options__header .ff-product-price .price > *,
body.single-product .ff-single-product.product-type-variable .ff-variable-options__header .ff-product-price .price .amount,
body.single-product .ff-single-product.product-type-variable .ff-variable-options__header .ff-product-price .price .woocommerce-Price-amount,
body.single-product .ff-single-product.product-type-variable .ff-variable-options__header .ff-product-price .price .woocommerce-Price-currencySymbol,
body.single-product .ff-single-product.product-type-variable .ff-variable-options__header .ff-product-price .price bdi {
  color: var(--ff-heading) !important;
  transform: none !important;
}

@media (max-width: 480px) {
  body.single-product .ff-single-product.product-type-variable .ff-variable-options__header .ff-product-price {
    max-width: 50% !important;
  }

  body.single-product .ff-single-product.product-type-variable .ff-variable-options__header .ff-product-price .price {
    font-size: 20px !important;
  }
}
