/* ============================================
   THYME BANGNA — DESIGN SYSTEM (Figma)
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ---- Page Transition Overlay ---- */
#page-transition {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #F2F2E9;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}

/* Wrapper: positions spinner rings around the logo */
#pt-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 240px;
  height: 240px;
}

/* Outer spinner ring */
#pt-ring-outer {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: #273A1E;
  border-right-color: #C3C44A;
  animation: pt-spin 1.4s linear infinite;
}

/* Inner spinner ring (counter-rotate, subtler) */
#pt-ring-inner {
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  border-bottom-color: #607C53;
  border-left-color: #C3C44A;
  opacity: 0.55;
  animation: pt-spin 2s linear infinite reverse;
}

@keyframes pt-spin {
  to { transform: rotate(360deg); }
}

/* Logo entrance: pop in with spring ease */
#pt-logo {
  width: 150px;
  max-width: 42vw;
  max-height: 42vh;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.72);
}
#pt-logo.pt-logo-in {
  animation: pt-logo-enter 0.65s cubic-bezier(0.34, 1.48, 0.64, 1) forwards;
}
@keyframes pt-logo-enter {
  from { opacity: 0; transform: scale(0.72); }
  to   { opacity: 1; transform: scale(1);    }
}

:root {
  --dark-green:   #273A1E;
  --mid-green:    #607C53;
  --yellow-green: #C3C44A;
  --yellow-light: #EAE791;
  --cream:        #F2F2E9;
  --taupe:        #988574;
  --white:        #FFFFFF;
  --dark:         #273A1E;
  --gray:         #6B7B6E;
  --font-serif:   'DM Serif Text', serif;
  --font-sans:    'IBM Plex Sans Thai', sans-serif;
  --transition:   0.3s ease;
  --radius:       12px;
  --shadow:       0 4px 20px rgba(0,0,0,0.08);
}

html { scroll-behavior: smooth; }

/* ============================================
   COOKIE BANNER
   ============================================ */
#cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(140px);
  z-index: 9000;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(39, 58, 30, 0.18);
  padding: 16px 20px 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 700px;
  width: calc(100% - 48px);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.34, 1.15, 0.64, 1), opacity 0.4s ease;
}
#cookie-banner.cb-show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
#cookie-banner.cb-hide {
  transform: translateX(-50%) translateY(140px);
  opacity: 0;
}

/* Cookie icon circle */
#cookie-banner .cb-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
}

/* Body text */
#cookie-banner .cb-text {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--dark-green);
  line-height: 1.65;
  flex: 1;
}
#cookie-banner .cb-text a {
  color: var(--mid-green);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 500;
  transition: color var(--transition);
}
#cookie-banner .cb-text a:hover {
  color: var(--dark-green);
}

/* Allow button */
#cookie-banner .cb-allow {
  background: var(--dark-green);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: 10px 26px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background var(--transition), transform var(--transition);
}
#cookie-banner .cb-allow:hover {
  background: var(--mid-green);
  transform: translateY(-1px);
}
#cookie-banner .cb-allow:active {
  transform: translateY(0);
}

@media (max-width: 600px) {
  #cookie-banner {
    flex-wrap: wrap;
    bottom: 16px;
    gap: 10px;
    padding: 14px 16px;
  }
  #cookie-banner .cb-icon {
    width: 34px;
    height: 34px;
    font-size: 18px;
  }
  #cookie-banner .cb-text {
    font-size: 12.5px;
  }
  #cookie-banner .cb-allow {
    margin-left: auto;
    padding: 9px 22px;
  }
}
body { font-family: var(--font-sans); font-size: 18px; color: var(--dark); background: var(--cream); overflow-x: hidden; }
img  { display: block; width: 100%; height: 100%; object-fit: cover; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }

