: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;
  }
}

/* BlakMartian-style inventory tools */
.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:18px}
.inventory-toolbar .field{margin:0}.inventory-summary{display:flex;flex-direction:column;justify-content:center;min-width:120px;padding:9px 4px}.inventory-summary strong{font-size:1.65rem;color:var(--navy-900)}.inventory-summary span{font-size:.82rem;color:var(--muted)}
.csv-import-preview{margin-top:22px;padding:22px}.csv-preview-stats{display:flex;gap:12px;flex-wrap:wrap;margin:0 0 18px}.csv-preview-stats span{border:1px solid var(--line);border-radius:12px;padding:10px 14px;background:#fff}.csv-preview-stats strong{font-size:1.1rem;margin-right:4px}.csv-import-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.text-danger{color:#b42318}
@media(max-width:900px){.inventory-toolbar{grid-template-columns:1fr 1fr}.inventory-summary{grid-column:1/-1}.admin-title .admin-quick{width:100%}}
@media(max-width:600px){.inventory-toolbar{grid-template-columns:1fr}.inventory-summary{grid-column:auto}.admin-title .admin-quick{display:grid;grid-template-columns:1fr 1fr;width:100%}.admin-title .admin-quick .btn{width:100%}.csv-import-actions{flex-direction:column}.csv-import-actions .btn{width:100%}}

/* v20260826: Site-wide search */
.site-search-strip{
  background:#fff;
  border-bottom:1px solid rgba(9,22,52,.08);
  position:relative;
  z-index:40;
}
.site-search-container{padding-top:10px;padding-bottom:10px}
.site-search-form{position:relative;display:flex;align-items:center;max-width:900px;margin:0 auto}
.site-search-icon{position:absolute;left:16px;top:50%;transform:translateY(-50%);display:grid;place-items:center;color:#637086;pointer-events:none}
.site-search-icon svg{width:19px;height:19px}
.site-search-form input{
  width:100%;height:46px;border:1px solid #dce3ec;border-radius:999px;background:#f7f9fc;
  padding:0 108px 0 46px;font:inherit;color:var(--navy-900);outline:none;transition:.2s ease;
}
.site-search-form input:focus{border-color:#c59624;background:#fff;box-shadow:0 0 0 4px rgba(216,169,47,.12)}
.site-search-submit{
  position:absolute;right:5px;top:5px;height:36px;padding:0 18px;border:0;border-radius:999px;background:var(--navy-900);
  color:#fff;font-weight:800;cursor:pointer
}
.site-search-suggestions{
  position:absolute;left:0;right:0;top:54px;background:#fff;border:1px solid #e0e6ee;border-radius:18px;
  box-shadow:0 24px 60px rgba(8,25,54,.18);overflow:hidden;z-index:1000;max-height:480px;overflow-y:auto
}
.search-suggestion{display:grid;grid-template-columns:54px 1fr;gap:12px;align-items:center;padding:11px 14px;border-bottom:1px solid #edf1f5;color:inherit}
.search-suggestion:hover{background:#f7f9fc}
.search-suggestion img,.search-suggestion-icon{width:54px;height:54px;border-radius:10px;background:#eef3f8;object-fit:contain;padding:4px;display:grid;place-items:center}
.search-suggestion-icon svg{width:22px;height:22px;color:#68768d}
.search-suggestion span:last-child{min-width:0;display:grid;gap:2px}
.search-suggestion small{font-size:.68rem;color:#9b7014;font-weight:800;text-transform:uppercase;letter-spacing:.05em}
.search-suggestion strong{font-size:.9rem;color:var(--navy-900);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.search-suggestion em{font-style:normal;font-size:.76rem;color:#738095;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.search-all-link{display:flex;align-items:center;justify-content:center;gap:7px;padding:13px 16px;color:var(--navy-900);font-weight:800;background:#fbfcfe}
.search-all-link svg{width:17px;height:17px}
.search-no-results{padding:20px;color:#667085;text-align:center;font-size:.9rem}
.search-page-hero{padding:64px 0 46px;background:linear-gradient(135deg,#08142f,#132f62);color:#fff}
.search-page-hero h1{color:#fff;margin:8px 0 24px;font-size:clamp(2.3rem,5vw,4.8rem)}
.search-page-form{position:relative;display:flex;gap:10px;max-width:900px}
.search-page-form>span{position:absolute;left:18px;top:50%;transform:translateY(-50%);display:grid;color:#718096}
.search-page-form>span svg{width:20px;height:20px}
.search-page-form input{flex:1;min-width:0;height:56px;border:0;border-radius:15px;padding:0 16px 0 50px;font:inherit;outline:none}
.search-page-form .btn{min-width:120px}
.search-count{margin:16px 0 0;color:#dce5f5}
.search-count strong{color:#f0c354}
.search-info-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.search-info-card{display:block;padding:24px;color:inherit;transition:.2s ease}
.search-info-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-md)}
.search-info-card>span{font-size:.68rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em;color:#a67611}
.search-info-card h3{margin:9px 0 10px;color:var(--navy-900)}
.search-info-card p{color:#69768a;font-size:.9rem}
.search-info-card>strong{display:flex;align-items:center;gap:7px;margin-top:18px;color:var(--navy-900);font-size:.82rem}
.search-info-card>strong svg{width:16px;height:16px}
.search-empty-icon{width:64px;height:64px;margin:0 auto 14px;border-radius:50%;display:grid;place-items:center;background:#eef3f8;color:#536783}
.search-empty-icon svg{width:28px;height:28px}

/* v20260826: Dedicated product catalogue page */
.product-detail-breadcrumb{padding:22px 0 0;background:#fff}
.product-page-section{padding-top:34px}
.product-detail{align-items:start}
.product-detail-gallery{display:grid;gap:16px}
.product-detail-image{border-radius:24px;background:#f5f7fa;border:1px solid #e4e9f0;padding:24px}
.product-detail-image img{display:block;width:100%;aspect-ratio:1/1;object-fit:contain;background:#fff;border-radius:17px}
.product-detail-assurance{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.product-detail-assurance span{display:flex;gap:8px;align-items:center;padding:11px 12px;border:1px solid #e2e7ed;border-radius:12px;background:#fff;color:#40506a;font-size:.73rem}
.product-detail-assurance svg{width:18px;height:18px;color:#b98616;flex:0 0 auto}
.product-detail-copy{padding-top:5px}
.product-detail-copy h1{margin:10px 0 16px;font-size:clamp(2rem,4vw,3.7rem);line-height:1.04;color:var(--navy-900)}
.product-identity{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 20px}
.product-identity span{display:grid;gap:2px;padding:9px 12px;border-radius:12px;background:#f3f6fa;border:1px solid #e5eaf0}
.product-identity small{font-size:.62rem;text-transform:uppercase;letter-spacing:.06em;color:#7c8798}
.product-identity strong{font-size:.82rem;color:#23314b}
.product-detail-price{display:flex;align-items:center;gap:12px;margin:6px 0}
.product-detail-price strong{font-size:1.8rem;color:var(--navy-900)}
.product-detail-price del{color:#9ba5b3}
.product-detail-stock{margin:7px 0 18px;color:#287149;font-weight:800;font-size:.88rem}
.product-detail-stock.out{color:#b42318}
.product-detail-description{font-size:1rem;line-height:1.8;color:#5f6c80;margin:0 0 18px}
.product-detail-tags{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:22px}
.product-detail-tags span{padding:7px 10px;border-radius:999px;background:#eef3f8;color:#55647a;font-size:.75rem;font-weight:700}
.product-detail-actions{display:grid;gap:10px;max-width:620px}
.product-detail-actions>.btn{width:100%}
.detail-cart-row{display:flex;gap:10px;align-items:stretch}
.detail-cart-row>.btn{flex:1}
.product-detail-qty{height:50px}
.product-detail-qty input{height:48px}
.product-information-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,.75fr);gap:34px;align-items:start}
.product-information-section .spec-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:22px 0 0}
.spec-item{display:grid;gap:6px;padding:15px 16px;border-radius:14px;background:#fff;border:1px solid #e4e9f0}
.spec-item span{font-size:.68rem;text-transform:uppercase;letter-spacing:.06em;color:#7e899a;font-weight:800}
.spec-item strong{font-size:.88rem;color:#22314b;line-height:1.45}
.product-service-card{padding:24px}
.product-service-card h3{margin-bottom:16px;color:var(--navy-900)}
.product-service-row{display:grid;gap:4px;padding:13px 0;border-bottom:1px solid #e7ebf0}
.product-service-row span{font-size:.7rem;text-transform:uppercase;letter-spacing:.05em;color:#8a94a4;font-weight:800}
.product-service-row strong{font-size:.84rem;line-height:1.5;color:#34445e}
.product-service-card .btn{width:100%;margin-top:18px}
.related-head{display:flex;align-items:end;justify-content:space-between;gap:20px}
.related-head>div{max-width:700px}
.related-head p{color:#6d798c;margin:7px 0 0}
.product-card-linked .product-image,.product-card-linked .product-name,.product-card-linked .details-link{cursor:pointer}

@media(max-width:980px){
  .search-info-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .product-information-grid{grid-template-columns:1fr}
  .product-detail-assurance{grid-template-columns:1fr}
}
@media(max-width:820px){
  .site-search-container{padding-top:8px;padding-bottom:8px}
  .site-search-form input{height:44px;padding-right:50px;font-size:.84rem}
  .site-search-submit{width:36px;height:34px;right:5px;padding:0;font-size:0}
  .site-search-submit:after{content:'→';font-size:1rem}
  .site-search-suggestions{top:51px;border-radius:14px}
  .search-page-hero{padding:42px 0 34px}
  .search-page-form{display:grid;grid-template-columns:1fr}
  .search-page-form .btn{width:100%}
  .search-page-form>span{top:28px}
  .search-info-grid{grid-template-columns:1fr}
  .product-page-section{padding-top:24px}
  .product-detail-image{padding:14px}
  .product-detail-copy h1{font-size:2.15rem}
  .product-information-section .spec-grid{grid-template-columns:1fr}
  .related-head{align-items:start;flex-direction:column}
  .detail-cart-row{display:grid;grid-template-columns:132px 1fr}
}
@media(max-width:480px){
  .site-search-form input{font-size:.78rem;padding-left:42px}
  .site-search-icon{left:14px}
  .search-suggestion{grid-template-columns:45px 1fr;padding:9px 10px}
  .search-suggestion img,.search-suggestion-icon{width:45px;height:45px}
  .detail-cart-row{grid-template-columns:1fr}
  .product-detail-qty{width:132px}
}
.product-card-linked{cursor:pointer}
.product-card-linked:focus-visible{outline:3px solid rgba(216,169,47,.45);outline-offset:5px;border-radius:18px}

/* CMS 20260827 */
.cms-form{display:grid;gap:22px;padding-bottom:90px}.cms-section{padding:24px}.cms-section-head{margin-bottom:20px;padding-bottom:16px;border-bottom:1px solid #e6e8ef}.cms-section-head h2{margin:4px 0 0}.cms-note{padding:18px 20px;display:flex;gap:12px;margin-bottom:22px}.cms-note span{color:#667085}.cms-image-field{border-top:1px solid #e6e8ef;padding-top:18px}.cms-image-row{display:grid;grid-template-columns:160px 1fr;gap:18px;align-items:center;margin-top:8px}.cms-image-preview{height:105px;border:1px solid #e6e8ef;border-radius:14px;overflow:hidden;background:#f4f6fa;display:grid;place-items:center}.cms-image-preview img{width:100%;height:100%;object-fit:contain}.cms-image-controls{display:grid;gap:10px}.cms-upload-label{display:inline-flex;align-items:center;justify-content:center;width:max-content;padding:9px 13px;border:1px solid #d7dce8;border-radius:10px;font-weight:700;cursor:pointer;background:#fff}.cms-upload-label input{display:none}.cms-image-controls small{color:#667085}.cms-savebar{position:sticky;bottom:0;z-index:5;display:flex;justify-content:space-between;align-items:center;gap:20px;background:rgba(255,255,255,.96);backdrop-filter:blur(10px);border:1px solid #e6e8ef;border-radius:16px;padding:14px 18px;box-shadow:0 12px 35px rgba(9,22,52,.12)}.cms-savebar span{color:#667085;font-size:.92rem}.footer-social{margin-top:16px;display:flex;gap:12px;flex-wrap:wrap}@media(max-width:700px){.cms-image-row{grid-template-columns:1fr}.cms-image-preview{height:160px}.cms-savebar{flex-direction:column;align-items:stretch}.cms-savebar .btn{width:100%}.cms-note{flex-direction:column}}

/* Build 20260909-1135: Admin password recovery and security */
.auth-helper-row{display:flex;justify-content:space-between;align-items:center;margin-top:10px;font-size:.92rem}
.auth-helper-row a,.password-reset-link{color:var(--navy-700);font-weight:800;text-decoration:none}
.auth-helper-row a:hover,.password-reset-link:hover{text-decoration:underline}
.password-input-wrap{position:relative;display:flex;align-items:center}
.password-input-wrap input{padding-right:70px;width:100%}
.password-toggle{position:absolute;right:8px;border:0;background:transparent;color:var(--navy-700);font-weight:800;cursor:pointer;padding:8px 10px}
.auth-recovery-page .admin-login-card h2{margin-bottom:8px}
.auth-recovery-page .eyebrow{display:block;margin-bottom:8px;text-align:center}
.auth-security-copy{font-size:.8rem;color:var(--muted);text-align:center;margin:16px 0 0}
.auth-success-icon{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;margin:0 auto 18px;background:#e9f8ef;color:#14804a;font-size:1.6rem;font-weight:900}
.auth-status-card{text-align:center}
.password-rules{display:grid;gap:5px;margin-top:16px;padding:14px 16px;border-radius:12px;background:#f5f7fb;color:var(--muted);font-size:.86rem}
.password-rules strong{color:var(--navy-900);margin-bottom:2px}
.password-reset-link{display:inline-block;margin-top:16px;font-size:.9rem}
.admin-settings-grid{align-items:start}
@media(max-width:700px){.auth-helper-row{font-size:.86rem}.admin-login-card{padding:24px}.admin-settings-grid{grid-template-columns:1fr}}

/* Security build 2026-09-09 */
.mfa-enroll-box{margin-top:18px;padding:16px;border:1px solid rgba(9,22,52,.12);border-radius:14px;background:#fff}
.mfa-enroll-box img{display:block;max-width:220px;width:100%;margin:0 auto 14px}
.mfa-enroll-box code{display:block;word-break:break-all;padding:10px;border-radius:8px;background:#f4f6fa}
.tracking-token{word-break:break-all;font-family:ui-monospace,SFMono-Regular,Consolas,monospace}


/* Reliable image rendering for homepage slider */
.hero.hero-image-only .hero-slide {
  background-image: none !important;
  background: #07152f !important;
}
.hero-slide-picture,
.hero-slide-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.hero-slide-picture { overflow: hidden; }
.hero-slide-image {
  object-fit: cover;
  object-position: center center;
}
@media (max-width: 820px) {
  .hero-slide-image { object-fit: cover; object-position: center center; }
}
img { max-width: 100%; }


/* Flexible inventory fields */
.product-form-section{border:1px solid var(--border,#e3e7ef);border-radius:18px;padding:22px;margin-top:18px;background:#fff}
.product-form-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}
.product-form-section-head h3{margin:4px 0 4px}.product-form-section-head p{margin:0;color:var(--muted,#687086)}
.flexible-product-section{background:#fbfcff}.dynamic-fields-list{display:grid;gap:12px}
.dynamic-field-row{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) auto;gap:12px;align-items:end;border:1px solid var(--border,#e3e7ef);border-radius:14px;padding:14px;background:#fff}
.dynamic-field-row .field{margin:0}.dynamic-remove{margin-bottom:2px}.dynamic-empty{margin:0;padding:16px;border:1px dashed var(--border,#d7dce7);border-radius:12px;color:var(--muted,#687086);text-align:center}
.product-editor-savebar{position:sticky;bottom:0;display:flex;justify-content:flex-end;padding:16px 0 0;background:linear-gradient(transparent,#fff 24%);z-index:3}
.package-options-public{display:grid;gap:8px;margin:18px 0;padding:16px;border:1px solid var(--border,#e1e6ef);border-radius:14px;background:#f8faff}
.package-options-public>strong{font-size:.82rem;text-transform:uppercase;letter-spacing:.08em;color:var(--muted,#657087)}
.package-option-public{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 12px;background:#fff;border-radius:10px;border:1px solid var(--border,#e3e7ef)}
.package-option-public span{font-weight:600}.package-option-public strong{white-space:nowrap}
@media(max-width:760px){.product-form-section{padding:16px}.product-form-section-head{display:block}.product-form-section-head .btn{margin-top:12px}.dynamic-field-row{grid-template-columns:1fr}.dynamic-remove{justify-self:end}.product-editor-savebar .btn{width:100%}}

/* MFA setup repair */
.mfa-enroll-box{margin-top:18px}.mfa-qr-image{display:block;width:min(280px,100%);height:auto;margin:18px auto;background:#fff;padding:12px;border-radius:14px}.mfa-enroll-box code{display:block;overflow-wrap:anywhere;word-break:break-all;padding:12px;border-radius:10px;background:#f3f6fb;color:#17336f}.mfa-enroll-box form{margin-top:18px}


/* Package-specific cart actions */
.package-option-public{display:grid;grid-template-columns:minmax(90px,1fr) auto auto;align-items:center;gap:12px}
.package-option-public .package-option-label{font-weight:700}
.package-option-public .package-option-price{min-width:110px;text-align:right}
.package-option-public .package-add-cart{white-space:nowrap;min-width:132px;justify-content:center}
.package-option-public .package-add-cart svg{width:17px;height:17px}
.cart-package-label{margin:6px 0 10px;color:var(--muted,#657087);font-size:.9rem}
@media(max-width:640px){
  .package-option-public{grid-template-columns:1fr auto;gap:8px 10px}
  .package-option-public .package-option-price{text-align:right;min-width:0}
  .package-option-public .package-add-cart,.package-option-public>a.btn{grid-column:1/-1;width:100%;min-width:0}
}

/* Pre-order product mode */
.product-badge.preorder,.preorder-pill{background:#eef2ff;color:#132a63;border:1px solid #cfd8f2}.preorder-pill{display:inline-flex;align-items:center;width:max-content;padding:7px 12px;border-radius:999px;font-weight:800;font-size:.78rem;margin:10px 0 2px}.cart-preorder-label{display:inline-flex;margin:7px 0 10px;padding:5px 9px;border-radius:999px;background:#eef2ff;color:#132a63;font-size:.75rem;font-weight:800}.package-option-public .btn{white-space:nowrap}


/* Order management and customer tracking */
.orders-admin-list{display:grid;gap:16px}.order-admin-card{overflow:hidden}.order-admin-card>summary{list-style:none;cursor:pointer;padding:20px 24px;display:flex;align-items:center;justify-content:space-between;gap:20px}.order-admin-card>summary::-webkit-details-marker{display:none}.order-admin-card>summary>div:first-child{display:grid;gap:5px}.order-admin-card>summary small{color:var(--muted,#68738c)}.order-summary-right{display:flex;gap:14px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.order-type-pill{display:inline-flex;width:max-content;padding:5px 10px;border-radius:999px;background:#e9f5ef;color:#17634d;font-weight:800;font-size:.75rem;text-transform:uppercase;letter-spacing:.06em}.order-type-pill.preorder{background:#fff3d2;color:#8b5d00}.order-admin-body{padding:0 24px 24px;border-top:1px solid #e7ebf2}.order-detail-panel{margin-top:20px}.order-item-line{display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid #edf0f5}.order-item-line:last-child{border-bottom:0}.order-item-line>span:first-child{display:grid;gap:3px}.order-item-line>span:last-child{text-align:right}.order-progress-form{margin-top:20px}.order-history-admin{display:grid;gap:16px}.order-history-row{display:grid;grid-template-columns:14px 1fr;gap:12px;position:relative}.history-dot,.tracking-step-dot{width:12px;height:12px;border-radius:50%;background:#dfb43c;margin-top:5px;box-shadow:0 0 0 4px #fff4d5}.order-history-row>div{display:grid;gap:4px}.order-history-row small,.order-history-row span{color:#68738c}.notification-list{display:grid;gap:14px}.notification-card{padding:20px;display:flex;justify-content:space-between;gap:24px;align-items:flex-start}.notification-card.unread{border-left:4px solid #d7a62f}.notification-card h3{margin:5px 0}.notification-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center;justify-content:flex-end}.provider-note{display:block;margin-top:14px}.check-row{display:flex;align-items:center;gap:9px;margin-top:12px}.tracking-card{max-width:850px}.tracking-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.tracking-summary{margin:18px 0}.tracking-current-note{padding:16px;border-radius:14px;background:#fff8e8;margin:16px 0}.tracking-current-note p{margin:6px 0 0}.tracking-items{margin-bottom:22px}.tracking-timeline{display:grid;gap:0;margin-top:16px}.tracking-step{display:grid;grid-template-columns:18px 1fr;gap:14px;padding-bottom:22px;position:relative}.tracking-step:not(:last-child):before{content:"";position:absolute;left:5px;top:16px;bottom:0;width:2px;background:#e5e9f0}.tracking-step.current .tracking-step-dot{background:#1d795e;box-shadow:0 0 0 4px #ddf4ec}.tracking-step>div{display:grid;gap:5px}.tracking-step small,.tracking-step span{color:#68738c}@media(max-width:760px){.order-admin-card>summary,.notification-card{align-items:flex-start;flex-direction:column}.order-summary-right,.notification-actions{justify-content:flex-start}.order-admin-body{padding:0 14px 18px}.tracking-head{flex-direction:column}.order-item-line{font-size:.92rem}}


/* Store card sizing, KREXCO gold preorder actions, and price/shipping labels */
.shop-products,
.product-grid.related-product-grid {
  align-items: stretch;
  grid-auto-rows: 1fr;
}
.product-card.storefront-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.storefront-card .product-category {
  min-height: 1.25em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.storefront-card .product-name {
  min-height: 2.7em;
  max-height: 2.7em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.storefront-card .product-price {
  min-height: 32px;
}
.storefront-card .product-price strong {
  font-family: "DM Sans", Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.storefront-card .product-meta {
  min-height: 25px;
  max-height: 25px;
  overflow: hidden;
}
.storefront-card .card-stock {
  min-height: 1.5em;
}
.storefront-card .details-link {
  min-height: 1.5em;
}
.storefront-card .card-purchase-actions {
  margin-top: auto;
  padding-top: 14px;
}
.shipping-price-note {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  margin-top: 7px;
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 999px;
  font-family: "DM Sans", Arial, Helvetica, sans-serif;
  font-size: .62rem;
  font-weight: 800;
  line-height: 1;
}
.shipping-price-note.plus { background: #fff3d2; color: #845900; }
.shipping-price-note.included { background: #e7f6ed; color: #17634d; }
.shipping-price-note.pending { background: #eef2f7; color: #5c6678; }
.shipping-price-note.detail { margin: 0 0 10px; font-size: .78rem; padding: 7px 11px; }
.btn-preorder {
  color: var(--navy-950) !important;
  border-color: #d6a63b !important;
  background: #d6a63b !important;
  box-shadow: 0 10px 24px rgba(214,166,59,.18);
}
.btn-preorder:hover {
  background: #d6a63b !important;
  filter: brightness(0.98);
}
.product-badge.preorder,
.preorder-pill {
  background: #fff3d2;
  color: #795000;
  border-color: #e5c66d;
}
.admin-price-shipping {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: .68rem;
  font-weight: 700;
}
@media(max-width:760px){
  .storefront-card .product-price strong { font-size: .95rem; }
  .shipping-price-note { font-size: .58rem; }
}

/* Build 20260915: menu search, CSV list modes, consultancy, and product quick view */
.dropdown-panel{width:min(920px,86vw);grid-template-columns:repeat(4,minmax(0,1fr))}
.division-card.consultancy{background:linear-gradient(145deg,#0b1a39,#234d88)}
.menu-search-form{position:relative;display:flex;align-items:center;width:190px;height:44px;border:1px solid rgba(9,22,52,.12);border-radius:14px;background:#f7f9fc;transition:.2s ease}
.menu-search-form>span{display:grid;place-items:center;margin-left:12px;color:#68758a}.menu-search-form>span svg{width:17px;height:17px}
.menu-search-form input{width:100%;height:100%;min-width:0;border:0;background:transparent;outline:0;padding:0 38px 0 9px;font:inherit;font-size:.82rem;color:var(--navy-900)}
.menu-search-form>button{position:absolute;right:4px;width:34px;height:34px;border:0;border-radius:10px;background:var(--navy-900);color:#fff;display:grid;place-items:center;cursor:pointer}.menu-search-form>button svg{width:16px;height:16px}
.menu-search-form:focus-within{width:260px;background:#fff;border-color:#d6a63b;box-shadow:0 0 0 3px rgba(214,166,59,.12)}
.menu-search-suggestions{top:50px;left:auto;right:0;width:min(520px,82vw)}
.csv-mode-panel{display:grid;grid-template-columns:minmax(170px,.7fr) minmax(300px,1.3fr);gap:14px 18px;padding:18px;margin-bottom:18px;align-items:center}.csv-mode-panel>div:nth-child(odd){display:grid;gap:3px}.csv-mode-panel>div:nth-child(odd) span{font-size:.82rem;color:var(--muted)}.csv-mode-buttons{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.admin-view-product{white-space:nowrap}
.admin-quickview-backdrop{position:fixed;inset:0;z-index:5000;background:rgba(5,14,33,.72);backdrop-filter:blur(5px);display:grid;place-items:center;padding:24px;overflow:auto}
.admin-product-quickview{width:min(920px,96vw);max-height:92vh;overflow:auto;padding:24px;background:#fff}.quickview-grid{display:grid;grid-template-columns:minmax(260px,.9fr) 1.1fr;gap:26px}.quickview-image{border-radius:18px;background:#f3f6fb;overflow:hidden;min-height:300px;display:grid;place-items:center}.quickview-image img{width:100%;height:100%;max-height:430px;object-fit:contain}.quickview-info{display:grid;align-content:start}.quickview-badges{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:10px}.quickview-info h4,.quickview-description h4{margin:18px 0 7px}.quickview-description{border-top:1px solid var(--line);margin-top:22px;padding-top:18px}.quickview-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:22px}
@media(max-width:1180px){.menu-search-form{width:150px}.menu-search-form:focus-within{width:200px}.nav-links{gap:18px}}
@media(max-width:980px){.menu-search-form{display:none}.dropdown-panel{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.csv-mode-panel{grid-template-columns:1fr}.csv-mode-buttons{justify-content:flex-start}.quickview-grid{grid-template-columns:1fr}.admin-product-quickview{padding:18px}.quickview-image{min-height:220px}}
/* Compact search button in the desktop menu, expands when focused */
.menu-search-form{width:46px;min-width:46px;overflow:visible}
.menu-search-form>span{position:absolute;left:0;margin-left:13px;z-index:2;transition:.2s ease}
.menu-search-form input{opacity:0;padding-left:40px;padding-right:40px;cursor:pointer;transition:opacity .15s ease}
.menu-search-form>button{opacity:0;pointer-events:none;transition:opacity .15s ease}
.menu-search-form:focus-within{width:250px;min-width:250px}
.menu-search-form:focus-within input{opacity:1;cursor:text}
.menu-search-form:focus-within>button{opacity:1;pointer-events:auto}

/* Build 20260915: framed storefront cards with hover lift and zoom */
.product-card.storefront-card {
  position: relative;
  overflow: hidden;
  padding: 14px 16px 16px;
  border: 1px solid rgba(9,22,52,.10);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(9,22,52,.07);
  transform: translateY(0) scale(1);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  will-change: transform;
}
.product-card.storefront-card:hover {
  z-index: 3;
  transform: translateY(-5px) scale(1.018);
  border-color: rgba(9,22,52,.16);
  box-shadow: 0 24px 58px rgba(9,22,52,.20);
}
.storefront-card .product-image-wrap {
  margin: -2px -2px 0;
}
.storefront-card .product-image {
  border-radius: 18px;
  background: #f4f6f9;
}
.storefront-card .product-image img {
  transition: transform .32s ease;
}
.product-card.storefront-card:hover .product-image img {
  transform: scale(1.045);
}
@media (hover:none) {
  .product-card.storefront-card:hover {
    transform: none;
    box-shadow: 0 8px 24px rgba(9,22,52,.07);
  }
  .product-card.storefront-card:hover .product-image img {
    transform: none;
  }
}
@media(max-width:760px){
  .product-card.storefront-card {
    padding: 9px 9px 11px;
    border-radius: 17px;
    box-shadow: 0 5px 16px rgba(9,22,52,.07);
  }
  .storefront-card .product-image { border-radius: 13px; }
}
