/* ============================================================
   AIRWAVE PHOOL MAKHANA — front-end styles
   ============================================================ */

:root {
  --green-900: #0f3d21;
  --green-800: #14532d;
  --green-700: #1b6b38;
  --green-600: #2e8b46;
  --green-500: #4caf50;
  --gold-600: #b8860b;
  --gold-500: #d4af37;
  --gold-300: #e8cf86;
  --cream: #fbf8ef;
  --cream-dark: #f3eddc;
  --ink: #1d2419;
  --muted: #5e6b5c;
  --line: #e3ddc9;
  --white: #ffffff;
  --radius: 16px;
  --shadow-sm: 0 2px 8px rgba(20, 60, 35, .07);
  --shadow: 0 10px 30px rgba(20, 60, 35, .12);
  --shadow-lg: 0 20px 50px rgba(20, 60, 35, .18);
  --max: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--green-700); text-decoration: none; }
a:hover { color: var(--gold-600); }

h1, h2, h3, h4 { font-family: Georgia, "Times New Roman", serif; line-height: 1.22; color: var(--green-900); }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border: 0; border-radius: 50px;
  font-size: 15px; font-weight: 600; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--green-700), var(--green-600)); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { color: #fff; box-shadow: var(--shadow); }
.btn-gold { background: linear-gradient(135deg, var(--gold-600), var(--gold-500)); color: #3a2c05; }
.btn-gold:hover { color: #3a2c05; }
.btn-outline { background: transparent; border: 2px solid var(--green-700); color: var(--green-800); }
.btn-outline:hover { background: var(--green-800); color: #fff; }
.btn-light { background: #fff; color: var(--green-800); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 18px; font-size: 14px; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--green-900); color: #dfe9dc; font-size: 13.5px; padding: 8px 0;
}
.topbar .container { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; justify-content: space-between; }
.topbar a { color: #dfe9dc; }
.topbar a:hover { color: var(--gold-300); }
.topbar-info { display: flex; flex-wrap: wrap; gap: 6px 20px; }

/* ---------- Header ---------- */
.site-header {
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 60;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold-500); }
.brand-text strong { display: block; font-family: Georgia, serif; font-size: 19px; color: var(--green-800); letter-spacing: .4px; line-height: 1.2; }
.brand-text span { font-size: 12px; color: var(--gold-600); letter-spacing: 1.6px; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 10px 14px; border-radius: 8px; font-weight: 600; font-size: 15px; color: var(--green-900);
}
.nav a:hover, .nav a.active { background: var(--cream-dark); color: var(--green-700); }
.nav .btn { margin-left: 10px; }

.nav-toggle {
  display: none; background: none; border: 0; font-size: 26px; color: var(--green-800); cursor: pointer; line-height: 1;
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #0f3d21 0%, #1b6b38 55%, #2e8b46 100%);
  color: #fff; padding: 74px 0 84px;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(212, 175, 55, .28), transparent 55%);
}
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: center; }
.hero-badge {
  display: inline-block; background: rgba(255, 255, 255, .14); border: 1px solid rgba(232, 207, 134, .5);
  color: var(--gold-300); padding: 6px 16px; border-radius: 40px; font-size: 13px; letter-spacing: 1.2px;
  text-transform: uppercase; margin-bottom: 18px;
}
.hero h1 { color: #fff; font-size: clamp(30px, 4.6vw, 48px); margin-bottom: 14px; }
.hero h1 em { color: var(--gold-300); font-style: normal; }
.hero p.lead { font-size: 17.5px; color: #e6f0e4; max-width: 560px; margin-bottom: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-visual { position: relative; }
.hero-visual img { border-radius: 22px; box-shadow: var(--shadow-lg); border: 4px solid rgba(255, 255, 255, .5); }
.hero-stats { display: flex; gap: 26px; margin-top: 30px; flex-wrap: wrap; }
.hero-stats div strong { display: block; font-size: 24px; color: var(--gold-300); font-family: Georgia, serif; }
.hero-stats div span { font-size: 13px; color: #d5e4d2; }

/* ---------- Marquee strip ---------- */
.usp-strip { background: var(--gold-500); color: #3a2c05; padding: 12px 0; font-weight: 600; font-size: 14.5px; }
.usp-strip .container { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; text-align: center; }

/* ---------- Sections ---------- */
section { padding: 70px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-head .eyebrow {
  display: inline-block; color: var(--gold-600); text-transform: uppercase; letter-spacing: 2.2px;
  font-size: 12.5px; font-weight: 700; margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(25px, 3.4vw, 36px); margin-bottom: 12px; }
.section-head p { color: var(--muted); }
.bg-white { background: var(--white); }
.bg-cream { background: var(--cream-dark); }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; }
.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.product-thumb { position: relative; aspect-ratio: 4 / 3; background: var(--cream-dark); overflow: hidden; }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.product-card:hover .product-thumb img { transform: scale(1.06); }
.product-tag {
  position: absolute; top: 12px; left: 12px; background: var(--green-800); color: #fff;
  font-size: 11.5px; letter-spacing: .8px; text-transform: uppercase; padding: 5px 12px; border-radius: 30px;
}
.product-tag.gold { background: var(--gold-500); color: #3a2c05; left: auto; right: 12px; }
.product-body { padding: 20px; display: flex; flex-direction: column; flex: 1; gap: 10px; }
.product-body h3 { font-size: 19px; }
.product-meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12.5px; color: var(--muted); }
.product-meta span { background: var(--cream); border: 1px solid var(--line); padding: 3px 10px; border-radius: 20px; }
.product-body p { font-size: 14.5px; color: var(--muted); flex: 1; }
.product-price { font-family: Georgia, serif; font-size: 21px; color: var(--green-700); font-weight: 700; }
.product-price small { font-size: 13px; color: var(--muted); font-weight: 400; font-family: inherit; }
.product-price .ask { font-size: 17px; color: var(--gold-600); }
.product-actions { display: flex; gap: 10px; }
.product-actions .btn { flex: 1; }

/* ---------- Feature cards ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 22px; text-align: center; box-shadow: var(--shadow-sm);
}
.feature .icon {
  width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 50%;
  display: grid; place-items: center; font-size: 26px;
  background: linear-gradient(135deg, var(--green-700), var(--green-500)); color: #fff;
}
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { font-size: 14.5px; color: var(--muted); }

/* ---------- About split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
.split h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 16px; }
.split p { color: var(--muted); margin-bottom: 14px; }
.tick-list { list-style: none; display: grid; gap: 10px; margin: 18px 0 24px; }
.tick-list li { padding-left: 30px; position: relative; font-size: 15px; }
.tick-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0; width: 21px; height: 21px; border-radius: 50%;
  background: var(--green-600); color: #fff; font-size: 12px; display: grid; place-items: center;
}

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.gallery-grid img { border-radius: 12px; aspect-ratio: 1; object-fit: cover; box-shadow: var(--shadow-sm); transition: transform .25s ease; }
.gallery-grid img:hover { transform: scale(1.04); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 24px; counter-reset: step; }
.step { background: #fff; border-radius: var(--radius); padding: 26px 22px; border: 1px solid var(--line); position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -18px; left: 22px; width: 40px; height: 40px; border-radius: 50%;
  background: var(--gold-500); color: #3a2c05; font-weight: 700; display: grid; place-items: center; font-size: 17px;
}
.step h3 { margin: 14px 0 8px; font-size: 17px; }
.step p { font-size: 14.5px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--green-800), var(--green-600)); color: #fff; text-align: center;
}
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: #e0efdd; max-width: 620px; margin: 0 auto 26px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.info-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  display: flex; gap: 16px; align-items: flex-start; margin-bottom: 16px; box-shadow: var(--shadow-sm);
}
.info-card .icon {
  width: 46px; height: 46px; flex: 0 0 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--cream-dark); color: var(--green-700); font-size: 20px;
}
.info-card h4 { font-size: 16px; margin-bottom: 4px; }
.info-card p, .info-card a { font-size: 14.5px; color: var(--muted); display: block; }
.map-frame { border: 0; width: 100%; height: 340px; border-radius: var(--radius); box-shadow: var(--shadow-sm); }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--green-900); }
.field label .req { color: #c0392b; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 15px; font-family: inherit; background: var(--cream); color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--green-600); background: #fff; box-shadow: 0 0 0 3px rgba(46, 139, 70, .13);
}
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 12px; }

.alert { padding: 13px 16px; border-radius: 10px; font-size: 14.5px; margin-bottom: 16px; }
.alert-success { background: #e7f6ea; color: #14532d; border: 1px solid #b7e2c1; }
.alert-error { background: #fdecea; color: #922b21; border: 1px solid #f5c6c0; }

/* ---------- Enquiry modal ---------- */
.modal {
  position: fixed; inset: 0; background: rgba(12, 32, 18, .62); backdrop-filter: blur(3px);
  display: none; align-items: center; justify-content: center; padding: 20px; z-index: 200;
}
.modal.open { display: flex; }
.modal-box {
  background: var(--cream); width: 100%; max-width: 480px; border-radius: 18px; overflow: hidden;
  box-shadow: var(--shadow-lg); animation: pop .22s ease;
  max-height: 92vh; overflow-y: auto;
}
@keyframes pop { from { transform: translateY(18px) scale(.97); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-head {
  background: linear-gradient(135deg, var(--green-800), var(--green-600)); color: #fff;
  padding: 18px 22px; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px;
}
.modal-head h3 { color: #fff; font-size: 20px; margin-bottom: 2px; }
.modal-head p { font-size: 13.5px; color: #dcecd9; }
.modal-close { background: none; border: 0; color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.modal-body { padding: 22px; }
.modal-product {
  background: #fff; border: 1px dashed var(--gold-500); border-radius: 10px; padding: 10px 14px;
  font-size: 14px; margin-bottom: 18px; color: var(--green-800);
}
.modal-product strong { display: block; font-size: 15px; }

/* ---------- Floating WhatsApp ---------- */
.float-wa {
  position: fixed; right: 18px; bottom: 18px; width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; font-size: 28px;
  box-shadow: 0 8px 22px rgba(37, 211, 102, .45); z-index: 90;
}
.float-wa:hover { color: #fff; transform: scale(1.06); }

/* ---------- Page banner ---------- */
.page-banner {
  background: linear-gradient(135deg, var(--green-900), var(--green-700)); color: #fff;
  padding: 54px 0; text-align: center;
}
.page-banner h1 { color: #fff; font-size: clamp(26px, 4vw, 40px); margin-bottom: 8px; }
.page-banner p { color: #d9e8d6; }
.crumbs { font-size: 13.5px; color: var(--gold-300); margin-top: 8px; }
.crumbs a { color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: #c9d8c5; padding: 56px 0 0; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; }
.site-footer h4 { color: #fff; font-size: 16.5px; margin-bottom: 16px; letter-spacing: .4px; }
.site-footer a { color: #c9d8c5; }
.site-footer a:hover { color: var(--gold-300); }
.footer-brand img { width: 74px; height: 74px; border-radius: 50%; border: 2px solid var(--gold-500); margin-bottom: 14px; }
.footer-links { list-style: none; display: grid; gap: 9px; }
.footer-contact { list-style: none; display: grid; gap: 12px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-bottom {
  margin-top: 44px; border-top: 1px solid rgba(255, 255, 255, .12); padding: 18px 0;
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; font-size: 13.5px;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero .container, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding: 54px 0 60px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: stretch; padding: 12px; gap: 2px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav .btn { margin: 8px 0 0; }
  .site-header { position: relative; }
  .header-inner { position: relative; }
  .topbar .container { justify-content: center; text-align: center; }
  section { padding: 50px 0; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .brand-text strong { font-size: 16px; }
  .brand img { width: 48px; height: 48px; }
  .product-actions { flex-direction: column; }
}

/* Anchor targets sit below the sticky header */
section[id] { scroll-margin-top: 90px; }

/* ---------- Developer credit ---------- */
.footer-bottom span:last-child { margin-right: 66px; } /* clear the floating WhatsApp button */
.dev-credit { color: var(--gold-300); font-weight: 600; }
.dev-credit:hover { color: #fff; text-decoration: underline; }

/* ============================================================
   SHOP — cart, checkout, account panel, wishlist
   ============================================================ */

/* ---------- Header icons ---------- */
.icon-link {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 12px; border-radius: 8px; font-weight: 600; font-size: 15px; color: var(--green-900);
}
.icon-link:hover, .icon-link.active { background: var(--cream-dark); color: var(--green-700); }
.icon-label { font-size: 14.5px; }
.count-bubble {
  display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px;
  background: var(--gold-500); color: #3a2c05; border-radius: 20px;
  font-size: 11.5px; font-weight: 700; font-style: normal;
}
.icon-link .count-bubble { position: absolute; top: 2px; right: 0; }

/* ---------- Wishlist heart on cards ---------- */
.wish-btn {
  position: absolute; bottom: 10px; right: 10px; width: 38px; height: 38px; border: 0;
  border-radius: 50%; background: rgba(255, 255, 255, .92); color: #c0392b;
  font-size: 19px; line-height: 1; cursor: pointer; box-shadow: var(--shadow-sm);
  transition: transform .15s ease, background .15s ease;
}
.wish-btn:hover { transform: scale(1.1); background: #fff; }
.wish-btn.on { background: #c0392b; color: #fff; }
.wish-inline.on { background: #c0392b; border-color: #c0392b; color: #fff; }

/* ---------- Quantity stepper ---------- */
.qty-box { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.qty-btn {
  width: 38px; height: 42px; border: 0; background: var(--cream-dark); color: var(--green-800);
  font-size: 19px; cursor: pointer; line-height: 1;
}
.qty-btn:hover { background: var(--green-600); color: #fff; }
.qty-input {
  width: 56px; height: 42px; border: 0; text-align: center; font-size: 15px; font-family: inherit;
  background: #fff; color: var(--ink); -moz-appearance: textfield;
}
.qty-input::-webkit-outer-spin-button, .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.buy-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 8px; }

/* ---------- Cart ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 30px; align-items: start; }
.cart-lines { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.cart-line {
  display: grid; grid-template-columns: 90px 1fr auto auto auto; gap: 16px; align-items: center;
  padding: 18px; border-bottom: 1px solid var(--line);
}
.cart-line:last-of-type { border-bottom: 0; }
.cart-line img { width: 90px; height: 90px; object-fit: cover; border-radius: 10px; }
.cart-line-info h3 { font-size: 17px; margin-bottom: 3px; }
.cart-line-info small { color: var(--muted); font-size: 13px; display: block; }
.cart-line-price { font-size: 14.5px; color: var(--green-700); font-weight: 600; margin-top: 4px; }
.cart-line-price small { color: var(--muted); font-weight: 400; }
.cart-line-total { font-family: Georgia, serif; font-size: 18px; font-weight: 700; color: var(--green-800); min-width: 92px; text-align: right; }
.link-danger { background: none; border: 0; color: #c0392b; font-size: 18px; cursor: pointer; padding: 6px; line-height: 1; }
.link-danger:hover { color: #922b21; }
.cart-line-foot { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; padding: 16px 18px; background: var(--cream); }

.cart-summary {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-sm); position: sticky; top: 100px;
}
.cart-summary h3 { font-size: 19px; margin-bottom: 16px; }
.summary-list { list-style: none; display: grid; gap: 11px; margin-bottom: 18px; }
.summary-list li { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; color: var(--muted); }
.summary-list li strong { color: var(--ink); }
.summary-list li.grand {
  border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px;
  font-size: 17px; color: var(--green-900);
}
.summary-list li.grand strong { font-family: Georgia, serif; font-size: 21px; color: var(--green-700); }
.ship-note { font-size: 13.5px; color: var(--gold-600); margin-bottom: 16px; }
.ship-note.ok { color: var(--green-600); }

.mini-items { list-style: none; display: grid; gap: 14px; margin-bottom: 18px; }
.mini-items li { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; font-size: 14.5px; }
.mini-items img { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; }
.mini-items span { display: flex; flex-direction: column; }
.mini-items small { color: var(--muted); font-size: 12.5px; }

/* ---------- Checkout ---------- */
.checkout-layout { display: grid; grid-template-columns: 1fr 340px; gap: 30px; align-items: start; }
.checkout-layout .form-card { margin-bottom: 22px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 18px; }
.checkbox-row { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; }
.checkbox-row input { width: auto; }

.address-choices { display: grid; gap: 12px; margin-bottom: 20px; }
.address-choice {
  display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start;
  border: 1px solid var(--line); border-radius: 12px; padding: 14px; cursor: pointer;
  background: var(--cream); font-size: 14.5px; color: var(--muted);
}
.address-choice:hover { border-color: var(--green-600); }
.address-choice input { margin-top: 3px; }
.address-choice strong { display: block; color: var(--ink); font-size: 15px; margin-bottom: 3px; }
.address-choice:has(input:checked), .address-choice.selected { border-color: var(--green-600); background: #fff; box-shadow: 0 0 0 3px rgba(46, 139, 70, .1); }
.tag {
  display: inline-block; background: var(--cream-dark); color: var(--green-700); font-style: normal;
  font-size: 11.5px; padding: 2px 9px; border-radius: 20px; margin-left: 6px; font-weight: 600;
}

/* ---------- Order placed ---------- */
.success-box {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 26px; text-align: center; box-shadow: var(--shadow-sm); margin-bottom: 24px;
}
.success-icon {
  width: 66px; height: 66px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--green-700), var(--green-500)); color: #fff; font-size: 32px;
}
.success-box h1 { font-size: 26px; margin-bottom: 10px; }
.success-box p { color: var(--muted); }

/* ---------- Account panel ---------- */
.account-layout { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; }
.account-nav {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden; position: sticky; top: 100px;
}
.account-user { display: flex; gap: 12px; align-items: center; padding: 18px; background: var(--green-900); color: #fff; }
.account-user .avatar {
  width: 44px; height: 44px; border-radius: 50%; background: var(--gold-500); color: #3a2c05;
  display: grid; place-items: center; font-size: 19px; font-weight: 700; flex: 0 0 44px;
}
.account-user strong { display: block; font-size: 15px; }
.account-user small { font-size: 12.5px; color: #cddcc9; word-break: break-all; }
.account-nav nav { display: grid; padding: 10px; gap: 2px; }
.account-nav nav a {
  display: flex; align-items: center; gap: 9px; padding: 11px 13px; border-radius: 9px;
  font-size: 14.5px; font-weight: 600; color: var(--green-900);
}
.account-nav nav a:hover { background: var(--cream-dark); }
.account-nav nav a.active { background: var(--green-700); color: #fff; }
.account-nav .count-bubble { margin-left: auto; }

.account-main { min-width: 0; }
.account-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; margin-bottom: 24px; }
.stat-tile {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; text-align: center; box-shadow: var(--shadow-sm);
}
.stat-tile strong { display: block; font-family: Georgia, serif; font-size: 23px; color: var(--green-700); }
.stat-tile span { font-size: 13px; color: var(--muted); }

.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); margin-bottom: 22px; overflow: hidden; }
.panel-head { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.panel-head h3 { font-size: 17px; }
.panel-body { padding: 20px; }

.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.data-table th, .data-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.data-table th { background: var(--cream); font-size: 12.5px; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); }
.data-table tbody tr:last-child td { border-bottom: 0; }

.badge { display: inline-block; padding: 3px 11px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.status-pending   { background: #fdf2d6; color: #8a6300; }
.status-confirmed { background: #dbeafe; color: #1e40af; }
.status-packed    { background: #ede9fe; color: #5b21b6; }
.status-shipped   { background: #cffafe; color: #155e75; }
.status-delivered { background: #e6f4ea; color: #1b6b38; }
.status-cancelled { background: #fdecea; color: #922b21; }

/* ---------- Addresses ---------- */
.address-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.address-card { border: 1px solid var(--line); border-radius: 12px; padding: 16px; position: relative; background: var(--cream); }
.address-card.is-default { border-color: var(--green-600); background: #fff; }
.address-card h4 { font-size: 15.5px; margin-bottom: 8px; }
.address-card p { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.default-tag {
  position: absolute; top: 12px; right: 12px; background: var(--green-600); color: #fff;
  font-size: 11px; padding: 2px 9px; border-radius: 20px; font-weight: 600;
}
.address-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Order tracking ---------- */
.track-steps { list-style: none; display: flex; justify-content: space-between; position: relative; counter-reset: s; margin: 8px 0; }
.track-steps::before { content: ""; position: absolute; top: 11px; left: 6%; right: 6%; height: 3px; background: var(--line); }
.track-steps li { position: relative; z-index: 2; text-align: center; flex: 1; font-size: 12.5px; color: var(--muted); }
.track-steps .dot {
  display: block; width: 24px; height: 24px; margin: 0 auto 8px; border-radius: 50%;
  background: #fff; border: 3px solid var(--line);
}
.track-steps li.done .dot { background: var(--green-600); border-color: var(--green-600); }
.track-steps li.done { color: var(--green-800); font-weight: 600; }

/* ---------- Empty states ---------- */
.empty-state { text-align: center; padding: 60px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.empty-state.small { padding: 36px 20px; border: 0; }
.empty-icon { font-size: 50px; margin-bottom: 12px; opacity: .55; }
.empty-state h2 { font-size: 23px; margin-bottom: 8px; }
.empty-state p { color: var(--muted); margin-bottom: 20px; }

/* ---------- Toasts ---------- */
.toast-stack { position: fixed; right: 18px; bottom: 86px; display: grid; gap: 10px; z-index: 300; max-width: min(340px, calc(100vw - 36px)); }
.toast {
  background: var(--green-800); color: #fff; padding: 13px 17px; border-radius: 12px;
  font-size: 14.5px; box-shadow: var(--shadow-lg); animation: toastIn .2s ease;
}
.toast a { color: var(--gold-300); text-decoration: underline; }
.toast-error { background: #922b21; }
.toast.out { opacity: 0; transform: translateY(8px); transition: opacity .4s ease, transform .4s ease; }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .cart-layout, .checkout-layout, .account-layout { grid-template-columns: 1fr; }
  .cart-summary, .account-nav { position: static; }
}
@media (max-width: 760px) {
  .icon-label { display: inline; }
  .icon-link .count-bubble { position: static; margin-left: 4px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .cart-line {
    grid-template-columns: 76px 1fr; row-gap: 14px; position: relative; padding-right: 42px;
    grid-template-areas: "img info" "qty total";
  }
  .cart-line img { grid-area: img; width: 76px; height: 76px; }
  .cart-line-info { grid-area: info; }
  .cart-line .qty-box { grid-area: qty; justify-self: start; }
  .cart-line-total { grid-area: total; align-self: center; }
  .cart-line .link-danger { position: absolute; top: 10px; right: 8px; }
  .track-steps { font-size: 11px; }
}

/* Keep the header on one line when the shop icons are present */
@media (max-width: 1150px) and (min-width: 761px) {
  .icon-label { display: none; }
  .icon-link { padding: 10px; }
  .icon-link .count-bubble { top: -2px; right: -4px; }
  .nav a { padding: 10px 9px; font-size: 14.5px; }
  .brand-text strong { font-size: 17px; }
}

/* Keep "Add to Cart" on one line inside the card */
.product-actions .btn { white-space: nowrap; padding-left: 14px; padding-right: 14px; font-size: 14.5px; }
