/* ==========================================================================
   Royal Crackers - storefront styles
   ========================================================================== */

:root {
  --red:        #b3121b;
  --red-dark:   #7d0c13;
  --red-deep:   #3d0a0d;
  --gold:       #e8a020;
  --gold-soft:  #f7c86b;
  --ink:        #241a16;
  --muted:      #6d5b52;
  --line:       #ecdfd4;
  --cream:      #fff8f1;
  --paper:      #ffffff;
  --green:      #1c7a45;
  --green-soft: #eafaf0;

  --radius:     14px;
  --radius-lg:  22px;
  --shadow-sm:  0 2px 8px rgba(61, 10, 13, .06);
  --shadow:     0 10px 30px rgba(61, 10, 13, .10);
  --shadow-lg:  0 26px 60px rgba(61, 10, 13, .18);
  --head:       "Outfit", "Segoe UI", system-ui, sans-serif;
  --body:       "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dark); }

h1, h2, h3, h4, h5 {
  font-family: var(--head);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 .5em;
  letter-spacing: -.015em;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1em; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.container-sm { width: min(880px, 100% - 40px); margin-inline: auto; }

.section { padding: 72px 0; }
.section-tight { padding: 48px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-head p { color: var(--muted); margin: 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red);
  background: #fdeee0;
  padding: 6px 14px;
  border-radius: 99px;
  margin-bottom: 14px;
}

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 0;
  cursor: pointer;
  font-family: var(--head);
  font-size: 15px;
  font-weight: 700;
  padding: 13px 24px;
  border-radius: 10px;
  background: var(--red);
  color: #fff;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  box-shadow: 0 6px 18px rgba(179, 18, 27, .25);
  text-align: center;
  justify-content: center;
}
.btn:hover { background: var(--red-dark); color: #fff; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-gold { background: linear-gradient(135deg, var(--gold), #d78f10); color: #3d0a0d; box-shadow: 0 6px 18px rgba(232,160,32,.32); }
.btn-gold:hover { background: linear-gradient(135deg, #f2b03a, var(--gold)); color: #3d0a0d; }
.btn-dark { background: var(--ink); box-shadow: none; }
.btn-dark:hover { background: #000; }
.btn-ghost { background: transparent; color: var(--red); border: 2px solid var(--red); box-shadow: none; }
.btn-ghost:hover { background: var(--red); color: #fff; }
.btn-light { background: #fff; color: var(--red); box-shadow: var(--shadow-sm); }
.btn-light:hover { background: #fff; color: var(--red-dark); }
.btn-green { background: var(--green); box-shadow: 0 6px 18px rgba(28,122,69,.25); }
.btn-green:hover { background: #145c33; }
.btn-sm { padding: 9px 16px; font-size: 13.5px; }
.btn-lg { padding: 16px 32px; font-size: 17px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .5; pointer-events: none; }

/* --------------------------------------------------------------- topbar */
.topbar {
  background: var(--red-deep);
  color: #f3ddc6;
  font-size: 13.5px;
  padding: 8px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar a { color: #fff; font-weight: 600; }
.topbar-marquee { color: var(--gold-soft); font-weight: 600; }
.topbar-links { display: flex; gap: 18px; align-items: center; }

/* --------------------------------------------------------------- header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 46px; height: 46px; flex: none;
  border-radius: 13px;
  background: linear-gradient(140deg, var(--red), var(--red-deep));
  display: grid; place-items: center;
  box-shadow: 0 6px 16px rgba(179,18,27,.3);
}
.brand-name {
  font-family: var(--head); font-weight: 800; font-size: 21px;
  line-height: 1.1; color: var(--ink); letter-spacing: -.02em;
}
.brand-sub { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-family: var(--head);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  padding: 9px 14px;
  border-radius: 9px;
}
.nav a:hover { background: #fdeee0; color: var(--red); }
.nav a.active { color: var(--red); background: #fdeee0; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-phone {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--head); font-weight: 700; color: var(--ink); font-size: 15px;
}
.header-phone small { display: block; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

.cart-btn { position: relative; }
.cart-badge {
  position: absolute; top: -6px; right: -6px;
  min-width: 21px; height: 21px; padding: 0 5px;
  border-radius: 99px;
  background: var(--gold); color: #3d0a0d;
  font-size: 11.5px; font-weight: 800;
  display: grid; place-items: center;
  border: 2px solid #fff;
}

.nav-toggle {
  display: none; border: 0; background: transparent; cursor: pointer;
  padding: 8px; border-radius: 8px; color: var(--ink);
}

/* --------------------------------------------------------------- hero */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(900px 420px at 15% 0%, rgba(232,160,32,.30), transparent 60%),
    radial-gradient(700px 420px at 88% 20%, rgba(179,18,27,.55), transparent 62%),
    linear-gradient(155deg, #4a1113, #2a0f10 55%, #180809);
  padding: 90px 0 100px;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(2px 2px at 12% 22%, rgba(255,220,150,.9), transparent),
    radial-gradient(2px 2px at 78% 14%, rgba(255,190,190,.8), transparent),
    radial-gradient(1.6px 1.6px at 46% 62%, rgba(255,230,190,.7), transparent),
    radial-gradient(2px 2px at 90% 72%, rgba(255,210,140,.7), transparent),
    radial-gradient(1.5px 1.5px at 28% 82%, rgba(255,255,255,.6), transparent),
    radial-gradient(1.5px 1.5px at 64% 34%, rgba(255,240,200,.7), transparent);
  animation: twinkle 4.5s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes twinkle { from { opacity: .35; } to { opacity: 1; } }

.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: 48px; align-items: center;
}
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero h1 .accent {
  background: linear-gradient(120deg, var(--gold-soft), var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { font-size: 18px; color: #f0dcc9; max-width: 560px; margin-bottom: 28px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.22);
  color: var(--gold-soft);
  font-family: var(--head); font-weight: 700; font-size: 12.5px;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 8px 16px; border-radius: 99px; margin-bottom: 22px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-lg);
  padding: 30px;
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-lg);
}
.hero-card h3 { color: var(--gold-soft); font-size: 15px; letter-spacing: .1em; text-transform: uppercase; }
.hero-card ul { list-style: none; margin: 0; padding: 0; }
.hero-card li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 0; border-bottom: 1px dashed rgba(255,255,255,.14);
  color: #f2e2d3; font-size: 15px;
}
.hero-card li:last-child { border-bottom: 0; }
.hero-card li b { color: #fff; }
.tick { flex: none; width: 22px; height: 22px; border-radius: 50%; background: rgba(232,160,32,.2);
        color: var(--gold-soft); display: grid; place-items: center; font-size: 12px; margin-top: 2px; }

/* --------------------------------------------------------------- stats */
.stats {
  position: relative; z-index: 3;
  margin-top: -46px;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  background: var(--paper); border-radius: var(--radius-lg);
  padding: 26px; box-shadow: var(--shadow-lg);
}
.stat { text-align: center; padding: 8px 6px; }
.stat b {
  display: block; font-family: var(--head); font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 800; color: var(--red); line-height: 1.1;
}
.stat span { font-size: 13px; color: var(--muted); font-weight: 600; letter-spacing: .04em; }

/* --------------------------------------------------------------- notice */
.notice {
  background: #fff4e2;
  border: 1px solid #f2d9ae;
  border-left: 5px solid var(--gold);
  border-radius: var(--radius);
  padding: 22px 26px;
}
.notice h3 { display: flex; align-items: center; gap: 10px; color: #8a5a00; font-size: 17px; margin-bottom: 12px; }
.notice ul { margin: 0; padding-left: 20px; color: #6c4c14; }
.notice li { margin-bottom: 7px; }
.notice li:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------- cards */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.card-pad { padding: 24px; }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* category tiles */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.cat-tile {
  display: block;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 18px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  position: relative; overflow: hidden;
}
.cat-tile::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 4px;
  background: linear-gradient(180deg, var(--gold), var(--red)); opacity: 0; transition: opacity .18s;
}
.cat-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #e3c9b3; }
.cat-tile:hover::before { opacity: 1; }
.cat-icon {
  width: 44px; height: 44px; border-radius: 12px; margin-bottom: 14px;
  background: linear-gradient(140deg, #fdeee0, #fbdcc2);
  display: grid; place-items: center; color: var(--red); font-size: 20px;
}
.cat-tile h4 { font-family: var(--head); font-size: 15.5px; margin: 0 0 4px; color: var(--ink); }
.cat-tile span { font-size: 13px; color: var(--muted); }

/* --------------------------------------------------------------- price list */
.pricelist-layout { display: grid; grid-template-columns: 265px 1fr; gap: 28px; align-items: start; }

.side-panel {
  position: sticky; top: 92px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
}
.side-panel h4 {
  margin: 0; padding: 15px 18px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  background: var(--red-deep); color: var(--gold-soft);
}
.side-links { max-height: 60vh; overflow-y: auto; }
.side-links a {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 11px 18px; border-bottom: 1px solid #f4ece4;
  color: var(--ink); font-size: 14.5px; font-weight: 500;
  min-width: 0;
}
/* long category names must wrap instead of widening the grid track */
.side-links a > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.side-links a em { flex: none; }
.side-links a:last-child { border-bottom: 0; }
.side-links a:hover, .side-links a.active { background: #fdeee0; color: var(--red); }
.side-links a em { font-style: normal; font-size: 12px; color: var(--muted); background: #f6efe8; padding: 1px 8px; border-radius: 99px; }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.cat-block { margin-bottom: 34px; scroll-margin-top: 100px; }
.cat-block-head {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  background: linear-gradient(120deg, var(--red-deep), var(--red));
  color: #fff; padding: 14px 22px; border-radius: var(--radius) var(--radius) 0 0;
}
.cat-block-head h3 { margin: 0; font-size: 18px; color: #fff; }
.cat-block-head span { font-size: 13px; color: var(--gold-soft); font-weight: 600; }

.price-table { width: 100%; border-collapse: collapse; background: var(--paper); font-size: 14.5px; }
.price-table thead th {
  background: #fbf3ea; color: var(--muted);
  font-family: var(--head); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase;
  padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap;
}
.price-table td { padding: 12px 14px; border-bottom: 1px solid #f4ece4; vertical-align: middle; }
.price-table tbody tr:hover { background: #fffaf4; }
.price-table tbody tr.in-cart { background: #f4fbf6; }
.price-table .t-center { text-align: center; }
.price-table .t-right { text-align: right; }
.p-name { font-weight: 600; color: var(--ink); }
.p-code { font-size: 12px; color: var(--muted); }
.p-mrp { color: var(--muted); text-decoration: line-through; white-space: nowrap; }
.p-rate { font-family: var(--head); font-weight: 800; color: var(--red); white-space: nowrap; font-size: 15.5px; }
.p-total { font-family: var(--head); font-weight: 700; white-space: nowrap; }
.p-thumb {
  width: 42px; height: 42px; border-radius: 9px; object-fit: cover;
  border: 1px solid var(--line); background: #fbf3ea;
}

.tag {
  display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; padding: 2px 8px; border-radius: 99px; margin-left: 6px; vertical-align: middle;
}
.tag-new  { background: #e7f4ff; color: #0b6ba8; }
.tag-hot  { background: #ffe9e9; color: var(--red); }
.tag-off  { background: var(--green-soft); color: var(--green); }
.tag-out  { background: #f1eae4; color: var(--muted); }

/* qty stepper */
.qty {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line); border-radius: 9px; overflow: hidden; background: #fff;
}
.qty button {
  width: 30px; height: 34px; border: 0; background: #fbf3ea; color: var(--red);
  font-size: 17px; font-weight: 700; cursor: pointer; line-height: 1;
}
.qty button:hover { background: #fdeee0; }
.qty input {
  width: 48px; height: 34px; border: 0; text-align: center;
  font-family: var(--head); font-weight: 700; font-size: 14.5px; color: var(--ink);
  -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty input:focus { outline: 2px solid var(--gold); outline-offset: -2px; }

/* sticky cart bar */
.cart-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  background: var(--red-deep); color: #fff;
  box-shadow: 0 -10px 30px rgba(0,0,0,.28);
  transform: translateY(105%); transition: transform .28s cubic-bezier(.4,0,.2,1);
}
.cart-bar.show { transform: translateY(0); }
.cart-bar .container { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 13px 0; flex-wrap: wrap; }
.cart-bar-figs { display: flex; gap: 26px; flex-wrap: wrap; }
.cart-bar-figs div { line-height: 1.25; }
.cart-bar-figs small { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #d9b79a; }
.cart-bar-figs b { font-family: var(--head); font-size: 18px; }
.cart-bar-figs .save b { color: var(--gold-soft); }
.cart-bar-actions { display: flex; gap: 10px; align-items: center; }
.cart-bar-warn { font-size: 13px; color: var(--gold-soft); }

/* --------------------------------------------------------------- combos */
.combo-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px 24px; text-align: center; position: relative;
  transition: transform .18s ease, box-shadow .18s ease;
}
.combo-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.combo-card.popular { border-color: var(--gold); box-shadow: 0 14px 40px rgba(232,160,32,.22); }
.combo-flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold), #d78f10); color: #3d0a0d;
  font-family: var(--head); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 16px; border-radius: 99px; white-space: nowrap;
}
.combo-card h3 { margin-bottom: 6px; }
.combo-price { font-family: var(--head); font-size: 2.4rem; font-weight: 800; color: var(--red); line-height: 1.1; }
.combo-mrp { color: var(--muted); text-decoration: line-through; font-size: 14px; }
.combo-items { display: inline-block; background: var(--green-soft); color: var(--green); font-weight: 700;
               font-size: 12.5px; padding: 4px 12px; border-radius: 99px; margin: 12px 0; }
.combo-card p { color: var(--muted); font-size: 14px; min-height: 66px; }

/* --------------------------------------------------------------- steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; position: relative;
}
.step-no {
  width: 42px; height: 42px; border-radius: 12px; margin-bottom: 14px;
  background: linear-gradient(140deg, var(--red), var(--red-deep)); color: #fff;
  display: grid; place-items: center; font-family: var(--head); font-weight: 800; font-size: 18px;
}
.step h4 { margin: 0 0 6px; font-family: var(--head); font-size: 16.5px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }

/* --------------------------------------------------------------- features */
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature-icon {
  flex: none; width: 46px; height: 46px; border-radius: 13px;
  background: linear-gradient(140deg, #fdeee0, #fbdcc2); color: var(--red);
  display: grid; place-items: center;
}
.feature h4 { margin: 0 0 4px; font-size: 16.5px; }
.feature p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* --------------------------------------------------------------- bands */
.band-dark {
  background:
    radial-gradient(700px 320px at 20% 0%, rgba(232,160,32,.20), transparent 60%),
    linear-gradient(150deg, #4a1113, #240c0d);
  color: #fff;
}
.band-dark h2 { color: #fff; }
.band-dark p { color: #eed9c6; }
.band-cream { background: #fdf3e9; }

/* --------------------------------------------------------------- forms */
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--head); font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.field label .req { color: var(--red); }
.field .hint { font-size: 12.5px; color: var(--muted); margin-top: 5px; }
.input, .select, .textarea {
  width: 100%; padding: 12px 14px; font-family: var(--body); font-size: 15px; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 10px; transition: border-color .15s, box-shadow .15s;
}
.input:focus, .select:focus, .textarea:focus {
  outline: 0; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(232,160,32,.18);
}
.textarea { min-height: 110px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.alert { padding: 13px 16px; border-radius: 10px; margin-bottom: 16px; font-size: 14.5px; border: 1px solid transparent; }
.alert-success { background: var(--green-soft); border-color: #b8e6c8; color: #1c6b3a; }
.alert-error   { background: #fdecec; border-color: #f3bcbc; color: #9b1111; }
.alert-info    { background: #eef5fd; border-color: #c3ddf6; color: #14548c; }
.alert-warning { background: #fff4e2; border-color: #f2d9ae; color: #8a5a00; }

/* --------------------------------------------------------------- cart / checkout */
.summary-box {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; position: sticky; top: 92px; box-shadow: var(--shadow-sm);
}
.summary-box h3 { font-size: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; font-size: 15px; }
.summary-row span { color: var(--muted); }
.summary-row b { font-family: var(--head); }
.summary-row.save b { color: var(--green); }
.summary-total {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 12px; padding-top: 14px; border-top: 2px dashed var(--line);
}
.summary-total span { font-family: var(--head); font-weight: 700; font-size: 16px; }
.summary-total b { font-family: var(--head); font-weight: 800; font-size: 26px; color: var(--red); }

.progress { height: 8px; border-radius: 99px; background: #f1e5da; overflow: hidden; margin: 10px 0 6px; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--red)); border-radius: 99px; transition: width .3s; }

.empty-state { text-align: center; padding: 70px 24px; }
.empty-state .emoji { font-size: 54px; margin-bottom: 12px; }
.empty-state h2 { margin-bottom: 8px; }
.empty-state p { color: var(--muted); }

/* --------------------------------------------------------------- page head */
.page-head {
  background:
    radial-gradient(600px 260px at 12% 0%, rgba(232,160,32,.22), transparent 60%),
    linear-gradient(150deg, #4a1113, #240c0d);
  color: #fff; padding: 46px 0 40px;
}
.page-head h1 { color: #fff; margin-bottom: 6px; font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.crumbs { font-size: 13.5px; color: #e2c6ae; }
.crumbs a { color: var(--gold-soft); }

/* --------------------------------------------------------------- footer */
.site-footer { background: #1d0b0c; color: #d9c3b2; padding: 62px 0 0; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 36px; }
.site-footer h5 {
  font-family: var(--head); font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-soft); margin: 0 0 16px;
}
.site-footer a { color: #d9c3b2; }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 9px; font-size: 14.5px; }
.footer-contact li { display: flex; gap: 11px; align-items: flex-start; margin-bottom: 12px; font-size: 14.5px; list-style: none; }
.footer-contact { margin: 0; padding: 0; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { font-size: 14.5px; color: #bfa896; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a {
  width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.08);
  display: grid; place-items: center; color: #f0dcc9;
}
.social a:hover { background: var(--red); color: #fff; }
.footer-bottom {
  margin-top: 46px; border-top: 1px solid rgba(255,255,255,.10); padding: 20px 0;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 13.5px; color: #a98d7b;
}

/* --------------------------------------------------------------- floating whatsapp */
.wa-float {
  position: fixed; right: 18px; bottom: 92px; z-index: 65;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 24px rgba(37,211,102,.4);
  transition: transform .18s;
}
.wa-float:hover { transform: scale(1.08); color: #fff; }

/* --------------------------------------------------------------- misc */
.toast {
  position: fixed; left: 50%; bottom: 96px; transform: translate(-50%, 20px);
  background: var(--ink); color: #fff; padding: 11px 20px; border-radius: 99px;
  font-size: 14px; font-weight: 600; z-index: 90; opacity: 0; pointer-events: none;
  transition: opacity .22s, transform .22s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.search-bar { display: flex; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.search-bar .input { flex: 1; min-width: 220px; }

.hr { height: 1px; background: var(--line); border: 0; margin: 30px 0; }
.text-muted { color: var(--muted); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-3 { margin-top: 24px; } .mb-3 { margin-bottom: 24px; }

/* --------------------------------------------------------------- responsive */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { order: -1; }
  .pricelist-layout { grid-template-columns: 1fr; }
  .side-panel { position: static; }
  .side-links { max-height: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
  .side-links a { border-bottom: 1px solid #f4ece4; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav {
    position: fixed; inset: 0 0 auto 0; top: 0; z-index: 100;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 76px 20px 24px; height: 100vh;
    transform: translateX(-100%); transition: transform .28s ease; box-shadow: var(--shadow-lg);
  }
  .nav.open { transform: translateX(0); }
  .nav a { padding: 14px 12px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 16px; }
  .nav-toggle { display: inline-grid; place-items: center; }
  .nav-close { position: absolute; top: 18px; right: 18px; }
  .header-phone { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .topbar .container { justify-content: center; text-align: center; }
  .topbar-links { display: none; }
}

@media (max-width: 560px) {
  .container, .container-sm { width: calc(100% - 28px); }
  .section { padding: 52px 0; }
  .grid-4, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .side-links { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 80px; }
  .cart-bar .container { justify-content: center; text-align: center; }
  .cart-bar-figs { gap: 16px; justify-content: center; width: 100%; }
  .price-table { font-size: 13.5px; }
  .price-table td, .price-table thead th { padding: 10px 9px; }
}

@media print {
  .site-header, .topbar, .site-footer, .cart-bar, .wa-float, .btn, .side-panel { display: none !important; }
  body { background: #fff; }
}
