/**
 * WINGERFIX WooCommerce product page — precision redesign v14.0.0
 * Scope: body.single-product only.
 * Goal: close visual hierarchy to the approved reference, readable typography,
 * compact commercial flow, and stable RTL/LTR responsive behavior.
 */

body.single-product {
  --wf-p-blue: #075fdc;
  --wf-p-blue-2: #034fbe;
  --wf-p-navy: #061d46;
  --wf-p-navy-2: #0b326f;
  --wf-p-ink: #081c3d;
  --wf-p-text: #344761;
  --wf-p-muted: #6f7e92;
  --wf-p-line: #dce5f0;
  --wf-p-soft: #f6f9fd;
  --wf-p-success: #138b54;
  --wf-p-danger: #bd3043;
  --wf-p-radius: 16px;
  --wf-p-shadow: 0 12px 34px rgba(8, 37, 82, .075);
  padding-bottom: 0;
}

body.single-product .site-header {
  background: rgba(4, 23, 54, .98);
  border-bottom-color: rgba(255,255,255,.08);
  box-shadow: 0 7px 24px rgba(2, 15, 37, .13);
}

body.single-product .site-header.is-scrolled {
  background: rgba(4, 23, 54, .99);
  box-shadow: 0 9px 28px rgba(2, 15, 37, .2);
}

body.single-product .site-header .site-brand-name,
body.single-product .site-header .site-brand-link,
body.single-product .site-header .custom-logo-link,
body.single-product .site-header .primary-menu > li > a {
  color: #f7faff;
}

body.single-product .site-header .primary-menu > li:hover > a,
body.single-product .site-header .primary-menu > .current-menu-item > a,
body.single-product .site-header .primary-menu > .current_page_item > a {
  color: #79b7ff;
}

body.single-product .site-header .header-consult-button,
body.single-product .site-header .header-app-button,
body.single-product .site-header .rayan-language-trigger {
  border-color: rgba(255,255,255,.13);
  background: rgba(255,255,255,.075);
  box-shadow: none;
  color: #fff;
}

body.single-product .site-header .header-consult-button:hover,
body.single-product .site-header .header-app-button:hover,
body.single-product .site-header .rayan-language-trigger:hover {
  border-color: rgba(255,255,255,.28);
  background: rgba(255,255,255,.12);
}

body.single-product .site-header .mobile-menu-button {
  border-color: rgba(255,255,255,.17);
  background: rgba(255,255,255,.08);
  color: #fff;
}

body.single-product .rayan-commerce-main {
  overflow: clip;
  background: #fff;
}

body.single-product .rayan-commerce-shell {
  width: min(1380px, calc(100% - 48px));
  padding-top: 18px;
  padding-bottom: 38px;
}

body.single-product .woocommerce-breadcrumb {
  min-height: 32px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px !important;
  color: #8190a4;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.8;
}

body.single-product .woocommerce-breadcrumb a {
  color: #64758c;
  text-decoration: none;
}

body.single-product .woocommerce-breadcrumb a:hover {
  color: var(--wf-p-blue);
}

body.single-product .rayan-product-layout {
  display: block !important;
  width: 100%;
  margin: 0;
}

body.single-product .rayan-product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(480px, 1fr);
  gap: clamp(34px, 3.5vw, 58px);
  align-items: start;
  direction: ltr;
}

body.single-product .rayan-product-gallery-column,
body.single-product .rayan-product-summary,
body.single-product .rayan-product-after-hero {
  min-width: 0;
  direction: rtl;
  text-align: start;
}

body.single-product.rayan-direction-ltr .rayan-product-gallery-column,
body.single-product.rayan-direction-ltr .rayan-product-summary,
body.single-product.rayan-direction-ltr .rayan-product-after-hero {
  direction: ltr;
}

/* Product gallery */
body.single-product .rayan-product-gallery-column {
  position: relative;
}

body.single-product .rayan-product-gallery-column > .onsale {
  z-index: 12;
  top: 17px !important;
  right: 17px !important;
  left: auto !important;
  min-width: 0;
  min-height: 0;
  margin: 0 !important;
  padding: 7px 14px !important;
  border-radius: 8px !important;
  background: var(--wf-p-blue) !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 850 !important;
  line-height: 1.5 !important;
}

body.single-product.rayan-direction-ltr .rayan-product-gallery-column > .onsale {
  right: auto !important;
  left: 17px !important;
}

body.single-product .woocommerce-product-gallery {
  position: relative;
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 14px;
  overflow: hidden;
  border: 1px solid #d8e1ec;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(7, 33, 75, .05);
  opacity: 1 !important;
}

