/* ============================================================
   Arctic Pop — brand system for a Sri Lankan cooling-wipes shop.
   Ice-blue + menthol mint, one coral "kick" accent, frost motifs.
   ============================================================ */

:root {
  --ink: #061b26;
  --ink-soft: #375866;
  --frost-50: #f2fbfc;
  --frost-100: #e3f6f8;
  --frost-200: #cdeef2;
  --ice-500: #1aa7d8;
  --ice-600: #1189b6;
  --ice-700: #0c6e96;
  --mint-300: #7cf0cf;
  --mint-400: #35e0b0;
  --mint-600: #0fb88c;
  --pop-500: #ff5d4a;
  --pop-600: #ea4632;
  --pop-700: #d43a28;
  --pop-800: #c22f1f;
  --mint-700: #087a5c;
  --white: #ffffff;
  --shadow-ice: 0 12px 30px -12px rgba(12, 110, 150, 0.35);
  --shadow-soft: 0 6px 18px -8px rgba(6, 27, 38, 0.18);
  --shadow-pop: 0 10px 24px -10px rgba(212, 58, 40, 0.5);
  --radius: 14px;
  --radius-sm: 8px;
  --maxw: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--frost-50);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .display {
  font-family: "Unbounded", "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  line-height: 1.08;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p { line-height: 1.6; color: var(--ink-soft); margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; touch-action: manipulation; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--ice-500);
  outline-offset: 2px;
  border-radius: 4px;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 13px 26px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}
.btn-primary {
  background: linear-gradient(120deg, var(--ice-500), var(--mint-400));
  color: var(--white);
  box-shadow: var(--shadow-ice);
}
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn-pop {
  background: var(--pop-700);
  color: var(--white);
  box-shadow: var(--shadow-pop);
}
.btn-pop:hover { background: var(--pop-800); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--ice-700);
  border: 2px solid var(--ice-500);
  padding: 11px 24px;
}
.btn-outline:hover { background: var(--frost-100); }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 16px; font-size: 0.78rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(242, 251, 252, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--frost-200);
}
.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Unbounded", sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--ink);
}
.brand .flake {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--ice-500), var(--mint-400));
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  box-shadow: var(--shadow-ice);
}
.brand small { display: block; font-family: "Plus Jakarta Sans"; font-weight: 500; font-size: 0.6rem; letter-spacing: 0.12em; color: var(--ice-700); text-transform: uppercase; }

.main-nav { display: flex; gap: 28px; }
.main-nav a {
  font-weight: 600; font-size: 0.92rem; color: var(--ink-soft);
  position: relative; padding: 4px 0;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 2px;
  background: linear-gradient(120deg, var(--ice-500), var(--mint-400));
  border-radius: 2px; transition: right 0.2s ease;
}
.main-nav a:hover { color: var(--ice-700); }
.main-nav a:hover::after { right: 0; }

.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 44px; height: 44px; border-radius: 10px;
  align-items: center; justify-content: center;
  color: var(--ink);
}
.nav-toggle:hover { background: var(--frost-100); }
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle.active .icon-menu { display: none; }
.nav-toggle.active .icon-close { display: block; }

.header-actions { display: flex; align-items: center; gap: 18px; }
.cart-pill {
  display: flex; align-items: center; gap: 8px;
  background: var(--ink);
  color: var(--white);
  padding: 9px 16px 9px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: var(--shadow-soft);
}
.cart-pill .badge-count {
  background: var(--pop-500);
  border-radius: 999px;
  min-width: 20px; height: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 140% at 15% 0%, var(--frost-100) 0%, var(--frost-50) 55%);
  padding: 76px 0 40px;
}
.hero::before {
  content: "";
  position: absolute;
  top: -180px; right: -160px;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(53, 224, 176, 0.35), rgba(26, 167, 216, 0.12) 60%, transparent 70%);
  filter: blur(2px);
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -140px; left: -120px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 93, 74, 0.14), transparent 70%);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white);
  border: 1px solid var(--frost-200);
  color: var(--ice-700);
  font-weight: 700; font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 7px 14px; border-radius: 999px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-soft);
}
.hero h1 { font-size: clamp(2.4rem, 4.6vw, 3.6rem); color: var(--ink); }
.hero h1 .accent {
  background: linear-gradient(120deg, var(--ice-600), var(--mint-600));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { font-size: 1.08rem; max-width: 480px; }
.hero-cta { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }

.hero-art {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 28px;
  background: linear-gradient(155deg, var(--ice-500), var(--mint-400) 78%);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-ice);
  overflow: hidden;
}
.hero-art svg { width: 62%; height: 62%; }
.hero-art::after {
  content: "";
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Ccircle cx='20' cy='20' r='2' fill='white' opacity='0.35'/%3E%3Ccircle cx='70' cy='55' r='1.4' fill='white' opacity='0.3'/%3E%3Ccircle cx='100' cy='15' r='1.8' fill='white' opacity='0.3'/%3E%3Ccircle cx='45' cy='95' r='2.2' fill='white' opacity='0.3'/%3E%3C/svg%3E");
}
.hero-floater {
  position: absolute; left: 14px; bottom: 14px;
  display: flex; align-items: center; gap: 8px;
  background: var(--white); border-radius: 14px; padding: 11px 16px;
  box-shadow: var(--shadow-soft);
  font-weight: 700; font-size: 0.82rem; color: var(--ink);
}
.hero-floater .dot { flex-shrink: 0; }

