/* Velnix — India's Smart Shopping Store */
:root {
  --blue-900: #0b1f3a;
  --blue-800: #12305a;
  --blue-700: #1a4580;
  --blue-600: #2563a8;
  --blue-500: #3b82c4;
  --blue-100: #e8f1fb;
  --blue-50: #f3f7fc;
  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --surface: #ffffff;
  --accent: #e85d04;
  --accent-dark: #c44d00;
  --success: #0f766e;
  --danger: #b91c1c;
  --star: #f59e0b;
  --radius: 10px;
  --shadow: 0 8px 28px rgba(11, 31, 58, 0.12);
  --font-display: "Plus Jakarta Sans", sans-serif;
  --font-body: "DM Sans", sans-serif;
  --max: 1200px;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--blue-50);
  line-height: 1.5;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  margin: 0 0 0.5rem;
}

p {
  margin: 0 0 0.75rem;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Announcement */
.announcement {
  background: var(--blue-900);
  color: #fff;
  text-align: center;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  padding: 0.55rem 1rem;
}

.announcement strong {
  color: #93c5fd;
}

/* Header */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 1rem;
  align-items: center;
  min-height: var(--header-h);
  padding-block: 0.65rem;
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.45rem;
  color: var(--blue-800);
  letter-spacing: -0.03em;
}

.logo span {
  color: var(--blue-500);
}

.search-form {
  display: flex;
  max-width: 420px;
  width: 100%;
  margin-inline: auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}

.search-form input {
  flex: 1;
  border: 0;
  padding: 0.65rem 1rem;
  outline: none;
  min-width: 0;
}

.search-form button {
  border: 0;
  background: var(--blue-700);
  color: #fff;
  padding: 0.65rem 1.1rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.875rem;
}

.nav-links {
  display: flex;
  gap: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.nav-links a:hover {
  color: var(--blue-600);
}

.header-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--ink-soft);
  padding: 0.35rem 0.5rem;
}

.account-menu {
  position: relative;
}

.account-trigger {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.4rem 0.7rem;
}

.account-trigger:hover,
.account-menu.open .account-trigger {
  background: var(--blue-50);
  border-color: var(--line);
  color: var(--blue-800);
}

.account-caret {
  font-size: 0.7rem;
  opacity: 0.7;
  transition: transform 0.15s;
}

.account-menu.open .account-caret {
  transform: rotate(180deg);
}

.account-dropdown {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  width: min(280px, calc(100vw - 1.5rem));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(11, 31, 58, 0.18);
  padding: 0.5rem;
  z-index: 200;
  animation: fadeUp 0.18s ease;
}

.account-drop-head {
  padding: 0.65rem 0.75rem 0.55rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0.35rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.account-drop-head strong {
  display: block;
  color: var(--blue-900);
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.account-drop-head span {
  font-size: 0.78rem;
  color: var(--muted);
  word-break: break-all;
}

.account-coupon-chip {
  margin: 0.35rem 0.35rem 0.55rem;
  padding: 0.65rem 0.7rem;
  background: linear-gradient(135deg, #fff7ed, #eff6ff);
  border: 1px dashed #fdba74;
  border-radius: 8px;
  display: grid;
  gap: 0.2rem;
}

.account-coupon-chip span {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.account-coupon-chip code {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--blue-800);
}

.account-coupon-chip em {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 700;
}

.account-coupon-chip em.is-active {
  color: #0f766e;
}

.account-coupon-chip em.is-used {
  color: var(--danger);
}

.account-item {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 8px;
  padding: 0.65rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  text-decoration: none;
}

.account-item:hover {
  background: var(--blue-50);
  color: var(--blue-800);
}

.account-item-danger {
  color: var(--danger);
  border-top: 1px solid var(--line);
  margin-top: 0.25rem;
  border-radius: 0 0 8px 8px;
}

.account-item-danger:hover {
  background: #fef2f2;
  color: var(--danger);
}

.profile-body {
  margin-top: 0.5rem;
}

.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.profile-grid .full {
  grid-template-columns: 1fr;
  grid-column: 1 / -1;
}

.profile-grid > div {
  background: var(--blue-50);
  border-radius: 8px;
  padding: 0.75rem;
}

.profile-grid span {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.profile-grid strong {
  font-size: 0.9rem;
  color: var(--ink);
  font-weight: 600;
  word-break: break-word;
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -6px;
  background: var(--accent);
  color: #fff;
  font-size: 0.65rem;
  min-width: 1.1rem;
  height: 1.1rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 700;
}

/* Trust strip */
.trust-strip {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 0.65rem 0;
}

.trust-strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue-800);
}

.trust-strip span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.5rem;
  border-radius: 8px;
  border: 0;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s, box-shadow 0.15s;
  text-align: center;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 18px rgba(232, 93, 4, 0.28);
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-secondary {
  background: #fff;
  color: var(--blue-800);
  border: 1.5px solid var(--blue-700);
}

.btn-secondary:hover {
  background: var(--blue-100);
}

.btn-dark {
  background: var(--blue-800);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--blue-700);
  border: 1px solid transparent;
}

.btn-block {
  width: 100%;
}

/* Sections */
.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: #fff;
}