body.single-product .woocommerce-product-gallery__wrapper,
body.single-product .woocommerce-product-gallery .flex-viewport {
  margin: 0 !important;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(145deg, #fbfcfe, #f2f5f9);
}

body.single-product .woocommerce-product-gallery__image > a,
body.single-product .woocommerce-product-gallery__image--placeholder {
  min-height: clamp(470px, 39vw, 560px);
  display: grid !important;
  place-items: center;
  overflow: hidden;
}

body.single-product .woocommerce-product-gallery__image img {
  width: 100% !important;
  height: 100% !important;
  max-height: 560px;
  padding: clamp(18px, 2.2vw, 32px);
  object-fit: contain;
}

body.single-product .woocommerce-product-gallery__trigger {
  z-index: 13 !important;
  top: auto !important;
  right: auto !important;
  bottom: 112px !important;
  left: 24px !important;
  width: 39px !important;
  height: 39px !important;
  display: grid !important;
  place-items: center;
  border: 1px solid #d9e2ec !important;
  border-radius: 10px !important;
  background: rgba(255, 255, 255, .97) !important;
  box-shadow: 0 8px 22px rgba(8, 37, 82, .09);
}

body.single-product.rayan-direction-ltr .woocommerce-product-gallery__trigger {
  right: 24px !important;
  left: auto !important;
}

body.single-product .woocommerce-product-gallery__trigger::before,
body.single-product .woocommerce-product-gallery__trigger::after {
  opacity: .72;
}

body.single-product .woocommerce div.product div.images .flex-control-thumbs {
  display: flex !important;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  margin: 12px 0 0 !important;
  padding: 1px 1px 3px;
  list-style: none;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

body.single-product .woocommerce div.product div.images .flex-control-thumbs li {
  width: 92px !important;
  flex: 0 0 92px;
  overflow: hidden;
  border: 1px solid #dde5ee;
  border-radius: 10px;
  background: #f7f9fc;
  scroll-snap-align: start;
}

body.single-product .woocommerce div.product div.images .flex-control-thumbs img {
  width: 100%;
  aspect-ratio: 1.15 / 1;
  padding: 7px;
  object-fit: contain;
  opacity: 1;
}

body.single-product .woocommerce div.product div.images .flex-control-thumbs img.flex-active {
  background: #edf5ff;
  box-shadow: inset 0 0 0 2px var(--wf-p-blue);
}

body.single-product .rayan-product-image-placeholder > div {
  width: min(390px, 88%);
  display: grid;
  place-items: center;
  gap: 10px;
  padding: 34px;
  color: var(--wf-p-muted);
  text-align: center;
}

body.single-product .rayan-product-placeholder-device {
  width: min(200px, 65%);
  height: auto;
}

body.single-product .rayan-product-image-placeholder strong {
  color: var(--wf-p-ink);
  font-size: 20px;
}

/* Legacy commerce bundle compatibility firewall.
 * The route bundle contains older 8-10px product rules. These explicit resets
 * keep the premium product typography readable regardless of cache/minify order. */
body.single-product .rayan-product-summary,
body.single-product .rayan-product-summary button,
body.single-product .rayan-product-summary input,
body.single-product .rayan-product-summary select,
body.single-product .rayan-product-summary textarea {
  font-family: var(--rayan-font, inherit);
}

body.single-product .rayan-product-summary .rayan-product-context span,
body.single-product .rayan-product-summary .rayan-single-product-kicker,
body.single-product .rayan-product-summary .woocommerce-product-details__short-description,
body.single-product .rayan-product-summary .rayan-product-purchase-status {
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

/* Main product information */
body.single-product .rayan-product-summary {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 2px 0 0;
}

body.single-product .rayan-product-context {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 7px;
}

body.single-product .rayan-product-context span {
  padding: 4px 0;
  color: #51657e;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.8;
}

body.single-product .rayan-product-context span + span::before {
  content: "·";
  margin-inline-end: 8px;
  color: #a4afbd;
}

body.single-product .rayan-single-product-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 13px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #eaf3ff;
  color: var(--wf-p-blue);
  font-size: 16px !important;
  font-weight: 850;
  line-height: 1.65;
}

body.single-product .rayan-single-product-kicker .rayan-product-icon {
  width: 19px;
  height: 19px;
}

body.single-product .product_title {
  margin: 0 0 8px !important;
  color: var(--wf-p-ink);
  font-size: clamp(34px, 3.15vw, 46px) !important;
  font-weight: 900 !important;
  line-height: 1.28 !important;
  letter-spacing: -.025em;
}

body.single-product .woocommerce-product-rating {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px !important;
  color: #78869a;
  font-size: 13.5px;
}

body.single-product .star-rating {
  color: #f5a300;
  font-size: 16px;
}

body.single-product .woocommerce-review-link {
  color: #6c7a8d;
  text-decoration: none;
}

body.single-product .woocommerce-product-details__short-description {
  margin: 0 0 18px;
  color: #415571;
  font-size: 17px;
  font-weight: 500;
  line-height: 2;
}

body.single-product .woocommerce-product-details__short-description > :first-child { margin-top: 0; }
body.single-product .woocommerce-product-details__short-description > :last-child { margin-bottom: 0; }

body.single-product .rayan-product-micro-proof {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  margin: 0 0 22px;
  padding: 0;
}

body.single-product .rayan-product-micro-proof > span {
  min-width: 0;
  min-height: 0 !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 11px;
  padding: 2px 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #203754 !important;
  font-size: 16.5px !important;
  font-weight: 700 !important;
  line-height: 1.9 !important;
  text-align: start !important;
}

body.single-product .rayan-product-micro-proof > span b {
  color: inherit !important;
  font-size: inherit !important;
  font-weight: 700 !important;
  line-height: inherit !important;
}

body.single-product .rayan-product-micro-proof .rayan-product-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  margin-top: 3px;
  padding: 4px;
  border-radius: 50%;
  background: #eaf3ff;
  color: var(--wf-p-blue);
  stroke-width: 2.5;
}

body.single-product .summary .price {
  display: flex;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 4px !important;
  color: var(--wf-p-ink) !important;
  font-size: clamp(30px, 2.7vw, 39px) !important;
  font-weight: 950 !important;
  line-height: 1.45;
}


body.single-product .woocommerce div.product .summary p.price,
body.single-product .woocommerce div.product .summary span.price {
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--wf-p-ink) !important;
  font-size: clamp(30px, 2.7vw, 39px) !important;
}
body.single-product .summary .price del {
  color: #9aa6b5;
  font-size: .56em;
  font-weight: 600;
}

body.single-product .summary .price ins {
  color: inherit;
  text-decoration: none;
}

body.single-product .rayan-product-purchase-status {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin: 0 0 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
  font-size: 13.5px;
}

body.single-product .rayan-product-purchase-status span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
}

body.single-product .rayan-product-purchase-status i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
}

body.single-product .rayan-product-purchase-status.is-available { color: var(--wf-p-success); }
body.single-product .rayan-product-purchase-status.is-unavailable { color: var(--wf-p-danger); }

body.single-product .rayan-product-purchase-status > b {
  padding: 5px 10px;
  border-radius: 8px;
  background: #fff0f2;
  color: #c52942;
}

