/* TCGMarket24 R8 mobile-first conversion redesign. No global content color overrides. */
.r8-hero{position:relative;isolation:isolate;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.78fr);grid-template-areas:"copy image" "actions actions" "proof proof";align-items:center;min-height:340px;border-radius:24px;background:radial-gradient(circle at 75% 38%,#263b7b 0%,#101e4c 38%,#08132c 85%);color:#fff;padding:24px;gap:10px;border:1px solid #1d3168;box-shadow:0 18px 38px rgba(5,13,35,.16)}
.r8-hero-content{grid-area:copy;z-index:2;min-width:0}
.r8-kicker{margin:0;color:#71e5ff;font-weight:900;letter-spacing:.11em;font-size:10px;line-height:1.4}
.r8-hero h1{font-size:clamp(31px,4.1vw,62px);font-weight:900;line-height:1.03;letter-spacing:-.035em;color:#fff!important;max-width:14ch;margin:12px 0}
.r8-hero-subtitle{font-size:clamp(14px,1.6vw,18px);line-height:1.45;color:#dbeafe;max-width:29ch;margin:0}
.r8-hero-image{grid-area:image;position:relative;z-index:1;display:flex;align-items:center;justify-content:center;min-width:0}
.r8-hero-image img{width:100%;height:280px;object-fit:contain;padding:12px;background:#fff;border-radius:22px;box-shadow:0 25px 50px rgba(0,0,0,.25)}
.r8-hero-image:hover{transform:translateY(-2px)}
.r8-hero-price{position:absolute;right:8px;bottom:8px;padding:5px 10px;background:#08132c;color:#fff!important;border-radius:10px;font-size:14px;font-weight:900;box-shadow:0 5px 14px rgba(0,0,0,.25)}
.r8-hero-image-placeholder{display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:1;background:#fff;border-radius:22px;color:#334155;font-weight:900;font-size:44px}
.r8-hero-actions{grid-area:actions;z-index:2;display:flex;gap:10px;align-items:center;margin-top:12px;flex-wrap:wrap}
.r8-primary-cta,.r8-secondary-cta{display:inline-flex;align-items:center;justify-content:center;min-height:48px;border-radius:12px;padding:11px 20px;font-size:15px;line-height:1.2;text-decoration:none!important;font-weight:850;white-space:nowrap}
.r8-primary-cta,.r8-primary-cta:visited{background:#22d3ee;color:#02152f!important}
.r8-primary-cta:hover{background:#67e8f9}
.r8-primary-cta span{margin-left:10px}
.r8-secondary-cta,.r8-secondary-cta:visited{color:#fff!important;border:1px solid rgba(255,255,255,.34);background:rgba(255,255,255,.08)}
.r8-hero-proof{grid-area:proof;z-index:2;color:#c5d5ee;font-size:12px;margin-top:4px}
.r8-category-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:12px 0 4px}
.r8-category-nav a{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px;border:1px solid #d9e3ee;border-radius:16px;background:#fff;color:#0f172a!important;font-size:14px;line-height:1.25;text-decoration:none;font-weight:750;transition:box-shadow .2s,border-color .2s}
.r8-category-nav a:hover{border-color:#38bdf8;box-shadow:0 8px 20px rgba(15,23,42,.08)}
.r8-category-nav span{color:#0284c7;font-size:22px}
.r8-shop-all-link{font-size:13px;color:#0369a1!important;font-weight:800;white-space:nowrap}
.r8-home-product-grid .r8-product-card{display:flex;flex-direction:column}
.r8-home-product-grid .r8-product-card>a:first-child{flex:1}
.r8-home-product-grid .r8-product-card h3{color:#0f172a;font-size:14px;line-height:1.35}
.r8-home-product-grid .r8-product-card .r8-card-cta{color:#fff!important;background:#0f172a!important;font-size:13px;min-height:40px}
.r8-shop-filter-trigger button{width:100%;display:flex;justify-content:space-between;align-items:center;padding:11px 14px;border:1px solid #cbd5e1;border-radius:12px;background:#fff;color:#0f172a;font-weight:850}
/* R9: Pure CSS chevron avoids mobile browser/entity and font rendering issues. */
.r8-shop-filter-trigger button .r9-filter-chevron{display:inline-block;flex:0 0 auto;width:10px;height:10px;margin-right:4px;border:solid #0f172a;border-width:0 2px 2px 0;transform:rotate(45deg);transition:transform .2s ease}
.r8-shop-filter-trigger button[aria-expanded="true"] .r9-filter-chevron{transform:rotate(225deg)}
.r8-support-strip{margin-top:18px}
.r8-payment-details{border:1px solid #d8e3ee;background:#f8fafc;border-radius:16px;color:#0f172a;overflow:hidden}
.r8-payment-details summary{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:15px 17px;font-weight:850;cursor:pointer;list-style:none;color:#0f172a}
.r8-payment-details summary::-webkit-details-marker{display:none}
.r8-payment-details summary span{font-size:12px;color:#0369a1;white-space:nowrap}
.r8-payment-body{border-top:1px solid #e2e8f0;padding:14px 17px;font-size:14px;line-height:1.6;color:#334155}
.r8-payment-body p{margin:0 0 10px}
.r8-payment-body a{color:#0369a1;font-weight:800}
.r8-support-links{display:flex;gap:18px;justify-content:center;flex-wrap:wrap;margin:15px 0 10px;font-size:13px}
.r8-support-links a{color:#475569!important;text-decoration:underline;text-underline-offset:3px}
.tcg-payment-strip{border-bottom:1px solid #0e7490;background:#0f172a;color:#fff}
.tcg-payment-strip-inner{max-width:1152px;margin:auto;padding:8px 16px;display:flex;align-items:center;justify-content:center;gap:12px;font-size:12px}
.tcg-mobile-payment-label{font-weight:900;color:#67e8f9}
.tcg-payment-strip a{color:#e0f2fe!important;font-weight:800;text-decoration:underline;text-underline-offset:3px}
.r8-shop-masthead{position:relative;overflow:hidden;display:flex;align-items:center;min-height:165px;padding:22px 26px;border-radius:24px;background:linear-gradient(120deg,#08132c 0%,#12356b 100%);color:#fff;margin-bottom:18px}
.r8-shop-masthead>div{position:relative;z-index:2;max-width:75%}
.r8-shop-masthead h1{font-size:clamp(24px,3vw,38px);line-height:1.12;font-weight:900;color:#fff;margin:8px 0}
.r8-shop-masthead p:not(.r8-kicker){color:#dbeafe;font-size:14px}
.r8-shop-masthead>img{position:absolute;z-index:1;right:20px;top:16px;width:20%;height:calc(100% - 32px);border-radius:14px;object-fit:contain;background:#fff;padding:8px}
.r8-mobile-footer-links{display:grid;gap:8px}
.r8-mobile-footer-links details{border:1px solid #e2e8f0;background:#f8fafc;border-radius:12px;overflow:hidden}
.r8-mobile-footer-links summary{padding:12px 14px;cursor:pointer;color:#0f172a;font-weight:800}
.r8-mobile-footer-content{display:grid;gap:10px;border-top:1px solid #e2e8f0;padding:12px 14px}
.r8-mobile-footer-content a{color:#334155!important;text-decoration:underline}
.r8-product-mobile-note{display:none}
@media (min-width:768px){.r8-hero{min-height:410px;padding:36px 42px;gap:16px}.r8-hero-image img{height:310px}.r8-hero-actions{margin-top:18px}.r8-hero-proof{margin-top:0}.r8-hero h1{max-width:16ch}}
@media (max-width:767px){
  #nlwelcome-bar .max-w-7xl{padding:6px 12px;gap:10px}
  #nlwelcome-bar #nlwelcome-open{padding:7px 10px;white-space:nowrap}
  .tcg-utility-bar{display:none!important}
  .tcg-payment-strip-inner{padding:7px 10px;font-size:11px;gap:10px;flex-wrap:nowrap}
  .tcg-payment-long{display:none}
  .r8-desktop-welcome{display:none!important}
  header.header--glass .max-w-6xl>.h-16{height:58px}
  header.header--glass img{max-height:35px;max-width:min(53vw,210px);object-fit:contain}
  .r8-hero{padding:16px;gap:8px;min-height:300px;border-radius:19px;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr)}
  .r8-hero-content{align-self:center}
  .r8-kicker{font-size:10px;letter-spacing:.055em}
  .r8-hero h1{font-size:clamp(26px,7vw,35px);line-height:1.07;max-width:11ch;margin:9px 0}
  .r8-hero-subtitle{font-size:13px;line-height:1.35}
  .r8-hero-image img{height:158px;padding:5px;border-radius:14px;box-shadow:0 10px 20px rgba(0,0,0,.25)}
  .r8-hero-price{right:3px;bottom:3px;padding:4px 6px;border-radius:6px;font-size:11px}
  .r8-hero-image-placeholder{font-size:28px;border-radius:14px}
  .r8-hero-actions{flex-wrap:nowrap;gap:8px;margin-top:8px}
  .r8-primary-cta,.r8-secondary-cta{min-height:43px;padding:9px 13px;font-size:12px;border-radius:11px}
  .r8-primary-cta{flex:1}.r8-secondary-cta{flex:0 0 auto}
  .r8-primary-cta span{margin-left:5px}
  .r8-hero-proof{text-align:center;font-size:11px;line-height:1.3;margin-top:2px}
  .r8-category-nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px}
  .r8-category-nav a{padding:11px 12px;min-height:54px;font-size:12px;border-radius:12px}
  .r8-category-nav span{font-size:16px}
  #products{margin-top:24px}
  #products>div:first-child{flex-direction:row;align-items:center;justify-content:space-between}
  .r8-shop-filters{display:none}
  .r8-shop-filters.r8-filters-open{display:block}
  #products h2{font-size:20px;line-height:1.2}
  .r8-desktop-sorting{display:none!important}
  .r8-home-product-grid{gap:10px}
  .r8-home-product-grid .r8-product-card img{height:150px;padding:5px}
  .r8-home-product-grid .r8-product-card h3{font-size:12px;line-height:1.35;min-height:2.7em}
  .r8-home-product-grid .r8-product-card> a:first-child>div.p-3{padding:10px}
  .r8-home-product-grid .r8-product-card .text-base{font-size:15px}
  .r8-home-product-grid .r8-product-card .r8-grid-status{display:none}
  .r8-home-product-grid .r8-product-card .r8-card-cta{font-size:12px;min-height:37px;padding:8px}
  .r8-home-product-grid .r8-product-card>div.px-3{padding:0 9px 10px}
  .r8-home-product-grid .r8-product-card .text-\[12px\].text-slate-500{font-size:10px}
  .r8-category-header{border-radius:18px}
  .r8-category-header>.relative{padding:17px!important}
  .r8-category-header h1{font-size:24px;line-height:1.15}
  .r8-category-header p:not(.r8-kicker){display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:13px;line-height:1.4}
  .r8-category-header .flex.flex-wrap.gap-2.text-xs{display:none}
  .r8-category-header .flex.flex-wrap.gap-2 a{font-size:12px;padding:8px 11px}
  .r8-shop-masthead{min-height:120px;padding:16px;border-radius:18px}
  .r8-shop-masthead h1{font-size:22px;margin:6px 0}
  .r8-shop-masthead p:not(.r8-kicker){font-size:12px;line-height:1.4}
  .r8-shop-masthead>div{max-width:70%}
  .r8-shop-masthead>img{width:27%;right:9px;top:9px;height:calc(100% - 18px);padding:4px}
  .r8-footer{margin-top:28px}
  .r8-footer>.max-w-7xl>.grid{padding-top:20px;padding-bottom:16px}
  .r8-footer .border-t.py-6{padding-top:12px;padding-bottom:12px;gap:5px;font-size:11px}
  .r8-product-mobile-note{display:block;font-size:12px;text-align:center;color:#475569;margin:7px 0 0}
  .r8-product-mobile-note a{font-weight:800;color:#0369a1;text-decoration:underline}
  .market24-snapshot,.r8-product-reassurance,.r8-product-detail-benefits{display:none!important}
}
@media (max-width:360px){
  .r8-hero{padding:12px;min-height:284px;gap:6px}
  .r8-hero h1{font-size:25px}
  .r8-primary-cta,.r8-secondary-cta{font-size:11px;padding:8px}
  .r8-hero-image img{height:145px}
  .r8-category-nav a{padding:9px;font-size:11px}
}
@media (prefers-reduced-motion:reduce){.r8-category-nav a{transition:none}}