.section-head {
  text-align: center;
  margin-bottom: 2rem;
}

.section-head h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--blue-900);
}

.section-head p {
  color: var(--muted);
  max-width: 36rem;
  margin-inline: auto;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 0.5rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 85% 20%, rgba(59, 130, 196, 0.35), transparent),
    radial-gradient(ellipse 50% 50% at 10% 80%, rgba(26, 69, 128, 0.45), transparent),
    linear-gradient(135deg, #0b1f3a 0%, #12305a 45%, #1a4580 100%);
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  animation: gridDrift 28s linear infinite;
}

@keyframes gridDrift {
  from { background-position: 0 0; }
  to { background-position: 48px 48px; }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
  padding-block: 3rem;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.hero-welcome {
  font-size: 0.95rem;
  opacity: 0.85;
  margin-bottom: 0.25rem;
  animation: fadeUp 0.7s ease both;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 0 0 0.75rem;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
  animation: fadeUp 0.7s ease 0.08s both;
}

.hero-headline {
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: #fff;
  animation: fadeUp 0.7s ease 0.16s both;
}

.hero-sub {
  font-size: 1.05rem;
  opacity: 0.92;
  margin-bottom: 1.25rem;
  color: #e2e8f0;
  animation: fadeUp 0.7s ease 0.22s both;
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.7s ease 0.28s both;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 0.55rem 0.75rem;
}

.hero-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-bottom: 1.75rem;
  font-size: 0.875rem;
  animation: fadeUp 0.7s ease 0.34s both;
}

.hero-icons span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  opacity: 0.95;
}

.hero-cta {
  animation: fadeUp 0.7s ease 0.4s both;
}

.hero-products {
  display: grid;
  gap: 1rem;
  animation: fadeUp 0.8s ease 0.25s both;
}

.hero-product {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 0.85rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 0.75rem;
  transition: transform 0.2s, background 0.2s;
}

.hero-product:hover {
  transform: translateX(-4px);
  background: rgba(255, 255, 255, 0.16);
}

.hero-product img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 8px;
  background: #fff;
}

.hero-product h3 {
  font-size: 0.95rem;
  margin: 0 0 0.25rem;
}

.hero-product .price {
  font-weight: 700;
  color: #93c5fd;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Gift section */
.gift-section {
  background: linear-gradient(180deg, #fff 0%, var(--blue-50) 100%);
  padding: 4rem 0;
}

.gift-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 3rem;
}

.gift-rules {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 1.75rem;
}

.gift-rules li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.4rem 0;
  font-weight: 500;
  color: var(--ink-soft);
}

.gift-rules li::before {
  content: "✔";
  color: var(--success);
  font-weight: 700;
}

.gift-visual {
  position: relative;
  min-height: 320px;
  display: grid;
  place-items: center;
}