body.single-product .rayan-product-buy-anchor {
  position: relative;
  top: -110px;
  display: block;
  visibility: hidden;
}

body.single-product form.cart {
  display: grid;
  grid-template-columns: 96px minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
  margin: 0 0 12px !important;
  padding: 0;
  border: 0;
  background: transparent;
}

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

body.single-product form.cart .quantity {
  position: relative;
  float: none !important;
  width: 96px;
  min-height: 56px;
  display: grid;
  grid-template-columns: 31px 34px 31px;
  align-items: stretch;
  margin: 0 !important;
  overflow: hidden;
  border: 1px solid #cbd8e7;
  border-radius: 10px;
  background: #fff;
}

body.single-product form.cart .qty {
  width: 34px !important;
  min-width: 0;
  height: 54px;
  padding: 0 !important;
  border: 0 !important;
  border-inline: 1px solid #e2e8f0 !important;
  border-radius: 0 !important;
  background: #fff;
  color: var(--wf-p-ink);
  font-size: 15px;
  font-weight: 850;
  text-align: center;
  appearance: textfield;
}

body.single-product form.cart .qty::-webkit-inner-spin-button,
body.single-product form.cart .qty::-webkit-outer-spin-button { appearance: none; }

body.single-product .rayan-quantity-button {
  width: 31px;
  min-width: 0;
  padding: 0;
  border: 0;
  background: #f7f9fc;
  color: #324c6c;
  font-size: 19px;
  font-weight: 700;
  cursor: pointer;
}

body.single-product form.cart .single_add_to_cart_button,
body.single-product .rayan-product-consult-button,
body.single-product .rayan-product-quick-buy {
  min-height: 56px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 0 !important;
  padding: 12px 19px !important;
  border-radius: 10px !important;
  font-size: 16px !important;
  font-weight: 850 !important;
  line-height: 1.45 !important;
  text-align: center;
  text-decoration: none !important;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

body.single-product form.cart .single_add_to_cart_button {
  border: 1px solid var(--wf-p-blue) !important;
  background: linear-gradient(135deg, #0869ee, var(--wf-p-blue-2)) !important;
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(7, 95, 220, .21);
}

body.single-product .rayan-product-consult-button {
  border: 1px solid #82afe7;
  background: #fff;
  color: var(--wf-p-blue);
}

body.single-product .rayan-product-consult-button .rayan-product-icon {
  width: 22px;
  height: 22px;
}

body.single-product form.cart .single_add_to_cart_button:hover,
body.single-product .rayan-product-consult-button:hover {
  transform: translateY(-2px);
}

body.single-product form.cart .single_add_to_cart_button:hover {
  box-shadow: 0 12px 25px rgba(7, 95, 220, .28);
}

body.single-product .rayan-product-quick-buy { display: none !important; }

body.single-product form.variations_form.cart,
body.single-product form.grouped_form.cart { grid-template-columns: 1fr; }

body.single-product form.variations_form.cart table.variations,
body.single-product form.grouped_form.cart table.group_table {
  width: 100%;
  margin: 0 0 8px;
  border: 0;
}

body.single-product form.variations_form.cart table.variations tr {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  align-items: center;
  padding: 7px 0;
}

body.single-product form.variations_form.cart select {
  width: 100%;
  min-height: 50px;
  border: 1px solid #d0dce9;
  border-radius: 10px;
  background: #fff;
}

body.single-product form.variations_form.cart .single_variation_wrap {
  display: grid;
  gap: 10px;
}

body.single-product form.variations_form.cart .woocommerce-variation-add-to-cart {
  display: grid;
  grid-template-columns: 96px minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 10px;
}

body.single-product .stock {
  color: var(--wf-p-success) !important;
  font-weight: 800;
}

body.single-product .product_meta {
  display: none !important;
}

body.single-product .rayan-subscription-note {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  padding: 15px;
  border: 1px solid #cfe0f4;
  border-radius: 12px;
  background: #f4f9ff;
}

body.single-product .rayan-subscription-note > .rayan-product-icon {
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  color: var(--wf-p-blue);
}

body.single-product .rayan-subscription-copy strong { color: var(--wf-p-ink); }
body.single-product .rayan-subscription-copy p {
  margin: 5px 0 0;
  color: var(--wf-p-muted);
  font-size: 13px;
  line-height: 1.8;
}

body.single-product .rayan-subscription-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 12px 0 0;
}

body.single-product .rayan-subscription-facts > div {
  padding: 9px;
  border-radius: 9px;
  background: #fff;
}

body.single-product .rayan-subscription-facts dt,
body.single-product .rayan-subscription-facts dd {
  margin: 0;
  font-size: 12px;
}

/* Sections below hero */
body.single-product .rayan-product-after-hero {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-areas:
    "service service service service service service service service service service service service"
    "capability capability capability capability capability capability capability capability capability capability capability capability"
    "tech tech tech tech tabs tabs tabs tabs tabs tabs tabs tabs";
  gap: 14px 18px;
  margin-top: 28px;
}

body.single-product.rayan-direction-ltr .rayan-product-after-hero {
  grid-template-areas:
    "service service service service service service service service service service service service"
    "capability capability capability capability capability capability capability capability capability capability capability capability"
    "tabs tabs tabs tabs tabs tabs tabs tabs tech tech tech tech";
}

body.single-product .rayan-product-after-hero > * { min-width: 0; }

body.single-product .rayan-product-service-strip {
  grid-area: service;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

body.single-product .rayan-product-service-strip article {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  border: 1px solid #dce5ef;
  border-radius: 12px;
  background: linear-gradient(145deg, #fff, #f7f9fc);
}

body.single-product .rayan-product-service-strip .rayan-product-icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  padding: 8px;
  border-radius: 10px;
  background: #edf4ff;
  color: var(--wf-p-blue);
}

body.single-product .rayan-product-service-strip span {
  min-width: 0;
  display: grid;
  gap: 1px;
}

body.single-product .rayan-product-service-strip b {
  color: var(--wf-p-ink);
  font-size: 15px;
  line-height: 1.5;
}

body.single-product .rayan-product-service-strip small {
  color: #6c7a8d;
  font-size: 12px;
  line-height: 1.55;
}

body.single-product .rayan-product-capability-band {
  grid-area: capability;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  padding: 10px 12px;
  border: 1px solid rgba(76, 136, 230, .32);
  border-radius: 15px;
  background: linear-gradient(135deg, var(--wf-p-navy), var(--wf-p-navy-2));
  box-shadow: 0 12px 28px rgba(5, 30, 72, .15);
}

body.single-product .rayan-product-capability-band article {
  min-height: 105px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5px;
  padding: 13px 8px;
  border-inline-end: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  text-align: center;
}

body.single-product .rayan-product-capability-band article:last-child { border-inline-end: 0; }

body.single-product .rayan-product-capability-band .rayan-product-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 2px;
  color: #5da7ff;
  filter: drop-shadow(0 0 8px rgba(37, 140, 255, .38));
}

body.single-product .rayan-product-capability-band b {
  font-size: 14.5px;
  line-height: 1.55;
}

body.single-product .rayan-product-capability-band small {
  max-width: 145px;
  color: rgba(255,255,255,.72);
  font-size: 11.5px;
  line-height: 1.5;
}

/* Tabs and technical summary */
body.single-product .woocommerce .rayan-product-after-hero > .woocommerce-tabs {
  grid-area: tabs !important;
  width: 100%;
  margin: 0 !important;
  padding: 18px 20px 20px;
  border: 1px solid var(--wf-p-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--wf-p-shadow);
}

body.single-product .woocommerce-tabs ul.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 17px !important;
  padding: 0 !important;
  border-bottom: 1px solid #e4e9f0;
}

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

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