h1 { font-family: var(--font-serif); font-size: 56px; font-weight: 400; }
h2 { font-family: var(--font-serif); font-size: 36px; font-weight: 400; }
h3 { font-family: var(--font-serif); font-size: 36px; font-weight: 400; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* ---- Buttons ---- */
.btn-primary {
  display: inline-block;
  background: var(--dark-green);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: background var(--transition), transform var(--transition);
}
.btn-primary:hover { background: var(--mid-green); transform: translateY(-2px); }

.btn-outline {
  display: inline-block;
  border: 2px solid var(--dark-green);
  color: var(--dark-green);
  padding: 11px 28px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  transition: all var(--transition);
}
.btn-outline:hover { background: var(--dark-green); color: var(--white); }

.btn-visit {
  background: var(--dark-green);
  color: var(--white);
  padding: 9px 24px;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  transition: background var(--transition);
}
.btn-visit:hover { background: var(--mid-green); }

.btn-load-more {
  display: block;
  margin: 48px auto 0;
  background: var(--yellow-green);
  color: var(--dark-green);
  padding: 14px 48px;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-load-more:hover { background: #b0b13e; transform: translateY(-2px); }

/* ============================================
   HEADER — Figma exact
   ============================================ */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--cream);
  box-shadow: 0 1px 0 rgba(39,58,30,0.08);
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 40px;
  font-size: 14px;
}
.lang-switcher { display: flex; gap: 6px; align-items: center; color: var(--gray); font-size: 14px; }
.lang-switcher a { color: var(--gray); font-weight: 400; transition: color var(--transition); }
.lang-switcher a.active { color: var(--dark-green); font-weight: 700; text-decoration: underline; }
.lang-switcher a:hover { color: var(--dark-green); }
.lang-switcher span { color: #aaa; }

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 40px 20px;
  background: var(--cream);
}

/* Logo — DM Serif Text like Figma */
.logo { display: flex; align-items: flex-end; gap: 0; line-height: 1; }
.logo-text-wrap { display: flex; flex-direction: column; line-height: 1; }
.logo-name {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--dark-green);
  letter-spacing: 0;
}
.logo-sub {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--yellow-green);
  letter-spacing: 1px;
  margin-top: -2px;
}

/* Nav links */
.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-links a {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 400;
  color: var(--dark-green);
  position: relative;
  padding-bottom: 4px;
  transition: color var(--transition);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--dark-green);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--dark-green); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active {
  font-weight: 700;
  color: var(--dark-green);
}
.nav-links a.active::after { width: 100%; }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--dark-green); border-radius: 2px; transition: all var(--transition); }

/* Logo จาก Strapi */
.logo-img-strapi { height: 60px; width: auto; object-fit: contain; display: block; }
.footer-logo-img-strapi { height: 52px; width: auto; object-fit: contain; display: block; filter: brightness(0) invert(1); }

/* ============================================
   HERO CAROUSEL
   ============================================ */
.hero { height: 100vh; min-height: 600px; position: relative; margin-top: 96px; }
.carousel { position: relative; width: 100%; height: 100%; overflow: hidden; }
.slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 0.8s ease; }
.slide.active { opacity: 1; }
.slide-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.2) 60%, transparent 100%); }
.slide-content { position: absolute; bottom: 12%; left: 6%; color: white; max-width: 520px; }
.slide-tag { font-size: 0.75rem; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--yellow-light); margin-bottom: 14px; }
.slide-content h1 { font-family: var(--font-serif); font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 700; line-height: 1.15; margin-bottom: 24px; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3); color: white; width: 48px; height: 48px; border-radius: 50%; font-size: 0.9rem; cursor: pointer; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(4px); transition: background var(--transition); z-index: 10; }
.carousel-btn:hover { background: rgba(255,255,255,0.3); }
.carousel-btn.prev { left: 20px; }
.carousel-btn.next { right: 20px; }
.carousel-dots { position: absolute; bottom: 28px; right: 40px; display: flex; gap: 8px; z-index: 10; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.45); cursor: pointer; transition: all var(--transition); }
.dot.active { background: white; transform: scale(1.3); }

/* ============================================
   WHY WE CREATED / ABOUT SECTION
   ============================================ */
.about-section {
  background: var(--dark-green);
  padding: 100px 0;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.herb-icon { font-size: 3rem; margin-bottom: 24px; opacity: 0.9; display: block; }
.about-section h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--white);
}
.about-section p {
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.82);
  max-width: 620px;
  margin: 0 auto 40px;
}
.scroll-arrow { color: rgba(255,255,255,0.5); font-size: 1.5rem; animation: bounce 2s infinite; display: inline-block; }
@keyframes bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(8px)} }

/* ============================================
   MOSAIC GRID SECTION
   ============================================ */
.mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 400px 400px; }
.mosaic-cell { position: relative; overflow: hidden; }
.mosaic-cell img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.mosaic-cell:hover img { transform: scale(1.04); }
.mosaic-text {
  background: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px;
}
.mosaic-text h3 { font-family: var(--font-serif); font-size: 1.8rem; font-weight: 700; margin-bottom: 16px; color: var(--dark-green); }
.mosaic-text p { font-size: 0.95rem; line-height: 1.8; color: var(--gray); }
.mosaic-yellow { background: var(--yellow-green); display: flex; align-items: center; justify-content: center; }

/* ============================================
   PAGE HEADER (inner pages)
   ============================================ */
.page-header {
  padding: 56px 0 40px;
  background: var(--cream);
  border-bottom: 1px solid rgba(39,58,30,0.08);
}
.page-header h1 { font-family: var(--font-serif); font-size: 56px; font-weight: 400; color: var(--dark-green); margin-bottom: 10px; }
.page-header p { font-size: 18px; color: var(--gray); }

/* ============================================
   CATEGORY FILTER TABS
   ============================================ */
.filter-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 32px 0;
}
.filter-btn {
  padding: 8px 20px;
  border-radius: 50px;
  border: none;
  background: transparent;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray);
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover {
  color: var(--dark-green);
}
.filter-btn.active {
  background: var(--yellow-light);
  color: var(--dark);
}

/* ============================================
   STORE CARDS — DIRECTORY
   ============================================ */
.stores-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-bottom: 20px;
}

.store-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.store-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.12); }

.store-cover {
  position: relative;
  height: 180px;
  overflow: hidden;
}
.store-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.store-card:hover .store-cover img { transform: scale(1.06); }

.category-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--dark-green);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
  letter-spacing: 0.3px;
}

.store-info {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
}
.store-logo-wrap {
  width: 44px; height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 1.5px solid rgba(39,58,30,0.10);
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
}
.store-logo-wrap img { width: 100%; height: 100%; object-fit: contain; }
.store-details h4 { font-size: 0.9rem; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.store-details p { font-size: 0.75rem; color: var(--gray); line-height: 1.4; }
.store-schedule { display: flex; flex-direction: column; gap: 1px; margin-top: 2px; }
.store-days  { font-size: 0.72rem; color: var(--gray); line-height: 1.4; }
.store-hours { font-size: 0.72rem; color: var(--gray); line-height: 1.4; }

/* ============================================
   EVENT CARDS — ACTIVITIES
   ============================================ */
.events-section { padding: 40px 0 80px; }
.events-section h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  text-align: center;
  color: var(--dark-green);
  margin-bottom: 10px;
}
.events-section .sub-th { text-align: center; color: var(--gray); font-size: 0.95rem; margin-bottom: 48px; }

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.event-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition);
}
.event-card:hover { transform: translateY(-4px); }
.event-image { aspect-ratio: 3/2; overflow: hidden; border-radius: var(--radius); }
.event-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.event-card:hover .event-image img { transform: scale(1.05); }
.event-body { padding: 16px 4px; }
.event-meta { font-size: 0.78rem; color: var(--gray); margin-bottom: 8px; }
.event-body h4 { font-family: var(--font-serif); font-size: 1.1rem; font-weight: 700; color: var(--dark); }

/* ============================================
   SECTION LAYOUTS (value prop, features, etc.)
   ============================================ */
.value-prop { background: var(--white); padding: 100px 0; text-align: center; }
.value-prop h2 { font-family: var(--font-serif); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; margin-bottom: 20px; }
.value-prop .lead { font-size: 1.05rem; color: var(--gray); line-height: 1.8; max-width: 680px; margin: 0 auto; }
.section-label { font-size: 14px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--mid-green); margin-bottom: 12px; display: block; }