.gift-box {
  width: 160px;
  height: 140px;
  background: linear-gradient(145deg, #f97316, #ea580c);
  border-radius: 12px;
  position: relative;
  box-shadow: var(--shadow);
  animation: floatBox 3s ease-in-out infinite;
}

.gift-box::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 28px;
  transform: translateX(-50%);
  background: #fbbf24;
}

.gift-box::after {
  content: "";
  position: absolute;
  top: 42%;
  left: 0;
  right: 0;
  height: 28px;
  background: #fbbf24;
}

.gift-lid {
  position: absolute;
  top: -28px;
  left: -8px;
  right: -8px;
  height: 36px;
  background: linear-gradient(145deg, #fb923c, #ea580c);
  border-radius: 10px 10px 4px 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.coupon-float {
  position: absolute;
  right: 8%;
  top: 18%;
  background: #fff;
  border: 2px dashed var(--accent);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow);
  animation: couponPop 2.4s ease-in-out infinite;
  z-index: 2;
}

.coupon-float .label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.coupon-float .amount {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

@keyframes floatBox {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes couponPop {
  0%, 100% { transform: rotate(-6deg) scale(1); }
  50% { transform: rotate(-2deg) scale(1.05); }
}

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.product-grid.cols-4 {
  grid-template-columns: repeat(3, 1fr);
}

.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: 0 12px 32px rgba(11, 31, 58, 0.14);
  transform: translateY(-4px);
  border-color: #c7d7ea;
}

.product-card a.media {
  display: block;
  aspect-ratio: 1;
  background: #f7f9fc;
  overflow: hidden;
  position: relative;
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.75rem;
  transition: transform 0.35s;
}

.product-card:hover img {
  transform: scale(1.04);
}

.product-card .body {
  padding: 0.9rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.product-card h3 {
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.35;
  min-height: 2.6em;
}

.product-card h3 a:hover {
  color: var(--blue-600);
}

.rating-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.rating-count {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 600;
}

.card-note {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-dark);
}

.card-actions {
  margin-top: auto;
  padding-top: 0.35rem;
}

.stars {
  color: var(--star);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

.price-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: baseline;
}

.price-original {
  color: var(--muted);
  text-decoration: line-through;
  font-size: 0.85rem;
}

.price-member {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--accent);
}

.price-now {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--blue-800);
}

.price-save {
  font-size: 0.72rem;
  font-weight: 800;
  color: #0f766e;
  background: #ecfdf5;
  border-radius: 4px;
  padding: 0.15rem 0.4rem;
}

.badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  background: var(--blue-100);
  color: var(--blue-800);
}

.badge-hot {
  background: #fff1e6;
  color: var(--accent-dark);
}

.badge-overlay {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.badge-save {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 2;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.25rem 0.45rem;
  border-radius: 6px;
}

/* Categories */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.cat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 0.75rem;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}

.cat-card:hover {
  border-color: var(--blue-500);
  transform: translateY(-2px);
}

.cat-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  background: var(--blue-100);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
}

.cat-card h3 {
  font-size: 0.85rem;
  margin: 0;
}

/* Flash sale */
.flash-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.countdown {
  display: flex;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
}

.countdown span {
  background: var(--blue-900);
  color: #fff;
  min-width: 3rem;
  padding: 0.5rem;
  border-radius: 6px;
  text-align: center;
  font-size: 0.9rem;
}

/* Trust badges dense */
.trust-dense {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
}

.trust-chip {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.85rem 0.65rem;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue-800);
}

/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.review-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem;
}

.review-card.has-media img,
.review-card.has-media .video-thumb {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.75rem;
  background: var(--blue-100);
}

.video-thumb {
  display: grid;
  place-items: center;
  color: var(--blue-700);
  font-weight: 700;
  font-size: 0.85rem;
  position: relative;
}

.video-thumb::before {
  content: "▶";
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.review-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.review-card p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin: 0;
}