body.single-product .woocommerce-tabs ul.tabs li a {
  display: block;
  padding: 10px 14px !important;
  border-bottom: 2px solid transparent;
  color: #65758b !important;
  font-size: 14px;
  font-weight: 800 !important;
  text-decoration: none;
}

body.single-product .woocommerce-tabs ul.tabs li.active a {
  border-bottom-color: var(--wf-p-blue);
  color: var(--wf-p-blue) !important;
}

body.single-product .woocommerce-tabs .panel {
  margin: 0 !important;
  color: var(--wf-p-text);
  font-size: 15px;
  line-height: 2.05;
}

body.single-product .woocommerce-tabs .panel h2,
body.single-product .woocommerce-tabs .panel h3 {
  margin-bottom: 12px;
  color: var(--wf-p-ink);
  font-size: 21px;
  line-height: 1.5;
}

body.single-product .woocommerce-tabs .panel > :first-child { margin-top: 0; }
body.single-product .woocommerce-tabs .panel img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

body.single-product .woocommerce-product-attributes {
  width: 100%;
  overflow: hidden;
  border: 1px solid #e1e7ef;
  border-radius: 10px;
  border-collapse: separate;
  border-spacing: 0;
}

body.single-product .woocommerce-product-attributes th,
body.single-product .woocommerce-product-attributes td {
  padding: 10px 12px !important;
  border: 0 !important;
  border-bottom: 1px solid #e8edf3 !important;
  background: #fff !important;
  font-size: 14px;
  font-style: normal !important;
}

body.single-product .woocommerce-product-attributes tr:nth-child(odd) th,
body.single-product .woocommerce-product-attributes tr:nth-child(odd) td {
  background: #f7f9fc !important;
}

body.single-product .woocommerce .rayan-product-after-hero > .rayan-product-tech-card {
  grid-area: tech !important;
  align-self: start;
  padding: 18px;
  border: 1px solid var(--wf-p-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--wf-p-shadow);
}

body.single-product .rayan-product-tech-card header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

body.single-product .rayan-product-tech-card header > .rayan-product-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  padding: 8px;
  border-radius: 10px;
  background: #eaf3ff;
  color: var(--wf-p-blue);
}

body.single-product .rayan-product-tech-card header span {
  display: block;
  margin-bottom: 1px;
  color: var(--wf-p-blue);
  font-size: 11px;
  font-weight: 850;
}

body.single-product .rayan-product-tech-card h2 {
  margin: 0;
  color: var(--wf-p-ink);
  font-size: 19px;
  line-height: 1.45;
}

body.single-product .rayan-product-tech-card dl {
  margin: 0 0 12px;
  overflow: hidden;
  border: 1px solid #e3e8ef;
  border-radius: 9px;
}

body.single-product .rayan-product-tech-card dl > div {
  display: grid;
  grid-template-columns: minmax(95px, .85fr) minmax(0, 1.15fr);
  gap: 9px;
  padding: 8px 10px;
  border-bottom: 1px solid #e8edf3;
}

body.single-product .rayan-product-tech-card dl > div:last-child { border-bottom: 0; }
body.single-product .rayan-product-tech-card dl > div:nth-child(odd) { background: #f7f9fc; }

body.single-product .rayan-product-tech-card dt,
body.single-product .rayan-product-tech-card dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
}

body.single-product .rayan-product-tech-card dt { color: #6b7a8d; }
body.single-product .rayan-product-tech-card dd {
  color: #243a58;
  font-weight: 750;
}

body.single-product .rayan-product-tech-card > p {
  color: var(--wf-p-muted);
  font-size: 13px;
  line-height: 1.85;
}

body.single-product .rayan-product-tech-card > a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--wf-p-blue);
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

body.single-product .rayan-product-tech-card > a .rayan-product-icon {
  width: 17px;
  height: 17px;
}

body.single-product.rayan-direction-ltr .rayan-product-tech-card > a .rayan-product-icon {
  transform: scaleX(-1);
}


