/* =============================================================
   PAGETURN — Premium Bookshop & Stationery E-commerce Template
   Plain HTML5 + CSS3 + vanilla JS. No frameworks, no build step,
   and NO external image files — every visual (book covers, spines,
   shapes) is a CSS gradient, inline SVG, or emoji. Offline-ready.
   -------------------------------------------------------------
   TABLE OF CONTENTS
   1.  Design tokens (:root)  ← REBRAND HERE
   2.  Reset & base
   3.  Layout helpers
   4.  Buttons & badges
   5.  Announcement bar
   6.  Header / nav / search / cart
   7.  Book cover (CSS-only product imagery)
   8.  Hero (home)
   9.  Section headings
   10. Category tiles
   11. Products grid
   12. Deal / staff-picks banner
   13. New-releases strip
   14. Trust strip
   15. Newsletter
   16. CTA band
   17. Footer
   18. Toast
   19. Scroll-reveal
   20. Page banner + breadcrumb
   21. Shop: sidebar + sort + pagination
   22. Product detail + gallery + tabs + qty
   23. About page
   24. Contact page
   25. Responsive breakpoints
============================================================= */

/* -------------------------------------------------------------
   1. DESIGN TOKENS  ← REBRAND HERE
------------------------------------------------------------- */
:root {
  /* Brand palette — cozy literary bookshop */
  --bg:       #f7f1e6;   /* warm cream page background        */
  --ink:      #2a2118;   /* deep espresso text / dark areas   */
  --accent:   #9c4221;   /* terracotta-brown (primary)        */
  --accent-d: #7e351a;   /* darker terracotta for hovers      */
  --accent2:  #2c5d63;   /* teal secondary                    */
  --accent2-d:#234a4f;   /* darker teal                       */
  --muted:    #7a6f5f;   /* muted brown-grey text             */
  --surface:  #fffdf8;   /* card / panel surface (warm white) */
  --line:     #e7ddca;   /* borders / dividers                */
  --gold:     #c98a2b;   /* rating stars / accents            */

  /* Typography */
  --font-head: 'Lora', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Radii */
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  /* Shadows (warm-tinted) */
  --shadow-sm: 0 1px 3px rgba(42,33,24,.06), 0 1px 2px rgba(42,33,24,.05);
  --shadow:    0 8px 24px rgba(42,33,24,.10);
  --shadow-lg: 0 20px 50px rgba(42,33,24,.16);

  /* Layout */
  --container: 1200px;
  --gutter: 24px;
  --header-h: 72px;

  /* Motion */
  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* -------------------------------------------------------------
   2. RESET & BASE
------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.18; letter-spacing: -.01em; color: var(--ink); font-weight: 600; }

::selection { background: var(--accent); color: #fff; }

/* -------------------------------------------------------------
   3. LAYOUT HELPERS
------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding: 84px 0; }
.section--alt { background: var(--surface); }
.section--tight { padding: 60px 0; }

/* -------------------------------------------------------------
   4. BUTTONS & BADGES
------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  transition: transform .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }

.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(156,66,33,.28); }
.btn--primary:hover { background: var(--accent-d); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(156,66,33,.36); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

.btn--light { background: var(--surface); color: var(--ink); }
.btn--light:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }

.btn--buy { background: var(--accent2); color: #fff; }
.btn--buy:hover { background: var(--accent2-d); box-shadow: var(--shadow); transform: translateY(-2px); }

.btn--add {
  width: 100%;
  margin-top: 14px;
  background: var(--ink);
  color: #fff;
  padding: 11px;
  font-size: .9rem;
  border-radius: var(--radius-pill);
}
.btn--add:hover { background: var(--accent); transform: translateY(-2px); }

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  color: #fff;
  z-index: 2;
}
.badge--sale { background: var(--accent); }
.badge--new  { background: var(--accent2); }
.badge--pick { background: var(--gold); }

/* -------------------------------------------------------------
   5. ANNOUNCEMENT BAR
------------------------------------------------------------- */
.announcement {
  background: var(--ink);
  color: #fbf3e4;
  font-size: .85rem;
}
.announcement__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 9px var(--gutter);
  position: relative;
  text-align: center;
}
.announcement strong { color: var(--gold); }
.announcement__close {
  position: absolute;
  right: var(--gutter);
  color: #fbf3e4;
  font-size: 1.4rem;
  line-height: 1;
  opacity: .7;
  transition: opacity .2s;
}
.announcement__close:hover { opacity: 1; }
.announcement.is-hidden { display: none; }

