/* RC runner page v1 — three columns: color filter | photos + details | ordering box */
@media (min-width: 768px) {
  .rc-rp .product_details_wrap > .row {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    column-gap: 28px;
    align-items: start;
  }
  .rc-rp .product_details_wrap > .row > * { width: 100%; max-width: none; flex: none; }
  .rc-rp .product_details_wrap > .row > .col-md-7 { grid-column: 1; grid-row: 1; }
  .rc-rp .product_details_wrap > .row > .col-md-5 { grid-column: 2; grid-row: 1 / span 3; align-self: stretch; }
  .rc-rp .product_details_wrap > .row > .woocommerce-tabs { grid-column: 1; grid-row: 2; margin-top: 28px; }
  .rc-rp .product_details_wrap > .row > .upsells { grid-column: 1; grid-row: 3; }
  .rc-rp .summary.entry-summary { position: sticky; top: 16px; }
  .rc-rp .rc-color-row { display: none; }
}

.rc-rp-js .summary .text-gry-color { display: none; }
.rc-rp .summary .product_title { font-size: 26px; line-height: 1.2; font-weight: 800; margin: 0 0 4px 0; }
.rc-rp .rc-tag { font-size: 13px; color: #555; margin: 0 0 10px 0; }
.rc-rp-js .summary > .price { display: none !important; }
.rc-rp .rc-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 0 0 10px 0; }
.rc-rp-js .summary form.variations_form { margin-top: 0 !important; }
.rc-rp .rc-price-amt { font-size: 30px; font-weight: 800; color: #1c1c1c; line-height: 1.1; }
.rc-rp .rc-price-amt .screen-reader-text { position: absolute; left: -9999px; }
.rc-rp .rc-price-for { font-size: 14px; color: #555; }

.rc-rp .rc-color-row { align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid #e3e3e3; border-radius: 8px; margin: 0 0 14px 0; font-size: 14px; }
@media (max-width: 767.98px) { .rc-rp .rc-color-row { display: flex; } }
.rc-rp .rc-color-chip { width: 28px; height: 28px; border-radius: 4px; background: #b5121b; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.15); flex: none; }
.rc-rp .rc-color-row a { margin-left: auto; font-weight: 600; font-size: 13px; }

/* hide the original Width/Length rows; the selects stay in the page and drive WooCommerce */
.rc-rp-js form.variations_form > table.variations { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.rc-rp .rc-group { margin: 0 0 14px 0; }
.rc-rp .rc-group-label { font-size: 14px; margin: 0 0 8px 0; }
.rc-rp .rc-group-label span { color: #555; }
.rc-rp .rc-pills { display: grid; gap: 6px; }
.rc-rp .rc-pills.rc-w { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.rc-rp .rc-pills.rc-l { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.rc-rp .rc-pill { height: 40px; border-radius: 6px; font-size: 14px; font-weight: 700; padding: 0; cursor: pointer; background: #fff; color: #1c1c1c; border: 1px solid #c9c9c9; font-family: inherit; }
.rc-rp .rc-pill:hover { border-color: #1c1c1c; }
.rc-rp .rc-pill[aria-pressed="true"] { background: #1c1c1c; color: #fff; border-color: #1c1c1c; }
.rc-rp .rc-pill:disabled { opacity: 0.35; cursor: not-allowed; }
.rc-rp .rc-other { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 13px; color: #555; }
.rc-rp .rc-other label { white-space: nowrap; margin: 0; font-weight: 400; }
.rc-rp .rc-other select { height: 38px; border: 1px solid #c9c9c9; border-radius: 6px; padding: 0 8px; font-size: 14px; width: auto !important; min-width: 110px; flex: 0 0 auto; background: #fff; }
.rc-rp .rc-note { font-size: 12px; color: #6b4e00; background: #fff6dc; border-radius: 6px; padding: 8px 10px; margin-top: 8px; display: none; }
.rc-rp .rc-note.on { display: block; }

/* Clear Coat Latex box */
.rc-rp .variations_button table.variations { width: 100%; margin: 0 0 14px 0; border: 0; }
.rc-rp .variations_button table.variations td { padding: 0; border: 0; }
.rc-rp .variations_button table.variations label { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border: 1px solid #e3e3e3; border-radius: 8px; cursor: pointer; margin: 0; font-weight: 400; }
.rc-rp .variations_button table.variations label:has(input:checked) { border-color: #da1f26; background: #fff5f5; }
.rc-rp .variations_button table.variations label br { display: none; }
.rc-rp #clear_coat_latex { width: 20px; height: 20px; margin: 2px 0 0 0; accent-color: #da1f26; flex: none; }
.rc-rp .rc-latex-text { display: flex; flex-direction: column; gap: 3px; }
.rc-rp .rc-latex-text b { font-size: 14px; }
.rc-rp .rc-latex-price { font-style: normal; font-weight: 400; color: #555; margin-left: 4px; }
.rc-rp .rc-latex-text span { font-size: 13px; color: #555; line-height: 1.45; }

/* price under the form is shown at the top instead */
/* price lines under the options, same as the circle carpet page: Carpet always; Latex + Subtotal when Clear Coat is checked */
.rc-rp-js .woocommerce-variation-availability { display: none !important; }
.rc-rp-js .single_variation { margin: 0 0 12px 0; }
.rc-rp-js .single_variation .woocommerce-variation-price,
.rc-rp-js .single_variation .woocommerce-variation-details-price { display: flex !important; justify-content: space-between !important; align-items: baseline; padding: 4px 0 !important; margin: 0 !important; border: 0 !important; }
.rc-rp-js .single_variation .woocommerce-variation-price > .price { margin: 0 !important; }
.rc-rp-js .single_variation .crp, .rc-rp-js .single_variation .woocommerce-variation-price *, .rc-rp-js .single_variation .woocommerce-variation-details-price * { font-size: 15px !important; line-height: 1.4 !important; }
.rc-rp-js .single_variation .woocommerce-variation-details-price > *, .rc-rp-js .single_variation .woocommerce-variation-price > * { margin: 0 !important; padding: 0 !important; }
.rc-rp-js .single_variation .woocommerce-variation-description:empty { display: none !important; }
.rc-rp .variations_button table.variations { margin-bottom: 8px !important; }
.rc-rp-js .single_variation .ecv19 { border-top: 1px solid #ececec !important; margin-top: 4px !important; padding-top: 8px !important; }
.rc-rp-js .single_variation .ecv19, .rc-rp-js .single_variation .ecv19 * { font-weight: 800 !important; }

/* phones: color grid copied from the sidebar (the theme hides the sidebar on phones) */
.rc-rp .rc-colors-m { display: none; }
@media (max-width: 767.98px) {
  .rc-rp .rc-colors-m { display: block; margin: 8px 0 24px 0; padding: 18px 14px; background: #f6f6f6; border-radius: 8px; }
  .rc-rp .rc-colors-m h2 { font-size: 13px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; margin: 0 0 12px 0; }
}

.rc-rp .rc-ship { border: 1px solid #e3e3e3; border-radius: 8px; padding: 10px 12px; margin: 0 0 4px 0; display: grid; gap: 6px; font-size: 13px; color: #444; }
.rc-rp .rc-ship-lab { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #1c1c1c; }
.rc-rp .rc-ship-lab span { text-transform: none; letter-spacing: 0; font-weight: 400; color: #666; }
.rc-rp .rc-zip { display: flex; gap: 8px; }
.rc-rp .rc-sr { position: absolute; left: -9999px; }
.rc-rp #rc-zip-in { flex: 1 1 auto; min-width: 0; width: auto !important; height: 40px; border: 1px solid #b9b9b9; border-radius: 6px; padding: 0 12px; margin: 0; font-size: 15px; letter-spacing: .08em; background: #fff; }
.rc-rp #rc-zip-go { flex: none; height: 40px; padding: 0 16px; border: 1px solid #1c1c1c; border-radius: 6px; background: #fff; color: #1c1c1c; font-weight: 700; font-size: 14px; cursor: pointer; }
.rc-rp #rc-zip-go:hover { background: #1c1c1c; color: #fff; }
.rc-rp #rc-eta strong { display: block; font-size: 14px; color: #1c1c1c; margin-bottom: 5px; }
.rc-rp .rc-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-bottom: 6px; }
.rc-rp .rc-steps div { background: #f6f6f6; border-radius: 6px; padding: 5px 8px; font-size: 11px; color: #555; line-height: 1.3; }
.rc-rp .rc-steps b { display: block; font-size: 13px; color: #1c1c1c; margin-top: 2px; }
.rc-rp .rc-fine { font-size: 11.5px; color: #666; line-height: 1.4; }
.rc-rp .rc-err { font-size: 13px; color: #8a0d14; }
.rc-rp .rc-ship b { color: #1c1c1c; }

.rc-rp .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 10px; }
.rc-rp .woocommerce-variation-add-to-cart > table.variations, .rc-rp .woocommerce-variation-add-to-cart > .single_variation { flex: 0 0 100%; }
.rc-rp .woocommerce-variation-add-to-cart .quantity input.qty { width: 70px; height: 52px; border: 1px solid #c9c9c9; border-radius: 6px; text-align: center; font-size: 16px; }
.rc-rp .single_add_to_cart_button { flex: 1; height: 52px; border: 0 !important; border-radius: 6px !important; background: #da1f26 !important; color: #fff !important; font-size: 17px !important; font-weight: 800 !important; }
.rc-rp .single_add_to_cart_button:hover { background: #b8161d !important; }

.rc-rp .rc-links { font-size: 13px; color: #444; line-height: 1.45; margin: 12px 0 0 0; }
.rc-rp .rc-links div + div { margin-top: 4px; }
.rc-rp .rc-links a { font-weight: 600; }
.rc-rp .rc-trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; border-top: 1px solid #e8e8e8; padding-top: 12px; margin-top: 14px; }
.rc-rp .rc-trust div { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; font-size: 12px; color: #444; }
.rc-rp-js .reset_variations { display: none !important; }

.rc-rp .rc-ng { font-size: 12px; color: #8a0d14; margin: -2px 0 6px 0; }
