/*
 * The O-Ring Store LLC: vulcanized O-Ring product page layout.
 * Every rule is scoped to .tors-vulc, which tpl_product_info_display.php
 * only adds for products under category 561 (Custom Vulcanized O-Rings).
 * No other product page is affected.
 */
.tors-vulc h1.productName { font-size: 1.75rem; font-weight: 700; line-height: 1.25; margin: .5rem 0 .75rem; }
.tors-vulc .tors-vulc-proof { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; font-weight: 600; font-size: .95rem; }
.tors-vulc .tors-vulc-proof li::before { content: "\2713"; color: #156b2a; font-weight: 700; margin-right: .4rem; }
.tors-vulc #youtube-video iframe { width: 100%; max-width: 480px; aspect-ratio: 16 / 9; height: auto; }

/* Buy box: size first, then quantity, then the button, then the details. */
.tors-vulc [id$="-displayColRight"] { display: flex; flex-direction: column; }
.tors-vulc [id$="-displayColRight"] > * { order: 0; }
.tors-vulc #productAttributes { order: 1; }
.tors-vulc .productQuantityDiscounts { order: 2; }
.tors-vulc #addToCart-card { order: 3; }
.tors-vulc #tors-vulc-lead { order: 4; }
.tors-vulc .productDetailsList { order: 5; }
.tors-vulc.tors-has-tiers #productsPriceTop-card,
.tors-vulc.tors-has-tiers #productsPriceBottom-card { display: none; }

.tors-vulc #attributes-card { border: 0; }
.tors-vulc #attributes-card-header { display: none; }
.tors-vulc #attributes-card-body { padding: 0 !important; }
.tors-vulc .wrapperAttribsOptions { border: 1px solid #cbd3dc; margin-bottom: 0 !important; }
.tors-vulc .wrapperAttribsOptions .card-header { font-size: 1.05rem; font-weight: 700; background: #fff; border-bottom: 0; padding-bottom: 0; }
.tors-vulc .wrapperAttribsOptions input.form-control { height: 48px; font-size: 1.1rem; border: 2px solid #1d5fa6; }
.tors-vulc .tors-vulc-hint { display: block; margin-top: .4rem; font-size: .85rem; color: #55606e; }
.tors-vulc .tors-vulc-hint.is-ok { color: #156b2a; font-weight: 600; }
.tors-vulc .tors-vulc-hint.is-bad { color: #a32020; font-weight: 600; }

.tors-vulc #productsQuantityDiscounts-card { border: 1px solid #cbd3dc; }
.tors-vulc #productsQuantityDiscounts-table { margin-bottom: 0; }
.tors-vulc #productsQuantityDiscounts-table td { border: 0; background: transparent; font-size: .85rem; color: #55606e; }
.tors-vulc #productsQuantityDiscounts-table td.tors-tier { cursor: pointer; border: 2px solid #cbd3dc; border-radius: 6px; color: #1a2430; font-size: 1rem; font-weight: 700; min-height: 60px; background: #fff; }
.tors-vulc #productsQuantityDiscounts-table td.tors-tier:hover,
.tors-vulc #productsQuantityDiscounts-table td.tors-tier:focus { border-color: #1d5fa6; outline: 0; }
.tors-vulc #productsQuantityDiscounts-table td.tors-tier.is-active { border-color: #1d5fa6; background: #e8f1fa; }
.tors-vulc #productsQuantityDiscounts-table { border-collapse: separate; border-spacing: 6px; }

.tors-vulc #addToCart-card { border: 1px solid #cbd3dc; }
.tors-vulc #addToCart-card-header { display: none; }
.tors-vulc #cartAdd .input-group { margin-bottom: 0 !important; }
.tors-vulc #cartAdd input[name="cart_quantity"] { height: 52px; font-size: 1.1rem; text-align: center; max-width: 110px; }
.tors-vulc #cartAdd .button_in_cart { height: 52px; font-size: 1.1rem; font-weight: 700; flex: 1 1 auto; }
.tors-vulc #cartAdd .input-group-append { flex: 1 1 auto; }
.tors-vulc .tors-vulc-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .75rem; color: #55606e; }
.tors-vulc .tors-vulc-total strong { font-size: 1.75rem; color: #0f2e4d; }
.tors-vulc #tors-vulc-lead { background: #f5f7fa; border-radius: 6px; padding: .75rem 1rem; margin-bottom: 1rem; font-size: .9rem; line-height: 1.5; }
.tors-vulc .productDetailsList { font-size: .9rem; }

/* Written copy under the buy box: easier to read, same words. */
.tors-vulc .productDescription { max-width: 60rem; line-height: 1.65; }
.tors-vulc .productDescription h2 { font-size: 1.4rem; font-weight: 700; margin: 1.75rem 0 .5rem; }
.tors-vulc .productDescription h3 { font-size: 1.15rem; font-weight: 700; margin: 1.5rem 0 .5rem; }
.tors-vulc .productDescription li { margin-bottom: .3rem; }

/* Keep all four price breaks on screen on a phone. */
.tors-vulc #productsQuantityDiscounts-card .card-body { padding: .5rem; }
.tors-vulc #productsQuantityDiscounts-table { table-layout: fixed; width: 100%; }
.tors-vulc #productsQuantityDiscounts-table td { padding: .5rem .2rem; white-space: normal; }
@media (max-width: 480px) {
  .tors-vulc #productsQuantityDiscounts-table { border-spacing: 4px; }
  .tors-vulc #productsQuantityDiscounts-table td.tors-tier { font-size: .85rem; }
}

/* Millimeters / Inches switch above the inside diameter box. */
.tors-vulc .tors-vulc-units { display: inline-flex; margin-bottom: .5rem; border: 1px solid #1d5fa6; border-radius: 6px; overflow: hidden; }
.tors-vulc .tors-vulc-units button { min-height: 44px; padding: 0 1rem; border: 0; background: #fff; color: #1d5fa6; font-weight: 600; cursor: pointer; }
.tors-vulc .tors-vulc-units button.is-active { background: #1d5fa6; color: #fff; }
.tors-vulc .wrapperAttribsOptions input.form-control::placeholder { color: #6b7684; opacity: 1; }
