:root {
  --navy: #0B1F3A;
  --navy-2: #142F54;
  --gold: #C89B3C;
  --gold-light: #F3E6C8;
  --ivory: #FAF9F6;
  --surface: #FFFFFF;
  --border: #E6E2D8;
  --text: #162231;
  --muted: #617083;
  --emerald: #0F766E;
  --danger: #DC2626;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 31, 58, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background: var(--ivory);
  color: var(--text);
  line-height: 1.55;
}
h1, h2, h3, .serif { font-family: 'Playfair Display', Georgia, serif; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 20px; }

/* Announcement Bar */
.announcement-bar {
  background: var(--navy);
  color: #E8ECF2;
  font-size: 0.84rem;
  padding: 8px 0;
}
.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.currency-switcher { display: flex; gap: 6px; }
.currency-switcher a {
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.22);
  font-size: 0.78rem;
  font-weight: 600;
  transition: all 0.2s;
}
.currency-switcher a.active, .currency-switcher a:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 20px;
}
.brand-logo { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark {
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: var(--gold);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  padding: 9px 11px;
  border-radius: 10px;
  border: 1px solid rgba(200,155,60,0.45);
}
.brand-logo strong { display: block; font-size: 1.15rem; color: var(--navy); line-height: 1.1; }
.brand-logo small { font-size: 0.74rem; color: var(--muted); }

.header-search {
  flex: 1;
  max-width: 520px;
  display: flex;
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px;
}
.header-search input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 8px 14px;
  font-size: 0.92rem;
  outline: none;
  color: var(--text);
}
.header-search button {
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 8px 18px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.header-search button:hover { background: var(--navy-2); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.action-link, .cart-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
}
.action-link:hover { background: var(--ivory); border-color: var(--border); }
.cart-trigger {
  background: var(--navy);
  color: #fff;
}
.cart-trigger:hover { background: var(--navy-2); }
.cart-badge {
  background: var(--gold);
  color: var(--navy);
  font-weight: 800;
  font-size: 0.75rem;
  padding: 2px 7px;
  border-radius: 999px;
}

/* Category Nav */
.category-nav {
  border-top: 1px solid #f0ede6;
  background: #fff;
}
.nav-scroll {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  padding: 8px 20px;
  scrollbar-width: none;
}
.nav-scroll::-webkit-scrollbar { display: none; }
.nav-scroll a {
  white-space: nowrap;
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted);
  transition: all 0.2s;
}
.nav-scroll a:hover, .nav-scroll a.active {
  background: var(--ivory);
  color: var(--navy);
}
.nav-scroll a.nav-highlight {
  margin-left: auto;
  background: var(--gold-light);
  color: var(--navy);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.94rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-sm { padding: 8px 14px; font-size: 0.84rem; border-radius: 8px; }
.btn-block { width: 100%; }

/* Hero */
.hero {
  background: radial-gradient(circle at top right, #1D4173 0%, #0B1F3A 62%);
  color: #fff;
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200,155,60,0.18);
  border: 1px solid rgba(200,155,60,0.45);
  color: #F6DC9E;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  line-height: 1.12;
  margin: 0 0 18px;
}
.hero h1 span { color: var(--gold); }
.hero p { color: #CBD5E1; font-size: 1.05rem; margin: 0 0 26px; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stats strong { display: block; font-size: 1.25rem; color: var(--gold); }
.hero-stats span { font-size: 0.82rem; color: #CBD5E1; }

.hero-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 20px;
  padding: 20px;
  backdrop-filter: blur(8px);
}
.hero-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 16px;
}
.hero-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

/* Sections */
.section { padding: 56px 0; }
.section-alt { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.section-head h2 { margin: 0 0 6px; font-size: clamp(1.6rem, 2.5vw, 2.15rem); color: var(--navy); }
.section-head p { margin: 0; color: var(--muted); }

/* Category Cards */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}
.cat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cat-card img { width: 100%; height: 120px; object-fit: cover; }
.cat-card-body { padding: 14px; }
.cat-card-body strong { display: block; color: var(--navy); font-size: 0.96rem; margin-bottom: 4px; }
.cat-card-body span { font-size: 0.8rem; color: var(--muted); }

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-img-wrap {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  background: #f1efe9;
  overflow: hidden;
}
.product-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s; }
.product-card:hover .product-img-wrap img { transform: scale(1.04); }
.badge-origin {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(11,31,58,0.88);
  color: #F6DC9E;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 999px;
}
.badge-sale {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--danger);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 999px;
}
.product-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-brand { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--emerald); font-weight: 700; margin-bottom: 4px; }
.product-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 8px;
  line-height: 1.35;
}
.product-short { font-size: 0.85rem; color: var(--muted); margin: 0 0 14px; flex: 1; }
.price-stack { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.price-main { font-size: 1.12rem; font-weight: 800; color: var(--navy); }
.price-bdt { font-size: 0.86rem; font-weight: 600; color: var(--emerald); }
.price-old { font-size: 0.86rem; color: #94a3b8; text-decoration: line-through; }

/* Steps / Trust */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.step-card {
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.step-num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--gold);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

/* Custom UK Request Box */
.request-banner {
  background: linear-gradient(135deg, #0B1F3A 0%, #173761 100%);
  color: #fff;
  border-radius: 22px;
  padding: 38px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 32px;
  align-items: center;
}
.request-form {
  background: #fff;
  color: var(--text);
  padding: 24px;
  border-radius: 16px;
}

/* Forms & Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-group { margin-bottom: 14px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { display: block; font-size: 0.84rem; font-weight: 700; margin-bottom: 6px; color: var(--navy); }
.form-control {
  width: 100%;
  padding: 10px 13px;
  border: 1px solid #d5d0c5;
  border-radius: 9px;
  font-size: 0.93rem;
  font-family: inherit;
  background: #fff;
}
.form-control:focus { outline: 2px solid rgba(200,155,60,0.45); border-color: var(--gold); }

/* Product Detail */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 36px;
  align-items: start;
}
.detail-image {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
}
.detail-image img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }

/* Cart & Checkout Layouts */
.two-col {
  display: grid;
  grid-template-columns: 1.45fr 0.95fr;
  gap: 28px;
  align-items: start;
}
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 12px 10px; border-bottom: 1px solid var(--border); text-align: left; font-size: 0.92rem; }
.table th { color: var(--muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; }

.payment-option {
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.payment-option:has(input:checked) {
  border-color: var(--navy);
  background: #f5f7fb;
}
.payment-details-box {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  padding: 14px;
  margin-top: 10px;
  font-size: 0.88rem;
}

/* Order Progress Tracker */
.tracker-steps {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  margin: 24px 0;
}
.tracker-step {
  text-align: center;
  padding: 12px 6px;
  border-radius: 10px;
  background: #f1f5f9;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 600;
}
.tracker-step.done { background: #dcfce7; color: #166534; }
.tracker-step.current { background: var(--navy); color: var(--gold); }

/* Cart Drawer */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11,31,58,0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
  z-index: 90;
}
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 100vw);
  height: 100vh;
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  z-index: 100;
  display: flex;
  flex-direction: column;
  box-shadow: -12px 0 36px rgba(0,0,0,0.18);
}
.cart-drawer.open { transform: translateX(0); }
.drawer-head, .drawer-foot { padding: 18px 20px; border-bottom: 1px solid var(--border); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; }
.drawer-head h3 { margin: 0; font-size: 1.2rem; color: var(--navy); }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 20px; }
.drawer-foot { border-top: 1px solid var(--border); border-bottom: none; background: var(--ivory); }
.drawer-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.drawer-item img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.qty-row { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; }
.qty-btn { width: 26px; height: 26px; border: 1px solid var(--border); background: #fff; border-radius: 6px; cursor: pointer; font-weight: 700; }
.icon-btn { background: transparent; border: none; font-size: 1.2rem; cursor: pointer; color: var(--navy); }

/* Flashes & Toast */
.flash-wrap { padding-top: 16px; }
.flash { padding: 12px 16px; border-radius: 10px; margin-bottom: 10px; font-weight: 600; font-size: 0.92rem; }
.flash-success { background: #dcfce7; color: #166534; border: 1px solid #86efac; }
.flash-error { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.flash-info { background: #e0f2fe; color: #075985; border: 1px solid #7dd3fc; }

.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--navy);
  color: #fff;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: all 0.25s;
  z-index: 120;
}
.toast.show { opacity: 1; transform: translateY(0); }

/* Footer */
.site-footer {
  background: var(--navy);
  color: #CBD5E1;
  padding-top: 52px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.9fr 1.2fr;
  gap: 28px;
  padding-bottom: 36px;
}
.footer-brand strong { color: #fff; }
.footer-brand small { color: var(--gold); }
.footer-desc { font-size: 0.9rem; margin: 14px 0 18px; }
.payment-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.payment-pills span {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.78rem;
  color: #fff;
}
.site-footer h4 { color: #fff; margin: 0 0 14px; font-size: 1rem; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-links li, .footer-contact li { margin-bottom: 8px; font-size: 0.9rem; }
.footer-links a:hover { color: var(--gold); }
.newsletter-form { display: flex; gap: 6px; margin-top: 14px; }
.newsletter-form input { flex: 1; padding: 9px 12px; border-radius: 8px; border: none; font-size: 0.88rem; }
.newsletter-form button { background: var(--gold); color: var(--navy); border: none; border-radius: 8px; padding: 9px 14px; font-weight: 700; cursor: pointer; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 16px 0; font-size: 0.83rem; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.muted { color: var(--muted); }
.small-note { font-size: 0.82rem; margin-top: 6px; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .request-banner, .product-detail-grid, .two-col, .footer-grid { grid-template-columns: 1fr; }
  .tracker-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .header-main { flex-wrap: wrap; }
  .header-search { order: 3; max-width: 100%; width: 100%; }
  .hide-sm { display: none; }
  .form-grid { grid-template-columns: 1fr; }
}
