/*
Theme Name: Sharper Massagegun Amazon Style (v83)
Theme URI: https://sharperimagemassagegun.com/
Author: NewKepler + ChatGPT
Description: Amazon-style affiliate theme for sharperimagemassagegun.com (clean build).
Version: 83.0
Text Domain: sharper-massagegun-amazon-v83
*/

:root{
  --ink:#0f172a;
  --muted:#6b7280;
  --bg:#f3f4f6;
  --card:#ffffff;
  --line:#e5e7eb;
  /* Amazon mobile header palette */
  --header:#232f3e;
  --header2:#232f3e;
  --header-delivery:#37475a;
  --amazon-orange:#f3a847;
  --amazon-yellow:#ffd814;
  --btn-orange:#f0a12a;
  --radius:14px;
  --shadow:0 10px 25px rgba(15,23,42,.08);
}

/* --- Header logo: force Amazon-like optical size on mobile --- */
.site-header .site-logo-img{
  width:auto !important;
  max-width:none !important;
}
@media (max-width: 720px){
  .site-header .site-logo-img{ height: 40px !important; }
}
@media (min-width: 721px){
  .site-header .site-logo-img{ height: 34px !important; }
}

*{box-sizing:border-box}
html{height:100%;}

body{
  margin:0;
  padding:0;
  min-height:100vh;
  display:flex;
  flex-direction:column;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--ink);
  background:var(--bg);
}

/* Ensure footer sticks to bottom (no white gap below) */
.site-main{flex:1 0 auto;}
.site-footer{margin-top:auto;}

/* HEADER */
.site-header{
  /* Solid header color to match the logo block */
  background: var(--header2);
  color:#fff;
}
.site-header-top{
  display:flex;
  align-items:center;
  gap:6px;
  padding:8px 12px;
  min-height:58px;
}
.nav-toggle{
  /* Amazon mobile: hamburger is not inside a boxed button */
  width:44px;
  height:44px;
  border:0;
  background:transparent;
  border-radius:0;
  display:grid;
  place-items:center;
  cursor:pointer;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after{
  content:"";
  display:block;
  width:18px;
  height:2px;
  background:#fff;
  border-radius:999px;
  position:relative;
}
.nav-toggle-bars::before{position:absolute;top:-6px;left:0}
.nav-toggle-bars::after{position:absolute;top:6px;left:0}

.site-logo img{
  height:72px;
  max-height:72px;
  width:auto;
  display:block;
}
.header-search{flex:1; min-width:220px;}
.site-header-search-form{
  display:flex;
  align-items:stretch;
  background:#fff;
  border-radius:8px;
  overflow:hidden;
  height:40px;
}
.search-field{
  -webkit-tap-highlight-color: transparent;

  -webkit-appearance:none;
  appearance:none;

  flex:1;
  border:0;
  padding:0 12px;
  font-size:14px;
  outline:none;
}

/* Style the submit button (prevents odd iOS/Browser default highlights) */
.search-submit{
  border:0;
  width:52px;
  background:var(--amazon-orange);
  display:grid;
  place-items:center;
  cursor:pointer;
}
.search-submit svg{
  width:18px;height:18px;
  stroke:#111;
  fill:none;
  stroke-width:2.5;
}

/* Reduce iOS search decorations */
.search-field::-webkit-search-cancel-button{ -webkit-appearance:none; display:none; }
.search-field::-webkit-search-decoration{ -webkit-appearance:none; }

/* SEARCH INPUT: remove iOS/Chrome blue autofill/focus blobs */
.search-field{
  -webkit-tap-highlight-color: transparent;

  background:#fff;
  color:#111;
  -webkit-appearance:none;
  appearance:none;
  border-radius:0;
  box-shadow:none;
}
.search-field:focus{
  outline:none;
  box-shadow:none;
}
.search-field::-webkit-search-cancel-button,
.search-field::-webkit-search-decoration,
.search-field::-webkit-search-results-button,
.search-field::-webkit-search-results-decoration{
  -webkit-appearance:none;
}
.search-field:-webkit-autofill,
.search-field:-webkit-autofill:hover,
.search-field:-webkit-autofill:focus{
  -webkit-text-fill-color:#111;
  transition: background-color 9999s ease-in-out 0s;
  box-shadow: 0 0 0 1000px #fff inset !important;
}
.site-header-search-button{
  border:0;
  width:52px;
  background:var(--amazon-orange);
  display:grid;
  place-items:center;
  cursor:pointer;
}
.site-header-search-button svg{
  width:18px;height:18px;
  stroke:#111;
  fill:none;
  stroke-width:2.5;
}
/* Amazon mobile: cart is not inside a boxed button */
.header-cart a{
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  border:0;
  background:transparent;
  border-radius:0;
  color:#fff;
}
.header-cart svg{
  width:30px;
  height:30px;
  fill:none;
  stroke:currentColor;
}

.site-header-nav{
  background:rgba(255,255,255,.06);
  border-top:1px solid rgba(255,255,255,.08);
  padding:8px 14px;
}
.nav-category-pill{
  display:inline-block;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
  color:#fff;
  padding:5px 10px;
  border-radius:999px;
  font-size:13px;
}

/* MOBILE MENU */
.mobile-menu-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.45);
  z-index:99998;
}
.site-mobile-menu{
  position:fixed;
  top:0;
  left:0;
  height:100%;
  width:min(320px, 88vw);
  background:#0f172a;
  color:#fff;
  z-index:99999;
  box-shadow:0 20px 60px rgba(0,0,0,.35);
}
.site-mobile-menu-inner{padding:16px}
.site-mobile-menu-title{font-weight:700;margin-bottom:12px}
.site-mobile-menu-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.site-mobile-menu-list a{
  display:block;
  color:#fff;
  text-decoration:none;
  padding:10px 10px;
  border-radius:10px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
}
.site-mobile-menu-list a:hover{background:rgba(255,255,255,.10)}

/* hide breadcrumb row etc if exists */
.site-subnav, .site-subnav--breadcrumbs, .view-on-amazon, .view-on-amazon-toggle, .view-on-amazon-toggle label {display:none!important}

/* MAIN LAYOUT */
.site-main{max-width:1260px;margin:0 auto;padding:18px 14px 40px;}

/* =========================================================
   Deep Tissue page – Amazon-like mobile PDP (requested)
   Scope: ONLY /sharper-image-deep-tissue/ via its template body class.
   ========================================================= */
/* Keep product page layout consistent with the 3-column templates.
   A smaller max-width causes the grid to overflow and overlap. */