.wave-divider { display: block; width: 100%; height: 64px; margin-top: -2px; }

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--ink);
  color: var(--frost-100);
}
.trust-strip .wrap {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px;
  padding: 14px 24px; font-size: 0.82rem; font-weight: 600;
}
.trust-strip span { display: flex; align-items: center; gap: 8px; }
.trust-strip svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--mint-400); }

/* ---------- Sections ---------- */
section { padding: 56px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 30px; gap: 20px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.section-head p { margin: 0; }

/* Category chips */
.cat-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.cat-chip {
  background: var(--white);
  border: 1px solid var(--frost-200);
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 700; font-size: 0.86rem;
  color: var(--ice-700);
  box-shadow: var(--shadow-soft);
  transition: all 0.15s ease;
}
.cat-chip:hover, .cat-chip.active { background: var(--ice-500); color: var(--white); border-color: var(--ice-500); }

/* ---------- Product grid & card ---------- */
.grid-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 26px;
}
.card-product {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  display: flex; flex-direction: column;
}
.card-product:hover { transform: translateY(-6px); box-shadow: var(--shadow-ice); }
.card-product .thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  background: radial-gradient(circle at 50% 40%, var(--frost-100), var(--frost-50) 70%);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.card-product .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.card-product:hover .thumb img { transform: scale(1.05); }
.card-product .thumb .placeholder-icon { width: 46%; opacity: 0.85; }
.badges { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; z-index: 2; }
.badge {
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
}
.badge-sale { background: var(--pop-700); color: var(--white); }
.badge-scent { background: rgba(255,255,255,0.92); color: var(--mint-700); border: 1px solid var(--mint-300); }
.badge-out { background: var(--ink); color: var(--white); }

.card-product .info { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-product .cat-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ice-600); }
.card-product h3 { font-size: 1.02rem; margin: 0; }
.card-product .pack { font-size: 0.8rem; color: var(--ink-soft); margin: 0; }
.price-row { display: flex; align-items: baseline; gap: 8px; margin-top: auto; }
.price-now { font-family: "Unbounded", sans-serif; font-weight: 700; font-size: 1.1rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.price-was { font-size: 0.86rem; color: #7c93a0; text-decoration: line-through; font-variant-numeric: tabular-nums; }
.card-product form { margin-top: 12px; }

/* ---------- Why us / features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature-card {
  background: var(--white); border-radius: var(--radius); padding: 26px 22px;
  box-shadow: var(--shadow-soft); text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-ice); }
.feature-card .ic {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--frost-100); color: var(--ice-700);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.feature-card .ic.ic-mint { background: #e2fbf3; color: var(--mint-700); }
.feature-card .ic.ic-pop { background: #ffece9; color: var(--pop-700); }
.feature-card .ic.ic-ink { background: #eaf1f3; color: var(--ink); }
.feature-card h4 { font-size: 1rem; margin-bottom: 6px; }
.feature-card p { font-size: 0.88rem; margin: 0; }

/* ---------- Breadcrumb ---------- */
.crumb { font-size: 0.82rem; color: var(--ink-soft); margin-bottom: 22px; }
.crumb a:hover { color: var(--ice-700); }

/* ---------- Product detail ---------- */
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; }
.pdp-gallery { position: sticky; top: 100px; }
.pdp-gallery .main-shot {
  aspect-ratio: 1/1; border-radius: 20px; overflow: hidden;
  background: radial-gradient(circle at 50% 35%, var(--frost-100), var(--frost-50) 75%);
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-soft);
}
.pdp-gallery .main-shot img { width: 100%; height: 100%; object-fit: cover; }
.pdp-gallery .main-shot .placeholder-icon { width: 40%; }
.thumb-row { display: flex; gap: 10px; margin-top: 14px; }
.thumb-btn {
  width: 68px; height: 68px; border-radius: 10px; border: 2px solid var(--frost-200);
  padding: 0; overflow: hidden; cursor: pointer; background: var(--frost-50);
  transition: border-color 0.15s ease;
}
.thumb-btn:hover, .thumb-btn.active { border-color: var(--ice-500); }
.thumb-btn img { width: 100%; height: 100%; object-fit: cover; display: block; }

