/* Rex Championship Belts — custom product page (2026-07-19) */
.rex-pp {
  --navy:#233A77; --navy-deep:#16233F; --gold:#FCCA06; --gold-deep:#E3B200;
  --ink:#14181F; --muted:#566072; --faint:#8A93A3; --line:#E6E9EF; --line-2:#EEF1F6;
  --surface:#fff; --surface-2:#F4F6FA; --stage-1:#fff; --stage-2:#F5F7FB;
  --shadow-sm:0 1px 2px rgba(20,24,31,.05),0 4px 14px rgba(23,33,64,.06);
  --shadow-md:0 6px 24px rgba(23,33,64,.10);
  font-family:system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  color:var(--ink); background:#fff;
}
.rex-pp *,.rex-pp *::before,.rex-pp *::after { box-sizing:border-box; }
.rex-pp-wrap { max-width:1180px; margin:0 auto; padding:8px 22px 60px; }
.rex-pp .woocommerce-breadcrumb { font-size:12.5px; color:var(--faint); margin:18px 0 8px; }
.rex-pp .woocommerce-breadcrumb a { color:var(--muted); text-decoration:none; }
.rex-pp .woocommerce-breadcrumb a:hover { color:var(--navy); }

/* hero */
.rex-hero { display:grid; grid-template-columns:1.05fr .95fr; gap:52px; align-items:start; padding:8px 0 20px; }
@media (max-width:900px){ .rex-hero{ grid-template-columns:1fr; gap:28px; } }