.review-product {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--blue-600);
  margin: 0.25rem 0 0.5rem;
  letter-spacing: 0.02em;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin-inline: auto;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 0.65rem;
  overflow: hidden;
}

.faq-item summary {
  padding: 1rem 1.15rem;
  cursor: pointer;
  font-weight: 700;
  font-family: var(--font-display);
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--blue-600);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item .answer {
  padding: 0 1.15rem 1.15rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* Brand story */
.brand-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.brand-story-visual {
  min-height: 280px;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(11, 31, 58, 0.85), rgba(26, 69, 128, 0.7)),
    url("https://images.unsplash.com/photo-1556742049-0cfed4f6a45d?w=800&q=80") center/cover;
  color: #fff;
  display: flex;
  align-items: flex-end;
  padding: 2rem;
}

/* Newsletter */
.newsletter {
  background: var(--blue-800);
  color: #fff;
  padding: 3rem 0;
  text-align: center;
}

.newsletter-form {
  display: flex;
  max-width: 420px;
  margin: 1.25rem auto 0;
  gap: 0.5rem;
}

.newsletter-form input {
  flex: 1;
  border: 0;
  border-radius: 8px;
  padding: 0.85rem 1rem;
  outline: none;
}

/* Footer */
.site-footer {
  background: var(--blue-900);
  color: #cbd5e1;
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.site-footer h4 {
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin-bottom: 0.45rem;
}

.site-footer a:hover {
  color: #fff;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
  font-size: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 31, 58, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}

.modal-overlay.open {
  display: flex;
}

.modal {
  background: #fff;
  border-radius: 14px;
  width: min(100%, 420px);
  padding: 1.75rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  animation: fadeUp 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
}

.modal.modal-wide {
  width: min(100%, 640px);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.form-row-3 {
  grid-template-columns: 1fr 1fr 1fr;
}

.form-group select {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
  background: #fff;
}

@media (max-width: 560px) {
  .form-row,
  .form-row-3 {
    grid-template-columns: 1fr;
  }
}

.modal h2 {
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
}

.modal .lead {
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.form-group {
  margin-bottom: 0.9rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--ink-soft);
}

.form-group input {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
}

.form-group input:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(59, 130, 196, 0.15);
}

.modal-close {
  float: right;
  background: transparent;
  border: 0;
  font-size: 1.35rem;
  cursor: pointer;
  color: var(--muted);
  line-height: 1;
}

.modal-success {
  text-align: center;
}

.modal-success .emoji {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

/* Page layouts: product / cart / checkout */
.page-hero-sm {
  background: var(--blue-800);
  color: #fff;
  padding: 1.75rem 0;
}

.page-hero-sm h1 {
  margin: 0;
  font-size: 1.75rem;
}

.breadcrumb {
  font-size: 0.8rem;
  opacity: 0.8;
  margin-bottom: 0.35rem;
}

.pdp {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  padding: 2.5rem 0 4rem;
}

.pdp-gallery {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.pdp-gallery img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

.pdp-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.pdp-rating .score {
  font-weight: 800;
  font-size: 1.25rem;
}

.pdp-rating .count {
  color: var(--muted);
  font-size: 0.9rem;
}

.pdp-prices {
  margin: 1rem 0;
}

.pdp-prices .was {
  font-size: 1.15rem;
  color: var(--muted);
  text-decoration: line-through;
}

.pdp-prices .now {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.1;
}

.pdp-notes {
  background: var(--blue-50);
  border-left: 3px solid var(--blue-600);
  padding: 0.85rem 1rem;
  margin: 1.25rem 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.pdp-notes li {
  margin-bottom: 0.25rem;
}

.pdp-actions {
  display: grid;
  gap: 0.75rem;
  max-width: 320px;
}

/* Cart / checkout tables */
.cart-layout,
.checkout-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 1.5rem;
  padding: 2rem 0 4rem;
}

.cart-items,
.checkout-panel,
.summary-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.25rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.cart-item:last-child {
  border-bottom: 0;
}

.cart-item img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--blue-100);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  font-size: 0.95rem;
}

.summary-row.total {
  border-top: 1px solid var(--line);
  margin-top: 0.5rem;
  padding-top: 0.85rem;
  font-weight: 800;
  font-size: 1.15rem;
}

.summary-row .discount {
  color: var(--success);
}

.coupon-banner {
  background: #ecfdf5;
  border: 1px solid #99f6e4;
  color: var(--success);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.checkout-coupon-box {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 1rem;
  background: #fafbfc;
}

.checkout-coupon-box h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.coupon-help {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.45;
}

.coupon-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.coupon-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--blue-50);
  border: 1px solid var(--blue-200, #bfdbfe);
  color: var(--blue-800);
  border-radius: 999px;
  padding: 0.25rem 0.55rem;
  font-size: 0.8rem;
  font-weight: 600;
}

.coupon-chip-x {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  color: inherit;
  padding: 0 0.15rem;
}

.coupon-hint {
  font-size: 0.85rem;
  color: var(--muted);
}

.coupon-apply-row {
  display: flex;
  gap: 0.5rem;
}

.coupon-apply-row input {
  flex: 1;
  min-width: 0;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.coupon-product-list {
  display: grid;
  gap: 0.4rem;
}

.coupon-product-pick {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.88rem;
}

.coupon-product-pick:has(input:checked) {
  border-color: var(--blue-500);
  background: var(--blue-50);
}

.card-note {
  margin: 0.35rem 0 0.65rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.product-card .media {
  position: relative;
}

.wish-btn {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 3;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.95);
  color: #94a3b8;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.wish-btn:hover {
  color: #e11d48;
  border-color: #fecdd3;
}

.wish-btn.is-on {
  color: #e11d48;
  border-color: #fda4af;
  background: #fff1f2;
}

.pdp-wish-row {
  margin: 0 0 1rem;
}

.payment-options {
  display: grid;
  gap: 0.5rem;
  margin: 1rem 0;
}

.payment-options label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.payment-options label:has(input:checked) {
  border-color: var(--blue-500);
  background: var(--blue-50);
}

/* Native WooCommerce-style checkout */
.checkout-page {
  background: #fff;
}

.wc-checkout {
  padding: 2rem 0 4rem;
  background: #fff;
}

.wc-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1d2327;
  margin: 0 0 1.5rem;
  font-family: var(--font-body);
}

.wc-checkout-form {
  margin: 0;
}

.wc-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}

