
:root{
  --blue:#0b2edc;
  --blue2:#1747ff;
  --red:#f31938;
  --green:#25a844;
  --ink:#101b3f;
  --muted:#6f7891;
  --line:#e7eaf2;
  --soft:#f6f8fc;
  --softblue:#eef2ff;
  --softred:#fff0f3;
  --softgreen:#eefaf2;
  --shadow:0 12px 34px rgba(24,42,92,.08);
  --radius:18px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:#fff}
a{text-decoration:none;color:inherit}
button,input,select{font:inherit}
img{max-width:100%;display:block}
.container{width:min(1180px,calc(100% - 36px));margin:auto}
.topline{background:var(--blue);color:#fff;font-size:12px}
.topline .container{height:30px;display:flex;align-items:center;justify-content:space-between}
.header{position:sticky;top:0;z-index:30;background:rgba(255,255,255,.97);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.header-main{height:78px;display:grid;grid-template-columns:148px 1fr auto;align-items:center;gap:22px}
.logo img{width:120px;height:52px;object-fit:contain}
.searchbar{display:flex;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 3px 14px rgba(31,52,125,.04)}
.searchbar input{border:0;outline:0;padding:14px 16px;min-width:0;flex:1;color:var(--ink)}
.searchbar select{border:0;border-left:1px solid var(--line);padding:0 14px;background:#fff;color:#414a62}
.searchbar button{border:0;background:var(--blue);color:#fff;width:52px;cursor:pointer}
.actions{display:flex;align-items:center;gap:18px;font-size:13px;font-weight:700}
.actions a:hover{color:var(--blue)}
.cart-pill{position:relative}
.cart-count{position:absolute;right:-11px;top:-12px;background:var(--red);color:#fff;width:20px;height:20px;border-radius:50%;display:grid;place-items:center;font-size:10px}
.navrow{border-top:1px solid #f2f3f8}
.navrow .container{display:flex;gap:28px;align-items:center;height:54px;overflow:auto;white-space:nowrap;font-size:13px;font-weight:650}
.cat-menu{background:var(--blue);color:#fff!important;padding:12px 20px;border-radius:11px}
.hero{padding:42px 0 34px}
.hero-grid{display:grid;grid-template-columns:1fr 1.05fr;gap:40px;align-items:center}
.eyebrow{display:inline-flex;align-items:center;gap:8px;background:var(--softblue);color:var(--blue);font-weight:800;font-size:12px;padding:8px 12px;border-radius:999px}
.hero h1{font-size:56px;line-height:.98;margin:22px 0 20px;letter-spacing:-2.5px}
.blue{color:var(--blue)} .red{color:var(--red)} .green{color:var(--green)}
.hero p{font-size:17px;line-height:1.55;color:#4d5770;max-width:560px}
.creole{color:var(--blue)!important;font-weight:750}
.btns{display:flex;gap:14px;flex-wrap:wrap;margin:26px 0 22px}
.btn{border:0;border-radius:12px;padding:14px 22px;font-weight:800;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px}
.btn-blue{background:var(--blue);color:white}
.btn-red{background:var(--red);color:white}
.btn-outline-red{background:#fff;color:var(--red);border:1.5px solid var(--red)}
.btn-outline-blue{background:#fff;color:var(--blue);border:1.5px solid var(--blue)}
.trust-mini{display:flex;gap:22px;flex-wrap:wrap;font-size:13px;color:#3f4962}
.trust-mini span::before{content:"✓";color:var(--green);font-weight:900;margin-right:7px}
.hero-visual{position:relative;border-radius:26px;overflow:hidden;box-shadow:var(--shadow);min-height:420px;background:var(--soft)}
.hero-visual img{width:100%;height:100%;object-fit:cover;min-height:420px}
.hero-card{position:absolute;right:22px;top:90px;background:#fff;border-radius:18px;padding:20px;width:190px;box-shadow:0 15px 40px rgba(31,48,96,.18)}
.hero-card strong{display:block;margin-bottom:14px}
.hero-card div{font-size:13px;margin:10px 0}
.hero-card div::before{content:"●";color:var(--green);font-size:10px;margin-right:8px}
.filter-card,.surface{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}
.filter-card{padding:18px 20px;display:grid;grid-template-columns:1.6fr 1fr 1fr .75fr auto;gap:12px;align-items:end}
.field label{display:block;font-size:11px;font-weight:800;margin:0 0 7px;color:#49526a}
.field input,.field select{width:100%;padding:12px 13px;border:1px solid var(--line);border-radius:10px;outline:0;background:#fff}
.section{padding:38px 0}
.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}
.section-head h2{margin:0;font-size:28px;letter-spacing:-.6px}
.section-head a{font-size:13px;color:var(--blue);font-weight:800}
.categories{display:grid;grid-template-columns:repeat(8,1fr);gap:12px}
.category-card{border:1px solid var(--line);border-radius:15px;padding:16px 10px;text-align:center;background:#fff;transition:.2s}
.category-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}
.category-icon{font-size:36px;height:45px;display:grid;place-items:center;margin-bottom:8px}
.category-card span{font-size:12px;font-weight:700}
.b2b-banner{display:grid;grid-template-columns:1fr 1fr;border-radius:22px;overflow:hidden}
.b2b-panel{padding:28px 34px;color:white;min-height:160px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.b2b-panel.bluebg{background:linear-gradient(135deg,#0824bd,#1244ff)}
.b2b-panel.redbg{background:linear-gradient(135deg,#e51634,#ff2947)}
.b2b-panel h3{font-size:23px;margin:0 0 10px}
.b2b-panel p{margin:0 0 16px;opacity:.88;font-size:13px;line-height:1.45}
.b2b-emoji{font-size:58px}
.tabs{display:flex;gap:24px;font-size:13px;margin-bottom:18px}
.tabs button{border:0;background:none;padding:6px 0;cursor:pointer;color:#606b82}
.tabs button.active{color:var(--blue);font-weight:800;border-bottom:2px solid var(--blue)}
.product-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:14px}
.product-card{border:1px solid var(--line);border-radius:16px;padding:10px;background:white;position:relative;display:flex;flex-direction:column;min-width:0}
.product-card:hover{box-shadow:var(--shadow)}
.prod-img{height:160px;background:var(--soft);border-radius:12px;overflow:hidden;display:grid;place-items:center}
.prod-img img{width:100%;height:100%;object-fit:contain;background:#fff}
.heart{position:absolute;right:16px;top:16px;background:#fff;border:1px solid var(--line);width:31px;height:31px;border-radius:50%;display:grid;place-items:center;cursor:pointer}
.product-card h4{font-size:14px;margin:13px 0 5px;line-height:1.3}
.seller{font-size:11px;color:var(--muted);min-height:18px}
.verified{color:var(--green);font-weight:800}
.price{font-size:18px;font-weight:900;margin:11px 0;color:var(--ink)}
.add{margin-top:auto;border:0;background:var(--red);color:white;border-radius:9px;padding:10px 9px;font-weight:800;font-size:11px;cursor:pointer}
.feature-strip{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:28px 0;margin-top:24px}
.features{display:grid;grid-template-columns:repeat(4,1fr);gap:26px}
.feature{display:grid;grid-template-columns:50px 1fr;gap:12px;align-items:start}
.feature .ico{font-size:33px;color:var(--blue)}
.feature strong{display:block;font-size:14px;margin-bottom:5px}
.feature small{color:var(--muted);line-height:1.4}
.footer{padding:28px 0 45px;color:#7d869c;font-size:12px}
.brand-line{height:4px;border-radius:99px;background:linear-gradient(90deg,var(--blue) 0 48%,var(--green) 48% 52%,var(--red) 52%);margin-bottom:20px}

/* Product */
.breadcrumb{font-size:12px;color:var(--muted);padding:22px 0}
.product-layout{display:grid;grid-template-columns:1.05fr 1fr;gap:34px}
.gallery-wrap{display:grid;grid-template-columns:78px 1fr;gap:14px}
.thumbs{display:flex;flex-direction:column;gap:10px}
.thumb{height:72px;border:1px solid var(--line);border-radius:12px;padding:6px;background:#fff;cursor:pointer}
.thumb.active{border:2px solid var(--blue)}
.thumb img{width:100%;height:100%;object-fit:contain}
.main-product{border:1px solid var(--line);border-radius:18px;height:470px;display:grid;place-items:center;padding:18px;background:white}
.main-product img{width:100%;height:100%;object-fit:contain}
.summary-box{margin-top:16px;padding:20px}
.summary-box h3{margin-top:0}
.spec-icons{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-top:18px}
.spec{background:var(--soft);padding:11px;border-radius:11px;text-align:center;font-size:11px}
.badge{display:inline-flex;padding:7px 11px;border-radius:999px;background:var(--softblue);color:var(--blue);font-size:11px;font-weight:800}
.product-info h1{font-size:38px;line-height:1.05;margin:14px 0}
.rating{color:#ff9f00;font-size:16px;margin:8px 0 20px}
.price-box{padding:22px;margin:18px 0}
.price-pair{display:grid;grid-template-columns:1fr 1fr}
.price-side:first-child{border-right:1px solid var(--line)}
.price-side{padding:0 16px}
.price-side span{font-size:12px;color:var(--muted)}
.price-side strong{display:block;font-size:28px;margin-top:6px}
.product-info-row{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:20px 0}
.mini-info{background:var(--soft);border-radius:12px;padding:13px;text-align:center;font-size:12px}
.qtyrow{display:flex;align-items:center;gap:18px;margin:18px 0}
.qty{display:flex;border:1px solid var(--line);border-radius:10px;overflow:hidden}
.qty button,.qty span{width:42px;height:40px;border:0;background:#fff;display:grid;place-items:center}
.qty button{cursor:pointer}
.buyrow{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.seller-card{padding:20px;margin-top:16px}
.seller-top{display:flex;justify-content:space-between;align-items:center}
.score{font-size:28px;font-weight:900}
.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:18px;text-align:center}
.metric strong{display:block}
.metric small{color:var(--muted)}
.tab-panel{margin-top:34px}
.tab-body{border-top:1px solid var(--line);padding-top:20px;display:grid;grid-template-columns:1.7fr .8fr;gap:25px}
.tab-body p,.tab-body li{color:#4f5b73;line-height:1.6;font-size:13px}
.delivery-card{padding:18px}
.related-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}

/* Checkout */
.checkout-grid{display:grid;grid-template-columns:1.8fr .8fr;gap:28px;align-items:start}
.cart-table{overflow:hidden}
.cart-head,.cart-row{display:grid;grid-template-columns:1.6fr 1fr .7fr .7fr .8fr 30px;gap:10px;align-items:center;padding:14px 16px}
.cart-head{font-size:11px;color:var(--muted);font-weight:800;border-bottom:1px solid var(--line)}
.cart-row{border-bottom:1px solid var(--line)}
.cart-prod{display:flex;gap:10px;align-items:center}
.cart-prod img{width:58px;height:58px;object-fit:contain;border-radius:10px;background:var(--soft)}
.cart-prod strong{font-size:13px}
.cart-prod small{display:block;color:var(--muted);margin-top:4px}
.cart-price{font-weight:800;font-size:13px}
.cart-total{color:var(--red);font-weight:900}
.delete{border:0;background:none;cursor:pointer;color:#888}
.option-section{padding:22px;margin-top:18px}
.option-section h3{color:var(--blue);font-size:17px}
.options{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.option{border:1px solid var(--line);border-radius:14px;padding:17px;cursor:pointer;position:relative;min-height:120px}
.option.selected{border:2px solid var(--blue);background:#fbfcff}
.radio{width:17px;height:17px;border:2px solid #aeb6ca;border-radius:50%;position:absolute;top:12px;left:12px}
.option.selected .radio{border-color:var(--blue);box-shadow:inset 0 0 0 4px #fff;background:var(--blue)}
.option .bigico{font-size:32px;margin:14px 0 10px}
.option strong{font-size:13px}
.option p{font-size:11px;color:var(--muted);line-height:1.45}
.payment-options{grid-template-columns:repeat(4,1fr)}
.discount-note{margin-top:13px;padding:12px;border-radius:10px;background:var(--softgreen);font-size:12px;color:#335f3e}
.customer-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.summary-sticky{position:sticky;top:160px}
.order-summary{padding:22px}
.order-summary h2{font-size:22px}
.sum-row{display:flex;justify-content:space-between;padding:11px 0;font-size:13px}
.sum-total{border-top:1px solid var(--line);margin-top:8px;padding-top:18px;font-size:16px;font-weight:800}
.sum-total strong{font-size:28px;color:var(--red)}
.green-note{background:var(--softgreen);border:1px solid #cfeeda;padding:13px;border-radius:11px;color:#2d6d3b;font-size:12px;line-height:1.45;margin:16px 0}
.side-trust{padding:20px;margin-top:16px}
.side-trust .item{margin:18px 0;font-size:12px}
.side-trust strong{display:block;margin-bottom:4px}

/* Merchant */
.merchant-hero{padding:38px 0}
.merchant-hero .hero-grid{grid-template-columns:1fr 1fr}
.merchant-hero h1{font-size:52px;line-height:1.04;letter-spacing:-2px}
.merchant-hero .visual{border-radius:24px;overflow:hidden;box-shadow:var(--shadow)}
.merchant-types,.plans{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.type-card{padding:23px;position:relative}
.type-card .iconcircle{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;font-size:26px;margin-bottom:15px}
.type-card:nth-child(1) .iconcircle,.type-card:nth-child(3) .iconcircle{background:var(--blue);color:#fff}
.type-card:nth-child(2) .iconcircle{background:var(--red);color:#fff}
.type-card h3{margin:0 0 8px;color:var(--blue)}
.type-card:nth-child(2) h3{color:var(--red)}
.type-card p,.type-card li{font-size:12px;line-height:1.5;color:#4d5770}
.type-card li::marker{color:var(--green)}
.plans{grid-template-columns:1fr 1fr;gap:28px}
.plan{padding:28px}
.plan.blueplan{border:2px solid var(--blue)}
.plan.redplan{border:2px solid var(--red)}
.plan h3{font-size:21px;margin:0}
.plan .bigprice{font-size:34px;font-weight:900;margin:18px 0 6px}
.plan ul{padding-left:20px;font-size:13px;line-height:1.8}
.plan li::marker{color:var(--green)}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.step{padding:22px;text-align:center}
.step-num{width:32px;height:32px;border-radius:50%;background:var(--blue);color:white;display:grid;place-items:center;font-weight:900;margin:0 auto 13px}
.step:nth-child(2) .step-num{background:var(--red)}
.cta-band{border-radius:22px;overflow:hidden;background:linear-gradient(105deg,var(--blue),#392cc3 50%,var(--red));color:#fff;padding:32px 42px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.cta-band h2{margin:0;font-size:29px}
.cta-band p{opacity:.85}

@media(max-width:1000px){
  .header-main{grid-template-columns:110px 1fr}.actions{display:none}
  .hero-grid,.product-layout,.checkout-grid,.merchant-hero .hero-grid{grid-template-columns:1fr}
  .hero h1,.merchant-hero h1{font-size:44px}
  .filter-card{grid-template-columns:1fr 1fr}
  .categories{grid-template-columns:repeat(4,1fr)}
  .product-grid,.related-grid{grid-template-columns:repeat(3,1fr)}
  .summary-sticky{position:static}
}
@media(max-width:700px){
  .container{width:min(100% - 22px,1180px)}
  .topline{display:none}.header-main{height:auto;padding:10px 0;grid-template-columns:100px 1fr}.searchbar select{display:none}
  .navrow .container{height:46px;gap:16px}
  .hero{padding-top:24px}.hero h1,.merchant-hero h1{font-size:38px}
  .hero-visual,.hero-visual img{min-height:300px}
  .filter-card{grid-template-columns:1fr}
  .categories{grid-template-columns:repeat(2,1fr)}
  .b2b-banner{grid-template-columns:1fr}
  .product-grid,.related-grid{grid-template-columns:repeat(2,1fr)}
  .features{grid-template-columns:1fr 1fr}
  .gallery-wrap{grid-template-columns:1fr}.thumbs{flex-direction:row}.thumb{width:70px}
  .main-product{height:360px}
  .price-pair,.product-info-row,.buyrow,.metrics,.options,.customer-grid,.merchant-types,.plans,.steps{grid-template-columns:1fr}
  .cart-head{display:none}.cart-row{grid-template-columns:1fr 1fr}.cart-row>*:nth-child(n+3){font-size:12px}
  .payment-options{grid-template-columns:1fr 1fr}
  .cta-band{flex-direction:column;align-items:flex-start}
}