/* Optional media area */
body.single-product .rayan-product-media-story {
  grid-column: 1 / -1;
  padding: 22px;
  border: 1px solid var(--wf-p-line);
  border-radius: 15px;
  background: #fff;
  box-shadow: var(--wf-p-shadow);
}

body.single-product .rayan-product-media-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 17px;
}

body.single-product .rayan-product-media-header span,
body.single-product .rayan-product-value header span {
  display: block;
  margin-bottom: 4px;
  color: var(--wf-p-blue);
  font-size: 12px;
  font-weight: 850;
}

body.single-product .rayan-product-media-header h2,
body.single-product .rayan-product-value h2 {
  margin: 0;
  color: var(--wf-p-ink);
  font-size: clamp(24px, 2.2vw, 31px);
  line-height: 1.45;
}

body.single-product .rayan-product-media-header p {
  max-width: 720px;
  margin: 7px 0 0;
  color: var(--wf-p-muted);
  font-size: 14px;
  line-height: 1.8;
}

body.single-product .rayan-product-media-header > b {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 8px;
  background: #edf5ff;
  color: var(--wf-p-blue);
  font-size: 12px;
}

body.single-product .rayan-product-media-viewer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 14px;
}

body.single-product .rayan-product-media-stage {
  min-width: 0;
  overflow: hidden;
  border-radius: 13px;
  background: #eff4fa;
}

body.single-product .rayan-product-media-slide { margin: 0; }
body.single-product .rayan-product-media-slide[hidden] { display: none !important; }

body.single-product .rayan-product-media-image {
  position: relative;
  width: 100%;
  min-height: 430px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

body.single-product .rayan-product-media-image img,
body.single-product .rayan-product-media-slide video {
  width: 100%;
  max-height: 560px;
  object-fit: contain;
}

body.single-product .rayan-product-media-image > span {
  position: absolute;
  inset-inline-end: 15px;
  bottom: 15px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border-radius: 8px;
  background: rgba(5, 25, 59, .83);
  color: #fff;
  font-size: 12px;
}

body.single-product .rayan-product-media-image > span .rayan-product-icon {
  width: 17px;
  height: 17px;
}

body.single-product .rayan-product-media-slide figcaption {
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  background: #fff;
}

body.single-product .rayan-product-media-slide figcaption b {
  color: var(--wf-p-ink);
  font-size: 13px;
}

body.single-product .rayan-product-media-slide figcaption span {
  color: var(--wf-p-muted);
  font-size: 12px;
}

body.single-product .rayan-product-media-rail {
  display: grid;
  align-content: start;
  gap: 8px;
}

body.single-product .rayan-product-media-rail button {
  width: 100%;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  padding: 7px;
  border: 1px solid #dce5f0;
  border-radius: 10px;
  background: #f8fafd;
  color: #49607f;
  text-align: start;
  cursor: pointer;
}

body.single-product .rayan-product-media-rail button.is-active {
  border-color: #8dbcf5;
  background: #edf5ff;
  color: var(--wf-p-blue);
}

body.single-product .rayan-product-media-rail button > span {
  position: relative;
  width: 58px;
  height: 50px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 7px;
  background: #e9eef5;
}

body.single-product .rayan-product-media-rail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.single-product .rayan-product-media-rail b {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.single-product .rayan-product-media-dialog {
  width: min(1000px, 92vw);
  max-height: 90vh;
  padding: 16px;
  border: 0;
  border-radius: 16px;
  background: #fff;
}

body.single-product .rayan-product-media-dialog::backdrop { background: rgba(2, 15, 37, .8); }
body.single-product .rayan-product-media-dialog > button {
  position: absolute;
  top: 8px;
  inset-inline-end: 8px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  font-size: 24px;
  cursor: pointer;
}

body.single-product .rayan-product-media-dialog img {
  width: 100%;
  max-height: calc(90vh - 32px);
  object-fit: contain;
}

/* Optional value section: kept compact and disabled by default in PHP */
body.single-product .rayan-product-value {
  grid-column: 1 / -1;
  padding: 24px;
  overflow: hidden;
  border-radius: 15px;
  background: linear-gradient(135deg, #071d43, #0b3675);
  color: #fff;
}

body.single-product .rayan-product-value header span,
body.single-product .rayan-product-value h2 { color: #fff; }

body.single-product .rayan-product-value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

body.single-product .rayan-product-value-grid article {
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 11px;
  background: rgba(255, 255, 255, .07);
}

body.single-product .rayan-product-value-grid .rayan-product-icon {
  width: 31px;
  height: 31px;
  margin-bottom: 9px;
  color: #67b0ff;
}

body.single-product .rayan-product-value-grid b {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}

body.single-product .rayan-product-value-grid p {
  margin: 0;
  color: rgba(255, 255, 255, .74);
  font-size: 12px;
  line-height: 1.75;
}

/* Guide and FAQ */
body.single-product .rayan-product-guide {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 15px;
  border: 1px solid #dbe5f1;
  border-radius: 11px;
  background: #f8fbff;
}

body.single-product .rayan-product-guide > span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #e7f2ff;
  color: var(--wf-p-blue);
}

body.single-product .rayan-product-guide .rayan-product-icon { width: 22px; height: 22px; }
body.single-product .rayan-product-guide p { margin: 3px 0 0; }
body.single-product .rayan-product-guide > a {
  padding: 9px 12px;
  border-radius: 8px;
  background: var(--wf-p-blue);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

body.single-product .rayan-product-faq { display: grid; gap: 8px; }
body.single-product .rayan-product-faq details {
  border: 1px solid #e0e7f0;
  border-radius: 10px;
  background: #fff;
}
body.single-product .rayan-product-faq summary {
  padding: 12px 14px;
  color: var(--wf-p-ink);
  font-weight: 800;
  cursor: pointer;
}
body.single-product .rayan-product-faq p { margin: 0; padding: 0 14px 14px; }

/* Related products */
body.single-product .related,
body.single-product .upsells {
  grid-column: 1 / -1;
  width: 100%;
  margin: 3px 0 0 !important;
}

body.single-product .related > h2,
body.single-product .upsells > h2 {
  margin: 0 0 13px;
  color: var(--wf-p-ink);
  font-size: 23px;
  line-height: 1.5;
  text-align: start;
}

body.single-product .related ul.products,
body.single-product .upsells ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0 !important;
  padding: 0 !important;
}

body.single-product .related ul.products::before,
body.single-product .related ul.products::after,
body.single-product .upsells ul.products::before,
body.single-product .upsells ul.products::after { display: none !important; }

body.single-product .related ul.products li.product,
body.single-product .upsells ul.products li.product {
  float: none !important;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
  padding: 11px !important;
  border: 1px solid #dce5ef;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(9, 39, 83, .04);
  text-align: center;
}

body.single-product .related ul.products li.product > a:first-child,
body.single-product .upsells ul.products li.product > a:first-child {
  display: grid;
  gap: 7px;
}

body.single-product .related ul.products li.product img,
body.single-product .upsells ul.products li.product img {
  width: 100%;
  aspect-ratio: 1.3 / 1;
  margin: 0 !important;
  padding: 9px;
  border-radius: 9px;
  background: #f6f8fb;
  object-fit: contain;
}

body.single-product .related .woocommerce-loop-product__title,
body.single-product .upsells .woocommerce-loop-product__title {
  min-height: 47px;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--wf-p-ink);
  font-size: 15px !important;
  font-weight: 800;
  line-height: 1.6;
}

body.single-product .related ul.products li.product .price,
body.single-product .upsells ul.products li.product .price {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  color: var(--wf-p-ink) !important;
  font-size: 14px !important;
  font-weight: 850 !important;
}

body.single-product .related ul.products li.product .button,
body.single-product .upsells ul.products li.product .button {
  width: 100%;
  min-height: 39px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 9px 0 0 !important;
  padding: 8px 10px !important;
  border: 1px solid #c7d9ef !important;
  border-radius: 8px !important;
  background: #f1f6fd !important;
  color: var(--wf-p-blue) !important;
  font-size: 12.5px !important;
  font-weight: 800 !important;
}

body.single-product .related .star-rating,
body.single-product .upsells .star-rating,
body.single-product .related .rayan-product-badge,
body.single-product .upsells .rayan-product-badge,
body.single-product .related .rayan-loop-assurances,
body.single-product .upsells .rayan-loop-assurances {
  display: none !important;
}

/* Consultation banner */
body.single-product .rayan-product-consultation-banner {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 90px;
  padding: 16px 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0a2e6c, #075edc);
  color: #fff;
  box-shadow: 0 12px 28px rgba(7, 74, 173, .2);
}

body.single-product .rayan-product-consultation-banner > div:first-child {
  display: flex;
  align-items: center;
  gap: 13px;
}

body.single-product .rayan-product-consultation-banner > div:first-child > .rayan-product-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(255,255,255,.11);
  color: #8bc3ff;
}

body.single-product .rayan-product-consultation-banner span {
  display: grid;
  gap: 3px;
}

body.single-product .rayan-product-consultation-banner b {
  color: #fff;
  font-size: 18px;
  line-height: 1.5;
}

body.single-product .rayan-product-consultation-banner small {
  color: rgba(255,255,255,.78);
  font-size: 12.5px;
}

body.single-product .rayan-product-consultation-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
}