.wc-section h2,
.wc-order > h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1d2327;
  margin: 0 0 1rem;
  font-family: var(--font-body);
  padding-bottom: 0.35rem;
}

.wc-section + .wc-section {
  margin-top: 2rem;
}

.wc-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.wc-field {
  margin: 0 0 1rem;
}

.wc-field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1d2327;
  margin-bottom: 0.4rem;
}

.wc-field .required {
  color: #b32d2e;
  text-decoration: none;
  border: 0;
}

.wc-field .optional {
  font-weight: 400;
  color: #757575;
}

.wc-field input[type="text"],
.wc-field input[type="email"],
.wc-field input[type="tel"],
.wc-field textarea,
.wc-select select {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid #d4d4d8;
  border-radius: 3px;
  background: #fff;
  font-size: 0.9375rem;
  color: #1d2327;
  outline: none;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
}

.wc-field input:focus,
.wc-field textarea:focus,
.wc-select select:focus {
  border-color: #2271b1;
  box-shadow: 0 0 0 1px #2271b1;
}

.wc-field textarea {
  resize: vertical;
  min-height: 100px;
}

.wc-select {
  display: block;
}

.wc-select select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%23555' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2rem;
}

.wc-state-text {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid #d4d4d8;
  border-radius: 3px;
  background: #fff;
  font-size: 0.9375rem;
  color: #1d2327;
  outline: none;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
}