.features { background: var(--cream); padding: 80px 0; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature-card { background: var(--white); border-radius: var(--radius); padding: 36px 28px; text-align: center; box-shadow: var(--shadow); transition: transform var(--transition); }
.feature-card:hover { transform: translateY(-5px); }
.feature-icon { width: 60px; height: 60px; background: var(--yellow-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 1.3rem; color: var(--dark-green); }
.feature-card h3 { font-family: var(--font-serif); font-size: 1.2rem; font-weight: 600; margin-bottom: 12px; }
.feature-card p { font-size: 0.9rem; color: var(--gray); line-height: 1.75; }

.things-to-do { padding: 80px 0; background: var(--white); text-align: center; }
.things-to-do h2 { font-family: var(--font-serif); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 700; margin-bottom: 10px; }
.things-to-do .sub-text { color: var(--gray); margin-bottom: 48px; }
.category-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.category-card { position: relative; height: 170px; border-radius: var(--radius); overflow: hidden; background-size: cover; background-position: center; display: flex; align-items: flex-end; transition: transform var(--transition); }
.category-card:hover { transform: translateY(-4px); }
.cat-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 100%); transition: opacity var(--transition); }
.cat-content { position: relative; z-index: 2; color: white; padding: 14px; width: 100%; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.cat-content i { font-size: 1.3rem; }
.cat-content span { font-size: 0.8rem; font-weight: 600; }
.coming-soon { background: var(--yellow-light); }
.coming-soon .cat-content { color: var(--dark-green); }

.events-banner { position: relative; height: 460px; display: flex; align-items: center; overflow: hidden; }
.events-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.events-overlay { position: absolute; inset: 0; background: rgba(15,40,22,0.7); }
.events-content { position: relative; z-index: 2; color: white; max-width: 560px; }
.events-content h2 { font-family: var(--font-serif); font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; margin-bottom: 14px; }
.events-content p { font-size: 1rem; line-height: 1.75; margin-bottom: 28px; opacity: 0.88; }

.rental { padding: 80px 0; background: var(--cream); }
.rental-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.rental-text h2 { font-family: var(--font-serif); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 700; margin-bottom: 18px; }
.rental-text p { color: var(--gray); font-size: 0.95rem; line-height: 1.8; margin-bottom: 24px; }
.rental-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.rental-list li { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; }
.rental-list li i { color: var(--mid-green); }
.rental-image { border-radius: 16px; overflow: hidden; height: 400px; }

.map-section { padding: 80px 0 0; text-align: center; }
.map-section h2 { font-family: var(--font-serif); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; margin-bottom: 36px; }
.map-embed iframe { display: block; border: none; }

/* ============================================
   FOOTER
   ============================================ */
.footer { background: var(--dark-green); color: rgba(255,255,255,0.78); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-logo-wrap { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-logo-img { width: 48px; height: 48px; object-fit: contain; filter: brightness(0) invert(1); }
.footer-brand-name { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 700; color: white; letter-spacing: 1px; }
.footer-brand-sub { font-size: 0.6rem; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.footer-brand p { font-size: 0.88rem; line-height: 1.75; margin-bottom: 20px; }
.social-links { display: flex; gap: 12px; }
.social-links a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; font-size: 0.85rem; color: rgba(255,255,255,0.7); transition: all var(--transition); }
.social-links a:hover { background: var(--yellow-green); border-color: var(--yellow-green); color: var(--dark-green); }
.footer-col h4 { color: white; font-size: 0.82rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.86rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--yellow-green); }
.contact-list { display: flex; flex-direction: column; gap: 12px; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.86rem; }
.contact-list i { color: var(--yellow-green); margin-top: 2px; min-width: 14px; }
.contact-list a { color: rgba(255,255,255,0.78); }
.contact-list a:hover { color: var(--yellow-green); }
.footer-bottom { padding: 18px 0; text-align: center; font-size: 0.78rem; color: rgba(255,255,255,0.35); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .stores-grid { grid-template-columns: repeat(3, 1fr); }
  .events-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .hero { margin-top: 96px; }
  .hamburger { display: flex; }
  .nav-links { position: fixed; top: 96px; left: 0; right: 0; background: var(--cream); flex-direction: column; gap: 0; max-height: 0; overflow: hidden; transition: max-height 0.35s ease; box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
  .nav-links.open { max-height: 500px; }
  .nav-links li { border-bottom: 1px solid #f0f0f0; }
  .nav-links a { display: block; padding: 15px 28px; }
  .nav-links a::after { display: none; }
  .navbar { padding: 12px 20px; }
  .header-top { padding: 8px 20px; }
  .features-grid, .rental-grid { grid-template-columns: 1fr; }
  .stores-grid { grid-template-columns: repeat(2, 1fr); }
  .events-grid { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: 1fr; grid-template-rows: repeat(4, 280px); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 480px) {
  .stores-grid { grid-template-columns: 1fr; }
  .container { padding: 0 16px; }
}
