:root{
  --udf-bg:#f5f7fb;
  --udf-surface:#ffffff;
  --udf-line:#e7edf4;
  --udf-text:#0f172a;
  --udf-sub:#475569;
  --udf-soft:#64748b;
  --udf-orange:#ff6b00;
  --udf-navy:#0f172a;
  --udf-cream:#fff8f0;
  --udf-shadow:0 18px 46px rgba(15,23,42,.09);
  --udf-shadow-soft:0 10px 26px rgba(15,23,42,.06);
}

body.udf-detail-active{background:linear-gradient(180deg,#f8fafc 0%,#f5f7fb 100%);} 
body.udf-detail-active .udf-detail-shell{max-width:1440px;margin:0 auto;padding:0 8px 34px;display:flex;flex-direction:column;gap:28px;}
body.udf-detail-active .udf-breadcrumb{font-size:14px;color:#475569;font-weight:600;padding:4px 2px 0;}
body.udf-detail-active .udf-breadcrumb a{color:#475569;text-decoration:none;}
body.udf-detail-active .udf-hero{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(390px,.92fr);gap:30px;align-items:start;}
@media (max-width:1100px){body.udf-detail-active .udf-hero{grid-template-columns:1fr;}}
body.udf-detail-active .udf-surface{background:var(--udf-surface);border:1px solid var(--udf-line);border-radius:28px;box-shadow:var(--udf-shadow);} 
body.udf-detail-active .udf-gallery{min-height:640px;padding:28px;position:relative;display:flex;align-items:center;justify-content:center;background:linear-gradient(180deg,#fff,#f6f8fb);overflow:hidden;}
body.udf-detail-active .udf-gallery::before{content:"";position:absolute;inset:22px;border-radius:22px;background:radial-gradient(circle at 18% 18%,rgba(255,107,0,.08),transparent 32%),radial-gradient(circle at 82% 82%,rgba(15,23,42,.05),transparent 28%),linear-gradient(180deg,#fff,#f8fafc);} 
body.udf-detail-active .udf-gallery img{position:relative;z-index:1;max-width:88%;max-height:88%;object-fit:contain;display:block;}
body.udf-detail-active .udf-summary{padding:28px;display:flex;flex-direction:column;gap:16px;position:sticky;top:20px;}
body.udf-detail-active .udf-brand{display:flex;align-items:center;gap:10px;font-size:12px;text-transform:uppercase;letter-spacing:.04em;font-weight:900;color:#334155;min-height:24px;}
body.udf-detail-active .udf-brand img{width:24px;height:24px;object-fit:contain;display:block;}
body.udf-detail-active .udf-title{margin:0;font-size:42px;line-height:1.08;font-weight:900;color:var(--udf-text);letter-spacing:-.02em;}
body.udf-detail-active .udf-price-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:end;padding:6px 0 2px;border-bottom:1px solid #edf1f5;padding-bottom:18px;}
body.udf-detail-active .udf-price-main{font-size:56px;line-height:1;font-weight:900;color:var(--udf-text);}
body.udf-detail-active .udf-price-label{font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:#64748b;font-weight:900;}
body.udf-detail-active .udf-price-market{font-size:15px;color:#64748b;text-decoration:line-through;text-decoration-thickness:1px;white-space:nowrap;}
body.udf-detail-active .udf-seller{display:flex;align-items:center;gap:14px;padding:16px;border:1px solid #e8edf3;border-radius:18px;background:#fbfcfe;box-shadow:var(--udf-shadow-soft);} 
body.udf-detail-active .udf-seller img,body.udf-detail-active .udf-seller .udf-fallback{width:44px;height:44px;border-radius:999px;object-fit:cover;background:#eef2f7;display:flex;align-items:center;justify-content:center;font-weight:900;color:#334155;}
body.udf-detail-active .udf-seller strong{font-size:16px;color:#0f172a;display:block;}
body.udf-detail-active .udf-seller span{font-size:13px;color:#64748b;display:block;margin-top:2px;}
body.udf-detail-active .udf-next{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;padding:16px 18px;background:var(--udf-cream);border:1px solid #f8d3aa;border-radius:18px;}
body.udf-detail-active .udf-next small{display:block;font-size:13px;color:#9a4a00;font-weight:800;text-transform:uppercase;letter-spacing:.03em;}
body.udf-detail-active .udf-next strong{display:block;font-size:28px;line-height:1;color:#b45309;font-weight:900;margin-top:6px;}
body.udf-detail-active .udf-stats{display:flex;gap:10px;flex-wrap:wrap;}
body.udf-detail-active .udf-chip{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border-radius:999px;border:1px solid #e4eaf1;background:#fff;font-size:14px;font-weight:800;color:#334155;box-shadow:var(--udf-shadow-soft);} 
body.udf-detail-active .udf-rail-card{padding:18px;border:1px solid #edf1f5;border-radius:20px;background:#fcfdff;display:flex;flex-direction:column;gap:14px;}
body.udf-detail-active .udf-rail-top{display:flex;justify-content:space-between;gap:16px;align-items:end;}
body.udf-detail-active .udf-rail-top .eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:var(--udf-orange);font-weight:900;}
body.udf-detail-active .udf-rail-top .headline{font-size:28px;line-height:1.1;color:var(--udf-text);font-weight:900;}
body.udf-detail-active .udf-cta{display:flex;align-items:center;justify-content:center;height:58px;border-radius:18px;background:var(--udf-orange);color:#fff;text-decoration:none;font-size:17px;font-weight:900;box-shadow:0 16px 32px rgba(255,107,0,.20);} 
body.udf-detail-active .udf-cta:hover{filter:brightness(.98);} 
body.udf-detail-active .udf-secondary{display:flex;align-items:center;justify-content:center;height:46px;border-radius:16px;border:1px solid var(--udf-line);background:#fff;color:#334155;text-decoration:none;font-size:15px;font-weight:800;}
body.udf-detail-active .udf-info-note{padding:16px 18px;border-radius:18px;background:#f8fbff;border:1px solid #d8e6f8;color:#284b72;font-size:14px;line-height:1.55;font-weight:700;}
body.udf-detail-active .udf-sections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;}
@media (max-width:960px){body.udf-detail-active .udf-sections{grid-template-columns:1fr;}}
body.udf-detail-active .udf-section{padding:24px;} 
body.udf-detail-active .udf-section h3{margin:0 0 12px;font-size:18px;font-weight:900;color:#0f172a;} 
body.udf-detail-active .udf-section p,body.udf-detail-active .udf-section li{margin:0;font-size:15px;line-height:1.72;color:#475569;} 
body.udf-detail-active .udf-section ul{margin:0;padding-left:18px;display:flex;flex-direction:column;gap:8px;}
body.udf-detail-active .udf-quiet{display:none !important;}

/* Refine imported rail if present */
body.udf-detail-active .udf-rail-card .b6g3-rail,
body.udf-detail-active .udf-rail-card .b6f3-rail,
body.udf-detail-active .udf-rail-card [data-b6g3-rail]{margin:0;padding:0;border:0;background:transparent;box-shadow:none;}