/* -------------------------------------------------------------
   6. HEADER / NAV / SEARCH / CART
------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247,241,230,.88);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease);
}
.header.is-scrolled { box-shadow: var(--shadow-sm); }

.header__inner {
  display: flex;
  align-items: center;
  gap: 22px;
  height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: -.02em;
  color: var(--ink);
}
.logo__mark {
  width: 38px; height: 38px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: grid; place-items: center;
  box-shadow: 0 6px 14px rgba(156,66,33,.3);
  flex-shrink: 0;
}
.logo--light { color: #fbf3e4; }

.nav { margin-left: 6px; }
.nav__list { display: flex; gap: 26px; }
.nav__link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .95rem;
  color: var(--muted);
  position: relative;
  padding: 4px 0;
  transition: color .2s;
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -3px;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width .25s var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { width: 100%; }
.nav__link.active { color: var(--ink); font-weight: 600; }
.nav__link.active::after { width: 100%; }

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.search { position: relative; display: flex; align-items: center; }
.search__icon { position: absolute; left: 14px; color: var(--muted); display: flex; }
.search__input {
  width: 210px;
  padding: 10px 16px 10px 40px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: .9rem;
  background: var(--surface);
  color: var(--ink);
  transition: border-color .2s, background .2s, width .25s var(--ease);
}
.search__input::placeholder { color: var(--muted); }
.search__input:focus { outline: none; border-color: var(--accent); }

.cart {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px 9px 13px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: #fbf3e4;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .88rem;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.cart:hover { background: var(--accent); transform: translateY(-1px); }
.cart__icon { font-size: 1.05rem; line-height: 1; }
.cart__count {
  min-width: 22px;
  padding: 1px 7px;
  background: var(--accent);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  text-align: center;
  transition: transform .25s var(--ease), background .2s;
}
.cart:hover .cart__count { background: var(--ink); }
.cart__count.is-bump { animation: bump .35s var(--ease); }
@keyframes bump { 0%,100% { transform: scale(1); } 40% { transform: scale(1.45); } }

/* Hamburger (mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.hamburger span { display: block; width: 20px; height: 2px; margin: 0 auto; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s var(--ease); }
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* -------------------------------------------------------------
   7. BOOK COVER — pure-CSS product imagery
   A book is a spine + cover with a title plate. No images used.
------------------------------------------------------------- */
.book {
  --c1: #9c4221;
  --c2: #7e351a;
  position: relative;
  width: 132px;
  max-width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: 4px 7px 7px 4px;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  box-shadow:
    inset 9px 0 0 -6px rgba(255,255,255,.18),
    inset 13px 0 12px -10px rgba(0,0,0,.45),
    var(--shadow);
  color: #fff;
  overflow: hidden;
  transition: transform .4s var(--ease);
}
/* spine */
.book::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 7px;
  width: 2px;
  background: rgba(0,0,0,.25);
}
/* glossy sheen */
.book::after {
  content: '';
  position: absolute;
  top: -40%; right: -20%;
  width: 60%; height: 180%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.16), transparent);
  transform: rotate(18deg);
}
.book__plate {
  position: absolute;
  inset: 16% 12% auto 18%;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.book__title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .72rem;
  line-height: 1.15;
  letter-spacing: .01em;
  text-shadow: 0 1px 2px rgba(0,0,0,.3);
}
.book__author {
  font-size: .55rem;
  letter-spacing: .04em;
  opacity: .85;
  text-transform: uppercase;
}
.book__rule { width: 28px; height: 1.5px; background: rgba(255,255,255,.6); margin: 3px 0; }
.book__emoji { position: absolute; bottom: 12%; right: 14%; font-size: 1.4rem; opacity: .9; }

/* Stationery / non-book product face */
.book--object { background: linear-gradient(135deg, var(--c1), var(--c2)); border-radius: var(--radius); box-shadow: var(--shadow); }
.book--object::before, .book--object .book__plate { display: none; }
.book--object .book__obj {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: 3.4rem;
}

