* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --yellow: #F2B826; --yellow-dark: #C99715; --gold-soft: #FFF1C6;
  --navy: #0E2A5C; --navy-2: #143A7A; --navy-deep: #040F2A;
  --ink: #0B1B3D; --ink-strong: #061A3D; --muted: #5B6477; --line: #E6E9F0;
  --page: #F7F4ED; --card: #ffffff;
  --blue: #1E4FA3; --blue-dark: #143A7A;
  --red: #DC2626; --green: #16A34A;
}
body { font-family: 'Inter', -apple-system, sans-serif; color: var(--ink); background: var(--page); font-size: 15px; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
.wrap { max-width: 1260px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
h1, h2, h3 { font-weight: 700; color: var(--ink-strong); }

.announce { background: var(--navy-deep); color: var(--yellow); text-align: center; font-size: 12.5px; padding: 7px 12px; font-weight: 500; }

.site-header { position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 4px rgba(64,69,83,.12); }
.header-row { display: flex; align-items: center; gap: 22px; padding: 12px 20px; background: var(--navy); }
.logo img { height: 40px; }
.logo-text { font-size: 25px; font-weight: 800; color: #fff; letter-spacing: -0.5px; white-space: nowrap; }
.logo-text b { color: var(--yellow); }
.search { flex: 1; display: flex; max-width: 640px; margin: 0 auto; background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 1px 2px rgba(64,69,83,.10); }
.search input { flex: 1; border: 0; padding: 11px 16px; font-size: 14px; font-family: inherit; outline: none; color: var(--ink); }
.search button { border: 0; background: #fff; padding: 0 16px; font-size: 18px; color: var(--muted); }
.header-icons { display: flex; gap: 22px; font-size: 14px; font-weight: 600; align-items: center; white-space: nowrap; color: #fff; }
.header-icons a { display: flex; align-items: center; gap: 6px; }
.header-icons a:hover { color: var(--yellow); }
.cart-link { position: relative; padding-right: 4px; }
.cart-badge { position: absolute; top: -10px; right: -12px; background: var(--yellow); color: var(--navy-deep); border-radius: 999px; font-size: 11px; font-weight: 800; padding: 0 6px; line-height: 17px; }
.main-nav { display: flex; gap: 4px; font-size: 14px; font-weight: 500; padding: 0 12px; overflow-x: auto; background: #fff; border-bottom: 1px solid var(--line); }
.main-nav a { padding: 11px 12px; white-space: nowrap; border-bottom: 3px solid transparent; }
.main-nav a:hover { color: var(--blue); border-color: var(--blue); }
.nav-sale { color: var(--red); font-weight: 700; }

.flash { max-width: 1260px; margin: 14px auto 0; padding: 11px 20px; border-radius: 8px; font-size: 14px; font-weight: 500; }
.flash-success { background: #e8f7e0; color: #256d02; }
.flash-error { background: #fdeaea; color: #a01023; }

.hero { padding: 18px 0 0; }
.hero-banner { background: linear-gradient(115deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-2) 100%); border-radius: 12px; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 38px 44px; position: relative; overflow: hidden; }
.hero-banner:before { content: ''; position: absolute; right: -70px; top: -70px; width: 260px; height: 260px; border-radius: 50%; background: rgba(242,184,38,.18); }
.hero-banner:after { content: ''; position: absolute; right: 90px; bottom: -90px; width: 180px; height: 180px; border-radius: 50%; background: rgba(255,255,255,.08); }
.hero-kicker { display: inline-block; background: var(--yellow); color: var(--navy-deep); font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; margin-bottom: 12px; }
.hero h1 { font-size: 38px; line-height: 1.15; font-weight: 800; max-width: 560px; color: #fff; }
.hero p { margin-top: 10px; color: #cfd9ee; max-width: 480px; font-size: 15px; }
.mini-banners { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.mini-banner { border-radius: 12px; padding: 22px 26px; color: #fff; position: relative; overflow: hidden; display: block; transition: transform .15s ease; }
.mini-banner:hover { transform: translateY(-2px); }
.mini-banner .t { font-size: 20px; font-weight: 800; }
.mini-banner .s { font-size: 13px; opacity: .92; margin-top: 3px; }
.mb-sale { background: linear-gradient(100deg, #F2B826, #FFC93C); color: var(--navy-deep); }
.mb-sale .s { opacity: 1; color: #6b5310; }
.mb-new { background: linear-gradient(100deg, var(--navy), var(--blue)); }

.btn { display: inline-block; background: var(--yellow); color: var(--navy-deep); border: 1px solid var(--yellow); padding: 11px 26px; border-radius: 8px; font-size: 14px; font-weight: 700; transition: all .15s ease; text-align: center; box-shadow: 0 8px 20px -8px rgba(242,184,38,.55); }
.btn:hover { background: var(--yellow-dark); border-color: var(--yellow-dark); color: #fff; }
.btn-dark { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: none; }
.btn-dark:hover { background: var(--navy-2); border-color: var(--navy-2); color: #fff; }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--line); box-shadow: none; }
.btn-outline:hover { background: #f0f3fa; color: var(--navy); }
.btn-sm { padding: 7px 16px; font-size: 13px; }
.btn-block { display: block; width: 100%; border: 0; font-size: 15px; padding: 13px; }

.section { padding: 26px 0 4px; }
.section-inner { background: var(--card); border-radius: 12px; padding: 20px 22px 24px; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.section-head h2 { font-size: 21px; }
.section-head a { font-size: 13px; font-weight: 600; color: var(--blue); }
.section-head a:hover { text-decoration: underline; }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: 16px; }
.cat-tile { text-align: center; transition: transform .15s ease; }
.cat-tile:hover { transform: translateY(-3px); }
.cat-circle { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 8px; display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 800; color: #fff; }
.cat-tile .name { font-size: 13px; font-weight: 600; color: var(--ink-strong); }
.cat-tile .count { font-size: 11.5px; color: var(--muted); }
.cc-0 { background: var(--navy); } .cc-1 { background: var(--yellow); color: var(--navy-deep); } .cc-2 { background: var(--blue); }
.cc-3 { background: var(--yellow-dark); } .cc-4 { background: var(--navy-2); } .cc-5 { background: var(--yellow); color: var(--navy-deep); }
.cc-6 { background: var(--navy-deep); } .cc-7 { background: #5B6477; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; transition: box-shadow .15s ease; position: relative; display: flex; flex-direction: column; }
.card:hover { box-shadow: 0 6px 18px rgba(64,69,83,.14); }
.card-img { aspect-ratio: 3/4; background: #f4f4f6; overflow: hidden; position: relative; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.card:hover .card-img img { transform: scale(1.04); }
.card-img .noimg { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #b9becf; font-weight: 700; font-size: 18px; text-align: center; padding: 10px; }
.badge { position: absolute; top: 8px; left: 8px; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 6px; background: var(--ink-strong); color: #fff; }
.badge-sale { background: var(--red); }
.card-body { padding: 10px 12px 12px; flex: 1; display: flex; flex-direction: column; }
.card-brand { font-size: 11px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; color: var(--muted); }
.card-name { font-size: 13.5px; margin: 2px 0 6px; line-height: 1.4; color: var(--ink); min-height: 37px; }
.price { font-size: 15px; color: var(--ink-strong); }
.price .cur { font-size: 11px; font-weight: 600; margin-right: 2px; }
.price .amt { font-weight: 800; }
.price .was { color: var(--muted); text-decoration: line-through; font-size: 12px; font-weight: 400; margin-left: 6px; }
.price .off { color: var(--green); font-size: 12px; font-weight: 700; margin-left: 6px; }
.express { display: inline-flex; align-items: center; gap: 4px; background: var(--yellow); color: var(--ink-strong); font-size: 10.5px; font-weight: 800; font-style: italic; padding: 2px 8px; border-radius: 4px; margin-top: 7px; width: fit-content; }
.stock-note { font-size: 12px; margin-top: 5px; font-weight: 500; }
.stock-low { color: #e07c00; }
.stock-in { color: var(--green); }

.brand-strip { display: flex; flex-wrap: wrap; gap: 10px; }
.brand-chip { background: #fff; border: 1px solid var(--line); padding: 9px 20px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--ink-strong); }
.brand-chip:hover { border-color: var(--blue); color: var(--blue); }

.shop-layout { display: grid; grid-template-columns: 240px 1fr; gap: 18px; padding: 22px 0; align-items: start; }
.filters { background: var(--card); border-radius: 12px; padding: 16px 18px; border: 1px solid var(--line); }
.filters h3 { font-size: 12px; letter-spacing: .8px; text-transform: uppercase; margin: 16px 0 7px; color: var(--muted); }
.filters h3:first-of-type { margin-top: 0; }
.filters select, .filters input { width: 100%; padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; font-family: inherit; font-size: 14px; background: #fff; color: var(--ink); }
.filters .row { display: flex; gap: 8px; }
.shop-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; gap: 12px; flex-wrap: wrap; }
.shop-top h1 { font-size: 22px; }
.shop-top select { padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; font-family: inherit; font-size: 13.5px; background: #fff; color: var(--ink); }

.pdp { display: grid; grid-template-columns: 1.05fr 1fr; gap: 30px; padding: 24px 0; }
.pdp-card { background: var(--card); border-radius: 12px; border: 1px solid var(--line); padding: 24px; }
.pdp-gallery .main { aspect-ratio: 3/4; background: #f4f4f6; border-radius: 10px; overflow: hidden; }
.pdp-gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumbs { display: flex; gap: 10px; margin-top: 10px; }
.pdp-thumbs img { width: 64px; height: 80px; object-fit: cover; border-radius: 8px; border: 2px solid var(--line); cursor: pointer; }
.pdp-thumbs img:hover { border-color: var(--blue); }
.pdp-brand { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--blue); }
.pdp h1 { font-size: 24px; font-weight: 700; margin: 6px 0 12px; }
.pdp .price { font-size: 24px; }
.pdp .price .cur { font-size: 14px; }
.opt-group { margin: 18px 0; }
.opt-label { font-size: 12px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; margin-bottom: 8px; color: var(--muted); }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { border: 1.5px solid var(--line); border-radius: 8px; padding: 8px 16px; font-size: 13.5px; font-weight: 600; cursor: pointer; background: #fff; color: var(--ink); }
.opt.active { border-color: var(--blue); background: #eef2fd; color: var(--blue); }
.opt.oos { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.trust { display: flex; flex-direction: column; gap: 7px; margin: 18px 0 0; font-size: 13.5px; color: var(--ink); background: var(--page); border-radius: 10px; padding: 14px 16px; }
.trust span:before { content: '✓'; color: var(--green); font-weight: 800; margin-right: 8px; }
.pdp-desc { margin-top: 18px; font-size: 14px; color: var(--ink); white-space: pre-line; }

.cart-page { max-width: 940px; margin: 0 auto; padding: 26px 20px; }
.cart-page h1, .page-title { font-size: 24px; margin-bottom: 18px; }
.cart-box { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 6px 18px; }
.cart-line { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-box .cart-line:last-child { border-bottom: 0; }
.cart-line img, .cart-line .noimg { width: 70px; height: 88px; object-fit: cover; border-radius: 8px; background: #f4f4f6; }
.cart-line .info { flex: 1; }
.cart-line .qty-form { display: flex; align-items: center; gap: 6px; }
.cart-line input[type=number] { width: 56px; padding: 8px; border: 1px solid var(--line); border-radius: 8px; text-align: center; font-family: inherit; }
.totals { margin-top: 18px; margin-left: auto; max-width: 380px; font-size: 14.5px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.totals .row { display: flex; justify-content: space-between; padding: 5px 0; }
.totals .grand { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 10px; font-size: 17px; font-weight: 800; color: var(--ink-strong); }
.free-ship-note { background: #e8f7e0; color: #256d02; font-size: 13px; font-weight: 600; border-radius: 8px; padding: 9px 12px; margin-top: 12px; }
.promo-form { display: flex; gap: 8px; margin-top: 16px; }
.promo-form input { flex: 1; padding: 10px 14px; border: 1px solid var(--line); border-radius: 8px; font-family: inherit; }

.form-page { max-width: 460px; margin: 0 auto; padding: 34px 20px; }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 26px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 12.5px; font-weight: 600; margin-bottom: 5px; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 8px; font-family: inherit; font-size: 14px; background: #fff; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(56,102,223,.12); }
.field textarea { min-height: 90px; resize: vertical; }
.form-note { font-size: 13.5px; color: var(--muted); margin-top: 14px; text-align: center; }
.form-note a { color: var(--blue); font-weight: 600; }

.checkout-layout { display: grid; grid-template-columns: 1.25fr 1fr; gap: 22px; max-width: 1020px; margin: 0 auto; padding: 26px 20px; align-items: start; }
.checkout-form { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.pay-opt { display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: 10px; padding: 13px 14px; margin-bottom: 10px; cursor: pointer; background: #fff; }
.pay-opt.active { border-color: var(--blue); background: #eef2fd; }
.pay-opt small { color: var(--muted); display: block; font-weight: 400; }
.summary-box { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; }
.summary-box h3 { font-size: 17px; margin-bottom: 12px; }
.sum-line { display: flex; justify-content: space-between; font-size: 13.5px; padding: 4px 0; }
.sum-grand { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 10px; font-size: 17px; font-weight: 800; color: var(--ink-strong); }

.timeline { list-style: none; margin: 20px 0; }
.timeline li { position: relative; padding: 0 0 18px 26px; border-left: 2px solid var(--line); margin-left: 8px; }
.timeline li:before { content: ''; position: absolute; left: -7px; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--blue); }
.timeline li:last-child { border-color: transparent; }
.timeline .when { font-size: 12px; color: var(--muted); }

.status-pill { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 12px; border-radius: 999px; background: var(--page); }
.st-placed { background: #e7efff; color: #2a52b8; }
.st-packed { background: #fff3d6; color: #8a5b00; }
.st-shipped { background: #efe7ff; color: #5b2ab8; }
.st-delivered { background: #e8f7e0; color: #256d02; }
.st-cancelled { background: #fdeaea; color: #a01023; }

.account-order { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px; margin-bottom: 16px; }
.account-order .head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.account-item { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); margin-top: 8px; font-size: 14px; gap: 10px; flex-wrap: wrap; }
.inline-form { display: inline-flex; gap: 6px; align-items: center; }
.inline-form input, .inline-form select { padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; font-family: inherit; font-size: 13px; }

.brand-hero { background: linear-gradient(100deg, var(--navy-deep), var(--navy-2)); color: #fff; padding: 36px 20px; text-align: center; border-radius: 0 0 16px 16px; }
.brand-hero img { height: 64px; margin: 0 auto 12px; background: #fff; border-radius: 12px; padding: 8px; }
.brand-hero h1 { font-size: 28px; color: #fff; }
.brand-hero p { color: #cfd4e4; max-width: 560px; margin: 8px auto 0; font-size: 14px; }

.empty { text-align: center; padding: 56px 20px; color: var(--muted); }
.empty h2 { color: var(--ink-strong); margin-bottom: 8px; font-size: 20px; }

.site-footer { margin-top: 44px; background: #fff; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; padding: 34px 20px; font-size: 13.5px; }
.footer-grid h4 { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 10px; color: var(--ink-strong); }
.footer-grid a { display: block; padding: 3px 0; color: var(--muted); }
.footer-grid a:hover { color: var(--blue); }
.footer-logo { font-size: 20px; font-weight: 800; color: var(--ink-strong); margin-bottom: 6px; }
.socials { margin-top: 10px; }
.footer-bottom { padding: 14px 20px 24px; font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); }

@media (max-width: 860px) {
  .header-row { flex-wrap: wrap; gap: 10px; padding: 10px 14px; }
  .search { order: 3; max-width: none; width: 100%; }
  .hero-banner { flex-direction: column; align-items: flex-start; padding: 26px 22px; }
  .hero h1 { font-size: 27px; }
  .mini-banners { grid-template-columns: 1fr; }
  .shop-layout { grid-template-columns: 1fr; }
  .pdp { grid-template-columns: 1fr; gap: 16px; }
  .checkout-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
  .card-name { min-height: 0; }
}