body.page-template-page-sharper-image-deep-tissue-php .site-main{max-width:1260px;}
body.page-template-page-sharper-image-deep-tissue-php .dt-amz{
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  box-shadow:0 6px 18px rgba(15,23,42,.06);
  padding: 16px;
}
body.page-template-page-sharper-image-deep-tissue-php .dt-amz__ratingRow{display:flex;justify-content:flex-end;margin:0 0 6px;}
body.page-template-page-sharper-image-deep-tissue-php .dt-amz__rating{display:flex;align-items:center;gap:8px;font-size:15px;line-height:1;color:#0f1111;}
body.page-template-page-sharper-image-deep-tissue-php .dt-amz__ratingVal{font-weight:600;}
body.page-template-page-sharper-image-deep-tissue-php .dt-amz__stars{color:#ffa41c;letter-spacing:1px;font-size:16px;}
body.page-template-page-sharper-image-deep-tissue-php .dt-amz__ratingCount{color:#007185;text-decoration:none;}
body.page-template-page-sharper-image-deep-tissue-php .dt-amz__ratingCount:hover{text-decoration:underline;}

body.page-template-page-sharper-image-deep-tissue-php .dt-amz__title{
  margin:0;
  font-weight:400;
  color:#0f1111;
  font-size:17px;
  line-height:1.35;
}
@media (max-width:520px){
  body.page-template-page-sharper-image-deep-tissue-php .dt-amz__title{font-size:15px;}
}
body.page-template-page-sharper-image-deep-tissue-php .dt-amz__bought{
  margin:10px 0 14px;
  font-weight:800;
  color:#0f1111;
  font-size:18px;
}

/* Gallery: big image + dots like Amazon */
body.page-template-page-sharper-image-deep-tissue-php .dt-amz__gallery{margin:0 0 14px;}
body.page-template-page-sharper-image-deep-tissue-php .dt-amz__slider{position:relative;}
body.page-template-page-sharper-image-deep-tissue-php .dt-amz__track{display:flex;overflow:hidden;border-radius:14px;background:#fff;}
body.page-template-page-sharper-image-deep-tissue-php .dt-amz__slide{min-width:100%;}
body.page-template-page-sharper-image-deep-tissue-php .dt-amz__slide img{width:100%;height:auto;display:block;object-fit:contain;background:#fff;}
body.page-template-page-sharper-image-deep-tissue-php .dt-amz__dots{display:flex;justify-content:center;gap:10px;margin:10px 0 0;}
body.page-template-page-sharper-image-deep-tissue-php .dt-amz__dots button{
  width:10px;height:10px;border-radius:999px;border:0;
  background:#d1d5db;
}
body.page-template-page-sharper-image-deep-tissue-php .dt-amz__dots button.is-active{background:#111827;}

/* Style header */
body.page-template-page-sharper-image-deep-tissue-php .dt-amz__styleHeader{display:flex;gap:10px;align-items:baseline;margin:14px 0 10px;}
body.page-template-page-sharper-image-deep-tissue-php .dt-amz__styleLabel{font-weight:800;color:#0f1111;font-size:14px;}
body.page-template-page-sharper-image-deep-tissue-php .dt-amz__styleValue{font-weight:800;color:#0f1111;font-size:14px;}

/* Variant cards strip */
body.page-template-page-sharper-image-deep-tissue-php .dt-amz__variants{
  display:flex;
  gap:14px;
  overflow-x:auto;
  padding: 6px 2px 10px;
  -webkit-overflow-scrolling: touch;
}
body.page-template-page-sharper-image-deep-tissue-php .dt-amz__variant{
  flex:0 0 210px;
  background:#fff;
  border:2px solid #d1d5db;
  border-radius:14px;
  padding:12px;
  text-decoration:none;
  color:#0f1111;
  position:relative;
}
body.page-template-page-sharper-image-deep-tissue-php .dt-amz__variant.is-active{border-color:#2563eb; box-shadow: 0 0 0 2px rgba(37,99,235,.10) inset;}
body.page-template-page-sharper-image-deep-tissue-php .dt-amz__vImg{height:120px;display:grid;place-items:center;margin-bottom:10px;}
body.page-template-page-sharper-image-deep-tissue-php .dt-amz__vImg img{max-width:100%;max-height:120px;object-fit:contain;display:block;}
body.page-template-page-sharper-image-deep-tissue-php .dt-amz__vName{font-weight:800;font-size:22px;line-height:1.05;margin:0 0 8px;}
body.page-template-page-sharper-image-deep-tissue-php .dt-amz__vPrice{font-size:19px;line-height:1;font-weight:800;margin:0 0 6px;}
body.page-template-page-sharper-image-deep-tissue-php .dt-amz__cur{font-size:12px;font-weight:700;margin-right:4px;vertical-align:top;}
body.page-template-page-sharper-image-deep-tissue-php .dt-amz__cents{font-size:14px;font-weight:800;vertical-align:top;}
body.page-template-page-sharper-image-deep-tissue-php .dt-amz__vUnit{color:#111827;font-size:12px;margin:0 0 6px;}
body.page-template-page-sharper-image-deep-tissue-php .dt-amz__vStrike{color:#6b7280;text-decoration:line-through;font-size:14px;margin:0 0 6px;}
body.page-template-page-sharper-image-deep-tissue-php .dt-amz__vStock{color:#15803d;font-size:14px;font-weight:700;margin-top:2px;}
body.page-template-page-sharper-image-deep-tissue-php .dt-amz__vTag{
  margin-top:10px;
  background:#2f6f5e;
  color:#fff;
  text-align:center;
  padding:10px 10px;
  border-radius:0 0 12px 12px;
  position:absolute;
  left:0;right:0;bottom:0;
  font-weight:800;
}

/* Price block */
body.page-template-page-sharper-image-deep-tissue-php .dt-amz__priceBlock{margin: 10px 0 12px; color:#0f1111;}
body.page-template-page-sharper-image-deep-tissue-php .dt-amz__dealRow{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;}
body.page-template-page-sharper-image-deep-tissue-php .dt-amz__pct{color:#b91c1c;font-size:26px;letter-spacing:.5px;}
body.page-template-page-sharper-image-deep-tissue-php .dt-amz__pCur{font-size:13px;font-weight:700;}
body.page-template-page-sharper-image-deep-tissue-php .dt-amz__pMain{font-size:42px;font-weight:900;line-height:1;}
body.page-template-page-sharper-image-deep-tissue-php .dt-amz__pCents{font-size:15px;font-weight:900;vertical-align:top;}
body.page-template-page-sharper-image-deep-tissue-php .dt-amz__pUnit{color:#111827;font-size:12px;}
body.page-template-page-sharper-image-deep-tissue-php .dt-amz__listPrice{color:#6b7280;font-size:13px;margin:8px 0 0;}
body.page-template-page-sharper-image-deep-tissue-php .dt-amz__strike{text-decoration:line-through;}
body.page-template-page-sharper-image-deep-tissue-php .dt-amz__ship{color:#374151;font-size:13px;margin:10px 0 0;}
body.page-template-page-sharper-image-deep-tissue-php .dt-amz__link{color:#007185;}
body.page-template-page-sharper-image-deep-tissue-php .dt-amz__delivery{font-size:16px;margin:10px 0 0;}
body.page-template-page-sharper-image-deep-tissue-php .dt-amz__deliverTo{font-size:16px;margin:10px 0 0;}
body.page-template-page-sharper-image-deep-tissue-php .dt-amz__inStock{color:#15803d;font-size:22px;font-weight:800;margin:10px 0 0;}

/* Quantity + buttons */
body.page-template-page-sharper-image-deep-tissue-php .dt-amz__qtyRow{margin:14px 0 14px;}
body.page-template-page-sharper-image-deep-tissue-php .dt-amz__qtyBox{
  border:1px solid #d1d5db;
  border-radius:12px;
  padding:14px;
  background:#f3f4f6;
  display:flex;
  justify-content:space-between;
  align-items:center;
}
body.page-template-page-sharper-image-deep-tissue-php .dt-amz__qtyLabel{font-size:16px;font-weight:800;}
body.page-template-page-sharper-image-deep-tissue-php .dt-amz__qtySelect{font-size:20px;padding:10px 12px;border-radius:10px;border:1px solid #cbd5e1;background:#fff;}

body.page-template-page-sharper-image-deep-tissue-php .dt-amz__cta{display:grid;gap:14px;margin: 10px 0 18px;}
body.page-template-page-sharper-image-deep-tissue-php .dt-amz__btn{
  display:block;
  text-align:center;
  padding:15px 15px;
  border-radius:999px;
  font-size:19px;
  font-weight:800;
  text-decoration:none;
  border:0;
}
body.page-template-page-sharper-image-deep-tissue-php .dt-amz__btn--cart{background: var(--amazon-yellow); color:#111827;}
body.page-template-page-sharper-image-deep-tissue-php .dt-amz__btn--buy{background: var(--amazon-orange); color:#111827;}

@media (min-width: 980px){
  body.page-template-page-sharper-image-deep-tissue-php .dt-amz{padding:22px;}
  body.page-template-page-sharper-image-deep-tissue-php .dt-amz__variants{overflow:visible;}
}
.product-layout{
  display:grid;
  grid-template-columns: 1.05fr 1.3fr .75fr;
  gap:18px;
  align-items:start;
}
@media (max-width: 900px){
  .product-layout{grid-template-columns:1fr; }
}

.product-gallery, .product-main, .buybox{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}
.product-gallery{padding:10px; display:grid; grid-template-columns:70px 1fr; gap:14px;}

/* Mobile: show the main image first, then the thumbnail strip BELOW (like Amazon mobile). */
@media (max-width: 900px){
  .product-gallery{display:flex; flex-direction:column; gap:10px;}
  .product-gallery .si-slider{order:1;}
  .product-gallery .si-thumbs{order:2;}
}
.product-thumbs{display:grid; gap:8px;}
.product-thumb-btn{
  border:1px solid var(--line);
  background:#fff;
  padding:4px;
  border-radius:10px;
  cursor:pointer;
}
.product-thumb-btn img{
  width:100%;
  height:auto;
  display:block;
  border-radius:8px;
}
.product-thumb-btn--active{border-color:var(--amazon-orange); box-shadow:0 0 0 2px rgba(243,168,71,.25)}
.product-image-main{
  /* Reduce "empty" space above/below the main product image */
  display:flex;
  align-items:flex-start;
  justify-content:center;
  min-height:0;
  padding:0;
}
#product-main-image{
  width:100%;
  max-width:720px;
  max-height:720px;
  height:auto;
  object-fit:contain;
  display:block;
}

/* =========================
   AMAZON-LIKE IMAGE SLIDER
   ========================= */
.product-gallery{ overflow:hidden; }
.si-slider{ width:100%; }
.si-track{
  display:flex;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
  border-radius:12px;
}
.si-track::-webkit-scrollbar{ height:0; }
.si-slide{
  flex:0 0 100%;
  scroll-snap-align:start;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:4px;
}
.si-slide img{
  width:100%;
  max-width:560px;
  max-height:560px;
  height:auto;
  object-fit:contain;
  display:block;
}
.si-dots{
  display:flex;
  justify-content:center;
  gap:8px;
  padding:8px 4px 2px;
}
.si-dot{
  width:10px;height:10px;
  border-radius:999px;
  border:1px solid rgba(17,24,39,.25);
  background:rgba(17,24,39,.20);
  cursor:pointer;
}
.si-dot.is-active{ background:rgba(17,24,39,.75); border-color:rgba(17,24,39,.75); }

.si-thumbs{
  display:flex;
  gap:8px;
  overflow-x:auto;
  padding:8px 2px 2px;
  -webkit-overflow-scrolling:touch;
}
.si-thumbs::-webkit-scrollbar{ height:0; }
.si-thumb{
  flex:0 0 auto;
  width:62px;
  border:1px solid var(--line);
  background:#fff;
  padding:4px;
  border-radius:10px;
  cursor:pointer;
}
.si-thumb img{ width:100%; height:auto; display:block; border-radius:8px; }
.si-thumb.is-active{ border-color:var(--amazon-orange); box-shadow:0 0 0 2px rgba(243,168,71,.25); }

/* Desktop: thumbs on the left like Amazon */
@media (min-width: 1101px){
  .product-gallery{ grid-template-columns:78px 1fr; }
  .si-thumbs{ flex-direction:column; overflow-x:visible; overflow-y:auto; max-height:560px; padding:0; }
  .si-thumb{ width:70px; }
  .si-dots{ padding-top:10px; }
}
.product-main{padding:16px;}
.product-brand{font-size:12px;color:var(--muted);margin-bottom:6px;}
.product-brand a{color:#0a58ca;text-decoration:none}
.product-title{margin:0 0 8px;font-size:22px;line-height:1.15;}
.product-rating-row{display:flex; gap:10px; align-items:center; font-size:12px; margin-bottom:10px;}
.stars{color:#f59e0b; letter-spacing:1px;}
.badge-amz-choice{background:#111827;color:#fff;padding:3px 8px;border-radius:999px;font-size:11px;}
.product-price-block{margin:12px 0;}
.product-price-save{display:inline-block;background:#b12704;color:#fff;font-weight:700;padding:6px 10px;border-radius:10px;font-size:13px;margin-bottom:6px;}
.product-price-main{font-size:30px;font-weight:800;}
.currency{font-size:.8em;vertical-align:top;}
.cents{font-size:.55em;vertical-align:top;}
.product-options-group{margin-top:14px;}
.product-options-label{font-size:13px;color:var(--muted);margin-bottom:8px;}
.color-swatch-row{display:flex;flex-wrap:wrap;gap:10px;}
.color-swatch{
  display:flex;align-items:center;gap:8px;
  border:1px solid var(--line);
  background:#fff;
  padding:7px 10px;
  border-radius:10px;
  cursor:pointer;
}
.color-swatch--active{border-color:var(--amazon-orange); box-shadow:0 0 0 2px rgba(243,168,71,.25)}
.color-swatch-circle{width:14px;height:14px;border-radius:999px;border:1px solid rgba(0,0,0,.12)}
.product-attachments-options{display:flex;flex-wrap:wrap;gap:8px;}
.option-pill{border:1px solid var(--line);padding:6px 10px;border-radius:999px;background:#fff;font-size:13px;}
.about-card{margin-top:16px;border:1px solid var(--line);border-radius:var(--radius);padding:14px;background:#fff}
.about-card h2{margin:0 0 10px;font-size:18px;}
.about-card ul{margin:0;padding-left:20px;color:#111827}
.about-card li{margin:6px 0;color:#111827;}

/* Simple spec table used on product pages */
.spec-grid{margin-top:10px;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.spec-row{display:grid;grid-template-columns:160px 1fr;border-top:1px solid var(--line)}
.spec-row:first-child{border-top:0}
.spec-k{background:#f9fafb;color:#111827;font-weight:700;padding:10px 12px;font-size:13px}
.spec-v{background:#fff;color:#111827;padding:10px 12px;font-size:13px}
@media (max-width:520px){.spec-row{grid-template-columns:1fr}.spec-k{border-bottom:1px solid var(--line)}}


/* CTA buttons directly under the product image gallery */
.gallery-cta{
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
  margin-top: 10px;
  padding: 0 2px 2px;
}
@media (min-width: 1101px){
  .gallery-cta{
    padding-left: 0;
    padding-right: 0;
  }
}

/* BUY BOX */
.buybox{padding:16px; position:sticky; top:14px;}
@media (max-width:1100px){ .buybox{position:static;} }
.buybox-price{font-size:28px;font-weight:800;}
.buybox-stock{color:#067d62;font-weight:800;margin-top:8px;}
.buybox-qty-row{margin:10px 0;font-size:13px;color:var(--muted);display:flex;gap:8px;align-items:center;}
.buybox-qty-select{padding:6px 10px;border:1px solid var(--line);border-radius:10px;}
.btn-secondary,.btn-primary{
  display:block;
  text-align:center;
  text-decoration:none;
  font-weight:800;
  padding:12px 14px;
  border-radius:999px;
  margin-top:10px;
  border:1px solid rgba(0,0,0,.08);
}
.btn-secondary{background:var(--amazon-yellow); color:#111;}
.btn-primary{background:var(--btn-orange); color:#111;}
.btn-secondary:hover,.btn-primary:hover{filter:brightness(.98)}

/* Footer */
.site-footer{
  padding-bottom: calc(22px + env(safe-area-inset-bottom));
  padding:22px 14px;
  background:#0b141d;
  color:#cbd5e1;
  text-align:center;
  font-size:13px;
}
.footer-inner{max-width:980px;margin:0 auto;display:grid;gap:12px;}
.footer-legal{color:#cbd5e1;opacity:.95;line-height:1.45;}
.footer-legal p{margin:0;}
.footer-links{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;}
.site-footer a{color:#cbd5e1;text-decoration:none;margin:0 8px;}
.site-footer a:hover{text-decoration:underline}

/* Visually hidden (still present for crawlers & screen readers) */
.sr-only{
  position:absolute !important;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}


/* =========================
   HEADER: LOGO SIZE + AMAZON-LIKE MENU COLORS
   ========================= */
.site-header-top{ align-items:center; }
.site-logo-img{
  height: 72px;
  max-height: 72px;
  width: auto;
  display:block;
}
@media (min-width: 1024px){
  .site-logo-img{
    height: 80px;
    max-height: 60px;
  }
}

/* Keep the search button color inside the input nicely */
.site-header-search-form{
  border-radius: 4px;
  overflow: hidden;
}
.site-header-search-button{
  background: #febd69;
  border: none;
  border-left: 1px solid rgba(0,0,0,.12);
}
.site-header-search-button svg{ width: 18px; height: 18px; }

/* Hamburger button */
.nav-toggle{
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 4px;
  background: transparent;
  display: inline-flex;
  align-items:center;
  justify-content:center;
  gap: 4px;
}
.nav-toggle span{
  display:block;
  width: 18px;
  height: 2px;
  background: rgba(255,255,255,.92);
}

/* Mobile menu overlay + panel */
.site-menu-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  z-index: 99990;
}
.site-mobile-menu{
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: min(360px, 86vw);
  background: #232f3e;
  color: #fff;
  z-index: 99999;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  transform: translateX(-102%);
  transition: transform .16s ease;
}
.site-mobile-menu.is-open{ transform: translateX(0); }
.site-mobile-menu-inner{ padding: 16px; }
.site-mobile-menu-title{
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 10px;
  letter-spacing: .2px;
}
.site-mobile-menu-list{
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-mobile-menu-list a{
  display:block;
  padding: 10px 10px;
  border-radius: 6px;
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
}
.site-mobile-menu-list a:visited{ color:#fff !important; }
.site-mobile-menu-list a:hover{
  background: rgba(255,255,255,.08);
  color: #ff9900 !important;
}
html.menu-open, html.menu-open body{ overflow:hidden; }

/* Hide any breadcrumb/subnav row from earlier versions */
.site-subnav, .site-subnav--breadcrumbs{ display:none !important; }

/* Product image: avoid huge overflow */
.product-image-main img{
  max-width: 100%;
  max-height: 480px;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

/* ===== Mobile header overflow + cart visibility fix ===== */
html, body{max-width:100%; overflow-x:hidden;}
.site-header, .site-header-top{max-width:100%; box-sizing:border-box;}
/* Avoid iOS overflow caused by 100vw: keep it 100% */
.site-header{width:100%;}
.site-header-top{
  padding-right: calc(14px + env(safe-area-inset-right));
  padding-left: calc(14px + env(safe-area-inset-left));
}
.header-search{flex:1 1 auto; min-width:0;}
.header-cart{flex:0 0 auto;}
/* Prevent any media from pushing layout wider */
img, svg, video, iframe{max-width:100%; height:auto;}




/* === Amazon-like mobile ordering: text first, then images === */
.product-layout--amazon{
  grid-template-columns: 1.05fr 1.3fr;
}
.product-layout--amazon .product-gallery{ grid-column:1; grid-row:1 / span 4; }
.product-layout--amazon .product-main{ grid-column:2; grid-row:1; }
.product-layout--amazon .variant-strip{ grid-column:2; grid-row:2; }
.product-layout--amazon .product-buybox{ grid-column:2; grid-row:3; }

.product-buybox{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:14px;
}
.product-buybox .buybox-inner{ display:grid; gap:10px; }
.product-buybox .btn-secondary,
.product-buybox .btn-primary{
  display:block;
  text-align:center;
  padding:14px 14px;
  border-radius:999px;
  font-weight:800;
  letter-spacing:.2px;
  border:1px solid transparent;
}
.product-buybox .btn-secondary{
  background:var(--amazon-yellow);
  color:#111;
}
.product-buybox .btn-primary{
  background:var(--btn-orange);
  color:#111;
}

/* Social proof line like Amazon */
.product-social-proof{
  margin:10px 0 14px;
  font-weight:400;
  color:#111;
}

/* Style selector strip */
.variant-strip{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:14px;
}
.variant-head{
  font-size:16px;
  margin-bottom:10px;
}
.variant-cards{
  display:flex;
  gap:12px;
  overflow:auto;
  padding-bottom:8px;
  -webkit-overflow-scrolling:touch;
  scroll-snap-type:x mandatory;
}
.variant-card{
  flex:0 0 170px;
  display:block;
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
  padding:10px;
  text-decoration:none;
  color:inherit;
  scroll-snap-align:start;
}
.variant-card.is-selected{
  border-color:#1e66ff;
  box-shadow:0 0 0 2px rgba(30,102,255,.2);
}
.variant-thumb{
  width:100%;
  aspect-ratio: 1 / 1;
  border-radius:10px;
  border:1px solid var(--line);
  overflow:hidden;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
}
.variant-thumb img{ width:100%; height:100%; object-fit:contain; display:block; }
.variant-meta{ margin-top:10px; font-size:14px; }
.variant-label{ font-weight:800; margin-bottom:4px; }
.variant-price{ font-weight:900; font-size:18px; }
.variant-unit{ color:var(--muted); font-size:13px; }
.variant-strike{ color:var(--muted); text-decoration:line-through; font-size:13px; }
.variant-stock{ color:#1f7a1f; font-weight:700; margin-top:6px; }

/* Mobile: stack (text first, then images) */
@media (max-width: 900px){
  .product-layout--amazon{ grid-template-columns:1fr; }
  .product-layout--amazon .product-main{ grid-column:1; grid-row:auto; }
  .product-layout--amazon .product-gallery{ grid-column:1; grid-row:auto; }
  .product-layout--amazon .variant-strip{ grid-column:1; grid-row:auto; }
  .product-layout--amazon .product-buybox{ grid-column:1; grid-row:auto; }
  .variant-card{ flex-basis: 155px; }
}


/* No-bold utility (user preference) */
.no-bold, .product-copy strong, .product-copy b, .about-card strong, .about-card b, .legal-page strong, .legal-page b{font-weight:400;}

@media (max-width: 900px){
  .buybox{grid-row:2;}
  .product-main{grid-row:3;}
}

.hero-title{font-size:26px; line-height:1.2; font-weight:400; margin:8px 0 10px;}
@media (max-width:1100px){.hero-title{font-size:22px;}}
.hero-subtitle{font-size:16px; color:var(--muted); margin:0 0 12px; font-weight:400;}
@media (max-width:1100px){.hero-subtitle{font-size:14px;}}

.amazon-long-title{font-size:20px;line-height:1.35;font-weight:400;color:#0f1111;margin:8px 0 10px;}
@media (min-width:1101px){.amazon-long-title{font-size:22px;}}
@media (max-width:520px){.amazon-long-title{font-size:17px;}}

/* =========================
   Amazon-like PDP title + rating placement (mobile)
   - Rating appears on the top-right
   - Long title sits under it on the left
   ========================= */
.amz-pdp-hero{
  max-width:1180px;
  margin: 0 auto 12px;
  padding: 0 2px;
}
.amz-pdp-rating{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  margin: 2px 0 6px;
}
.amz-rating-link{
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:#0f1111;
  text-decoration:none;
  font-size:14px;
  line-height:1;
}
.amz-rating-value{color:#0f1111;font-weight:600;}
.amz-stars{color:#f59e0b; letter-spacing:1px;}
.amz-rating-count{color:#007185;}
.amz-pdp-title{
  font-size:20px;
  line-height:1.35;
  font-weight:400;
  color:#0f1111;
  margin:0;
}
@media (min-width:1101px){.amz-pdp-title{font-size:22px;}}
@media (max-width:520px){.amz-pdp-title{font-size:17px;}}

.mobile-buy-cta{display:none;gap:12px;margin:16px 0 18px;width:100%;}
@media (max-width:1100px){
  .mobile-buy-cta{display:grid;grid-template-columns:1fr;gap:12px;}
  /* Match Amazon: full-width but not oversized */
  .mobile-buy-cta .btn-secondary,
  .mobile-buy-cta .btn-primary{width:100%;margin-top:0;font-size:18px;line-height:1.2;padding:14px 16px;border-radius:999px;}
  .buybox{display:none;}
}


/* =========================
   AMAZON-LIKE STACKED HEADER (MOBILE FIRST)
   Screenshot reference:
   - Row 1: hamburger + logo (left), cart (right)
   - Row 2: full-width search bar
   - Row 3: "Deliver to" country selector
   ========================= */
.site-header{ background: var(--header2); }
.site-header-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  /* Match Amazon mobile spacing: tighter top row padding */
  padding: 6px calc(12px + env(safe-area-inset-right)) 6px calc(12px + env(safe-area-inset-left));
  min-height: 56px;
}
.site-header-left{display:flex; align-items:center; gap:6px; min-width:0;}

/* Hamburger (Amazon-like: no big box) */
.nav-toggle{
  width:36px;
  height:36px;
  border:0;
  background:transparent;
  border-radius:6px;
  display:grid;
  place-items:center;
}
.nav-toggle:active{background:rgba(255,255,255,.06);}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after{
  content:"";
  display:block;
  width:18px;
  height:2px;
  background:rgba(255,255,255,.95);
  border-radius:999px;
  position:relative;
}
.nav-toggle-bars::before{position:absolute;top:-6px;left:0}
.nav-toggle-bars::after{position:absolute;top:6px;left:0}

/* Logo sizing (Amazon-like proportion) */
.site-logo-link{display:block; line-height:0;}
.site-logo-img{
  /* User request: clearly visible logo on mobile, closer to Amazon visual weight */
  height: 72px;
  max-height: 72px;
  width: auto;
  max-width: 260px;
  display:block;
}
@media (min-width: 768px){
  .site-logo-img{ height: 80px; max-height: 80px; max-width: 320px; }
}

/* Cart (Amazon-like placement & size) */
.header-cart{flex:0 0 auto;}
.header-cart-link{
  position:relative;
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  outline:none;
  color:#fff;
  border-radius:0;
  -webkit-tap-highlight-color: transparent;
}
.header-cart-link:active{background:rgba(255,255,255,.06);}
.cart-icon{ width:30px; height:30px; color:#fff; }
.cart-count{
  position:absolute;
  top:2px;
  right:2px;
  font-weight:800;
  font-size:14px;
  line-height:1;
  color:#f08804;
  text-shadow: 0 1px 0 rgba(0,0,0,.35);
}

/* Row 2: Search bar */
.site-header-searchrow{ padding: 0 calc(12px + env(safe-area-inset-right)) 10px calc(12px + env(safe-area-inset-left)); }
.site-header-search-form{
  display:flex;
  align-items:stretch;
  background:#fff;
  border-radius:10px;
  overflow:hidden;
  height:44px;
  box-shadow: 0 1px 0 rgba(0,0,0,.18) inset;
}
.search-field{
  flex:1;
  border:0;
  padding:0 12px;
  font-size:15px;
  outline:none;
}
.search-submit{
  border:0;
  width:50px;
  background: #febd69;
  display:grid;
  place-items:center;
  cursor:pointer;
}
.search-icon{ width:18px; height:18px; stroke:#111; fill:none; stroke-width:2.5; }

/* Row 3: Deliver-to */
.site-header-delivery{
  display:flex;
  align-items:center;
  gap:8px;
  padding: 8px calc(12px + env(safe-area-inset-right)) 10px calc(12px + env(safe-area-inset-left));
  background: var(--header-delivery);
  border-top: 0;
}

/* =========================
   AMAZON-LIKE PRODUCT PAGE TOP (title left, rating top-right)
   ========================= */
.amz-pdp-hero{
  max-width:1180px;
  margin: 0 auto 12px;
  padding: 0 14px;
}
.amz-pdp-topline{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:8px;
  margin: 2px 0 6px;
}
.amz-pdp-rating{
  display:flex;
  align-items:center;
  gap:8px;
  color:#565959;
  font-size:14px;
  line-height:1.1;
}
.amz-pdp-stars{
  color:#ffa41c;
  letter-spacing:1px;
  font-size:15px;
}
.amz-pdp-rating a{
  color:#007185;
  text-decoration:none;
}
.amz-pdp-rating a:hover{ text-decoration:underline; }

.amz-pdp-title{
  margin:0;
  font-size:20px;
  line-height:1.35;
  font-weight:400;
  color:#0f1111;
}
@media (min-width:1101px){
  .amz-pdp-title{ font-size:22px; }
}
@media (max-width:520px){
  .amz-pdp-hero{ padding: 0 14px; }
  .amz-pdp-title{ font-size:17px; }
}
.deliver-icon{ width:18px; height:18px; fill:none; stroke:#fff; stroke-width:2; opacity:.95; }
.deliver-prefix{ font-size:13px; color: rgba(255,255,255,.92); }
.deliver-select{
  -webkit-appearance:none;
  appearance:none;
  border:0;
  background:transparent;
  color:#fff;
  font-weight:800;
  font-size:13px;
  padding: 4px 22px 4px 8px;
  border-radius:8px;
  line-height:1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffffff' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position: right 6px center;
  background-size: 14px 14px;
}
.deliver-select:focus{ outline: 2px solid rgba(255,255,255,.35); outline-offset: 2px; }

/* Remove legacy header layout (search inside row 1) just in case */
.site-header-top .header-search{ display:none !important; }

/* =========================
   v38 notes (requested)
   - Logo: bigger (about 2x) so it’s clearly visible
   - Header row height adjusted for the bigger logo
   - Mobile buy buttons: full-width but NOT oversized
   ========================= */



/* Homepage headline: semantic H1 inline to match Amazon-like single-line title */
.amz-home-titleline{
  font-size:17px;
  line-height:1.35;
  font-weight:400;
  color:#0f1111;
  margin:0;
}
.amz-home-titleline .amz-home-h1,
.amz-home-titleline .amz-home-rest{ font:inherit; }
.amz-home-titleline .amz-home-h1{ display:inline; margin:0; padding:0; }
.amz-home-titleline .amz-home-rest{ display:inline; }
@media (min-width:1101px){ .amz-home-titleline{ font-size:22px; } }

/* FIX5: Deep Tissue style cards – match Amazon sizing more closely + smaller typography */
body.page-template-page-sharper-image-deep-tissue-php .dt-amz__variants{
  gap:12px;
  padding: 6px 2px 12px;
}
body.page-template-page-sharper-image-deep-tissue-php .dt-amz__variant{
  flex:0 0 176px;
  padding:10px;
  border-radius:12px;
}
body.page-template-page-sharper-image-deep-tissue-php .dt-amz__vImg{
  height:92px;
  margin-bottom:8px;
}
body.page-template-page-sharper-image-deep-tissue-php .dt-amz__vImg img{
  max-height:92px;
}
body.page-template-page-sharper-image-deep-tissue-php .dt-amz__vName{
  font-size:18px;
  margin:0 0 6px;
}
body.page-template-page-sharper-image-deep-tissue-php .dt-amz__vPrice{
  font-size:16px;
  margin:0 0 4px;
}
body.page-template-page-sharper-image-deep-tissue-php .dt-amz__cur{font-size:11px;}
body.page-template-page-sharper-image-deep-tissue-php .dt-amz__cents{font-size:12px;}
body.page-template-page-sharper-image-deep-tissue-php .dt-amz__vUnit{font-size:11px;margin:0 0 4px;}
body.page-template-page-sharper-image-deep-tissue-php .dt-amz__vStrike{font-size:12px;margin:0 0 4px;}
body.page-template-page-sharper-image-deep-tissue-php .dt-amz__vStock{font-size:12px;}

/* v44: Home page accordions + remove bold text in home content */
.about-card details.amz-accordion{
  border:1px solid var(--line);
  border-radius:14px;
  background:var(--card);
  padding:0;
  margin:14px 0;
  overflow:hidden;
}
.about-card details.amz-accordion > summary{
  list-style:none;
  cursor:pointer;
  padding:14px 16px;
  font-size:18px;
  line-height:1.25;
  color:var(--ink);
  font-weight:400; /* no bold */
  user-select:none;
}
.about-card details.amz-accordion > summary::-webkit-details-marker{ display:none; }
.about-card details.amz-accordion > summary:after{
  content:"+";
  float:right;
  font-weight:400;
}
.about-card details.amz-accordion[open] > summary:after{ content:"–"; }
.about-card .amz-accordion__body{
  padding:0 16px 14px;
  font-weight:400; /* no bold */
}
.about-card .amz-accordion__body p,
.about-card .amz-accordion__body li,
.about-card .amz-accordion__body a,
.about-card .amz-accordion__body strong,
.about-card .amz-accordion__body b{
  font-weight:400 !important;
}
.about-card .amz-accordion__body a{
  text-decoration:underline;
}


/* Home: Amazon-like offer block (variants + delivery) */
.amz-offer-panel{background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px;margin:14px 0;box-shadow:0 4px 14px rgba(15,23,42,.06);overflow:hidden}
.amz-variant-strip{display:flex;gap:12px;overflow-x:auto;padding-bottom:8px;margin-bottom:10px}
.amz-variant-card{min-width:160px;flex:0 0 auto;border:2px solid #d1d5db;border-radius:14px;background:#fff;display:flex;gap:10px;padding:10px;cursor:pointer;appearance:none;-webkit-appearance:none;text-align:left}
.amz-variant-card--active,
.amz-variant-card.is-active{border-color:#1f6feb}
.amz-variant-img{width:64px;min-width:64px;height:64px;border-radius:10px;background:#f3f4f6;display:flex;align-items:center;justify-content:center;overflow:hidden}
.amz-variant-img img{width:100%;height:100%;object-fit:contain}
.amz-variant-title{font-weight:600;color:var(--ink);line-height:1.1}
.amz-variant-price{font-weight:700;font-size:18px;color:var(--ink)}
.amz-cents{font-size:.72em;vertical-align:top}
.amz-variant-unit{color:var(--muted);font-size:12px}
.amz-variant-strike{text-decoration:line-through;color:#6b7280;font-size:12px;margin-top:2px}
.amz-variant-stock{color:#15803d;font-weight:600;font-size:13px;margin-top:2px}
.amz-variant-badge{margin-top:6px;background:#2f6f57;color:#fff;text-align:center;border-radius:0 0 12px 12px;padding:6px 8px;font-weight:700}
.amz-offer-body{padding-top:6px}
.amz-offer-price-row{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.amz-offer-discount{color:#b91c1c;font-weight:800;font-size:28px;letter-spacing:-.02em}
.amz-offer-price{font-weight:900;font-size:46px;color:var(--ink);letter-spacing:-.02em}
.amz-offer-unit{color:var(--muted)}
.amz-offer-list{margin-top:6px;color:var(--ink)}
.amz-strike{text-decoration:line-through;color:#6b7280}
.amz-info-dot{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:999px;border:1px solid #cbd5e1;color:#334155;font-size:12px;margin-left:6px}
.amz-offer-shipping{margin-top:10px;color:var(--ink);line-height:1.35;word-break:break-word}
.amz-details{color:#2563eb;text-decoration:none}
.amz-details:hover{text-decoration:underline}
.amz-offer-delivery,.amz-offer-fast{margin-top:10px;color:var(--ink);overflow-wrap:anywhere;word-break:break-word}
.amz-countdown{color:#15803d;font-weight:700}
.amz-offer-deliver-to{margin-top:12px;color:#2563eb;font-weight:700}
.amz-offer-deliver-to .amz-pin{color:#334155;margin-right:6px}
.amz-offer-stockline{margin-top:12px;color:#15803d;font-weight:800;font-size:18px}
.amz-qty-row{margin-top:12px;display:flex;align-items:center;gap:10px}
.amz-qty-label{color:var(--ink);font-weight:700}
.amz-qty-select{appearance:none;background:#fff;border:1px solid #cbd5e1;border-radius:12px;padding:12px 14px;min-width:140px;font-weight:700}

/* Offer block responsive (mobile fit)
   Key goals:
   - no horizontal cut-off
   - smaller variant cards
   - readable (but compact) typography on iPhone
*/
@media (max-width: 520px){
  .amz-offer-panel{padding:12px}

  /* Use a 2-column grid instead of horizontal scrolling */
  .amz-variant-strip{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;overflow:visible;padding-bottom:0}
  .amz-variant-card{min-width:0;width:100%;padding:8px;border-radius:12px;gap:8px}
  .amz-variant-img{width:48px;min-width:48px;height:48px;border-radius:10px}
  .amz-variant-title{font-size:12px;font-weight:600}
  .amz-variant-price{font-size:15px}
  .amz-variant-unit{font-size:11px}
  .amz-variant-strike{font-size:11px}
  .amz-variant-stock{font-size:12px}
  .amz-variant-badge{font-size:12px;padding:6px 8px}

  .amz-offer-discount{font-size:22px}
  .amz-offer-price{font-size:36px}
  .amz-offer-unit{font-size:13px}
  .amz-offer-shipping,
  .amz-offer-delivery,
  .amz-offer-fast{font-size:14px}
  .amz-offer-deliver-to{font-size:14px}
  .amz-offer-stockline{font-size:16px}
  .amz-qty-row{flex-wrap:wrap}
  .amz-qty-select{min-width:120px;padding:10px 12px}
}

@media (max-width: 360px){
  .amz-variant-img{width:44px;min-width:44px;height:44px}
  .amz-offer-price{font-size:32px}
}

/* Logo block match header */
.site-logo{background:transparent}
.site-logo-link{display:inline-flex;align-items:center;justify-content:center;background:transparent}


/* v52 Compact offer sizing (mobile-first) */
@media (max-width: 768px){
  .offer-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
  .offer-card{padding:8px;border-radius:10px}
  .offer-card img{max-width:72px;height:auto}
  .offer-card .title{font-size:13px;line-height:1.2}
  .offer-card .price{font-size:16px}
  .offer-card .meta{font-size:12px}
  .offer-panel{padding:12px}
  .offer-panel .big-price{font-size:28px}
  .offer-panel .line{font-size:13px;line-height:1.35}
}


/* v53 tweaks: logo link + logo shape + home rating row + offer sizing parity */
.site-logo { 
  background: var(--header);
  border-radius: 8px;
  padding: 6px 10px;
  display:flex;
  align-items:center;
}
.site-logo-link { display:inline-flex; align-items:center; }
.site-logo-link img{
  height: 44px;
  width: auto;
  max-width: 150px;
  display:block;
}

/* Homepage rating row (Amazon-like) */
.amz-rating-row{
  display:flex;
  align-items:center;
  gap:10px;
  padding: 10px 16px 0 16px;
}
.amz-rating-num{ font-size: 18px; color: var(--ink); }
.amz-stars{ letter-spacing: 2px; font-size: 18px; color: #f59e0b; }
.amz-rating-count{ font-size: 16px; color: #0b69a3; }

/* Offer: 3 thumbnails in one row (mobile) */
@media (max-width: 768px){
  .offer-cards{ grid-template-columns: repeat(3, 1fr) !important; gap:10px !important; }
  .offer-card{ padding:8px !important; }
  .offer-card img{ max-width:56px !important; }
  .offer-card .title{ font-size:12px !important; }
  .offer-card .price{ font-size:15px !important; }
  .offer-card .meta{ font-size:11px !important; }

  /* Circled shipping/details block smaller (approx 3 steps) */
  .offer-panel .line{ font-size: 11px !important; line-height: 1.25 !important; }
  .offer-panel .big-price{ font-size: 26px !important; }
  .offer-panel{ padding: 10px !important; }
}


/* === FIX: Home title size + rating alignment + 3-up model cards + logo robustness === */

/* Home hero: make title 2 steps smaller and left-aligned */
body.home .amz-home-titleline{
  font-size:15px;
  line-height:1.35;
  text-align:left;
  /* slightly more left aligned (mobile) */
  padding: 6px 10px 10px 10px;
}
@media (min-width:1101px){
  body.home .amz-home-titleline{ font-size:20px; }
}

/* Home hero: push rating row to the right */
body.home .amz-rating-row{
  width:100%;
  justify-content:flex-end;
  padding-right:16px;
  padding-left:10px;
}

/* Home: show 3 model/variant cards side-by-side (no horizontal scroll) */
body.home .amz-variant-strip{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:10px;
  overflow:visible;
  padding-bottom:0;
}
body.home .amz-variant-card{
  min-width:0;
  flex:initial;
  padding:10px 8px;
  gap:8px;
}
body.home .amz-variant-img{
  width:52px;
  min-width:52px;
  height:52px;
}
body.home .amz-variant-title{ font-size:12px; }
body.home .amz-variant-price{ font-size:18px; }

/* Logo: keep wide/short proportions and prevent distortion */
.site-logo-img{
  width:auto;
  object-fit:contain;
}


/* Home: hide thumbnail strip; keep swipeable slider + dots only */
body.home .si-thumbs{ display:none !important; }

/* Home (desktop): thumbs are hidden, so remove the left "thumbs" column.
   Otherwise the slider gets placed in the first (70px) column and the image looks tiny. */
@media (min-width: 1101px){
  body.home .product-gallery{ grid-template-columns: 1fr !important; }
  body.home .si-slider{ grid-column: 1 / -1; }
  body.home .si-track{ width:100%; }
  body.home .si-slide img{ max-width: 100%; max-height: 620px; }
}

/* Home: make the 3 variant cards fit better on iPhone widths */
@media (max-width: 520px){
  body.home .amz-variant-strip{ gap:6px; }
  body.home .amz-variant-card{ padding:6px 5px; border-radius:12px; gap:6px; align-items:flex-start; }
  body.home .amz-variant-img{ width:40px; min-width:40px; height:40px; }
  body.home .amz-variant-title{ font-size:10px; line-height:1.15; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
  body.home .amz-variant-price{ font-size:14px; }
  body.home .amz-variant-unit{ font-size:9px; }
  body.home .amz-variant-strike{ font-size:9px; }
  body.home .amz-variant-stock{ font-size:10px; }
  body.home .amz-variant-badge{ font-size:10px; padding:4px 5px; }
}
/* ===== v62 FINAL OVERRIDES: AMAZON-LOOK (logo/cart/stars) ===== */

/* Wordmark logo like Amazon */
.site-logo-img{
  height: 34px !important;
  width: auto !important;
}

/* Cart count: orange number only (no orange square) */
.header-cart .cart-count{
  background: transparent !important;
  color: #f08804 !important;
  font-weight: 700 !important;
  font-size: 18px !important;
  line-height: 1 !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  border-radius: 0 !important;
  top: -10px !important;
  right: -2px !important;
}

/* Stars: smaller + Amazon orange */
.rating-stars,
.stars,
.amz-stars,
.amz-pdp-stars{
  font-size: 14px !important;
  line-height: 1 !important;
}
.rating-stars i,
.rating-stars svg,
.stars i,
.stars svg{
  width: 13px !important;
  height: 13px !important;
  color: #ffa41c !important;
}

/* If stars are plain text (★★★★★), color them Amazon orange and tighten spacing */
.rating-stars,
.stars{
  letter-spacing: 1px !important;
  color: #ffa41c !important;
}


/* ===== v63 OVERRIDES: AMAZON WORDMARK + CART NUMBER ONLY + STAR TWEAK ===== */

/* Logo: Amazon-like wordmark sizing */
.site-logo-img{
  height: 34px !important;
  width: auto !important;
  max-width: 200px !important;
  object-fit: contain !important;
}

/* Cart count: orange number only (no orange square) */
.header-cart-link{ position: relative !important; }
.header-cart .cart-count,
.header-cart .count,
.site-header .cart-count,
.site-header .count{
  background: transparent !important;
  color: #f08804 !important;
  font-weight: 700 !important;
  font-size: 18px !important;
  width: auto !important;
  height: auto !important;
  line-height: 1 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  top: -10px !important;
  right: -2px !important;
}

/* Stars: closer to Amazon size/weight */
.amz-stars,
.amz-pdp-stars,
.rating-stars,
.stars{
  font-size: 14px !important;
  line-height: 1 !important;
  letter-spacing: 0.5px !important;
}
.rating-stars i,
.rating-stars svg,
.stars i,
.stars svg{
  width: 14px !important;
  height: 14px !important;
  color: #ffa41c !important;
}

/* If stars are plain text (★★★★★), use Amazon orange */
.rating-stars,
.stars{
  color: #ffa41c !important;
}


.footer-social{
  display:flex;
  gap:16px;
  justify-content:center;
  align-items:center;
  margin:24px 0 8px;
}
.footer-social a svg{
  width:22px;
  height:22px;
  fill:#fff;
  opacity:.85;
  transition:.2s;
}
.footer-social a:hover svg{
  opacity:1;
  transform:scale(1.1);
}


/* Force Deep Tissue main image */
img[src*="Deep-Tissue"] {
  content: url("https://sharperimagemassagegun.com/wp-content/uploads/2025/12/Sharper-Image-Deep-Tissue-1.jpg");
}


/* --- Home (Amazon-style) --- */
body.home .home-main, body.front-page .home-main { background: var(--bg); }
body.home .amz-wrap, body.front-page .amz-wrap { padding: 22px 16px 40px; }
body.home .amz-grid, body.front-page .amz-grid{
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 480px minmax(0,1fr) 300px;
  gap: 18px;
}
body.home .amz-media, body.front-page .amz-media{ display: grid; grid-template-columns: 44px 1fr; gap: 12px; }
body.home .amz-rail, body.front-page .amz-rail{ display:flex; flex-direction: column; gap: 10px; }
body.home .amz-thumb, body.front-page .amz-thumb{
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  width: 44px;
  height: 44px;
  overflow: hidden;
  display:flex;
  align-items:center;
  justify-content:center;
}
body.home .amz-thumb img, body.front-page .amz-thumb img{ width:100%; height:100%; object-fit: cover; display:block; }
body.home .amz-thumb.is-active, body.front-page .amz-thumb.is-active{ border-color: #0a58ff; box-shadow: 0 0 0 2px rgba(10,88,255,.15); }

body.home .amz-hero, body.front-page .amz-hero{
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  display:flex;
  flex-direction: column;
  align-items: center;
  justify-content:center;
}
body.home .amz-hero img, body.front-page .amz-hero img{
  width: 100%;
  max-height: 480px;
  object-fit: contain;
}
body.home .amz-zoomhint, body.front-page .amz-zoomhint{
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}

body.home .amz-info, body.front-page .amz-info{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 18px 14px;
}
body.home .amz-title, body.front-page .amz-title{
  font-size: 22px;
  line-height: 1.2;
  margin: 0 0 6px;
  letter-spacing: -0.2px;
}
body.home .amz-subtitle, body.front-page .amz-subtitle{
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}
body.home .amz-rating, body.front-page .amz-rating{
  display:flex;
  align-items:center;
  gap: 10px;
  font-size: 14px;
  margin: 6px 0 0;
}
body.home .amz-rating-num, body.front-page .amz-rating-num{ font-weight: 700; color: #111; }
body.home .amz-stars, body.front-page .amz-stars{ color: #f3a847; letter-spacing: 1px; }
body.home .amz-rating-count, body.front-page .amz-rating-count{ color: #007185; text-decoration: none; }
body.home .amz-rating-count:hover, body.front-page .amz-rating-count:hover{ text-decoration: underline; }

body.home .amz-style, body.front-page .amz-style{ margin-top: 12px; }
body.home .amz-style-row, body.front-page .amz-style-row{ display:flex; gap: 10px; align-items: baseline; margin-bottom: 10px; }
body.home .amz-style-label, body.front-page .amz-style-label{ font-weight: 700; color:#111; }
body.home .amz-style-value, body.front-page .amz-style-value{ font-weight: 700; color:#111; }

body.home .amz-style-cards, body.front-page .amz-style-cards{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
}
body.home .amz-style-card, body.front-page .amz-style-card{
  border: 2px solid rgba(15,23,42,.18);
  border-radius: 12px;
  padding: 10px;
  background: #fff;
  width: 150px;
  text-align: left;
  cursor: pointer;
}
body.home .amz-style-card.is-active, body.front-page .amz-style-card.is-active{
  border-color: #0a58ff;
  box-shadow: 0 0 0 3px rgba(10,88,255,.12);
}
body.home .amz-style-card-top, body.front-page .amz-style-card-top{ display:flex; gap: 8px; align-items: center; }
body.home .amz-style-card-top img, body.front-page .amz-style-card-top img{
  width: 34px; height: 34px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line);
}
body.home .amz-style-card-title, body.front-page .amz-style-card-title{ font-size: 13px; font-weight: 700; color:#111; }
body.home .amz-style-card-price, body.front-page .amz-style-card-price{ display:block; font-weight: 800; margin-top: 6px; font-size: 20px; }
body.home .amz-style-card-meta, body.front-page .amz-style-card-meta{ display:block; color: var(--muted); font-size: 12px; margin-top: 2px; }
body.home .amz-style-card-stock, body.front-page .amz-style-card-stock{ display:block; margin-top: 6px; color: #067d62; font-weight: 700; font-size: 13px; }
body.home .amz-style-card-badge, body.front-page .amz-style-card-badge{
  display:inline-block;
  margin-top: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #2e6f57;
  color:#fff;
  font-weight: 800;
  font-size: 12px;
}

body.home .amz-priceblock, body.front-page .amz-priceblock{ margin-top: 14px; }
body.home .amz-deal, body.front-page .amz-deal{ display:flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
body.home .amz-off, body.front-page .amz-off{ color:#b12704; font-weight: 800; font-size: 18px; }
body.home .amz-price, body.front-page .amz-price{ font-weight: 900; font-size: 44px; color:#111; }
body.home .amz-cents, body.front-page .amz-cents{ font-size: 22px; vertical-align: top; }
body.home .amz-percount, body.front-page .amz-percount{ color: var(--muted); font-size: 14px; }
body.home .amz-listprice, body.front-page .amz-listprice{ margin-top: 6px; color: #111; font-size: 14px; }
body.home .amz-strike, body.front-page .amz-strike{ text-decoration: line-through; color: var(--muted); }
body.home .amz-ship, body.front-page .amz-ship{ margin-top: 6px; font-size: 14px; color:#111; }
body.home .amz-delivery, body.front-page .amz-delivery{ margin-top: 6px; font-size: 14px; color:#111; }
body.home .amz-location, body.front-page .amz-location{ margin-top: 8px; font-size: 14px; color:#111; }
body.home .amz-link, body.front-page .amz-link{ color:#007185; text-decoration: none; }
body.home .amz-link:hover, body.front-page .amz-link:hover{ text-decoration: underline; }

body.home .amz-accordions, body.front-page .amz-accordions{ margin-top: 16px; border-top: 1px solid #eceff3; }
body.home .amz-accordions details, body.front-page .amz-accordions details{ border-bottom: 1px solid #eceff3; padding: 10px 0; }
body.home .amz-accordions summary, body.front-page .amz-accordions summary{
  font-weight: 800;
  cursor: pointer;
  list-style: none;
  display:flex;
  align-items:center;
  justify-content: space-between;
}
body.home .amz-accordions summary::-webkit-details-marker, body.front-page .amz-accordions summary::-webkit-details-marker{ display:none; }
body.home .amz-accordions summary:after, body.front-page .amz-accordions summary:after{
  content: "▾";
  color: var(--muted);
  font-weight: 900;
}
body.home .amz-accordions details[open] summary:after, body.front-page .amz-accordions details[open] summary:after{ content:"▴"; }

body.home .amz-table, body.front-page .amz-table{ width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 14px; }
body.home .amz-table th, body.front-page .amz-table th{ width: 38%; text-align: left; color: #111; padding: 6px 0; vertical-align: top; font-weight: 700; }
body.home .amz-table td, body.front-page .amz-table td{ padding: 6px 0; color: #111; vertical-align: top; }
body.home .amz-section, body.front-page .amz-section{ padding-top: 12px; color: var(--muted); font-weight: 800; text-transform: none; }

body.home .amz-bullets ul, body.front-page .amz-bullets ul{ margin: 8px 0 0; padding-left: 18px; }
body.home .amz-bullets li, body.front-page .amz-bullets li{ margin: 8px 0; line-height: 1.45; }

body.home .amz-buy, body.front-page .amz-buy{
  position: relative;
}
body.home .amz-buybox, body.front-page .amz-buybox{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
}
body.home .amz-buy-stock, body.front-page .amz-buy-stock{ color: #067d62; font-weight: 800; font-size: 18px; margin-bottom: 10px; }
body.home .amz-qty, body.front-page .amz-qty{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  color:#111;
  font-size: 14px;
}
body.home .amz-qty select, body.front-page .amz-qty select{
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
}
body.home .amz-btn, body.front-page .amz-btn{
  display:block;
  width: 100%;
  text-align:center;
  padding: 12px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  margin-top: 10px;
}
body.home .amz-btn-cart, body.front-page .amz-btn-cart{ background: #f6d44a; color: #111; }
body.home .amz-btn-buy, body.front-page .amz-btn-buy{ background: #f0b04a; color: #111; }

@media (max-width: 980px){
  body.home .amz-grid, body.front-page .amz-grid{ grid-template-columns: 1fr; }
  body.home .amz-media, body.front-page .amz-media{ grid-template-columns: 40px 1fr; }
  body.home .amz-hero img, body.front-page .amz-hero img{ max-height: 420px; }
}

@media (max-width: 520px){
  body.home .amz-wrap, body.front-page .amz-wrap{ padding: 14px 12px 28px; }
  body.home .amz-title, body.front-page .amz-title{ font-size: 20px; }
  body.home .amz-price, body.front-page .amz-price{ font-size: 38px; }
  body.home .amz-style-card, body.front-page .amz-style-card{ width: 140px; }
}



/* --- Home Amazon Layout v2 (homepage only) --- */
body.home .amz-wrap{max-width: 1140px;margin:0 auto;padding:24px 18px;}
body.home .amz-grid{
  display:grid;
  grid-template-columns: 520px 1fr 320px;
  gap:24px;
  align-items:start;
}

body.home .amz-gallery{
  display:grid;
  grid-template-columns: 56px 1fr;
  gap:14px;
  align-items:start;
}

body.home .amz-thumbrail{
  display:flex;
  flex-direction:column;
  gap:10px;
}

body.home .amz-thumb{
  background:#fff;
  border:1px solid var(--line);
  border-radius:8px;
  padding:4px;
  cursor:pointer;
  display:block;
}
body.home .amz-thumb img{
  width:100%;
  height:48px;
  object-fit:contain;
  display:block;
}
body.home .amz-thumb.is-active{outline:2px solid #007185; outline-offset:0;}

body.home .amz-hero{
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  padding:16px;
  min-height:480px;
  display:flex;
  align-items:center;
  justify-content:center;
}
body.home .amz-hero img{
  width:100%;
  height:auto;
  max-height:480px;
  object-fit:contain;
  display:block;
}

body.home .amz-title h1{
  font-size:28px;
  line-height:1.2;
  margin:0 0 8px;
}
body.home .amz-sub{color:var(--muted);margin:0 0 10px;font-size:14px;}
body.home .amz-rating{display:flex;align-items:center;gap:10px;margin:8px 0 12px;}
body.home .amz-rating-num{font-weight:700;font-size:18px;}
body.home .amz-stars{color:var(--amazon-orange);letter-spacing:1px;}
body.home .amz-rating-count{color:#007185;text-decoration:none;}
body.home .amz-rating-count:hover{text-decoration:underline;}

body.home .amz-style-row{display:flex;gap:10px;align-items:baseline;margin:8px 0 10px;}
body.home .amz-style-label{font-weight:700;}
body.home .amz-style-value{font-weight:700;}

body.home .amz-style-cards{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:14px;
}
body.home .amz-style-card{
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
  padding:10px 10px 8px;
  display:flex;
  gap:10px;
  width:150px;
  text-align:left;
  cursor:pointer;
}
body.home .amz-style-card.is-active{outline:2px solid #007185;}
body.home .amz-style-thumb img{width:34px;height:34px;object-fit:contain;display:block;}
body.home .amz-style-name{font-size:13px;font-weight:700;line-height:1.05;}
body.home .amz-style-price{font-size:22px;font-weight:800;margin-top:6px;line-height:1;}
body.home .amz-style-price sup{font-size:12px;}
body.home .amz-style-unit{color:var(--muted);font-size:12px;margin-top:2px;}
body.home .amz-style-stock{color:#067d62;font-weight:700;font-size:12px;margin-top:4px;}
body.home .amz-style-badge{display:inline-block;background:#2f6b4f;color:#fff;font-weight:700;font-size:12px;padding:3px 8px;border-radius:999px;margin-top:6px;}

body.home .amz-priceblock{display:flex;gap:12px;align-items:baseline;margin:14px 0 8px;}
body.home .amz-discount{color:#b12704;font-weight:800;font-size:20px;}
body.home .amz-price{font-size:44px;font-weight:900;letter-spacing:-1px;}
body.home .amz-price sup{font-size:16px;vertical-align:super;}
body.home .amz-unit{color:var(--muted);font-size:14px;}

body.home .amz-meta{font-size:14px;color:var(--ink);}
body.home .amz-strike{text-decoration:line-through;}
body.home .amz-details{color:#007185;text-decoration:none;display:inline-block;margin:6px 0;}
body.home .amz-details:hover{text-decoration:underline;}

body.home .amz-accordions details{
  border-top:1px solid var(--line);
  padding:12px 0;
}
body.home .amz-accordions summary{
  font-weight:800;
  cursor:pointer;
  list-style:none;
}
body.home .amz-accordions summary::-webkit-details-marker{display:none;}
body.home .amz-accordions table{width:100%;border-collapse:collapse;margin-top:10px;font-size:14px;}
body.home .amz-accordions td{padding:6px 0;vertical-align:top;}
body.home .amz-accordions td:first-child{width:240px;color:var(--muted);}

body.home .buybox{
  border:1px solid var(--line);
  border-radius:14px;
  padding:16px;
  background:#fff;
}
body.home .buybox .stock{font-weight:800;color:#067d62;margin:0 0 10px;}
body.home .qty{display:block;color:var(--muted);font-size:14px;margin:6px 0 6px;}
body.home .qty-select{width:100%;padding:10px;border:1px solid var(--line);border-radius:10px;background:#fff;margin-bottom:12px;}
body.home .btn-cart, body.home .btn-buy{
  display:block;
  width:100%;
  text-align:center;
  padding:12px 14px;
  border-radius:999px;
  font-weight:800;
  text-decoration:none;
  margin:10px 0 0;
}
body.home .btn-cart{background:#ffd814;color:#111;border:1px solid #fcd200;}
body.home .btn-buy{background:#ffa41c;color:#111;border:1px solid #f08c00;}

@media (max-width: 900px){
  body.home .amz-grid{grid-template-columns: 1fr; gap:18px;}
  body.home .amz-gallery{grid-template-columns: 56px 1fr;}
  body.home .amz-right{order:3;}
}

/* =========================================================
   Home (mobile-first) — match Amazon mobile order
   Order: rating/title -> gallery slider -> style cards -> price/meta -> CTAs
   Scope: homepage only
   ========================================================= */

body.home .amz-mobile-gallery{display:none;}
body.home .amz-mobile-cta{display:none;}

@media (max-width: 980px){
  /* Switch to 1-column and render the mobile gallery inside the middle column */
  body.home .amz-grid{grid-template-columns: 1fr !important;}
  body.home .amz-left{display:none !important;}
  body.home .amz-mobile-gallery{display:block !important; margin:12px 0 10px;}

  /* Keep right buybox for desktop only; use mobile CTAs */
  body.home .amz-right{display:none !important;}
  body.home .amz-mobile-cta{display:grid !important; gap:10px; margin:14px 0 0;}
  body.home .amz-mobile-cta .btn-cart,
  body.home .amz-mobile-cta .btn-buy{margin:0 !important;}
}

/* Mobile slider visuals */
body.home .amz-mtrack{
  display:flex;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
}
body.home .amz-mtrack::-webkit-scrollbar{height:0;}
body.home .amz-mslide{
  flex:0 0 100%;
  scroll-snap-align:start;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:10px;
}
body.home .amz-mslide img{
  width:100%;
  max-height: 420px;
  object-fit:contain;
  display:block;
}
body.home .amz-mdots{
  display:flex;
  justify-content:center;
  gap:10px;
  margin:10px 0 0;
}
body.home .amz-mdot{
  width:10px;
  height:10px;
  border-radius:999px;
  border:1px solid rgba(17,24,39,.25);
  background:rgba(17,24,39,.20);
  cursor:pointer;
}
body.home .amz-mdot.is-active{background:rgba(17,24,39,.75); border-color:rgba(17,24,39,.75);}

/* Style cards: Amazon-ish sizing on mobile */
@media (max-width: 520px){
  body.home .amz-style-cards{gap:10px !important;}
  body.home .amz-style-card{width: 158px !important; padding:10px !important;}
  body.home .amz-style-thumb img{width:40px !important; height:40px !important;}
  body.home .amz-style-name{font-size:12px !important;}
  body.home .amz-style-price{font-size:20px !important;}
  body.home .amz-style-unit,
  body.home .amz-style-stock,
  body.home .amz-style-badge{font-size:11px !important;}
}


/* =====================================================================
   HOME (front-page.php) — FINAL AMAZON DESKTOP LAYOUT OVERRIDES
   Scope: ONLY the homepage markup that uses: <main class="amz-wrap home-amz">
   Goal: match Amazon PDP proportions (thumbs left, hero big, info mid, buybox right)
   ===================================================================== */

/* Ensure the home wrapper can actually grow wide enough on desktop */
.home-amz.amz-wrap{
  max-width: 1280px;
  margin: 0 auto;
  padding: 22px 16px 46px;
  width: 100%;
}

/* Main 3-column grid */
.home-amz .amz-grid{
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(380px, 520px) minmax(420px, 1fr) minmax(260px, 360px);
  gap: 22px;
  align-items: start;
}

/* LEFT: gallery */
.home-amz .amz-gallery{
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: start;
}

/* Thumbnail rail like Amazon */
.home-amz .amz-thumbrail{
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.home-amz .amz-thumb{
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 4px;
  cursor: pointer;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
}
.home-amz .amz-thumb img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.home-amz .amz-thumb.is-active,
.home-amz .amz-thumb.is-active:focus{
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37,99,235,.18);
  outline: none;
}

/* Hero image (big) */
.home-amz .amz-hero{
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.home-amz .amz-hero img{
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: contain;
  display: block;
}

/* MIDDLE: keep Amazon typography feel */
.home-amz .amz-title h1{
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.2px;
}
.home-amz .amz-sub{
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}
.home-amz .amz-rating{
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0 12px;
}
.home-amz .amz-rating-num{ font-weight: 700; font-size: 18px; }
.home-amz .amz-stars{ color: #ffa41c; letter-spacing: 1px; }
.home-amz .amz-rating-count{ color: #007185; text-decoration: none; }
.home-amz .amz-rating-count:hover{ text-decoration: underline; }

/* Style cards */
.home-amz .amz-style-cards{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.home-amz .amz-style-card{
  border: 2px solid rgba(15,23,42,.18);
  border-radius: 14px;
  background: #fff;
  padding: 10px;
  width: 170px;
  text-align: left;
  cursor: pointer;
}
.home-amz .amz-style-card.is-active{
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37,99,235,.12);
}
.home-amz .amz-style-thumb img{
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
}
.home-amz .amz-style-name{ font-size: 13px; font-weight: 700; line-height: 1.05; }
.home-amz .amz-style-price{ font-size: 22px; font-weight: 800; margin-top: 6px; line-height: 1; }
.home-amz .amz-style-price sup{ font-size: 12px; }
.home-amz .amz-style-unit{ color: var(--muted); font-size: 12px; margin-top: 2px; }
.home-amz .amz-style-stock{ color: #067d62; font-weight: 700; font-size: 12px; margin-top: 4px; }
.home-amz .amz-style-badge{
  display: inline-block;
  background: #2f6b4f;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  margin-top: 6px;
}

/* Price block */
.home-amz .amz-priceblock{ display: flex; gap: 12px; align-items: baseline; margin: 14px 0 8px; }
.home-amz .amz-discount{ color: #b12704; font-weight: 800; font-size: 20px; }
.home-amz .amz-price{ font-size: 46px; font-weight: 900; letter-spacing: -1px; }
.home-amz .amz-price sup{ font-size: 16px; vertical-align: super; }
.home-amz .amz-unit{ color: var(--muted); font-size: 14px; }

/* Accordions */
.home-amz .amz-accordions details{
  border-top: 1px solid var(--line);
  padding: 12px 0;
}
.home-amz .amz-accordions summary{
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}
.home-amz .amz-accordions summary::-webkit-details-marker{ display: none; }
.home-amz .amz-accordions table{
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  font-size: 14px;
}
.home-amz .amz-accordions td{
  padding: 6px 0;
  vertical-align: top;
}
.home-amz .amz-accordions td:first-child{
  width: 240px;
  color: var(--muted);
}

/* RIGHT: buy box (sticky like Amazon) */
.home-amz .amz-right .buybox{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  position: sticky;
  top: 14px;
}
.home-amz .buybox .stock{ font-weight: 800; color: #067d62; margin: 0 0 10px; }
.home-amz .qty{ display:block; color: var(--muted); font-size: 14px; margin: 6px 0; }
.home-amz .qty-select{
  width: 100%;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  margin-bottom: 12px;
}
.home-amz .btn-cart, .home-amz .btn-buy{
  display: block;
  width: 100%;
  text-align: center;
  padding: 12px 14px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  margin: 10px 0 0;
}
.home-amz .btn-cart{ background: #ffd814; color: #111; border: 1px solid #fcd200; }
.home-amz .btn-buy{ background: #ffa41c; color: #111; border: 1px solid #f08c00; }

/* Responsive: stack for <= 1100px */
@media (max-width: 900px){
  .home-amz.amz-wrap{ padding: 16px 12px 34px; }
  .home-amz .amz-grid{
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .home-amz .amz-gallery{ grid-template-columns: 56px 1fr; }
  .home-amz .amz-right .buybox{ position: static; }
  .home-amz .amz-title h1{ font-size: 22px; }
  .home-amz .amz-price{ font-size: 40px; }
}

/* Ultra small phones */
@media (max-width: 420px){
  .home-amz .amz-style-card{ width: 160px; }
  .home-amz .amz-hero{ min-height: 420px; }
  .home-amz .amz-hero img{ max-height: 420px; }
}


/* =========================================================
   HOME — AMAZON DESKTOP PARITY OVERRIDES (final)
   Goal: match Amazon PDP proportions on desktop and prevent cropped thumbs.
   This section intentionally uses !important to win against earlier legacy rules.
   ========================================================= */
body.home .amz-wrap,
body.front-page .amz-wrap{
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding: 24px 18px 46px !important;
  width: 100% !important;
}

body.home .amz-grid,
body.front-page .amz-grid{
  max-width: 1400px !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: 520px 1fr 320px !important;
  gap: 22px !important;
  align-items: start !important;
}

/* Gallery: thumbs + hero sizing */
body.home .amz-gallery,
body.front-page .amz-gallery{
  display: grid !important;
  grid-template-columns: 56px 1fr !important;
  gap: 14px !important;
  align-items: start !important;
}

body.home .amz-thumb,
body.front-page .amz-thumb{
  width: 56px !important;
  height: 56px !important;
  padding: 4px !important;
  border-radius: 8px !important;
}

body.home .amz-thumb img,
body.front-page .amz-thumb img{
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important; /* IMPORTANT: prevent crop */
  display: block !important;
}

body.home .amz-hero,
body.front-page .amz-hero{
  padding: 18px !important;
  min-height: 540px !important;
}

body.home .amz-hero img,
body.front-page .amz-hero img{
  max-height: 540px !important;
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
}

/* Middle column typography close to Amazon */
body.home .amz-title h1,
body.front-page .amz-title h1{
  font-size: 26px !important;
  line-height: 1.18 !important;
  font-weight: 700 !important;
  margin: 0 0 8px !important;
}

body.home .amz-sub,
body.front-page .amz-sub{
  font-size: 14px !important;
  line-height: 1.4 !important;
}

body.home .amz-rating,
body.front-page .amz-rating{
  gap: 8px !important;
  font-size: 14px !important;
}

body.home .amz-rating-num,
body.front-page .amz-rating-num{ font-size: 16px !important; }

body.home .amz-stars,
body.front-page .amz-stars{ color: #ffa41c !important; }

body.home .amz-price,
body.front-page .amz-price{ letter-spacing: -0.02em !important; }

/* Buybox look & spacing */
body.home .amz-right .buybox,
body.front-page .amz-right .buybox{
  border-radius: 12px !important;
  box-shadow: 0 8px 24px rgba(15,23,42,.08) !important;
}

body.home .amz-right .btn-cart,
body.front-page .amz-right .btn-cart{
  padding: 12px 14px !important;
}

body.home .amz-right .btn-buy,
body.front-page .amz-right .btn-buy{
  padding: 12px 14px !important;
}

/* Responsive: keep Amazon-like stack under 1100px */
@media (max-width: 900px){
  body.home .amz-grid,
  body.front-page .amz-grid{
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }
  body.home .amz-hero,
  body.front-page .amz-hero{
    min-height: 0 !important;
  }
  body.home .amz-hero img,
  body.front-page .amz-hero img{
    max-height: 420px !important;
  }
}


/* =========================================================
   HOME AMAZON PDP — FINAL OVERRIDES (scoped to front-page.php)
   Goal: match Amazon desktop spacing and order (price above styles)
   ========================================================= */
.amz-wrap.home-amz{
  max-width:1200px;
  margin:0 auto;
  padding:24px 18px 40px;
}
.amz-wrap.home-amz .amz-grid{
  max-width:none;
  margin:0;
  display:grid;
  grid-template-columns: 480px minmax(0,1fr) 300px;
  gap:24px;
  align-items:start;
}

/* Left gallery */
.amz-wrap.home-amz .amz-gallery{
  display:grid;
  grid-template-columns: 56px 1fr;
  gap:14px;
  align-items:start;
}
.amz-wrap.home-amz .amz-thumbrail{display:flex;flex-direction:column;gap:10px;}
.amz-wrap.home-amz .amz-thumb{
  width:50px;
  height:50px;
  padding:6px;
  border:1px solid var(--line);
  border-radius:10px;
  background:#fff;
}
.amz-wrap.home-amz .amz-thumb img{width:100%;height:100%;object-fit:contain;display:block;}
.amz-wrap.home-amz .amz-hero{
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  padding:16px;
  min-height:480px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.amz-wrap.home-amz .amz-hero img{
  width:100%;
  max-height:480px;
  height:auto;
  object-fit:contain;
}

/* Middle column */
.amz-wrap.home-amz .amz-title h1{
  margin:0 0 8px;
  font-size:28px;
  line-height:1.2;
}
.amz-wrap.home-amz .amz-sub{margin:0 0 10px;font-size:14px;color:var(--muted);}
.amz-wrap.home-amz .amz-rating{display:flex;align-items:center;gap:10px;margin:8px 0 12px;}
.amz-wrap.home-amz .amz-stars{color:#ffa41c;letter-spacing:1px;}
.amz-wrap.home-amz .amz-rating-count{color:#007185;text-decoration:none;}
.amz-wrap.home-amz .amz-rating-count:hover{text-decoration:underline;}

/* Price block sits above styles now */
.amz-wrap.home-amz .amz-priceblock{
  display:flex;
  align-items:baseline;
  gap:12px;
  margin: 10px 0 8px;
}
.amz-wrap.home-amz .amz-discount{color:#b12704;font-weight:800;font-size:20px;}
.amz-wrap.home-amz .amz-price{font-size:44px;font-weight:900;letter-spacing:-1px;}
.amz-wrap.home-amz .amz-price sup{font-size:16px;vertical-align:super;}
.amz-wrap.home-amz .amz-unit{color:var(--muted);font-size:14px;}
.amz-wrap.home-amz .amz-meta{font-size:14px;color:var(--ink);line-height:1.35;}
.amz-wrap.home-amz .amz-details{color:#007185;text-decoration:none;}
.amz-wrap.home-amz .amz-details:hover{text-decoration:underline;}

/* Style options: 2x2 grid on desktop like Amazon tiles */
.amz-wrap.home-amz .amz-style{margin:12px 0 8px;}
.amz-wrap.home-amz .amz-style-row{display:flex;gap:10px;align-items:baseline;margin:8px 0 10px;}
.amz-wrap.home-amz .amz-style-cards{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:12px;
  max-width:360px;
}
.amz-wrap.home-amz .amz-style-card{
  width:auto;
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
  padding:10px;
  display:flex;
  gap:10px;
  text-align:left;
}
.amz-wrap.home-amz .amz-style-card.is-active{outline:2px solid #007185;}
.amz-wrap.home-amz .amz-style-thumb img{width:34px;height:34px;object-fit:contain;display:block;}
.amz-wrap.home-amz .amz-style-name{font-size:13px;font-weight:700;line-height:1.05;}
.amz-wrap.home-amz .amz-style-price{font-size:22px;font-weight:800;margin-top:6px;line-height:1;}
.amz-wrap.home-amz .amz-style-price sup{font-size:12px;}
.amz-wrap.home-amz .amz-style-unit{color:var(--muted);font-size:12px;margin-top:2px;}
.amz-wrap.home-amz .amz-style-stock{color:#067d62;font-weight:700;font-size:12px;margin-top:4px;}
.amz-wrap.home-amz .amz-style-badge{display:inline-block;background:#2f6b4f;color:#fff;font-weight:700;font-size:12px;padding:3px 8px;border-radius:999px;margin-top:6px;}

/* Right buybox */
.amz-wrap.home-amz .buybox{
  border:1px solid var(--line);
  border-radius:14px;
  padding:16px;
  background:#fff;
  box-shadow: 0 6px 18px rgba(15,23,42,.06);
}
.amz-wrap.home-amz .buybox .stock{font-weight:800;color:#067d62;margin:0 0 10px;}
.amz-wrap.home-amz .qty-select{width:100%;padding:10px;border:1px solid var(--line);border-radius:10px;background:#fff;margin-bottom:12px;}
.amz-wrap.home-amz .btn-cart{background:#ffd814;color:#111;border:1px solid #fcd200;}
.amz-wrap.home-amz .btn-buy{background:#ffa41c;color:#111;border:1px solid #f08c00;}

/* Accordions spacing */
.amz-wrap.home-amz .amz-accordions details{border-top:1px solid var(--line);padding:12px 0;}
.amz-wrap.home-amz .amz-accordions summary{font-weight:800;cursor:pointer;list-style:none;}
.amz-wrap.home-amz .amz-accordions summary::-webkit-details-marker{display:none;}
.amz-wrap.home-amz .amz-accordions table{width:100%;border-collapse:collapse;margin-top:10px;font-size:14px;}
.amz-wrap.home-amz .amz-accordions td{padding:6px 0;vertical-align:top;}
.amz-wrap.home-amz .amz-accordions td:first-child{width:240px;color:var(--muted);}

/* Responsive */
@media (max-width: 900px){
  .amz-wrap.home-amz{padding:18px 14px 34px;}
  .amz-wrap.home-amz .amz-grid{grid-template-columns:1fr;gap:18px;}
  .amz-wrap.home-amz .amz-gallery{grid-template-columns:56px 1fr;}
  .amz-wrap.home-amz .amz-style-cards{max-width:none;grid-template-columns: repeat(2, minmax(0, 1fr));}
}
@media (max-width: 520px){
  .amz-wrap.home-amz .amz-title h1{font-size:18px;}
  .amz-wrap.home-amz .amz-price{font-size:38px;}
  .amz-wrap.home-amz .amz-style-cards{grid-template-columns:1fr;}
  .amz-wrap.home-amz .amz-hero{min-height:420px;}
}

/* ===== HOTFIX: Home buttons visible on mobile =====
   Earlier global rule hides .buybox on screens <=1100px (intended for product pages with a separate .mobile-buy-cta).
   The homepage uses the Amazon-like right buybox for the primary CTAs, so we must NOT hide it on mobile.
*/
@media (max-width:1100px){
  body.home .buybox,
  body.front-page .buybox{
    display:block !important;
  }
}

/* =========================================================
   Home — Amazon mobile ordering + swipe gallery (homepage only)
   - Rating/title on top
   - Swipe gallery with dots
   - Style cards sized closer to Amazon mobile
   ========================================================= */

/* Mobile gallery (only visible on <=1100px) */
.amz-wrap.home-amz .amz-mobile-gallery{display:none;}
.amz-wrap.home-amz .amz-mtrack{
  display:flex;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
}
.amz-wrap.home-amz .amz-mtrack::-webkit-scrollbar{height:0;}
.amz-wrap.home-amz .amz-mslide{
  flex:0 0 100%;
  scroll-snap-align:start;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:14px;
}
.amz-wrap.home-amz .amz-mslide img{
  width:100%;
  max-height:420px;
  height:auto;
  object-fit:contain;
  display:block;
}
.amz-wrap.home-amz .amz-mdots{
  display:flex;
  justify-content:center;
  gap:8px;
  padding:10px 0 0;
}
.amz-wrap.home-amz .amz-mdot{
  width:10px;
  height:10px;
  border-radius:999px;
  border:1px solid rgba(17,24,39,.25);
  background:rgba(17,24,39,.18);
}
.amz-wrap.home-amz .amz-mdot.is-active{
  background:rgba(17,24,39,.75);
  border-color:rgba(17,24,39,.75);
}

/* Mobile-only CTA block (matches Amazon placement better) */
.amz-wrap.home-amz .amz-mobile-cta{display:none; margin:14px 0 0;}
.amz-wrap.home-amz .amz-mobile-cta .btn-cart,
.amz-wrap.home-amz .amz-mobile-cta .btn-buy{
  display:block;
  width:100%;
  text-align:center;
  padding:14px 16px;
  border-radius:999px;
  font-weight:800;
  text-decoration:none;
  border:1px solid rgba(0,0,0,.08);
}

@media (max-width:1100px){
  /* Match Amazon order: mid (title/rating) first, then gallery, then styles/pricing, then buybox */
  .amz-wrap.home-amz .amz-mid{order:1;}
  .amz-wrap.home-amz .amz-left{display:none;}
  .amz-wrap.home-amz .amz-mobile-gallery{display:block;}
  .amz-wrap.home-amz .amz-right{order:4;}

  /* Typography parity (mobile) */
  .amz-wrap.home-amz .amz-title h1{font-size:17px; line-height:1.35; font-weight:400;}
  .amz-wrap.home-amz .amz-rating{justify-content:flex-start; margin:2px 0 8px;}
  .amz-wrap.home-amz .amz-rating-num{font-size:14px;}
  .amz-wrap.home-amz .amz-stars{letter-spacing:.5px; font-size:14px;}
  .amz-wrap.home-amz .amz-rating-count{font-size:14px;}

  /* Style cards closer to Amazon: compact, horizontal scroll */
  .amz-wrap.home-amz .amz-style-cards{
    display:flex;
    gap:12px;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    padding-bottom:8px;
    max-width:none;
  }
  .amz-wrap.home-amz .amz-style-card{
    flex:0 0 176px;
    border:2px solid #d1d5db;
    border-radius:14px;
    padding:12px;
    gap:12px;
    align-items:flex-start;
  }
  .amz-wrap.home-amz .amz-style-card.is-active{border-color:#1f6feb; outline:0; box-shadow: 0 0 0 2px rgba(31,111,235,.10) inset;}
  .amz-wrap.home-amz .amz-style-thumb img{width:62px;height:62px;border-radius:10px;border:1px solid var(--line);}
  .amz-wrap.home-amz .amz-style-name{font-size:12px; font-weight:700;}
  .amz-wrap.home-amz .amz-style-price{font-size:18px;}
  .amz-wrap.home-amz .amz-style-unit,
  .amz-wrap.home-amz .amz-style-stock,
  .amz-wrap.home-amz .amz-style-badge{font-size:12px;}

  /* Show mobile CTA block; keep right buybox for desktop only */
  .amz-wrap.home-amz .amz-mobile-cta{display:grid; gap:12px;}
  .amz-wrap.home-amz .amz-right{display:none;}
}

@media (max-width:520px){
  .amz-wrap.home-amz .amz-mslide img{max-height:360px;}
  .amz-wrap.home-amz .amz-discount{font-size:22px;}
  .amz-wrap.home-amz .amz-price{font-size:36px;}
}

/* =========================================================
   Home — Amazon mobile ordering + swipe gallery (homepage only)
   ========================================================= */

/* Default: keep the 3-column layout controlled by .amz-grid rules above */

/* Mobile: show rating/title first, then swipe gallery, then style cards/price */
@media (max-width: 900px){
  .amz-wrap.home-amz .amz-grid{grid-template-columns:1fr !important;}
  .amz-wrap.home-amz .amz-mid{order:1;}
  .amz-wrap.home-amz .amz-left{display:none !important;}
  .amz-wrap.home-amz .amz-right{order:4;}

  .amz-wrap.home-amz .amz-mobile-gallery{display:block; order:2; margin: 8px 0 4px;}
  .amz-wrap.home-amz .amz-mobile-cta{display:grid; gap:12px; margin: 14px 0 18px;}
  .amz-wrap.home-amz .amz-mobile-cta .btn-cart,
  .amz-wrap.home-amz .amz-mobile-cta .btn-buy{margin:0;}
}

/* Mobile swipe track */
.amz-wrap.home-amz .amz-mtrack{
  display:flex;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
}
.amz-wrap.home-amz .amz-mtrack::-webkit-scrollbar{height:0;}
.amz-wrap.home-amz .amz-mslide{
  flex:0 0 100%;
  scroll-snap-align:start;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:14px;
}
.amz-wrap.home-amz .amz-mslide img{
  width:100%;
  max-height:420px;
  object-fit:contain;
  display:block;
}
.amz-wrap.home-amz .amz-mdots{
  display:flex;
  justify-content:center;
  gap:10px;
  padding:10px 0 2px;
}
.amz-wrap.home-amz .amz-mdot{
  width:10px;
  height:10px;
  border-radius:999px;
  border:1px solid rgba(17,24,39,.25);
  background:rgba(17,24,39,.20);
  cursor:pointer;
}
.amz-wrap.home-amz .amz-mdot.is-active{
  background:rgba(17,24,39,.75);
  border-color:rgba(17,24,39,.75);
}

/* Header block typography (closer to Amazon mobile) */
.amz-wrap.home-amz .amz-title h1{
  font-size:17px !important;
  line-height:1.35 !important;
  font-weight:400 !important;
  margin:0 0 6px !important;
}
@media (min-width: 1101px){
  .amz-wrap.home-amz .amz-title h1{font-size:24px !important;}
}

.amz-wrap.home-amz .amz-rating{justify-content:flex-start;}

/* Style cards: closer to Amazon mobile tiles */
@media (max-width: 900px){
  .amz-wrap.home-amz .amz-style-cards{gap:10px !important;}
  .amz-wrap.home-amz .amz-style-card{
    width:160px !important;
    padding:10px !important;
    border-radius:12px !important;
  }
  .amz-wrap.home-amz .amz-style-thumb img{width:44px !important; height:44px !important;}
  .amz-wrap.home-amz .amz-style-name{font-size:12px !important;}
  .amz-wrap.home-amz .amz-style-price{font-size:20px !important;}
  .amz-wrap.home-amz .amz-style-unit,
  .amz-wrap.home-amz .amz-style-stock{font-size:11px !important;}
}

/* ==========================================================
   PDP (product pages) – align with Amazon mobile ordering
   ========================================================== */

/* Use the same 3-column structure across product pages.
   Goal: match Amazon-like proportions and keep 3 columns visible on common laptop widths.
   (We keep the breakpoint at 980px; below that we stack.) */
.product-layout{display:grid;grid-template-columns:420px minmax(0,1fr) 280px;gap:24px;align-items:start}
@media (min-width: 1200px){
  .product-layout{grid-template-columns:480px minmax(0,1fr) 300px}
}
@media (max-width: 980px){.product-layout{grid-template-columns:1fr;gap:16px}}

/* Prevent mid-column content (e.g. variant cards) from visually overlapping the buy box */
.product-layout > *{min-width:0}

/* Make mobile typography closer to Amazon (smaller than desktop) */
.dt-amz__title{font-size:22px;line-height:1.25}
@media (max-width: 680px){.dt-amz__title{font-size:20px}}

/* Larger Amazon-like style cards on mobile */
.dt-amz__variants{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding:4px 0 10px}
.dt-amz__variant{min-width:220px;scroll-snap-align:start;border:1px solid #d5d9d9;border-radius:12px;padding:10px;box-shadow:none;background:#fff}
.dt-amz__variant.is-active{border:2px solid #007185}
.dt-amz__vImg{height:120px;display:flex;align-items:center;justify-content:center;margin-bottom:10px}
.dt-amz__vImg img{max-height:120px;max-width:100%;object-fit:contain}
.dt-amz__vName{font-size:18px;font-weight:700;line-height:1.1;margin-bottom:6px}
.dt-amz__vPrice{font-size:30px;font-weight:800;line-height:1}
.dt-amz__vUnit,.dt-amz__vStrike{font-size:14px}
.dt-amz__vStock{font-size:16px;font-weight:700;margin-top:6px}

/* Desktop / laptop: show the variant tiles as a wrapped row (no horizontal scroller),
   so they stay inside the middle column like on Amazon. */
@media (min-width: 981px){
  .dt-amz__variants{overflow-x:visible;scroll-snap-type:none;flex-wrap:wrap;gap:10px;padding-bottom:0}
  .dt-amz__variant{min-width:160px;max-width:180px;padding:10px}
  .dt-amz__vImg{height:90px}
  .dt-amz__vImg img{max-height:90px}
  .dt-amz__vName{font-size:16px}
  .dt-amz__vPrice{font-size:26px}
}

/* Buy box – keep buttons visible and consistent */
.dt-amz__cta{display:flex;flex-direction:column;gap:10px;margin-top:10px}
.dt-amz__btn{display:block;text-align:center;border-radius:28px;padding:14px 16px;font-weight:800}

/* Make the Powerboost page style circles less dominant on mobile */
@media (max-width: 680px){
  .amz-pdp-title{font-size:20px;line-height:1.25}
  .product-main p{font-size:14px}
}

/* =========================
   FIX: Deep Tissue page gallery was forced into 2-col grid (.product-gallery)
   which shrinks the slider to ~70px on desktop.
   Force single-column gallery wrapper for this template.
   ========================= */
body.page-template-page-sharper-image-deep-tissue-php .product-gallery{
  display:block !important;
  grid-template-columns: 1fr !important;
  padding: 0 !important;
}
body.page-template-page-sharper-image-deep-tissue-php .product-gallery .dt-amz__gallery{
  margin:0;
}
body.page-template-page-sharper-image-deep-tissue-php .product-gallery .dt-amz__slider,
body.page-template-page-sharper-image-deep-tissue-php .product-gallery .dt-amz__track,
body.page-template-page-sharper-image-deep-tissue-php .product-gallery .dt-amz__slide{
  width:100%;
}

/* =========================
   Amazon-like layout overrides (stability + proportions)
   - Keep 3 columns working on typical laptop widths.
   - Prevent mid-column content (variants) from overflowing into the buybox.
   ========================= */

/* Base: stack on small screens */
@media (max-width: 900px){
  .product-layout{grid-template-columns:1fr !important;gap:16px !important;}
}

/* Laptop/Desktop: slightly narrower side columns (closer to Amazon) */
@media (min-width: 901px){
  .product-layout{grid-template-columns:420px minmax(0,1fr) 280px !important;gap:24px !important;}
  .product-main,.dt-amz__main{min-width:0;}
  .product-buybox,.dt-amz__buy{min-width:0;}
}

/* Very wide screens can afford the larger gallery + buybox */
@media (min-width: 1200px){
  .product-layout{grid-template-columns:480px minmax(0,1fr) 300px !important;}
}

/* Deep Tissue: variants should WRAP on desktop (no horizontal overflow) */
@media (min-width: 901px){
  body.page-template-page-sharper-image-deep-tissue-php .dt-amz__variants{
    flex-wrap:wrap;
    overflow:visible;
    padding-bottom:0;
  }
  body.page-template-page-sharper-image-deep-tissue-php .dt-amz__variant{
    min-width:160px;
    max-width:180px;
    flex:0 0 170px;
  }
}

/* =============================
   HOTFIX (v6): enforce true 3-column Amazon-like layout on desktop
   and prevent variant cards overlapping the buybox.
   ============================= */

@media (min-width: 1024px) {
  /* Always 3 columns: gallery | content | buybox */
  .product-layout,
  .product-layout--amazon {
    display: grid !important;
    grid-template-columns: 520px minmax(0, 1fr) 340px !important;
    grid-template-rows: auto !important;
    column-gap: 24px !important;
    align-items: start !important;
  }

  .product-layout .product-gallery,
  .product-layout--amazon .product-gallery {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  .product-layout .product-main,
  .product-layout--amazon .product-main {
    grid-column: 2 !important;
    grid-row: 1 !important;
    min-width: 0 !important; /* prevent overflow */
  }

  .product-layout .product-buybox,
  .product-layout--amazon .product-buybox,
  .dt-amz__buybox {
    grid-column: 3 !important;
    grid-row: 1 !important;
    min-width: 0 !important;
    z-index: 1 !important;
  }

  /* Variants should stay inside column 2 (scroll horizontally if needed) */
  .product-layout .variant-strip,
  .product-layout .dt-amz__variants,
  .product-layout--amazon .variant-strip,
  .product-layout--amazon .dt-amz__variants {
    grid-column: 2 !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    flex-wrap: nowrap !important;
    position: relative !important;
    z-index: 2 !important;
  }

  .product-layout .dt-amz__variant,
  .product-layout--amazon .dt-amz__variant {
    flex: 0 0 200px !important;
    max-width: 220px !important;
  }

  /* Keep buybox from covering content in edge cases */
  .product-layout .product-buybox,
  .product-layout--amazon .product-buybox {
    background: #fff !important;
  }
}

@media (max-width: 1023px) {
  /* Tablet/mobile: stack columns cleanly */
  .product-layout,
  .product-layout--amazon {
    display: block !important;
  }

  .product-buybox,
  .dt-amz__buybox {
    position: static !important;
  }
}


/* =====================================================
   Amazon-style Product Review Template (pages)
   Use with: "Template: Product Review (Amazon Style)"
   ===================================================== */

/* Sticky CTA bar (mobile) */
.sticky-cta{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  background: #fff;
  border-top: 1px solid rgba(0,0,0,.12);
}
.sticky-cta .sticky-title{
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}
.sticky-cta a{
  display: inline-block;
  padding: 10px 12px;
  border-radius: 10px;
  background: #ff9900;
  color: #111;
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}

/* Avoid sticky bar overlapping content */
.page-template-template-product-review .entry-content{
  padding-bottom: 70px;
}

/* Hero layout */
.product-hero{
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
  margin: 10px 0 18px 0;
}
@media (min-width: 768px){
  .product-hero{ grid-template-columns: 380px 1fr; }
}
.product-hero-left img{
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

.product-hero-right h1{
  font-size: 28px;
  line-height: 1.25;
  margin: 0 0 10px 0;
}
.product-hero-right .subtitle{
  margin: 0 0 12px 0;
  font-size: 16px;
  line-height: 1.35;
}

.benefits{
  margin: 0 0 14px 0;
  padding-left: 18px;
}
.benefits li{ margin: 6px 0; }

.cta-button{
  display: inline-block;
  padding: 12px 14px;
  border-radius: 10px;
  background: #ffd814;
  border: 1px solid rgba(0,0,0,.15);
  color: #111;
  text-decoration: none;
  font-weight: 700;
}

/* Headings consistency inside product pages */
.page-template-template-product-review h2{
  font-size: 22px;
  margin-top: 28px;
  margin-bottom: 10px;
  font-weight: 700;
}
.page-template-template-product-review h3{
  font-size: 18px;
  margin-top: 20px;
  margin-bottom: 8px;
  font-weight: 600;
}

/* --- Logitech MX Master 3S page layout (Amazon-style, consistent with theme) --- */
.product-top{display:grid;grid-template-columns:1fr;gap:18px;margin:18px 0 26px}
.product-gallery .gallery-main{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:12px;display:flex;justify-content:center;align-items:center}
.product-gallery .gallery-main img{max-width:100%;height:auto;object-fit:contain}
.gallery-thumbs{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}
.gallery-thumbs .thumb{border:1px solid #e5e7eb;background:#fff;border-radius:10px;padding:6px;cursor:pointer}
.gallery-thumbs .thumb img{width:70px;height:70px;object-fit:contain;display:block}
.product-summary .product-title{margin:0 0 8px 0}
.product-summary .rating-row{display:flex;align-items:center;gap:10px;margin:6px 0 10px}
.product-summary .stars .star{font-size:18px;line-height:1}
.product-summary .product-subtitle{margin:0 0 12px 0;color:#374151}
.key-bullets{margin:0 0 14px 18px}
.buy-box{background:#f8fafc;border:1px solid #e5e7eb;border-radius:12px;padding:14px;margin-top:12px}
.buy-box-row{display:flex;align-items:center;justify-content:space-between;gap:12px}
.buy-box-label{font-weight:700}
.buy-box-note{font-size:13px;color:#6b7280;margin-top:8px}
.buy-btn{display:inline-block;background:#ffd814;color:#111;border:1px solid #fcd200;border-radius:10px;padding:12px 16px;font-weight:800;text-decoration:none}
.buy-btn:hover{filter:brightness(0.98)}
.buy-btn.wide{width:100%;text-align:center;padding:16px 18px;border-radius:14px}
.pros-cons{display:grid;grid-template-columns:1fr;gap:14px;margin:10px 0 20px}
.pros-cons .pros,.pros-cons .cons{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:14px}
.cta-wide{margin:18px 0 8px}

@media(min-width:900px){
  .product-top{grid-template-columns:1.1fr 0.9fr;gap:26px}
  .gallery-thumbs .thumb img{width:78px;height:78px}
  .pros-cons{grid-template-columns:1fr 1fr}
}

/* =========================================================
   LOGITECH MX MASTER 3S — AMAZON-LIKE PAGE (V11)
   ========================================================= */
.mx-amazon-shell{max-width:1200px;}
.mx-hero-grid{display:grid;grid-template-columns:360px 1fr 320px;gap:22px;align-items:start;}
@media (max-width:1100px){
  .mx-hero-grid{grid-template-columns:320px 1fr;}
  .mx-buybox{grid-column:1 / -1;}
}
@media (max-width:768px){
  .mx-hero-grid{grid-template-columns:1fr;}
}

.mx-gallery{display:grid;grid-template-columns:70px 1fr;gap:12px;}
@media (max-width:768px){
  .mx-gallery{grid-template-columns:1fr;}
}

.mx-thumbs{display:flex;flex-direction:column;gap:10px;}
@media (max-width:768px){
  .mx-thumbs{flex-direction:row;overflow:auto;padding-bottom:6px;}
}

.mx-thumb{width:68px;height:68px;border:1px solid #d5d9d9;border-radius:10px;background:#fff;display:flex;align-items:center;justify-content:center;overflow:hidden;cursor:pointer;}
.mx-thumb img{width:100%;height:100%;object-fit:contain;display:block;}
.mx-thumb.is-active{border-color:#ff9900;box-shadow:0 0 0 2px rgba(255,153,0,.25);}

.mx-main-wrap{border:1px solid #d5d9d9;border-radius:14px;background:#fff;padding:14px;}
.mx-main{width:100%;height:auto;max-height:620px;object-fit:contain;display:block;margin:0 auto;}

.mx-breadcrumb{font-size:13px;color:#565959;margin:2px 0 10px 0;}
.mx-details h1{margin:0 0 8px 0;}
.mx-sub{margin:0 0 10px 0;color:#565959;}
.mx-rating-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:6px 0 14px 0;}
.mx-rating-row .mx-bought{color:#565959;}

.mx-bullets{margin:10px 0 18px 18px;}
.mx-bullets li{margin:8px 0;}

.mx-cta-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px;}
.mx-cta-row .btn{padding:12px 16px;border-radius:12px;}

.mx-buybox{border:1px solid #d5d9d9;border-radius:14px;background:#fff;padding:14px;position:sticky;top:14px;}
.mx-buybox h3{margin:0 0 8px 0;font-size:16px;}
.mx-buy-meta{color:#565959;font-size:14px;margin-bottom:10px;}
.mx-buy-actions{display:grid;gap:10px;}
.mx-buy-actions .btn{width:100%;justify-content:center;}
.mx-buy-note{font-size:13px;color:#565959;margin-top:10px;}

/* Sticky CTA (mobile) */
.mx-sticky-cta{position:fixed;left:0;right:0;bottom:0;background:#fff;border-top:1px solid #e3e6e6;padding:10px 12px;z-index:9999;display:none;}
.mx-sticky-inner{display:flex;gap:10px;align-items:center;}
.mx-sticky-title{font-size:13px;font-weight:700;line-height:1.2;}
.mx-sticky-btn{margin-left:auto;}
.mx-sticky-btn .btn{padding:10px 14px;border-radius:12px;}
@media (max-width:768px){
  .mx-sticky-cta{display:block;}
  body{padding-bottom:78px;}
}

/* =========================================================
   LOGITECH MX MASTER 3S — AMAZON-LIKE PAGE (V11)
   ========================================================= */
.mx-amazon-shell{max-width:1200px;}
.mx-hero-grid{display:grid;grid-template-columns:360px 1fr 320px;gap:22px;align-items:start;}
@media (max-width:1100px){
  .mx-hero-grid{grid-template-columns:320px 1fr;}
  .mx-buybox{grid-column:1 / -1;}
}
@media (max-width:780px){
  .mx-hero-grid{grid-template-columns:1fr;}
}

.mx-gallery{display:grid;grid-template-columns:72px 1fr;gap:12px;}
@media (max-width:780px){
  .mx-gallery{grid-template-columns:1fr;}
}
.mx-thumbs{display:flex;flex-direction:column;gap:10px;}
@media (max-width:780px){
  .mx-thumbs{flex-direction:row;overflow-x:auto;padding-bottom:6px;}
  .mx-thumbs::-webkit-scrollbar{height:6px;}
}
.mx-thumb{border:1px solid #d5d9d9;border-radius:10px;background:#fff;padding:0;cursor:pointer;display:flex;align-items:center;justify-content:center;aspect-ratio:1 / 1;}
.mx-thumb img{width:100%;height:100%;object-fit:cover;border-radius:10px;display:block;}
.mx-thumb.is-active{border-color:#ffa41c;box-shadow:0 0 0 2px rgba(255,164,28,.25);}

.mx-main-wrap{border:1px solid #d5d9d9;border-radius:14px;background:#fff;padding:14px;}
.mx-main-image{width:100%;height:auto;display:block;border-radius:10px;}

.mx-title{font-size:28px;line-height:1.15;margin:0 0 8px 0;font-weight:800;}
.mx-subtitle{margin:0 0 10px 0;color:#565959;font-size:15px;}

.mx-rating-row{display:flex;gap:10px;align-items:center;margin:0 0 12px 0;flex-wrap:wrap;}
.mx-stars{color:#f0a51b;font-size:16px;letter-spacing:1px;}
.mx-rating-meta{color:#007185;font-size:14px;}
.mx-bought{color:#565959;font-size:13px;}

.mx-bullets{margin:10px 0 14px 18px;}
.mx-bullets li{margin:6px 0;}

.mx-cta-row{display:flex;gap:12px;flex-wrap:wrap;margin-top:14px;}
.mx-btn{display:inline-flex;align-items:center;justify-content:center;padding:14px 16px;border-radius:12px;font-weight:800;text-decoration:none;border:1px solid rgba(0,0,0,.12);}
.mx-btn-primary{background:#ffd814;color:#111;border-color:#fcd200;}
.mx-btn-primary:hover{filter:brightness(.97);}
.mx-btn-secondary{background:#ffa41c;color:#111;border-color:#ff8f00;}
.mx-btn-secondary:hover{filter:brightness(.97);}

.mx-buybox{border:1px solid #d5d9d9;border-radius:14px;background:#fff;padding:16px;position:sticky;top:88px;}
@media (max-width:1100px){
  .mx-buybox{position:relative;top:auto;}
}
.mx-buybox h3{margin:0 0 8px 0;font-size:18px;}
.mx-buy-row{display:flex;flex-direction:column;gap:10px;margin-top:12px;}
.mx-mini{font-size:13px;color:#565959;margin:0;}
.mx-price{font-size:22px;font-weight:900;margin:6px 0 0 0;}
.mx-ship{font-size:13px;color:#565959;margin:0;}
.mx-buy-row .mx-btn{width:100%;}

.mx-section{margin-top:34px;}
.mx-section h2{font-size:26px;margin-bottom:10px;}
.mx-section h3{font-size:18px;margin:18px 0 8px;}
.mx-proscons{display:grid;grid-template-columns:1fr 1fr;gap:18px;}
@media (max-width:780px){
  .mx-proscons{grid-template-columns:1fr;}
}
.mx-card{border:1px solid #e7e7e7;border-radius:14px;background:#fff;padding:16px;}

/* =========================================================
   LOGITECH MX MASTER 3S — FINAL AMAZON PROPORTIONS
   - Match screenshots: wide PDP, vertical thumbs, large hero image,
     buybox with Add to cart + Buy Now.
   ========================================================= */
.mx-amazon-shell{max-width:1500px;}
.mx-hero-grid{grid-template-columns:430px 1fr 340px;}
@media (max-width:1100px){
  .mx-hero-grid{grid-template-columns:360px 1fr;}
}

/* Thumbs should NOT crop product images */
.mx-thumb{background:#fff;}
.mx-thumb img{object-fit:contain; background:#fff;}

/* Main image: contain like Amazon */
.mx-main-wrap{display:flex;align-items:center;justify-content:center;}
.mx-main-image{max-height:650px;object-fit:contain;}
.mx-card ul{margin:0 0 0 18px;}

/* Make the sticky-cta align visually with the Amazon-like page */
.sticky-cta .sticky-title{font-weight:800;}


/* Force logo size consistency */
.site-logo img, .site-logo-img, img.custom-logo {height:72px !important; max-height:72px !important; width:auto !important;}
@media (max-width: 600px){.site-logo img, .site-logo-img, img.custom-logo {height:64px !important; max-height:64px !important;}}


/* ===== v59 OVERRIDE: Bigger site logo (user request) ===== */
.site-logo img,
.site-logo-img,
img.custom-logo{
  height: 56px !important;
  max-height: 56px !important;
  width: auto !important;
}
@media (max-width: 720px){
  .site-logo img,
  .site-logo-img,
  img.custom-logo{
    height: 52px !important;
    max-height: 52px !important;
  }
}


main{flex:1 0 auto;}

/* ==========================================================
   FIXES (v74): Mobile gallery + buttons + remove bottom CTA
   ========================================================== */

/* Prevent any element from pushing wider than viewport */
img, video, iframe { max-width:100%; height:auto; }

/* Mobile: limit main gallery image height (Amazon-like) */
@media (max-width: 520px){
  .si-track{max-height:360px;}
  .si-slide img{
    max-height:320px;
    object-fit:contain;
  }
  .si-thumb{flex:0 0 88px; height:52px;}
}

/* CTAs: never overflow viewport */
.product-cta-row,
.product-cta-row a,
.amazon-card,
.amazon-card a{
  max-width:100%;
}

.product-cta-row{padding-left:16px; padding-right:16px;}
.product-cta-row a{
  display:block;
  width:100%;
  box-sizing:border-box;
}

/* Remove the bottom "Final" CTA button completely */
.final-cta{display:none !important;}

/* If any theme/plugin injects old Add-to-Cart/Buy-Now text buttons, hide them */
.add-to-cart, .buy-now, .amazon-add-to-cart, .amazon-buy-now{display:none !important;}


/* =========================================================
   UNIFIED PDP FIXES (v77)
   - Apply gallery styles on ALL pages (not only home)
   - Right-align rating block (score left of stars)
   - Thumb rail horizontal scroll on mobile
   ========================================================= */

.amz-rating-right { text-align: right; }
.amz-rating-right .amz-rating { justify-content: flex-end; }

/* Gallery (all pages) */
.amz-gallery { margin: 14px 0 10px; }
.amz-hero { width: 100%; border: 1px solid #e6e6e6; border-radius: 14px; overflow: hidden; background: #fff; }
.amz-hero img { width: 100%; height: auto; display: block; object-fit: contain; }
.amz-thumbrail { display: flex; gap: 10px; padding: 10px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.amz-thumbrail::-webkit-scrollbar { display: none; }
.amz-thumb { flex: 0 0 auto; width: 74px; height: 54px; border-radius: 12px; border: 1px solid #e6e6e6; background: #fff; display: grid; place-items: center; }
.amz-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.amz-thumb.is-active { border-color: #f08804; box-shadow: 0 0 0 2px rgba(240,136,4,.25); }

@media (max-width: 520px){
  .amz-thumb { width: 72px; height: 52px; }
}

/* Prevent anything from pushing wider than screen */
html, body { max-width: 100%; overflow-x: hidden; }
* { box-sizing: border-box; }
img, iframe, video { max-width: 100%; height: auto; }

/* Make CTA buttons never exceed viewport */
.amz-cta-row, .amz-cta { max-width: 100%; }
.amz-btn { width: 100%; max-width: 520px; margin-left: auto; margin-right: auto; }


/* ===== Amazon-style Variant Selector (v82) ===== */
.amz-variant-section{margin:14px 0 18px 0;}
.amz-variant-title{font-size:22px; font-weight:700; margin:0 0 10px 0;}
.amz-variant-row{display:flex; gap:14px; overflow-x:auto; padding:8px 2px 10px 2px; -webkit-overflow-scrolling:touch;}
.amz-variant-card{flex:0 0 180px; border:2px solid #d5d9d9; border-radius:14px; padding:12px; background:#fff; box-shadow:0 1px 0 rgba(0,0,0,.04);}
.amz-variant-card.is-active{border-color:#2b6cb0; box-shadow:0 0 0 1px rgba(43,108,176,.15);} 
.amz-variant-img{display:flex; justify-content:center; align-items:center; height:74px; margin-bottom:10px;}
.amz-variant-img img{max-height:74px; max-width:100%; object-fit:contain;}
.amz-variant-name{font-size:20px; font-weight:700; line-height:1.1; margin-bottom:8px; color:#0f62c0;}
.amz-variant-price{font-size:22px; font-weight:800; margin-bottom:6px; color:#111;}
.amz-variant-status{font-size:18px; font-weight:700; color:#1a7f37; margin-bottom:8px;}
.amz-variant-badge{display:inline-flex; align-items:center; justify-content:center; width:100%; padding:10px 12px; border-radius:10px; background:#2f6f55; color:#fff; font-weight:800; font-size:16px;}

.amz-priceblock{margin-top:14px;}
.amz-price-line{display:flex; align-items:flex-end; gap:10px; margin-bottom:10px;}
.amz-price{font-size:56px; font-weight:900; line-height:1;}
.amz-unit{font-size:18px; color:#444;}
.amz-shipline,.amz-delivery,.amz-fastest{font-size:20px; line-height:1.35; color:#333; margin:6px 0;}
.amz-link{color:#0f62c0; cursor:pointer;}
.amz-green{color:#1a7f37; font-weight:800;}
.amz-deliver{font-size:20px; margin-top:10px; color:#0f62c0; display:flex; align-items:center; gap:8px;}

@media (min-width: 980px){
  .amz-variant-row{overflow:visible; flex-wrap:wrap;}
  .amz-variant-card{flex:0 0 calc(50% - 7px);} /* 2x2 grid on desktop like screenshot */
}
.amz-container{
max-width:1400px;
margin:auto;
padding:20px;
font-family:Arial;
}

.amz-grid{
display:grid;
grid-template-columns:120px 1fr 350px;
gap:30px;
}

.amz-thumbs img{
width:100%;
border:1px solid #ddd;
margin-bottom:10px;
cursor:pointer;
}

.amz-main img{
width:100%;
max-height:520px;
object-fit:contain;
}

.amz-rating{
color:#FFA41C;
margin-bottom:10px;
}

.amz-price{
font-size:28px;
color:#B12704;
font-weight:700;
margin:10px 0;
}

.amz-buybox{
border:1px solid #ddd;
padding:20px;
border-radius:8px;
position:sticky;
top:100px;
}

.amz-btn-cart{
display:block;
background:#FFD814;
padding:12px;
margin-top:10px;
text-align:center;
text-decoration:none;
border-radius:6px;
color:black;
}

.amz-btn-buy{
display:block;
background:#FFA41C;
padding:12px;
margin-top:10px;
text-align:center;
text-decoration:none;
border-radius:6px;
color:black;
}

.amz-stock{
color:green;
font-weight:700;
}
.amz-container{
  max-width:1400px;
  margin:0 auto;
  padding:20px 16px 90px;
  font-family:Arial, Helvetica, sans-serif;
  box-sizing:border-box;
}

.amz-container *{
  box-sizing:border-box;
}

.amz-variant-switcher{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:18px;
}

.amz-variant-btn{
  border:1px solid #d5d9d9;
  background:#fff;
  padding:10px 14px;
  border-radius:8px;
  cursor:pointer;
  font-weight:700;
}

.amz-variant-btn.is-active{
  border:2px solid #f08804;
  padding:9px 13px;
}

.amz-grid{
  display:grid;
  grid-template-columns:110px minmax(0, 1fr) 340px;
  gap:28px;
  align-items:start;
}

.amz-gallery-wrap{
  display:grid;
  grid-template-columns:110px minmax(0, 1fr);
  gap:18px;
  align-items:start;
}

.amz-thumbs{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.amz-thumbs img{
  width:100%;
  border:1px solid #d5d9d9;
  border-radius:8px;
  cursor:pointer;
  background:#fff;
  padding:4px;
  transition:border-color .15s ease, box-shadow .15s ease;
}

.amz-thumbs img.is-active,
.amz-thumbs img:hover{
  border-color:#f08804;
  box-shadow:0 0 0 1px #f08804;
}

.amz-main-wrap{
  width:100%;
}

.amz-main{
  width:100%;
  min-height:520px;
  border:1px solid #e7e7e7;
  border-radius:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  overflow:hidden;
}

.amz-main img{
  width:100%;
  max-height:500px;
  object-fit:contain;
  transition:transform .2s ease;
}

.amz-main:hover img{
  transform:scale(1.08);
}

.amz-title{
  font-size:26px;
  line-height:1.25;
  margin:0 0 10px;
  font-weight:700;
  color:#0f1111;
}

.amz-rating-row{
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:8px;
}

.amz-stars{
  color:#f08804;
  font-size:16px;
  letter-spacing:1px;
}

.amz-reviews{
  font-size:14px;
  color:#007185;
}

.amz-bought{
  font-size:14px;
  color:#565959;
  margin-bottom:12px;
}

.amz-price{
  font-size:30px;
  line-height:1;
  color:#b12704;
  font-weight:700;
  margin:12px 0;
}

.amz-price-main{
  margin-bottom:16px;
}

.amz-bullets{
  margin:0 0 18px 18px;
  padding:0;
}

.amz-bullets li{
  margin:0 0 8px;
  line-height:1.4;
  color:#0f1111;
}

.amz-detail{
  border-top:1px solid #e7e7e7;
  padding:12px 0;
}

.amz-detail summary{
  cursor:pointer;
  font-weight:700;
  color:#0f1111;
  margin-bottom:8px;
}

.amz-detail p,
.amz-detail li{
  line-height:1.45;
  color:#0f1111;
}

.amz-buybox{
  border:1px solid #d5d9d9;
  border-radius:10px;
  padding:18px;
  position:sticky;
  top:95px;
  background:#fff;
}

.amz-delivery{
  font-size:14px;
  color:#565959;
  margin-bottom:8px;
}

.amz-stock{
  color:#007600;
  font-weight:700;
  margin-bottom:14px;
}

.amz-qty-row{
  display:flex;
  flex-direction:column;
  gap:6px;
  margin-bottom:14px;
}

.amz-qty-row label{
  font-size:14px;
  color:#0f1111;
}

.amz-qty-row select{
  width:100%;
  padding:10px;
  border:1px solid #d5d9d9;
  border-radius:8px;
  background:#fff;
}

.amz-btn-cart,
.amz-btn-buy,
.amz-mobile-buybtn{
  display:block;
  width:100%;
  text-align:center;
  text-decoration:none;
  color:#111;
  font-weight:700;
  padding:12px 14px;
  border-radius:999px;
  margin-top:10px;
}

.amz-btn-cart{
  background:#ffd814;
}

.amz-btn-buy,
.amz-mobile-buybtn{
  background:#ffa41c;
}

.amz-mobile-buybar{
  display:none;
}

@media (max-width: 1000px){
  .amz-grid{
    grid-template-columns:1fr;
    gap:20px;
  }

  .amz-gallery-wrap{
    grid-template-columns:1fr;
    gap:12px;
  }

  .amz-thumbs{
    flex-direction:row;
    overflow-x:auto;
    padding-bottom:4px;
  }

  .amz-thumbs img{
    width:72px;
    min-width:72px;
    margin-bottom:0;
  }

  .amz-main{
    min-height:360px;
  }

  .amz-main img{
    max-height:340px;
  }

  .amz-buybox{
    position:static;
  }

  .amz-buybox-col{
    display:none;
  }

  .amz-mobile-buybar{
    display:block;
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    background:#fff;
    border-top:1px solid #d5d9d9;
    padding:10px 12px;
    z-index:9999;
  }
}
.amazon-pdp{

display:grid;
grid-template-columns:650px 1fr 320px;
gap:30px;
padding:40px;

}

.pdp-gallery{

display:grid;
grid-template-columns:90px 1fr;
gap:10px;

}

.gallery-thumbs img{

width:70px;
margin-bottom:8px;
border:1px solid #ddd;
border-radius:6px;

}

.main-image img{

width:100%;

}

.product-title{

font-size:28px;
font-weight:700;

}

.rating{

color:#ff9900;
margin:10px 0;

}

.price{

font-size:24px;
color:#b12704;
margin-bottom:10px;

}

.buybox{

border:1px solid #ddd;
padding:20px;
border-radius:10px;
background:#fafafa;

}

.buy-price{

font-size:26px;
color:#b12704;
margin-bottom:10px;

}

.amz-btn-cart{

display:block;
background:#ffd814;
padding:12px;
text-align:center;
border-radius:20px;
margin-top:10px;
font-weight:600;

}

.amz-btn-buy{

display:block;
background:#ffa41c;
padding:12px;
text-align:center;
border-radius:20px;
margin-top:10px;
font-weight:600;

}
.amazon-pdp{

display:grid;
grid-template-columns:650px 1fr 320px;
gap:30px;
padding:40px;

}

.pdp-gallery{

display:grid;
grid-template-columns:90px 1fr;
gap:12px;

}

.gallery-thumbs img{

width:70px;
cursor:pointer;
border:1px solid #ddd;
border-radius:6px;
margin-bottom:8px;

}

.main-image img{

width:100%;
border-radius:8px;

}

.product-title{

font-size:28px;
font-weight:700;
margin-bottom:6px;

}

.product-subtitle{

color:#565959;
margin-bottom:10px;

}

.rating{

color:#ff9900;
margin-bottom:15px;

}

.product-bullets{

margin-top:10px;
line-height:1.6;

}

.buybox{

border:1px solid #ddd;
border-radius:10px;
padding:20px;
background:#fafafa;

}

.buy-price{

font-size:26px;
color:#b12704;
margin-bottom:10px;

}

.btn-cart{

display:block;
background:#ffd814;
padding:12px;
border-radius:20px;
text-align:center;
margin-top:12px;
font-weight:600;

}

.btn-buy{

display:block;
background:#ffa41c;
padding:12px;
border-radius:20px;
text-align:center;
margin-top:10px;
font-weight:600;

}
.amazon-pdp{
display:grid;
grid-template-columns:650px 1fr 320px;
gap:35px;
padding:40px;
}

.pdp-gallery{
display:grid;
grid-template-columns:90px 1fr;
gap:12px;
}

.gallery-thumbs img{
width:70px;
cursor:pointer;
border:1px solid #ddd;
border-radius:6px;
margin-bottom:8px;
transition:.2s;
}

.gallery-thumbs img:hover{
border:2px solid #ff9900;
}

.main-image img{
width:100%;
border-radius:8px;
}

.product-title{
font-size:28px;
font-weight:700;
margin-bottom:6px;
}

.product-subtitle{
color:#565959;
margin-bottom:10px;
}

.rating{
color:#ff9900;
margin-bottom:15px;
}

.product-bullets{
margin-top:10px;
line-height:1.7;
}

.buybox{
border:1px solid #ddd;
border-radius:10px;
padding:20px;
background:#fafafa;
}

.buy-price{
font-size:26px;
color:#b12704;
margin-bottom:10px;
}

.delivery{
font-size:14px;
margin-bottom:10px;
}

.stock{
color:#007600;
font-weight:600;
margin-bottom:10px;
}

.btn-cart{
display:block;
background:#ffd814;
padding:12px;
border-radius:20px;
text-align:center;
margin-top:12px;
font-weight:600;
}

.btn-buy{
display:block;
background:#ffa41c;
padding:12px;
border-radius:20px;
text-align:center;
margin-top:10px;
font-weight:600;
}
.zoom-container{
overflow:hidden;
}

.zoom-container img{
transition: transform .3s;
}

.variant{
display:inline-block;
padding:8px 14px;
border:1px solid #ddd;
border-radius:6px;
margin-right:6px;
cursor:pointer;
}

.variant:hover{
border:2px solid #ff9900;
}

.bought{
color:#007600;
font-weight:600;
margin-bottom:10px;
}
.buybox{
position:sticky;
top:120px;
border:1px solid #ddd;
border-radius:10px;
padding:20px;
background:#fafafa;
height:fit-content;
}
.thumb{
width:70px;
cursor:pointer;
border:1px solid #ddd;
border-radius:6px;
margin-bottom:8px;
transition:all .2s;
}

.thumb:hover{
border:2px solid #ff9900;
transform:scale(1.05);
}
.buy-price{
font-size:28px;
color:#b12704;
font-weight:700;
margin-bottom:12px;
}

.rating{
color:#ff9900;
font-size:16px;
margin-bottom:8px;
}