/* Scoped to the single-product presentation; no global theme or checkout rules. */
body.single-product .orv-product-hero,
body.single-product .orv-product-sections {
  box-sizing: border-box; width: 100%; max-width: 1180px !important;
  margin-inline: auto !important; min-width: 0;
}
body.single-product .orv-product-hero {
  display: grid !important; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px); align-items: start; margin-block: 32px 48px;
}
body.single-product .orv-product-hero > .wp-block-column { min-width: 0; width: auto !important; flex-basis: auto !important; }
body.single-product .orv-product-hero .woocommerce-product-gallery { width: 100% !important; float: none !important; margin: 0 !important; }
body.single-product .orv-product-hero h1,
body.single-product .orv-classic-product > .summary h1 {
  font-size: clamp(30px, 3.3vw, 46px); line-height: 1.16; letter-spacing: -.025em; margin: 0 0 24px; overflow-wrap: anywhere;
}
body.single-product .orv-full-excerpt,
body.single-product .orv-product-hero .woocommerce-product-details__short-description {
  font-size: 16px; line-height: 1.8; max-height: none; overflow: visible; -webkit-line-clamp: unset;
}
body.single-product .orv-product-hero .wp-block-post-excerpt__more-link { display: none; }
body.single-product .orv-product-hero .wp-block-woocommerce-product-meta { margin-top: 24px; font-size: 13px; }
body.single-product .orv-product-hero .wp-block-woocommerce-product-meta .wp-block-group { flex-wrap: wrap; }
body.single-product .orv-product-sections { clear: both; color: inherit; margin-block: 40px; }
body.single-product .orv-product-sections *,
body.single-product .orv-product-sections *::before { box-sizing: border-box; }
body.single-product .orv-product-sections h2 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; margin: 0 0 28px; }
body.single-product .orv-key-parameters { padding: 30px; background: #f5f2ec; border-top: 2px solid #9a7446; margin-bottom: 56px; }
body.single-product .orv-parameter-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px; margin: 0; }
body.single-product .orv-parameter-grid:empty { display: none; }
body.single-product .orv-parameter-grid dt { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #675a4b; margin: 0 0 10px; }
body.single-product .orv-parameter-grid dd { margin: 0; font-size: 17px; line-height: 1.5; overflow-wrap: anywhere; }
body.single-product .orv-spec-scroll { overflow-x: auto; margin-bottom: 24px; }
body.single-product .orv-paired-specs { min-width: 380px; }
body.single-product .orv-key-parameters table { width: 100%; border-collapse: collapse; margin: 0; background: transparent; }
body.single-product .orv-key-parameters th,
body.single-product .orv-key-parameters td { text-align: left; padding: 14px 16px; border: 0; border-bottom: 1px solid #dcd5ca; white-space: normal; overflow-wrap: anywhere; }
body.single-product .orv-legacy-parameters { overflow-x: auto; }
body.single-product .orv-legacy-parameters:not(:empty) { margin-top: 24px; }
body.single-product .orv-video-section { margin-bottom: 64px; }
body.single-product .orv-video-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 320px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
body.single-product .orv-video-frame { min-width: 0; }
body.single-product .orv-video-frame video { display: block; width: 100%; aspect-ratio: 9 / 16; height: auto; object-fit: contain; background: #111820; border-radius: 6px; }
body.single-product .orv-video-copy h3 { font-size: 23px; line-height: 1.3; margin: 0 0 16px; }
body.single-product .orv-video-copy p { font-size: 16px; line-height: 1.8; margin: 0; }
body.single-product .orv-video-error { font-size: 14px; }
body.single-product .orv-product-sections .orv-product-detail-images { display: flex; flex-direction: column; gap: 0; width: 100%; max-width: 1180px; margin: 0 auto; padding: 0; }
body.single-product .orv-product-sections .orv-product-detail-images img { display: block; width: 100%; max-width: 100%; height: auto; margin: 0; padding: 0; }
body.single-product .orv-classic-product { max-width: 1180px; margin-inline: auto; }
body.single-product .orv-classic-product > .woocommerce-product-gallery { width: 53% !important; }
body.single-product .orv-classic-product > .summary { width: 43% !important; }
@media (max-width: 781px) {
  body.single-product .orv-product-hero { grid-template-columns: 1fr; gap: 28px; margin-block: 20px 32px; }
  body.single-product .orv-key-parameters { padding: 22px 16px; margin-bottom: 36px; }
  body.single-product .orv-parameter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  body.single-product .orv-paired-specs { min-width: 0; table-layout: fixed; }
  body.single-product .orv-paired-specs th,
  body.single-product .orv-paired-specs td { padding: 12px 6px; font-size: 13px; }
  body.single-product .orv-video-grid { grid-template-columns: 1fr; gap: 24px; }
  body.single-product .orv-video-frame { grid-row: 1; width: min(100%, 320px); justify-self: center; }
  body.single-product .orv-video-copy { text-align: center; }
  body.single-product .orv-video-section { margin-bottom: 40px; }
  body.single-product .orv-classic-product > .woocommerce-product-gallery,
  body.single-product .orv-classic-product > .summary { float: none !important; width: 100% !important; }
}
body.single-product .orv-product-sections [hidden] { display: none !important; }

/* Reference-inspired product summary only; Key Parameters and later modules retain their existing rules. */
body.single-product .orv-product-hero {
  grid-template-columns: minmax(0, 52fr) minmax(0, 48fr) !important;
  gap: 32px !important;
  align-items: start;
  margin-block: 22px 24px !important;
  color: #405064;
}
body.single-product .orv-product-hero h1 {
  color: #102b4a;
  font-size: clamp(38px, 2.35vw, 40px);
  line-height: 1.14;
  letter-spacing: -.025em;
  margin: 0 0 14px;
  overflow-wrap: normal;
  word-break: normal;
}
body.single-product .orv-full-excerpt { color: #405064; font-size: 14px; line-height: 1.58; margin: 0 0 14px; }
body.single-product .orv-full-excerpt > p { margin: 0 0 14px; }
/* Portrait stage accepts today's square photographs and future rectangular group images. */
body.single-product .orv-product-hero .wp-block-woocommerce-product-image-gallery { width: 100% !important; max-width: 100% !important; }
body.single-product .orv-product-hero .woocommerce-product-gallery { position: relative; width: 100% !important; max-width: 100% !important; padding-left: 74px; box-sizing: border-box; }
body.single-product .orv-product-hero .flex-viewport { aspect-ratio: 4 / 5; height: auto !important; background: #f1f2f3; overflow: hidden; }
body.single-product .orv-product-hero .woocommerce-product-gallery__wrapper { height: 100%; }
body.single-product .orv-product-hero .woocommerce-product-gallery__image { height: 100%; background: #f1f2f3; }
body.single-product .orv-product-hero .woocommerce-product-gallery__image > a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 0; box-sizing: border-box; }
body.single-product .orv-product-hero .woocommerce-product-gallery__image a img:not(.zoomImg) { display: block; width: 100% !important; max-width: 100% !important; height: 100% !important; max-height: 100% !important; object-fit: contain !important; }
body.single-product .orv-product-hero .flex-control-thumbs { position: absolute; left: 0; top: 0; width: 62px; margin: 0 !important; padding: 0; display: flex; flex-direction: column; gap: 10px; list-style: none; }
body.single-product .orv-product-hero .flex-control-thumbs li { float: none !important; width: 62px !important; margin: 0 !important; }
body.single-product .orv-product-hero .flex-control-thumbs img { display: block; width: 62px !important; height: 78px !important; padding: 0; box-sizing: border-box; object-fit: cover !important; background: #f3f4f5; border: 1px solid #d8e1eb; opacity: .78; }
body.single-product .orv-product-hero .flex-control-thumbs img.flex-active { border-color: #b98a45; opacity: 1; }
body.single-product .orv-quick-specs { display: block; margin: 0 0 14px; border: 1px solid #d8e1eb; border-radius: 3px; background: #f9fbfd; overflow: hidden; }
body.single-product .orv-quick-specs > div { display: grid; grid-template-columns: minmax(116px, 34%) 1fr; margin: 0; border-bottom: 1px solid #d8e1eb; }
body.single-product .orv-quick-specs > div:last-child { border-bottom: 0; }
body.single-product .orv-quick-specs dt,
body.single-product .orv-quick-specs dd { margin: 0; padding: 9px 12px; color: #233a55; font-size: 13px; line-height: 1.35; }
body.single-product .orv-quick-specs dt { background: #eef4fa; font-weight: 700; }
body.single-product .orv-quick-specs dd { background: #f9fbfd; }
body.single-product .orv-product-hero .yith-ywraq-add-to-quote,
body.single-product .orv-product-hero .yith-ywraq-add-button,
body.single-product .orv-product-hero .yith_ywraq_add_item_browse-list { width: 100%; margin: 0 0 12px; }
body.single-product .orv-product-hero .add-request-quote-button,
body.single-product .orv-product-hero .yith_ywraq_add_item_browse-list a {
  display: flex !important; align-items: center; justify-content: center; gap: 12px;
  width: 100% !important; min-height: 50px; box-sizing: border-box;
  padding: 12px 20px !important; border: 0 !important; border-radius: 3px;
  background: #b98a45 !important; color: #fff !important; font-weight: 700;
  text-decoration: none !important; transition: background-color .2s ease;
}
body.single-product .orv-product-hero .add-request-quote-button::before,
body.single-product .orv-product-hero .yith_ywraq_add_item_browse-list a::before { content: '✉'; font-size: 18px; font-weight: 400; }
body.single-product .orv-product-hero .add-request-quote-button::after,
body.single-product .orv-product-hero .yith_ywraq_add_item_browse-list a::after { content: '→'; margin-left: auto; font-size: 18px; font-weight: 400; }
body.single-product .orv-product-hero .add-request-quote-button:hover,
body.single-product .orv-product-hero .yith_ywraq_add_item_browse-list a:hover { background: #a67635 !important; }
body.single-product .orv-product-hero .yith_ywraq_add_item_response_message { color: #526274; font-size: 13px; margin: 0 0 8px; }
body.single-product .orv-product-hero .wp-block-woocommerce-product-meta { margin-top: 10px; color: #526274; font-size: 13px; opacity: 1; }
body.single-product .orv-product-hero .wp-block-woocommerce-product-meta a { color: #1d5e94; }
body.single-product .orv-product-sections { margin-top: 24px !important; }
@media (max-width: 781px) {
  body.single-product .orv-product-hero { grid-template-columns: 1fr !important; gap: 22px !important; margin-block: 16px 20px !important; }
  body.single-product .orv-product-hero h1 { font-size: clamp(28px, 8vw, 32px); line-height: 1.15; margin-bottom: 14px; }
  body.single-product .orv-product-hero .woocommerce-product-gallery { padding-left: 0; }
  body.single-product .orv-product-hero .flex-viewport { aspect-ratio: 4 / 5; }
  body.single-product .orv-product-hero .woocommerce-product-gallery__image > a { width: 100%; }
  body.single-product .orv-product-hero .flex-control-thumbs { position: static; width: 100%; margin-top: 10px !important; flex-direction: row; gap: 8px; overflow-x: auto; }
  body.single-product .orv-product-hero .flex-control-thumbs li { flex: 0 0 64px; width: 64px !important; }
  body.single-product .orv-product-hero .flex-control-thumbs img { width: 64px !important; height: 80px !important; }
  body.single-product .orv-quick-specs > div { grid-template-columns: minmax(102px, 36%) 1fr; }
  body.single-product .orv-quick-specs dt,
  body.single-product .orv-quick-specs dd { padding: 9px 10px; }
}

/* Preserve YITH behavior while removing its empty legacy spacer. */
body.single-product .orv-product-hero .add-request-quote-button { margin: 0 !important; }
body.single-product .orv-product-hero .yith-ywraq-add-button,
body.single-product .orv-product-hero .yith-ywraq-add-to-quote { position: relative; margin-bottom: 0 !important; }
body.single-product .orv-product-hero .yith-ywraq-add-button .ajax-loading { position: absolute; right: 16px; top: 17px; }
body.single-product .orv-product-hero .yith-ywraq-add-to-quote + .clear { margin: 0 !important; }

/* YITH's post-add link and the native meta wrapper need the same summary styling. */
body.single-product .orv-product-hero .yith_ywraq_add_item_browse_message a { display: flex !important; align-items: center; justify-content: center; gap: 12px; width: 100% !important; min-height: 50px; box-sizing: border-box; padding: 12px 20px !important; border: 0 !important; border-radius: 3px; background: #b98a45 !important; color: #fff !important; font-weight: 700; text-decoration: none !important; }
body.single-product .orv-product-hero .yith_ywraq_add_item_browse_message a::before { content: '✉'; font-size: 18px; font-weight: 400; }
body.single-product .orv-product-hero .yith_ywraq_add_item_browse_message a::after { content: '→'; margin-left: auto; font-size: 18px; font-weight: 400; }
body.single-product .orv-product-hero .yith_ywraq_add_item_browse_message a:hover { background: #a67635 !important; }
body.single-product .orv-product-hero .wp-block-woocommerce-product-meta .wp-block-group { gap: 8px 16px !important; }

/* Second screen: one continuous video presentation, without repeated first-screen specs. */
body.single-product .orv-product-sections > .orv-key-parameters { display: none !important; }
body.single-product .orv-product-sections > .orv-video-section {
  width: 100%; max-width: 1180px; margin: 0 auto 64px; padding: clamp(24px, 3vw, 38px);
  color: #f6f8fb; background: #102b4a; border-radius: 4px;
  box-sizing: border-box; overflow: hidden;
}
body.single-product .orv-video-section > h2 {
  display: flex; align-items: center; justify-content: center; gap: 20px;
  color: #fff; text-align: center; margin: 0 0 18px;
  font-size: clamp(25px, 2.5vw, 31px); line-height: 1.25;
}
body.single-product .orv-video-section > h2::before,
/* Scoped to the single-product presentation; no global theme or checkout rules. */
body.single-product .orv-product-hero,
body.single-product .orv-product-sections {
  box-sizing: border-box; width: 100%; max-width: 1180px !important;
  margin-inline: auto !important; min-width: 0;
}
body.single-product .orv-product-hero {
  display: grid !important; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px); align-items: start; margin-block: 32px 48px;
}
body.single-product .orv-product-hero > .wp-block-column { min-width: 0; width: auto !important; flex-basis: auto !important; }
body.single-product .orv-product-hero .woocommerce-product-gallery { width: 100% !important; float: none !important; margin: 0 !important; }
body.single-product .orv-product-hero h1,
body.single-product .orv-classic-product > .summary h1 {
  font-size: clamp(30px, 3.3vw, 46px); line-height: 1.16; letter-spacing: -.025em; margin: 0 0 24px; overflow-wrap: anywhere;
}
body.single-product .orv-full-excerpt,
body.single-product .orv-product-hero .woocommerce-product-details__short-description {
  font-size: 16px; line-height: 1.8; max-height: none; overflow: visible; -webkit-line-clamp: unset;
}
body.single-product .orv-product-hero .wp-block-post-excerpt__more-link { display: none; }
body.single-product .orv-product-hero .wp-block-woocommerce-product-meta { margin-top: 24px; font-size: 13px; }
body.single-product .orv-product-hero .wp-block-woocommerce-product-meta .wp-block-group { flex-wrap: wrap; }
body.single-product .orv-product-sections { clear: both; color: inherit; margin-block: 40px; }
body.single-product .orv-product-sections *,
body.single-product .orv-product-sections *::before { box-sizing: border-box; }
body.single-product .orv-product-sections h2 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; margin: 0 0 28px; }
body.single-product .orv-key-parameters { padding: 30px; background: #f5f2ec; border-top: 2px solid #9a7446; margin-bottom: 56px; }
body.single-product .orv-parameter-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px; margin: 0; }
body.single-product .orv-parameter-grid:empty { display: none; }
body.single-product .orv-parameter-grid dt { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #675a4b; margin: 0 0 10px; }
body.single-product .orv-parameter-grid dd { margin: 0; font-size: 17px; line-height: 1.5; overflow-wrap: anywhere; }
body.single-product .orv-spec-scroll { overflow-x: auto; margin-bottom: 24px; }
body.single-product .orv-paired-specs { min-width: 380px; }
body.single-product .orv-key-parameters table { width: 100%; border-collapse: collapse; margin: 0; background: transparent; }
body.single-product .orv-key-parameters th,
body.single-product .orv-key-parameters td { text-align: left; padding: 14px 16px; border: 0; border-bottom: 1px solid #dcd5ca; white-space: normal; overflow-wrap: anywhere; }
body.single-product .orv-legacy-parameters { overflow-x: auto; }
body.single-product .orv-legacy-parameters:not(:empty) { margin-top: 24px; }
body.single-product .orv-video-section { margin-bottom: 64px; }
body.single-product .orv-video-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 320px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
body.single-product .orv-video-frame { min-width: 0; }
body.single-product .orv-video-frame video { display: block; width: 100%; aspect-ratio: 9 / 16; height: auto; object-fit: contain; background: #111820; border-radius: 6px; }
body.single-product .orv-video-copy h3 { font-size: 23px; line-height: 1.3; margin: 0 0 16px; }
body.single-product .orv-video-copy p { font-size: 16px; line-height: 1.8; margin: 0; }
body.single-product .orv-video-error { font-size: 14px; }
body.single-product .orv-product-sections .orv-product-detail-images { display: flex; flex-direction: column; gap: 0; width: 100%; max-width: 1180px; margin: 0 auto; padding: 0; }
body.single-product .orv-product-sections .orv-product-detail-images img { display: block; width: 100%; max-width: 100%; height: auto; margin: 0; padding: 0; }
body.single-product .orv-classic-product { max-width: 1180px; margin-inline: auto; }
body.single-product .orv-classic-product > .woocommerce-product-gallery { width: 53% !important; }
body.single-product .orv-classic-product > .summary { width: 43% !important; }
@media (max-width: 781px) {
  body.single-product .orv-product-hero { grid-template-columns: 1fr; gap: 28px; margin-block: 20px 32px; }
  body.single-product .orv-key-parameters { padding: 22px 16px; margin-bottom: 36px; }
  body.single-product .orv-parameter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  body.single-product .orv-paired-specs { min-width: 0; table-layout: fixed; }
  body.single-product .orv-paired-specs th,
  body.single-product .orv-paired-specs td { padding: 12px 6px; font-size: 13px; }
  body.single-product .orv-video-grid { grid-template-columns: 1fr; gap: 24px; }
  body.single-product .orv-video-frame { grid-row: 1; width: min(100%, 320px); justify-self: center; }
  body.single-product .orv-video-copy { text-align: center; }
  body.single-product .orv-video-section { margin-bottom: 40px; }
  body.single-product .orv-classic-product > .woocommerce-product-gallery,
  body.single-product .orv-classic-product > .summary { float: none !important; width: 100% !important; }
}
body.single-product .orv-product-sections [hidden] { display: none !important; }

/* Reference-inspired product summary only; Key Parameters and later modules retain their existing rules. */
body.single-product .orv-product-hero {
  grid-template-columns: minmax(0, 52fr) minmax(0, 48fr) !important;
  gap: 32px !important;
  align-items: start;
  margin-block: 22px 24px !important;
  color: #405064;
}
body.single-product .orv-product-hero h1 {
  color: #102b4a;
  font-size: clamp(38px, 2.35vw, 40px);
  line-height: 1.14;
  letter-spacing: -.025em;
  margin: 0 0 14px;
  overflow-wrap: normal;
  word-break: normal;
}
body.single-product .orv-full-excerpt { color: #405064; font-size: 14px; line-height: 1.58; margin: 0 0 14px; }
body.single-product .orv-full-excerpt > p { margin: 0 0 14px; }
/* Portrait stage accepts today's square photographs and future rectangular group images. */
body.single-product .orv-product-hero .wp-block-woocommerce-product-image-gallery { width: 100% !important; max-width: 100% !important; }
body.single-product .orv-product-hero .woocommerce-product-gallery { position: relative; width: 100% !important; max-width: 100% !important; padding-left: 74px; box-sizing: border-box; }
body.single-product .orv-product-hero .flex-viewport { aspect-ratio: 4 / 5; height: auto !important; background: #f1f2f3; overflow: hidden; }
body.single-product .orv-product-hero .woocommerce-product-gallery__wrapper { height: 100%; }
body.single-product .orv-product-hero .woocommerce-product-gallery__image { height: 100%; background: #f1f2f3; }
body.single-product .orv-product-hero .woocommerce-product-gallery__image > a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 0; box-sizing: border-box; }
body.single-product .orv-product-hero .woocommerce-product-gallery__image a img:not(.zoomImg) { display: block; width: 100% !important; max-width: 100% !important; height: 100% !important; max-height: 100% !important; object-fit: contain !important; }
body.single-product .orv-product-hero .flex-control-thumbs { position: absolute; left: 0; top: 0; width: 62px; margin: 0 !important; padding: 0; display: flex; flex-direction: column; gap: 10px; list-style: none; }
body.single-product .orv-product-hero .flex-control-thumbs li { float: none !important; width: 62px !important; margin: 0 !important; }
body.single-product .orv-product-hero .flex-control-thumbs img { display: block; width: 62px !important; height: 78px !important; padding: 0; box-sizing: border-box; object-fit: cover !important; background: #f3f4f5; border: 1px solid #d8e1eb; opacity: .78; }
body.single-product .orv-product-hero .flex-control-thumbs img.flex-active { border-color: #b98a45; opacity: 1; }
body.single-product .orv-quick-specs { display: block; margin: 0 0 14px; border: 1px solid #d8e1eb; border-radius: 3px; background: #f9fbfd; overflow: hidden; }
body.single-product .orv-quick-specs > div { display: grid; grid-template-columns: minmax(116px, 34%) 1fr; margin: 0; border-bottom: 1px solid #d8e1eb; }
body.single-product .orv-quick-specs > div:last-child { border-bottom: 0; }
body.single-product .orv-quick-specs dt,
body.single-product .orv-quick-specs dd { margin: 0; padding: 9px 12px; color: #233a55; font-size: 13px; line-height: 1.35; }
body.single-product .orv-quick-specs dt { background: #eef4fa; font-weight: 700; }
body.single-product .orv-quick-specs dd { background: #f9fbfd; }
body.single-product .orv-product-hero .yith-ywraq-add-to-quote,
body.single-product .orv-product-hero .yith-ywraq-add-button,
body.single-product .orv-product-hero .yith_ywraq_add_item_browse-list { width: 100%; margin: 0 0 12px; }
body.single-product .orv-product-hero .add-request-quote-button,
body.single-product .orv-product-hero .yith_ywraq_add_item_browse-list a {
  display: flex !important; align-items: center; justify-content: center; gap: 12px;
  width: 100% !important; min-height: 50px; box-sizing: border-box;
  padding: 12px 20px !important; border: 0 !important; border-radius: 3px;
  background: #b98a45 !important; color: #fff !important; font-weight: 700;
  text-decoration: none !important; transition: background-color .2s ease;
}
body.single-product .orv-product-hero .add-request-quote-button::before,
body.single-product .orv-product-hero .yith_ywraq_add_item_browse-list a::before { content: '✉'; font-size: 18px; font-weight: 400; }
body.single-product .orv-product-hero .add-request-quote-button::after,
body.single-product .orv-product-hero .yith_ywraq_add_item_browse-list a::after { content: '→'; margin-left: auto; font-size: 18px; font-weight: 400; }
body.single-product .orv-product-hero .add-request-quote-button:hover,
body.single-product .orv-product-hero .yith_ywraq_add_item_browse-list a:hover { background: #a67635 !important; }
body.single-product .orv-product-hero .yith_ywraq_add_item_response_message { color: #526274; font-size: 13px; margin: 0 0 8px; }
body.single-product .orv-product-hero .wp-block-woocommerce-product-meta { margin-top: 10px; color: #526274; font-size: 13px; opacity: 1; }
body.single-product .orv-product-hero .wp-block-woocommerce-product-meta a { color: #1d5e94; }
body.single-product .orv-product-sections { margin-top: 24px !important; }
@media (max-width: 781px) {
  body.single-product .orv-product-hero { grid-template-columns: 1fr !important; gap: 22px !important; margin-block: 16px 20px !important; }
  body.single-product .orv-product-hero h1 { font-size: clamp(28px, 8vw, 32px); line-height: 1.15; margin-bottom: 14px; }
  body.single-product .orv-product-hero .woocommerce-product-gallery { padding-left: 0; }
  body.single-product .orv-product-hero .flex-viewport { aspect-ratio: 4 / 5; }
  body.single-product .orv-product-hero .woocommerce-product-gallery__image > a { width: 100%; }
  body.single-product .orv-product-hero .flex-control-thumbs { position: static; width: 100%; margin-top: 10px !important; flex-direction: row; gap: 8px; overflow-x: auto; }
  body.single-product .orv-product-hero .flex-control-thumbs li { flex: 0 0 64px; width: 64px !important; }
  body.single-product .orv-product-hero .flex-control-thumbs img { width: 64px !important; height: 80px !important; }
  body.single-product .orv-quick-specs > div { grid-template-columns: minmax(102px, 36%) 1fr; }
  body.single-product .orv-quick-specs dt,
  body.single-product .orv-quick-specs dd { padding: 9px 10px; }
}

/* Preserve YITH behavior while removing its empty legacy spacer. */
body.single-product .orv-product-hero .add-request-quote-button { margin: 0 !important; }
body.single-product .orv-product-hero .yith-ywraq-add-button,
body.single-product .orv-product-hero .yith-ywraq-add-to-quote { position: relative; margin-bottom: 0 !important; }
body.single-product .orv-product-hero .yith-ywraq-add-button .ajax-loading { position: absolute; right: 16px; top: 17px; }
body.single-product .orv-product-hero .yith-ywraq-add-to-quote + .clear { margin: 0 !important; }

/* YITH's post-add link and the native meta wrapper need the same summary styling. */
body.single-product .orv-product-hero .yith_ywraq_add_item_browse_message a { display: flex !important; align-items: center; justify-content: center; gap: 12px; width: 100% !important; min-height: 50px; box-sizing: border-box; padding: 12px 20px !important; border: 0 !important; border-radius: 3px; background: #b98a45 !important; color: #fff !important; font-weight: 700; text-decoration: none !important; }
body.single-product .orv-product-hero .yith_ywraq_add_item_browse_message a::before { content: '✉'; font-size: 18px; font-weight: 400; }
body.single-product .orv-product-hero .yith_ywraq_add_item_browse_message a::after { content: '→'; margin-left: auto; font-size: 18px; font-weight: 400; }
body.single-product .orv-product-hero .yith_ywraq_add_item_browse_message a:hover { background: #a67635 !important; }
body.single-product .orv-product-hero .wp-block-woocommerce-product-meta .wp-block-group { gap: 8px 16px !important; }

/* Second screen: one continuous video presentation, without repeated first-screen specs. */
body.single-product .orv-product-sections > .orv-key-parameters { display: none !important; }
body.single-product .orv-product-sections > .orv-video-section {
  width: 100%; max-width: 1180px; margin: 0 auto 64px; padding: clamp(24px, 3vw, 38px);
  color: #f6f8fb; background: #102b4a; border-radius: 4px;
  box-sizing: border-box; overflow: hidden;
}
body.single-product .orv-video-section > h2 {
  display: flex; align-items: center; justify-content: center; gap: 20px;
  color: #fff; text-align: center; margin: 0 0 18px;
  font-size: clamp(25px, 2.5vw, 31px); line-height: 1.25;
}
body.single-product .orv-video-section > h2::before,
body.single-product .orv-video-section > h2::after {
  content: ''; display: block; width: min(16%, 145px); height: 2px; background: #b98a45;
}
body.single-product .orv-video-section .orv-video-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 280px) minmax(0, 1fr);
  align-items: center; gap: clamp(26px, 4vw, 54px);
}
body.single-product .orv-video-section .orv-video-copy { min-width: 0; text-align: left; }
body.single-product .orv-video-section .orv-video-copy h3 {
  color: #d5a75f; font-size: clamp(23px, 2.1vw, 29px); line-height: 1.22;
  margin: 0 0 16px; letter-spacing: -.015em;
}
body.single-product .orv-video-section .orv-video-copy h3::after {
  content: ''; display: block; width: 42px; height: 3px; margin-top: 16px; background: #b98a45;
}
body.single-product .orv-video-section .orv-video-copy p {
  color: #f6f8fb; font-size: clamp(15px, 1.45vw, 18px); line-height: 1.65; margin: 0;
}
body.single-product .orv-video-section .orv-video-frame { width: 100%; min-width: 0; }
body.single-product .orv-video-section .orv-video-frame video {
  display: block; width: 100%; height: auto; aspect-ratio: 9 / 16;
  object-fit: contain; background: #111820; border-radius: 3px;
}
body.single-product .orv-video-section .orv-video-error { color: #fff; }
body.single-product .orv-video-section .orv-video-error a { color: #e0b779; }
@media (max-width: 781px) {
  body.single-product .orv-product-sections > .orv-video-section {
    padding: 22px 18px 26px; margin-bottom: 40px;
  }
  body.single-product .orv-video-section > h2 { gap: 12px; margin-bottom: 22px; font-size: 24px; }
  body.single-product .orv-video-section > h2::before,
  body.single-product .orv-video-section > h2::after { width: 13%; }
  body.single-product .orv-video-section .orv-video-grid {
    grid-template-columns: minmax(0, 1fr); gap: 22px;
  }
  body.single-product .orv-video-section .orv-video-copy { text-align: left; }
  body.single-product .orv-video-section .orv-video-copy:first-child { grid-row: 1; }
  body.single-product .orv-video-section .orv-video-frame {
    grid-row: 2; width: min(100%, 270px); justify-self: center;
  }
  body.single-product .orv-video-section .orv-video-copy:last-child { grid-row: 3; }
  body.single-product .orv-video-section .orv-video-copy h3 { font-size: 22px; margin-bottom: 10px; }
  body.single-product .orv-video-section .orv-video-copy h3::after { margin-top: 10px; }
  body.single-product .orv-video-section .orv-video-copy p { font-size: 15px; line-height: 1.6; }
}


/* Product gallery thumbnails: fill the portrait frame without inner padding. */
body.single-product .orv-product-hero .flex-control-thumbs img {
  width: 62px !important;
  height: 78px !important;
  padding: 0 !important;
  object-fit: cover !important;
  object-position: center !important;
  opacity: .82;
}
body.single-product .orv-product-hero .flex-control-thumbs img.flex-active { opacity: 1; }
@media (max-width: 781px) {
  body.single-product .orv-product-hero .flex-control-thumbs img {
    width: 64px !important;
    height: 80px !important;
  }
}
