/* DigitalRacer premium appearance system.
   Dark is the original black/gold design. Light: warm porcelain, ink and champagne gold.
   Applies to the storefront, product pages, editorial pages and Speed Drift. */

/* The theme control stays small, reachable and visually consistent on all screens. */
.dr-theme-toggle{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:0 0 auto;
  padding:0 13px;min-height:42px;min-width:42px;border:1px solid #796438;
  border-radius:999px;background:linear-gradient(145deg,#28231b,#111215);
  color:#f4d989;font:700 12px/1.15 system-ui,-apple-system,"Segoe UI",sans-serif;
  letter-spacing:.015em;cursor:pointer;box-shadow:inset 0 1px rgba(255,255,255,.08),0 3px 12px rgba(0,0,0,.16);
  transition:background-color .18s ease,border-color .18s ease,transform .18s ease;
  white-space:nowrap;text-transform:none;z-index:5;
}
.dr-theme-toggle svg{display:block;flex:none;width:17px;height:17px}
.dr-theme-toggle:hover{border-color:#eac66d;background:#363020;color:#fff;transform:translateY(-1px)}
.dr-theme-toggle:focus-visible{outline:3px solid #d4af37;outline-offset:3px}
.dr-theme-sr{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.dr-theme-floating{position:fixed;top:14px;right:18px;z-index:9990}
@media(max-width:850px){
  body > nav .nav-links .dr-theme-toggle{padding:0;min-height:42px;min-width:42px;border-radius:12px}
  body > nav .nav-links .dr-theme-label{display:none}
  body > header nav .dr-theme-toggle{min-height:42px;min-width:42px;padding:0 10px}
  .topbar .navright .dr-theme-toggle{min-width:42px;min-height:42px;padding:0 9px}
}
@media(max-width:520px){
  body > header nav .dr-theme-label,.topbar .navright .dr-theme-label{display:none}
  .topbar .navright{gap:8px}
  .topbar .navright .tagdemo{display:none}
}

/* Refined launch feature: merchandising-first, no modal or motion flashes. */
.dr-event-feature{
  display:grid;grid-template-columns:minmax(0,1.2fr) minmax(250px,.8fr);align-items:center;
  gap:clamp(14px,3vw,32px);position:relative;overflow:hidden;
  width:min(1340px,100%);margin:22px auto 0;padding:clamp(18px,2.6vw,32px);
  border-radius:18px;border:1px solid #766039;
  background:radial-gradient(ellipse at 80% 100%,rgba(221,173,79,.20),transparent 56%),
             linear-gradient(120deg,#211c18 0%,#111217 55%,#16151b 100%);
  box-shadow:0 18px 38px rgba(0,0,0,.19);
  text-align:left;isolation:isolate;
}
.dr-event-feature::before{content:"";position:absolute;inset:1px;border:1px solid rgba(255,232,171,.08);border-radius:17px;pointer-events:none}
.dr-event-copy{position:relative;z-index:1;min-width:0}
.dr-event-eyebrow{
  display:inline-flex;align-items:center;gap:9px;color:#f2d88b;
  letter-spacing:.13em;font:750 .66rem/1.4 system-ui,sans-serif;text-transform:uppercase
}
.dr-event-dot{width:7px;height:7px;background:#95deb1;border-radius:100%;box-shadow:0 0 0 4px rgba(120,225,164,.12)}
.dr-event-feature h2{
  font:900 clamp(1.48rem,2.7vw,2.55rem)/1.12 "Montserrat",system-ui,sans-serif;
  color:#fff!important;letter-spacing:-.045em;margin:12px 0 10px;text-transform:none;
}
.dr-event-feature h2 span{color:#eccb73}
.dr-event-feature p{font-size:clamp(.8rem,1.05vw,.94rem);line-height:1.6;color:#ded8ce;max-width:620px;margin:0 0 16px}
.dr-event-actions{display:flex;align-items:center;flex-wrap:wrap;gap:9px}
.dr-event-actions a{
  display:inline-flex;justify-content:center;align-items:center;min-height:44px;padding:10px 16px;
  border-radius:9px;text-decoration:none;font:800 .78rem/1.2 "Montserrat",system-ui,sans-serif;
  letter-spacing:.005em;transition:background .2s,border-color .2s,transform .2s;
}
.dr-event-actions a:focus-visible{outline:3px solid #ffe0a5;outline-offset:3px}
.dr-event-primary{background:#e2bd62;border:1px solid #e2bd62;color:#17130c}
.dr-event-primary:hover{background:#f5d992;color:#110e0a;transform:translateY(-1px)}
.dr-event-secondary{background:rgba(255,255,255,.055);border:1px solid #79683e;color:#fff}
.dr-event-secondary:hover{background:rgba(255,255,255,.13);color:#fff;transform:translateY(-1px)}
.dr-event-art{height:100%;min-height:190px;display:flex;align-items:center;justify-content:center;position:relative}
.dr-event-art::before{content:"";position:absolute;width:78%;height:78%;border-radius:50%;background:radial-gradient(ellipse,#bd9b5138,transparent 65%);filter:blur(15px)}
.dr-event-art img{position:relative;width:min(56%,260px);aspect-ratio:4/3;object-fit:cover;object-position:center;
  border-radius:13px;border:1px solid #8e7446;box-shadow:0 13px 27px rgba(0,0,0,.43)}
.dr-event-art img:first-child{transform:rotate(-7deg) translateX(16px);z-index:2}
.dr-event-art img:last-child{transform:rotate(7deg) translateX(-15px);z-index:1}
.dr-event-disclaimer{font-size:.69rem!important;color:#b6ac9c!important;margin:11px 0 0!important;max-width:650px}
@media(max-width:700px){
 .dr-event-feature{grid-template-columns:1fr;gap:7px;border-radius:13px;padding:16px;margin:13px auto 0}
 .dr-event-feature h2{font-size:clamp(1.3rem,5.5vw,1.75rem);margin:7px 0 8px}
 .dr-event-feature p{font-size:.82rem;line-height:1.5;margin-bottom:12px}
 .dr-event-art{display:none}
 .dr-event-actions{gap:7px}
 .dr-event-actions a{font-size:.72rem;padding:9px 12px;flex:1 1 132px;min-height:45px}
 .dr-event-disclaimer{font-size:.65rem!important;margin-top:9px!important}
}
@media(prefers-reduced-motion:reduce){
 .dr-theme-toggle,.dr-event-actions a{transition:none!important}
 .dr-theme-toggle:hover,.dr-event-actions a:hover{transform:none!important}
}

/* Studio discovery on homepage - distinct from generic Car Skins. */
.dr-studio-feature{
  display:flex;justify-content:space-between;align-items:center;gap:12px;
  border-radius:12px;border:1px solid #52432b;
  background:linear-gradient(110deg,#292317,#151515);
  padding:13px 19px;margin:18px 0 7px;min-height:76px;
}
.dr-studio-feature strong{display:block;font-weight:850;color:#f6e1a8;font-size:.95rem}
.dr-studio-feature p{margin:3px 0 0;color:#cfc7b8;font-size:.78rem;line-height:1.5}
.dr-studio-feature a{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;
  border-radius:8px;background:#e2be65;border:1px solid #d5aa4c;color:#16130b;
  text-decoration:none;font-size:.78rem;font-weight:800;min-height:44px;padding:10px 15px}
.dr-studio-feature a:hover{background:#f4d78d}
@media(max-width:600px){.dr-studio-feature{margin:12px 0 4px;align-items:stretch;flex-direction:column;padding:13px}.dr-studio-feature a{width:100%}}

/* White & champagne-gold design tokens. */
html[data-dr-theme="light"]{
  color-scheme:light;
  --bg:#f8f7f4;--surface:#fff;--surface2:#f2f0eb;--panel:#fff;--panel2:#f2eee6;--panel3:#f9f8f5;
  --border:#ddd8ce;--line:#e4ded3;--text:#20252d;--muted:#58616d;
  --accent:#906419;--gold:#946918;--gold-bright:#946918;
  --dr-gold:#9a701f;--dr-gold-soft:#825b15;--dr-outline:#ddd3c2;
}
/* General surfaces and body typography. */
html[data-dr-theme="light"] body,
html[data-dr-theme="light"] body:not(.dr-category-page),
html[data-dr-theme="light"] body.dr-category-page{background:#f8f7f4!important;color:#222832!important}
html[data-dr-theme="light"] a{color:#825b17}
html[data-dr-theme="light"] :focus-visible{outline-color:#a87820}
html[data-dr-theme="light"] .dr-theme-toggle{
  color:#5a4319;background:linear-gradient(145deg,#fff,#f4f0e7);border-color:#c9b88c;
  box-shadow:0 2px 11px rgba(60,44,17,.10)
}
html[data-dr-theme="light"] .dr-theme-toggle:hover{background:#fff8e6;color:#1e2936;border-color:#a77b29}
html[data-dr-theme="light"] body>nav,
html[data-dr-theme="light"] body:not(.dr-category-page)>nav,
html[data-dr-theme="light"] body>header,
html[data-dr-theme="light"] body>footer,
html[data-dr-theme="light"] footer,
html[data-dr-theme="light"] header:not(.store-hero),
html[data-dr-theme="light"] .topbar{
  background:#fff!important;border-color:#e3dbcb!important;color:#20252d!important;
  box-shadow:0 3px 18px rgba(38,32,20,.06)
}
html[data-dr-theme="light"] body>nav .logo,
html[data-dr-theme="light"] body>header .brand,
html[data-dr-theme="light"] .wordmark,
html[data-dr-theme="light"] header .brand,
html[data-dr-theme="light"] header strong,
html[data-dr-theme="light"] body>nav .nav-link,
html[data-dr-theme="light"] body>header nav a,
html[data-dr-theme="light"] footer a,
html[data-dr-theme="light"] header nav a,
html[data-dr-theme="light"] .navright a{color:#25303c!important}
html[data-dr-theme="light"] body>nav .logo span,
html[data-dr-theme="light"] header .brand span,
html[data-dr-theme="light"] .wordmark em{color:#987023!important}
html[data-dr-theme="light"] body>nav .nav-search,
html[data-dr-theme="light"] .nav-search{background:#f5f3ee!important;border-color:#d9cfbb!important;color:#27313b!important}
html[data-dr-theme="light"] .nav-search input,
html[data-dr-theme="light"] input:not([type="checkbox"]),
html[data-dr-theme="light"] select{color:#25303c;background:#fff;border-color:#d6ccba}
html[data-dr-theme="light"] .nav-search input::placeholder,
html[data-dr-theme="light"] input::placeholder{color:#757b83}
html[data-dr-theme="light"] body>header .store-badge{background:#fff8e6!important;border-color:#e6d8b2!important;color:#825c18!important}
html[data-dr-theme="light"] body>header .store-title{color:#222b38!important}
html[data-dr-theme="light"] body>header .store-sub{color:#576270!important}
html[data-dr-theme="light"] body>header .store-title span{color:#9d741e!important}
html[data-dr-theme="light"] h1,
html[data-dr-theme="light"] h3{color:#222832}
html[data-dr-theme="light"] h2:not(.dr-event-feature h2),
html[data-dr-theme="light"] .section-title{color:#26313b}
html[data-dr-theme="light"] p:not(.dr-event-feature p),html[data-dr-theme="light"] li{color:#58616d}
html[data-dr-theme="light"] .dr-shop-categories{
  background:linear-gradient(180deg,#fffdf8,#f3f1ec)!important;
  border-color:#dfd6c5!important;color:#26313b!important
}
html[data-dr-theme="light"] .dr-shop-heading h2{color:#805b1b!important}
html[data-dr-theme="light"] .dr-shop-heading p{color:#626a74!important}
html[data-dr-theme="light"] a.dr-shop-tile,
html[data-dr-theme="light"] a.dr-shop-tile:visited{
  background:linear-gradient(145deg,#fff,#f7f4ee)!important;border-color:#d8cebd!important;
  color:#303741!important;box-shadow:0 5px 15px rgba(62,46,20,.06)!important
}
html[data-dr-theme="light"] a.dr-shop-tile:hover{background:#fff9ec!important;border-color:#ae852c!important;color:#20252d!important}
html[data-dr-theme="light"] .dr-shop-icon{background:#f5ebd0!important;color:#8d661d!important;border-color:#e7d5ae!important}
html[data-dr-theme="light"] .dr-shop-arrow{color:#8c681e!important}
html[data-dr-theme="light"] .section-header,
html[data-dr-theme="light"] .catalog-container .catalog-top-bar,
html[data-dr-theme="light"] .related-section .related-title{border-color:#ddd5c9!important}
html[data-dr-theme="light"] .section-title,
html[data-dr-theme="light"] .catalog-container #catalog-heading-prefix{color:#26303b!important}
html[data-dr-theme="light"] .section-header .view-all,
html[data-dr-theme="light"] .prod-category,
html[data-dr-theme="light"] .rel-price{color:#8a611a!important}
html[data-dr-theme="light"] body:not(.dr-category-page) .product-card,
html[data-dr-theme="light"] body:not(.dr-category-page) .rel-card{
  background:#fff!important;border-color:#dfd9ce!important;
  box-shadow:0 6px 22px rgba(40,40,40,.055)!important
}
html[data-dr-theme="light"] body:not(.dr-category-page) .product-card:hover,
html[data-dr-theme="light"] body:not(.dr-category-page) .rel-card:hover{border-color:#ae893d!important;box-shadow:0 12px 28px rgba(40,40,40,.10)!important}
html[data-dr-theme="light"] body:not(.dr-category-page) .prod-img-wrap,
html[data-dr-theme="light"] .main-wrapper .image-box{background:#f4f3ef!important;border-color:#e1d9cb!important}
html[data-dr-theme="light"] body:not(.dr-category-page) .prod-title,
html[data-dr-theme="light"] .main-wrapper .main-title,
html[data-dr-theme="light"] .related-section .rel-title{color:#1d2530!important}
html[data-dr-theme="light"] body:not(.dr-category-page) .prod-price,
html[data-dr-theme="light"] .main-wrapper .buy-price{color:#7e5312!important}
html[data-dr-theme="light"] body:not(.dr-category-page) .prod-footer{border-color:#e5ded2!important}
html[data-dr-theme="light"] body:not(.dr-category-page) .prod-btn{background:#faf4e8!important;border-color:#e1c992!important;color:#69501f!important}
html[data-dr-theme="light"] body:not(.dr-category-page) .product-card:hover .prod-btn{background:#d8ad49!important;color:#171307!important}
html[data-dr-theme="light"] .catalog-container .catalog-safety,
html[data-dr-theme="light"] .catalog-container #catalog-count,
html[data-dr-theme="light"] .catalog-container .sort-select,
html[data-dr-theme="light"] .catalog-container .filter-group .filter-btn,
html[data-dr-theme="light"] .main-wrapper .desc-card,
html[data-dr-theme="light"] .main-wrapper .buy-card,
html[data-dr-theme="light"] .guarantee-box{
 background:#fff!important;border-color:#dfd6c7!important;color:#2c343d!important;
 box-shadow:0 7px 25px rgba(40,38,29,.055)!important
}
html[data-dr-theme="light"] .catalog-container .filter-group .filter-btn.active{
 background:#dbb457!important;color:#201808!important;border-color:#be9234!important
}
html[data-dr-theme="light"] .catalog-container .catalog-safety summary{color:#805b1b!important}
html[data-dr-theme="light"] .catalog-container #catalog-count{color:#5a5d62!important}
html[data-dr-theme="light"] .catalog-container .page-title,
html[data-dr-theme="light"] .catalog-container #catalog-heading-prefix{color:#25303d!important}
html[data-dr-theme="light"] .main-wrapper .desc-content,
html[data-dr-theme="light"] .main-wrapper .mini-spec,
html[data-dr-theme="light"] .main-wrapper .buy-price-label,
html[data-dr-theme="light"] .main-wrapper .breadcrumb{color:#515a66!important}
html[data-dr-theme="light"] .main-wrapper .mini-spec span:last-child{color:#202a35!important}
html[data-dr-theme="light"] .main-wrapper .whatsapp-btn,
html[data-dr-theme="light"] .catalog-container .catalog-load-more{
 background:linear-gradient(115deg,#d9b053,#f5db99)!important;color:#1c180e!important;border-color:#b8913c!important
}
html[data-dr-theme="light"] a[style*="color:#dfbd51"]{color:#79550d!important}
html[data-dr-theme="light"] .dr-category-page header{background:#fff!important;border-color:#e4ddcf!important}
html[data-dr-theme="light"] .dr-category-page header strong{color:#26303b!important}
html[data-dr-theme="light"] .dr-category-page .lede{color:#465463!important}
html[data-dr-theme="light"] .dr-category-page .product-card,
html[data-dr-theme="light"] .dr-category-page .directory,
html[data-dr-theme="light"] .dr-category-page .listing-directory,
html[data-dr-theme="light"] .dr-category-page .dr-buying-advice{
 background:#fff!important;border-color:#ded5c8!important;color:#202832!important;
 box-shadow:0 6px 20px rgba(33,30,20,.05)!important
}
html[data-dr-theme="light"] .dr-category-page .product-card strong{color:#27313d!important}
html[data-dr-theme="light"] .dr-category-page .product-card span,
html[data-dr-theme="light"] .dr-category-page .directory a,
html[data-dr-theme="light"] .dr-category-page .crumb a{color:#8b621a!important}
html[data-dr-theme="light"] .dr-category-page .dr-buying-advice summary,
html[data-dr-theme="light"] .dr-category-page .listing-directory summary{color:#795513!important}
html[data-dr-theme="light"] .dr-category-page .cta{background:#d9b457!important;color:#181408!important}
html[data-dr-theme="light"] .dr-event-feature{
 background:radial-gradient(ellipse at 80% 100%,rgba(202,153,67,.12),transparent 56%),
 linear-gradient(115deg,#fffdf9,#f3efe7)!important;border-color:#e0d2b4!important;
 box-shadow:0 12px 28px rgba(40,36,27,.08)!important
}
html[data-dr-theme="light"] .dr-event-feature h2{color:#222e39!important}
html[data-dr-theme="light"] .dr-event-feature h2 span{color:#8f641f!important}
html[data-dr-theme="light"] .dr-event-feature .dr-event-eyebrow{color:#805a19!important}
html[data-dr-theme="light"] .dr-event-feature p{color:#505c66!important}
html[data-dr-theme="light"] .dr-event-secondary{background:#fff!important;color:#28323d!important;border-color:#c8bca3!important}
html[data-dr-theme="light"] .dr-event-primary{background:#d5ac4c!important;color:#1d170b!important}
html[data-dr-theme="light"] .dr-event-disclaimer{color:#626a73!important}
html[data-dr-theme="light"] .dr-studio-feature{background:#fff!important;border-color:#e2d4b7!important}
html[data-dr-theme="light"] .dr-studio-feature strong{color:#725117!important}
html[data-dr-theme="light"] .dr-studio-feature p{color:#5d6470!important}
html[data-dr-theme="light"] .dr-studio-feature a{color:#20190d;background:#ddbb6c!important}

/* Editor and guidance pages that have standalone inline styles. */
html[data-dr-theme="light"] header:not(.hero),
html[data-dr-theme="light"] .cards a,
html[data-dr-theme="light"] .note,
html[data-dr-theme="light"] .directory,
html[data-dr-theme="light"] .detail{
 background:#fff!important;color:#28323c!important;border-color:#e4ddd0!important
}
html[data-dr-theme="light"] .cards a strong,
html[data-dr-theme="light"] .cards strong,
html[data-dr-theme="light"] .eyebrow{color:#875e1b!important}
html[data-dr-theme="light"] .cards a span{color:#5f6872!important}
html[data-dr-theme="light"] .note p{color:#4f5a67!important}
html[data-dr-theme="light"] header .brand,html[data-dr-theme="light"] .brand{color:#26303b!important}

/* Speed Drift: refine the independent car-card studio as well. */
html[data-dr-theme="light"] .topbar{background:rgba(255,255,255,.94)!important;box-shadow:0 3px 17px rgba(25,26,24,.065)!important}
html[data-dr-theme="light"] .hero:not(.dr-event-feature){background:transparent!important;color:#25303b!important}
html[data-dr-theme="light"] .hero h1{color:#222c38!important}
html[data-dr-theme="light"] .hero h1 span,
html[data-dr-theme="light"] .kicker{color:#89621c!important}
html[data-dr-theme="light"] .herodesc,
html[data-dr-theme="light"] .muted{color:#566171!important}
html[data-dr-theme="light"] .heroart{background:linear-gradient(145deg,#f7efd9,#e8e3d9)!important;border-color:#d6c29d!important}
html[data-dr-theme="light"] .surface,
html[data-dr-theme="light"] .step,
html[data-dr-theme="light"] .walletcard,
html[data-dr-theme="light"] .receipt,
html[data-dr-theme="light"] .delivery-guide,
html[data-dr-theme="light"] .vehicle,
html[data-dr-theme="light"] .galleryitem{
 background:#fff!important;border-color:#ded5c4!important;color:#26303b!important;
 box-shadow:0 7px 20px rgba(45,40,29,.055)!important
}
html[data-dr-theme="light"] .step.active{background:#fff6e2!important;border-color:#a78036!important}
html[data-dr-theme="light"] .step b{color:#443a23}
html[data-dr-theme="light"] .step strong,
html[data-dr-theme="light"] .surface h2,
html[data-dr-theme="light"] .vehicle h3,
html[data-dr-theme="light"] .galleryitem h3{color:#29333f!important}
html[data-dr-theme="light"] .step small,
html[data-dr-theme="light"] .sectionhead p,
html[data-dr-theme="light"] .help,
html[data-dr-theme="light"] .finish{color:#56616c!important}
html[data-dr-theme="light"] .counter,
html[data-dr-theme="light"] .tagdemo{background:#fff5dc!important;color:#785617!important;border-color:#dbbc78!important}
html[data-dr-theme="light"] .note{background:#fff7e6!important;color:#5d4b2b!important;border-color:#e1c995!important}
html[data-dr-theme="light"] .filter,
html[data-dr-theme="light"] .btn.subtle,
html[data-dr-theme="light"] .qtycontrol button{background:#f7f3ec!important;color:#28313b!important;border-color:#ded3c0!important}
html[data-dr-theme="light"] .filter[aria-pressed="true"],
html[data-dr-theme="light"] .btn.primary{background:#ddb85d!important;color:#1a170e!important;border-color:#c8a04b!important}
html[data-dr-theme="light"] .walletline input,
html[data-dr-theme="light"] #txHash,
html[data-dr-theme="light"] .search{background:#fff!important;color:#27313a!important;border-color:#d7ccbd!important}
html[data-dr-theme="light"] .gallery-price,
html[data-dr-theme="light"] .vehicleprice{color:#845c17!important}
html[data-dr-theme="light"] .footer{border-color:#e4dacc!important;color:#626973!important}
@media(prefers-reduced-motion:reduce){html[data-dr-theme="light"] *,html[data-dr-theme="light"] *::before,html[data-dr-theme="light"] *::after{scroll-behavior:auto!important}}



/* SPEED DRIFT · ACCESSIBLE DAY THEME (WCAG AA target)
   Scoped to the gift studio. All ordinary dark-mode colors remain untouched.
   Existing generic light rules changed outer surfaces but left many nested labels
   in pale gold / dark-surface colors, making them unreadable on white cards. */
html[data-dr-theme="light"] body.dr-speed-drift{
  --green:#146b39;
  --dr-studio-ink:#25313d;
  --dr-studio-muted:#525f6e;
  --dr-studio-gold:#79551a;
  --dr-studio-line:#d8d0c2;
  --dr-studio-panel:#ffffff;
}
html[data-dr-theme="light"] body.dr-speed-drift .surface,
html[data-dr-theme="light"] body.dr-speed-drift .receipt,
html[data-dr-theme="light"] body.dr-speed-drift .preview,
html[data-dr-theme="light"] body.dr-speed-drift .qtybar,
html[data-dr-theme="light"] body.dr-speed-drift .walletcard,
html[data-dr-theme="light"] body.dr-speed-drift .delivery-guide{
  background:#fff!important;color:var(--dr-studio-ink)!important;border-color:var(--dr-studio-line)!important;
}
html[data-dr-theme="light"] body.dr-speed-drift .qtybar{background:#faf8f3!important}
html[data-dr-theme="light"] body.dr-speed-drift .preview{background:#f9f7f1!important}
html[data-dr-theme="light"] body.dr-speed-drift .delivery-guide{background:#fff7e6!important;border-color:#dac08c!important}
html[data-dr-theme="light"] body.dr-speed-drift .delivery-guide h3,
html[data-dr-theme="light"] body.dr-speed-drift .delivery-guide p,
html[data-dr-theme="light"] body.dr-speed-drift .delivery-guide strong,
html[data-dr-theme="light"] body.dr-speed-drift .preview h3,
html[data-dr-theme="light"] body.dr-speed-drift .qtybar strong,
html[data-dr-theme="light"] body.dr-speed-drift .wallethead{
  color:var(--dr-studio-ink)!important;
}
html[data-dr-theme="light"] body.dr-speed-drift .delivery-guide small,
html[data-dr-theme="light"] body.dr-speed-drift .preview p,
html[data-dr-theme="light"] body.dr-speed-drift .field .help,
html[data-dr-theme="light"] body.dr-speed-drift .step small,
html[data-dr-theme="light"] body.dr-speed-drift .walletcard .muted,
html[data-dr-theme="light"] body.dr-speed-drift .walletlabel,
html[data-dr-theme="light"] body.dr-speed-drift .vehbody .type,
html[data-dr-theme="light"] body.dr-speed-drift .vehbody .finish,
html[data-dr-theme="light"] body.dr-speed-drift .summaryline span,
html[data-dr-theme="light"] body.dr-speed-drift .galleryitem p,
html[data-dr-theme="light"] body.dr-speed-drift .timeline li,
html[data-dr-theme="light"] body.dr-speed-drift .actionbar .selection{
  color:var(--dr-studio-muted)!important;
}
html[data-dr-theme="light"] body.dr-speed-drift .field label,
html[data-dr-theme="light"] body.dr-speed-drift .catalog-tools .catalog-label,
html[data-dr-theme="light"] body.dr-speed-drift .summaryline strong,
html[data-dr-theme="light"] body.dr-speed-drift .qtycontrol output,
html[data-dr-theme="light"] body.dr-speed-drift .step.active strong,
html[data-dr-theme="light"] body.dr-speed-drift .step.done strong,
html[data-dr-theme="light"] body.dr-speed-drift .gallery-info h3{
  color:var(--dr-studio-ink)!important;
}
html[data-dr-theme="light"] body.dr-speed-drift .vehbody .category,
html[data-dr-theme="light"] body.dr-speed-drift .vehiclehint,
html[data-dr-theme="light"] body.dr-speed-drift .gallery-cta,
html[data-dr-theme="light"] body.dr-speed-drift .gallery-price,
html[data-dr-theme="light"] body.dr-speed-drift .vehicleprice,
html[data-dr-theme="light"] body.dr-speed-drift .pending,
html[data-dr-theme="light"] body.dr-speed-drift .dr-studio-catalog-link,
html[data-dr-theme="light"] body.dr-speed-drift .footer a,
html[data-dr-theme="light"] body.dr-speed-drift .heroart::after{
  color:var(--dr-studio-gold)!important;
}
html[data-dr-theme="light"] body.dr-speed-drift .dr-studio-catalog-link{
  font-size:12px;font-weight:750;text-underline-offset:3px;
}
body.dr-speed-drift .dr-studio-catalog-link{color:#f2d57c;font-size:12px;font-weight:700}
html[data-dr-theme="light"] body.dr-speed-drift .gallery-cta{font-weight:900}
html[data-dr-theme="light"] body.dr-speed-drift .vehiclehint{border-top-color:#ddd4c4!important}
html[data-dr-theme="light"] body.dr-speed-drift .gallery-price-row,
html[data-dr-theme="light"] body.dr-speed-drift .summaryline{
  border-color:#ddd5c9!important;
}
html[data-dr-theme="light"] body.dr-speed-drift .field input,
html[data-dr-theme="light"] body.dr-speed-drift .field select,
html[data-dr-theme="light"] body.dr-speed-drift .search,
html[data-dr-theme="light"] body.dr-speed-drift .walletline input,
html[data-dr-theme="light"] body.dr-speed-drift #txHash{
  background:#fff!important;color:#25313d!important;border-color:#bdb8aa!important;
}
html[data-dr-theme="light"] body.dr-speed-drift .field input::placeholder,
html[data-dr-theme="light"] body.dr-speed-drift .search::placeholder,
html[data-dr-theme="light"] body.dr-speed-drift .walletline input::placeholder{
  color:#596372!important;opacity:1;
}
html[data-dr-theme="light"] body.dr-speed-drift .field input:focus-visible,
html[data-dr-theme="light"] body.dr-speed-drift .field select:focus-visible,
html[data-dr-theme="light"] body.dr-speed-drift .search:focus-visible{
  outline:3px solid #916823!important;outline-offset:2px;border-color:#916823!important;
}
html[data-dr-theme="light"] body.dr-speed-drift .step{
  color:#525f6e!important;background:#fff!important;border-color:#d8d0c2!important;
}
html[data-dr-theme="light"] body.dr-speed-drift .step.active{
  color:#25313d!important;background:#fff3d5!important;border-color:#9b762b!important;
}
html[data-dr-theme="light"] body.dr-speed-drift .step.done{
  color:#25313d!important;background:#f0f6ed!important;border-color:#8ba98e!important;
}
html[data-dr-theme="light"] body.dr-speed-drift .step b{
  color:#25313d!important;border-color:#9c906e!important;
}
html[data-dr-theme="light"] body.dr-speed-drift .step.active b,
html[data-dr-theme="light"] body.dr-speed-drift .step.done b{
  color:#241b0b!important;background:#dbb457!important;border-color:#aa812b!important;
}
html[data-dr-theme="light"] body.dr-speed-drift .filter[aria-pressed="true"]{
  color:#251c0b!important;background:#efcf82!important;border-color:#a17725!important;
}
html[data-dr-theme="light"] body.dr-speed-drift .vehicle[aria-pressed="true"]{
  background:#fffaf0!important;border:2px solid #8d671f!important;box-shadow:0 0 0 2px #d5b36666!important;
}
html[data-dr-theme="light"] body.dr-speed-drift .galleryitem:focus-visible,
html[data-dr-theme="light"] body.dr-speed-drift .vehicle:focus-visible{
  outline:3px solid #946a1e!important;outline-offset:3px;
}
html[data-dr-theme="light"] body.dr-speed-drift .btn:disabled{
  opacity:.65!important;color:#303846!important;border-color:#c4bbac!important;
}
html[data-dr-theme="light"] body.dr-speed-drift .progresscircle::before{
  background:#fff!important;
}
html[data-dr-theme="light"] body.dr-speed-drift .progresscircle span{
  color:#6e5118!important;
}
html[data-dr-theme="light"] body.dr-speed-drift .timeline li.done{
  color:#176737!important;
}
html[data-dr-theme="light"] body.dr-speed-drift .timeline li.done i{
  color:#124f2e!important;background:#e4f4e7!important;border-color:#67a97c!important;
}
html[data-dr-theme="light"] body.dr-speed-drift .status{color:#146b39!important}
html[data-dr-theme="light"] body.dr-speed-drift .error{color:#a12b23!important}
html[data-dr-theme="light"] body.dr-speed-drift .receipt::after{
  color:rgba(107,77,25,.11)!important;
}


/* Speed Drift light-mode typography: legible names, prices and form help on phones. */
@media(max-width:750px){
  html[data-dr-theme="light"] body.dr-speed-drift .field label{font-size:13px;line-height:1.5}
  html[data-dr-theme="light"] body.dr-speed-drift .field .help{font-size:12px;line-height:1.5}
  html[data-dr-theme="light"] body.dr-speed-drift .vehbody .finish{font-size:12px;line-height:1.4;min-height:35px}
  html[data-dr-theme="light"] body.dr-speed-drift .vehbody .type{font-size:11px;line-height:1.5}
  html[data-dr-theme="light"] body.dr-speed-drift .vehbody .category{font-size:11px;line-height:1.5}
  html[data-dr-theme="light"] body.dr-speed-drift .gallery-info h3{font-size:12px;line-height:1.4}
  html[data-dr-theme="light"] body.dr-speed-drift .gallery-cta{font-size:11px}
  html[data-dr-theme="light"] body.dr-speed-drift .delivery-guide small{font-size:12px;line-height:1.5}
  html[data-dr-theme="light"] body.dr-speed-drift .walletlabel{font-size:13px}
  html[data-dr-theme="light"] body.dr-speed-drift .timeline li{font-size:13px}
}

/* Source-grounded buying guidance on short product descriptions. */
.dr-buyer-verification{margin:18px 0 4px;padding:14px 16px;border:1px solid #645536;border-radius:10px;background:rgba(212,175,55,.065);color:var(--text)}
.dr-buyer-verification h3{margin:0 0 10px;color:var(--accent);font-size:1.02rem;line-height:1.45}
.dr-buyer-verification p{margin:8px 0 11px;font-size:.87rem;line-height:1.6;color:var(--text)}
.dr-buyer-verification ul{padding-left:22px;margin:8px 0 12px}
.dr-buyer-verification li{margin:0 0 8px;font-size:.87rem;line-height:1.55}
@media(max-width:600px){.dr-buyer-verification{padding:12px;margin:13px 0 3px}.dr-buyer-verification li{font-size:.89rem}}


/* DIGITALRACER PRODUCT MARKETPLACE — progressive enhancement.
   Scoped to product pages only. Existing static SEO body, linked products,
   canonicals, JSON-LD, and product images remain untouched. */
html.dr-product-showcase .main-wrapper,
html.dr-product-showcase .related-section,
html.dr-product-showcase .dr-discovery-shelves {
  max-width:1620px;
  margin-left:auto;
  margin-right:auto;
  padding-left:clamp(18px,2.5vw,45px);
  padding-right:clamp(18px,2.5vw,45px);
}
html.dr-product-showcase .main-wrapper {margin-top:21px}
html.dr-product-showcase .product-header-section {margin-bottom:22px}
html.dr-product-showcase .main-title {
  font-size:clamp(1.5rem,2.1vw,2.2rem);
  line-height:1.28;letter-spacing:-.45px;margin-bottom:12px;max-width:1200px
}
html.dr-product-showcase .product-grid-layout {
  display:grid;
  grid-template-columns:minmax(190px,235px) minmax(0,1fr) minmax(295px,355px);
  align-items:start;gap:clamp(16px,1.5vw,26px)
}
html.dr-product-showcase .product-grid-layout > * {min-width:0}
html.dr-product-showcase .left-column{min-width:0;display:flex;flex-direction:column;gap:17px}
html.dr-product-showcase .left-column .image-box{
  background:var(--surface2);min-height:400px;max-height:640px;
  aspect-ratio:16/10;border-radius:13px
}
html.dr-product-showcase .left-column .image-box img{object-fit:contain}
html.dr-product-showcase .left-column .desc-card{
  border-radius:13px;overflow:hidden
}
html.dr-product-showcase .right-column{min-width:0}
html.dr-product-showcase .buy-card{
  position:sticky;top:76px;border-radius:13px;
  padding:clamp(19px,2vw,27px);box-shadow:0 14px 36px rgba(0,0,0,.12)
}
html.dr-product-showcase .buy-card #buy-btn{min-height:53px}
html.dr-product-showcase .related-section{margin-top:34px}
html.dr-product-showcase .related-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));gap:14px
}
/* New desktop discovery rail: cards are real product routes, not fake trends. */
.dr-discovery-rail{
  position:sticky;top:76px;max-height:calc(100vh - 96px);
  overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;
  padding:17px 12px;border:1px solid var(--border);border-radius:13px;
  background:var(--surface);box-shadow:0 12px 32px rgba(0,0,0,.12)
}
.dr-discovery-rail-title{
  margin:0 0 4px;font:850 .91rem/1.3 'Montserrat',system-ui,sans-serif;
  color:var(--accent);letter-spacing:.02em
}
.dr-discovery-rail-caption{
  color:var(--muted);margin:0 0 15px;font-size:.74rem;line-height:1.55
}
.dr-discovery-rail-products{display:flex;flex-direction:column;gap:9px}
.dr-discovery-mini{
  display:flex;align-items:center;gap:9px;min-width:0;
  border:1px solid var(--border);border-radius:9px;
  background:var(--surface2);padding:7px;text-decoration:none;color:var(--text);
  transition:border-color .16s ease,transform .16s ease
}
.dr-discovery-mini:hover,.dr-discovery-mini:focus-visible{
  border-color:var(--accent);transform:translateY(-1px)
}
.dr-discovery-mini-img{
  flex:0 0 57px;width:57px;height:57px;object-fit:cover;
  border-radius:6px;background:var(--surface);color:var(--muted)
}
.dr-discovery-mini-copy{display:flex;flex-direction:column;gap:4px;min-width:0}
.dr-discovery-mini-title{
  font-size:.69rem;font-weight:750;line-height:1.45;color:var(--text);
  overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;
  overflow-wrap:anywhere
}
.dr-discovery-mini-price{color:var(--accent);font-size:.75rem;line-height:1.35;font-weight:850}
.dr-discovery-rail-nav{
  display:flex;flex-direction:column;gap:7px;
  margin-top:14px;padding-top:14px;border-top:1px solid var(--border)
}
.dr-discovery-rail-subhead{margin:5px 0 2px;color:var(--muted);font:800 .67rem/1.35 'Montserrat',system-ui,sans-serif;text-transform:uppercase;letter-spacing:.07em}
.dr-discovery-category-link{
  display:flex;align-items:center;justify-content:space-between;
  padding:9px 10px;min-height:40px;border:1px solid var(--border);
  border-radius:8px;background:var(--surface2);
  color:var(--text);font-size:.75rem;font-weight:750;text-decoration:none;
}
.dr-discovery-category-link::after{content:"›";font-size:1.25rem;line-height:1;color:var(--accent)}
.dr-discovery-category-link:hover{border-color:var(--accent);color:var(--accent)}
/* Additional product-discovery shelves, after the original four static links. */
html.dr-product-showcase .dr-discovery-shelves{margin-top:27px;margin-bottom:35px}
.dr-discovery-section{margin:24px 0 0}
.dr-discovery-section-head{
  display:flex;align-items:center;justify-content:space-between;
  flex-wrap:wrap;gap:10px;padding-bottom:12px;border-bottom:1px solid var(--border)
}
.dr-discovery-section-head h2{
  font:850 clamp(1.04rem,1.5vw,1.32rem)/1.35 'Montserrat',system-ui,sans-serif;
  color:var(--text);margin:0
}
.dr-discovery-all{
  color:var(--accent);font-size:.83rem;font-weight:750;text-decoration:none
}
.dr-discovery-all:hover{text-decoration:underline}
.dr-discovery-subtitle{color:var(--muted);margin:9px 0 15px;font-size:.82rem;line-height:1.5}
.dr-discovery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}
.dr-discovery-card{
  min-width:0;border:1px solid var(--border);border-radius:12px;
  display:flex;flex-direction:column;overflow:hidden;background:var(--surface);
  text-decoration:none;color:var(--text);transition:border-color .16s ease,transform .16s ease
}
.dr-discovery-card:hover,.dr-discovery-card:focus-visible{
  border-color:var(--accent);transform:translateY(-2px)
}
.dr-discovery-card-img{
  display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;
  background:var(--surface2);color:var(--muted)
}
.dr-discovery-card-copy{display:flex;flex-direction:column;gap:8px;flex:1;padding:12px}
.dr-discovery-card-title{
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;
  color:var(--text);font-size:.84rem;font-weight:750;line-height:1.45;overflow-wrap:anywhere
}
.dr-discovery-card-price{color:var(--accent);font:.85rem/1.4 'Montserrat',system-ui,sans-serif;font-weight:850}
.dr-discovery-card-action{
  color:var(--text);border-top:1px solid var(--border);padding-top:8px;
  font-size:.73rem;font-weight:750;margin-top:auto
}
.dr-discovery-mini .dr-no-image,.dr-discovery-card .dr-no-image{
  display:flex;align-items:center;justify-content:center;
  text-align:center;font-size:.66rem;line-height:1.35;padding:7px
}
/* Global light mode already sets the normal product background variables.
   Override older gold-on-white page rules only for these new sections. */
html[data-dr-theme="light"] .dr-discovery-rail,
html[data-dr-theme="light"] .dr-discovery-card{
  background:#fff;border-color:#d8cfbf;box-shadow:0 7px 23px rgba(52,45,26,.07)
}
html[data-dr-theme="light"] .dr-discovery-mini,
html[data-dr-theme="light"] .dr-discovery-category-link{
  background:#f6f3ee;border-color:#d8cfbf;color:#20252d
}
html[data-dr-theme="light"] .dr-discovery-mini-title,
html[data-dr-theme="light"] .dr-discovery-card-title,
html[data-dr-theme="light"] .dr-discovery-section-head h2,
html[data-dr-theme="light"] .dr-discovery-card-action{color:#20252d}
html[data-dr-theme="light"] .dr-discovery-mini-price,
html[data-dr-theme="light"] .dr-discovery-card-price,
html[data-dr-theme="light"] .dr-discovery-rail-title,
html[data-dr-theme="light"] .dr-discovery-all,
html[data-dr-theme="light"] .dr-discovery-category-link::after{color:#856018}
html[data-dr-theme="light"] .dr-discovery-card:hover,
html[data-dr-theme="light"] .dr-discovery-mini:hover{border-color:#956a23}
@media(max-width:1250px) {
  html.dr-product-showcase .product-grid-layout{
    grid-template-columns:minmax(0,1.55fr) minmax(275px,1fr);gap:20px
  }
  html.dr-product-showcase .dr-discovery-rail{display:none}
  html.dr-product-showcase .related-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .dr-discovery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:900px) {
  html.dr-product-showcase .main-wrapper,
  html.dr-product-showcase .related-section,
  html.dr-product-showcase .dr-discovery-shelves{
    padding-left:4vw;padding-right:4vw
  }
  html.dr-product-showcase .main-wrapper{margin-top:16px}
  html.dr-product-showcase .product-grid-layout{display:flex;flex-direction:column;gap:17px}
  html.dr-product-showcase .dr-discovery-rail{display:none}
  html.dr-product-showcase .left-column{display:contents}
  html.dr-product-showcase .image-box{order:1}
  html.dr-product-showcase .gallery-wrap{order:2}
  html.dr-product-showcase .right-column{order:3;width:100%}
  html.dr-product-showcase .desc-card{order:4;width:100%}
  html.dr-product-showcase .buy-card{position:static}
  html.dr-product-showcase .left-column .image-box{min-height:0;max-height:none;aspect-ratio:16/10;width:100%}
  html.dr-product-showcase .related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dr-discovery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
  .dr-discovery-card-copy{padding:10px}
  .dr-discovery-card-title{font-size:.81rem}
  .dr-discovery-section{margin-top:21px}
}
@media(max-width:390px){
  .dr-discovery-grid{gap:8px}
  .dr-discovery-card-copy{padding:8px}
  .dr-discovery-card-title{font-size:.75rem}
  .dr-discovery-card-price{font-size:.77rem}
}
@media(prefers-reduced-motion:reduce){
  .dr-discovery-mini,.dr-discovery-card{transition:none;transform:none!important}
}

/* Shared card purchase controls; retain original product links and grid layout. */
.dr-card-buy,.dr-card-chat,.dr-card-whatsapp.dr-card-chat{display:flex!important;align-items:center;justify-content:center;box-sizing:border-box;text-align:center;min-height:40px;padding:9px 8px!important;border-radius:6px;font:700 .78rem/1.3 system-ui,sans-serif!important;text-decoration:none!important;white-space:normal;letter-spacing:.02em}
.dr-card-buy{background:#d4af37!important;color:#111!important;border:1px solid #d4af37!important;margin-top:6px}
.dr-card-chat,.dr-card-whatsapp.dr-card-chat{background:#155d39!important;color:#fff!important;border:1px solid #247849!important;margin-top:5px}
.dr-card-buy:hover{background:#edcd73!important}.dr-card-chat:hover{background:#1d784a!important}
.dr-card-buy:focus-visible,.dr-card-chat:focus-visible{outline:2px solid #e1bd59;outline-offset:2px}
.dr-card-purchase-wrapper{min-width:0;display:flex;flex-direction:column;gap:2px}
.dr-card-purchase-wrapper>a:first-child{flex:1;min-width:0;width:100%;box-sizing:border-box}
.dr-card-purchase-actions{display:grid;gap:4px}
.dr-card-purchase-actions .dr-card-chat,.dr-card-purchase-actions .dr-card-buy{margin:0}
.dr-bentley-fast-details{flex-wrap:wrap}.dr-bentley-fast-details .dr-card-buy,.dr-bentley-fast-details .dr-card-chat{flex:1 1 100%}
@media(max-width:600px){.dr-card-buy,.dr-card-chat,.dr-card-whatsapp.dr-card-chat{min-height:44px;font-size:.72rem!important}}

/* Recommendation cards are for browsing, not checkout. Keep the purchase
   controls on the selected product and the main shopping catalog. */
.rel-card .dr-recommendation-view,.dr-discovery-card .dr-recommendation-view{
  display:block;align-self:stretch;text-align:center;margin-top:9px;
  padding:7px 10px;border:1px solid var(--border);border-radius:6px;
  color:var(--accent);background:var(--surface2);font-size:.76rem;font-weight:750;line-height:1.3
}
.dr-discovery-card .dr-recommendation-view{margin-top:auto}
.dr-discovery-mini .dr-recommendation-view{
  display:inline-flex;align-self:flex-start;align-items:center;
  padding:2px 9px;border:1px solid var(--border);border-radius:4px;
  color:var(--accent);font-size:.66rem;font-weight:750;line-height:1.3
}
.rel-card:hover .dr-recommendation-view,.dr-discovery-card:hover .dr-recommendation-view,.dr-discovery-mini:hover .dr-recommendation-view{border-color:var(--accent)}
html[data-dr-theme="light"] .dr-recommendation-view{color:#725019;background:#f6f3ee;border-color:#d8cfbf}

/* Storefront layout hardening: only shopping surfaces, never editorial pages. */
.dr-category-page .listing-head,.dr-category-page .cards,.dr-category-page .product-card,
.dr-category-page .dr-card-purchase-wrapper,.dr-category-page .dr-feature-card,
.catalog-container .catalog-results,.catalog-container .catalog-heading-wrap,
.main-wrapper .product-grid-layout>*{min-width:0;max-width:100%;box-sizing:border-box}
.dr-category-page .product-card strong,.dr-category-page .dr-feature-card h3,
.dr-category-page .dr-bentley-fast-title,.catalog-container .page-title,
.catalog-container .prod-price,.main-wrapper .buy-price,.main-wrapper .main-title,
.main-wrapper .mini-spec,.related-section .rel-title{overflow-wrap:anywhere;word-break:normal}
.dr-category-page .cta,.dr-category-page .dr-card-buy,.dr-category-page .dr-card-chat,
.main-wrapper .whatsapp-btn,.main-wrapper #buy-btn{max-width:100%;box-sizing:border-box;white-space:normal;text-align:center;overflow-wrap:anywhere}
.dr-category-page .product-card{height:100%}
.dr-category-page .dr-card-purchase-wrapper{height:100%;gap:8px}
.dr-category-page .dr-card-purchase-wrapper>a:first-child{height:auto}
.dr-category-page .directory-pagination{position:static;z-index:auto;gap:8px!important;flex-wrap:wrap}
.dr-category-page .directory-pagination a{display:inline-flex;min-height:44px;min-width:44px;align-items:center;justify-content:center;padding:6px 10px;border:1px solid var(--line);border-radius:7px;box-sizing:border-box}
.dr-category-page .directory-pagination a[aria-current="page"]{background:#d4af37;color:#111}
.dr-category-page .directory-list{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr))}
.dr-category-page .directory-list li{min-width:0}
.dr-category-page .directory-list .dr-directory-photo{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;border-radius:7px;background:var(--panel);margin-bottom:7px}
.dr-category-page .directory-list .dr-directory-photo[hidden]{display:none}
.dr-category-page .directory-list li:has(.dr-directory-photo){border:1px solid var(--line);border-radius:9px;padding:9px;background:var(--panel)}
.dr-category-page .directory-list a{min-width:0}
.dr-category-page .directory-list small{display:block;overflow-wrap:anywhere}
html[data-dr-theme="light"] .dr-category-page .dr-feature-groups,
html[data-dr-theme="light"] .dr-category-page .dr-bentley-fast{background:#fff!important;border-color:#d8cfbf!important;color:#222832!important}
html[data-dr-theme="light"] .dr-category-page .dr-feature-card,
html[data-dr-theme="light"] .dr-category-page .dr-bentley-fast-card{background:#f8f7f4!important;border-color:#d8cfbf!important}
html[data-dr-theme="light"] .dr-category-page .dr-feature-card h3,
html[data-dr-theme="light"] .dr-category-page .dr-feature-card li a,
html[data-dr-theme="light"] .dr-category-page .dr-bentley-fast-title{color:#725019!important}
html[data-dr-theme="light"] .dr-category-page .dr-feature-card li span,
html[data-dr-theme="light"] .dr-category-page .dr-feature-count{color:#465463!important}
html[data-dr-theme="light"] .dr-category-page .directory-list a:hover{color:#583c0b}
html[data-dr-theme="light"] .dr-category-page .directory-pagination a[aria-current="page"]{color:#171307!important}
.main-wrapper .desc-content img,.main-wrapper .desc-content video{max-width:100%;height:auto}
.main-wrapper .desc-content pre{max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere}
.main-wrapper .desc-content table{display:block;max-width:100%;overflow-x:auto}
.main-wrapper .buy-card,.main-wrapper .left-column,.main-wrapper .right-column,
.main-wrapper .specs-mini-grid,.related-section .rel-card,.catalog-container .dr-product-tile{min-width:0}
.main-wrapper .trust-badge{max-width:100%;white-space:normal;overflow-wrap:anywhere}
.main-wrapper .trust-badge svg{flex:none}
.main-wrapper .buy-card>a{flex-shrink:0}
.catalog-container .prod-footer,.container .prod-footer{flex-wrap:wrap;gap:8px}
.catalog-container .prod-btn,.container .prod-btn{max-width:100%;white-space:normal;text-align:center}
.catalog-container .prod-badge,.container .prod-badge{max-width:calc(100% - 16px);box-sizing:border-box;white-space:normal;overflow-wrap:anywhere}
.catalog-container .prod-img-wrap:has(.prod-img[style*="display: none"]),
.container .prod-img-wrap:has(.prod-img[style*="display: none"]){display:grid;place-items:center}
.catalog-container .prod-img-wrap:has(.prod-img[style*="display: none"])::after,
.container .prod-img-wrap:has(.prod-img[style*="display: none"])::after{content:"Image unavailable";font-size:.78rem;color:var(--muted);padding:8px;text-align:center}
@media(max-width:750px){
 .dr-category-page .cta.wa-shop-cta{margin-left:0}
 .dr-category-page .directory-list{max-height:none;overflow:visible}
 .dr-category-page .directory-list:has(.dr-directory-photo){grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .dr-category-page .directory-list li{padding:8px;overflow-wrap:anywhere}
 .dr-category-page .dr-bentley-fast-details{align-items:stretch}
 .dr-category-page .dr-bentley-fast-details a{width:100%;box-sizing:border-box}
 .dr-category-page .dr-card-purchase-actions{min-width:0}
}
@media(max-width:390px){
 .catalog-container .catalog-heading-wrap{flex-wrap:wrap}
 .catalog-container .catalog-top-bar .controls-wrapper{grid-template-columns:minmax(0,1fr)}
 .catalog-container .catalog-filter-toggle,.catalog-container .sort-select{width:100%;min-width:0}
 .dr-category-page .directory-list:has(.dr-directory-photo){grid-template-columns:minmax(0,1fr)}
 .main-wrapper .buy-price{font-size:clamp(1.55rem,7vw,2.2rem)}
}
@media(max-height:680px) and (min-width:901px){
 .main-wrapper .buy-card{position:static}
}

/* Premium shopping surfaces: retain all static product links, images and text.
   Ordinary cards use integrated View, Buy Now and WhatsApp actions.
   Original campaign-specific purchase links remain available. */
.container .dr-product-tile,.catalog-container .dr-product-tile{display:flex;min-width:0;min-height:0}
.container .dr-product-tile > .product-card,.catalog-container .dr-product-tile > .product-card{display:flex;flex-direction:column;flex:1;min-width:0;max-width:100%;height:100%;box-sizing:border-box;border-radius:12px}
.container .prod-img-wrap,.catalog-container .prod-img-wrap{aspect-ratio:4/3;flex:none}
.container .prod-img,.catalog-container .prod-img{object-fit:contain;transform:none!important}
.container .prod-content,.catalog-container .prod-content{flex:1;min-width:0;padding:14px}
.container .prod-title,.catalog-container .prod-title{font-size:.95rem;line-height:1.5;-webkit-line-clamp:3;min-height:4.5em;margin-bottom:12px}
.container .prod-footer,.catalog-container .prod-footer{margin-top:auto;display:grid;grid-template-columns:minmax(0,1fr);gap:8px;align-items:stretch;padding-top:10px}
.container .prod-price,.catalog-container .prod-price{font-size:1.05rem;line-height:1.35;overflow-wrap:anywhere}
.container .prod-btn,.catalog-container .prod-btn,
.dr-category-page a.product-card .dr-recommendation-view{display:flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:44px;width:100%;padding:8px 10px;border-radius:8px;font:750 .85rem/1.25 system-ui,sans-serif;letter-spacing:.01em;border:1px solid #796238;background:#282216;color:#f3d78d;text-align:center}
html[data-dr-theme="light"] .container .prod-btn,
html[data-dr-theme="light"] .catalog-container .prod-btn,
html[data-dr-theme="light"] .dr-category-page a.product-card .dr-recommendation-view{background:#f7f2e8!important;border-color:#cbb998!important;color:#684814!important}
.dr-category-page a.product-card{display:flex;flex-direction:column;gap:10px;min-height:0;padding:12px;box-sizing:border-box;border-radius:12px}
.dr-category-page a.product-card .category-thumb{width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;border-radius:8px;display:block;flex:none;background:var(--surface2)}
.dr-category-page a.product-card strong{font-size:.94rem;line-height:1.5;min-width:0;overflow-wrap:anywhere}
.dr-category-page a.product-card>span:not(.dr-recommendation-view){margin-top:auto;font-size:1.05rem;line-height:1.4}
.dr-category-page a.product-card .dr-recommendation-view{margin-top:0}
.dr-category-page .directory-list li{display:flex;flex-direction:column;gap:6px;border:1px solid var(--line);border-radius:10px;background:var(--panel);padding:10px}
.dr-category-page .directory-list .directory-product{display:block;flex:1;line-height:1.5;font-size:.9rem;overflow-wrap:anywhere}
.dr-category-page .directory-list small{font-weight:750;font-size:.87rem}
.dr-category-page .directory-list .dr-directory-photo{background:var(--surface2);border-radius:8px}
.dr-category-page .directory-list .directory-product:focus-visible,.dr-category-page .directory-pagination a:focus-visible,
.container .product-card:focus-visible,.catalog-container .product-card:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.main-wrapper .image-box{border-radius:12px}
.main-wrapper .buy-card{border-radius:12px;gap:14px}
.main-wrapper .desc-content{line-height:1.75}
.main-wrapper .buy-card>a{min-height:48px;justify-content:center;box-sizing:border-box}
.main-wrapper .mini-spec{line-height:1.5}
@media(max-width:750px){
 .container .prod-content,.catalog-container .prod-content{padding:10px}
 .container .prod-title,.catalog-container .prod-title{font-size:.91rem;line-height:1.45;min-height:4.35em;margin-bottom:8px}
 .container .prod-price,.catalog-container .prod-price{font-size:.98rem}
 .container .prod-btn,.catalog-container .prod-btn,.dr-category-page a.product-card .dr-recommendation-view{min-height:44px;font-size:.82rem}
 .dr-category-page a.product-card{padding:10px;gap:8px}
 .dr-category-page a.product-card strong{font-size:.92rem}
 .dr-category-page a.product-card>span:not(.dr-recommendation-view){font-size:.97rem}
 .main-wrapper .desc-content{font-size:1rem}
 .main-wrapper .buy-card{padding:16px;gap:12px}
 .main-wrapper .buy-card>a{min-height:48px;font-size:.92rem}
 .dr-category-page .directory-list .directory-product{font-size:.92rem}
}
@media(max-width:360px){
 .container .prod-content,.catalog-container .prod-content{padding:8px}
 .container .prod-title,.catalog-container .prod-title{font-size:.88rem}
 .dr-category-page a.product-card{padding:8px}
 .dr-category-page .directory-list{grid-template-columns:minmax(0,1fr)}
}
@media(min-width:1920px){
 .container,.catalog-container{max-width:1600px;margin-inline:auto}
 .dr-category-page main{max-width:1440px;margin-inline:auto}
}
@media(prefers-reduced-motion:reduce){
 .container .product-card,.catalog-container .product-card,.dr-category-page a.product-card{transition:none!important;transform:none!important}
}

/* Selected Design 4: one border, three sibling link actions, no nested anchors.
   Old cards remain usable before enhancement or if JavaScript is disabled. */
.dr-integrated-card{display:flex;flex-direction:column;min-width:0;min-height:0;box-sizing:border-box;border:1px solid #a78c40;border-radius:12px;background:#151515;overflow:hidden;container-type:inline-size}
.container .dr-integrated-card > a.product-card,
.catalog-container .dr-integrated-card > a.product-card,
.dr-category-page .dr-integrated-card > a.product-card{flex:1;min-width:0;height:auto;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;transform:none!important}
.dr-integrated-card > a.product-card .prod-btn{display:none!important}
.dr-integrated-card > a.product-card .prod-footer{border-top:1px solid var(--border);padding-bottom:0}
.dr-integrated-card .dr-integrated-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr) minmax(44px,.7fr);gap:5px;align-items:stretch;padding:8px;min-width:0;margin-top:auto}
.dr-integrated-actions > a{display:flex!important;align-items:center;justify-content:center;min-width:0;min-height:44px;box-sizing:border-box;padding:5px 3px!important;margin:0!important;border-radius:7px;text-align:center;text-decoration:none!important;font:750 .8rem/1.15 system-ui,sans-serif!important;letter-spacing:0!important;white-space:normal;overflow-wrap:normal}
.dr-integrated-actions .dr-integrated-view{background:#e0bc55!important;color:#17130a!important;border:1px solid #e0bc55!important}
.dr-integrated-actions .dr-integrated-buy{background:#262117!important;color:#f3d78d!important;border:1px solid #bfa04a!important}
.dr-integrated-actions .dr-integrated-whatsapp{background:#167b46!important;color:white!important;border:1px solid #259457!important}
.dr-integrated-whatsapp svg{width:23px;height:23px;display:block;flex:none}
.dr-integrated-actions > a:focus-visible{outline:2px solid #f0cf70;outline-offset:-4px}
.dr-integrated-actions > a:hover{filter:brightness(1.1)}
html[data-dr-theme="light"] .dr-integrated-card{background:#fff;border-color:#c6b28b}
html[data-dr-theme="light"] .dr-integrated-actions .dr-integrated-buy{background:#f9f4e8!important;color:#684814!important;border-color:#b99a57!important}
@container (max-width:185px){
 .dr-integrated-card .dr-integrated-actions{padding:6px;gap:4px;grid-template-columns:minmax(44px,1fr) minmax(44px,1.12fr) 44px}
 .dr-integrated-actions > a{font-size:.73rem!important;padding:4px 2px!important}
}
@container (max-width:150px){
 .dr-integrated-card .dr-integrated-actions{grid-template-columns:repeat(2,minmax(44px,1fr))}
 .dr-integrated-actions .dr-integrated-whatsapp{grid-column:1/-1}
}