/* -------------------------------------------------------------
   8. HERO (home)
------------------------------------------------------------- */
.hero {
  background:
    radial-gradient(1000px 480px at 88% -10%, rgba(44,93,99,.14), transparent 60%),
    radial-gradient(840px 480px at -5% 110%, rgba(156,66,33,.12), transparent 55%),
    var(--bg);
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 50px;
  align-items: center;
  padding: 78px 0 88px;
}
.hero__eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--accent);
  background: rgba(156,66,33,.09);
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 22px;
}
.hero__title { font-size: clamp(2.5rem, 5.4vw, 4rem); font-weight: 600; margin-bottom: 18px; }
.hero__title em { color: var(--accent); font-style: italic; }
.hero__text { font-size: 1.08rem; color: var(--muted); max-width: 470px; margin-bottom: 30px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 42px; }
.hero__stats { display: flex; gap: 38px; flex-wrap: wrap; }
.hero__stats div { display: flex; flex-direction: column; }
.hero__stats strong { font-family: var(--font-head); font-size: 1.8rem; font-weight: 700; color: var(--ink); }
.hero__stats span { font-size: .85rem; color: var(--muted); }

/* Hero visual — a small stack/shelf of CSS books */
.hero__visual { position: relative; min-height: 430px; display: grid; place-items: center; }
.hero__shelf {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 14px;
  padding: 36px 36px 0;
}
.hero__shelf .book { width: 150px; }
.hero__shelf .book:nth-child(1) { transform: rotate(-6deg) translateY(8px); }
.hero__shelf .book:nth-child(2) { transform: translateY(-14px) scale(1.06); z-index: 3; }
.hero__shelf .book:nth-child(3) { transform: rotate(6deg) translateY(8px); }
.hero__shelf::after {
  content: '';
  position: absolute;
  left: 6px; right: 6px; bottom: -16px;
  height: 14px;
  background: var(--ink);
  border-radius: 4px;
  box-shadow: 0 16px 30px rgba(42,33,24,.3);
}
.hero__tag {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .82rem;
}
.hero__tag span:first-child { font-size: 1.5rem; }
.hero__tag small { color: var(--muted); display: block; }
.hero__tag strong { font-family: var(--font-head); font-size: .95rem; }
.hero__tag--1 { top: 6%; right: 0; animation: floaty 5s ease-in-out infinite; }
.hero__tag--2 { bottom: 4%; left: -8px; animation: floaty 6s ease-in-out infinite reverse; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* -------------------------------------------------------------
   9. SECTION HEADINGS
------------------------------------------------------------- */
.section__head { text-align: center; max-width: 620px; margin: 0 auto 48px; }
.section__eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--accent2);
  margin-bottom: 14px;
}
.section__title { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 600; }
.section__subtitle { color: var(--muted); margin-top: 10px; font-size: 1.05rem; }
.section__head--row {
  display: flex; align-items: flex-end; justify-content: space-between;
  text-align: left; max-width: none; gap: 20px; flex-wrap: wrap;
}
.section__link { font-weight: 600; color: var(--accent); font-size: .92rem; white-space: nowrap; }
.section__link:hover { color: var(--accent-d); }

/* -------------------------------------------------------------
   10. CATEGORY TILES
------------------------------------------------------------- */
.categories { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.category-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--cat);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.category-card__emoji {
  position: absolute;
  top: 46%; left: 50%;
  transform: translate(-50%,-50%);
  font-size: 4rem;
  transition: transform .4s var(--ease);
  filter: drop-shadow(0 6px 10px rgba(42,33,24,.25));
}
.category-card:hover .category-card__emoji { transform: translate(-50%,-50%) scale(1.12); }
.category-card__body {
  position: relative;
  background: linear-gradient(transparent, rgba(255,253,248,.96));
  padding: 30px 22px 20px;
}
.category-card__body h3 { font-size: 1.25rem; }
.category-card__link { font-size: .85rem; font-weight: 600; color: var(--accent); }

/* -------------------------------------------------------------
   11. PRODUCTS GRID
------------------------------------------------------------- */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.products--shop { grid-template-columns: repeat(3, 1fr); }

.product {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  display: flex;
  flex-direction: column;
}
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product:hover .book { transform: translateY(-4px) scale(1.03); }

.product__media {
  position: relative;
  padding: 30px 20px 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(156,66,33,.05), transparent 70%),
    var(--surface);
  border-bottom: 1px solid var(--line);
}
.product__media .book { width: 120px; }