/* gallery */
.rex-gallery { position:sticky; top:20px; }
@media (max-width:900px){ .rex-gallery{ position:static; } }
.rex-gallery-grid { display:flex; gap:14px; align-items:flex-start; }
.rex-thumbs { display:flex; flex-direction:column; gap:10px; width:80px; flex:none; }
.rex-thumb { aspect-ratio:1/1; border-radius:12px; overflow:hidden; cursor:pointer; background:linear-gradient(180deg,var(--stage-1),var(--stage-2)); border:2px solid var(--line-2); padding:6px; transition:border-color .15s,transform .15s; }
.rex-thumb img { width:100%; height:100%; object-fit:contain; display:block; }
.rex-thumb:hover { transform:translateY(-1px); border-color:var(--line); }
.rex-thumb.active { border-color:var(--gold); box-shadow:0 0 0 3px rgba(252,202,6,.16); }
.rex-stage { flex:1; position:relative; border-radius:16px; overflow:hidden; background:linear-gradient(180deg,var(--stage-1),var(--stage-2)); border:1px solid var(--line); box-shadow:var(--shadow-sm); aspect-ratio:1/1; display:grid; place-items:center; padding:3%; }
.rex-stage img { width:100%; height:100%; object-fit:contain; }
.rex-tag { position:absolute; top:16px; left:16px; z-index:3; background:var(--gold); color:var(--navy-deep); font-weight:800; font-size:12px; letter-spacing:.05em; text-transform:uppercase; padding:7px 12px; border-radius:100px; box-shadow:0 4px 12px rgba(35,58,119,.2); }
.rex-zoom { position:absolute; bottom:16px; right:16px; z-index:3; width:42px; height:42px; border-radius:50%; background:#fff; border:1px solid var(--line); color:var(--navy); display:grid; place-items:center; cursor:pointer; box-shadow:var(--shadow-sm); transition:background .15s,color .15s; }
.rex-zoom:hover { background:var(--navy); color:#fff; }
#rex-main-image { cursor:crosshair; transition:transform .12s ease-out; will-change:transform; }
.rex-stage:hover .rex-zoom { opacity:.85; }

/* rating (no reviews yet — honest, greyed) */
.rex-rating { display:flex; align-items:center; gap:8px; margin:0 0 14px; font-size:14px; }
.rex-stars { color:#CBD2DE; letter-spacing:2px; font-size:16px; }
.rex-stars--rated { position:relative; display:inline-block; color:#CBD2DE; letter-spacing:2px; font-size:16px; }
.rex-stars--rated::before { content:"\2605\2605\2605\2605\2605"; position:absolute; left:0; top:0; color:var(--gold); overflow:hidden; width:var(--rex-fill,0); white-space:nowrap; letter-spacing:2px; }
.rex-rating-num { font-weight:700; color:var(--ink); }
.rex-rating-sep { color:var(--faint); }
.rex-pp .rex-rating-link { color:var(--navy) !important; font-weight:600; text-decoration:none; border-bottom:1px solid transparent; }
.rex-pp .rex-rating-link:hover { border-color:var(--navy); }

/* lightbox */
.rex-lightbox { position:fixed; inset:0; z-index:100000; background:rgba(16,22,38,.86); display:none; align-items:center; justify-content:center; padding:5vw; cursor:zoom-out; }
.rex-lightbox.open { display:flex; }
.rex-lightbox img { max-width:100%; max-height:90vh; object-fit:contain; border-radius:8px; }
.rex-lightbox-close { position:absolute; top:20px; right:26px; background:none; border:0; color:#fff; font-size:40px; line-height:1; cursor:pointer; }

/* info */
.rex-info { padding-top:4px; }
.rex-eyebrow { font-size:12px; font-weight:800; letter-spacing:.16em; text-transform:uppercase; color:var(--gold-deep); }
.rex-title { font-size:clamp(26px,3.4vw,38px); line-height:1.1; letter-spacing:-.02em; font-weight:800; margin:10px 0 14px; color:var(--ink); }
.rex-price-row { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.rex-price { font-size:34px; font-weight:800; letter-spacing:-.02em; color:var(--ink); }
.rex-price .woocommerce-Price-currencySymbol { font-weight:700; }
.rex-was { font-size:18px; color:var(--faint); text-decoration:line-through; }
.rex-save-pill { background:#FFF6D6; color:var(--gold-deep); font-weight:800; font-size:12.5px; padding:5px 11px; border-radius:100px; }
.rex-subnote { font-size:12.5px; color:var(--faint); margin:8px 0 18px; }
.rex-lead { color:var(--muted); font-size:15.5px; margin-bottom:20px; }
.rex-lead p { margin:0; }
.rex-features { display:grid; gap:9px; margin:0 0 22px; padding:0; list-style:none; }
.rex-features li { display:flex; gap:11px; align-items:flex-start; font-size:14.5px; color:var(--ink); }
.rex-features li svg { flex:none; margin-top:2px; }
.rex-divider { height:1px; background:var(--line); margin:20px 0; }

/* buy box — WooCommerce add-to-cart form */
.rex-buybox .cart { display:flex; flex-wrap:wrap; gap:14px; align-items:center; margin:0; }
.rex-buybox .rex-qty-row { flex:0 0 100%; display:flex; align-items:center; gap:14px; }
.rex-buybox .rex-qty-label { font-size:12.5px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); }
.rex-buybox .quantity { display:inline-flex; align-items:stretch; border:1.5px solid var(--line); border-radius:12px; overflow:hidden; height:56px; background:#fff; }
.rex-buybox .quantity .rex-qbtn { width:44px; border:0; background:#F4F6FA; color:var(--navy); font-size:20px; font-weight:700; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:background .15s,color .15s; }
.rex-buybox .quantity .rex-qbtn:hover { background:var(--navy); color:#fff; }
.rex-buybox .quantity .qty { width:52px; height:auto; text-align:center; border:0; border-left:1.5px solid var(--line); border-right:1.5px solid var(--line); border-radius:0; font-weight:700; font-size:16px; color:var(--ink); background:#fff; -moz-appearance:textfield; }
.rex-buybox .quantity .qty::-webkit-inner-spin-button,.rex-buybox .quantity .qty::-webkit-outer-spin-button { -webkit-appearance:none; margin:0; }
.rex-buybox .single_add_to_cart_button,
.rex-buybox .rex-buy-now { flex:0 0 190px; height:56px; border-radius:12px !important; font-size:15px; font-weight:800; letter-spacing:.02em; white-space:nowrap; border:1.5px solid transparent; display:flex !important; align-items:center !important; justify-content:center; padding:0 !important; line-height:1 !important; cursor:pointer; transition:background .15s,box-shadow .15s; }
/* Variable products nest the buttons inside .woocommerce-variation-add-to-cart,
   so the flex row on .cart no longer reaches them and they stacked + shrank to
   text width. Mirror the same flex row on the variation wrapper. */
.rex-buybox .woocommerce-variation-add-to-cart { display:flex; flex-wrap:wrap; gap:14px; align-items:center; }
@media (max-width:480px){ .rex-buybox .single_add_to_cart_button, .rex-buybox .rex-buy-now { flex:1 1 0; min-width:0; } }
.rex-buybox .rex-btn-ic { flex:none; margin-right:9px; position:relative; top:-0.2px; }
.rex-assurances { display:flex; flex-wrap:wrap; gap:8px 18px; margin-top:18px; }
.rex-assurances span { display:inline-flex; align-items:center; gap:7px; font-size:13px; color:var(--muted); font-weight:500; }
.rex-assurances svg { flex:none; }
.rex-buybox .single_add_to_cart_button,
.rex-buybox form.cart .single_add_to_cart_button.button.alt { background:var(--navy) !important; color:#fff !important; }
.rex-buybox .single_add_to_cart_button:hover,
.rex-buybox form.cart .single_add_to_cart_button.button.alt:hover { background:var(--navy-deep) !important; color:#fff !important; box-shadow:0 8px 22px rgba(35,58,119,.3); }
.rex-buybox .rex-buy-now { background:var(--gold) !important; color:var(--navy-deep) !important; margin:0 !important; }
.rex-buybox .rex-buy-now:hover { background:var(--gold-deep) !important; box-shadow:0 8px 22px rgba(252,202,6,.4); }

.rex-ship-card { display:flex; gap:14px; background:var(--surface-2); border:1px solid var(--line-2); border-radius:12px; padding:14px 16px; margin-top:20px; }
.rex-ship-col { flex:1; display:flex; gap:10px; align-items:center; }
.rex-ship-col + .rex-ship-col { border-left:1px solid var(--line); padding-left:14px; }
.rex-ship-col svg { flex:none; }
.rex-ship-col .k { display:block; font-size:11.5px; text-transform:uppercase; letter-spacing:.05em; color:var(--faint); font-weight:700; }
.rex-ship-col .v { display:block; font-size:13.5px; font-weight:700; color:var(--ink); }
.rex-pay { display:flex; align-items:center; gap:12px; margin-top:18px; font-size:12px; color:var(--faint); flex-wrap:wrap; }
.rex-pay-logos { height:26px !important; width:auto !important; max-height:26px; display:block; aspect-ratio:914/147; }
.rex-chips { display:flex; gap:6px; }
.rex-chips span { background:var(--surface-2); border:1px solid var(--line-2); border-radius:6px; padding:3px 8px; font-size:11px; font-weight:800; color:var(--muted); }

/* details */
.rex-details { background:var(--surface); border:1px solid var(--line-2); border-radius:18px; padding:clamp(20px,3vw,32px); box-shadow:var(--shadow-sm); margin:40px 0; }
.rex-tabs { display:flex; gap:6px; border-bottom:1px solid var(--line); margin-bottom:22px; flex-wrap:wrap; }
.rex-tab { background:none; border:0; padding:12px 16px; font-size:14.5px; font-weight:700; color:var(--muted); border-bottom:2.5px solid transparent; margin-bottom:-1px; cursor:pointer; }
.rex-tab.active { color:var(--ink); border-color:var(--gold); }
.rex-panel { display:none; }
.rex-panel.active { display:block; }
.rex-panel p { color:var(--muted); max-width:70ch; margin:0; }
.rex-spec { display:grid; grid-template-columns:1fr 1fr; gap:0 40px; max-width:720px; }
@media (max-width:600px){ .rex-spec{ grid-template-columns:1fr; } }
.rex-spec > div { display:flex; justify-content:space-between; gap:16px; padding:12px 0; border-bottom:1px solid var(--line-2); font-size:14px; }
.rex-spec span:first-child { color:var(--muted); }
.rex-spec span:last-child { font-weight:700; text-align:right; }
.rex-attrs { margin-top:18px; }
.rex-attrs table { width:100%; border-collapse:collapse; font-size:14px; }
.rex-attrs th,.rex-attrs td { text-align:left; padding:10px 0; border-bottom:1px solid var(--line-2); }
.rex-attrs th { color:var(--muted); font-weight:600; width:200px; }

/* trust */
.rex-trust { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin:40px 0; }
@media (max-width:720px){ .rex-trust{ grid-template-columns:1fr 1fr; } }
.rex-trust-cell { text-align:center; padding:26px 16px; background:var(--surface); border:1px solid var(--line-2); border-radius:16px; box-shadow:var(--shadow-sm); }
.rex-trust-ic { width:50px; height:50px; border-radius:14px; background:#FFF6D6; display:grid; place-items:center; margin:0 auto 14px; }
.rex-trust-cell h4 { margin:0 0 4px; font-size:15px; font-weight:800; }
.rex-trust-cell p { margin:0; font-size:12.5px; color:var(--faint); }

/* related */
.rex-related { margin:48px 0 8px; }
.rex-related-head { display:flex; align-items:center; justify-content:center; gap:14px; margin-bottom:26px; }
.rex-related-head h2 { font-size:clamp(22px,3vw,30px); font-weight:800; letter-spacing:-.01em; margin:0; text-align:center; }
.rex-related-head::before,.rex-related-head::after { content:""; height:2px; width:44px; }
.rex-related-head::before { background:linear-gradient(90deg,var(--gold),transparent); }
.rex-related-head::after { background:linear-gradient(90deg,transparent,var(--gold)); }
.rex-related-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
@media (max-width:820px){ .rex-related-grid{ grid-template-columns:1fr 1fr; } }
.rex-card { background:var(--surface); border:1px solid var(--line-2); border-radius:16px; overflow:hidden; box-shadow:var(--shadow-sm); transition:transform .16s,box-shadow .16s; text-decoration:none; color:inherit; display:block; }
.rex-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-md); }
.rex-card-pic { aspect-ratio:1/1; background:linear-gradient(180deg,var(--stage-1),var(--stage-2)); border-bottom:1px solid var(--line-2); display:grid; place-items:center; position:relative; padding:14px; }
.rex-card-pic img { width:100%; height:100%; object-fit:contain; }
.rex-card-sale { position:absolute; top:12px; right:12px; background:var(--gold); color:var(--navy-deep); font-weight:800; font-size:11px; padding:4px 9px; border-radius:100px; }
.rex-card-body { padding:16px; }
.rex-card-body h3 { font-size:14px; font-weight:700; margin:0 0 8px; line-height:1.35; }
.rex-card-price .price { font-weight:800; color:var(--ink); font-size:15px; }
.rex-card-price del { color:var(--faint); font-weight:400; font-size:13px; margin-left:6px; }
.rex-card-price ins { text-decoration:none; }

/* ---------- Link colour fix (2026-07-21) ----------
   Elementor's global kit sets `.elementor-kit-28 a { color:#FF9200 }` (orange),
   which out-specifies our element classes. It was repainting the related-product
   card titles and the review-form links. Pin ours. */
.rex-pp a { color:inherit !important; }
.rex-pp .rex-card { color:inherit !important; }
.rex-pp .rex-card:hover .rex-card-title { color:var(--navy) !important; }
.rex-pp #review_form a,
.rex-pp .comment-reply-title a,
.rex-pp #cancel-comment-reply-link { color:var(--navy) !important; }
.rex-pp p.stars a { color:var(--gold-deep) !important; }
.rex-pp p.stars a:hover { color:var(--gold) !important; }

/* Buy Now mirrors Add to Cart's disabled look while options are unchosen */
.rex-buybox .rex-buy-now.disabled { opacity:.5; cursor:not-allowed; }
.rex-buybox .rex-buy-now.disabled:hover { background:var(--gold) !important; box-shadow:none; }

/* "From" prefix on variable-product prices (lowest price shown, not a range) */
.rex-price .rex-from { font-size:.5em; font-weight:700; color:var(--faint); letter-spacing:.04em; text-transform:uppercase; margin-right:4px; vertical-align:middle; }

/* Hide WooCommerce duplicate variation price under the swatches — the hero price (.rex-price) already syncs on variation change (2026-07-25). */
.rex-buybox .woocommerce-variation-price { display:none !important; }

/* ============================================================
   Product page enhancements (2026-07-25)
   ============================================================ */

/* --- Customization callout under the buy box --- */
.rex-custom-note {
  display: flex; align-items: flex-start; gap: 9px;
  margin-top: 14px; padding: 12px 14px;
  background: var(--stage-2, #F5F7FB);
  border: 1px solid var(--line, #E6E9EF);
  border-radius: 12px;
  font-size: 13.5px; line-height: 1.5; color: var(--muted, #566072);
}
.rex-custom-note svg { flex: none; margin-top: 1px; }
.rex-custom-note a { color: var(--navy, #233A77); font-weight: 600; }
.rex-custom-note a:hover { text-decoration: underline; }

/* --- Shipping & Returns tab: structured list instead of a wall of text --- */
.rex-ship-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.rex-ship-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 14.5px; line-height: 1.55; color: var(--muted, #566072); }
.rex-ship-list li svg { flex: none; margin-top: 2px; }
.rex-ship-list li strong { color: var(--ink, #14181F); font-weight: 650; }

/* --- Tab hover: branded (the pink is already killed globally) --- */
.rex-tab:hover, .rex-tab:focus { color: var(--navy, #233A77); }

/* --- Reviews tab: style WooCommerce's default form to match the brand --- */
.rex-panel[data-panel="reviews"] #reviews { margin: 0; }
.rex-panel[data-panel="reviews"] #reviews h2,
.rex-panel[data-panel="reviews"] .woocommerce-Reviews-title {
  font-size: 20px; font-weight: 800; letter-spacing: -.01em; color: var(--ink, #14181F); margin: 0 0 14px;
}
.rex-panel[data-panel="reviews"] .commentlist { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.rex-panel[data-panel="reviews"] .woocommerce-noreviews { color: var(--muted, #566072); font-size: 14.5px; margin: 0 0 6px; }
.rex-panel[data-panel="reviews"] .comment-reply-title { font-size: 16px; font-weight: 700; color: var(--ink, #14181F); display: block; margin: 6px 0 14px; }
.rex-panel[data-panel="reviews"] .comment-form { display: flex; flex-direction: column; gap: 14px; max-width: 620px; }
.rex-panel[data-panel="reviews"] .comment-form > p { margin: 0; }
.rex-panel[data-panel="reviews"] .comment-form label { font-weight: 600; color: var(--ink, #14181F); font-size: 14px; }
.rex-panel[data-panel="reviews"] .comment-form-rating label { display: block; margin-bottom: 4px; }

/* clickable star rating -> gold */
.rex-panel[data-panel="reviews"] p.stars a { color: var(--gold-deep, #E3B200); }
.rex-panel[data-panel="reviews"] p.stars a:hover,
.rex-panel[data-panel="reviews"] p.stars a.active { color: var(--gold, #FCCA06); }

/* inputs */
.rex-panel[data-panel="reviews"] .comment-form textarea,
.rex-panel[data-panel="reviews"] .comment-form input[type="text"],
.rex-panel[data-panel="reviews"] .comment-form input[type="email"] {
  width: 100%; border: 1px solid var(--line, #E6E9EF); border-radius: 10px;
  padding: 11px 13px; font-size: 14px; font-family: inherit; background: #fff; color: var(--ink, #14181F);
}
.rex-panel[data-panel="reviews"] .comment-form textarea { min-height: 120px; resize: vertical; }
.rex-panel[data-panel="reviews"] .comment-form textarea:focus,
.rex-panel[data-panel="reviews"] .comment-form input:focus {
  outline: none; border-color: var(--navy, #233A77); box-shadow: 0 0 0 3px rgba(35,58,119,.12);
}

/* submit button -> brand navy */
.rex-panel[data-panel="reviews"] .form-submit .submit,
.rex-panel[data-panel="reviews"] #respond .submit {
  background: var(--navy, #233A77) !important; color: #fff !important;
  border: 0 !important; border-radius: 10px !important;
  padding: 12px 26px !important; font-weight: 700 !important; font-size: 14px !important;
  cursor: pointer; transition: background .15s ease; width: auto; align-self: flex-start;
}
.rex-panel[data-panel="reviews"] .form-submit .submit:hover,
.rex-panel[data-panel="reviews"] #respond .submit:hover { background: var(--navy-deep, #16233F) !important; }

/* ---- Gallery: thumbnails as a row BELOW the main image (2026-07-25) ----
   Was a vertical side strip; moved below so added product photos grow the
   column downward and fill the space next to the taller info column. */
.rex-gallery-grid { flex-direction: column; align-items: stretch; }
.rex-thumbs { flex-direction: row; flex-wrap: wrap; width: auto; }
.rex-thumb { width: 72px; }

/* Single-image fill block — only rendered when there's one image; auto-hides
   once real photos are added (the thumbnail row fills the gap instead). */
.rex-media-fill { margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rex-mf-cell { display: flex; gap: 9px; align-items: flex-start; border: 1px solid var(--line); border-radius: 12px; padding: 12px 13px; background: var(--stage-1); }
.rex-mf-cell svg { flex: none; margin-top: 1px; }
.rex-mf-cell b { display: block; font-size: 12.5px; color: var(--ink); font-weight: 700; }
.rex-mf-cell span { font-size: 11.5px; color: var(--muted); line-height: 1.35; }
/* desktop-only space filler beside the taller info column — once the columns stack
   (<=900px) there's no gap to fill and it just pushes the variations/buttons down. */
@media (max-width: 900px){ .rex-media-fill { display: none; } }

/* On mobile the square (1:1) hero image is tall and buries the title/price. Use a
   shorter 4:3 stage to pull the title/price/buttons up — but the images are 1:1, so
   the whole image must CONTAIN (fit fully, centered) inside the shorter frame, never
   crop. width/height:auto + max-*:100% makes it fit by height and center (the stage is
   display:grid; place-items:center). The full 1:1 file is what Google Merchant reads. */
@media (max-width: 900px){
  /* 3:4 frame; the 1:1 image is zoomed to COVER it — fills the frame edge-to-edge with
     a slight top/bottom crop (mostly the image's own whitespace), so no empty gaps.
     Google Merchant still reads the full 1:1 image FILE, unaffected by this display crop. */
  .rex-stage { aspect-ratio: 4 / 3; }
  .rex-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
  /* remove the breadcrumb on mobile + tighten the vertical rhythm */
  .rex-pp .woocommerce-breadcrumb { display: none; }
  .rex-hero { gap: 16px; padding-bottom: 6px; }         /* less space between the image and the title block */
  .rex-title { margin-bottom: 6px; }                     /* tighter gap above the review stars */
  .rex-rating { margin-bottom: 8px; }                    /* tighter gap above the price */
  .rex-subnote { margin-bottom: 6px; }                   /* tighter gap above the short description */
  .rex-details { margin-top: 18px; }
  .rex-pay { flex-direction: column; align-items: center; justify-content: center; text-align: center; }
}

/* ---- Specifications tab: icon per row, cleaner rhythm (matches Shipping/Reviews) ---- */
.rex-panel[data-panel="specs"] .rex-spec { display: grid; grid-template-columns: 1fr 1fr; gap: 0 34px; }
.rex-panel[data-panel="specs"] .rex-spec > div { display: flex; align-items: center; gap: 10px; padding: 13px 2px; border-bottom: 1px solid var(--line-2); justify-content: flex-start; }
.rex-panel[data-panel="specs"] .rex-spec > div > svg { flex: none; }
.rex-panel[data-panel="specs"] .rex-spec > div > span:first-of-type { color: var(--muted); font-size: 13.5px; }
.rex-panel[data-panel="specs"] .rex-spec > div > span:last-of-type { margin-left: auto; font-weight: 650; color: var(--ink); font-size: 13.5px; text-align: right; }
@media (max-width: 640px){ .rex-panel[data-panel="specs"] .rex-spec { grid-template-columns: 1fr; } }

/* Specs: left-align the values (fixed-width label so values line up) — 2026-07-25 */
.rex-panel[data-panel="specs"] .rex-spec > div > span:first-of-type { min-width: 96px; }
.rex-panel[data-panel="specs"] .rex-spec > div > span:last-of-type { margin-left: 0; text-align: left; }

/* Sticky mobile Add-to-Cart / Buy-Now bar — pinned to the bottom so the way forward is
   always in view once the real buttons scroll off. Hidden on desktop. JS toggles
   .is-hidden when the real buttons scroll into/out of view (proxy-clicks them). */
.rex-psticky { display:none; }
@media (max-width:820px){
  .rex-psticky {
    position:fixed; left:0; right:0; bottom:0; z-index:1200;
    display:flex; gap:10px; align-items:stretch;
    padding:10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    background:rgba(255,255,255,.95); -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px);
    border-top:1px solid #e6e9ef; box-shadow:0 -6px 24px rgba(23,33,64,.13);
    transform:translateY(0); transition:transform .34s cubic-bezier(.4,0,.15,1);
  }
  .rex-psticky.is-hidden { transform:translateY(130%); }   /* slides down out of view */
  .rex-psticky.is-pricehidden .rex-psticky-price { display:none; }   /* main price on screen → drop the duplicate; buttons (flex:1) fill the space */
  .rex-psticky-price {
    flex:none; align-self:center; display:flex; align-items:baseline; gap:5px;
    max-width:33%; line-height:1.05; white-space:nowrap; overflow:hidden;
    font-size:17px; font-weight:800; color:#14181F;
  }
  .rex-psticky-price del { font-size:12px; font-weight:600; color:#8A93A3; }
  .rex-psticky-price ins { text-decoration:none; }
  .rex-psticky-price .amount { font-weight:800; }
  .rex-psticky-price .screen-reader-text { position:absolute !important; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; padding:0; margin:-1px; }
  .rex-psticky-btn {
    flex:1; min-width:0; height:50px; border:0; border-radius:12px;
    font-size:14px; font-weight:800; letter-spacing:.01em; cursor:pointer; white-space:nowrap;
    display:flex; align-items:center; justify-content:center; gap:7px; padding:0 6px;
    transition:filter .15s ease;
  }
  .rex-psticky-btn:active { filter:brightness(.93); }
  .rex-psticky-add { background:#233A77; color:#fff; }      /* navy — matches Add to Cart */
  .rex-psticky-buy { background:#FCCA06; color:#16233F; }   /* gold — matches Buy Now */
}
@media (prefers-reduced-motion: reduce){ .rex-psticky { transition-duration:.01ms !important; } }

/* long-description tab content (2026-07-31) */
.rex-desc { font-size:15px; line-height:1.7; color:#3A424E; }
.rex-desc > *:first-child { margin-top:0; }
.rex-desc > *:last-child { margin-bottom:0; }
.rex-desc p { margin:0 0 14px; }
.rex-desc h2, .rex-desc h3, .rex-desc h4 { color:#14181F; font-weight:800; margin:22px 0 8px; line-height:1.25; }
.rex-desc h2 { font-size:20px; } .rex-desc h3 { font-size:17px; } .rex-desc h4 { font-size:15px; }
.rex-desc ul, .rex-desc ol { margin:0 0 14px; padding-left:20px; }
.rex-desc li { margin:0 0 6px; }
.rex-desc a { color:#233A77; font-weight:600; }
.rex-desc img { max-width:100%; height:auto; border-radius:12px; }
