/* The product page (templates/product.html) on RaceChip's product stage: the theme styles the stage,
   its navigation, title, tick list, green c2a and the grey-band blocks by the GTS page's body class;
   this adds what their page has no markup for: the gallery on the stage, Qty, the struck price,
   the stock line, the crumbs and the sections' text, tables and the related cards. */
.op-pd-stage figure.op-pd-backdrop { display: block; margin: 0 0 -4px; }
.op-pd-stage figure.op-pd-backdrop img { display: block; width: 100%; height: 900px; object-fit: cover; }

/* the buy column on the left, the gallery on the right (the main frame, its thumbnails in a row under it) (the theme's selectors are long: these match them) */
body.cms-racechip-gts-html .wrapper .page .stage.home-stage.op-pd-stage .teaser-text-block.op-pd-top { top: 200px; height: auto; transform: none; display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; }
body.cms-racechip-gts-html .wrapper .page .stage.home-stage.op-pd-stage .op-pd-buy { flex: 1 1 0; min-width: 0; }
.op-pd-gallery { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 12px; }
/* the main frame: a photo at its own shape with a rounded edge; the cut-out product shot (is-cutout) fills
   the frame boxless on the dark stage, a soft light and orange glow on its alpha edge */
.op-pd-main { width: 560px; height: 560px; display: flex; align-items: center; justify-content: center; }
.op-pd-main img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; border-radius: 6px; }
.op-pd-main.is-cutout img { width: 100%; height: 100%; object-fit: contain; border-radius: 0; filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.45)) drop-shadow(0 0 14px rgba(234, 91, 12, 0.28)); }
.op-pd-thumbs { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; padding: 0; }
.op-pd-thumbs li { margin: 0; padding: 0; background: none; }
/* the thumbnails straight on the stage: the product shot cut out, the photos small with a rounded edge;
   an orange ring marks the one shown, a fainter one the one under the pointer */
.op-pd-thumb { display: block; width: 64px; height: 64px; padding: 2px; border: 2px solid transparent; border-radius: 6px; background: none; cursor: pointer; transition: border-color 0.15s; }
.op-pd-thumb:hover { border-color: rgba(234, 91, 12, 0.55); }
.op-pd-thumb.is-selected { border-color: #ea5b0c; }
.op-pd-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 3px; }
.op-pd-thumb[data-cutout] img { object-fit: contain; border-radius: 0; filter: drop-shadow(0 0 4px rgba(234, 91, 12, 0.25)); }