.wc-state-text:focus {
  border-color: #2271b1;
  box-shadow: 0 0 0 1px #2271b1;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.wc-order {
  border: 2px solid #e5e5e5;
  border-radius: 4px;
  padding: 1.25rem 1.35rem 1.5rem;
  background: #fff;
  position: sticky;
  top: 5.5rem;
}

.shop-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.25rem;
  font-size: 0.9375rem;
}

.shop-table th,
.shop-table td {
  padding: 0.75rem 0;
  border-bottom: 1px solid #e5e5e5;
  text-align: left;
  vertical-align: top;
}

.shop-table thead th {
  font-weight: 700;
  color: #1d2327;
}

.shop-table .product-total,
.shop-table tfoot td {
  text-align: right;
}

.shop-table tbody tr.cart-item {
  display: table-row;
  grid-template-columns: none;
  padding: 0;
  border: 0;
  gap: 0;
}

.shop-table tbody td.product-name {
  color: #1d2327;
}

.shop-table .product-quantity {
  font-weight: 700;
}

.shop-table tfoot th {
  font-weight: 600;
  color: #1d2327;
}

.shop-table tfoot .order-total th,
.shop-table tfoot .order-total td {
  border-bottom: 0;
  font-size: 1.1rem;
  padding-top: 1rem;
}

.shop-table .discount {
  color: #0f766e;
}

.wc-payment {
  margin-top: 0.5rem;
}

.wc-payment-methods {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  background: #f5f5f5;
  border-radius: 3px;
  overflow: hidden;
}

.wc-payment-method {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #e0e0e0;
}

.wc-payment-method:last-child {
  border-bottom: 0;
}

.wc-payment-method input[type="radio"] {
  margin-right: 0.45rem;
  vertical-align: middle;
}

.wc-payment-method label {
  font-weight: 700;
  color: #1d2327;
  cursor: pointer;
  vertical-align: middle;
}

.wc-payment-box {
  margin: 0.65rem 0 0 1.35rem;
  font-size: 0.875rem;
  color: #515151;
}

.wc-payment-box p {
  margin: 0;
}

.wc-privacy {
  font-size: 0.8125rem;
  color: #515151;
  line-height: 1.5;
  margin-bottom: 1.1rem;
}

.wc-privacy a {
  color: #2271b1;
  text-decoration: underline;
}

.wc-place-order {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 3px;
  background: #2271b1;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 0.95rem 1.25rem;
  cursor: pointer;
  transition: background 0.15s;
}

.wc-place-order:hover {
  background: #135e96;
}

@media (max-width: 900px) {
  .wc-grid {
    grid-template-columns: 1fr;
  }

  .wc-order {
    position: static;
  }

  .wc-row-2 {
    grid-template-columns: 1fr;
  }
}

.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--muted);
}

.success-page {
  max-width: 520px;
  margin: 3rem auto 4rem;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow);
}

.success-page .emoji {
  font-size: 3rem;
}

.success-page h1 {
  font-size: 2rem;
  margin: 0.5rem 0;
}

.recently-viewed-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: var(--blue-900);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  z-index: 1100;
  transition: transform 0.3s;
  pointer-events: none;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
}

/* Responsive */
@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
  }
  .nav-links {
    display: none;
  }
  .hero-inner,
  .gift-layout,
  .pdp,
  .cart-layout,
  .checkout-layout,
  .brand-story,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: auto;
  }
  .product-grid,
  .product-grid.cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .cat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .trust-dense {
    grid-template-columns: repeat(3, 1fr);
  }
  .reviews-grid {
    grid-template-columns: 1fr 1fr;
  }
  .recently-viewed-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 560px) {
  .search-form {
    display: none;
  }
  .header-inner {
    grid-template-columns: 1fr auto;
  }
  .hero-trust {
    grid-template-columns: 1fr;
  }
  .product-grid,
  .product-grid.cols-4,
  .reviews-grid,
  .cat-grid,
  .trust-dense,
  .recently-viewed-row {
    grid-template-columns: 1fr 1fr;
  }
  .newsletter-form {
    flex-direction: column;
  }
}