.product__body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.product__cat {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--accent2);
  font-weight: 700;
}
.product__name { font-size: 1.05rem; font-weight: 600; margin: 5px 0 3px; line-height: 1.3; }
.product__author { font-size: .85rem; color: var(--muted); margin-bottom: 8px; }
.product__rating { color: var(--gold); font-size: .9rem; letter-spacing: 1px; }
.product__rating span { color: var(--muted); font-size: .8rem; letter-spacing: 0; }
.product__price { display: flex; align-items: baseline; gap: 8px; margin-top: 10px; }
.price { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: var(--ink); }
.price--old { color: var(--muted); text-decoration: line-through; font-size: .95rem; font-family: var(--font-body); }
.product .btn--add { margin-top: auto; }

/* -------------------------------------------------------------
   12. DEAL / STAFF-PICKS BANNER
------------------------------------------------------------- */
.deal {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  background: linear-gradient(120deg, var(--ink), #3c2f20 75%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: #fbf3e4;
  position: relative;
}
.deal__content { padding: 58px 54px; }
.deal__eyebrow {
  display: inline-block; font-family: var(--font-body); font-weight: 600;
  font-size: .76rem; text-transform: uppercase; letter-spacing: .12em;
  color: var(--gold); margin-bottom: 16px;
}
.deal__title { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 600; margin-bottom: 14px; color: #fff; }
.deal__text { color: rgba(251,243,228,.72); max-width: 380px; margin-bottom: 26px; }
.deal__visual { position: relative; min-height: 280px; display: grid; place-items: center; }
.deal__visual .book { width: 150px; transform: rotate(-7deg); z-index: 2; }
.deal__visual .book:nth-child(2) { position: absolute; transform: rotate(8deg) translate(46px, 10px); z-index: 1; width: 130px; }
.deal__circle {
  position: absolute;
  top: 16px; right: 16px;
  width: 92px; height: 92px;
  border-radius: 50%;
  background: var(--accent);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; color: #fff;
  box-shadow: 0 0 0 10px rgba(156,66,33,.2);
  z-index: 3;
}
.deal__circle small { font-size: .65rem; letter-spacing: .15em; }

/* -------------------------------------------------------------
   13. NEW-RELEASES STRIP (horizontal scroll)
------------------------------------------------------------- */
.releases {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding: 8px 4px 20px;
  scroll-snap-type: x mandatory;
}
.releases .release {
  scroll-snap-align: start;
  flex: 0 0 auto;
  width: 168px;
  text-align: center;
}
.releases .release .book { width: 130px; margin: 0 auto 14px; }
.release__name { font-family: var(--font-head); font-weight: 600; font-size: .95rem; line-height: 1.25; }
.release__author { font-size: .8rem; color: var(--muted); margin: 2px 0 6px; }
.release__price { font-family: var(--font-head); font-weight: 700; color: var(--accent); }
.releases::-webkit-scrollbar { height: 8px; }
.releases::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; }

/* -------------------------------------------------------------
   14. TRUST STRIP
------------------------------------------------------------- */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.trust__item {
  display: flex; align-items: center; gap: 15px;
  padding: 24px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.trust__item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.trust__icon {
  flex-shrink: 0;
  width: 50px; height: 50px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(44,93,99,.1);
  color: var(--accent2);
  font-size: 1.5rem;
}
.trust__item h3 { font-size: 1rem; font-weight: 600; }
.trust__item p { font-size: .85rem; color: var(--muted); }

/* -------------------------------------------------------------
   15. NEWSLETTER
------------------------------------------------------------- */
.newsletter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background:
    radial-gradient(560px 280px at 100% 0%, rgba(44,93,99,.12), transparent 60%),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 52px 56px;
}
.newsletter__title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 600; margin-bottom: 8px; }
.newsletter__content p { color: var(--muted); max-width: 420px; }
.newsletter__field { display: flex; gap: 10px; }
.newsletter__input {
  flex: 1;
  padding: 14px 18px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--bg);
  font-size: .95rem;
  color: var(--ink);
  transition: border-color .2s, background .2s;
}
.newsletter__input:focus { outline: none; border-color: var(--accent); background: #fff; }
.newsletter__input.is-error { border-color: var(--accent); }
.newsletter__msg { font-size: .85rem; margin-top: 10px; min-height: 1.2em; font-weight: 500; }
.newsletter__msg.is-error { color: var(--accent); }
.newsletter__msg.is-success { color: var(--accent2); }

/* -------------------------------------------------------------
   16. CTA BAND
------------------------------------------------------------- */
.cta-band {
  background:
    radial-gradient(600px 380px at 88% 10%, rgba(44,93,99,.3), transparent 60%),
    linear-gradient(130deg, var(--accent), var(--accent-d));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.cta-band p { color: rgba(255,255,255,.9); max-width: 560px; margin: 12px auto 28px; }
.cta-band .cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* -------------------------------------------------------------
   17. FOOTER
------------------------------------------------------------- */
.footer { background: var(--ink); color: rgba(251,243,228,.7); }
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 70px var(--gutter) 52px;
}
.footer__tagline { font-size: .92rem; margin: 16px 0 22px; max-width: 300px; line-height: 1.75; }
.footer__social { display: flex; gap: 10px; }
.footer__social-link {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius-pill);
  font-size: 1.05rem;
  transition: background .2s, transform .2s;
}
.footer__social-link:hover { background: var(--accent); transform: translateY(-3px); }
.footer__col h4 { color: #fff; font-size: .95rem; margin-bottom: 18px; font-weight: 600; }
.footer__col ul { display: flex; flex-direction: column; gap: 11px; }
.footer__col a { font-size: .9rem; transition: color .2s; }
.footer__col a:hover { color: var(--gold); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer__bottom-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 22px var(--gutter); font-size: .85rem;
}
.footer__legal { display: flex; gap: 22px; }
.footer__legal a:hover { color: var(--gold); }

/* -------------------------------------------------------------
   18. TOAST
------------------------------------------------------------- */
.toast {
  position: fixed;
  bottom: 28px; left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: var(--ink);
  color: #fbf3e4;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  font-size: .9rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  z-index: 200;
  opacity: 0;
  transition: transform .35s var(--ease), opacity .35s var(--ease);
  pointer-events: none;
  max-width: 90vw;
}
.toast.is-visible { transform: translateX(-50%) translateY(0); opacity: 1; }

/* -------------------------------------------------------------
   19. SCROLL-REVEAL
------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* -------------------------------------------------------------
   20. PAGE BANNER + BREADCRUMB
------------------------------------------------------------- */
.page-banner {
  background:
    radial-gradient(880px 400px at 88% -20%, rgba(44,93,99,.14), transparent 60%),
    radial-gradient(760px 400px at 0% 120%, rgba(156,66,33,.1), transparent 55%),
    var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 54px 0 50px;
  text-align: center;
}
.page-banner__title { font-size: clamp(2rem, 4.5vw, 3.1rem); font-weight: 600; }
.page-banner__subtitle { color: var(--muted); margin-top: 12px; font-size: 1.05rem; max-width: 600px; margin-inline: auto; }
.breadcrumb {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 8px;
  margin-top: 18px; font-size: .85rem; color: var(--muted); font-weight: 500;
}
.breadcrumb a { color: var(--accent); transition: color .2s; }
.breadcrumb a:hover { color: var(--accent-d); }
.breadcrumb span[aria-hidden] { color: var(--line); }
.breadcrumb .is-current { color: var(--ink); }

/* -------------------------------------------------------------
   21. SHOP: SIDEBAR + SORT + PAGINATION
------------------------------------------------------------- */
.shop-layout { display: grid; grid-template-columns: 270px 1fr; gap: 40px; align-items: start; }
.shop-sidebar { position: sticky; top: calc(var(--header-h) + 20px); display: flex; flex-direction: column; gap: 22px; }
.filter-group {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.filter-group__title { font-family: var(--font-head); font-size: 1rem; font-weight: 600; margin-bottom: 16px; }
.filter-list { display: flex; flex-direction: column; gap: 11px; }
.filter-check {
  display: flex; align-items: center; gap: 10px;
  font-size: .92rem; color: var(--muted); cursor: pointer; transition: color .2s;
}
.filter-check:hover { color: var(--ink); }
.filter-check input { width: 16px; height: 16px; accent-color: var(--accent); cursor: pointer; }
.filter-check .filter-count { margin-left: auto; color: var(--muted); font-size: .8rem; }

.price-range { padding-top: 4px; }
.price-range input[type="range"] { width: 100%; accent-color: var(--accent); cursor: pointer; }
.price-range__labels { display: flex; justify-content: space-between; font-size: .82rem; color: var(--muted); margin-top: 10px; font-weight: 600; }

.chip-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 8px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: .82rem; font-weight: 600;
  color: var(--muted); background: var(--surface);
  cursor: pointer; transition: all .2s var(--ease);
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { background: var(--accent); color: #fff; border-color: var(--accent); }

.filter-clear {
  width: 100%; padding: 11px;
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-weight: 600; font-size: .88rem; color: var(--muted);
  transition: all .2s var(--ease);
}
.filter-clear:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.shop-main { min-width: 0; }
.sort-bar {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px; margin-bottom: 26px;
  padding-bottom: 18px; border-bottom: 1px solid var(--line);
}
.sort-bar__count { font-size: .9rem; color: var(--muted); }
.sort-bar__count strong { color: var(--ink); font-family: var(--font-head); }
.sort-bar__right { display: flex; align-items: center; gap: 12px; }
.sort-select {
  padding: 10px 16px; border: 1.5px solid var(--line);
  border-radius: var(--radius-pill); background: var(--surface);
  font-family: var(--font-body); font-size: .9rem; color: var(--ink); cursor: pointer;
  transition: border-color .2s;
}
.sort-select:focus { outline: none; border-color: var(--accent); }
.filter-toggle {
  display: none; align-items: center; gap: 8px;
  padding: 10px 18px; border: 1.5px solid var(--line);
  border-radius: var(--radius-pill); font-weight: 600; font-size: .9rem; background: var(--surface);
}

.pagination { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 50px; }
.pagination__item {
  min-width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 12px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-pill);
  font-family: var(--font-head); font-weight: 600; font-size: .9rem;
  color: var(--muted); background: var(--surface);
  transition: all .2s var(--ease);
}
.pagination__item:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-2px); }
.pagination__item.is-active { background: var(--accent); color: #fff; border-color: var(--accent); }
.pagination__item.is-disabled { opacity: .4; pointer-events: none; }

/* -------------------------------------------------------------
   22. PRODUCT DETAIL + GALLERY + TABS + QTY
------------------------------------------------------------- */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.gallery { position: sticky; top: calc(var(--header-h) + 20px); }
.gallery__main {
  position: relative;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(156,66,33,.06), transparent 70%),
    var(--surface);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  padding: 48px;
  box-shadow: var(--shadow);
  min-height: 420px;
}
.gallery__main .book { width: 220px; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 16px; }
.gallery__thumb {
  border-radius: var(--radius);
  background: var(--surface);
  border: 2px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  padding: 14px;
  cursor: pointer;
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.gallery__thumb .book { width: 54px; box-shadow: var(--shadow-sm); }
.gallery__thumb:hover { transform: translateY(-3px); }
.gallery__thumb.is-active { border-color: var(--accent); }

.pd-info__cat { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--accent2); font-weight: 700; }
.pd-info__title { font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 600; margin: 8px 0 4px; }
.pd-info__author { font-size: 1rem; color: var(--muted); margin-bottom: 16px; }
.pd-info__author strong { color: var(--ink); font-weight: 600; }
.pd-info__rating { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.pd-info__rating .stars { color: var(--gold); letter-spacing: 1px; }
.pd-info__rating .rating-meta { font-size: .88rem; color: var(--muted); }
.pd-info__price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.pd-info__price .price { font-size: 2rem; }
.pd-info__price .price--old { font-size: 1.1rem; }
.pd-info__price .price-save {
  font-family: var(--font-body); font-weight: 700; font-size: .8rem; color: #fff;
  background: var(--accent); padding: 4px 10px; border-radius: var(--radius-pill);
}
.pd-info__desc { color: var(--muted); margin: 16px 0 26px; max-width: 480px; }

.pd-option { margin-bottom: 22px; }
.pd-option__label {
  display: flex; justify-content: space-between;
  font-family: var(--font-head); font-weight: 600; font-size: .92rem; margin-bottom: 12px;
}
.pd-option__label .pd-option__value { color: var(--muted); font-weight: 500; font-family: var(--font-body); }

.pd-actions { display: flex; flex-direction: column; gap: 14px; margin: 26px 0; }
.pd-qty-row { display: flex; align-items: center; gap: 16px; }
.pd-actions__row { display: flex; gap: 14px; }
.pd-actions__row .btn { flex: 1; }

.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--radius-pill); overflow: hidden; background: var(--surface); }
.qty__btn { width: 46px; height: 48px; font-size: 1.3rem; color: var(--ink); transition: background .2s; }
.qty__btn:hover { background: var(--bg); }
.qty__input {
  width: 48px; height: 48px; text-align: center; border: none;
  border-left: 1.5px solid var(--line); border-right: 1.5px solid var(--line);
  background: var(--surface);
  font-family: var(--font-head); font-weight: 600; font-size: 1rem; 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: none; }

