
/* V202 Customer Portal Global Professional UX Layer */
:root{
  --portal-bg:#f3f6fb;
  --portal-card:#ffffff;
  --portal-ink:#0f172a;
  --portal-muted:#64748b;
  --portal-line:#e5eaf2;
  --portal-good:#0f766e;
  --portal-warn:#f59e0b;
  --portal-danger:#dc2626;
  --portal-radius:26px;
  --portal-shadow:0 22px 70px rgba(15,23,42,.10);
  --portal-soft-shadow:0 12px 34px rgba(15,23,42,.07);
}
html{scroll-behavior:smooth} body.global-shop{background:radial-gradient(circle at top left,rgba(20,184,166,.10),transparent 320px),radial-gradient(circle at top right,rgba(245,158,11,.12),transparent 320px),var(--portal-bg);color:var(--portal-ink)}
.announce-bar{background:linear-gradient(90deg,var(--primary),var(--brand));color:#fff;border:0}.announce-inner{max-width:1240px;margin:auto;padding:9px 18px;display:flex;align-items:center;justify-content:space-between;gap:14px;font-size:12px;font-weight:900;letter-spacing:.01em}.announce-inner span{display:inline-flex;gap:7px;align-items:center}.announce-inner span:before{content:"•";font-size:18px;line-height:0;color:#fde68a}
.shop-header.global-header{background:rgba(255,255,255,.86);backdrop-filter:blur(18px);border-bottom:1px solid rgba(226,232,240,.84);box-shadow:0 10px 30px rgba(15,23,42,.04)}.shop-nav.global-nav{max-width:1240px;padding:13px 18px}.global-brand span{width:48px;height:48px;border-radius:18px;box-shadow:0 14px 32px rgba(15,118,110,.22)}.global-brand b{font-size:16px;letter-spacing:-.02em}.global-brand small{font-size:12px}.portal-status-chip{background:#f8fafc;border:1px solid #e2e8f0;border-radius:999px;padding:9px 12px;font-size:12px;font-weight:950;color:#334155;white-space:nowrap}.global-links a{border:1px solid transparent}.global-links a:hover,.global-links a.active{border-color:#ccfbf1;box-shadow:0 8px 22px rgba(20,184,166,.10)}.global-links .nav-pill{color:#fff!important;box-shadow:0 14px 26px rgba(20,184,166,.22)}.global-links .nav-dark{box-shadow:0 14px 26px rgba(15,23,42,.16)}.portal-container.global-container{max-width:1240px;padding:28px 18px 96px}
.portal-progress{max-width:1240px;margin:14px auto 0;padding:0 18px;display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.portal-progress span{background:rgba(255,255,255,.86);border:1px solid #e2e8f0;border-radius:18px;padding:10px 12px;display:flex;align-items:center;gap:9px;font-size:12px;font-weight:950;color:#475569;box-shadow:0 8px 22px rgba(15,23,42,.04)}.portal-progress i{width:24px;height:24px;border-radius:9px;background:#ecfdf5;color:var(--primary);display:grid;place-items:center;font-style:normal}.portal-progress span.active{border-color:#99f6e4;background:#ecfdf5;color:#0f766e}
.pro-hero{position:relative;overflow:hidden;border-radius:34px;padding:42px;background:linear-gradient(135deg,#0f172a 0%,var(--primary) 55%,var(--brand) 100%);box-shadow:0 30px 90px rgba(15,23,42,.20);color:#fff;display:grid;grid-template-columns:1.08fr .92fr;gap:28px;align-items:center}.pro-hero:before{content:"";position:absolute;right:-80px;top:-80px;width:260px;height:260px;background:rgba(255,255,255,.12);border-radius:999px}.pro-hero:after{content:"";position:absolute;left:35%;bottom:-90px;width:320px;height:160px;background:rgba(245,158,11,.20);filter:blur(10px);border-radius:999px}.pro-hero>*{position:relative;z-index:1}.pro-hero h1{font-size:clamp(34px,5vw,58px);line-height:1.02;letter-spacing:-.055em;margin:14px 0}.pro-hero p{font-size:16px;line-height:1.75;color:rgba(255,255,255,.82);max-width:660px}.pro-hero .mini{background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.18);border-radius:999px;padding:8px 11px;color:#e0f2fe}.pro-hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}.pro-hero .btn{padding:13px 18px;border-radius:16px}.pro-hero .btn-light{box-shadow:0 16px 35px rgba(255,255,255,.18)}.pro-hero-panel{display:grid;gap:12px}.pro-quick-card{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);border-radius:24px;padding:18px;display:grid;grid-template-columns:auto 1fr;gap:14px;align-items:center}.pro-quick-card i{width:48px;height:48px;border-radius:18px;background:#fff;color:var(--primary);display:grid;place-items:center;font-size:19px}.pro-quick-card b{display:block;font-size:17px}.pro-quick-card small{color:rgba(255,255,255,.74);font-weight:800;line-height:1.5}.home-global-search.pro-search{display:grid;grid-template-columns:1fr 190px;gap:10px;background:#fff;border:1px solid rgba(226,232,240,.88);border-radius:24px;padding:10px;box-shadow:var(--portal-shadow);margin-top:-32px;position:relative;z-index:5}.search-input-big{display:flex;align-items:center;gap:10px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:18px;padding:0 14px}.search-input-big span{width:34px;height:34px;background:#ecfdf5;color:var(--primary);border-radius:13px;display:grid;place-items:center;font-weight:950}.home-global-search.pro-search input,.home-global-search.pro-search select{border:0;background:transparent;box-shadow:none}.home-global-search.pro-search select{background:#f8fafc;border:1px solid #e2e8f0;border-radius:18px;font-weight:900}.home-search-note{margin:12px 0 0;font-weight:850;color:#64748b}.home-search-note b{color:var(--primary)}
.portal-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:20px 0}.portal-steps article{background:#fff;border:1px solid #e2e8f0;border-radius:24px;padding:18px;box-shadow:var(--portal-soft-shadow);position:relative;overflow:hidden}.portal-steps article:after{content:attr(data-step);position:absolute;right:14px;top:10px;font-size:42px;font-weight:950;color:#e2e8f0}.portal-steps i{width:42px;height:42px;border-radius:16px;background:#ecfdf5;color:var(--primary);display:grid;place-items:center;font-size:17px;margin-bottom:12px}.portal-steps b{display:block;font-size:15px}.portal-steps p{margin:6px 0 0;color:#64748b;font-size:13px;line-height:1.55;font-weight:750}.portal-section-title{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:28px 0 14px}.portal-section-title h2{margin:6px 0 0;letter-spacing:-.03em}.portal-section-title p{margin:6px 0 0;color:#64748b;font-weight:750}
.page-title.global-page-title,.page-title.catalogue-title,.page-title{border-radius:28px;background:linear-gradient(135deg,#fff,#f8fafc);border:1px solid #e5eaf2;box-shadow:var(--portal-soft-shadow)}.catalogue-title{align-items:center}.admin-like-type{background:#fff;border:1px solid #e2e8f0;border-radius:22px;padding:12px;display:grid;grid-template-columns:auto 150px auto;gap:10px;align-items:end;box-shadow:0 12px 28px rgba(15,23,42,.05)}.admin-like-type label{font-size:11px;text-transform:uppercase;letter-spacing:.08em;font-weight:950;color:#64748b}.type-chip{border:1px solid #bbf7d0;background:#ecfdf5;color:#0f766e;border-radius:999px;padding:7px 10px;font-size:11px;font-weight:950;white-space:nowrap}.type-chip.wholesale{background:#fff7ed;border-color:#fed7aa;color:#c2410c}.smart-search.card{border-radius:28px;padding:18px;box-shadow:var(--portal-soft-shadow)}.smart-filter{display:grid;grid-template-columns:1fr 190px 170px;gap:12px}.search-wrap{display:flex;align-items:center;gap:10px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:17px;padding:0 12px}.search-wrap input{border:0;background:transparent;box-shadow:none}.products-grid,.global-products{grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:18px}.product-card.global-product-card{border-radius:28px;box-shadow:var(--portal-soft-shadow);border:1px solid #e5eaf2;background:#fff}.product-card.global-product-card:hover{transform:translateY(-5px);box-shadow:0 26px 70px rgba(15,23,42,.14)}.product-media.global-media{height:176px;background:linear-gradient(135deg,#f0fdfa,#eff6ff);border-radius:24px;margin:12px 12px 0;overflow:hidden}.product-badges{position:absolute;left:12px;right:12px;top:12px;z-index:4;display:flex;gap:7px;align-items:center;flex-wrap:wrap}.product-badges .wish{position:static;margin-left:auto}.product-body{padding:16px}.product-card h3{min-height:42px}.portal-price-compare{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0}.portal-price-compare span{background:#f8fafc;border:1px solid #e2e8f0;border-radius:999px;padding:6px 9px;font-size:11px;font-weight:850;color:#475569}.portal-price-line b{font-size:23px}.cart-mini.global-cart-mini{grid-template-columns:76px 1fr;gap:9px;margin-top:12px}.cart-mini.global-cart-mini input{font-weight:950;text-align:center}.cart-mini.global-cart-mini .btn{border-radius:15px}
.easy-toolbar{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:16px}.easy-toolbar a,.easy-toolbar div{background:#fff;border:1px solid #e2e8f0;border-radius:20px;padding:14px;display:flex;gap:12px;align-items:center;text-decoration:none;box-shadow:var(--portal-soft-shadow)}.easy-toolbar i{width:40px;height:40px;border-radius:15px;background:#ecfdf5;color:var(--primary);display:grid;place-items:center}.easy-toolbar b{display:block}.easy-toolbar small{display:block;color:#64748b;font-weight:800;margin-top:3px}.portal-admin-order-box.pro-panel,.panel.cart-product-select-panel,.checkout-form.pro-panel,.checkout-summary-sticky.pro-panel{border-radius:28px;border:1px solid #e5eaf2;box-shadow:var(--portal-soft-shadow)}.cart-search-head,.portal-admin-order-form{display:flex;justify-content:space-between;gap:18px;align-items:center}.portal-admin-order-form label{min-width:210px}.cart-direct-grid{display:grid;grid-template-columns:1fr 120px auto;gap:12px;align-items:end}.cart-direct-product-info{margin-top:12px;background:#eff6ff;border:1px solid #dbeafe;border-radius:17px;padding:12px;color:#1e40af;font-weight:850}.cart-list{gap:12px}.cart-item{grid-template-columns:1fr 92px 128px 40px;border-radius:20px;background:#fff;box-shadow:0 8px 22px rgba(15,23,42,.04)}.cart-item a{transition:.18s}.cart-item a:hover{transform:scale(1.08)}.summary{background:#f8fafc;border:1px solid #e2e8f0;border-radius:22px;padding:15px;margin-top:14px}.summary .total,.summary b.total{font-size:22px}.checkout-layout{grid-template-columns:minmax(0,1.2fr) 390px}.checkout-summary-sticky{top:100px}.checkout-pay-box{box-shadow:var(--portal-soft-shadow)}.checkout-form input,.checkout-form select,.checkout-form textarea{border-radius:16px}.checkout-form .wide{height:52px;border-radius:18px}.checkout-privacy{background:#f8fafc;border:1px solid #e2e8f0;border-radius:16px;padding:12px}.field-note{display:block;color:#64748b;font-size:12px;font-weight:750;margin-top:6px}
.portal-account-layout{gap:20px}.customer-sidebar,.account-sidebar{border-radius:28px}.account-main .panel,.statement-card{border-radius:26px;box-shadow:var(--portal-soft-shadow)}.dashboard-cards{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.dashboard-cards .hero-card{border-radius:24px}.responsive-table{border-radius:20px}.responsive-table table{background:#fff}.responsive-table th{background:#f8fafc}.responsive-table td,.responsive-table th{padding:13px}.badge,.status-pill{box-shadow:0 6px 16px rgba(15,118,110,.08)}
.global-footer{background:transparent}.global-footer .footer-inner,.shop-footer{max-width:1240px;border:1px solid #e2e8f0;background:rgba(255,255,255,.82);backdrop-filter:blur(12px);border-radius:28px;margin:16px auto 24px;padding:18px;box-shadow:var(--portal-soft-shadow)}.shop-footer{display:flex;justify-content:space-between;gap:16px}.footer-links{display:flex;gap:12px;flex-wrap:wrap}.footer-links a{font-weight:900;color:var(--primary);text-decoration:none}.portal-mobile-nav{display:none;position:fixed;left:12px;right:12px;bottom:12px;z-index:80;background:rgba(255,255,255,.94);backdrop-filter:blur(16px);border:1px solid #e2e8f0;border-radius:24px;box-shadow:0 18px 50px rgba(15,23,42,.18);padding:8px}.portal-mobile-nav a{flex:1;text-align:center;text-decoration:none;color:#64748b;font-size:11px;font-weight:950;padding:7px 4px;border-radius:16px}.portal-mobile-nav a i{display:block;font-size:17px;margin-bottom:3px}.portal-mobile-nav a.active,.portal-mobile-nav a:hover{background:#ecfdf5;color:var(--primary)}
.pro-floating-cart{position:fixed;right:18px;bottom:18px;z-index:79;background:linear-gradient(135deg,var(--primary),var(--brand));color:#fff;text-decoration:none;border-radius:999px;padding:14px 18px;font-weight:950;box-shadow:0 18px 50px rgba(15,118,110,.30);display:flex;gap:8px;align-items:center}.pro-floating-cart em{font-style:normal;background:#fff;color:var(--primary);min-width:22px;height:22px;border-radius:999px;display:grid;place-items:center;font-size:12px}.loading{opacity:.55;pointer-events:none}.success-pulse{animation:portalPulse .55s ease}@keyframes portalPulse{0%{transform:scale(1)}50%{transform:scale(1.025)}100%{transform:scale(1)}}
@media(max-width:1020px){.pro-hero{grid-template-columns:1fr;padding:32px}.portal-steps,.portal-progress,.easy-toolbar{grid-template-columns:repeat(2,1fr)}.smart-filter{grid-template-columns:1fr}.checkout-layout{grid-template-columns:1fr}.checkout-summary-sticky{position:static}.cart-direct-grid{grid-template-columns:1fr 110px}.cart-direct-add-btn{grid-column:1/-1}.portal-status-chip{display:none}}
@media(max-width:760px){.announce-inner{justify-content:center}.announce-inner .hide-mobile,.portal-progress{display:none}.shop-nav.global-nav{align-items:center}.global-brand span{width:42px;height:42px}.nav-toggle{display:block}.nav-links{position:fixed;left:12px;right:12px;top:78px;background:#fff;border:1px solid #e2e8f0;border-radius:24px;padding:12px;box-shadow:0 20px 60px rgba(15,23,42,.16);display:none;align-items:stretch}.nav-open .nav-links{display:grid}.nav-links a{display:block;text-align:left;padding:13px}.portal-container.global-container{padding:18px 12px 98px}.pro-hero{border-radius:28px;padding:26px}.pro-hero h1{font-size:34px}.home-global-search.pro-search{grid-template-columns:1fr;margin-top:14px}.portal-steps,.easy-toolbar{grid-template-columns:1fr}.portal-section-title{display:block}.products-grid,.global-products{grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:12px}.product-media.global-media{height:138px;border-radius:20px}.product-body{padding:12px}.product-card h3{font-size:14px;min-height:38px}.portal-price-line b{font-size:18px}.cart-mini.global-cart-mini{grid-template-columns:1fr}.admin-like-type{grid-template-columns:1fr}.cart-search-head,.portal-admin-order-form{display:block}.portal-admin-order-form label{display:block;min-width:0;margin-top:12px}.cart-direct-grid{grid-template-columns:1fr}.cart-item{grid-template-columns:1fr 74px 86px 34px;padding:10px;font-size:13px}.cart-item small{font-size:11px}.form-two{grid-template-columns:1fr!important}.shop-footer{display:block}.portal-mobile-nav{display:flex}.pro-floating-cart{right:18px;bottom:92px;padding:12px 15px}.desktop-only{display:none!important}}
@media(max-width:420px){.products-grid,.global-products{grid-template-columns:1fr}.cart-item{grid-template-columns:1fr 68px 72px 30px}.pro-quick-card{grid-template-columns:1fr}.portal-price-compare span{font-size:10px}.pro-floating-cart span{display:none}}

/* V204 Cart Page Professional Easy UX - no delivery/discount/grand total on cart page */
.checkout-layout .panel{border-radius:30px;border:1px solid #e5eaf2;box-shadow:var(--portal-soft-shadow);background:#fff}
.cart-list-head{grid-template-columns:minmax(190px,1.7fr) 110px 130px 145px 42px!important;background:linear-gradient(135deg,#f8fafc,#eefdf8);border-color:#d9f5ea;color:#0f766e}
.cart-list .cart-item,.cart-line-pro{grid-template-columns:minmax(190px,1.7fr) 110px 130px 145px 42px!important;border-radius:22px!important;padding:14px 15px!important;border:1px solid #e2e8f0!important;background:#fff!important;box-shadow:0 12px 30px rgba(15,23,42,.05)!important}
.cart-product-cell strong{font-size:15px;letter-spacing:-.01em;color:#0f172a}.cart-product-cell small{display:block;color:#64748b;font-weight:800;margin-top:4px}.cart-price-cell{color:#334155}.cart-amount-cell{color:#0f766e;font-size:16px}.js-cart-qty{height:44px;border-radius:15px!important;border:1px solid #dbeafe!important;background:#f8fafc!important;text-align:center;font-weight:950;color:#0f172a}.js-cart-qty:focus{outline:0;border-color:#14b8a6!important;box-shadow:0 0 0 4px rgba(20,184,166,.12)}.cart-list .js-cart-remove{width:36px;height:36px;border-radius:14px;background:#fef2f2;color:#dc2626;display:grid;place-items:center;text-decoration:none;font-size:22px;font-weight:950}.cart-list .js-cart-remove:hover{background:#dc2626;color:#fff}.cart-actions-pro{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap;margin-top:14px}.cart-actions-pro .btn[disabled]{opacity:1;background:#ecfdf5;color:#0f766e;border:1px solid #bbf7d0}.cart-summary-pro{position:sticky;top:102px;align-self:start;background:linear-gradient(180deg,#ffffff,#f8fafc)!important}.summary-head-pro h2{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:6px 0 8px;color:#0f172a;letter-spacing:-.03em}.summary-head-pro p{margin:0;color:#64748b;line-height:1.55;font-weight:800;font-size:13px}.simple-cart-summary{display:flex!important;align-items:center;justify-content:space-between;gap:16px;background:linear-gradient(135deg,#ecfdf5,#eff6ff)!important;border:1px solid #bbf7d0!important;border-radius:24px!important;padding:18px!important;margin:16px 0!important}.simple-cart-summary span{font-size:12px;font-weight:950;letter-spacing:.08em;text-transform:uppercase;color:#0f766e}.simple-cart-summary b.total{font-size:28px!important;color:#0f172a;letter-spacing:-.04em}.cart-next-steps{display:grid;gap:10px;margin:14px 0 16px}.cart-next-steps div{display:flex;gap:10px;align-items:flex-start;background:#fff;border:1px solid #e2e8f0;border-radius:18px;padding:12px;color:#475569;font-weight:850;line-height:1.45}.cart-next-steps i{width:34px;height:34px;border-radius:13px;background:#ecfdf5;color:#0f766e;display:grid;place-items:center;flex:0 0 auto}.cart-summary-pro .wide{height:52px;border-radius:18px;font-weight:950}.coupon-row{display:none!important}
@media(max-width:1020px){.cart-summary-pro{position:static}.checkout-layout{grid-template-columns:1fr!important}}
@media(max-width:760px){.cart-list-head{display:none!important}.cart-list .cart-item,.cart-line-pro{grid-template-columns:1fr 86px!important;gap:10px!important}.cart-price-cell:before{content:'Price: ';color:#64748b}.cart-amount-cell:before{content:'Amount: ';color:#64748b}.cart-price-cell,.cart-amount-cell{grid-column:1;text-align:left}.cart-list .js-cart-remove{grid-column:2;grid-row:2/4;justify-self:end;align-self:center}.simple-cart-summary{display:block!important}.simple-cart-summary b.total{display:block;margin-top:6px}}

/* V405 product image consistency + working multiple gallery */
.product-media.global-media,.global-media{aspect-ratio:1/1;height:auto!important;background:#fff!important;display:flex;align-items:center;justify-content:center}
.global-media img,.product-media img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;padding:10px;box-sizing:border-box;background:#fff}
.product-detail-gallery{min-width:0}
.detail-main-image{aspect-ratio:1/1;min-height:0!important;background:#fff!important}
.detail-main-image img{width:100%!important;height:100%!important;min-height:0!important;object-fit:contain!important;object-position:center!important;padding:18px;box-sizing:border-box;background:#fff}
.detail-thumbs{display:flex;gap:10px;overflow-x:auto;padding:4px 2px 8px;scrollbar-width:thin}
.detail-thumb{flex:0 0 76px;width:76px;height:76px;padding:5px;border:2px solid #e2e8f0;border-radius:16px;background:#fff;cursor:pointer;overflow:hidden;transition:.18s ease}
.detail-thumb:hover,.detail-thumb.active{border-color:#0f766e;box-shadow:0 8px 22px rgba(15,118,110,.16);transform:translateY(-2px)}
.detail-thumb img{width:100%;height:100%;object-fit:contain;background:#fff;border-radius:10px}
@media(max-width:768px){.detail-thumb{flex-basis:64px;width:64px;height:64px}.detail-main-image img{padding:10px}}

/* V406 customer portal multiple product gallery visible */
.product-detail-gallery{position:relative}.portal-gallery-count{position:absolute;z-index:5;top:14px;right:14px;display:inline-flex;align-items:center;gap:7px;background:rgba(15,23,42,.82);color:#fff;border-radius:999px;padding:8px 11px;font-size:11px;font-weight:900;backdrop-filter:blur(7px)}.portal-gallery-arrow{position:absolute;z-index:6;top:42%;width:42px;height:42px;border:0;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.94);color:#0f766e;box-shadow:0 10px 25px rgba(15,23,42,.16);cursor:pointer}.portal-gallery-prev{left:12px}.portal-gallery-next{right:12px}.portal-gallery-arrow:hover{background:#0f766e;color:#fff}.detail-thumbs{margin-top:12px}.detail-thumb{display:block!important}.detail-thumb img{display:block!important}@media(max-width:768px){.portal-gallery-arrow{width:36px;height:36px}.portal-gallery-count{top:10px;right:10px;padding:6px 9px}}


/* Product gallery thumbnail polish: keep first image primary and fit every image neatly inside its frame */
.detail-main-image{position:relative;display:flex;align-items:center;justify-content:center}
.detail-main-image img{object-fit:contain!important;object-position:center center!important;padding:16px;box-sizing:border-box}
.detail-thumbs{display:flex;align-items:center;gap:10px;overflow-x:auto;padding:6px 2px 10px;scrollbar-width:thin}
.detail-thumb{flex:0 0 88px!important;width:88px!important;height:88px!important;display:flex!important;align-items:center;justify-content:center;padding:6px!important;border-radius:18px;background:#fff;overflow:hidden}
.detail-thumb img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center center!important;border-radius:12px;background:#fff}
.detail-thumb-primary{order:-1}
.detail-thumb.active,.detail-thumb:hover{border-color:#0f766e;box-shadow:0 10px 24px rgba(15,118,110,.16)}
@media(max-width:768px){.detail-thumb{flex-basis:72px!important;width:72px!important;height:72px!important}.detail-main-image img{padding:12px}}



/* V407 stronger active thumbnail + zoom modal + auto slide gallery */
.detail-main-image.zoomable{cursor:zoom-in}
.detail-thumb.active{border:3px solid #0f766e!important;box-shadow:0 0 0 4px rgba(15,118,110,.18),0 18px 34px rgba(15,118,110,.18)!important;transform:translateY(-2px) scale(1.02)}
.detail-thumb:hover{border-color:#14b8a6!important}
.portal-no-scroll{overflow:hidden}
.portal-zoom-modal{position:fixed;inset:0;z-index:9999;background:rgba(15,23,42,.90);backdrop-filter:blur(8px);display:none;align-items:center;justify-content:center;padding:32px}
.portal-zoom-modal.open{display:flex}
.portal-zoom-stage{width:min(92vw,1080px);height:min(88vh,820px);display:flex;align-items:center;justify-content:center}
.portal-zoom-stage img{max-width:100%;max-height:100%;object-fit:contain;background:#fff;border-radius:24px;padding:18px;box-shadow:0 30px 90px rgba(0,0,0,.35)}
.portal-zoom-close,.portal-zoom-nav{position:absolute;border:0;display:grid;place-items:center;cursor:pointer;background:rgba(255,255,255,.96);color:#0f172a;box-shadow:0 16px 40px rgba(15,23,42,.25)}
.portal-zoom-close{top:20px;right:20px;width:50px;height:50px;border-radius:16px;font-size:18px}
.portal-zoom-nav{top:50%;transform:translateY(-50%);width:56px;height:56px;border-radius:50%;font-size:18px}
.portal-zoom-prev{left:22px}.portal-zoom-next{right:22px}
.portal-zoom-close:hover,.portal-zoom-nav:hover{background:#0f766e;color:#fff}
@media(max-width:768px){.portal-zoom-modal{padding:14px}.portal-zoom-stage{width:100%;height:72vh}.portal-zoom-stage img{border-radius:18px;padding:10px}.portal-zoom-nav{width:44px;height:44px}.portal-zoom-prev{left:10px}.portal-zoom-next{right:10px}.portal-zoom-close{top:10px;right:10px;width:44px;height:44px}}



/* V408 admin gallery settings + vertical thumbs + full-screen pinch zoom */
.product-detail-gallery.gallery-thumbs-vertical{display:grid;grid-template-columns:96px minmax(0,1fr);grid-template-areas:"thumbs main";column-gap:16px;align-items:stretch;position:relative}
.product-detail-gallery.gallery-thumbs-vertical .detail-main-image{grid-area:main}
.product-detail-gallery.gallery-thumbs-vertical .detail-thumbs{grid-area:thumbs;display:flex;flex-direction:column;align-items:center;gap:10px;max-height:520px;overflow-y:auto;overflow-x:hidden;padding:4px 4px 4px 0;margin-top:0}
.product-detail-gallery.gallery-thumbs-vertical .detail-thumb{flex:0 0 88px!important}
.product-detail-gallery.gallery-thumbs-vertical .portal-gallery-prev{left:118px}
.product-detail-gallery.gallery-thumbs-horizontal{display:flex;flex-direction:column}
.portal-zoom-modal.portal-zoom-fullscreen{padding:0}
.portal-zoom-hint{position:absolute;left:20px;bottom:20px;z-index:10;background:rgba(15,23,42,.72);color:#fff;border-radius:999px;padding:9px 13px;font-size:12px;font-weight:900;display:inline-flex;align-items:center;gap:8px;backdrop-filter:blur(8px)}
.portal-zoom-stage{overflow:hidden;position:relative;width:min(96vw,1200px);height:min(92vh,900px)}
.portal-zoom-stage img{transition:transform .15s ease;will-change:transform;touch-action:none;user-select:none;-webkit-user-drag:none;cursor:grab}
.portal-zoom-stage img:active{cursor:grabbing}
@media(max-width:900px){.product-detail-gallery.gallery-thumbs-vertical{display:flex;flex-direction:column}.product-detail-gallery.gallery-thumbs-vertical .detail-thumbs{flex-direction:row;max-height:none;overflow-x:auto;overflow-y:hidden;padding:6px 2px 10px}.product-detail-gallery.gallery-thumbs-vertical .portal-gallery-prev{left:12px}}
@media(max-width:768px){.portal-zoom-modal.portal-zoom-fullscreen{padding:0}.portal-zoom-stage{width:100vw;height:100vh;display:flex;align-items:center;justify-content:center}.portal-zoom-stage img{max-width:100vw;max-height:100vh;border-radius:0!important;padding:0!important;background:transparent}.portal-zoom-hint{left:12px;bottom:12px;font-size:11px;padding:8px 11px}.portal-zoom-close{top:12px;right:12px;z-index:20}.portal-zoom-prev,.portal-zoom-next{top:auto;bottom:18px;transform:none;z-index:20}.portal-zoom-prev{left:12px}.portal-zoom-next{right:12px}}



/* V409 swipe mobile gallery + desktop zoom lens */
.detail-main-image{position:relative;overflow:hidden}
.portal-image-lens{position:absolute;width:170px;height:170px;border-radius:50%;pointer-events:none;border:3px solid rgba(255,255,255,.95);box-shadow:0 18px 40px rgba(15,23,42,.22), 0 0 0 1px rgba(15,23,42,.08);background-repeat:no-repeat;background-color:#fff;opacity:0;transform:scale(.92);transition:opacity .18s ease,transform .18s ease;z-index:8}
.portal-image-lens.show{opacity:1;transform:scale(1)}
.gallery-thumbs-vertical .detail-main-image,.gallery-thumbs-horizontal .detail-main-image{touch-action:pan-y pinch-zoom}
@media (max-width: 991px){.portal-image-lens{display:none!important}}



/* V410 mixed media gallery: counter, captions, smooth lazy loading, video */
.detail-main-image.media-loading .portal-media-spinner{display:grid}.portal-media-spinner{position:absolute;inset:0;display:none;place-items:center;background:rgba(255,255,255,.72);color:#0f766e;font-size:24px;z-index:7}.detail-main-image img{opacity:0;transition:opacity .28s ease}.detail-main-image img.media-ready{opacity:1}.detail-main-image video,.detail-main-image iframe{width:100%;height:100%;border:0;border-radius:inherit;background:#000;object-fit:contain}.portal-media-caption{grid-area:caption;color:#475569;font-weight:850;font-size:13px;line-height:1.5;min-height:22px;padding:0 4px}.gallery-thumbs-vertical{grid-template-areas:"thumbs main" "thumbs caption"!important;grid-template-rows:minmax(0,1fr) auto}.gallery-thumbs-horizontal .portal-media-caption{order:2}.gallery-thumbs-horizontal .detail-thumbs{order:3}.video-thumb{position:relative;display:flex!important;flex-direction:column;align-items:center;justify-content:center;background:linear-gradient(135deg,#0f172a,#2563eb)!important;color:#fff!important}.video-thumb-icon{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.18);margin-bottom:4px}.video-thumb small{font-size:9px;line-height:1.15;max-width:72px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#fff}.portal-fullscreen-counter{position:absolute;top:20px;left:20px;z-index:20;background:rgba(15,23,42,.72);color:#fff;border:1px solid rgba(255,255,255,.18);backdrop-filter:blur(8px);border-radius:999px;padding:9px 13px;font-weight:950}.portal-fullscreen-caption{position:absolute;left:50%;bottom:20px;transform:translateX(-50%);z-index:20;max-width:min(80vw,760px);background:rgba(15,23,42,.72);color:#fff;border-radius:16px;padding:10px 16px;text-align:center;font-weight:850;backdrop-filter:blur(8px)}.portal-zoom-stage video,.portal-zoom-stage iframe{width:min(92vw,1100px);height:min(82vh,760px);border:0;background:#000;border-radius:20px}.portal-zoom-stage iframe{display:block}.portal-zoom-stage img{transition:transform .12s ease,opacity .24s ease}.detail-thumb img{transition:opacity .25s ease}.detail-thumb img[loading="lazy"]{background:linear-gradient(110deg,#f1f5f9 8%,#fff 18%,#f1f5f9 33%);background-size:200% 100%;animation:portalShimmer 1.2s linear infinite}.detail-thumb img:not([src=""]){animation:none}@keyframes portalShimmer{to{background-position-x:-200%}}@media(max-width:900px){.gallery-thumbs-vertical{grid-template-areas:"main" "caption" "thumbs"!important;grid-template-rows:auto auto auto}.portal-media-caption{order:2}.detail-thumbs{order:3}}@media(max-width:768px){.portal-fullscreen-counter{top:12px;left:12px}.portal-fullscreen-caption{bottom:72px;max-width:88vw;font-size:12px}.portal-zoom-stage video,.portal-zoom-stage iframe{width:100vw;height:100vh;border-radius:0}}



/* V411 portal list uses first gallery image; click card image opens full product gallery */
.product-media.global-media{position:relative;background:linear-gradient(135deg,#f8fafc,#eefdf8)!important}
.product-media.global-media img{opacity:0;transition:opacity .28s ease,transform .28s ease}
.product-media.global-media img[src]{opacity:1}
.product-media.global-media:hover img{transform:scale(1.035)}
.product-media.global-media:after{content:"View gallery";position:absolute;left:50%;bottom:10px;transform:translate(-50%,8px);opacity:0;background:rgba(15,23,42,.82);color:#fff;border-radius:999px;padding:6px 10px;font-size:10px;font-weight:900;white-space:nowrap;transition:.2s ease;pointer-events:none}
.product-media.global-media:hover:after{opacity:1;transform:translate(-50%,0)}
@media(max-width:768px){.product-media.global-media:after{display:none}}



/* portal image sizing polish v2 */
.products-grid,.global-products{align-items:stretch}
.product-card.global-product-card{padding:12px;overflow:hidden;position:relative;height:100%}
.product-media.global-media{position:relative;height:220px;min-height:220px;padding:14px;display:flex;align-items:center;justify-content:center;background:linear-gradient(180deg,#f8fbff 0%,#eef6ff 100%);border:1px solid #e2e8f0;box-shadow:inset 0 1px 0 rgba(255,255,255,.75)}
.product-media.global-media::after{content:"";position:absolute;inset:10px;border-radius:18px;border:1px dashed rgba(15,118,110,.14);pointer-events:none}
.product-media.global-media img{width:100%;height:100%;object-fit:contain;object-position:center center;display:block;transform:scale(1.02)}
.product-image-fallback{width:100%;height:100%;border-radius:18px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#14b8a6,#0f766e);color:#fff;font-size:56px;font-weight:900}
.product-body{display:flex;flex-direction:column;flex:1;padding-top:14px}
.product-body h3{min-height:46px;margin-bottom:10px}
.price-line.portal-price-line{margin-top:4px;margin-bottom:12px}
.cart-mini.global-cart-mini{margin-top:auto}
@media (max-width:760px){.product-media.global-media{height:180px;min-height:180px;padding:10px}.product-image-fallback{font-size:46px}}


/* V410 larger image cards + 4 products mobile + hover zoom + equal height */
.products-grid,.global-products{
  display:grid!important;
  grid-template-columns:repeat(auto-fill,minmax(250px,1fr))!important;
  gap:18px!important;
  align-items:stretch!important;
}
.product-card.global-product-card{
  height:100%!important;
  min-height:430px!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
  border-radius:26px!important;
  transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease!important;
}
.product-card.global-product-card:hover{
  transform:translateY(-6px)!important;
  border-color:#bfe8df!important;
  box-shadow:0 24px 55px rgba(15,23,42,.14)!important;
}
.product-media.global-media{
  height:250px!important;
  min-height:250px!important;
  margin:0!important;
  padding:14px!important;
  border-radius:22px!important;
  overflow:hidden!important;
}
.product-media.global-media img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  object-position:center!important;
  transition:transform .38s cubic-bezier(.2,.8,.2,1),filter .3s ease!important;
}
.product-card.global-product-card:hover .product-media.global-media img{
  transform:scale(1.10)!important;
  filter:drop-shadow(0 14px 18px rgba(15,23,42,.12))!important;
}
.product-body{
  display:flex!important;
  flex:1!important;
  flex-direction:column!important;
  padding:14px 4px 2px!important;
}
.product-body h3{
  min-height:48px!important;
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
}
.price-line.portal-price-line{min-height:32px!important}
.cart-mini.global-cart-mini,.locked-order{margin-top:auto!important}

@media(max-width:760px){
  .products-grid,.global-products{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:7px!important;
  }
  .product-card.global-product-card{
    min-height:255px!important;
    padding:6px!important;
    border-radius:14px!important;
  }
  .product-media.global-media{
    height:108px!important;
    min-height:108px!important;
    padding:5px!important;
    border-radius:11px!important;
  }
  .product-media.global-media::after{inset:4px!important;border-radius:9px!important}
  .product-body{padding:7px 1px 0!important}
  .product-body h3{
    min-height:30px!important;
    font-size:10px!important;
    line-height:1.28!important;
    margin:0 0 5px!important;
  }
  .price-line.portal-price-line{min-height:24px!important;margin:2px 0 5px!important;gap:2px!important}
  .price-line.portal-price-line b{font-size:11px!important}
  .price-line.portal-price-line small{font-size:8px!important}
  .product-badges{margin:3px!important;left:2px!important;right:2px!important;top:2px!important}
  .product-badges .stock{font-size:7px!important;padding:3px 5px!important}
  .cart-mini.global-cart-mini{grid-template-columns:1fr!important;gap:4px!important}
  .qty-stepper.portal-qty-stepper{height:30px!important;min-height:30px!important}
  .qty-stepper.portal-qty-stepper button{width:24px!important;min-width:24px!important;font-size:11px!important}
  .qty-stepper.portal-qty-stepper input{height:30px!important;font-size:10px!important;min-width:0!important;padding:0!important}
  .cart-mini.global-cart-mini .btn{height:30px!important;min-height:30px!important;border-radius:8px!important;font-size:9px!important;padding:0 4px!important;gap:3px!important}
  .cart-mini.global-cart-mini .btn i{font-size:8px!important}
  .locked-order .btn{height:30px!important;min-height:30px!important;font-size:9px!important;border-radius:8px!important;padding:0 4px!important}
}
@media(max-width:420px){
  .products-grid,.global-products{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px!important}
  .product-card.global-product-card{min-height:235px!important;padding:5px!important}
  .product-media.global-media{height:94px!important;min-height:94px!important}
}

/* V411 customer portal product image size final fix */
.product-media.global-media{
  width:100%!important;
  aspect-ratio:1 / 1!important;
  height:auto!important;
  min-height:0!important;
  padding:0!important;
  background:#f8fafc!important;
  border:1px solid #e2e8f0!important;
  overflow:hidden!important;
  isolation:isolate!important;
}
.product-media.global-media::after{
  display:none!important;
}
.product-media.global-media img{
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  display:block!important;
  object-fit:cover!important;
  object-position:center center!important;
  transform:scale(1)!important;
}
.product-card.global-product-card:hover .product-media.global-media img{
  transform:scale(1.07)!important;
}
.product-image-fallback{
  width:100%!important;
  height:100%!important;
  border-radius:inherit!important;
}
@media(max-width:760px){
  .product-media.global-media{
    width:100%!important;
    aspect-ratio:1 / 1!important;
    height:auto!important;
    min-height:0!important;
    padding:0!important;
  }
}


/* V412 Alibaba-like product image size + price detail layout */
.product-card.global-product-card.alibaba-like-card{
  min-height:unset!important;
  padding:10px!important;
  border-radius:20px!important;
}
.product-card.global-product-card.alibaba-like-card .product-badges{
  left:8px!important;
  right:8px!important;
  top:8px!important;
}
.product-card.global-product-card.alibaba-like-card .product-media.global-media{
  aspect-ratio:1 / 1!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  padding:0!important;
  border-radius:14px!important;
  background:#fff!important;
}
.product-card.global-product-card.alibaba-like-card .product-media.global-media img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center center!important;
}
.product-card.global-product-card.alibaba-like-card .product-body{
  padding:10px 2px 2px!important;
  gap:0!important;
}
.product-card.global-product-card.alibaba-like-card h3{
  min-height:42px!important;
  margin:0 0 8px!important;
  font-size:15px!important;
  line-height:1.38!important;
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
}
.product-card.global-product-card.alibaba-like-card .alibaba-price-line{
  display:flex!important;
  align-items:flex-end!important;
  justify-content:space-between!important;
  gap:8px!important;
  margin:0 0 3px!important;
  min-height:34px!important;
}
.product-card.global-product-card.alibaba-like-card .alibaba-price-line b{
  font-size:18px!important;
  line-height:1.1!important;
  font-weight:900!important;
  color:inherit!important;
  letter-spacing:-0.02em;
}
.product-card.global-product-card.alibaba-like-card .alibaba-price-line .alibaba-moq{
  font-size:12px!important;
  line-height:1.2!important;
  color:#64748b!important;
  white-space:nowrap!important;
}
.product-card.global-product-card.alibaba-like-card .alibaba-price-meta{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:6px 10px!important;
  margin:0 0 10px!important;
  color:#64748b!important;
  font-size:12px!important;
  line-height:1.35!important;
}
.product-card.global-product-card.alibaba-like-card .alibaba-price-meta span{
  display:inline-flex!important;
  align-items:center!important;
}
.product-card.global-product-card.alibaba-like-card .cart-mini.global-cart-mini,
.product-card.global-product-card.alibaba-like-card .locked-order{
  margin-top:auto!important;
}

@media(max-width:760px){
  .products-grid,.global-products{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:12px!important;
  }
  .product-card.global-product-card.alibaba-like-card{
    min-height:unset!important;
    padding:8px!important;
    border-radius:16px!important;
  }
  .product-card.global-product-card.alibaba-like-card .product-media.global-media{
    border-radius:12px!important;
  }
  .product-card.global-product-card.alibaba-like-card h3{
    min-height:38px!important;
    font-size:13px!important;
    margin:0 0 6px!important;
  }
  .product-card.global-product-card.alibaba-like-card .alibaba-price-line{
    min-height:30px!important;
    gap:6px!important;
  }
  .product-card.global-product-card.alibaba-like-card .alibaba-price-line b{
    font-size:15px!important;
  }
  .product-card.global-product-card.alibaba-like-card .alibaba-price-line .alibaba-moq,
  .product-card.global-product-card.alibaba-like-card .alibaba-price-meta{
    font-size:11px!important;
  }
  .product-card.global-product-card.alibaba-like-card .product-badges .stock{
    font-size:8px!important;
    padding:4px 6px!important;
  }
  .product-card.global-product-card.alibaba-like-card .cart-mini.global-cart-mini{
    grid-template-columns:1fr!important;
    gap:6px!important;
  }
  .product-card.global-product-card.alibaba-like-card .qty-stepper.portal-qty-stepper,
  .product-card.global-product-card.alibaba-like-card .cart-mini.global-cart-mini .btn,
  .product-card.global-product-card.alibaba-like-card .locked-order .btn{
    height:34px!important;
    min-height:34px!important;
  }
}

@media(max-width:420px){
  .products-grid,.global-products{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
  }
}


/* V413 price size reduced + tighter spacing */
.product-card.global-product-card.alibaba-like-card .product-body{
  padding:8px 2px 2px!important;
}
.product-card.global-product-card.alibaba-like-card h3{
  min-height:38px!important;
  margin:0 0 5px!important;
  font-size:14px!important;
  line-height:1.3!important;
}
.product-card.global-product-card.alibaba-like-card .alibaba-price-line{
  align-items:center!important;
  gap:5px!important;
  margin:0 0 2px!important;
  min-height:0!important;
}
.product-card.global-product-card.alibaba-like-card .alibaba-price-line b{
  flex:1 1 auto!important;
  min-width:0!important;
  font-size:15px!important;
  line-height:1.06!important;
  letter-spacing:-0.01em!important;
  font-variant-numeric:tabular-nums;
}
.product-card.global-product-card.alibaba-like-card .alibaba-price-line .alibaba-moq{
  flex:0 0 auto!important;
  font-size:10px!important;
  line-height:1.1!important;
}
.product-card.global-product-card.alibaba-like-card .alibaba-price-meta{
  gap:3px 8px!important;
  margin:0 0 8px!important;
  font-size:11px!important;
  line-height:1.22!important;
}
.product-card.global-product-card.alibaba-like-card .alibaba-price-meta span{
  white-space:nowrap!important;
}
@media(max-width:760px){
  .product-card.global-product-card.alibaba-like-card .product-body{
    padding:7px 1px 1px!important;
  }
  .product-card.global-product-card.alibaba-like-card h3{
    min-height:34px!important;
    margin:0 0 4px!important;
    font-size:12px!important;
    line-height:1.24!important;
  }
  .product-card.global-product-card.alibaba-like-card .alibaba-price-line{
    gap:4px!important;
    margin:0 0 1px!important;
  }
  .product-card.global-product-card.alibaba-like-card .alibaba-price-line b{
    font-size:13px!important;
    line-height:1.03!important;
  }
  .product-card.global-product-card.alibaba-like-card .alibaba-price-line .alibaba-moq{
    font-size:9px!important;
  }
  .product-card.global-product-card.alibaba-like-card .alibaba-price-meta{
    gap:2px 6px!important;
    margin:0 0 6px!important;
    font-size:10px!important;
    line-height:1.18!important;
  }
}


/* V414 show MOQ beside price + replace PCS with minimum selling price, hide both on mobile */
.product-card.global-product-card.alibaba-like-card .alibaba-min-selling{
  font-weight:700!important;
}


/* V415 show MOQ and Minimum Selling Price on desktop and mobile */
.product-card.global-product-card.alibaba-like-card .alibaba-price-line .alibaba-moq,
.product-card.global-product-card.alibaba-like-card .alibaba-min-selling{
  display:inline-flex!important;
}
@media(max-width:760px){
  .product-card.global-product-card.alibaba-like-card .alibaba-price-line{
    align-items:flex-start!important;
    flex-direction:column!important;
    gap:2px!important;
  }
  .product-card.global-product-card.alibaba-like-card .alibaba-price-line .alibaba-moq{
    font-size:9px!important;
    line-height:1.1!important;
  }
  .product-card.global-product-card.alibaba-like-card .alibaba-min-selling{
    width:100%!important;
    font-size:9px!important;
    line-height:1.15!important;
    white-space:normal!important;
  }
}


/* V416 remove Minimum Selling Price from customer product cards */
.product-card.global-product-card.alibaba-like-card .alibaba-min-selling{display:none!important}


/* V417 beautify MOQ on the same price line */
.product-card.global-product-card.alibaba-like-card .alibaba-price-line{
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:6px!important;
}
.product-card.global-product-card.alibaba-like-card .alibaba-price-line b{
  flex:1 1 auto!important;
}
.product-card.global-product-card.alibaba-like-card .alibaba-price-line .alibaba-moq{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 auto!important;
  padding:3px 8px!important;
  border-radius:999px!important;
  border:1px solid #dbeafe!important;
  background:#f8fafc!important;
  color:#0f766e!important;
  font-size:10px!important;
  font-weight:800!important;
  line-height:1!important;
  white-space:nowrap!important;
}
@media(max-width:760px){
  .product-card.global-product-card.alibaba-like-card .alibaba-price-line{
    flex-direction:row!important;
    align-items:center!important;
    gap:5px!important;
  }
  .product-card.global-product-card.alibaba-like-card .alibaba-price-line b{
    font-size:13px!important;
    line-height:1.03!important;
  }
  .product-card.global-product-card.alibaba-like-card .alibaba-price-line .alibaba-moq{
    padding:2px 6px!important;
    font-size:8px!important;
  }
}


/* V418 make price section horizontal */
.product-card.global-product-card.alibaba-like-card .alibaba-price-line{
  flex-wrap:nowrap!important;
  white-space:nowrap!important;
}
.product-card.global-product-card.alibaba-like-card .alibaba-price-line b{
  white-space:nowrap!important;
}
.product-card.global-product-card.alibaba-like-card .alibaba-secondary-price{
  display:inline-flex!important;
  align-items:center!important;
  flex:0 0 auto!important;
  font-size:10px!important;
  font-weight:700!important;
  line-height:1!important;
  color:#64748b!important;
  white-space:nowrap!important;
}
.product-card.global-product-card.alibaba-like-card .alibaba-price-meta{
  display:none!important;
}
@media(max-width:760px){
  .product-card.global-product-card.alibaba-like-card .alibaba-price-line{
    flex-wrap:nowrap!important;
    gap:4px!important;
  }
  .product-card.global-product-card.alibaba-like-card .alibaba-secondary-price{
    font-size:8px!important;
  }
}


/* V419 move MOQ below price */
.product-card.global-product-card.alibaba-like-card .alibaba-moq-row{
  display:flex!important;
  align-items:center!important;
  margin:2px 0 6px!important;
}
.product-card.global-product-card.alibaba-like-card .alibaba-moq-row .alibaba-moq{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:3px 8px!important;
  border-radius:999px!important;
  border:1px solid #dbeafe!important;
  background:#f8fafc!important;
  color:#0f766e!important;
  font-size:10px!important;
  font-weight:800!important;
  line-height:1!important;
  white-space:nowrap!important;
}
.product-card.global-product-card.alibaba-like-card .alibaba-price-line .alibaba-moq{
  display:none!important;
}
@media(max-width:760px){
  .product-card.global-product-card.alibaba-like-card .alibaba-moq-row{
    margin:1px 0 5px!important;
  }
  .product-card.global-product-card.alibaba-like-card .alibaba-moq-row .alibaba-moq{
    padding:2px 6px!important;
    font-size:8px!important;
  }
}


/* V421 remove quantity field from product cards and keep quick Add in-place */
.product-card.global-product-card.alibaba-like-card .portal-quick-add-form{
  display:block!important;
  width:100%!important;
  margin-top:auto!important;
}
.product-card.global-product-card.alibaba-like-card .portal-quick-add-btn{
  width:100%!important;
  min-height:36px!important;
}
.product-card.global-product-card.alibaba-like-card .portal-quick-add-btn.added{
  filter:saturate(.85);
}
.portal-quick-add-toast{
  position:fixed;
  left:50%;
  bottom:28px;
  z-index:9999;
  transform:translate(-50%,18px);
  opacity:0;
  pointer-events:none;
  background:#0f766e;
  color:#fff;
  border-radius:999px;
  padding:10px 16px;
  font-size:12px;
  font-weight:800;
  box-shadow:0 16px 40px rgba(15,23,42,.22);
  transition:.2s ease;
}
.portal-quick-add-toast.error{background:#b91c1c}
.portal-quick-add-toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:760px){
  .product-card.global-product-card.alibaba-like-card .portal-quick-add-btn{
    min-height:34px!important;
    height:34px!important;
    font-size:10px!important;
  }
  .portal-quick-add-toast{bottom:86px;max-width:90vw;text-align:center}
}


/* V421 Product detail description and technical specifications */
.product-detail .product-extra-details{
  grid-column:1 / -1;
  margin-top:18px;
  padding:24px;
  border-radius:24px;
}
.product-extra-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding-bottom:16px;
  margin-bottom:18px;
  border-bottom:1px solid #e2e8f0;
}
.product-extra-head h2{
  margin:5px 0 0;
  color:#0f172a;
  font-size:24px;
}
.product-extra-head>i{
  width:44px;
  height:44px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background:#ecfdf5;
  color:#0f766e;
  font-size:18px;
}
.product-spec-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
.product-spec-item{
  min-width:0;
  padding:15px 16px;
  border:1px solid #e2e8f0;
  border-radius:16px;
  background:#f8fafc;
}
.product-spec-item span{
  display:block;
  margin-bottom:6px;
  color:#64748b;
  font-size:11px;
  font-weight:900;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.product-spec-item b{
  display:block;
  color:#0f172a;
  font-size:15px;
  line-height:1.45;
  overflow-wrap:anywhere;
}
.product-description-copy{
  margin-top:16px;
  padding:18px;
  border:1px solid #e2e8f0;
  border-radius:18px;
  background:#fff;
  color:#475569;
  line-height:1.75;
}
.product-description-copy p{margin:0 0 10px}
.product-description-copy p:last-child{margin-bottom:0}
@media(max-width:900px){
  .product-spec-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
  .product-detail .product-extra-details{padding:17px;border-radius:20px}
  .product-extra-head h2{font-size:19px}
  .product-spec-grid{grid-template-columns:1fr;gap:9px}
  .product-spec-item{padding:13px 14px}
  .product-description-copy{padding:14px;font-size:13px}
}