.op-pd-crumbs { max-width: 992px; margin: 0 auto; padding-top: 24px; font: 13px/1.4 Roboto, Arial, Verdana, sans-serif; text-transform: uppercase; color: #6b6b6b; text-align: left; }
.op-pd-sep { margin: 0 6px; }
.op-pd-crumbs a { color: #3c3c3c; text-decoration: none; }
.op-pd-crumbs a:hover { color: #ea5b0c; }
.op-pd-vendor { margin: 0 0 4px; font: 16px/20px Roboto, Arial, Verdana, sans-serif; color: #f2f2f2; }
.op-pd-stage .teaser-title.op-pd-title { display: block; text-transform: none; }
.op-pd-stage .teaser-text.op-pd-sub { margin: 0; }

/* Qty, Add to cart and the price box in one row, as their c2a and price box sit */
.op-pd-form { margin: 0; }
.op-pd-stage .stage-c2a-container.op-pd-c2a { display: flex; align-items: stretch; gap: 14px; }
.op-pd-qty { display: flex; align-items: center; gap: 8px; margin: 0; font: 16px/53px Roboto, Arial, Verdana, sans-serif; color: #f2f2f2; }
.op-pd-qty input { width: 64px; height: 53px; box-sizing: border-box; padding: 0 8px; border: 1px solid #f2f2f2; background: transparent; color: #f2f2f2; font: 20px Roboto, Arial, Verdana, sans-serif; text-align: center; }
.op-pd-stage .op-pd-c2a .btn.c2a { display: inline-block; height: 53px; margin: 0; padding: 0 40px; border: 0; background: #18ac00; color: #fafafa; font: 16px/53px Roboto, Arial, Verdana, sans-serif; text-transform: uppercase; cursor: pointer; text-decoration: none; }
.op-pd-stage .op-pd-c2a .btn.c2a:hover { background: #128600; }
body.cms-racechip-gts-html .wrapper .page .stage.home-stage.op-pd-stage .op-pd-c2a .price-placeholder { display: flex; width: auto; min-width: 0; align-items: baseline; gap: 6px; box-sizing: border-box; height: 53px; padding: 0 14px; border: 1px solid #f2f2f2; color: #f2f2f2; font: 300 28px/51px Roboto, Arial, Verdana, sans-serif; white-space: nowrap; }
.op-pd-stage .op-pd-c2a .price-placeholder .currency { font-size: 17px; }
.op-pd-stage .op-pd-c2a .price-placeholder .text { font-size: 18px; }
.op-pd-was { font-size: 18px; color: #bbb; }
/* the price lifts off the stage: orange on a faint frosted pane, the box the size it was beside Qty and Add to cart */
body.cms-racechip-gts-html .wrapper .page .stage.home-stage.op-pd-stage .op-pd-c2a .price-placeholder.op-pd-price { border-color: rgba(255, 255, 255, 0.4); border-radius: 4px; background: rgba(255, 255, 255, 0.1); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 0 18px rgba(0, 0, 0, 0.25), inset 0 0 12px rgba(255, 255, 255, 0.06); }
body.cms-racechip-gts-html .wrapper .page .stage.home-stage.op-pd-stage .op-pd-c2a .price-placeholder.op-pd-price .price-value { color: #ea5b0c; font-weight: 400; }

/* desktop: the buy column fills the stage's height beside the large image: larger type, more air,
   and a clear gap before the Qty / Add to cart / price row */
@media (min-width: 1025px) {
  body.cms-racechip-gts-html .wrapper .page .stage.home-stage.op-pd-stage .op-pd-vendor { margin-bottom: 12px; font-size: 18px; line-height: 24px; }
  body.cms-racechip-gts-html .wrapper .page .stage.home-stage.op-pd-stage .teaser-text-block .teaser-title.op-pd-title,
  body.cms-racechip-gts-html .wrapper .page .stage.home-stage.op-pd-stage .teaser-text-block .teaser-title.op-pd-title strong { font-size: 58px; line-height: 64px; }
  body.cms-racechip-gts-html .wrapper .page .stage.home-stage.op-pd-stage .teaser-text-block .teaser-text.op-pd-sub { margin-top: 10px; }
  body.cms-racechip-gts-html .wrapper .page .stage.home-stage.op-pd-stage .teaser-text-block .teaser-text.op-pd-sub .subtitle { font-size: 32px; line-height: 44px; }
  body.cms-racechip-gts-html .wrapper .page .stage.home-stage.op-pd-stage .teaser-text-block .op-pd-buy .stage-list.op-pd-list { margin-top: 22px; }
  body.cms-racechip-gts-html .wrapper .page .stage.home-stage.op-pd-stage .teaser-text-block .op-pd-buy .stage-list.op-pd-list li { margin-top: 18px; font-size: 20px; line-height: 28px; }
  body.cms-racechip-gts-html .wrapper .page .stage.home-stage.op-pd-stage .op-pd-form { margin-top: 40px; }
  body.cms-racechip-gts-html .wrapper .page .stage.home-stage.op-pd-stage .teaser-text-block .stage-c2a-container.op-pd-c2a { margin-top: 0; }
  body.cms-racechip-gts-html .wrapper .page .stage.home-stage.op-pd-stage .op-pd-offer > div { margin-top: 16px; font-size: 16px; line-height: 22px; }
  body.cms-racechip-gts-html .wrapper .page .stage.home-stage.op-pd-stage .op-pd-offer > .op-pd-ship { margin-top: 6px; }
}

.op-pd-offer > div, .op-pd-note { margin: 12px 0 0; font: 15px/20px Roboto, Arial, Verdana, sans-serif; color: #f2f2f2; }
.op-pd-offer .op-pd-ship { margin-top: 4px; color: #ccc; }
.op-pd-dot { display: inline-block; width: 8px; height: 8px; margin: 0 8px 1px 0; border-radius: 50%; background: #18ac00; }
.op-pd-stock.is-out-of-stock .op-pd-dot, .op-pd-stock.is-manufacturer .op-pd-dot { background: #ea5b0c; }

/* the sections: the theme's grey-band title, then our text on the page */
/* the GTS page's #racechip-gts-page rules give its page the near-white ground, which this page has no id for */
.cms-racechip-gts-html .wrapper .page { background-color: #fafafa; }
.cms-racechip-gts-html .wrapper .page .content-container .main .op-pd-block { padding-top: 60px; margin-bottom: 0; }
.cms-racechip-gts-html .wrapper .page .content-container .main .op-pd-rail { padding-bottom: 60px; }
.op-pd-text { text-align: left; }
.op-pd-text { font: 16px/26px Roboto, Arial, Verdana, sans-serif; color: #3c3c3c; }
.op-pd-text p { margin: 0 0 12px; }
.op-pd-text a { color: #ea5b0c; }
.op-pd-desc { margin: 0 0 16px; }
.op-pd-features { margin: 0 0 16px; }
.op-pd-features p { margin: 6px 0 0; }
.op-pd-h3 { margin: 24px 0 10px; font: 22px/28px "BarlowSemiCondensedBoldItalic", Arial, Verdana, sans-serif; color: #3c3c3c; text-transform: uppercase; }
.op-pd-docs { margin: 0; padding: 0; list-style: none; }
.op-pd-docs span { color: #6b6b6b; font-size: 14px; }
.op-pd-links { display: flex; gap: 24px; }
.op-pd-scroll { overflow-x: auto; }
.op-pd-table { width: 100%; border-collapse: collapse; font: 15px/20px Roboto, Arial, Verdana, sans-serif; }
.op-pd-table th, .op-pd-table td { padding: 10px 12px; border-bottom: 1px solid #c8c8c8; text-align: left; vertical-align: top; }
.op-pd-table thead th { background: #3c3c3c; color: #fff; font-weight: 500; }
.op-pd-table tbody th { width: 40%; font-weight: 500; }
.op-pd-verdict { font-weight: 500; }
.op-pd-verdict.is-yes { color: #18ac00; }
.op-pd-verdict.is-no { color: #c85a1e; }
.op-pd-tick { display: inline-block; width: 20px; height: 14px; margin-right: 8px; background: url("/static/theme/img/checkmark-orange.png") no-repeat center / contain; }
.op-pd-text .op-pd-note { color: #3c3c3c; }
.op-pd-pick { margin-bottom: 8px; }
.op-pd-ymm { margin: 0 0 8px; padding: 16px; background: #e9e9e9; }
/* a jump to the Fitment section (its tab, #fitment) or to the picker stops below the fixed header (113px, 117 on phones) */
#fitment, .op-pd-ymm { scroll-margin-top: 133px; }
.cms-racechip-gts-html .wrapper .page .content-container .main .op-pd-ymm .form-container { height: auto; min-height: 0; }

/* the related parts: the parts module's cards, four a row on the grey band */
.op-pd-rail .op-pd-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.op-pd-rail .op-pd-cards > li { margin: 0; background-image: none; }

@media (max-width: 1024px) {
  .op-pd-main { width: 360px; height: 360px; }
  .op-pd-rail .op-pd-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* phones: the stage flows (their phone stage is the photo, then the full-width green bar): the gallery on
   white, then the title, ticks, price and a full-width Add to cart on the dark ground; the sections in a gutter */
@media (max-width: 767px) {
  body.cms-racechip-gts-html .wrapper .page .stage.home-stage.op-pd-stage { height: auto; background: #2b2b2b url("/static/theme/img/background_gradient_intro_block.jpg") center / cover; }
  body.cms-racechip-gts-html .wrapper .page .stage.home-stage.op-pd-stage figure.op-pd-backdrop,
  body.cms-racechip-gts-html .wrapper .page .stage.home-stage.op-pd-stage .product-navigation-container { display: none; }
  body.cms-racechip-gts-html .wrapper .page .stage.home-stage.op-pd-stage .content-area { position: static; height: auto; }
  body.cms-racechip-gts-html .wrapper .page .stage.home-stage.op-pd-stage .teaser-text-block.op-pd-top { position: static; top: auto; width: auto; margin: 0; padding: 16px 16px 24px; flex-direction: column; align-items: stretch; gap: 20px; }
  body.cms-racechip-gts-html .wrapper .page .stage.home-stage.op-pd-stage .op-pd-gallery { order: -1; flex-direction: column; align-items: stretch; }
  .op-pd-main { width: 100%; height: auto; aspect-ratio: 1; }
  body.cms-racechip-gts-html .wrapper .page .stage.home-stage.op-pd-stage .teaser-title.op-pd-title { font-size: 30px; line-height: 36px; }
  body.cms-racechip-gts-html .wrapper .page .stage.home-stage.op-pd-stage .teaser-text.op-pd-sub .subtitle { font-size: 22px; line-height: 30px; }
  body.cms-racechip-gts-html .wrapper .page .stage.home-stage.op-pd-stage .teaser-text-block.op-pd-top { padding-top: 72px; }
  body.cms-racechip-gts-html .wrapper .page .stage.home-stage.op-pd-stage .op-pd-main img,
  body.cms-racechip-gts-html .wrapper .page .stage.home-stage.op-pd-stage .op-pd-thumb img { display: block; }
  body.cms-racechip-gts-html .wrapper .page .stage.home-stage.op-pd-stage .teaser-text-block .op-pd-buy .stage-list.op-pd-list { display: block; margin: 12px 0 0; }
  body.cms-racechip-gts-html .wrapper .page .stage.home-stage.op-pd-stage .teaser-text-block .teaser-title.op-pd-title,
  body.cms-racechip-gts-html .wrapper .page .stage.home-stage.op-pd-stage .teaser-text.op-pd-sub { margin: 0; padding: 0; }
  body.cms-racechip-gts-html .wrapper .page .stage.home-stage.op-pd-stage .teaser-text-block .op-pd-buy .stage-c2a-container.op-pd-c2a { display: flex; flex-wrap: wrap; height: auto; margin-top: 32px; }
  body.cms-racechip-gts-html .wrapper .page .stage.home-stage.op-pd-stage .op-pd-c2a .btn.c2a { order: 3; flex: 1 1 100%; text-align: center; }
  body.cms-racechip-gts-html .wrapper .page .stage.home-stage.op-pd-stage .op-pd-c2a .price-placeholder { flex: 1 1 auto; }
  .cms-racechip-gts-html .wrapper .page .content-container .main .op-pd-block { padding: 40px 16px 0; }
  .op-pd-crumbs { padding: 16px 16px 0; }
  .op-pd-links { flex-wrap: wrap; }
  .op-pd-rail .op-pd-cards { grid-template-columns: minmax(0, 1fr); }
}