.pd-meta { border-top: 1px solid var(--line); padding-top: 22px; display: flex; flex-direction: column; gap: 10px; font-size: .88rem; color: var(--muted); }
.pd-meta span strong { color: var(--ink); font-weight: 600; }

.tabs { margin-top: 70px; }
.tabs__nav { display: flex; gap: 6px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.tabs__btn {
  padding: 14px 24px; font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  color: var(--muted); position: relative; transition: color .2s;
}
.tabs__btn::after { content: ''; position: absolute; left: 0; bottom: -1px; width: 0; height: 2px; background: var(--accent); transition: width .25s var(--ease); }
.tabs__btn:hover { color: var(--ink); }
.tabs__btn.is-active { color: var(--ink); }
.tabs__btn.is-active::after { width: 100%; }
.tabs__panel { display: none; padding: 30px 0; max-width: 760px; color: var(--muted); }
.tabs__panel.is-active { display: block; animation: fadeIn .35s var(--ease); }
.tabs__panel p { margin-bottom: 14px; }
.tabs__panel h4 { margin: 18px 0 10px; color: var(--ink); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.spec-table { width: 100%; border-collapse: collapse; }
.spec-table tr { border-bottom: 1px solid var(--line); }
.spec-table th, .spec-table td { text-align: left; padding: 13px 0; font-size: .92rem; }
.spec-table th { font-family: var(--font-head); font-weight: 600; color: var(--ink); width: 200px; }
.spec-table td { color: var(--muted); }

.related { margin-top: 88px; }

/* -------------------------------------------------------------
   23. ABOUT PAGE
------------------------------------------------------------- */
.about-story { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-story__visual {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(156,66,33,.12), rgba(44,93,99,.14));
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  padding: 50px; min-height: 340px;
  box-shadow: var(--shadow-lg);
  gap: 12px;
}
.about-story__visual .book { width: 130px; }
.about-story__visual .book:nth-child(1) { transform: rotate(-6deg); }
.about-story__visual .book:nth-child(2) { transform: translateY(-16px) scale(1.05); z-index: 2; }
.about-story__visual .book:nth-child(3) { transform: rotate(6deg); }
.about-story h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 600; margin-bottom: 18px; }
.about-story p { color: var(--muted); margin-bottom: 16px; }

.stats-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 20px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.stat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.stat-card strong { display: block; font-family: var(--font-head); font-size: 2.5rem; font-weight: 700; color: var(--accent); }
.stat-card span { color: var(--muted); font-size: .92rem; }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.value-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.value-card__icon {
  width: 56px; height: 56px; border-radius: var(--radius);
  display: grid; place-items: center; font-size: 1.7rem;
  background: rgba(156,66,33,.1); margin-bottom: 18px;
}
.value-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.value-card p { color: var(--muted); font-size: .92rem; }

.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.team-card {
  text-align: center; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 32px 24px; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.team-card__avatar {
  width: 92px; height: 92px; border-radius: 50%; margin: 0 auto 16px;
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 700;
  font-size: 1.7rem; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: var(--shadow);
}
.team-card h3 { font-size: 1.1rem; margin-bottom: 2px; }
.team-card .role { color: var(--accent); font-weight: 600; font-size: .88rem; margin-bottom: 10px; }
.team-card p { font-size: .9rem; color: var(--muted); }

/* -------------------------------------------------------------
   24. CONTACT PAGE
------------------------------------------------------------- */
.contact-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: start; }
.contact-form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}
.contact-form-card h2 { font-size: 1.6rem; margin-bottom: 8px; }
.contact-form-card > p { color: var(--muted); margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .85rem; margin-bottom: 8px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 13px 16px;
  border: 1.5px solid var(--line); border-radius: var(--radius);
  background: var(--bg); font-size: .95rem; color: var(--ink);
  transition: border-color .2s, background .2s;
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: none; border-color: var(--accent); background: #fff; }
.form-field input.is-error, .form-field textarea.is-error, .form-field select.is-error { border-color: var(--accent); }
.form-msg { font-size: .88rem; margin-top: 6px; min-height: 1.2em; font-weight: 500; }
.form-msg.is-error { color: var(--accent); }
.form-msg.is-success { color: var(--accent2); }

.contact-info { display: flex; flex-direction: column; gap: 18px; }
.info-card { display: flex; gap: 16px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.info-card__icon {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: var(--radius-sm);
  background: rgba(44,93,99,.1); color: var(--accent2);
  display: grid; place-items: center; font-size: 1.3rem;
}
.info-card h3 { font-size: 1rem; margin-bottom: 4px; }
.info-card p { font-size: .9rem; color: var(--muted); }
.info-card a { color: var(--accent); }

.hours-table { width: 100%; }
.hours-table tr { border-bottom: 1px solid var(--line); }
.hours-table td { padding: 11px 0; font-size: .9rem; }
.hours-table td:first-child { color: var(--muted); font-weight: 500; }
.hours-table td:last-child { text-align: right; color: var(--ink); font-family: var(--font-head); font-weight: 600; }

.map-placeholder {
  margin-top: 28px;
  aspect-ratio: 16 / 7;
  border-radius: var(--radius-lg);
  position: relative;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  background:
    linear-gradient(rgba(156,66,33,.04), rgba(156,66,33,.04)),
    repeating-linear-gradient(0deg, var(--line) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 40px),
    var(--surface);
  display: grid; place-items: center; text-align: center;
}
.map-placeholder .pin { font-size: 2.4rem; }
.map-placeholder b { font-family: var(--font-head); color: var(--ink); display: block; }
.map-placeholder span { color: var(--muted); font-size: .85rem; }

/* -------------------------------------------------------------
   25. RESPONSIVE BREAKPOINTS  (1024 / 768 / 360)
------------------------------------------------------------- */
@media (max-width: 1024px) {
  .categories, .products, .trust { grid-template-columns: repeat(2, 1fr); }
  .products--shop { grid-template-columns: repeat(2, 1fr); }
  .values, .team { grid-template-columns: 1fr 1fr; }

  .hero__inner { grid-template-columns: 1fr; gap: 36px; }
  .hero__visual { min-height: 360px; }

  .deal { grid-template-columns: 1fr; }
  .deal__visual { min-height: 220px; order: -1; padding-top: 30px; }
  .deal__content { padding: 40px 34px; }

  .newsletter { grid-template-columns: 1fr; gap: 24px; padding: 40px 32px; }
  .footer__inner { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }

  .product-detail { grid-template-columns: 1fr; gap: 36px; }
  .gallery { position: static; max-width: 480px; }
  .about-story { grid-template-columns: 1fr; gap: 32px; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }

  /* Shop sidebar becomes a drawer */
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar {
    position: fixed; inset: 0 auto 0 0;
    width: min(82vw, 340px); background: var(--bg);
    z-index: 99; padding: calc(var(--header-h) + 20px) 22px 22px;
    overflow-y: auto; transform: translateX(-100%);
    transition: transform .35s var(--ease); box-shadow: var(--shadow-lg);
  }
  .shop-sidebar.is-open { transform: translateX(0); }
  .filter-toggle { display: inline-flex; }

  .search__input { width: 150px; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }

  /* Mobile nav drawer */
  .nav {
    position: fixed; inset: 0 0 0 auto;
    width: min(78vw, 320px); background: var(--bg);
    padding: calc(var(--header-h) + 24px) 28px 28px;
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform .35s var(--ease);
    margin: 0; z-index: 99;
  }
  .nav.is-open { transform: translateX(0); }
  .nav__list { flex-direction: column; gap: 4px; }
  .nav__link { display: block; padding: 13px 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav__link::after { display: none; }
  .hamburger { display: flex; }
  .search { display: none; }

  body.nav-open { overflow: hidden; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(42,33,24,.45); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease); z-index: 98; }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; }

  .form-row { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .categories, .products, .products--shop, .trust { grid-template-columns: 1fr; }
  .values, .team { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__bottom-inner { flex-direction: column; text-align: center; }
  .hero__stats { gap: 24px; }
  .newsletter__field { flex-direction: column; }
  .newsletter__field .btn { width: 100%; }
  .pd-actions__row { flex-direction: column; }
  .contact-form-card { padding: 28px 22px; }
  .deal__content { padding: 32px 24px; }
}

@media (max-width: 360px) {
  :root { --gutter: 16px; }
  .hero__title { font-size: 2.1rem; }
  .stats-strip { grid-template-columns: 1fr; }
  .logo { font-size: 1.25rem; }
}
