:root {
  --navy-950: #030d25;
  --navy-900: #071844;
  --navy-800: #0c285d;
  --navy-700: #123875;
  --navy-600: #235297;
  --gold-600: #b97800;
  --gold-500: #d99a18;
  --gold-400: #efbc4b;
  --gold-200: #f8e5b4;
  --green-700: #075c2c;
  --red-700: #a90d18;
  --ink: #101828;
  --muted: #667085;
  --line: #e4e7ec;
  --surface: #f6f8fb;
  --white: #fff;
  --shadow-sm: 0 8px 26px rgba(7, 24, 68, .08);
  --shadow-md: 0 18px 50px rgba(7, 24, 68, .14);
  --radius: 22px;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "DM Sans", Arial, sans-serif; color: var(--ink); background: #fff; line-height: 1.55; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }

.container { width: min(calc(100% - 36px), var(--max)); margin: 0 auto; }
.section { padding: 86px 0; }
.section-sm { padding: 56px 0; }
.section-soft { background: var(--surface); }
.section-dark { background: var(--navy-950); color: #fff; }
.section-head { max-width: 760px; margin-bottom: 38px; }
.section-head.center { text-align: center; margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; color: var(--gold-600); margin-bottom: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
h1, h2, h3, h4 { font-family: "Montserrat", Arial, sans-serif; line-height: 1.14; margin: 0 0 14px; color: var(--navy-950); }
h1 { font-size: clamp(2.5rem, 6vw, 5.6rem); letter-spacing: -.045em; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -.035em; }
h3 { font-size: 1.35rem; }
p { margin: 0 0 18px; }
.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--muted); max-width: 760px; }
.text-muted { color: var(--muted); }
.text-gold { color: var(--gold-400); }
.text-white { color: #fff; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 12px; border: 1px solid transparent; font-weight: 800; transition: .22s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--gold-600), var(--gold-400)); box-shadow: 0 10px 24px rgba(217,154,24,.22); }
.btn-secondary { color: #fff; border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.08); backdrop-filter: blur(8px); }
.btn-outline { color: var(--navy-900); border-color: #c8d1e3; background: #fff; }
.btn-navy { color: #fff; background: var(--navy-900); }
.btn-danger { color: #fff; background: #b42318; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .9rem; }
.icon-btn { width: 42px; height: 42px; display: inline-grid; place-items: center; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--navy-900); position: relative; }
.icon-btn svg, .btn svg { width: 19px; height: 19px; }
.badge-count { position: absolute; top: -7px; right: -6px; min-width: 20px; height: 20px; border-radius: 999px; padding: 0 5px; display: grid; place-items: center; color: #fff; background: var(--gold-600); font-size: .7rem; font-weight: 800; border: 2px solid #fff; }

.topbar { background: var(--navy-950); color: #d8e0f3; font-size: .85rem; }
.topbar .container { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.topbar-links { display: flex; gap: 20px; }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); backdrop-filter: blur(15px); border-bottom: 1px solid rgba(16,24,40,.06); }
.navbar { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 196px; }
.brand img { width: 62px; height: 62px; object-fit: contain; border-radius: 12px; }
.brand-text strong { display: block; font-family: "Montserrat"; font-size: .95rem; color: var(--navy-950); }
.brand-text span { display: block; font-size: .71rem; color: var(--gold-600); letter-spacing: .08em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 3px; }
.nav-link { padding: 12px 11px; border-radius: 10px; font-size: .93rem; font-weight: 700; color: #344054; }
.nav-link:hover, .nav-link.active { color: var(--navy-900); background: #eef3fb; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.menu-btn { display: none; }
.dropdown { position: relative; }
.dropdown-panel { position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(8px); width: 610px; padding: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transition: .2s ease; }
.dropdown:hover .dropdown-panel { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown-card { padding: 16px; border-radius: 14px; border: 1px solid transparent; }
.dropdown-card:hover { border-color: #d8dfec; background: #f8fafc; }
.dropdown-card img { width: 58px; height: 58px; object-fit: contain; margin-bottom: 10px; }
.dropdown-card strong { display: block; font-size: .92rem; color: var(--navy-900); }
.dropdown-card small { color: var(--muted); }

.mobile-menu { display: none; position: fixed; inset: 0; z-index: 160; background: rgba(3,13,37,.62); }
.mobile-menu.open { display: block; }
.mobile-panel { width: min(88vw, 380px); height: 100%; margin-left: auto; padding: 22px; background: #fff; overflow-y: auto; box-shadow: -18px 0 44px rgba(0,0,0,.22); }
.mobile-panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.mobile-nav a { display: block; padding: 13px 5px; border-bottom: 1px solid var(--line); font-weight: 800; color: var(--navy-900); }
.mobile-sub { padding-left: 14px; }
.mobile-sub a { font-size: .92rem; color: #475467; }

.hero { min-height: 670px; position: relative; display: grid; align-items: center; overflow: hidden; color: #fff; background: var(--navy-950); }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease; background-position: center; background-size: cover; }
.hero-slide.active { opacity: 1; }
.hero-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,13,37,.94) 0%, rgba(3,13,37,.74) 45%, rgba(3,13,37,.08) 85%); }
.hero-content { position: relative; z-index: 2; max-width: 760px; padding: 92px 0; }
.hero h1 { color: #fff; }
.hero p { color: #d8e0f0; font-size: 1.18rem; max-width: 680px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-dots { position: absolute; z-index: 5; bottom: 34px; left: 50%; transform: translateX(-50%); display: flex; gap: 9px; }
.hero-dot { width: 11px; height: 11px; border-radius: 999px; border: 0; background: rgba(255,255,255,.45); padding: 0; }
.hero-dot.active { width: 34px; background: var(--gold-400); }
.hero-badge { display: inline-flex; gap: 8px; align-items: center; padding: 8px 13px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; background: rgba(255,255,255,.09); font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }

.page-hero { position: relative; min-height: 460px; display: grid; align-items: center; overflow: hidden; background-size: cover; background-position: center; color: #fff; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,13,37,.94), rgba(3,13,37,.48)); }
.page-hero.red::after { background: linear-gradient(90deg, rgba(73,4,11,.95), rgba(3,13,37,.48)); }
.page-hero.green::after { background: linear-gradient(90deg, rgba(3,44,24,.95), rgba(3,13,37,.48)); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; max-width: 900px; }
.page-hero p { color: #e6ebf5; font-size: 1.15rem; max-width: 720px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .86rem; color: #d8e0f0; margin-bottom: 20px; }
.breadcrumbs a { color: var(--gold-400); }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.card-pad { padding: 26px; }
.card-hover { transition: .25s ease; }
.card-hover:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); }

.division-card { position: relative; min-height: 520px; display: flex; flex-direction: column; padding: 28px; overflow: hidden; color: #fff; border-radius: 28px; box-shadow: var(--shadow-md); }
.division-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3,13,37,.03), rgba(3,13,37,.96)); }
.division-card.logistics { background: url('assets/logistics-hero.svg') center/cover; }
.division-card.auto { background: url('assets/automobile-hero.svg') center/cover; }
.division-card.china { background: url('assets/china-hero.svg') center/cover; }
.division-card-content { position: relative; z-index: 2; margin-top: auto; }
.division-card-logo { width: 106px; height: 106px; object-fit: contain; border-radius: 18px; background: #fff; padding: 7px; margin-bottom: 20px; }
.division-card h3 { color: #fff; font-size: 1.55rem; }
.division-card p { color: #dbe4f5; }
.division-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 20px; }
.division-tags span { font-size: .76rem; padding: 6px 9px; border-radius: 999px; background: rgba(255,255,255,.11); border: 1px solid rgba(255,255,255,.16); }

.icon-card { padding: 26px; }
.icon-wrap { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; color: var(--navy-900); background: var(--gold-200); margin-bottom: 18px; }
.icon-wrap svg { width: 25px; height: 25px; }
.icon-card p { color: var(--muted); margin: 0; }

.stats { margin-top: -52px; position: relative; z-index: 10; }
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); background: #fff; border-radius: 22px; box-shadow: var(--shadow-md); border: 1px solid var(--line); overflow: hidden; }
.stat { padding: 26px 18px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; color: var(--navy-900); font-family: "Montserrat"; font-size: 2rem; }
.stat span { color: var(--muted); font-size: .87rem; }

.process { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.process::before { content: ""; position: absolute; top: 29px; left: 8%; right: 8%; height: 2px; background: #d8dfeb; }
.process-step { position: relative; z-index: 1; text-align: center; }
.process-num { width: 58px; height: 58px; display: grid; place-items: center; margin: 0 auto 14px; border-radius: 999px; color: #fff; background: var(--navy-900); border: 5px solid #fff; box-shadow: 0 0 0 2px var(--gold-400); font-family: "Montserrat"; font-weight: 800; }
.process-step strong { display: block; color: var(--navy-900); }
.process-step small { color: var(--muted); }

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.split.reverse { grid-template-columns: .95fr 1.05fr; }
.image-frame { position: relative; }
.image-frame img { border-radius: 28px; box-shadow: var(--shadow-md); }
.image-frame::after { content: ""; position: absolute; width: 120px; height: 120px; border-radius: 30px; border: 14px solid var(--gold-400); right: -24px; bottom: -24px; z-index: -1; }
.check-list { display: grid; gap: 13px; margin: 24px 0; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 11px; align-items: flex-start; color: #344054; }
.check-list svg { width: 20px; flex: 0 0 20px; color: var(--green-700); margin-top: 3px; }

.product-toolbar { display: flex; gap: 14px; flex-wrap: wrap; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.searchbox { flex: 1; min-width: 240px; max-width: 520px; position: relative; }
.searchbox svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 19px; color: #667085; }
.searchbox input { width: 100%; height: 48px; border: 1px solid var(--line); border-radius: 12px; padding: 0 14px 0 44px; outline: none; }
.filter-row { display: flex; gap: 9px; flex-wrap: wrap; }
.filter-btn { min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: #475467; font-weight: 800; }
.filter-btn.active { color: #fff; border-color: var(--navy-900); background: var(--navy-900); }
.select { height: 48px; padding: 0 36px 0 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.product-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; transition: .25s ease; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.product-image { position: relative; aspect-ratio: 4/3; background: #eef2f7; overflow: hidden; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: .35s ease; }
.product-card:hover .product-image img { transform: scale(1.04); }
.product-badges { position: absolute; top: 14px; left: 14px; display: flex; gap: 7px; }
.product-badge { padding: 6px 9px; border-radius: 999px; color: #fff; background: var(--navy-900); font-size: .73rem; font-weight: 800; }
.product-badge.sale { background: #b42318; }
.product-badge.quote { background: var(--gold-600); }
.product-wish { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 999px; border: 0; background: rgba(255,255,255,.9); display: grid; place-items: center; }
.product-wish svg { width: 19px; }
.product-info { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.product-category { color: var(--gold-600); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.product-info h3 { margin-top: 8px; font-size: 1.08rem; }
.product-meta { display: flex; gap: 11px; flex-wrap: wrap; color: var(--muted); font-size: .82rem; margin-bottom: 16px; }
.product-price { margin-top: auto; display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.product-price strong { color: var(--navy-900); font-size: 1.25rem; font-family: "Montserrat"; }
.product-actions { display: flex; gap: 8px; margin-top: 15px; }
.product-actions .btn { flex: 1; }

.product-detail { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; }
.product-detail-image { border-radius: 24px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.product-detail-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.product-detail h1 { font-size: clamp(2rem, 4vw, 3.6rem); }
.price-large { font-size: 2rem; color: var(--navy-900); font-family: "Montserrat"; font-weight: 800; }
.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 24px 0; }
.spec { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--surface); font-size: .9rem; }
.spec span { color: var(--muted); }
.qty-row { display: flex; gap: 10px; margin: 24px 0; }
.qty { display: flex; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.qty button { width: 42px; border: 0; background: #fff; font-size: 1.2rem; }
.qty input { width: 54px; text-align: center; border: 0; border-inline: 1px solid var(--line); }

.form-card { padding: 30px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .9rem; font-weight: 800; color: #344054; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #d0d5dd; border-radius: 12px; padding: 12px 14px; background: #fff; outline: none; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy-600); box-shadow: 0 0 0 4px rgba(35,82,151,.11); }
.field textarea { min-height: 130px; resize: vertical; }
.form-note { padding: 13px 15px; border-radius: 12px; background: #fff8e7; color: #7a4b00; font-size: .87rem; }

.cta { position: relative; overflow: hidden; border-radius: 28px; padding: 56px; color: #fff; background: linear-gradient(135deg, var(--navy-950), var(--navy-700)); }
.cta::after { content: ""; position: absolute; width: 360px; height: 360px; border: 40px solid rgba(239,188,75,.18); border-radius: 999px; right: -100px; top: -160px; }
.cta > * { position: relative; z-index: 2; }
.cta h2 { color: #fff; }
.cta p { color: #dce4f3; max-width: 760px; }

.timeline { display: grid; gap: 18px; }
.timeline-item { display: grid; grid-template-columns: 100px 1fr; gap: 22px; padding: 20px; border-radius: 16px; border: 1px solid var(--line); background: #fff; }
.timeline-time { color: var(--gold-600); font-weight: 800; }
.timeline-item p { color: var(--muted); margin: 0; }

.faq { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 15px; overflow: hidden; background: #fff; }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; border: 0; background: #fff; text-align: left; color: var(--navy-900); font-weight: 800; }
.faq-a { display: none; padding: 0 20px 20px; color: var(--muted); }
.faq-item.open .faq-a { display: block; }

.cart-layout { display: grid; grid-template-columns: 1.4fr .6fr; gap: 28px; align-items: start; }
.cart-item { display: grid; grid-template-columns: 120px 1fr auto; gap: 18px; align-items: center; padding: 18px; border-bottom: 1px solid var(--line); }
.cart-item:last-child { border-bottom: 0; }
.cart-item img { width: 120px; height: 90px; object-fit: cover; border-radius: 12px; background: var(--surface); }
.cart-summary { position: sticky; top: 116px; padding: 24px; }
.summary-row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; color: #475467; }
.summary-row.total { padding-top: 16px; margin-top: 8px; border-top: 1px solid var(--line); color: var(--navy-900); font-weight: 800; font-size: 1.15rem; }
.empty-state { text-align: center; padding: 70px 20px; border: 1px dashed #c8d1df; border-radius: 20px; background: var(--surface); }
.empty-state svg { width: 56px; height: 56px; color: var(--gold-600); margin-bottom: 16px; }

.order-success { max-width: 760px; margin: 0 auto; text-align: center; }
.success-icon { width: 80px; height: 80px; margin: 0 auto 18px; border-radius: 999px; display: grid; place-items: center; color: #fff; background: var(--green-700); }
.success-icon svg { width: 38px; height: 38px; }

.blog-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.blog-card .card-pad { padding: 22px; }
.blog-card small { color: var(--gold-600); font-weight: 800; }

.admin-shell { min-height: 100vh; background: #eef2f7; }
.admin-top { height: 72px; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.admin-body { display: grid; grid-template-columns: 240px 1fr; min-height: calc(100vh - 72px); }
.admin-side { padding: 22px 14px; background: var(--navy-950); color: #fff; }
.admin-side a { display: flex; gap: 10px; align-items: center; padding: 11px 13px; border-radius: 10px; color: #d3dcf0; font-weight: 700; margin-bottom: 5px; }
.admin-side a:hover, .admin-side a.active { color: #fff; background: rgba(255,255,255,.12); }
.admin-side svg { width: 18px; }
.admin-main { padding: 28px; overflow: auto; }
.admin-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 24px; }
.admin-stat { padding: 20px; }
.admin-stat strong { display: block; font-size: 1.75rem; color: var(--navy-900); font-family: "Montserrat"; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 13px 14px; border-bottom: 1px solid var(--line); font-size: .9rem; white-space: nowrap; }
th { color: #475467; background: #f9fafb; }
.status { display: inline-flex; padding: 5px 9px; border-radius: 999px; font-size: .75rem; font-weight: 800; }
.status.pending { color: #7a4b00; background: #fff2cc; }
.status.confirmed, .status.completed { color: #05603a; background: #dff8eb; }
.status.new { color: #1849a9; background: #e8efff; }
.admin-login { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: linear-gradient(135deg, var(--navy-950), var(--navy-700)); }
.admin-login-card { width: min(100%, 440px); padding: 32px; background: #fff; border-radius: 22px; box-shadow: var(--shadow-md); }

.site-footer { background: var(--navy-950); color: #cad4e8; padding: 68px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 34px; }
.footer-logo { width: 104px; height: 104px; object-fit: contain; border-radius: 16px; background: #fff; padding: 6px; margin-bottom: 18px; }
.site-footer h4 { color: #fff; font-size: 1rem; }
.footer-links { display: grid; gap: 10px; }
.footer-links a:hover { color: var(--gold-400); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 44px; padding-top: 20px; display: flex; justify-content: space-between; gap: 20px; font-size: .86rem; }
.newsletter { display: flex; gap: 8px; }
.newsletter input { flex: 1; min-width: 0; height: 44px; border-radius: 10px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.08); color: #fff; padding: 0 12px; }

.toast-root { position: fixed; right: 20px; bottom: 20px; z-index: 400; display: grid; gap: 10px; }
.toast { min-width: 260px; max-width: 380px; padding: 14px 16px; color: #fff; border-radius: 12px; background: var(--navy-900); box-shadow: var(--shadow-md); animation: toastIn .25s ease; }
@keyframes toastIn { from { transform: translateY(12px); opacity: 0; } }
.reveal { animation: reveal .55s ease both; }
@keyframes reveal { from { opacity: 0; transform: translateY(16px); } }

@media (max-width: 1080px) {
  .nav-links { display: none; }
  .menu-btn { display: inline-grid; }
  .topbar { display: none; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(3) { border-right: 0; }
  .stat:nth-child(n+4) { border-top: 1px solid var(--line); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .admin-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .section { padding: 68px 0; }
  .hero { min-height: 610px; }
  .hero-slide::after { background: linear-gradient(90deg, rgba(3,13,37,.94), rgba(3,13,37,.7)); }
  .grid-3, .grid-2, .split, .split.reverse, .product-detail, .cart-layout, .footer-grid { grid-template-columns: 1fr; }
  .stats { margin-top: 0; padding-top: 24px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-top: 1px solid var(--line); }
  .stat:nth-child(odd) { border-right: 1px solid var(--line); }
  .stat:nth-child(even) { border-right: 0; }
  .process { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .process::before { display: none; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .cart-summary { position: static; }
  .admin-body { grid-template-columns: 1fr; }
  .admin-side { display: flex; overflow-x: auto; gap: 4px; }
  .admin-side a { white-space: nowrap; }
  .cta { padding: 38px 26px; }
}

@media (max-width: 600px) {
  .container { width: min(calc(100% - 24px), var(--max)); }
  .navbar { min-height: 72px; }
  .brand img { width: 50px; height: 50px; }
  .brand-text span { display: none; }
  .nav-actions .icon-btn:not(.cart-button), .nav-actions .btn { display: none; }
  .hero-content { padding: 70px 0 90px; }
  .hero h1 { font-size: 2.75rem; }
  .page-hero { min-height: 390px; }
  .product-grid, .grid-4, .stats-grid, .form-grid, .spec-grid, .admin-cards { grid-template-columns: 1fr; }
  .stat { border-right: 0 !important; }
  .division-card { min-height: 470px; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .cart-item { grid-template-columns: 86px 1fr; }
  .cart-item img { width: 86px; height: 72px; }
  .cart-item > :last-child { grid-column: 2; }
  .timeline-item { grid-template-columns: 1fr; gap: 5px; }
  .footer-bottom { flex-direction: column; }
  .admin-main { padding: 18px; }
}

/* Company profile content */
.grid-5 { grid-template-columns: repeat(5, minmax(0,1fr)); }
.values-grid .card { height: 100%; }
.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.category-card { display: block; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow-sm); transition: .22s ease; }
.category-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.category-card p { color: var(--muted); min-height: 76px; }
.category-card > span { display: inline-flex; align-items: center; gap: 8px; color: var(--navy-900); font-weight: 800; font-size: .9rem; }
.category-card > span svg { width: 17px; }
.brand-cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.brand-cloud span { min-width: 112px; padding: 14px 18px; text-align: center; border: 1px solid rgba(255,255,255,.18); border-radius: 12px; background: rgba(255,255,255,.08); color: #fff; font-family: "Montserrat", Arial, sans-serif; font-weight: 800; }
.industry-list { display: flex; flex-wrap: wrap; gap: 12px; }
.industry-list span { padding: 12px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--navy-900); font-weight: 800; }
.dark-checks .check-list { margin: 0; padding: 24px; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; background: rgba(255,255,255,.06); }
.dark-checks .check-list li { color: #e5eaf4; }
.dark-checks .check-list svg { color: var(--gold-400); }
.process-dark::before { background: rgba(255,255,255,.18); }
.process-dark .process-num { border-color: var(--navy-950); background: var(--gold-600); }
.process-dark .process-step strong { color: #fff; }
.process-dark .process-step small { color: #cbd5e6; }
.notice-card { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 24px; border: 1px solid #e6d299; border-radius: 16px; background: #fff8e7; }
.notice-card strong { color: var(--navy-900); }
.notice-card span { color: #6f5515; }
.contact-link { color: var(--navy-900); font-weight: 800; word-break: break-word; }
.hours-card { display: grid; gap: 0; }
.hours-card > div { display: flex; justify-content: space-between; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.hours-card > div:last-child { border-bottom: 0; }
.hours-card span { color: var(--muted); }
.policy-content { max-width: 920px; margin: 0 auto; }
.policy-content hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }
.policy-content h2:not(:first-child) { margin-top: 26px; }
.policy-contact { display: grid; gap: 5px; margin-top: 34px; padding: 18px 20px; border-radius: 14px; background: var(--surface); }
.footer-hours { margin-top: 18px; font-size: .9rem; color: #aebbd2; }

@media (max-width: 1080px) {
  .grid-5 { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .category-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 820px) {
  .grid-5 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .notice-card { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 600px) {
  .grid-5, .category-grid { grid-template-columns: 1fr; }
  .category-card p { min-height: 0; }
  .hours-card > div { flex-direction: column; gap: 4px; }
}

/* Homepage slider controls */
.hero-arrow { position:absolute; top:50%; z-index:8; width:50px; height:50px; transform:translateY(-50%); border:1px solid rgba(255,255,255,.35); border-radius:999px; background:rgba(7,24,68,.55); color:#fff; font-size:2.2rem; line-height:1; display:grid; place-items:center; cursor:pointer; backdrop-filter:blur(8px); transition:.2s ease; }
.hero-arrow:hover { background:var(--gold-500); color:var(--navy-950); }
.hero-prev { left:28px; }
.hero-next { right:28px; }

/* Store management dashboard */
.admin-title { display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap; margin-bottom:24px; }
.admin-title h1, .admin-title h2 { margin:0 0 5px; }
.admin-title p { margin:0; color:var(--muted); }
.admin-quick { display:flex; gap:10px; flex-wrap:wrap; }
.admin-product { display:flex; align-items:center; gap:12px; min-width:240px; }
.admin-product img { width:58px; height:44px; border-radius:8px; object-fit:cover; background:#eef2f7; }
.admin-product span { display:grid; gap:3px; }
.admin-product small { color:var(--muted); }
.stock-input { width:82px; padding:9px 10px; border:1px solid var(--line); border-radius:9px; }
.table-actions { display:flex; align-items:center; gap:7px; flex-wrap:wrap; }
.banner-admin-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; }
.banner-admin-card { overflow:hidden; }
.banner-admin-card > img { width:100%; height:210px; object-fit:cover; background:#071844; }
.admin-editor { margin-top:24px; }

@media (max-width: 820px) {
  .hero-arrow { width:42px; height:42px; font-size:1.8rem; }
  .hero-prev { left:12px; }
  .hero-next { right:12px; }
  .banner-admin-grid { grid-template-columns:1fr; }
}

@media (max-width: 600px) {
  .product-grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:10px !important; }
  .product-card { border-radius:13px; }
  .product-image { aspect-ratio:1/1; }
  .product-info { padding:11px; }
  .product-info h3 { font-size:.86rem; line-height:1.3; margin:5px 0 8px; }
  .product-category { font-size:.62rem; letter-spacing:.04em; }
  .product-meta { display:none; }
  .product-price strong { font-size:.9rem; }
  .product-actions { gap:5px; margin-top:9px; }
  .product-actions .btn { min-height:34px; padding:0 8px; font-size:.72rem; }
  .product-actions .icon-btn { width:34px; height:34px; }
  .product-badges { top:7px; left:7px; gap:4px; }
  .product-badge { padding:4px 6px; font-size:.56rem; }
  .product-wish { width:30px; height:30px; top:7px; right:7px; }
  .product-wish svg { width:15px; }
  .hero-arrow { top:auto; bottom:74px; transform:none; }
  .hero-prev { left:16px; }
  .hero-next { right:16px; }
  .admin-body { grid-template-columns:1fr; }
  .admin-side { display:flex; overflow-x:auto; gap:5px; padding:10px; position:sticky; top:72px; z-index:15; }
  .admin-side a { white-space:nowrap; margin:0; }
  .admin-main { padding:18px 12px; }
}

/* ===== KREXCO REDESIGN V2 ===== */
:root {
  --navy-950: #07132c;
  --navy-900: #0b1f46;
  --navy-800: #14346d;
  --navy-700: #194892;
  --navy-600: #2f63b7;
  --gold-600: #d6a63b;
  --gold-500: #ebbb52;
  --gold-400: #f6cd6c;
  --surface: #f3f7fb;
  --surface-2: #e9eff8;
  --ink: #10233e;
  --muted: #60708a;
  --line: rgba(16, 35, 62, 0.1);
  --white: #ffffff;
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 30px;
  --shadow-sm: 0 12px 32px rgba(7, 19, 44, 0.08);
  --shadow-md: 0 22px 50px rgba(7, 19, 44, 0.12);
  --shadow-lg: 0 36px 90px rgba(7, 19, 44, 0.18);
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #f8fbff 0%, #f5f8fd 50%, #eff4fa 100%);
}
h1, h2, h3, h4, strong, .btn, .hero-badge, .eyebrow, .product-badge, .brand-text strong { font-family: 'Manrope', sans-serif; }
p { color: var(--muted); }
a { color: inherit; text-decoration: none; }
.container { width: min(1200px, calc(100% - 32px)); }
.section { padding: 92px 0; }
.section-soft { background: linear-gradient(180deg, #f3f7fb, #eef3fb); }
.section-dark {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at top right, rgba(235,187,82,0.16), transparent 25%), linear-gradient(135deg, #091634, #102f64 70%, #174d99);
}
.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), transparent 35%);
}
.section-dark > * { position: relative; z-index: 1; }
.text-white, .section-dark h2, .section-dark h3 { color: #fff; }
.text-light { color: rgba(255,255,255,0.74) !important; }
.lead { font-size: 1.08rem; line-height: 1.8; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(25,72,146,0.08);
  color: var(--navy-800);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.text-gold { color: var(--gold-400) !important; }
.text-gold.eyebrow, .section-dark .eyebrow.text-gold { background: rgba(255,255,255,0.08); }
.section-head { margin-bottom: 28px; }
.section-head.center { text-align: center; max-width: 780px; margin-inline: auto; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(2rem, 3.2vw, 3.35rem); line-height: 1.08; margin: 14px 0; letter-spacing: -.03em; }
.card {
  border: 1px solid rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(14px);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.icon-card, .category-card, .division-card, .product-card, .value-card, .cta-panel, .timeline-item, .faq-item { transition: .28s ease; }
.icon-card { padding: 28px; }
.icon-wrap {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
}
.icon-wrap svg { width: 24px; height: 24px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
  transition: .24s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  color: #07132c;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  box-shadow: 0 14px 30px rgba(214,166,59,0.28);
}
.btn-primary:hover { box-shadow: 0 20px 36px rgba(214,166,59,0.34); }
.btn-secondary, .btn-outline {
  color: var(--navy-900);
  background: rgba(255,255,255,0.88);
  border-color: rgba(9,22,52,0.12);
}
.btn-navy {
  color: #fff;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  box-shadow: 0 16px 34px rgba(11,31,70,0.2);
}
.btn-sm { min-height: 42px; padding: 0 16px; font-size: .88rem; }
.topbar {
  background: #08142e;
  color: rgba(255,255,255,0.75);
  font-size: .82rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.topbar .container, .topbar-links { display: flex; align-items: center; gap: 18px; justify-content: space-between; }
.topbar .container { min-height: 42px; }
.topbar a:hover { color: #fff; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245,248,253,0.82);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(9,22,52,0.08);
}
.navbar { min-height: 86px; display: flex; align-items: center; gap: 24px; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 18px;
  background: #fff;
  padding: 4px;
  box-shadow: var(--shadow-sm);
}
.brand-text { display: grid; gap: 3px; }
.brand-text strong { font-size: 1rem; color: var(--navy-950); }
.brand-text span:last-child { font-size: .82rem; color: var(--muted); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-link { font-weight: 700; color: #33445f; position: relative; padding: 10px 0; }
.nav-link.active, .nav-link:hover { color: var(--navy-900); }
.nav-link.active::after, .nav-link:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -14px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-600));
}
.dropdown { position: relative; }
.dropdown-panel {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 18px;
  border-radius: 26px;
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(9,22,52,0.08);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: .2s ease;
}
.dropdown:hover .dropdown-panel { opacity: 1; pointer-events: auto; }
.dropdown-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f7faff, #eff5fc);
}
.dropdown-card img { width: 100%; height: 96px; object-fit: cover; border-radius: 14px; }
.dropdown-card strong { color: var(--navy-900); }
.dropdown-card small { color: var(--muted); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  border: 1px solid rgba(9,22,52,0.1);
  background: rgba(255,255,255,0.8);
  color: var(--navy-900);
  cursor: pointer;
}
.icon-btn svg { width: 20px; height: 20px; }
.cart-button { position: relative; }
.badge-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--gold-600);
  color: #07132c;
  font-size: .72rem;
  font-weight: 800;
}
.hero-redesign {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  display: grid;
  align-items: stretch;
  color: #fff;
  background: linear-gradient(135deg, #07132c, #0d234d 60%, #183f81);
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity .65s ease, transform 4s ease;
}
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7,19,44,0.95) 0%, rgba(7,19,44,0.88) 46%, rgba(7,19,44,0.52) 100%);
  z-index: 1;
}
.hero::after {
  content: "";
  position: absolute;
  width: 880px;
  height: 880px;
  right: -240px;
  top: -280px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 120px rgba(235,187,82,0.06), 0 0 0 260px rgba(255,255,255,0.03);
  z-index: 1;
}
.hero-shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 44px;
  align-items: center;
  min-height: 760px;
}
.hero-copy { max-width: 640px; }
.hero-badge {
  display: inline-flex;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero h1 { font-size: clamp(3rem, 7vw, 5.6rem); line-height: .95; margin: 18px 0 18px; letter-spacing: -.06em; color: #fff; }
.hero p { color: rgba(240,245,255,0.82); font-size: 1.08rem; line-height: 1.85; max-width: 610px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero-points span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.12);
  font-size: .84rem;
  color: #e9f0fd;
}
.hero-visual { display: flex; justify-content: flex-end; }
.hero-glass {
  width: min(100%, 470px);
  padding: 26px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.08));
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
}
.hero-glass-top span { display: inline-block; color: var(--gold-400); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; }
.hero-glass-top strong { display: block; color: #fff; font-size: 1.45rem; line-height: 1.2; margin-top: 8px; }
.hero-stack { display: grid; gap: 14px; margin: 22px 0; }
.hero-stack-card {
  padding: 18px;
  border-radius: 22px;
  background: rgba(7,19,44,0.36);
  border: 1px solid rgba(255,255,255,0.08);
}
.hero-stack-card small { display: block; color: var(--gold-400); text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; margin-bottom: 6px; }
.hero-stack-card strong { display: block; color: #fff; font-size: 1.04rem; margin-bottom: 6px; }
.hero-stack-card span { color: rgba(235,241,252,0.78); font-size: .92rem; line-height: 1.65; }
.hero-mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.hero-mini-stats div {
  padding: 16px 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
}
.hero-mini-stats strong { display: block; color: #fff; font-size: 1.06rem; }
.hero-mini-stats span { display: block; color: rgba(235,241,252,0.75); font-size: .78rem; margin-top: 4px; }
.hero-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 2rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(12px);
}
.hero-prev { left: 28px; }
.hero-next { right: 28px; }
.hero-dots {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}
.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,0.28);
}
.hero-dot.active { width: 36px; background: var(--gold-500); }
.metric-band { margin-top: -44px; position: relative; z-index: 4; }
.metric-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(9,22,52,0.08);
  box-shadow: var(--shadow-md);
}
.metric-item { padding: 28px 24px; border-right: 1px solid rgba(9,22,52,0.08); text-align: center; }
.metric-item:last-child { border-right: 0; }
.metric-item strong { display: block; font-size: 1.85rem; color: var(--navy-900); line-height: 1.1; }
.metric-item span { display: block; margin-top: 8px; color: var(--muted); font-size: .9rem; }
.featured-split, .split { display: grid; grid-template-columns: 1.06fr .94fr; gap: 38px; align-items: center; }
.feature-panel { display: grid; gap: 18px; }
.value-card { padding: 28px; border-radius: 24px; background: linear-gradient(180deg, #ffffff, #f4f8ff); box-shadow: var(--shadow-sm); border: 1px solid rgba(9,22,52,0.06); }
.value-card.accent { background: linear-gradient(180deg, #0b1f46, #174d99); color: #fff; }
.value-card.accent p, .value-card.accent small, .value-card.accent h3 { color: #fff; }
.value-card small { color: var(--gold-600); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.value-card h3 { font-size: 1.5rem; line-height: 1.15; margin: 10px 0; }
.capsule-list, .division-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.capsule-list span, .division-tags span {
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(9,22,52,0.08);
  color: var(--navy-900);
  font-size: .84rem;
  font-weight: 700;
}
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.category-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 240px;
  padding: 24px;
  border-radius: 24px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
}
.section-dark .category-card:hover { transform: translateY(-4px); background: rgba(255,255,255,0.12); }
.category-card h3 { color: #fff; font-size: 1.1rem; }
.category-card p { color: rgba(235,241,252,0.74); line-height: 1.72; }
.category-card span { margin-top: auto; color: var(--gold-400); font-weight: 800; }
.image-frame {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: linear-gradient(135deg, #edf3fb, #ffffff);
  border: 1px solid rgba(9,22,52,0.08);
  box-shadow: var(--shadow-md);
}
.image-frame img { width: 100%; display: block; object-fit: cover; }
.division-card {
  overflow: hidden;
  border: 1px solid rgba(9,22,52,0.07);
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff, #f5f8fd);
  box-shadow: var(--shadow-sm);
}
.division-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.division-card-content { padding: 28px; display: grid; gap: 16px; }
.division-card-logo {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 20px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(9,22,52,0.05);
}
.division-card h3 { font-size: 1.35rem; line-height: 1.2; }
.check-list { display: grid; gap: 14px; margin-top: 20px; }
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(9,22,52,0.07);
}
.check-list svg { width: 20px; color: var(--gold-600); flex: 0 0 auto; margin-top: 2px; }
.industry-list, .brand-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.industry-list span, .brand-cloud span {
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 700;
  background: #fff;
  color: var(--navy-900);
  border: 1px solid rgba(9,22,52,0.08);
}
.section-dark .brand-cloud span { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.12); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.product-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff, #f5f8fd);
  border: 1px solid rgba(9,22,52,0.08);
  box-shadow: var(--shadow-sm);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.product-image { position: relative; padding: 18px 18px 0; }
.product-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 22px;
  background: linear-gradient(135deg, #edf3fb, #fff);
}
.product-badges { position: absolute; top: 30px; left: 30px; display: flex; gap: 8px; flex-wrap: wrap; }
.product-badge {
  padding: 7px 11px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 800;
  background: rgba(7,19,44,0.85);
  color: #fff;
}
.product-badge.sale { background: #cf432f; }
.product-badge.quote { background: var(--gold-600); color: #07132c; }
.product-wish { position: absolute; top: 30px; right: 30px; }
.product-info { padding: 22px; display: grid; gap: 14px; }
.product-category { color: var(--gold-600); font-size: .78rem; letter-spacing: .12em; font-weight: 800; text-transform: uppercase; }
.product-info h3 { font-size: 1.16rem; line-height: 1.35; color: var(--navy-900); }
.product-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.product-meta span {
  padding: 7px 10px;
  border-radius: 999px;
  font-size: .76rem;
  color: #4b5d79;
  background: #eef4fa;
}
.product-price strong { font-size: 1.28rem; color: var(--navy-900); }
.product-actions { display: flex; gap: 10px; }
.product-actions .btn { flex: 1; }
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 110px 0 96px;
  color: #fff;
  background-size: cover;
  background-position: center;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(7,19,44,0.92), rgba(13,35,77,0.88) 60%, rgba(24,63,129,0.78));
}
.page-hero .container { position: relative; z-index: 1; max-width: 900px; }
.page-hero h1 { color: #fff; font-size: clamp(2.6rem, 5vw, 4.5rem); line-height: 1; margin: 18px 0 16px; letter-spacing: -.05em; }
.page-hero p { color: rgba(240,245,255,0.82); max-width: 720px; font-size: 1.02rem; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; color: rgba(240,245,255,0.72); }
.breadcrumbs a { color: #fff; }
.process {
  display: grid;
  grid-template-columns: repeat(6, minmax(0,1fr));
  gap: 18px;
}
.process-step {
  padding: 20px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(9,22,52,0.08);
  box-shadow: var(--shadow-sm);
}
.process-num {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #07132c;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  font-weight: 800;
  margin-bottom: 14px;
}
.process-step strong { display: block; color: var(--navy-900); margin-bottom: 8px; }
.process-step small { color: var(--muted); line-height: 1.6; }
.timeline { display: grid; gap: 14px; }
.timeline-item {
  grid-template-columns: 70px 1fr;
  padding: 22px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(9,22,52,0.08);
  box-shadow: var(--shadow-sm);
}
.timeline-time {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #07132c;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  font-weight: 800;
}
.faq { display: grid; gap: 12px; }
.faq-item { border-radius: 22px; border: 1px solid rgba(9,22,52,0.08); box-shadow: var(--shadow-sm); }
.faq-q { padding: 20px 22px; font-weight: 800; background: #fff; }
.faq-a { color: var(--muted); }
.form-card { border-radius: 28px; background: rgba(255,255,255,0.92); }
.field label { font-weight: 700; color: var(--navy-900); }
.field input, .field select, .field textarea {
  min-height: 50px;
  border-radius: 14px;
  border: 1px solid rgba(9,22,52,0.12);
  background: #fff;
}
.cta, .cta-panel {
  padding: 34px;
  border-radius: 28px;
  background: linear-gradient(135deg, #0b1f46, #174d99);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.cta p, .cta-panel p { color: rgba(235,241,252,0.82); }
.policy-content h2, .policy-content h3 { color: var(--navy-900); }
.policy-content hr { border: 0; border-top: 1px solid rgba(9,22,52,0.08); margin: 28px 0; }
.policy-contact {
  margin-top: 26px;
  padding: 18px 20px;
  border-radius: 18px;
  background: #eef4fa;
  color: var(--navy-900);
}
.cart-layout { display: grid; grid-template-columns: 1.35fr .65fr; gap: 24px; }
.cart-item, .summary-row { color: var(--ink); }
.cart-item { border-bottom-color: rgba(9,22,52,0.08); }
.summary-row.total { border-top-color: rgba(9,22,52,0.08); }
.admin-shell { background: linear-gradient(180deg, #eef4fa, #e6edf8); }
.admin-top {
  height: 78px;
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(9,22,52,0.08);
}
.admin-body { grid-template-columns: 280px 1fr; }
.admin-side {
  padding: 24px 16px;
  background: linear-gradient(180deg, #08142e, #0f2858);
  border-right: 1px solid rgba(255,255,255,0.06);
}
.admin-side a {
  min-height: 46px;
  margin-bottom: 8px;
  border-radius: 14px;
}
.admin-side a.active, .admin-side a:hover { background: rgba(255,255,255,0.12); }
.admin-main { padding: 28px; }
.admin-title { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.admin-title h1, .admin-title h2 { color: var(--navy-900); }
.admin-cards { grid-template-columns: repeat(4, minmax(0,1fr)); }
.admin-stat { padding: 22px; }
.admin-stat span { color: var(--muted); }
.admin-stat strong { margin-top: 8px; }
.admin-product { display: flex; align-items: center; gap: 12px; }
.admin-product img { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; background: #eef4fa; }
.table-actions { display: flex; align-items: center; gap: 8px; }
.banner-admin-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.banner-admin-card { overflow: hidden; }
.banner-admin-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.admin-quick { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.admin-login {
  background: radial-gradient(circle at top right, rgba(235,187,82,0.16), transparent 18%), linear-gradient(135deg, #07132c, #13366e);
}
.admin-login-card { border-radius: 28px; box-shadow: var(--shadow-lg); }
.site-footer {
  position: relative;
  margin-top: 40px;
  padding: 88px 0 28px;
  color: rgba(235,241,252,0.82);
  background: linear-gradient(180deg, #08142e, #061124);
}
.footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 30px;
  margin-bottom: 34px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(235,187,82,0.16), rgba(255,255,255,0.05));
  border: 1px solid rgba(255,255,255,0.08);
}
.footer-cta h3 { color: #fff; font-size: 1.8rem; line-height: 1.1; margin: 10px 0; }
.footer-cta p { max-width: 640px; color: rgba(235,241,252,0.74); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 34px; }
.footer-logo {
  width: 110px;
  height: 110px;
  object-fit: contain;
  border-radius: 24px;
  background: #fff;
  padding: 8px;
}
.site-footer h4 { color: #fff; }
.footer-links { display: grid; gap: 10px; }
.footer-links a:hover { color: var(--gold-400); }
.footer-contact-stack { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.footer-contact-stack span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #fff;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 34px;
  padding-top: 20px;
  font-size: .88rem;
}
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(6,17,36,0.6);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: .2s ease;
  z-index: 80;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-panel {
  width: min(92vw, 420px);
  height: 100%;
  margin-left: auto;
  padding: 20px;
  background: #f7faff;
  box-shadow: -20px 0 50px rgba(7,19,44,0.18);
  display: grid;
  grid-template-rows: auto 1fr;
}
.mobile-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.mobile-nav { display: grid; align-content: start; gap: 8px; overflow: auto; }
.mobile-nav > a, .mobile-sub a {
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(9,22,52,0.08);
  color: var(--navy-900);
  font-weight: 700;
}
.mobile-sub { display: grid; gap: 8px; margin-left: 14px; }
.toast-root { right: 18px; bottom: 18px; }
.toast {
  min-width: 240px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #08142e;
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.empty-state {
  padding: 72px 24px;
  border-radius: 28px;
  background: rgba(255,255,255,0.88);
  border: 1px dashed rgba(9,22,52,0.18);
}
@media (max-width: 1180px) {
  .hero-shell, .featured-split, .split, .product-detail, .cart-layout { grid-template-columns: 1fr; }
  .hero-copy { max-width: none; }
  .hero-visual { justify-content: flex-start; }
  .product-grid, .category-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grid-3, .banner-admin-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .process { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .menu-btn { display: grid; }
  .admin-cards { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .admin-body { grid-template-columns: 1fr; }
  .admin-side { display: flex; gap: 8px; overflow: auto; }
  .admin-side a { white-space: nowrap; }
}
@media (max-width: 820px) {
  .topbar { display: none; }
  .navbar { min-height: 78px; }
  .section { padding: 76px 0; }
  .hero-redesign { min-height: auto; padding: 36px 0 96px; }
  .hero-shell { min-height: auto; padding: 50px 0 0; }
  .hero h1 { font-size: clamp(2.5rem, 15vw, 4rem); }
  .hero::after { right: -420px; top: -420px; }
  .hero-arrow { display: none; }
  .metric-band { margin-top: -26px; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .metric-item:nth-child(2n) { border-right: 0; }
  .metric-item:nth-child(n+3) { border-top: 1px solid rgba(9,22,52,0.08); }
  .grid-4, .grid-3, .grid-2, .footer-grid, .banner-admin-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .footer-cta, .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-mini-stats { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 22px, 1200px); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-points { display: grid; grid-template-columns: 1fr; }
  .metric-grid { grid-template-columns: 1fr; }
  .metric-item { border-right: 0; border-top: 1px solid rgba(9,22,52,0.08); }
  .metric-item:first-child { border-top: 0; }
  .product-grid, .category-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
  .product-info { padding: 16px; gap: 10px; }
  .product-info h3 { font-size: 1rem; }
  .product-actions { flex-direction: column; }
  .product-actions .icon-btn { width: 100%; height: 42px; }
  .product-badges { top: 22px; left: 22px; }
  .product-wish { top: 22px; right: 22px; }
  .page-hero { padding: 88px 0 78px; }
  .timeline-item { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 1fr; }
  .admin-cards { grid-template-columns: 1fr; }
}

/* ===== STORE SCALE MATCHED TO THE SUPPLIED BLAKMARTIAN PACKAGE ===== */
:root { --max-store-width: 1240px; }
.container { width: min(var(--max-store-width), calc(100% - 48px)); }
.krexco-shop-banner { position:relative; overflow:hidden; padding:42px 0; color:#fff; background:linear-gradient(120deg,#07132c,#102f64 64%,#174d99); }
.krexco-shop-banner::after { content:""; position:absolute; width:420px; height:420px; right:-130px; top:-240px; border:70px solid rgba(235,187,82,.12); border-radius:50%; }
.krexco-shop-banner .container { position:relative; z-index:1; }
.krexco-shop-banner .eyebrow { margin-bottom:8px; }
.krexco-shop-banner h1 { margin:8px 0; color:#fff; font-size:clamp(1.8rem,3vw,2.4rem); line-height:1.08; letter-spacing:-.04em; }
.krexco-shop-banner p:not(.eyebrow) { max-width:720px; color:rgba(235,241,252,.78); font-size:.95rem; }
.shop-section { padding:56px 0 82px; }
.shop-heading { max-width:760px; margin-bottom:42px; }
.shop-heading h2 { margin:10px 0 12px; font-size:clamp(2.1rem,4vw,3rem); line-height:1.08; letter-spacing:-.04em; }
.shop-heading > p:last-child { max-width:650px; color:var(--muted); }
.shop-layout { display:grid; grid-template-columns:250px minmax(0,1fr); gap:34px; align-items:start; }
.filters { position:sticky; top:108px; padding:20px; border:1px solid rgba(9,22,52,.1); border-radius:20px; background:rgba(255,255,255,.92); box-shadow:0 8px 26px rgba(7,19,44,.05); }
.filter-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:22px; }
.filter-heading h3 { margin:0; font-size:1rem; }
.filter-heading button { border:0; padding:0; background:none; color:var(--muted); font-size:.75rem; text-decoration:underline; text-underline-offset:3px; }
.filters > label { display:block; margin-bottom:18px; color:var(--muted); font-size:.7rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.filters input,.filters select { width:100%; height:48px; margin-top:9px; padding:0 13px; border:1px solid rgba(9,22,52,.12); border-radius:11px; background:#fff; color:var(--ink); font-size:.88rem; font-weight:400; letter-spacing:normal; text-transform:none; }
.filter-category-list { display:grid; gap:6px; }
.filter-category-list > span { margin-bottom:5px; color:var(--muted); font-size:.7rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.filter-category { width:100%; min-height:38px; padding:0 11px; border:1px solid transparent; border-radius:10px; background:transparent; color:#4f5d73; font-size:.8rem; text-align:left; }
.filter-category:hover,.filter-category.active { border-color:rgba(9,22,52,.08); background:#eef3f9; color:var(--navy-900); font-weight:700; }
.shop-results { min-width:0; }
.shop-results-head { display:flex; align-items:center; justify-content:space-between; gap:18px; min-height:46px; margin-bottom:20px; padding-bottom:14px; border-bottom:1px solid rgba(9,22,52,.08); }
.shop-results-head > div { display:flex; align-items:baseline; gap:7px; }
.shop-results-head strong { color:var(--navy-900); font-size:1.1rem; }
.shop-results-head span,.shop-results-head p { color:var(--muted); font-size:.78rem; }

.product-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:36px 22px; }
.shop-products { grid-template-columns:repeat(4,minmax(0,1fr)); gap:31px 18px; }
.product-card.storefront-card { min-width:0; overflow:visible; border:0; border-radius:0; background:transparent; box-shadow:none; }
.product-card.storefront-card:hover { transform:none; box-shadow:none; }
.storefront-card .product-image-wrap { position:relative; }
.storefront-card .product-image { display:block; overflow:hidden; border-radius:17px; background:#eef3f8; }
.storefront-card .product-image img { width:100%; aspect-ratio:3/4; object-fit:contain; padding:12px; transition:transform .45s ease; }
.storefront-card:hover .product-image img { transform:scale(1.035); }
.storefront-card .product-badges { position:absolute; top:11px; left:11px; display:flex; flex-wrap:wrap; gap:5px; z-index:2; }
.storefront-card .product-badge { padding:6px 9px; border-radius:999px; background:rgba(7,19,44,.88); color:#fff; font-size:.57rem; line-height:1; letter-spacing:.03em; text-transform:uppercase; }
.storefront-card .product-badge.quote { background:var(--gold-600); color:#07132c; }
.storefront-card .product-badge.sale { background:#bd392c; }
.storefront-card .product-wish { top:11px; right:11px; width:38px; height:38px; border:1px solid #e7edf3; border-radius:999px; background:rgba(255,255,255,.94); color:#5f6b7d; box-shadow:none; z-index:2; }
.storefront-card .product-wish svg { width:17px; height:17px; }
.storefront-card .product-category { display:block; margin:13px 0 0; color:var(--muted); font-size:.6rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; }
.storefront-card .product-name { display:block; margin-top:5px; color:var(--navy-900); font-family:'Manrope',sans-serif; font-size:.82rem; font-weight:700; line-height:1.35; }
.storefront-card .product-price { display:flex; align-items:center; gap:7px; margin-top:10px; }
.storefront-card .product-price strong { color:var(--navy-900); font-size:.8rem; font-weight:800; }
.storefront-card .product-price del { color:#9ba5b3; font-size:.72rem; }
.storefront-card .product-meta { display:flex; flex-wrap:wrap; gap:5px; margin-top:9px; }
.storefront-card .product-meta span { padding:4px 7px; border-radius:5px; background:#eef3f8; color:#687488; font-size:.58rem; }
.storefront-card .card-stock { margin:8px 0 0; color:#737f91; font-size:.62rem; line-height:1.4; }
.storefront-card .details-link { display:inline-block; margin-top:10px; color:var(--navy-900); font-size:.68rem; font-weight:700; text-decoration:underline; text-underline-offset:4px; }
.storefront-card .card-purchase-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin-top:14px; }
.storefront-card .card-purchase-actions .btn { width:100%; min-height:40px; padding:0 8px; border-radius:999px; font-size:.68rem; box-shadow:none; }
.storefront-card .card-add-button:disabled { border-color:#e5e8ec; background:#eceff3; color:#858e9b; cursor:not-allowed; }

.admin-body { grid-template-columns:240px minmax(0,1fr); }
.admin-side { padding:22px 14px; }
.admin-main { padding:34px; }
.admin-title { margin-bottom:26px; }
.admin-title h1 { font-size:2rem; }
.admin-cards { gap:15px; }
.admin-stat { padding:22px; border-radius:16px; }
.admin-stat strong { font-size:2rem; }
.admin-main .card,.admin-main .form-card { border-radius:20px; }
.admin-main th,.admin-main td { padding:13px 14px; font-size:.82rem; }
.admin-product img { width:54px; height:64px; border-radius:9px; }
.admin-product strong { font-size:.82rem; }
.admin-product small { color:var(--muted); font-size:.72rem; }
.stock-input { width:88px; min-height:38px; border:1px solid rgba(9,22,52,.12); border-radius:9px; padding:0 10px; }
.banner-admin-card .card-pad { padding:18px; }
.banner-admin-card h3 { font-size:1rem; }
.banner-admin-card p { font-size:.82rem; }

@media (max-width:1240px) {
  .shop-products,.product-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width:960px) {
  .shop-layout { grid-template-columns:1fr; }
  .filters { position:static; }
  .filter-category-list { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .shop-products,.product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .admin-body { grid-template-columns:1fr; }
  .admin-side { display:flex; flex-direction:row; overflow-x:auto; }
  .admin-side a { white-space:nowrap; }
}
@media (max-width:700px) {
  .container { width:min(100% - 34px,var(--max-store-width)); }
  .krexco-shop-banner { padding:30px 0; }
  .shop-section { padding:42px 0 62px; }
  .shop-heading { margin-bottom:28px; }
  .shop-heading h2 { font-size:2rem; }
  .filter-category-list { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .shop-results-head { align-items:flex-start; }
  .shop-results-head p { max-width:150px; text-align:right; }
  .shop-mobile-two,.shop-products,#shop-products,.product-grid { display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:27px 12px !important; align-items:stretch !important; }
  .shop-mobile-two > *,.shop-products > *,#shop-products > *,.product-grid > * { width:auto !important; max-width:none !important; min-width:0 !important; }
  .storefront-card .product-image { border-radius:14px; }
  .storefront-card .product-image img { padding:8px; }
  .storefront-card .product-category,.storefront-card .details-link,.storefront-card .card-stock { font-size:.58rem; }
  .storefront-card .product-name { font-size:.72rem; line-height:1.25; }
  .storefront-card .product-price strong { font-size:.72rem; }
  .storefront-card .product-meta { gap:4px; }
  .storefront-card .product-meta span { padding:3px 5px; font-size:.52rem; }
  .storefront-card .product-badge { font-size:.5rem; padding:5px 7px; }
  .storefront-card .product-wish { width:32px; height:32px; }
  .storefront-card .card-purchase-actions { grid-template-columns:1fr; gap:6px; }
  .storefront-card .card-purchase-actions .btn { min-height:34px; font-size:.58rem; padding:0 6px; }
  .admin-main { padding:20px; }
}
@media (max-width:420px) {
  .container { width:min(100% - 24px,var(--max-store-width)); }
  .shop-mobile-two,.shop-products,#shop-products,.product-grid { gap:24px 10px !important; }
  .storefront-card .product-wish { top:8px; right:8px; }
  .storefront-card .product-badges { top:8px; left:8px; }
}

/* Admin media library */
.media-toolbar {
  display: grid;
  grid-template-columns: minmax(240px, 1.4fr) minmax(180px, .7fr) auto;
  gap: 16px;
  align-items: end;
  padding: 18px;
  margin-bottom: 22px;
}
.media-toolbar .field { margin: 0; }
.media-count {
  min-width: 92px;
  padding: 10px 14px;
  border-left: 1px solid rgba(9,22,52,.1);
  display: grid;
  align-content: center;
}
.media-count strong { color: var(--navy-900); font-size: 1.35rem; line-height: 1; }
.media-count span { color: var(--muted); font-size: .78rem; margin-top: 4px; }
.media-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}
.media-card {
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(9,22,52,.08);
  box-shadow: 0 6px 20px rgba(9,22,52,.05);
}
.media-preview {
  width: 100%;
  display: block;
  padding: 0;
  border: 0;
  background: #eef3f9;
  cursor: pointer;
}
.media-preview img {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: block;
  object-fit: cover;
}
.media-card-body { padding: 12px; }
.media-card-body > strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--navy-900);
  font-size: .85rem;
}
.media-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 6px;
  color: var(--muted);
  font-size: .72rem;
}
.media-card-actions {
  display: flex;
  gap: 7px;
  margin-top: 10px;
}
.media-card-actions .btn { flex: 1; min-height: 36px; padding-inline: 10px; font-size: .76rem; }
.media-card-actions .icon-btn { width: 36px; height: 36px; min-width: 36px; border-radius: 10px; }
.media-empty { grid-column: 1 / -1; }
.media-empty-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: #eef3f9;
  color: var(--navy-800);
}
.media-empty-icon svg { width: 28px; height: 28px; }
@media (max-width: 1280px) { .media-grid { grid-template-columns: repeat(4, minmax(0,1fr)); } }
@media (max-width: 1024px) { .media-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 720px) {
  .media-toolbar { grid-template-columns: 1fr; }
  .media-count { border-left: 0; border-top: 1px solid rgba(9,22,52,.1); }
  .media-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
  .media-card-body { padding: 9px; }
  .media-meta { display: grid; }
  .media-card-actions .btn { font-size: .7rem; }
}

/* China expedition enquiry replacement */
.expedition-contact {
  padding: 82px 0;
}
.expedition-contact-inner {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 36px;
  align-items: center;
  padding: 38px;
  border-radius: 30px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
}
.expedition-contact-inner h2 {
  margin: 14px 0 12px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
}
.expedition-contact-actions {
  display: grid;
  gap: 14px;
}
.btn-whatsapp {
  color: #fff;
  background: #128c7e;
  border-color: #128c7e;
  box-shadow: 0 16px 32px rgba(18,140,126,.2);
}
.btn-whatsapp:hover {
  background: #0f766e;
  border-color: #0f766e;
}

/* Reviews and testimonials */
.testimonials-section {
  background: linear-gradient(180deg, #fff, #f5f8fd);
}
.testimonial-empty {
  max-width: 780px;
  margin: 0 auto;
  padding: 44px 36px;
  text-align: center;
}
.testimonial-quote {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: var(--navy-950);
  font-family: Georgia, serif;
  font-size: 3rem;
  line-height: 1;
}
.testimonial-empty h3 {
  margin: 0 0 10px;
  font-size: 1.5rem;
  color: var(--navy-900);
}
.testimonial-empty p {
  max-width: 620px;
  margin: 0 auto;
}
.testimonial-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

@media (max-width: 820px) {
  .expedition-contact-inner {
    grid-template-columns: 1fr;
    padding: 28px 22px;
  }
}

@media (max-width: 560px) {
  .testimonial-empty {
    padding: 32px 20px;
  }
  .testimonial-actions {
    display: grid;
  }
  .testimonial-actions .btn,
  .expedition-contact-actions .btn {
    width: 100%;
  }
}

/* Dual homepage banner artwork, desktop and mobile */
.hero-slide {
  background-image: var(--desktop-bg) !important;
  background-position: center center;
  background-size: cover;
}
.banner-upload-heading {
  margin-top: 10px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #eef4fb;
  border: 1px solid rgba(9, 22, 52, .08);
}
.banner-upload-heading > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.banner-upload-heading strong {
  color: var(--navy-900);
  font-size: 1rem;
}
.banner-upload-heading span {
  color: var(--muted);
  font-size: .84rem;
  font-weight: 700;
}
.banner-upload-heading.mobile-heading {
  background: #fff8e9;
  border-color: rgba(214, 166, 59, .2);
}
.field-help {
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.5;
}
.banner-current-preview img {
  width: min(100%, 560px);
  aspect-ratio: 1920 / 760;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
  border: 1px solid rgba(9, 22, 52, .1);
  background: #eef4fa;
}
.banner-current-preview.mobile-preview img {
  width: min(100%, 250px);
  aspect-ratio: 4 / 5;
}
.banner-admin-previews {
  display: grid;
  grid-template-columns: 1.5fr .7fr;
  gap: 8px;
  padding: 10px 10px 0;
  background: #f5f8fd;
}
.banner-admin-previews > div {
  position: relative;
  min-width: 0;
}
.banner-admin-previews span {
  position: absolute;
  left: 8px;
  top: 8px;
  z-index: 2;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(7, 19, 44, .82);
  color: #fff;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .04em;
}
.banner-admin-previews img {
  width: 100%;
  height: 150px;
  display: block;
  object-fit: cover;
  border-radius: 14px;
  background: #e9eff8;
}
.banner-admin-previews > div:last-child img {
  object-position: center;
}

@media (max-width: 820px) {
  .hero-slide {
    background-image: var(--mobile-bg, var(--desktop-bg)) !important;
    background-position: center center;
  }
}

@media (max-width: 640px) {
  .banner-admin-previews {
    grid-template-columns: 1.35fr .65fr;
  }
  .banner-admin-previews img {
    height: 120px;
  }
}

/* Image only homepage slider */
.hero.hero-image-only {
  position: relative;
  min-height: 0 !important;
  height: auto !important;
  display: block !important;
  aspect-ratio: 1920 / 760;
  background: transparent !important;
  overflow: hidden;
}
.hero.hero-image-only::before,
.hero.hero-image-only::after,
.hero.hero-image-only .hero-slide::after,
.hero.hero-image-only .hero-slide::before {
  content: none !important;
  display: none !important;
}
.hero.hero-image-only .hero-shell,
.hero.hero-image-only .hero-copy,
.hero.hero-image-only .hero-visual,
.hero.hero-image-only .hero-glass,
.hero.hero-image-only .hero-stack,
.hero.hero-image-only .hero-points,
.hero.hero-image-only .hero-actions,
.hero.hero-image-only #hero-badge,
.hero.hero-image-only #hero-title,
.hero.hero-image-only #hero-text,
.hero.hero-image-only #hero-primary,
.hero.hero-image-only #hero-secondary {
  display: none !important;
}
.hero.hero-image-only .hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: none !important;
  background-size: 100% 100% !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  filter: none !important;
}
.hero.hero-image-only .hero-slide.active {
  opacity: 1;
}
.hero.hero-image-only .hero-arrow {
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
}
.hero.hero-image-only .hero-dots {
  bottom: 18px;
  z-index: 5;
}
.hero.hero-image-only + .metric-band {
  margin-top: 0;
  padding-top: 18px;
}
@media (max-width: 820px) {
  .hero.hero-image-only {
    aspect-ratio: 1080 / 1350;
  }
  .hero.hero-image-only .hero-slide {
    background-image: var(--mobile-bg, var(--desktop-bg)) !important;
    background-size: 100% 100% !important;
  }
  .hero.hero-image-only .hero-arrow {
    display: none;
  }
}


/* Restored homepage CTA section on full-banner slider */
.hero-overlay-wrap {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: flex-end;
  pointer-events: none;
}
.hero-overlay-wrap .container {
  width: min(1200px, calc(100% - 48px));
}
.hero-overlay-cta {
  max-width: 760px;
  padding: 0 0 54px;
  pointer-events: auto;
}
.hero-overlay-actions {
  margin-top: 0;
  gap: 18px;
}
.hero-overlay-actions .btn {
  min-height: 72px;
  padding: 0 34px;
  border-radius: 999px;
  font-size: clamp(1rem, 1.8vw, 1.15rem);
}
.hero-overlay-actions .btn-outline {
  border-color: rgba(255,255,255,0.24);
  background: rgba(255,255,255,0.9);
  color: #162859;
}
.hero-overlay-points {
  margin-top: 22px;
  gap: 14px;
}
.hero-overlay-points span {
  padding: 14px 24px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.14);
  color: #edf3ff;
  font-size: clamp(.95rem, 1.5vw, 1rem);
  backdrop-filter: blur(12px);
}
@media (max-width: 820px) {
  .hero-overlay-wrap .container {
    width: min(100% - 24px, 1200px);
  }
  .hero-overlay-cta {
    max-width: 100%;
    padding-bottom: 26px;
  }
  .hero-overlay-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .hero-overlay-actions .btn {
    min-height: 56px;
    width: 100%;
    padding: 0 20px;
    font-size: 1rem;
  }
  .hero-overlay-points {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 14px;
  }
  .hero-overlay-points span {
    padding: 12px 16px;
    font-size: .9rem;
  }
}

/* Clean homepage slider, retain only the small division badge */
.hero.hero-image-only .hero-badge-only {
  position: absolute;
  z-index: 6;
  top: clamp(18px, 5vw, 72px);
  left: clamp(18px, 4.5vw, 78px);
  display: inline-flex !important;
  align-items: center;
  max-width: calc(100% - 36px);
  padding: 10px 18px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  background: rgba(15,29,58,.7);
  backdrop-filter: blur(8px);
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(.72rem, 1.05vw, .92rem);
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.1;
  text-transform: uppercase;
}
@media (max-width: 820px) {
  .hero.hero-image-only .hero-badge-only {
    top: 18px;
    left: 18px;
    padding: 8px 13px;
    font-size: .68rem;
  }
}

/* 2026-09-16: aligned division cards, equal logo/text starts, flat backgrounds */
.division-grid-aligned {
  align-items: stretch;
  gap: 22px;
}
.division-grid-aligned .division-card,
.division-card.logistics,
.division-card.auto,
.division-card.china,
.division-card.consultancy {
  min-height: 690px;
  border: 0;
  border-radius: 28px;
  box-shadow: 0 18px 40px rgba(5, 18, 50, .12);
  background-image: none !important;
  color: #fff;
}
.division-card.logistics { background: #102858 !important; }
.division-card.auto { background: #17345f !important; }
.division-card.china { background: #45132d !important; }
.division-card.consultancy { background: #112954 !important; }
.division-card::before { display: none !important; }
.division-grid-aligned .division-card-content,
.division-card .division-card-content {
  height: 100%;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
  margin-top: 0;
}
.division-grid-aligned .division-card-logo,
.division-card .division-card-logo {
  width: 100%;
  height: 176px;
  flex: 0 0 176px;
  object-fit: contain;
  object-position: center;
  padding: 16px;
  margin: 0;
  border-radius: 20px;
  background: #fff;
  box-shadow: none;
}
.division-grid-aligned .division-card h3,
.division-card h3 {
  min-height: 66px;
  margin: 0;
  display: flex;
  align-items: flex-start;
  color: #fff;
  font-size: 1.35rem;
  line-height: 1.25;
}
.division-grid-aligned .division-card p,
.division-card p {
  margin: 0;
  color: #eef3ff;
  line-height: 1.68;
  flex: 1 1 auto;
}
.division-grid-aligned .division-tags,
.division-card .division-tags {
  min-height: 78px;
  margin: 0;
  align-content: flex-start;
}
.division-grid-aligned .division-tags span,
.division-card .division-tags span {
  background: #fff;
  color: #0b1e46;
  border: 0;
  font-weight: 800;
}
.division-grid-aligned .division-card .btn,
.division-card .btn {
  width: 100%;
  margin-top: auto;
  justify-content: center;
}
@media (max-width: 1180px) {
  .division-grid-aligned { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .division-grid-aligned { grid-template-columns: 1fr; }
  .division-grid-aligned .division-card,
  .division-card.logistics,
  .division-card.auto,
  .division-card.china,
  .division-card.consultancy { min-height: auto; }
  .division-grid-aligned .division-card h3,
  .division-card h3 { min-height: 0; }
  .division-grid-aligned .division-tags,
  .division-card .division-tags { min-height: 0; }
}

/* Mobile navigation visibility and drawer fix */
@media (max-width: 1024px) {
  .nav-actions .menu-btn,
  .nav-actions .icon-btn.menu-btn {
    display: grid !important;
    flex: 0 0 46px;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .mobile-menu {
    display: block !important;
    position: fixed !important;
    inset: 0 !important;
    z-index: 1000 !important;
    background: rgba(3, 13, 37, .68) !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .22s ease, visibility .22s ease;
  }

  .mobile-menu.open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .mobile-menu .mobile-panel {
    width: min(90vw, 420px) !important;
    height: 100dvh !important;
    min-height: 100vh;
    margin-left: auto;
    padding: 18px;
    background: #f7faff !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    transform: translateX(105%);
    transition: transform .25s ease;
    box-shadow: -20px 0 50px rgba(7,19,44,.24);
  }

  .mobile-menu.open .mobile-panel {
    transform: translateX(0);
  }

  .mobile-panel-head {
    position: sticky;
    top: 0;
    z-index: 2;
    padding-bottom: 12px;
    background: #f7faff;
  }

  .mobile-nav {
    padding-bottom: 32px;
  }
}

@media (max-width: 600px) {
  .nav-actions .icon-btn:not(.cart-button).menu-btn {
    display: grid !important;
  }

  .nav-actions {
    gap: 7px;
  }

  .nav-actions .cart-button,
  .nav-actions .menu-btn {
    width: 42px;
    height: 42px;
  }

  .mobile-panel .brand-text span {
    display: block;
  }
}

/* Inventory CSV management */
.inventory-admin-title { gap: 20px; align-items: flex-start; }
.inventory-title-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.inventory-toolbar { display: grid; grid-template-columns: minmax(240px,2fr) minmax(170px,1fr) minmax(170px,1fr) auto; gap: 14px; align-items: end; padding: 18px; margin-bottom: 14px; }
.inventory-toolbar .field { margin: 0; }
.inventory-toolbar-count { min-width: 92px; padding: 10px 14px; border-left: 1px solid var(--border); display: grid; align-content: center; }
.inventory-toolbar-count strong { font-size: 24px; color: var(--navy); line-height: 1; }
.inventory-toolbar-count span { font-size: 12px; color: var(--muted); margin-top: 5px; }
.csv-help { padding: 16px 18px; margin-bottom: 14px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.csv-help p { margin: 5px 0 0; color: var(--muted); font-size: 14px; }
.csv-help-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.csv-help-actions span { border: 1px solid var(--border); background: #f7f9fc; color: var(--navy); padding: 7px 10px; border-radius: 999px; font-size: 12px; white-space: nowrap; }
.inventory-table-wrap table { min-width: 980px; }
.inventory-table-wrap td small { color: var(--muted); }

@media (max-width: 900px) {
  .inventory-admin-title { display: block; }
  .inventory-title-actions { justify-content: flex-start; margin-top: 14px; }
  .inventory-toolbar { grid-template-columns: 1fr 1fr; }
  .inventory-toolbar-count { border-left: 0; border-top: 1px solid var(--border); grid-column: 1 / -1; padding-left: 0; }
  .csv-help { align-items: flex-start; flex-direction: column; }
  .csv-help-actions { justify-content: flex-start; }
}
@media (max-width: 560px) {
  .inventory-title-actions { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .inventory-title-actions .btn { width: 100%; padding-left: 10px; padding-right: 10px; }
  .inventory-toolbar { grid-template-columns: 1fr; }
  .inventory-toolbar-count { grid-column: auto; }
}

/* Product multi-image gallery and admin image management */
.product-detail-section { padding-top: 44px; }
.product-detail-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 48px; align-items: start; }
.product-gallery-viewer { min-width: 0; }
.product-main-image { border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: #fff; min-height: 460px; display: grid; place-items: center; }
.product-main-image img { width: 100%; height: 100%; max-height: 620px; object-fit: contain; display: block; }
.product-thumb-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 10px; margin-top: 14px; }
.product-thumb { appearance: none; border: 2px solid transparent; border-radius: 14px; background: #fff; padding: 4px; cursor: pointer; overflow: hidden; transition: border-color .2s ease, transform .2s ease; }
.product-thumb:hover { transform: translateY(-2px); }
.product-thumb.active { border-color: var(--gold-500, #d9a928); }
.product-thumb img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 9px; display: block; }
.product-detail-info h1 { margin: 10px 0 14px; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.02; }
.product-detail-price { margin: 18px 0; font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 1.8rem; color: var(--navy-900); }
.product-detail-price del { margin-left: 10px; color: var(--muted); font-size: 1rem; font-weight: 600; }
.product-identity { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0; }
.product-identity span { display: grid; gap: 2px; padding: 9px 12px; border-radius: 12px; background: var(--surface); color: var(--muted); font-size: .84rem; }
.product-identity strong { color: var(--navy-900); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; }
.product-buy-row { display: flex; align-items: stretch; gap: 12px; margin-top: 24px; }
.product-service-notes { display: grid; gap: 10px; margin-top: 24px; }
.product-service-notes > div { display: grid; gap: 4px; padding: 14px 16px; background: var(--surface); border-radius: 14px; }
.product-service-notes span { color: var(--muted); }
.product-spec-card { margin-top: 42px; padding: 28px; }
.product-spec-card h2 { margin-top: 0; }
.product-spec-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.product-spec-grid > div { display: flex; justify-content: space-between; gap: 18px; padding: 13px 14px; border-radius: 12px; background: var(--surface); }
.product-spec-grid span { color: var(--muted); }
.product-spec-grid strong { text-align: right; }
.product-images-panel { padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.product-images-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.product-images-heading > div { display: grid; gap: 4px; }
.product-images-heading span { color: var(--muted); font-size: .85rem; }
.image-count-badge { white-space: nowrap; padding: 6px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--navy-900) !important; font-weight: 800; }
.checkbox-line { display: flex !important; align-items: center; gap: 9px; cursor: pointer; }
.checkbox-line input { width: auto; }
.admin-product-image-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px,1fr)); gap: 12px; }
.admin-product-image-preview { position: relative; overflow: hidden; border-radius: 14px; border: 1px solid var(--line); background: #fff; }
.admin-product-image-preview img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; }
.admin-product-image-preview span { position: absolute; left: 7px; bottom: 7px; border-radius: 999px; background: rgba(3,18,48,.84); color: #fff; padding: 4px 8px; font-size: .7rem; font-weight: 800; }
@media (max-width: 860px) {
  .product-detail-grid { grid-template-columns: 1fr; gap: 28px; }
  .product-main-image { min-height: 320px; }
  .product-thumb-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .product-spec-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .product-detail-section { padding-top: 26px; }
  .product-main-image { min-height: 280px; border-radius: 18px; }
  .product-thumb-grid { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 8px; }
  .product-detail-info h1 { font-size: 2rem; }
  .product-buy-row { flex-direction: column; }
  .product-buy-row .qty { width: max-content; }
  .admin-product-image-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}

/* Branding and website image manager */
.branding-admin-title { align-items: flex-start; }
.branding-info { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:20px 22px; margin-bottom:24px; }
.branding-info strong { display:block; color:var(--navy-900); margin-bottom:4px; }
.branding-info p { margin:0; color:var(--muted); }
.branding-info > span { flex:0 0 auto; padding:8px 12px; border-radius:999px; background:#eef3fb; color:var(--navy-800); font-size:.76rem; font-weight:800; }
.branding-form { display:grid; gap:28px; padding-bottom:92px; }
.branding-group { display:grid; gap:16px; }
.branding-group-head h2 { margin:0 0 5px; color:var(--navy-900); font-size:1.28rem; }
.branding-group-head p { margin:0; color:var(--muted); max-width:780px; }
.branding-asset-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.branding-asset-card { overflow:hidden; min-width:0; }
.branding-preview-wrap { position:relative; display:grid; place-items:center; min-height:190px; padding:18px; background:#f4f7fb; border-bottom:1px solid var(--line); }
.branding-preview-wrap > span { position:absolute; left:12px; top:12px; z-index:2; padding:5px 9px; border-radius:999px; background:rgba(3,18,48,.84); color:#fff; font-size:.68rem; font-weight:800; }
.branding-preview-wrap img { width:100%; height:160px; object-fit:contain; border-radius:12px; background:#fff; }
.branding-asset-body { padding:17px; display:grid; gap:12px; }
.branding-asset-body h3 { margin:0; font-size:1rem; color:var(--navy-900); }
.branding-asset-body > p { margin:-5px 0 2px; min-height:38px; color:var(--muted); font-size:.8rem; line-height:1.5; }
.branding-asset-body .field { min-width:0; }
.branding-asset-body input[type="text"], .branding-asset-body input:not([type]) { width:100%; }
.branding-asset-body input[type="file"] { width:100%; font-size:.76rem; }
.branding-save-bar { position:sticky; bottom:14px; z-index:12; display:flex; align-items:center; justify-content:space-between; gap:20px; padding:16px 18px; border:1px solid rgba(255,255,255,.55); border-radius:18px; background:rgba(255,255,255,.94); box-shadow:0 18px 48px rgba(3,18,48,.16); backdrop-filter:blur(14px); }
.branding-save-bar > div { display:grid; gap:3px; }
.branding-save-bar strong { color:var(--navy-900); }
.branding-save-bar span { color:var(--muted); font-size:.8rem; }

@media (max-width: 1180px) {
  .branding-asset-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width: 720px) {
  .branding-info { display:grid; }
  .branding-info > span { justify-self:start; white-space:normal; }
  .branding-asset-grid { grid-template-columns:1fr; }
  .branding-preview-wrap { min-height:170px; }
  .branding-preview-wrap img { height:145px; }
  .branding-save-bar { bottom:8px; align-items:stretch; flex-direction:column; }
  .branding-save-bar .btn { width:100%; }
}

/* Product storefront restoration: equal KREXCO product cards */
.shop-products,.product-grid { align-items:stretch; }
.product-card.storefront-card {
  min-width:0;
  height:100%;
  overflow:hidden;
  border:1px solid rgba(9,22,52,.09);
  border-radius:20px;
  background:#fff;
  box-shadow:0 10px 28px rgba(7,19,44,.08);
  transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease;
}
.product-card.storefront-card:hover {
  transform:translateY(-6px);
  box-shadow:0 18px 42px rgba(7,19,44,.14);
  border-color:rgba(9,22,52,.13);
}
.storefront-card .product-image-wrap { position:relative; background:#f2f5f9; }
.storefront-card .product-image {
  display:block;
  padding:0;
  overflow:hidden;
  border-radius:0;
  background:#f2f5f9;
}
.storefront-card .product-image img {
  display:block;
  width:100%;
  aspect-ratio:4/3;
  height:auto;
  object-fit:contain;
  padding:15px;
  transition:transform .38s ease;
}
.storefront-card:hover .product-image img { transform:scale(1.045); }
.storefront-card .product-info {
  display:flex;
  flex:1;
  flex-direction:column;
  padding:17px 17px 18px;
}
.storefront-card .product-category { margin:0; color:var(--gold-600); font-size:.67rem; font-weight:800; letter-spacing:.07em; text-transform:uppercase; }
.storefront-card .product-name { margin-top:7px; color:var(--navy-900); font-size:.93rem; font-weight:800; line-height:1.35; }
.storefront-card .product-price { margin-top:12px; }
.storefront-card .product-price strong { color:var(--navy-900); font-family:'Montserrat','Manrope',sans-serif; font-size:1rem; font-weight:800; }
.storefront-card .product-meta { margin-top:10px; }
.storefront-card .card-stock { margin:11px 0 0; font-size:.72rem; font-weight:700; }
.storefront-card .stock-in_stock { color:#18794e; }
.storefront-card .stock-available_to_order,.storefront-card .stock-enquiry { color:#5a677a; }
.storefront-card .stock-preorder { color:#9a6500; }
.storefront-card .stock-out_of_stock { color:#b42318; }
.storefront-card .card-purchase-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin-top:auto; padding-top:16px; }
.storefront-card .card-purchase-actions .btn { min-height:40px; width:100%; padding:0 9px; border-radius:10px; font-size:.72rem; }
.product-detail-availability { margin:12px 0 18px; font-weight:800; }
.product-detail-availability.stock-in_stock { color:#18794e; }
.product-detail-availability.stock-preorder { color:#9a6500; }
.product-detail-availability.stock-out_of_stock { color:#b42318; }
.product-detail-availability.stock-available_to_order,.product-detail-availability.stock-enquiry { color:#5a677a; }

@media (max-width:700px) {
  .shop-mobile-two,.shop-products,#shop-products,.product-grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:14px 10px !important; }
  .product-card.storefront-card { border-radius:14px; }
  .storefront-card .product-image img { aspect-ratio:1/1; padding:8px; }
  .storefront-card .product-info { padding:11px 10px 12px; }
  .storefront-card .product-name { font-size:.72rem; line-height:1.3; }
  .storefront-card .product-category { font-size:.52rem; }
  .storefront-card .product-price strong { font-size:.72rem; }
  .storefront-card .product-meta { gap:4px; }
  .storefront-card .product-meta span { padding:3px 5px; font-size:.5rem; }
  .storefront-card .card-stock { font-size:.55rem; }
  .storefront-card .card-purchase-actions { grid-template-columns:1fr; gap:6px; padding-top:11px; }
  .storefront-card .card-purchase-actions .btn { min-height:34px; font-size:.58rem; border-radius:8px; }
}

/* Product variants and price-basis information */
.product-price-note,
.product-detail-price-note {
  margin-top: 6px;
  color: #8a5d00;
  font-size: .82rem;
  font-weight: 800;
  line-height: 1.35;
}
.product-detail-price-note {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff7dc;
  border: 1px solid #f0d989;
  margin-top: -8px;
  margin-bottom: 16px;
}
.product-detail-price-note.is-empty { display: none; }
.product-option-count {
  margin-top: 8px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
}
.product-option-picker {
  display: grid;
  gap: 8px;
  margin: 18px 0 8px;
  max-width: 470px;
}
.product-option-picker label {
  font-weight: 800;
  color: var(--navy-900);
}
.product-option-picker select {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 14px;
  background: #fff;
  color: var(--navy-900);
  font: inherit;
  font-weight: 700;
}
.cart-option-label { margin: 5px 0 0; font-size: .88rem; color: var(--navy-900); }
.cart-price-note { margin: 3px 0 8px; font-size: .78rem; color: #8a5d00; font-weight: 700; }
.product-options-admin textarea { min-height: 132px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .84rem; }

@media (max-width: 640px) {
  .product-price-note { font-size: .67rem; }
  .product-option-count { font-size: .66rem; }
  .product-detail-price-note { font-size: .75rem; }
}