.pdp-info .cat-label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ice-600); margin-bottom: 8px; }
.pdp-info h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.pdp-tags { display: flex; gap: 10px; margin: 14px 0 20px; flex-wrap: wrap; }
.tag { font-size: 0.78rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--frost-100); color: var(--ice-700); }
.pdp-price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.pdp-price .now { font-family: "Unbounded"; font-size: 2rem; font-weight: 700; }
.pdp-price .was { font-size: 1.1rem; color: #7c93a0; text-decoration: line-through; }
.pdp-price .save { color: var(--pop-700); font-weight: 700; font-size: 0.9rem; }
.stock-line { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.86rem; margin-bottom: 22px; }
.dot { width: 9px; height: 9px; border-radius: 50%; }
.dot.ok { background: var(--mint-600); }
.dot.low { background: #c98a0a; }
.dot.out { background: var(--pop-700); }

.qty-row { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.qty-input {
  display: flex; align-items: center; border: 2px solid var(--frost-200); border-radius: 999px; overflow: hidden;
}
.qty-input button { background: var(--frost-100); border: none; width: 44px; height: 44px; font-size: 1.1rem; cursor: pointer; color: var(--ice-700); }
.qty-input button:hover { background: var(--frost-200); }
.qty-input input { width: 46px; border: none; text-align: center; font-weight: 700; font-size: 1rem; height: 44px; }
.pdp-desc { border-top: 1px solid var(--frost-200); margin-top: 30px; padding-top: 24px; }
.pdp-desc h4 { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ice-700); }

.related-title { margin: 70px 0 24px; }

/* ---------- Cart ---------- */
.cart-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
.cart-line {
  display: grid; grid-template-columns: 84px 1fr auto auto; gap: 16px; align-items: center;
  background: var(--white); border-radius: var(--radius-sm); padding: 16px; box-shadow: var(--shadow-soft); margin-bottom: 14px;
}
.cart-line .thumb-sm {
  width: 84px; height: 84px; border-radius: 10px; overflow: hidden;
  background: radial-gradient(circle at 50% 40%, var(--frost-100), var(--frost-50) 75%);
  display: flex; align-items: center; justify-content: center;
}
.cart-line .thumb-sm img { width: 100%; height: 100%; object-fit: cover; }
.cart-line .thumb-sm .placeholder-icon { width: 55%; }
.cart-line h4 { font-size: 0.95rem; margin: 0 0 4px; }
.cart-line .meta { font-size: 0.8rem; color: var(--ink-soft); }
.cart-line .line-price { font-family: "Unbounded"; font-weight: 700; font-variant-numeric: tabular-nums; }
.remove-link {
  font-size: 0.8rem; color: var(--pop-700); font-weight: 700;
  padding: 10px 4px; min-height: 44px; display: inline-flex; align-items: center;
}
.remove-link:hover { color: var(--pop-800); text-decoration: underline; }

.summary-card {
  background: var(--white); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-soft);
  position: sticky; top: 100px;
}
.summary-row { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 0.92rem; color: var(--ink-soft); }
.summary-row.total { font-size: 1.15rem; font-weight: 700; color: var(--ink); border-top: 1px solid var(--frost-200); padding-top: 14px; margin-top: 6px; }
.free-ship-note { background: var(--frost-100); color: var(--ice-700); font-size: 0.8rem; font-weight: 600; padding: 10px 14px; border-radius: 10px; margin-bottom: 16px; }

/* ---------- Checkout ---------- */
.checkout-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.form-card { background: var(--white); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-soft); }
.form-card h3 { font-size: 1.05rem; margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.82rem; font-weight: 700; margin-bottom: 6px; color: var(--ink); }
.field:has(> input[required], > select[required], > textarea[required]) label::after {
  content: " *"; color: var(--pop-700);
}
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border-radius: 10px; border: 1.6px solid var(--frost-200);
  font-family: inherit; font-size: 16px; background: var(--frost-50); color: var(--ink);
  min-height: 44px; transition: border-color 0.15s ease, background 0.15s ease;
}
.field textarea { min-height: 90px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--ice-500); background: var(--white);
  box-shadow: 0 0 0 4px rgba(26, 167, 216, 0.14);
}
.field input::placeholder, .field textarea::placeholder { color: #9db2ba; }
.pay-options { display: grid; gap: 12px; margin-bottom: 10px; }
.pay-option {
  display: flex; align-items: flex-start; gap: 12px; border: 2px solid var(--frost-200); border-radius: 12px; padding: 14px 16px; cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.pay-option:hover { border-color: var(--ice-500); }
.pay-option:has(input:checked) { border-color: var(--ice-500); background: var(--frost-50); }
.pay-option input[type="radio"] { width: 18px; height: 18px; accent-color: var(--ice-500); margin-top: 2px; flex-shrink: 0; }
.pay-option strong { display: block; font-size: 0.94rem; }
.pay-option span.help { font-size: 0.8rem; color: var(--ink-soft); }
.errorlist { color: var(--pop-600); font-size: 0.8rem; list-style: none; padding: 0; margin: 4px 0 0; }

/* ---------- Confirmation ---------- */
.confirm-hero { text-align: center; padding: 30px 0 10px; }
.confirm-icon {
  width: 78px; height: 78px; border-radius: 50%;
  background: linear-gradient(135deg, var(--ice-500), var(--mint-400));
  display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; box-shadow: var(--shadow-ice);
}
.order-no { font-family: "Unbounded"; font-size: 1.4rem; }
.panel {
  background: var(--white); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-soft); margin-bottom: 22px;
}
.bank-box { background: var(--frost-50); border: 1.6px dashed var(--ice-500); border-radius: 12px; padding: 18px; }
.bank-box dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; font-size: 0.92rem; }
.bank-box dt { color: var(--ink-soft); font-weight: 600; }
.bank-box dd { margin: 0; font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink); color: var(--frost-100); margin-top: 60px; padding: 50px 0 26px;
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--ice-500), var(--mint-400), var(--pop-500)) 1;
}
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand .flake {
  width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--ice-500), var(--mint-400));
  display: flex; align-items: center; justify-content: center; color: var(--white);
}
.footer-brand span { font-family: "Unbounded", sans-serif; font-weight: 800; font-size: 1.1rem; color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 34px; }
.site-footer h5 { color: var(--white); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 14px; }
.site-footer p, .site-footer a { color: #a9c3cb; font-size: 0.9rem; }
.site-footer a:hover { color: var(--mint-400); }
.site-footer li { list-style: none; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.site-footer li svg { width: 15px; height: 15px; flex-shrink: 0; color: var(--mint-400); }
.site-footer ul { padding: 0; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 20px; font-size: 0.8rem; color: #7f9aa2; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Messages ---------- */
.messages { list-style: none; padding: 0; margin: 18px 0; }
.messages li { padding: 12px 18px; border-radius: 10px; font-weight: 600; font-size: 0.9rem; margin-bottom: 10px; }
.messages .success { background: #e2fbf3; color: var(--mint-700); border: 1px solid var(--mint-300); }
.messages .error { background: #ffece9; color: var(--pop-700); border: 1px solid #ffc3ba; }

/* ---------- Empty states ---------- */
.empty-state { text-align: center; padding: 70px 20px; }
.empty-state .ic { width: 74px; height: 74px; margin: 0 auto 20px; color: var(--ice-500); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { max-width: 320px; margin: 0 auto; }
  .pdp { grid-template-columns: 1fr; }
  .pdp-gallery { position: static; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--frost-200);
    box-shadow: var(--shadow-soft);
    max-height: 0; overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .main-nav.nav-open { max-height: 60vh; overflow-y: auto; }
  .main-nav a {
    padding: 15px 24px; border-bottom: 1px solid var(--frost-100); font-size: 1rem; min-height: 44px;
    display: flex; align-items: center;
  }
  .main-nav a::after { display: none; }
  .cart-line { grid-template-columns: 60px 1fr; grid-template-rows: auto auto; }
  .feature-grid { grid-template-columns: 1fr; }
}