body.single-product .rayan-product-consultation-actions a {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 15px;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 9px;
  background: rgba(255,255,255,.1);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

body.single-product .rayan-product-consultation-actions a.is-primary {
  border-color: #fff;
  background: #fff;
  color: var(--wf-p-blue);
}

body.single-product .rayan-product-consultation-actions .rayan-product-icon {
  width: 18px;
  height: 18px;
}


/* Desktop readability reinforcement — v14.0.1 */
@media (min-width: 961px) {
  body.single-product .woocommerce-breadcrumb {
    font-size: 14px !important;
  }

  body.single-product .rayan-product-summary {
    font-size: 16px;
  }

  body.single-product .rayan-product-summary .rayan-product-context span {
    font-size: 15px !important;
  }

  body.single-product .rayan-product-summary .rayan-single-product-kicker,
  body.single-product .rayan-product-summary .rayan-single-product-kicker span {
    font-size: 16px !important;
  }

  body.single-product .rayan-product-summary .rayan-product-micro-proof > span,
  body.single-product .rayan-product-summary .rayan-product-micro-proof > span b {
    min-height: 0 !important;
    font-size: 16.5px !important;
    line-height: 1.9 !important;
  }

  body.single-product .rayan-product-summary .rayan-product-purchase-status,
  body.single-product .rayan-product-summary .stock {
    font-size: 15px !important;
  }
}

/* Mobile purchase dock */
body.single-product .rayan-product-mobile-dock { display: none; }

@media (min-width: 1280px) {
  body.single-product .rayan-product-gallery-column {
    position: sticky;
    top: 112px;
  }
}

@media (max-width: 1180px) {
  body.single-product .rayan-commerce-shell {
    width: min(100% - 32px, 1120px);
  }

  body.single-product .rayan-product-hero {
    grid-template-columns: minmax(0, .96fr) minmax(430px, 1.04fr);
    gap: 30px;
  }

  body.single-product .product_title {
    font-size: clamp(32px, 3.4vw, 40px) !important;
  }

  body.single-product form.cart {
    grid-template-columns: 88px 1fr 1fr;
  }

  body.single-product form.cart .quantity,
  body.single-product form.variations_form.cart .woocommerce-variation-add-to-cart {
    width: auto;
  }

  body.single-product .rayan-product-capability-band b { font-size: 13px; }
  body.single-product .rayan-product-capability-band small { font-size: 10.5px; }
}

@media (max-width: 960px) {
  body.single-product .rayan-product-after-hero,
  body.single-product.rayan-direction-ltr .rayan-product-after-hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "service"
      "capability"
      "tabs"
      "tech";
  }

  body.single-product .rayan-commerce-shell {
    width: min(100% - 28px, 820px);
    padding-bottom: 88px;
  }

  body.single-product .rayan-product-hero {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  body.single-product .rayan-product-gallery-column,
  body.single-product .rayan-product-summary {
    direction: inherit;
  }

  body.single-product .rayan-product-gallery-column { order: 1; }
  body.single-product .rayan-product-summary { order: 2; }

  body.single-product .woocommerce-product-gallery__image > a,
  body.single-product .woocommerce-product-gallery__image--placeholder {
    min-height: clamp(400px, 72vw, 560px);
  }

  body.single-product .rayan-product-service-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.single-product .rayan-product-capability-band {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.single-product .rayan-product-capability-band article:nth-child(3n) {
    border-inline-end: 0;
  }

  body.single-product .rayan-product-capability-band article:nth-child(-n+3) {
    border-bottom: 1px solid rgba(255,255,255,.16);
  }

  body.single-product .rayan-product-tech-card {
    display: grid;
    grid-template-columns: minmax(220px, .75fr) minmax(0, 1.25fr);
    gap: 16px;
    align-items: start;
  }

  body.single-product .rayan-product-tech-card header {
    align-self: start;
  }

  body.single-product .rayan-product-tech-card dl {
    margin: 0;
  }

  body.single-product .rayan-product-tech-card > a,
  body.single-product .rayan-product-tech-card > p {
    grid-column: 1 / -1;
  }

  body.single-product .rayan-product-media-viewer {
    grid-template-columns: 1fr;
  }

  body.single-product .rayan-product-media-rail {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  body.single-product .rayan-product-media-rail button {
    grid-template-columns: 1fr;
    text-align: center;
  }

  body.single-product .rayan-product-media-rail button > span {
    width: 100%;
    height: 70px;
  }

  body.single-product .rayan-product-value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  body.single-product .rayan-product-consultation-banner {
    align-items: stretch;
    flex-direction: column;
  }

  body.single-product .rayan-product-consultation-actions {
    width: 100%;
  }

  body.single-product .rayan-product-consultation-actions a {
    flex: 1;
  }
}

@media (max-width: 640px) {
  body.single-product .rayan-commerce-shell {
    width: calc(100% - 20px);
    padding-top: 10px;
    padding-bottom: calc(96px + env(safe-area-inset-bottom));
  }

  body.single-product .woocommerce-breadcrumb {
    margin-bottom: 10px !important;
    padding-inline: 3px;
    font-size: 11.5px;
  }

  body.single-product .rayan-product-hero { gap: 18px; }

  body.single-product .woocommerce-product-gallery {
    padding: 9px;
    border-radius: 14px;
  }

  body.single-product .woocommerce-product-gallery__wrapper,
  body.single-product .woocommerce-product-gallery .flex-viewport {
    border-radius: 10px;
  }

  body.single-product .woocommerce-product-gallery__image > a,
  body.single-product .woocommerce-product-gallery__image--placeholder {
    min-height: min(88vw, 420px);
  }

  body.single-product .woocommerce-product-gallery__image img {
    max-height: 420px;
    padding: 14px;
  }

  body.single-product .woocommerce div.product div.images .flex-control-thumbs {
    gap: 7px;
    margin-top: 8px !important;
  }

  body.single-product .woocommerce div.product div.images .flex-control-thumbs li {
    width: 68px !important;
    flex-basis: 68px;
  }

  body.single-product .woocommerce-product-gallery__trigger {
    bottom: 87px !important;
    left: 17px !important;
  }

  body.single-product.rayan-direction-ltr .woocommerce-product-gallery__trigger {
    right: 17px !important;
    left: auto !important;
  }

  body.single-product .rayan-product-summary {
    padding: 1px 5px 0;
  }

  body.single-product .rayan-product-context { margin-bottom: 4px; }
  body.single-product .rayan-product-context span { font-size: 13.5px !important; }
  body.single-product .rayan-single-product-kicker {
    margin-bottom: 7px;
    font-size: 14px !important;
  }

  body.single-product .product_title {
    margin-bottom: 7px !important;
    font-size: 28px !important;
    line-height: 1.42 !important;
  }

  body.single-product .woocommerce-product-rating {
    margin-bottom: 11px !important;
    font-size: 12px;
  }

  body.single-product .woocommerce-product-details__short-description {
    margin-bottom: 12px;
    font-size: 14.5px;
    line-height: 1.95;
  }

  body.single-product .rayan-product-micro-proof {
    gap: 6px;
    margin-bottom: 14px;
  }

  body.single-product .rayan-product-micro-proof > span,
  body.single-product .rayan-product-micro-proof > span b {
    min-height: 0 !important;
    gap: 9px;
    font-size: 15px !important;
    line-height: 1.85 !important;
  }

  body.single-product .rayan-product-micro-proof .rayan-product-icon {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
  }

  body.single-product .summary .price {
    font-size: 27px !important;
  }

  body.single-product .rayan-product-purchase-status {
    font-size: 12.5px;
  }

  body.single-product form.cart {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 8px;
  }

  body.single-product .rayan-product-consult-button {
    grid-column: 1 / -1;
  }

  body.single-product form.cart .quantity {
    width: 84px;
    grid-template-columns: 27px 30px 27px;
  }

  body.single-product form.cart .qty { width: 30px !important; }
  body.single-product .rayan-quantity-button { width: 27px; }

  body.single-product form.cart .single_add_to_cart_button,
  body.single-product .rayan-product-consult-button {
    min-height: 52px;
    font-size: 14.5px !important;
  }

  body.single-product form.variations_form.cart .woocommerce-variation-add-to-cart {
    grid-template-columns: 84px minmax(0, 1fr);
  }

  body.single-product form.variations_form.cart .rayan-product-consult-button {
    grid-column: 1 / -1;
  }

  body.single-product .rayan-product-after-hero {
    gap: 12px;
    margin-top: 20px;
  }

  body.single-product .rayan-product-service-strip {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  body.single-product .rayan-product-service-strip article {
    min-height: 76px;
    gap: 8px;
    padding: 10px;
  }

  body.single-product .rayan-product-service-strip .rayan-product-icon {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    padding: 7px;
  }

  body.single-product .rayan-product-service-strip b { font-size: 13px; }
  body.single-product .rayan-product-service-strip small { font-size: 10.5px; }

  body.single-product .rayan-product-capability-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 8px;
  }

  body.single-product .rayan-product-capability-band article {
    min-height: 104px;
    border-bottom: 1px solid rgba(255,255,255,.16);
  }

  body.single-product .rayan-product-capability-band article:nth-child(2n) {
    border-inline-end: 0;
  }

  body.single-product .rayan-product-capability-band article:nth-last-child(-n+2) {
    border-bottom: 0;
  }

  body.single-product .rayan-product-capability-band .rayan-product-icon {
    width: 32px;
    height: 32px;
  }

  body.single-product .rayan-product-capability-band b { font-size: 13px; }
  body.single-product .rayan-product-capability-band small { font-size: 11px; }

  body.single-product .woocommerce-tabs,
  body.single-product .rayan-product-tech-card,
  body.single-product .rayan-product-media-story {
    padding: 15px;
    border-radius: 12px;
  }

  body.single-product .woocommerce-tabs ul.tabs {
    gap: 1px;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }

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

  body.single-product .woocommerce-tabs ul.tabs li a {
    padding: 9px 11px !important;
    font-size: 12.5px;
  }

  body.single-product .woocommerce-tabs .panel {
    font-size: 13.5px;
    line-height: 2;
  }

  body.single-product .woocommerce-tabs .panel h2,
  body.single-product .woocommerce-tabs .panel h3 {
    font-size: 18px;
  }

  body.single-product .rayan-product-tech-card {
    display: block;
  }

  body.single-product .rayan-product-tech-card h2 { font-size: 17px; }
  body.single-product .rayan-product-tech-card dt,
  body.single-product .rayan-product-tech-card dd { font-size: 12px; }

  body.single-product .rayan-product-media-header {
    align-items: flex-start;
    flex-direction: column;
  }

  body.single-product .rayan-product-media-image { min-height: 300px; }
  body.single-product .rayan-product-media-rail {
    display: flex;
    overflow-x: auto;
  }

  body.single-product .rayan-product-media-rail button {
    min-width: 120px;
    flex: 0 0 120px;
  }

  body.single-product .rayan-product-value {
    padding: 18px;
    border-radius: 12px;
  }

  body.single-product .rayan-product-value h2 { font-size: 22px; }
  body.single-product .rayan-product-value-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  body.single-product .related > h2,
  body.single-product .upsells > h2 {
    font-size: 21px;
  }

  body.single-product .related ul.products,
  body.single-product .upsells ul.products {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  body.single-product .related ul.products li.product,
  body.single-product .upsells ul.products li.product {
    padding: 8px !important;
  }

  body.single-product .related .woocommerce-loop-product__title,
  body.single-product .upsells .woocommerce-loop-product__title {
    min-height: 42px;
    font-size: 13.5px !important;
  }

  body.single-product .related ul.products li.product .price,
  body.single-product .upsells ul.products li.product .price {
    font-size: 13px !important;
  }

  body.single-product .related ul.products li.product .button,
  body.single-product .upsells ul.products li.product .button {
    min-height: 35px;
    font-size: 12px !important;
  }

  body.single-product .rayan-product-consultation-banner {
    min-height: 0;
    padding: 15px;
    border-radius: 12px;
  }

  body.single-product .rayan-product-consultation-banner b { font-size: 15px; }
  body.single-product .rayan-product-consultation-banner small { font-size: 11.5px; }

  body.single-product .rayan-product-consultation-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  body.single-product .rayan-product-mobile-dock {
    position: fixed;
    z-index: 1050;
    right: 0;
    bottom: 0;
    left: 0;
    min-height: 76px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(145px, .9fr);
    align-items: center;
    gap: 10px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid #d6e0ec;
    background: rgba(255,255,255,.97);
    box-shadow: 0 -10px 30px rgba(7,35,76,.12);
    backdrop-filter: blur(16px);
  }

  body.single-product .rayan-product-mobile-dock > span {
    min-width: 0;
    display: grid;
    gap: 1px;
  }

  body.single-product .rayan-product-mobile-dock small {
    color: #6e7d91;
    font-size: 10.5px;
  }

  body.single-product .rayan-product-mobile-dock b,
  body.single-product .rayan-product-mobile-dock .price {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    color: var(--wf-p-ink) !important;
    font-size: 15px !important;
    font-weight: 900 !important;
  }

  body.single-product .rayan-product-mobile-dock > a {
    min-height: 49px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 9px 13px;
    border-radius: 9px;
    background: linear-gradient(135deg, #0869ee, var(--wf-p-blue-2));
    color: #fff;
    font-size: 13px;
    font-weight: 850;
    text-decoration: none;
  }

  body.single-product .rayan-product-mobile-dock .rayan-product-icon {
    width: 19px;
    height: 19px;
  }
}

@media (max-width: 390px) {
  body.single-product .rayan-commerce-shell { width: calc(100% - 16px); }
  body.single-product .product_title { font-size: 27px !important; }
  body.single-product .rayan-product-service-strip { grid-template-columns: 1fr; }
  body.single-product .rayan-product-service-strip article { min-height: 66px; }
  body.single-product .related ul.products,
  body.single-product .upsells ul.products { grid-template-columns: 1fr; }
  body.single-product .rayan-product-consultation-actions { grid-template-columns: 1fr; }
}
