﻿/* ============================================================
   Crystorix Services — Design System
   Colors: #0B2348 navy · #FF7900 orange · #FFFFFF · #008CA8 teal
   ============================================================ */

:root {
  --navy: #0B2348;
  --navy-soft: #14315e;
  --orange: #FF7900;
  --orange-dark: #e56a00;
  --white: #FFFFFF;
  --teal: #008CA8;
  --teal-dark: #00748a;
  --bg: #f5f7fa;
  --text: #24344d;
  --muted: #6b7a90;
  --line: #e4e9f0;
  --green: #16a34a;
  --red: #dc2626;
  --star: #ffb020;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 6px 24px rgba(11, 35, 72, 0.08);
  --shadow-lg: 0 16px 44px rgba(11, 35, 72, 0.16);
  --font: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --max: 1240px;
  --header-h: 132px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.hidden { display: none !important; }
.center { text-align: center; }
.muted { color: var(--muted); }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border: none;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: all 0.22s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 8px 20px rgba(255, 121, 0, 0.32); }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(255, 121, 0, 0.4); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-soft); transform: translateY(-2px); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-dark); }
.btn-outline { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--orange); color: #fff; }
.btn-ghost { background: rgba(255, 255, 255, 0.14); color: #fff; border: 1px solid rgba(255, 255, 255, 0.45); }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-sm { padding: 8px 18px; font-size: 13.5px; }
.btn-lg { padding: 15px 36px; font-size: 16.5px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

/* ---------------- Top bar ---------------- */
.topbar {
  background: var(--navy);
  color: #cdd9ec;
  font-size: 12.5px;
  padding: 7px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.topbar strong { color: #fff; }
.topbar .sale-flash { color: var(--orange); font-weight: 600; }
.topbar a:hover { color: #fff; }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 2px 14px rgba(11, 35, 72, 0.09);
}
.header-main { display: flex; align-items: center; gap: 26px; padding: 14px 0; }
.logo-link { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-link img { height: 54px; width: auto; }
.logo-text { display: none; font-weight: 800; font-size: 22px; color: var(--navy); line-height: 1.1; }
.logo-text span { color: var(--orange); }

.search-bar {
  flex: 1;
  display: flex;
  background: var(--bg);
  border: 2px solid var(--line);
  border-radius: 50px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.search-bar:focus-within { border-color: var(--teal); background: #fff; }
.search-bar input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 11px 20px;
  font-size: 14.5px;
  font-family: inherit;
  outline: none;
  min-width: 0;
}
.search-bar button {
  border: none;
  background: var(--teal);
  color: #fff;
  padding: 0 24px;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 7px;
}
.search-bar button:hover { background: var(--teal-dark); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-icon-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: none;
  border: none;
  color: var(--navy);
  font-size: 11.5px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 10px;
  transition: background 0.2s;
}
.header-icon-btn:hover { background: var(--bg); color: var(--teal); }
.header-icon-btn .ico { font-size: 21px; line-height: 1; }
.cart-badge {
  position: absolute;
  top: 0;
  right: 4px;
  background: var(--orange);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid #fff;
}

/* ---------------- Main nav ---------------- */
.main-nav { background: var(--navy); position: relative; }
.nav-list { display: flex; align-items: center; }
.nav-item > a, .nav-item > button {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #dfe7f3;
  font-size: 14px;
  font-weight: 500;
  padding: 13px 18px;
  background: none;
  border: none;
  transition: all 0.18s;
}
.nav-item > a:hover, .nav-item > button:hover,
.nav-item.active > a { color: #fff; background: rgba(255, 255, 255, 0.09); }
.nav-item.all-cats > button { background: var(--orange); color: #fff; font-weight: 600; border-radius: 0; }
.nav-item.all-cats > button:hover { background: var(--orange-dark); }
.nav-spacer { flex: 1; }
.nav-sale {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--orange) !important;
  font-weight: 700 !important;
  animation: pulse 1.8s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.65; } }

/* Mega menu */
.mega-wrap { position: static; }
.mega-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #fff;
  box-shadow: var(--shadow-lg);
  padding: 26px 30px 30px;
  display: none;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px 26px;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  border-top: 3px solid var(--orange);
}
.mega-wrap:hover .mega-menu, .mega-wrap.open .mega-menu { display: grid; }
.mega-link {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: all 0.16s;
}
.mega-link .m-ico {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg);
  border-radius: 9px;
  font-size: 17px;
  flex-shrink: 0;
}
.mega-link .m-ico svg { width: 20px; height: 20px; }
.mega-link small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 400; }
.mega-link:hover { background: var(--bg); color: var(--teal); }
.mega-link:hover .m-ico { background: #fff; }

/* Mobile nav */
.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  color: var(--navy);
  padding: 4px 8px;
}
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(11, 35, 72, 0.55);
}
.mobile-nav.open { display: block; }
.mobile-nav-panel {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: min(340px, 86vw);
  background: #fff;
  padding: 18px;
  overflow-y: auto;
  animation: slideRight 0.25s ease;
}
@keyframes slideRight { from { transform: translateX(-100%); } to { transform: translateX(0); } }
.mobile-nav-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.mobile-nav-head img { height: 46px; }
.mobile-nav-close { background: none; border: none; font-size: 26px; color: var(--navy); }
.mobile-nav a.m-link {
  display: block;
  padding: 12px 8px;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
  color: var(--navy);
}
.mobile-nav a.m-link:hover { color: var(--orange); }
.m-cats-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-top: 14px; }

/* ---------------- Breadcrumb ---------------- */
.breadcrumb { padding: 16px 0 0; font-size: 13px; color: var(--muted); }
.breadcrumb a { color: var(--teal); font-weight: 500; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 7px; color: #b7c2d3; }

/* ---------------- Sections ---------------- */
.section { padding: 52px 0; }
.section-white { background: #fff; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 26px; flex-wrap: wrap; }
.section-title { font-size: 27px; font-weight: 700; color: var(--navy); line-height: 1.25; position: relative; padding-left: 16px; }
.section-title::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 5px; border-radius: 4px; background: linear-gradient(var(--orange), var(--teal)); }
.section-sub { color: var(--muted); font-size: 14.5px; margin-top: 4px; }
.link-more { color: var(--teal); font-weight: 600; font-size: 14.5px; }
.link-more:hover { color: var(--orange); }

/* ---------------- Hero ---------------- */
.hero { position: relative; background: linear-gradient(115deg, var(--navy) 0%, #123a6e 55%, var(--teal) 130%); color: #fff; overflow: hidden; }
.hero::after {
  content: "";
  position: absolute;
  right: -140px; top: -140px;
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(255, 121, 0, 0.4), transparent 65%);
  border-radius: 50%;
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr 1fr; gap: 34px; align-items: center; padding: 54px 0; }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 121, 0, 0.18);
  border: 1px solid rgba(255, 121, 0, 0.55);
  color: #ffc38a;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 50px;
  margin-bottom: 18px;
}
.hero h1 { font-size: clamp(30px, 4.4vw, 52px); line-height: 1.14; font-weight: 800; letter-spacing: -0.5px; }
.hero h1 .accent { color: var(--orange); }
.hero p { margin: 16px 0 26px; color: #c8d6ec; font-size: 16.5px; max-width: 520px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 30px; margin-top: 34px; flex-wrap: wrap; }
.hero-stat b { display: block; font-size: 25px; color: var(--orange); font-weight: 800; }
.hero-stat span { font-size: 13px; color: #aebdd6; }
.hero-visual { position: relative; }
.hero-img {
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
}
.hero-float {
  position: absolute;
  background: #fff;
  color: var(--navy);
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: floatY 3.4s ease-in-out infinite;
}
.hero-float.f1 { top: 14px; left: -18px; }
.hero-float.f2 { bottom: 18px; right: -12px; animation-delay: 1.1s; }
.hero-float .big { font-size: 18px; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------------- Sale banner ---------------- */
.sale-banner {
  background:
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.045) 0 14px, transparent 14px 28px),
    linear-gradient(120deg, var(--navy) 0%, #0d2c5c 60%, #123a6e 100%);
  color: #fff;
  border-top: 5px solid var(--orange);
  border-bottom: 5px solid var(--orange);
  padding: 40px 0;
  position: relative;
  overflow: hidden;
}
.sale-banner::before {
  content: "";
  position: absolute;
  left: -110px; bottom: -110px;
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(0, 140, 168, 0.5), transparent 68%);
  border-radius: 50%;
}
.sale-inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 34px; flex-wrap: wrap; }
.sale-left { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.sale-logo {
  position: relative;
  background: linear-gradient(135deg, var(--orange), #ff9b3d);
  color: #fff;
  font-weight: 800;
  font-size: 30px;
  letter-spacing: 1px;
  padding: 20px 30px;
  border-radius: 18px;
  text-align: center;
  line-height: 1.15;
  box-shadow: 0 14px 34px rgba(255, 121, 0, 0.45);
  transform: rotate(-4deg);
}
.sale-logo small { display: block; font-size: 12px; font-weight: 600; letter-spacing: 3px; opacity: 0.95; }
.sale-logo::after {
  content: "SALE";
  position: absolute;
  top: -13px; right: -13px;
  background: var(--teal);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 5px 10px;
  border-radius: 8px;
  transform: rotate(10deg);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}
.sale-copy h2 { font-size: clamp(24px, 3.2vw, 38px); font-weight: 800; line-height: 1.15; }
.sale-copy h2 .hl { color: var(--orange); }
.sale-copy .flat-off {
  display: inline-block;
  background: #fff;
  color: var(--navy);
  font-weight: 800;
  font-size: 18px;
  padding: 7px 18px;
  border-radius: 50px;
  margin-top: 12px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}
.sale-copy .flat-off b { color: var(--orange); font-size: 22px; }

.sale-timer-box { background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 18px; padding: 20px 26px; text-align: center; backdrop-filter: blur(6px); }
.sale-timer-label { font-size: 13.5px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: #ffc38a; margin-bottom: 12px; }
.countdown { display: flex; align-items: center; gap: 8px; justify-content: center; }
.cd-cell {
  background: #fff;
  color: var(--navy);
  border-radius: 12px;
  min-width: 74px;
  padding: 10px 8px 8px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3);
}
.cd-cell b { display: block; font-size: 30px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.cd-cell span { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }
.cd-sep { font-size: 26px; font-weight: 800; color: var(--orange); }

/* Brand strip */
.brand-strip { background: #fff; border-bottom: 1px solid var(--line); padding: 20px 0; overflow: hidden; }
.brand-track { display: flex; gap: 46px; align-items: center; animation: marquee 26s linear infinite; width: max-content; }
.brand-track:hover { animation-play-state: paused; }
.brand-chip {
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.5px;
  color: #9aa8bd;
  filter: grayscale(1);
  opacity: 0.85;
  transition: all 0.25s;
  white-space: nowrap;
  font-style: italic;
}
.brand-chip:hover { filter: none; opacity: 1; color: var(--navy); transform: scale(1.07); }
.brand-chip.b-orange { color: var(--orange); }
.brand-chip.b-teal { color: var(--teal); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------------- Category cards ---------------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 16px; }
.cat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 14px;
  text-align: center;
  transition: all 0.22s ease;
  position: relative;
  overflow: hidden;
}
.cat-card::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--teal));
  transform: scaleX(0);
  transition: transform 0.25s;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.cat-card:hover::after { transform: scaleX(1); }
.cat-card .c-ico {
  width: 58px; height: 58px;
  margin: 0 auto 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 27px;
  background: linear-gradient(135deg, rgba(0, 140, 168, 0.12), rgba(255, 121, 0, 0.14));
  border-radius: 16px;
}
.cat-card .c-ico svg { width: 28px; height: 28px; }
.cat-card h3 { font-size: 13.5px; font-weight: 600; color: var(--navy); line-height: 1.35; }
.cat-card p { font-size: 11.5px; color: var(--muted); margin-top: 5px; }

/* Category banner cards (with image) */
.cat-hero-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.cat-hero-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 170px;
  box-shadow: var(--shadow);
  background: linear-gradient(135deg, var(--navy), var(--teal));
}
.cat-hero-card img { width: 100%; height: 100%; object-fit: cover; opacity: 0.62; transition: transform 0.4s, opacity 0.3s; }
.cat-hero-card:hover img { transform: scale(1.07); opacity: 0.5; }
.cat-hero-card .ch-body { position: absolute; inset: 0; padding: 18px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; background: linear-gradient(transparent 30%, rgba(11, 35, 72, 0.88)); }
.cat-hero-card h3 { font-size: 17px; font-weight: 700; }
.cat-hero-card span { font-size: 12.5px; color: #ffc38a; font-weight: 600; }
.cat-hero-card .ch-ico { position: absolute; top: 14px; left: 16px; font-size: 26px; filter: drop-shadow(0 3px 6px rgba(0,0,0,0.4)); }
.cat-hero-card .ch-ico svg { width: 26px; height: 26px; color: #fff; }
#catIcon svg { width: 46px; height: 46px; }


/* ---------------- Product cards ---------------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(238px, 1fr)); gap: 20px; }
.p-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.24s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}
.p-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.p-card-media { position: relative; aspect-ratio: 4/3.4; overflow: hidden; background: #fff; }
.p-card-media img { width: 100%; height: 100%; object-fit: contain; padding: 10px; background: #fff; transition: transform 0.45s ease; }
.p-card:hover .p-card-media img { transform: scale(1.07); }
.p-badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.p-badge {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
}
.badge-sale { background: var(--orange); color: #fff; box-shadow: 0 4px 12px rgba(255, 121, 0, 0.4); }
.badge-bestseller { background: var(--teal); color: #fff; }
.badge-new { background: var(--navy); color: #fff; }
.badge-trending { background: #db2777; color: #fff; }
.badge-premium { background: linear-gradient(135deg, #b8860b, #ffd700); color: #4a3600; }
.badge-value { background: var(--green); color: #fff; }
.p-wish {
  position: absolute;
  top: 10px; right: 10px;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  color: var(--muted);
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
  z-index: 2;
}
.p-wish:hover, .p-wish.on { color: var(--red); transform: scale(1.12); }
.p-card-body { padding: 15px 16px 17px; display: flex; flex-direction: column; flex: 1; }
.p-brand { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.7px; color: var(--teal); }
.p-name {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy);
  margin: 5px 0 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 41px;
}
.p-name:hover { color: var(--orange); }
.p-rating { display: flex; align-items: center; gap: 7px; margin-bottom: 9px; }
.rate-pill {
  background: var(--green);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.rate-pill.mid { background: #f59e0b; }
.rate-pill.low { background: #ef4444; }
.p-reviews { font-size: 12px; color: var(--muted); }
.p-price-row { display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; margin-bottom: 4px; }
.p-price { font-size: 19px; font-weight: 700; color: var(--navy); }
.p-mrp { font-size: 13.5px; color: var(--muted); text-decoration: line-through; }
.p-off { font-size: 13.5px; font-weight: 700; color: var(--green); }
.p-save { font-size: 11.5px; color: var(--muted); margin-bottom: 12px; }
.p-save b { color: var(--orange); }
.p-card-actions { margin-top: auto; display: flex; gap: 9px; }
.p-card-actions .btn { flex: 1; padding: 10px 12px; font-size: 13.5px; }

/* ---------------- Trust strip ---------------- */
.trust-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.trust-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.trust-item .t-ico {
  width: 46px; height: 46px; flex-shrink: 0;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  background: linear-gradient(135deg, rgba(255, 121, 0, 0.14), rgba(0, 140, 168, 0.14));
}
.trust-item h4 { font-size: 14.5px; color: var(--navy); }
.trust-item p { font-size: 12.5px; color: var(--muted); }

/* ---------------- Page hero (inner pages) ---------------- */
.page-hero {
  background: linear-gradient(115deg, var(--navy), #14406f 70%, var(--teal) 140%);
  color: #fff;
  padding: 36px 0;
}
.page-hero h1 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; }
.page-hero p { color: #c2d1e8; font-size: 14.5px; margin-top: 6px; }
.page-hero .breadcrumb, .page-hero .breadcrumb a { color: #a9bcda; }
.page-hero .breadcrumb span { color: #6f87ad; }

/* ---------------- Shop layout ---------------- */
.shop-layout { display: grid; grid-template-columns: 265px 1fr; gap: 26px; align-items: start; padding: 30px 0 56px; }
.filter-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); position: sticky; top: calc(var(--header-h) + 12px); overflow: hidden; }
.filter-head { background: var(--navy); color: #fff; font-weight: 600; font-size: 15px; padding: 14px 18px; display: flex; justify-content: space-between; align-items: center; }
.filter-head button { background: none; border: none; color: #ffc38a; font-size: 12.5px; font-weight: 600; }
.filter-group { padding: 16px 18px; border-bottom: 1px solid var(--line); }
.filter-group:last-child { border-bottom: none; }
.filter-group h4 { font-size: 13.5px; text-transform: uppercase; letter-spacing: 0.8px; color: var(--navy); margin-bottom: 12px; }
.f-check { display: flex; align-items: center; gap: 9px; font-size: 13.5px; padding: 5px 0; color: var(--text); cursor: pointer; }
.f-check input { accent-color: var(--orange); width: 16px; height: 16px; cursor: pointer; }
.f-check .f-count { margin-left: auto; font-size: 11.5px; color: var(--muted); background: var(--bg); padding: 1px 7px; border-radius: 20px; }
.f-check:hover { color: var(--teal); }
.price-inputs { display: flex; gap: 8px; align-items: center; }
.price-inputs input {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 13px;
  font-family: inherit;
  outline: none;
}
.price-inputs input:focus { border-color: var(--teal); }

.shop-toolbar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.shop-count { font-size: 13.5px; color: var(--muted); }
.shop-count b { color: var(--navy); }
.sort-select {
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 13.5px;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  outline: none;
  cursor: pointer;
}
.sort-select:focus { border-color: var(--teal); }
.filter-toggle { display: none; }

.empty-state { background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); padding: 56px 24px; text-align: center; }
.empty-state .e-ico { font-size: 52px; margin-bottom: 12px; }
.empty-state h3 { color: var(--navy); font-size: 19px; margin-bottom: 6px; }
.empty-state p { color: var(--muted); font-size: 14px; margin-bottom: 18px; }

/* ---------------- Product detail ---------------- */
.pdp { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 36px; padding: 26px 0 10px; align-items: start; }
.pdp-gallery { position: sticky; top: calc(var(--header-h) + 14px); }
.pdp-main-img {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  max-height: 440px;
}
.pdp-main-img img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.pdp-thumbs { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 13px; }
.pdp-thumb {
  width: 82px; height: 70px;
  border-radius: 9px;
  border: 2px solid var(--line);
  overflow: hidden;
  padding: 0;
  background: #fff;
  transition: border-color 0.2s;
}
.pdp-thumb img { width: 100%; height: 100%; object-fit: contain; }
.pdp-thumb.active, .pdp-thumb:hover { border-color: var(--orange); }

.pdp-brand { font-size: 12.5px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--teal); }
.pdp-title { font-size: clamp(21px, 2.5vw, 27px); font-weight: 700; color: var(--navy); line-height: 1.32; margin: 8px 0 10px; }
.pdp-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.pdp-meta .m-reviews { font-size: 13px; color: var(--muted); }
.pdp-meta .m-sold { font-size: 13px; color: var(--muted); }
.pdp-price-box { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 17px 19px; margin: 16px 0; }
.pdp-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pdp-price .now { font-size: 33px; font-weight: 800; color: var(--navy); }
.pdp-price .was { font-size: 17px; color: var(--muted); text-decoration: line-through; }
.pdp-price .off { font-size: 16px; font-weight: 700; color: var(--green); }
.pdp-tax { font-size: 12.5px; color: var(--muted); margin-top: 5px; }
.pdp-save-line { font-size: 13.5px; color: var(--orange); font-weight: 600; margin-top: 7px; }

.pdp-points { margin: 14px 0; display: grid; gap: 8px; }
.pdp-points li { display: flex; gap: 9px; font-size: 14px; color: var(--text); align-items: flex-start; }
.pdp-points li::before { content: "✓"; color: var(--green); font-weight: 800; flex-shrink: 0; }

.pdp-actions { display: flex; gap: 13px; margin: 20px 0 8px; flex-wrap: wrap; }
.pdp-actions .btn { flex: 1; min-width: 180px; padding: 15px 20px; font-size: 15.5px; }
.qty-box {
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--line);
  border-radius: 50px;
  overflow: hidden;
  background: #fff;
}
.qty-box button {
  width: 42px; height: 48px;
  border: none;
  background: none;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  transition: background 0.15s;
}
.qty-box button:hover { background: var(--bg); color: var(--orange); }
.qty-box input {
  width: 52px;
  text-align: center;
  border: none;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  outline: none;
  color: var(--navy);
  -moz-appearance: textfield;
}
.qty-box input::-webkit-outer-spin-button, .qty-box input::-webkit-inner-spin-button { -webkit-appearance: none; }

.pdp-assure { display: flex; gap: 18px; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid var(--line); margin-top: 16px; }
.pdp-assure div { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.pdp-assure b { color: var(--navy); }

.pdp-tabs { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin: 34px 0; overflow: hidden; }
.pdp-tab-head { display: flex; border-bottom: 1px solid var(--line); overflow-x: auto; }
.pdp-tab-head button {
  background: none;
  border: none;
  padding: 15px 24px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  transition: all 0.18s;
}
.pdp-tab-head button.active { color: var(--navy); border-bottom-color: var(--orange); }
.pdp-tab-head button:hover { color: var(--teal); }
.pdp-tab-body { padding: 24px; }
.pdp-tab-body p { font-size: 14.5px; color: var(--text); line-height: 1.75; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table td { padding: 11px 14px; border-bottom: 1px solid var(--line); font-size: 14px; }
.spec-table tr:last-child td { border-bottom: none; }
.spec-table td:first-child { font-weight: 600; color: var(--navy); width: 34%; background: #fafbfd; }

/* ---------------- Cart ---------------- */
.cart-layout { display: grid; grid-template-columns: 1fr 355px; gap: 26px; align-items: start; padding: 30px 0 56px; }
.cart-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cart-panel-head { padding: 15px 20px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.cart-panel-head h2 { font-size: 17px; color: var(--navy); }
.cart-panel-head span { font-size: 13px; color: var(--muted); }
.cart-item { display: grid; grid-template-columns: 105px 1fr auto; gap: 17px; padding: 18px 20px; border-bottom: 1px solid var(--line); align-items: center; }
.cart-item:last-child { border-bottom: none; }
.cart-item-img { width: 105px; height: 92px; border-radius: 10px; overflow: hidden; background: var(--bg); border: 1px solid var(--line); }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-name { font-size: 14.5px; font-weight: 600; color: var(--navy); line-height: 1.4; }
.cart-item-name:hover { color: var(--orange); }
.cart-item-brand { font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.6px; color: var(--teal); font-weight: 700; margin-bottom: 3px; }
.cart-item-meta { font-size: 12.5px; color: var(--muted); margin: 6px 0 10px; }
.cart-item-controls { display: flex; align-items: center; gap: 15px; }
.cart-qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 50px; overflow: hidden; }
.cart-qty button { width: 31px; height: 31px; border: none; background: none; font-size: 16px; font-weight: 700; color: var(--navy); }
.cart-qty button:hover { background: var(--bg); color: var(--orange); }
.cart-qty span { min-width: 34px; text-align: center; font-weight: 700; font-size: 14px; }
.cart-remove { background: none; border: none; color: var(--red); font-size: 12.5px; font-weight: 600; }
.cart-remove:hover { text-decoration: underline; }
.cart-item-right { text-align: right; }
.cart-item-price { font-size: 17.5px; font-weight: 700; color: var(--navy); }
.cart-item-mrp { font-size: 12.5px; color: var(--muted); text-decoration: line-through; }
.cart-item-off { font-size: 12.5px; color: var(--green); font-weight: 700; }

.summary-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); position: sticky; top: calc(var(--header-h) + 14px); overflow: hidden; }
.summary-card h3 { font-size: 16.5px; color: var(--navy); padding: 15px 20px; border-bottom: 1px solid var(--line); }
.summary-body { padding: 16px 20px; }
.sum-row { display: flex; justify-content: space-between; font-size: 14px; padding: 8px 0; color: var(--text); }
.sum-row .disc { color: var(--green); font-weight: 600; }
.sum-row.total { border-top: 2px dashed var(--line); margin-top: 8px; padding-top: 14px; font-size: 18px; font-weight: 800; color: var(--navy); }
.sum-row.total .amt { color: var(--orange); font-size: 22px; }
.promo-box { display: flex; gap: 8px; margin: 12px 0; }
.promo-box input {
  flex: 1;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 10px 13px;
  font-size: 13.5px;
  font-family: inherit;
  outline: none;
  text-transform: uppercase;
  min-width: 0;
}
.promo-box input:focus { border-color: var(--teal); }
.summary-body .btn { margin-top: 12px; }
.secure-note { text-align: center; font-size: 12px; color: var(--muted); margin-top: 13px; }
.secure-note b { color: var(--navy); }

/* ---------------- Forms ---------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--navy); }
.form-group label .req { color: var(--red); }
.form-control {
  border: 1.5px solid var(--line);
  border-radius: 9px;
  padding: 11px 14px;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
  width: 100%;
}
.form-control:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0, 140, 168, 0.13); }
.form-control.err { border-color: var(--red); box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1); }
textarea.form-control { resize: vertical; min-height: 92px; }
select.form-control { cursor: pointer; }
.field-err { font-size: 12px; color: var(--red); display: none; }
.field-err.show { display: block; }
.form-hint { font-size: 12px; color: var(--muted); }

.checkout-layout { display: grid; grid-template-columns: 1fr 395px; gap: 26px; align-items: start; padding: 30px 0 56px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.panel-head { padding: 15px 22px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 11px; }
.panel-head .step-num {
  width: 30px; height: 30px;
  background: var(--navy);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}
.panel-head h3 { font-size: 16.5px; color: var(--navy); }
.panel-body { padding: 22px; }

.pay-option {
  display: flex;
  align-items: center;
  gap: 13px;
  border: 2px solid var(--line);
  border-radius: 11px;
  padding: 14px 16px;
  cursor: pointer;
  transition: all 0.18s;
  margin-bottom: 11px;
}
.pay-option:hover { border-color: var(--teal); }
.pay-option.active { border-color: var(--orange); background: rgba(255, 121, 0, 0.05); }
.pay-option input { accent-color: var(--orange); width: 17px; height: 17px; }
.pay-option .p-ico { font-size: 23px; }
.pay-option .p-info b { display: block; font-size: 14.5px; color: var(--navy); }
.pay-option .p-info span { font-size: 12.5px; color: var(--muted); }

/* ---------------- QR modal ---------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 35, 72, 0.72);
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  backdrop-filter: blur(4px);
}
.modal {
  background: #fff;
  border-radius: 18px;
  width: min(460px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  animation: popIn 0.28s ease;
}
@keyframes popIn { from { transform: scale(0.88); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-head { background: linear-gradient(115deg, var(--navy), var(--teal)); color: #fff; padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; }
.modal-head h3 { font-size: 17px; display: flex; gap: 9px; align-items: center; }
.modal-close { background: rgba(255, 255, 255, 0.16); border: none; color: #fff; width: 32px; height: 32px; border-radius: 50%; font-size: 19px; line-height: 1; }
.modal-close:hover { background: var(--orange); }
.modal-body { padding: 24px 26px 26px; text-align: center; }
.qr-amount { font-size: 15px; color: var(--muted); }
.qr-amount b { display: block; font-size: 30px; color: var(--navy); font-weight: 800; margin-top: 2px; }
.qr-holder { display: flex; justify-content: center; margin: 18px 0; }
.qr-holder .qr-box { background: #fff; padding: 12px; border: 2px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.qr-holder img, .qr-holder canvas { display: block; border-radius: 6px; }
.qr-holder .qr-fallback { font-size: 12px; color: var(--muted); padding: 40px 20px; max-width: 260px; word-break: break-all; }
.upi-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg);
  border: 1.5px dashed var(--line);
  border-radius: 10px;
  padding: 10px 13px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  word-break: break-all;
}
.upi-row .copy-btn {
  margin-left: auto;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 7px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}
.upi-row .copy-btn:hover { background: var(--orange); }
.qr-steps { text-align: left; background: var(--bg); border-radius: 10px; padding: 13px 17px; margin-top: 16px; font-size: 13px; color: var(--text); }
.qr-steps li { padding: 3px 0; display: flex; gap: 8px; }
.qr-steps li b { color: var(--teal); }
.qr-actions { margin-top: 18px; display: grid; gap: 10px; }

/* ---------------- Order success ---------------- */
.success-hero { text-align: center; padding: 46px 0 8px; }
.success-check {
  width: 86px; height: 86px;
  margin: 0 auto 18px;
  background: linear-gradient(135deg, var(--green), #4ade80);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 42px;
  box-shadow: 0 16px 36px rgba(22, 163, 74, 0.4);
  animation: popIn 0.4s ease;
}
.success-hero h1 { font-size: clamp(25px, 3vw, 33px); color: var(--navy); font-weight: 800; }
.success-hero p { color: var(--muted); margin-top: 7px; }
.order-id-chip {
  display: inline-block;
  background: var(--navy);
  color: var(--orange);
  font-weight: 800;
  letter-spacing: 1.5px;
  font-size: 17px;
  padding: 9px 24px;
  border-radius: 50px;
  margin-top: 16px;
}
.order-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
  border: 1px solid rgba(245, 158, 11, 0.4);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 50px;
  margin-top: 14px;
}
.order-status-badge.paid { background: rgba(22, 163, 74, 0.1); color: var(--green); border-color: rgba(22, 163, 74, 0.4); }


/* ---------------- Footer ---------------- */
.site-footer { background: var(--navy); color: #b9c7de; margin-top: 56px; }
.footer-top {
  background: linear-gradient(100deg, var(--orange), #ff9b3d);
  color: #fff;
  padding: 26px 0;
}
.footer-top-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; }
.footer-top h3 { font-size: clamp(18px, 2.4vw, 25px); font-weight: 800; }
.footer-top h3 b { color: var(--navy); }
.footer-news { display: flex; background: #fff; border-radius: 50px; overflow: hidden; max-width: 430px; width: 100%; }
.footer-news input {
  flex: 1;
  border: none;
  padding: 13px 20px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  min-width: 0;
}
.footer-news button { border: none; background: var(--navy); color: #fff; padding: 0 24px; font-weight: 700; font-size: 14px; }
.footer-news button:hover { background: var(--teal); }

.footer-main { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.25fr; gap: 34px; padding: 46px 0 34px; }
.footer-brand img { height: 62px; background: #fff; padding: 5px 9px; border-radius: 10px; }
.footer-brand p { font-size: 13.5px; margin: 15px 0; line-height: 1.7; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
  transition: all 0.2s;
}
.footer-social a:hover { background: var(--orange); transform: translateY(-3px); }
.site-footer h4 { color: #fff; font-size: 15.5px; margin-bottom: 17px; position: relative; padding-bottom: 9px; }
.site-footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; background: var(--orange); border-radius: 3px; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { font-size: 13.5px; transition: all 0.16s; display: inline-block; }
.footer-links a:hover { color: var(--orange); transform: translateX(5px); }
.footer-contact li { display: flex; gap: 11px; font-size: 13.5px; margin-bottom: 13px; line-height: 1.55; align-items: flex-start; }
.footer-contact .fc-ico { font-size: 16px; flex-shrink: 0; }
.footer-contact a:hover { color: var(--orange); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 18px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 15px; flex-wrap: wrap; font-size: 13px; }
.footer-pay { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.pay-chip {
  background: #fff;
  color: var(--navy);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 4px 11px;
  border-radius: 6px;
}
.pay-chip.upi { background: var(--orange); color: #fff; }

/* ---------------- Toast ---------------- */
.toast-wrap { position: fixed; bottom: 22px; right: 22px; z-index: 500; display: flex; flex-direction: column; gap: 10px; }
.toast {
  background: var(--navy);
  color: #fff;
  border-radius: 11px;
  padding: 13px 19px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toastIn 0.3s ease;
  max-width: 340px;
  border-left: 4px solid var(--orange);
}
.toast.ok { border-left-color: var(--green); }
.toast.err { border-left-color: var(--red); }
@keyframes toastIn { from { transform: translateX(110%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
.toast.out { animation: toastOut 0.3s ease forwards; }
@keyframes toastOut { to { transform: translateX(110%); opacity: 0; } }

/* ---------------- Accordion (FAQ) ---------------- */
.accordion { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-item:last-child { border-bottom: none; }
.acc-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 17px 21px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  transition: background 0.18s;
}
.acc-q:hover { background: var(--bg); color: var(--teal); }
.acc-q .acc-ico { font-size: 20px; color: var(--orange); transition: transform 0.25s; flex-shrink: 0; }
.acc-item.open .acc-q { background: var(--bg); }
.acc-item.open .acc-ico { transform: rotate(45deg); }
.acc-a { max-height: 0; overflow: hidden; transition: max-height 0.32s ease; }
.acc-a p { padding: 0 21px 18px; font-size: 14px; color: var(--muted); line-height: 1.75; }

/* ---------------- About / Contact ---------------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about-img { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.about-text h2 { font-size: clamp(23px, 2.7vw, 31px); color: var(--navy); font-weight: 800; line-height: 1.3; margin-bottom: 15px; }
.about-text p { font-size: 14.5px; color: var(--muted); margin-bottom: 13px; line-height: 1.8; }
.about-text .btn { margin-top: 8px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-card { background: linear-gradient(135deg, var(--navy), #16406f); color: #fff; border-radius: var(--radius); padding: 25px 18px; text-align: center; position: relative; overflow: hidden; }
.stat-card::after { content: ""; position: absolute; right: -30px; top: -30px; width: 90px; height: 90px; background: rgba(255, 121, 0, 0.3); border-radius: 50%; }
.stat-card b { display: block; font-size: 33px; font-weight: 800; color: var(--orange); }
.stat-card span { font-size: 13px; color: #b9c7de; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 27px; align-items: start; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; gap: 15px; margin-bottom: 15px; transition: all 0.2s; }
.contact-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.contact-card .cc-ico {
  width: 48px; height: 48px; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(255, 121, 0, 0.15), rgba(0, 140, 168, 0.15));
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.contact-card h4 { font-size: 15px; color: var(--navy); margin-bottom: 3px; }
.contact-card p, .contact-card a { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.contact-card a:hover { color: var(--orange); }
.map-placeholder {
  background: linear-gradient(135deg, var(--navy), var(--teal));
  border-radius: var(--radius);
  height: 230px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  gap: 9px;
  font-size: 14.5px;
  text-align: center;
  padding: 20px;
}
.map-placeholder .m-ico { font-size: 42px; }

/* ---------------- Content pages ---------------- */
.content-page { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; margin: 30px 0 10px; }
.content-page h2 { color: var(--navy); font-size: 21px; margin: 26px 0 11px; }
.content-page h2:first-child { margin-top: 0; }
.content-page h3 { color: var(--navy); font-size: 16.5px; margin: 20px 0 8px; }
.content-page p, .content-page li { font-size: 14.5px; color: var(--muted); line-height: 1.8; margin-bottom: 9px; }
.content-page ul { padding-left: 6px; }
.content-page li { padding-left: 22px; position: relative; }
.content-page li::before { content: "▸"; position: absolute; left: 0; color: var(--orange); font-weight: 800; }

/* ---------------- 404 ---------------- */
.err-page { min-height: 58vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 50px 20px; }
.err-code { font-size: clamp(78px, 13vw, 140px); font-weight: 900; line-height: 1; background: linear-gradient(120deg, var(--navy), var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.err-page h2 { color: var(--navy); font-size: 25px; margin: 8px 0; }
.err-page p { color: var(--muted); margin-bottom: 24px; }

/* ---------------- Back to top ---------------- */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 300;
  width: 45px; height: 45px;
  border-radius: 50%;
  border: none;
  background: var(--navy);
  color: #fff;
  font-size: 19px;
  box-shadow: var(--shadow-lg);
  display: none;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.to-top.show { display: flex; }
.to-top:hover { background: var(--orange); transform: translateY(-4px); }

/* ---------------- Pagination ---------------- */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 32px; flex-wrap: wrap; }
.page-btn {
  min-width: 40px; height: 40px;
  padding: 0 13px;
  border: 1.5px solid var(--line);
  background: #fff;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  transition: all 0.16s;
}
.page-btn:hover { border-color: var(--teal); color: var(--teal); }
.page-btn.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.page-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1080px) {
  .shop-layout { grid-template-columns: 235px 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 28px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; padding: 40px 0; }
  .hero-visual { display: none; }
  .pdp { grid-template-columns: 1fr; }
  .pdp-gallery { position: static; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .summary-card { position: static; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .mega-menu { grid-template-columns: repeat(2, 1fr); }
  .shop-layout { grid-template-columns: 1fr; }
  .filter-panel { display: none; position: static; }
  .filter-panel.show { display: block; }
  .filter-toggle { display: inline-flex; }
}

@media (max-width: 768px) {
  .search-bar { order: 3; flex-basis: 100%; }
  .header-main { flex-wrap: wrap; gap: 12px; }
  .main-nav .nav-list { display: none; }
  .hamburger { display: block; }
  .logo-link img { height: 46px; }
  .header-icon-btn span.lbl { display: none; }
  .sale-inner { justify-content: center; text-align: center; }
  .sale-left { justify-content: center; text-align: center; flex-direction: column; }
  .sale-logo { font-size: 25px; padding: 16px 24px; }
  .cd-cell { min-width: 62px; }
  .cd-cell b { font-size: 25px; }
  .topbar .container { justify-content: center; font-size: 11.5px; }
  .cart-item { grid-template-columns: 84px 1fr; }
  .cart-item-right { grid-column: 2; text-align: left; }
  .cart-item-img { width: 84px; height: 76px; }
  .section { padding: 38px 0; }
  .section-title { font-size: 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .pdp-actions .btn { min-width: 100%; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-top-inner { flex-direction: column; text-align: center; }
  .content-page { padding: 22px; }
}

@media (max-width: 480px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 11px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .p-card-body { padding: 11px 12px 13px; }
  .p-name { font-size: 13px; min-height: 37px; }
  .p-price { font-size: 16.5px; }
  .p-card-actions { flex-direction: column; gap: 7px; }
  .cd-cell { min-width: 54px; padding: 8px 5px 6px; }
  .cd-cell b { font-size: 21px; }
  .countdown { gap: 5px; }
  .cd-sep { font-size: 19px; }
  .hero-stats { gap: 18px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 11px; }
}

