/* =============================================================
   1. TOKENS & GLOBALS (Unified to prevent conflicts)
============================================================== */
:root {
  --white: #fff;
  --overlay: rgba(0,0,0,.55);
  --overlay-deep: rgba(0,0,0,.78);
  --border-hero: rgba(255,255,255,.7);
  --transition: .35s ease;
--brown-900:#332314;
  --brown-800:#4a3623;
  --brown-700:#5c4630;
  --cream:#e9dcc6;
  --font-main: 'Special Gothic';
  --gold: #c9a15f;
  --bg: #f8f7f5;
--brown: #4a2f1f;
--brown-light: #5b5046;
--text: #2d2a26;
--paragraph: #5f5b56;
--line: #72675f;
--radius:18px;
  --gap-title-subtitle: 20px;
  --gap-subtitle-text: 15px;
  --gap-text-buttons: 40px;
  --gap-buttons-social: 35px;
  --gap-buttons: 30px;
  --header-height: 88px;
  --header-height-mobile: 72px;
      --am-bg:#f7f5f2;
    --am-white:#ffffff;
    --am-brown:#4a2f1f;
    --am-brown-light:#5b4c42;
    --am-text:#2d2a26;
    --am-paragraph:#4d4741;
    --am-star:#c9d96a;
}

* { 
  margin: 0; 
  padding: 0; 
  box-sizing: border-box; 
}

html { 
  scroll-behavior: smooth; 
}

body { 
  font-family: var(--font-main);
background-color: var(--bg); 
  color: #2d2a26;
}

a { 
  font-family: var(--font-main); 
}

/* =============================================================
   2. HEADER
============================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-height);
  padding: 0 40px;
  background: linear-gradient(180deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,.32) 65%, rgba(0,0,0,0) 100%);
  transition: transform var(--transition), background var(--transition), backdrop-filter var(--transition), box-shadow var(--transition);
}
.site-header.is-hidden {
  transform: translateY(-100%);
}
.site-header.is-scrolled {
  background: rgba(12,9,7,.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--white);
  flex-shrink: 0;
}
.logo-circle {
  width: 55px;
  height: 55px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.55);
  background: rgba(255,255,255,.06);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.logo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.logo-circle svg {
  width: 26px;
  height: 26px;
  color: rgba(255,255,255,.55);
}
.brand:hover .logo-circle {
  border-color: var(--gold);
  transform: scale(1.05);
  box-shadow: 0 0 0 4px rgba(201,161,95,.15);
}
.brand-name {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: .3px;
  white-space: nowrap;
}

.site-header nav { flex: 1; display: flex; justify-content: center; }
.site-header nav ul {
  display: flex;
  align-items: center;
  gap: 38px;
  list-style: none;
}
.site-header nav a {
  position: relative;
  color: var(--white);
  text-decoration: none;
  font-size: 15.5px;
  font-weight: 400;
  letter-spacing: .2px;
  padding: 6px 2px;
  transition: color var(--transition);
}
.site-header nav a::after {
  content: "";
  position: absolute;
  left: 50%; right: 50%;
  bottom: -2px;
  height: 1.5px;
  background: var(--gold);
  transition: left var(--transition), right var(--transition);
}
.site-header nav a:hover,
.site-header nav a:focus-visible { color: var(--gold); }
.site-header nav a:hover::after,
.site-header nav a:focus-visible::after { left: 0; right: 0; }

/* Pagina curentă — reutilizează exact accentul auriu deja existent la hover,
   fără culori sau elemente noi. Marcată din JS cu aria-current="page". */
.site-header nav a[aria-current="page"] { color: var(--gold); }
.site-header nav a[aria-current="page"]::after { left: 0; right: 0; }

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
  padding: 13px 26px;
  background-color: #362a22;
  border: 1.5px solid var(--border-hero);
  border-radius: 50px;
  color: var(--white);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: .3px;
  text-decoration: none;
  transition: background var(--transition), color var(--transition), transform var(--transition), border-color var(--transition);
}
.header-cta svg { width: 17px; height: 17px; }
.header-cta:hover, .header-cta:focus-visible {
  background: var(--white);
  color: #111;
  border-color: var(--white);
  transform: translateY(-2px);
}

.hamburger {
  display: none;
  position: relative;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  z-index: 110;
}
.hamburger__line {
  position: absolute;
  left: 8px;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition), background var(--transition);
}
.hamburger__line:nth-child(1) { top: 13px; }
.hamburger__line:nth-child(2) { top: 20px; }
.hamburger__line:nth-child(3) { top: 27px; }
.hamburger[aria-expanded="true"] .hamburger__line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] .hamburger__line:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] .hamburger__line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(10,8,6,.97);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity .4s ease, transform .4s ease, visibility 0s linear .4s;
}
.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity .4s ease, transform .4s ease, visibility 0s linear 0s;
}
.mobile-menu__nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}
.mobile-menu__nav a {
  color: var(--white);
  text-decoration: none;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: .3px;
  transition: color var(--transition);
}
.mobile-menu__nav a:hover,
.mobile-menu__nav a:focus-visible { color: var(--gold); }
.mobile-menu__nav a[aria-current="page"] { color: var(--gold); }
body.menu-open { overflow: hidden; }

/* =============================================================
   3. HERO SECTION
============================================================== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  /* svh = înălțimea reală a ecranului pe mobil, fără saltul barei de adrese */
  height: 100svh;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

#heroBg {
  background-image:
    radial-gradient(ellipse at 30% 20%, rgba(201,161,95,.18), transparent 55%),
    linear-gradient(160deg, #2b2118 0%, #1c150f 45%, #100c08 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity .8s ease, transform 1s ease;
}
#heroBg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: .5;
}
.hero.is-loaded #heroBg { opacity: 1; transform: scale(1); }

.overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay);
  background: linear-gradient(180deg, var(--overlay) 0%, var(--overlay-deep) 100%);
  z-index: 1;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}
.particle {
  position: absolute;
  bottom: -10px;
  width: var(--s,4px);
  height: var(--s,4px);
  background: rgba(255,255,255,.55);
  border-radius: 50%;
  opacity: 0;
  filter: blur(.3px);
  animation: rise var(--dur,9s) linear var(--delay,0s) infinite;
}
@keyframes rise {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: .6; }
  85% { opacity: .35; }
  100% { transform: translateY(-70vh) translateX(var(--drift,20px)); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 40px;
  max-width: 900px;
}

.hero-title {
  font-size: 64px;
  font-weight: 700;
  font-family: ibarra real nova, sans-serif;
  color: var(--white);
  letter-spacing: .5px;
  /* 1.05 în loc de 0.75: pe ecrane mici titlul trece pe două rânduri,
     iar rândurile nu se mai suprapun. */
  line-height: 1.05;
  text-shadow: 0 2px 18px rgba(0,0,0,.45);
  opacity: 0;
  transform: translateY(40px);
  /* Durata redusă de la .8s: textul din hero este elementul cel mai mare din
     pagină (Largest Contentful Paint), iar cât timp stă la opacity:0 el nu
     este considerat pictat. Coregrafia rămâne aceeași, doar mai alertă. */
  transition: opacity .5s ease, transform .5s ease;
}

.hero-subtitle {
  margin-top: var(--gap-title-subtitle);
  font-size: 28px;
  font-weight: 400;
  color: rgba(255,255,255,.92);
  line-height: 1.35;
  text-shadow: 0 1px 12px rgba(0,0,0,.4);
  opacity: 0;
  transition: opacity .5s ease;
}

.hero-buttons {
  margin-top: var(--gap-text-buttons);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--gap-buttons);
  flex-wrap: wrap;
  opacity: 0;
  transform: scale(.92);
  transition: opacity .5s ease, transform .5s ease;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: #2B241F;
  border: 1.5px solid var(--border-hero);
  border-radius: 50px;
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .4px;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition), border-color var(--transition);
}
.btn:hover, .btn:focus-visible {
  background: var(--white);
  color: #111;
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-arrow svg { transition: transform var(--transition); }
/* .btn-arrow este chiar butonul, nu un copil al lui — selectorul de mai jos
   este cel care face săgeata să gliseze la hover. */
.btn-arrow:hover svg,
.btn-arrow:focus-visible svg { transform: translateX(4px); }

.btn2 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: transparent;
  border: 1.5px solid var(--white);
  border-radius: 50px;
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .4px;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition), border-color var(--transition);
}
.btn2:hover, .btn2:focus-visible {
  background: var(--white);
  color: #181818;
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn2:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.btn2 svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn2:hover .btn-arrow svg { transform: translateX(4px); }

.hero-social {
  margin-top: var(--gap-buttons-social);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  opacity: 0;
  transition: opacity .5s ease;
}

.social-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 12px;
  color: var(--white);
  text-decoration: none;
  transition: background var(--transition), color var(--transition), transform var(--transition), border-color var(--transition);
}
.social-icon svg { width: 19px; height: 19px; }
.social-icon:hover, .social-icon:focus-visible {
  background: var(--white);
  color: #111;
  border-color: var(--white);
  transform: scale(1.1);
}
.social-icon:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }

/* Întârzierile păstrează aceeași ordine de apariție (titlu → subtitlu →
   butoane → social), doar comprimată. Fiecare zecime de secundă de aici
   se adaugă direct la Largest Contentful Paint, iar Lighthouse o
   multiplică cu factorul de încetinire a procesorului pe mobil. */
.hero.is-loaded .hero-title { opacity: 1; transform: translateY(0); transition-delay: .08s; }
.hero.is-loaded .hero-subtitle { opacity: 1; transition-delay: .12s; }
.hero.is-loaded .hero-buttons { opacity: 1; transform: scale(1); transition-delay: .25s; }
.hero.is-loaded .hero-social { opacity: 1; transition-delay: .35s; }

/* =========================================
   4. FEATURED PRODUCTS (Scoped Variables)
========================================= */
.featured-products {
  /* Variables scoped to this section ONLY */
  --bg: #f7f5f2;
  --white: #ffffff;
  --text: #2d2a26;
  --brown: #4d4037;
  --brown-dark: #372d27;
  --border-card: #3b322d;
  --paragraph: #4f4944;

  background-color: var(--bg);
  color: var(--text);
  padding: 130px 7%;
  overflow: hidden; 
}

.section-container {
  max-width: 1450px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}
.section-header h2 {
  font-size: clamp(46px, 4vw, 72px);
  font-weight: 800;
  color: var(--text);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.product-card {
  background: var(--white);
  border: 2px solid var(--border-card);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  will-change: transform;
}
.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.12);
}

.product-image-wrapper {
  width: 100%;
  height: 340px;
  overflow: hidden;
}
.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease; 
}
.product-card:hover .product-image {
  transform: scale(1.05);
}

.product-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1; 
}
.product-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 15px;
}
.product-top h3 {
  font-size: 34px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}
.price {
  font-size: 22px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  padding-top: 5px; 
}
.product-content p {
  margin-top: 22px;
  font-size: 21px;
  line-height: 1.8;
  color: var(--paragraph);
}

.products-buttons {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 70px;
  flex-wrap: wrap;
}
.btn3 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 34px;
  border-radius: 18px;
  font-size: 20px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.35s ease;
  cursor: pointer;
  font-family: inherit;
}
.btn3-primary {
  background-color: var(--brown);
  color: var(--white);
  border: 2px solid var(--brown);
}
.btn3-primary:hover {
  background-color: var(--brown-dark);
  border-color: var(--brown-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(77, 64, 55, 0.2);
}
.btn3-outline {
  background-color: transparent;
  color: var(--text);
  border: 2px solid var(--brown);
}
.btn3-outline:hover {
  background-color: var(--brown);
  color: var(--white);
}

/* =========================================
   5. ABOUT STORY (Scoped Variables)
========================================= */
.about-story {
  /* Variables scoped to this section ONLY */
  --brown: #4a2f1f;
  --brown-light: #513321;
  --white: #ffffff;
  --text: #f5ede4;
  --paragraph: #efe4d9;

  background: var(--brown);
  color: var(--text);
  padding: 140px 7%;
  overflow: hidden;
}

.story-container {
  max-width: 1500px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 90px;
  align-items: center;
}

.story-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.story-label {
  font-size: 26px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 30px;
  display: block;
}
.story-content h2 {
  font-size: clamp(56px, 5vw, 88px);
  font-family: ibarra real nova, sans-serif;
  font-weight: 800;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 40px;
}
.story-content p {
  font-size: 24px;
  line-height: 1.75;
  color: var(--paragraph);
  max-width: 760px;
  margin-bottom: 60px;
}

.story-btn {
  display: inline-block;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: var(--white);
  padding: 20px 36px;
  border-radius: 18px;
  font-size: 22px;
  text-decoration: none;
  transition: all 0.35s ease;
  cursor: pointer;
  font-family: inherit;
}
.story-btn:hover {
  background: var(--white);
  color: var(--brown);
  transform: translateY(-3px);
}

.story-image-wrapper {
  width: 100%;
  height: 780px;
  border-radius: 45px;
  overflow: hidden; 
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15); 
}
.story-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.story-image-wrapper:hover .story-image {
  transform: scale(1.03);
}

/* =========================================
   6. ANIMATIONS & RESPONSIVE
========================================= */
.animate-title {
  opacity: 0;
  transform: translateY(-40px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.animate-card {
  opacity: 0;
  transform: translateY(70px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.animate-btns {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: 0.75s; 
}
.card-delay-1 { transition-delay: 0.15s; }
.card-delay-2 { transition-delay: 0.35s; }
.card-delay-3 { transition-delay: 0.55s; }

.animate-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.animate-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: 0.2s;
}
.animate-btn {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.35s ease, color 0.35s ease;
  transition-delay: 0.4s; 
}

.is-visible { opacity: 1; transform: translate(0) scale(1); }
.is-visible.animate-left, .is-visible.animate-right { opacity: 1; transform: translateX(0); }
.is-visible.animate-btn { opacity: 1; transform: translateY(0); }


@media (max-width: 1200px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .product-card:last-child {
      grid-column: 1 / -1;
      max-width: 50%;
      margin: 0 auto;
  }
  .story-container { grid-template-columns: 1fr; gap: 60px; }
  .story-image-wrapper { margin: 0 auto; }
}

@media (max-width: 768px) {
  .hero-content { padding: 0 20px; }
  .hero-title { font-size: 38px; }
  .hero-subtitle { font-size: 17px; }
  .hero-buttons { flex-direction: column; width: 100%; gap: 16px; }
  .btn, .btn2 { width: 100%; justify-content: center; }
  .hero-social { gap: 14px; }

  .site-header { height: var(--header-height-mobile); padding: 0 20px; }
  .logo-circle { width: 42px; height: 42px; }
  .logo-circle svg { width: 20px; height: 20px; }
  .brand-name { font-size: 17px; }
  .site-header nav, .header-cta { display: none; }
  .hamburger { display: block; }

  .featured-products { padding: 80px 5%; }
  .section-header h2 { font-size: 38px; margin-bottom: 50px; }
  .products-grid { grid-template-columns: 1fr; gap: 30px; }
  .product-card:last-child { max-width: 100%; }
  .product-image-wrapper { height: 280px; }
  .products-buttons { flex-direction: column; gap: 15px; margin-top: 50px; }
  .btn3 { width: 100%; }

  .about-story { padding: 100px 25px; }
  .story-content h2 { font-size: 48px; }
  .story-content p { font-size: 20px; margin-bottom: 45px; }
  .story-image-wrapper { height: 500px; border-radius: 35px; }
  .story-btn { width: 100%; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  #heroBg, .hero-title, .hero-subtitle, .hero-buttons, .hero-social {
      transition: none !important;
      opacity: 1 !important;
      transform: none !important;
  }
  .particle { animation: none !important; display: none; }
}
/* =========================================
   LAYOUT SECȚIUNE
========================================= */
.menu-preview {
    padding: 140px 7%;
    overflow: hidden; /* Pentru a ascunde animațiile elementelor care vin din lateral */
}

.menu-container {
    max-width: 1500px;
    margin: 0 auto;
}

/* =========================================
   HEADER SECȚIUNE
========================================= */
.section-header {
    text-align: center;
    margin-bottom: 90px;
}

.section-header span {
    display: block;
    font-size: 28px;
    font-weight: 400;
    color: var(--brown-light);
    margin-bottom: 25px;
}

.section-header h2 {
    font-size: clamp(50px, 5vw, 38px);
    font-weight: 800;
    font-family: ibarra real nova, sans-serif;
    color: var(--text);
}

/* =========================================
   GRID PRODUSE
========================================= */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 90px;
}

.category-title {
    display: flex;
    align-items: center;
    gap: 18px;
    font-family: ibarra real nova, sans-serif;
    font-size: 36px;
    font-weight: 1000;
    color: var(--brown);
    margin-bottom: 40px;
}

/* =========================================
   PRODUSE INDIVIDUALE
========================================= */
.menu-item-wrapper {
    margin-bottom: 35px;
}

.menu-item {
    /* Setăm padding invizibil compensat de margin pentru a nu mișca layout-ul la hover */
    padding: 20px;
    margin: 0 -20px;
    border-radius: 16px;
    transition: background 0.35s ease, transform 0.35s ease;
    cursor: default;
}

.menu-item:hover {
    background: var(--white);
    transform: translateX(8px);
}

.menu-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.menu-top h3 {
    font-size: 30px;
    font-weight: 500;
    color: var(--text);
    font-family: ibarra real nova, sans-serif;
}

.menu-top .price {
    font-size: 26px;
    font-weight: 500;
    color: var(--text);
    white-space: nowrap;
    font-family: ibarra real nova, sans-serif;
}

.menu-item p {
    font-size: 22px;
    line-height: 1.8;
    color: var(--paragraph);
    margin-top: 18px;
}

/* Linia separatoare */
.menu-separator {
    height: 2px;
    background: var(--line);
    opacity: 0.6;
    border: none;
    margin: 0; /* Marginea de distanțare este gestionată de wrapper-ul părintelui */
}

/* Îndepărtăm linia de după ultimul produs din fiecare coloană (opțional dar oferă un aspect curat) */
.menu-item-wrapper:last-child .menu-separator {
    display: none;
}

/* =========================================
   NOTA "JUMATATE DE PRET" (ADAUGAT)
   Foloseste doar variabilele de culoare deja
   existente (--brown-light, --brown) si fontul
   implicit al textului de pe site (fara font
   nou, fara culori noi).
========================================= */
.menu-note {
    text-align: center;
    max-width: 640px;
    margin: 60px auto 0;
    font-size: 20px;
    font-style: italic;
    letter-spacing: .2px;
    color: var(--brown-light);
}

.menu-note strong {
    color: var(--brown);
    font-style: normal;
    font-weight: 600;
}

/* =========================================
   BUTON
========================================= */
.menu-button {
    display: flex;
    justify-content: center;
    margin-top: 40px; /* redus usor, fiindca .menu-note aduce deja spatiere deasupra */
}

.btn-menu {
    display: inline-block;
    background: transparent;
    border: 2px solid var(--brown);
    color: var(--brown);
    padding: 18px 36px;
    border-radius: 18px;
    font-size: 22px;
    text-decoration: none;
    transition: all 0.35s ease;
}

.btn-menu:hover {
    background: var(--brown);
    color: var(--white);
    transform: translateY(-3px);
}

/* =========================================
   ANIMAȚII (INTERSECTION OBSERVER)
========================================= */

/* Header - Titlu și Subtitlu */
.anim-title {
    display: block; /* Fix pentru transform pe span inline */
    opacity: 0;
    transform: translateY(-40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.delay-title { transition-delay: 0.1s; }

/* Coloane categorii */
.anim-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.anim-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

/* Produse (Staggered) */
.anim-product {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Delays specifice pentru cascadare */
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.30s; }
.delay-3 { transition-delay: 0.45s; }

/* Nota "jumatate de pret" (ADAUGAT) - apare intre produse si buton */
.anim-note {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.delay-note { transition-delay: 0.4s; }

/* Buton */
.anim-btn {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease, transform 0.8s ease;
    transition-delay: 0.5s;
}

/* Clasa adăugată de JS pentru activare */
.is-visible {
    opacity: 1 !important;
    transform: translate(0) scale(1) !important;
}

/* =========================================
   RESPONSIVE (MEDIA QUERIES)
========================================= */
@media (max-width: 1200px) {
    .menu-grid {
        grid-template-columns: 1fr;
        gap: 70px;
    }
}

@media (max-width: 768px) {
    .menu-preview {
        padding: 100px 25px;
    }
    
    .section-header h2 {
        font-size: 42px; /* Override clamp pentru mobil */
    }
    
    .category-title {
        font-size: 34px;
        margin-bottom: 40px;
    }
    
    .menu-top h3 {
        font-size: 28px;
    }
    
    .menu-top .price {
        font-size: 22px; /* Redimensionare fină ca să se potrivească pe rând */
    }
    
    .menu-item p {
        font-size: 19px;
    }

    /* Pe mobil este mai bine să lăsăm puțin spațiu fix între iteme */
    .menu-item {
        padding: 15px;
        margin: 0 -15px;
    }

    .menu-note {
        font-size: 17px;
        margin-top: 45px;
        padding: 0 10px;
    }

    .btn-menu {
        width: 100%;
        text-align: center;
    }
}

/* =================================================================
   SECȚIUNE
================================================================== */
.gallery{
  background:var(--brown-900);
  padding:110px 40px;
  font-family:var(--font-main);
}
 
.gallery-container{
  max-width:1200px;
  margin:0 auto;
}
 
/* ---- Titlu ------------------------------------------------------ */
.gallery-heading{
  text-align:center;
  margin-bottom:60px;
}
 
.gallery-eyebrow{
  color:var(--gold);
  font-size:15px;
  font-weight:500;
  letter-spacing:1.2px;
  margin-bottom:14px;
  opacity:0;
  transform:translateY(14px);
  transition:opacity .7s ease, transform .7s ease;
}
 
.gallery-title{
  color:var(--white);
  font-size:46px;
  font-weight:700;
  letter-spacing:.4px;
  opacity:0;
  transform:translateY(18px);
  transition:opacity .7s ease .12s, transform .7s ease .12s;
}
 
.gallery-heading.is-visible .gallery-eyebrow,
.gallery-heading.is-visible .gallery-title{
  opacity:1;
  transform:translateY(0);
}
 
/* ---- Grid --------------------------------------------------------*/
.gallery-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:26px;
}
 
.gallery-item{
  position:relative;
  border-radius:var(--radius);
  overflow:hidden;
  aspect-ratio:4 / 3;
  background:linear-gradient(150deg, var(--brown-700) 0%, var(--brown-800) 100%);
  box-shadow:0 10px 30px rgba(0,0,0,.25);
  opacity:0;
  transform:translateY(28px);
  transition:opacity .7s ease var(--delay, 0s), transform .7s ease var(--delay, 0s),
             box-shadow var(--transition);
}
.gallery-item.is-visible{
  opacity:1;
  transform:translateY(0);
}
.gallery-item:hover{
  box-shadow:0 16px 38px rgba(0,0,0,.4);
}
 
.gallery-media{
  position:absolute;
  inset:0;
}
 
.gallery-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  display:block;
  opacity:0;
  transform:scale(1.08);
  transition:opacity .6s ease, transform .7s ease;
}
.gallery-media img.is-loaded{
  opacity:1;
}
.gallery-item:hover .gallery-media img.is-loaded{
  transform:scale(1.08);
}
.gallery-media img:not(.is-loaded){
  /* ascunde iconița de imagine spartă din browser cât timp nu există poză reală */
  visibility:hidden;
}
 
/* ---- Skeleton loader (vizibil cât timp poza se descarcă) ----------*/
.gallery-placeholder{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:10px;
  color:rgba(255,255,255,.4);
  overflow:hidden;              /* ține banda de shimmer în interiorul cardului */
  transition:opacity .5s ease;
}

/* Banda de lumină care traversează skeleton-ul */
.gallery-placeholder::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(100deg,
              rgba(255,255,255,0) 20%,
              rgba(255,255,255,.14) 50%,
              rgba(255,255,255,0) 80%);
  transform:translateX(-100%);
  animation:gallery-skeleton-shimmer 1.6s ease-in-out infinite;
}
@keyframes gallery-skeleton-shimmer{
  from{ transform:translateX(-100%); }
  to  { transform:translateX(100%); }
}

/* Iconița și eticheta apar doar dacă poza chiar nu poate fi încărcată */
.gallery-placeholder svg{
  position:relative;
  width:34px;
  height:34px;
  opacity:0;
  transition:opacity .3s ease;
}
.gallery-placeholder span{
  position:relative;
  font-size:13px;
  letter-spacing:.5px;
  color:rgba(255,255,255,.45);
  opacity:0;
  transition:opacity .3s ease;
}
.gallery-item.gallery-item-error .gallery-placeholder svg{ opacity:.55; }
.gallery-item.gallery-item-error .gallery-placeholder span{ opacity:1; }
.gallery-item.gallery-item-error .gallery-placeholder::after{ animation:none; opacity:0; }

/* Poza încărcată → skeleton-ul dispare lin și animația se oprește */
.gallery-media img.is-loaded ~ .gallery-placeholder{
  opacity:0;
  pointer-events:none;
}
.gallery-media img.is-loaded ~ .gallery-placeholder::after{
  animation:none;
}
 
/* ---- Overlay de hover (iconiță de zoom) ----------------------------*/
.gallery-overlay{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.55) 100%);
  opacity:0;
  transition:opacity var(--transition);
}
.gallery-overlay svg{
  width:30px;
  height:30px;
  color:var(--white);
  border:1.5px solid rgba(255,255,255,.75);
  border-radius:50%;
  padding:12px;
  box-sizing:content-box;
  transform:scale(.85);
  transition:transform var(--transition), border-color var(--transition), background var(--transition);
}
.gallery-item:hover .gallery-overlay{ opacity:1; }
.gallery-item:hover .gallery-overlay svg{
  transform:scale(1);
  background:rgba(255,255,255,.12);
  border-color:var(--gold);
}
 
/* ---- Buton ----------------------------------------------------------*/
.gallery-btn{
  display:flex;
  width:fit-content;
  align-items:center;
  gap:10px;
  margin:56px auto 0;
  padding:16px 30px;
  background:transparent;
  border:1.5px solid rgba(255,255,255,.4);
  border-radius:50px;
  color:var(--white);
  font-family:var(--font-main);
  font-size:15px;
  font-weight:500;
  letter-spacing:.3px;
  text-decoration:none;
  opacity:0;
  transform:translateY(16px);
  transition:opacity .7s ease .1s, transform .7s ease .1s,
  background var(--transition), color var(--transition), border-color var(--transition);
}
.gallery-btn.is-visible{
  opacity:1;
  transform:translateY(0);
}
.gallery-btn svg{
  width:16px;
  height:16px;
  transition:transform var(--transition);
}
.gallery-btn:hover, .gallery-btn:focus-visible{
  background:var(--white);
  color:var(--brown-900);
  border-color:var(--white);
}
.gallery-btn:hover svg{ transform:translateX(4px); }
.gallery-btn:focus-visible{ outline:2px solid var(--gold); outline-offset:3px; }
 
/* =================================================================
   RESPONSIVE
================================================================== */
@media (max-width:960px){
  .gallery{ padding:90px 30px; }
  .gallery-grid{ grid-template-columns:repeat(2, 1fr); gap:20px; }
  .gallery-title{ font-size:36px; }
}
 
@media (max-width:560px){
  .gallery{ padding:70px 20px; }
  .gallery-grid{ grid-template-columns:1fr; gap:16px; }
  .gallery-title{ font-size:29px; }
  .gallery-eyebrow{ font-size:13px; }
  .gallery-heading{ margin-bottom:40px; }
  .gallery-item{ aspect-ratio:16 / 11; }
}
 
/* =================================================================
   ACCESIBILITATE
================================================================== */
@media (prefers-reduced-motion: reduce){
  .gallery-eyebrow, .gallery-title, .gallery-item, .gallery-btn, .gallery-media img{
    transition:none !important;
    opacity:1 !important;
    transform:none !important;
  }
  .gallery-media img:not(.is-loaded){ visibility:visible; opacity:0 !important; }
  /* Skeleton-ul rămâne vizibil, dar fără banda animată */
  .gallery-placeholder::after{ animation:none !important; opacity:0 !important; }
}
 
/* =================================================================
   SECȚIUNE
================================================================== */
.am-testimonials{
    max-width:1500px;
    margin:auto;
    padding:140px 7%;
    background:var(--am-bg);
    font-family:"Special Gothic", sans-serif;
    text-align:center;
    box-sizing:border-box;
}
 
.am-testimonials *{
    box-sizing:border-box;
}
 
/* =================================================================
   HEADER
================================================================== */
.am-testimonials-header{
    display:flex;
    flex-direction:column;
    align-items:center;
}
 
.am-testimonials-subtitle{
    display:block;
    font-size:30px;
    font-weight:400;
    color:#5a4b40;
    margin-bottom:20px;
    text-align:center;
    opacity:0;
    transform:translateY(-40px);
    transition:opacity .8s ease, transform .8s ease;
}
 
.am-testimonials-title{
    font-size:clamp(56px, 5vw, 82px);
    font-weight:800;
    color:var(--am-text);
    margin-bottom:90px;
    text-align:center;
    line-height:1.08;
    opacity:0;
    transform:translateY(-40px);
    transition:opacity .8s ease .08s, transform .8s ease .08s;
}
 
.am-testimonials.am-testimonials-in-view .am-testimonials-subtitle,
.am-testimonials.am-testimonials-in-view .am-testimonials-title{
    opacity:1;
    transform:translateY(0);
}
 
/* =================================================================
   GRID
================================================================== */
.am-testimonials-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:35px;
    align-items:stretch;
}
 
/* =================================================================
   CARD
================================================================== */
.am-testimonials-card{
    position:relative;
    background:var(--am-white);
    border:2px solid var(--am-brown);
    border-radius:36px;
    padding:38px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    height:100%;
    text-align:left;
    overflow:hidden;
    transition:.4s ease;
 
    opacity:0;
    transform:translateY(60px);
}
 
.am-testimonials-card:hover{
    transform:translateY(-12px);
    box-shadow:0 25px 55px rgba(0,0,0,.10);
}
 
.am-testimonials.am-testimonials-in-view .am-testimonials-card{
    opacity:1;
    transform:translateY(0);
}
.am-testimonials.am-testimonials-in-view .am-testimonials-card:hover{
    transform:translateY(-12px);
}
 
/* fiecare card intră cu propriul delay: card 1 → .15s, card 2 → .35s, card 3 → .55s */
.am-testimonials-card:nth-child(1){ transition:opacity .8s ease .15s, transform .8s ease .15s, box-shadow .4s ease; }
.am-testimonials-card:nth-child(2){ transition:opacity .8s ease .35s, transform .8s ease .35s, box-shadow .4s ease; }
.am-testimonials-card:nth-child(3){ transition:opacity .8s ease .55s, transform .8s ease .55s, box-shadow .4s ease; }
.am-testimonials.am-testimonials-in-view .am-testimonials-card:hover{
    transition:transform .4s ease, box-shadow .4s ease;
}
 
/* ---- Ghilimea decorativă (detaliu premium, discret) ---------------*/
.am-testimonials-quote{
    position:absolute;
    top:30px;
    right:34px;
    color:rgba(74,47,31,.08);
    font-size:46px;
    line-height:1;
    pointer-events:none;
}
 
/* ---- Stele ----------------------------------------------------------*/
.am-testimonials-stars{
    display:flex;
    gap:6px;
    margin-bottom:28px;
}
.am-testimonials-stars i{
    color:var(--am-star);
    font-size:28px;
}
 
/* ---- Review -----------------------------------------------------------*/
.am-testimonials-review{
    font-size:23px;
    line-height:1.75;
    color:#38332e;
    margin-bottom:45px;
}
 
/* ---- Autor --------------------------------------------------------------*/
.am-testimonials-author{
    display:flex;
    align-items:center;
    gap:14px;
    padding-top:24px;
    border-top:1px solid rgba(74,47,31,.12);
}
 
.am-testimonials-name{
    font-size:24px;
    font-weight:600;
    color:var(--am-text);
}
 
/* =================================================================
   BUTON
================================================================== */
.am-testimonials-footer{
    display:flex;
    justify-content:center;
}
 
.am-testimonials-button{
    display:inline-flex;
    align-items:center;
    gap:14px;
    background:transparent;
    border:2px solid var(--am-brown);
    color:var(--am-brown);
    padding:18px 40px;
    border-radius:18px;
    font-family:"Special Gothic", sans-serif;
    font-size:22px;
    font-weight:400;
    text-decoration:none;
    margin-top:70px;
    transition:.35s ease;
 
    opacity:0;
    transform:scale(.9);
}
.am-testimonials-button i{
    font-size:18px;
    transition:transform .35s ease;
}
 
.am-testimonials-button:hover,
.am-testimonials-button:focus-visible{
    background:var(--am-brown);
    color:var(--am-white);
    transform:translateY(-3px);
}
.am-testimonials-button:hover i{
    transform:translateX(4px);
}
.am-testimonials-button:focus-visible{
    outline:2px solid var(--am-brown-light);
    outline-offset:4px;
}
 
.am-testimonials.am-testimonials-in-view .am-testimonials-button{
    opacity:1;
    transform:scale(1);
    transition:opacity .8s ease .75s, transform .8s ease .75s, background .35s ease, color .35s ease;
}
.am-testimonials.am-testimonials-in-view .am-testimonials-button:hover{
    transform:translateY(-3px);
}
 
/* =================================================================
   RESPONSIVE
================================================================== */
@media (max-width:1200px){
    .am-testimonials-grid{
        grid-template-columns:repeat(2, 1fr);
    }
    .am-testimonials-card:nth-child(3){
        grid-column:1 / -1;
        justify-self:center;
        width:100%;
        max-width:calc(50% - 17.5px);
    }
}
 
@media (max-width:768px){
    .am-testimonials{
        padding:100px 25px;
    }
    .am-testimonials-grid{
        grid-template-columns:1fr;
    }
    .am-testimonials-title{
        font-size:44px;
    }
    .am-testimonials-review{
        font-size:20px;
    }
    .am-testimonials-card:nth-child(3){
        max-width:100%;
    }
}
 
/* =================================================================
   ACCESIBILITATE
================================================================== */
@media (prefers-reduced-motion: reduce){
    .am-testimonials-subtitle,
    .am-testimonials-title,
    .am-testimonials-card,
    .am-testimonials-button{
        transition:none !important;
        opacity:1 !important;
        transform:none !important;
    }
}
/* =================================================================
   PALETĂ — exact conform cerinței, nu se adaugă alte culori.
================================================================== */
:root{
    --am-location-bg:#f7f5f2;
    --am-location-white:#ffffff;
    --am-location-brown:#4a2f1f;
    --am-location-brown-light:#5b5046;
    --am-location-text:#2d2a26;
    --am-location-paragraph:#4e4842;
    --am-location-green:#b7d43b;
    --am-location-dark:#111111;
}

/* =================================================================
   SECȚIUNE
================================================================== */
.am-location-section{
    max-width:1500px;
    margin:auto;
    padding:140px 7%;
    background:var(--am-location-bg);
    font-family:"Special Gothic", sans-serif;
    box-sizing:border-box;
}

.am-location-section *{
    box-sizing:border-box;
}

.am-location-wrapper{
    display:grid;
    grid-template-columns:.9fr 1.1fr;
    gap:90px;
    align-items:center;
}

/* =================================================================
   COLOANA DE TEXT
================================================================== */
.am-location-content{
    opacity:0;
    transform:translateX(-60px);
    transition:opacity .8s ease, transform .8s ease;
}

.am-location-section.am-location-in-view .am-location-content{
    opacity:1;
    transform:translateX(0);
}

.am-location-subtitle{
    display:block;
    font-size:26px;
    font-weight:500;
    letter-spacing:2px;
    text-transform:uppercase;
    color:var(--am-location-brown-light);
    margin-bottom:28px;
}

.am-location-title{
    font-size:clamp(56px, 5vw, 84px);
    font-weight:800;
    line-height:1.15;
    color:var(--am-location-text);
    margin-bottom:40px;
    max-width:650px;
}

/* ---- Status ----------------------------------------------------------*/
.am-location-status{
    background:#efe8e3;
    border-radius:50px;
    padding:15px 26px;
    display:inline-flex;
    align-items:center;
    gap:18px;
    font-size:21px;
    color:var(--am-location-brown);
    margin-bottom:70px;
}

.am-location-dot{
    width:12px;
    height:12px;
    border-radius:50%;
    background:var(--am-location-green);
    flex-shrink:0;
}

.am-location-separator{
    color:var(--am-location-brown-light);
}

/* ---- Informații -----------------------------------------------------*/
.am-location-address h3,
.am-location-phone h3{
    font-size:34px;
    font-weight:700;
    color:var(--am-location-text);
    margin-bottom:12px;
}

.am-location-address p,
.am-location-phone p{
    font-size:25px;
    line-height:1.8;
    color:var(--am-location-paragraph);
    margin-bottom:35px;
}

/* ---- Butoane -----------------------------------------------------------*/
.am-location-buttons{
    display:flex;
    gap:24px;
    flex-wrap:wrap;
    margin-top:60px;

    opacity:0;
    transform:translateY(30px);
    transition:opacity .8s ease .75s, transform .8s ease .75s;
}

.am-location-section.am-location-in-view .am-location-buttons{
    opacity:1;
    transform:translateY(0);
}

.am-location-map-btn,
.am-location-contact-btn{
    display:inline-flex;
    align-items:center;
    gap:12px;
    font-family:"Special Gothic", sans-serif;
    text-decoration:none;
    font-size:22px;
    padding:20px 34px;
    border-radius:18px;
    transition:.35s ease;
}

.am-location-map-btn{
    background:var(--am-location-dark);
    color:var(--am-location-white);
    border:2px solid var(--am-location-dark);
}
.am-location-map-btn i{
    font-size:19px;
}
.am-location-map-btn:hover,
.am-location-map-btn:focus-visible{
    background:var(--am-location-text);
    border-color:var(--am-location-text);
    transform:translateY(-3px);
}

.am-location-contact-btn{
    background:transparent;
    color:var(--am-location-brown);
    border:2px solid var(--am-location-brown);
}
.am-location-contact-btn:hover,
.am-location-contact-btn:focus-visible{
    background:var(--am-location-brown);
    color:var(--am-location-white);
    transform:translateY(-3px);
}

.am-location-map-btn:focus-visible,
.am-location-contact-btn:focus-visible{
    outline:2px solid var(--am-location-brown-light);
    outline-offset:4px;
}

/* =================================================================
   HARTĂ
================================================================== */
.am-location-map{
    border-radius:40px;
    overflow:hidden;
    box-shadow:0 20px 50px rgba(0,0,0,.10);
    transition:.5s ease;

    opacity:0;
    transform:translateX(60px);
}

.am-location-map:hover{
    transform:scale(1.02);
}

.am-location-section.am-location-in-view .am-location-map{
    opacity:1;
    transform:translateX(0);
    transition:opacity .9s ease .2s, transform .9s ease .2s;
}
.am-location-section.am-location-in-view .am-location-map:hover{
    transform:scale(1.02);
    transition:transform .5s ease;
}

.am-location-map iframe{
    display:block;
    width:100%;
    height:620px;
    border:none;
}

/* =================================================================
   RESPONSIVE
================================================================== */
@media (max-width:1200px){
    .am-location-wrapper{
        grid-template-columns:1fr;
    }
    .am-location-title{
        max-width:100%;
    }
}

@media (max-width:768px){
    .am-location-section{
        padding:100px 25px;
    }
    .am-location-title{
        font-size:46px;
    }
    .am-location-map iframe{
        height:420px;
    }
    .am-location-buttons{
        flex-direction:column;
    }
    .am-location-map-btn,
    .am-location-contact-btn{
        width:100%;
        justify-content:center;
    }
}

/* =================================================================
   ACCESIBILITATE
================================================================== */
@media (prefers-reduced-motion: reduce){
    .am-location-content,
    .am-location-map,
    .am-location-buttons{
        transition:none !important;
        opacity:1 !important;
        transform:none !important;
    }
    .am-location-map:hover{
        transform:none !important;
    }
}
/* =================================================================
   PALETĂ
================================================================== */
:root{
    --am-footer-bg:#4a2f1f;
    --am-footer-bg-light:#5a3926;
    --am-footer-white:#ffffff;
    --am-footer-text:rgba(255,255,255,.92);
    --am-footer-muted:rgba(255,255,255,.72);
    --am-footer-border:rgba(255,255,255,.25);
}

/* =================================================================
   BASE
================================================================== */
.am-footer-section{
    max-width:100%;
    margin:auto;
    padding:120px 7% 45px;
    background:var(--am-footer-bg);
    color:var(--am-footer-text);
    box-sizing:border-box;
}
.am-footer-section *{ box-sizing:border-box; }
.am-footer-section ul{ list-style:none; margin:0; padding:0; }
.am-footer-section h2,
.am-footer-section h3,
.am-footer-section h4,
.am-footer-section h5,
.am-footer-section h6{ font-family:"Ibarra Real Nova", sans-serif; }

/* =================================================================
   CTA
================================================================== */
.am-footer-cta{
    text-align:center;
    margin-bottom:130px;

    opacity:0;
    transform:translateY(-60px);
    transition:opacity .8s ease, transform .8s ease;
}
.am-footer-section.am-footer-in-view .am-footer-cta{
    opacity:1;
    transform:translateY(0);
}

.am-footer-cta-title{
    font-size:clamp(46px, 4vw, 72px);
    font-weight:800;
    color:var(--am-footer-white);
    margin-bottom:28px;
    font-family: ibarra real nova, sans-serif;
}

.am-footer-cta-subtitle{
    font-size:clamp(20px, 1.7vw, 30px);
    line-height:1.6;
    max-width:800px;
    margin:0 auto 70px;
    color:var(--am-footer-text);
}

.am-footer-buttons{
    display:flex;
    justify-content:center;
    gap:30px;
    flex-wrap:wrap;

    opacity:0;
    transform:translateY(-60px);
    transition:opacity .8s ease .25s, transform .8s ease .25s;
}
.am-footer-section.am-footer-in-view .am-footer-buttons{
    opacity:1;
    transform:translateY(0);
}

.am-footer-primary-btn,
.am-footer-secondary-btn{
    display:inline-flex;
    align-items:center;
    gap:12px;
    padding:18px 42px;
    border-radius:18px;
    font-size:19px;
    text-decoration:none;
    transition:.35s ease;
}

.am-footer-primary-btn{
    background:var(--am-footer-bg-light);
    color:var(--am-footer-white);
    border:2px solid var(--am-footer-bg-light);
}
.am-footer-primary-btn:hover,
.am-footer-primary-btn:focus-visible{
    transform:translateY(-4px);
    box-shadow:0 18px 35px rgba(0,0,0,.25);
}

.am-footer-secondary-btn{
    background:transparent;
    color:var(--am-footer-white);
    border:2px solid rgba(255,255,255,.8);
}
.am-footer-secondary-btn:hover,
.am-footer-secondary-btn:focus-visible{
    background:var(--am-footer-white);
    color:var(--am-footer-bg);
    transform:translateY(-4px);
}

.am-footer-primary-btn:focus-visible,
.am-footer-secondary-btn:focus-visible{
    outline:2px solid var(--am-footer-white);
    outline-offset:4px;
}

/* =================================================================
   COLUMNS
   5 coloane acum: brand, links, legal, hours, contact.
================================================================== */
.am-footer-columns{
    display:grid;
    grid-template-columns:1.3fr 0.85fr 1fr 0.95fr 1.15fr;
    gap:56px;
    align-items:flex-start;
}

.am-footer-brand,
.am-footer-links,
.am-footer-legal,
.am-footer-hours,
.am-footer-contact{
    opacity:0;
    transform:translateY(60px);
    transition:opacity .8s ease, transform .8s ease;
}
.am-footer-section.am-footer-in-view .am-footer-brand{
    opacity:1; transform:translateY(0);
    transition-delay:.15s;
}
.am-footer-section.am-footer-in-view .am-footer-links{
    opacity:1; transform:translateY(0);
    transition-delay:.28s;
}
.am-footer-section.am-footer-in-view .am-footer-legal{
    opacity:1; transform:translateY(0);
    transition-delay:.41s;
}
.am-footer-section.am-footer-in-view .am-footer-hours{
    opacity:1; transform:translateY(0);
    transition-delay:.54s;
}
.am-footer-section.am-footer-in-view .am-footer-contact{
    opacity:1; transform:translateY(0);
    transition-delay:.67s;
}

.am-footer-heading{
    font-size:24px;
    font-weight:700;
    color:var(--am-footer-white);
    margin-bottom:26px;
}
/* ---- Column 1 — brand ------------------------------------------------*/
.am-footer-logo-placeholder {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,.7);
    background: rgba(255,255,255,.08);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--am-footer-white);
    margin-bottom: 26px;
    transition: border-color .35s ease, background .35s ease;
    cursor: pointer; /* Added so users know it's interactive */
}

.am-footer-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--am-footer-white);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    font-weight: 700;
    color: var(--am-footer-bg);
    transition: border-color .35s ease, background .35s ease;
    object-fit: cover; /* Added to ensure the image stays perfectly circular */
}

/* FIX: The hover state is now applied to the parent container */
.am-footer-logo-placeholder:hover {
    border-color: var(--am-footer-white);
    background: rgba(255,255,255,.14);
}

.am-footer-brand-text {
    font-size: 20px;
    line-height: 1.8;
    color: var(--am-footer-muted);
    max-width: 280px;
}

/* ---- Date de identificare firmă --------------------------------------*/
.am-footer-company-details{
    margin-top:20px;
    max-width:280px;
}
.am-footer-company-details p{
    font-size:14px;
    line-height:1.7;
    color:var(--am-footer-muted);
}

/* ---- Column 2 — quick links -------------------------------------------*/
.am-footer-links-list li{
    margin-bottom:18px;
}
.am-footer-links-list a{
    position:relative;
    display:inline-block;
    color:var(--am-footer-text);
    text-decoration:none;
    font-size:19px;
    padding-bottom:4px;
    transition:transform .3s ease, color .3s ease;
}
.am-footer-links-list a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:0;
    width:0;
    height:1.5px;
    background:var(--am-footer-white);
    transition:width .3s ease;
}
.am-footer-links-list a:hover,
.am-footer-links-list a:focus-visible{
    transform:translateX(5px);
}
.am-footer-links-list a:hover::after,
.am-footer-links-list a:focus-visible::after{
    width:100%;
}

/* ---- Column 3 — legal (ANPC / SAL) -------------------------------------*/
.am-footer-legal-authorities{
    margin-top:22px;
    padding-top:20px;
    border-top:1px solid rgba(255,255,255,.12);
}
.am-footer-legal-authorities li{
    margin-bottom:12px;
}
.am-footer-legal-authorities a{
    color:var(--am-footer-muted);
    text-decoration:none;
    font-size:14px;
    line-height:1.5;
    transition:color .3s ease;
}
.am-footer-legal-authorities a:hover,
.am-footer-legal-authorities a:focus-visible{
    color:var(--am-footer-white);
}

/* ---- Column 4 — opening hours -------------------------------------------*/
.am-footer-hours-list li{
    display:flex;
    justify-content:space-between;
    gap:24px;
    font-size:15px;
    color:var(--am-footer-text);
    padding:9px 0;
    border-bottom:1px solid rgba(255,255,255,.08);
}
.am-footer-hours-list li:last-child{
    border-bottom:none;
}
.am-footer-hours-list li span:first-child{
    color:var(--am-footer-muted);
}
.am-footer-hours-list li span:last-child{
    font-weight:600;
    color:var(--am-footer-white);
}

/* ---- Column 5 — contact + social -------------------------------------------*/
.am-footer-contact-list li{
    display:flex;
    align-items:flex-start;
    gap:18px;
    font-size:19px;
    color:var(--am-footer-text);
    margin-bottom:22px;
    line-height:1.5;
}
.am-footer-contact-list li i{
    width:20px;
    margin-top:3px;
    font-size:18px;
    color:var(--am-footer-muted);
    flex-shrink:0;
}
/* Telefonul și e-mailul sunt linkuri (tel: / mailto:) ca să poată fi apăsate
   direct de pe mobil. Fără regula asta ar fi afișate cu albastrul implicit
   de browser, în loc de culorile subsolului. */
.am-footer-contact-list a{
    color:inherit;
    text-decoration:none;
    transition:color .3s ease;
}
.am-footer-contact-list a:hover,
.am-footer-contact-list a:focus-visible{
    color:var(--am-footer-white);
    text-decoration:underline;
}
.am-footer-contact-list a:focus-visible{
    outline:2px solid var(--am-footer-white);
    outline-offset:3px;
    border-radius:3px;
}

.am-footer-social{
    display:flex;
    gap:16px;
    margin-top:34px;
}

.am-footer-social-btn{
    width:58px;
    height:58px;
    border-radius:16px;
    border:2px solid rgba(255,255,255,.6);
    display:flex;
    align-items:center;
    justify-content:center;
    color:var(--am-footer-white);
    font-size:20px;
    text-decoration:none;
    transition:.35s ease;
}
.am-footer-social-btn:hover,
.am-footer-social-btn:focus-visible{
    background:var(--am-footer-white);
    color:var(--am-footer-bg);
    border-color:var(--am-footer-white);
    transform:translateY(-4px);
}
.am-footer-social-btn:focus-visible{
    outline:2px solid var(--am-footer-white);
    outline-offset:4px;
}

/* Iconița Facebook este acum un SVG inline, nu un glif Font Awesome.
   Motivul: `fa-brands` era folosit pentru o singură iconiță, dar obliga
   browserul să descarce un webfont de ~106 KB pe fiecare pagină.
   `1em` + `currentColor` reproduc exact comportamentul unui glif de text,
   deci dimensiunea și culoarea rămân neschimbate. */
.am-footer-social-btn svg,
.contact-social-btn svg{
    width:1em;
    height:1em;
    fill:currentColor;
    flex-shrink:0;
}

/* =================================================================
   DIVIDER + COPYRIGHT
================================================================== */
.am-footer-divider{
    height:1px;
    background:var(--am-footer-border);
    margin:80px 0 35px;
}

.am-footer-copyright{
    text-align:center;
    font-size:18px;
    color:var(--am-footer-muted);
}

/* Link-ul de credit din linia de copyright — mutat aici din inline
   style, ca să respectăm regula "fără CSS inline" din tot proiectul. */
.am-footer-credit-link{
    text-decoration:underline;
    color:inherit;
}

/* =================================================================
   RESPONSIVE
================================================================== */
@media (max-width:1300px){
    .am-footer-columns{
        grid-template-columns:repeat(3, 1fr);
        row-gap:64px;
    }
}

@media (max-width:900px){
    .am-footer-columns{
        grid-template-columns:repeat(2, 1fr);
    }
}

@media (max-width:768px){
    .am-footer-section{
        padding:100px 25px 40px;
    }
    .am-footer-columns{
        grid-template-columns:1fr;
        gap:56px;
        text-align:center;
    }
    .am-footer-buttons{
        flex-direction:column;
        align-items:stretch;
    }
    .am-footer-primary-btn,
    .am-footer-secondary-btn{
        width:100%;
        justify-content:center;
    }
    .am-footer-logo-placeholder{
        margin:0 auto 26px;
    }
    .am-footer-brand-text,
    .am-footer-company-details{
        max-width:100%;
        margin-left:auto;
        margin-right:auto;
    }
    .am-footer-hours-list li{
        justify-content:center;
        gap:14px;
    }
    .am-footer-contact-list li{
        justify-content:center;
        text-align:left;
    }
    .am-footer-social{
        justify-content:center;
    }
}

/* =================================================================
   ACCESSIBILITY
================================================================== */
@media (prefers-reduced-motion: reduce){
    .am-footer-cta,
    .am-footer-buttons,
    .am-footer-brand,
    .am-footer-links,
    .am-footer-legal,
    .am-footer-hours,
    .am-footer-contact{
        transition:none !important;
        opacity:1 !important;
        transform:none !important;
    }
}
/* =====================================================================
   COOKIE-CONSENT.CSS (Versiune optimizată și compactă)
   Adaptat pentru Ana Maria Bakery
   ===================================================================== */

.cookie-consent,
.cookie-consent *,
.floating-actions,
.cookie-trigger {
    box-sizing: border-box;
    font-family: "Special Gothic", sans-serif;
}

.cookie-consent {
    --amb-brown: #4a2e1f;
    --amb-brown-light: #8c6a58;
    --amb-bg: #faf8f5;
    --amb-border: #d8cec6;
    --amb-text: #3a3a3a;
    --amb-muted: #6f6a65;
    --amb-white: #ffffff;

    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100000;

    display: flex;
    justify-content: center;
    padding: 16px;

    opacity: 0;
    visibility: hidden;
    transform: translateY(30px);
    pointer-events: none;
    transition: opacity .45s ease, transform .45s ease, visibility 0s linear .45s;
}

.cookie-consent.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    transition: opacity .45s ease, transform .45s ease, visibility 0s linear 0s;
}

.cookie-consent__inner {
    width: 100%;
    max-width: 880px;
    max-height: 90vh; /* Nu va depăși niciodată 90% din înălțimea ecranului */
    display: flex;
    flex-direction: column;
    background: var(--amb-white);
    border-radius: 22px;
    box-shadow: 0 25px 60px rgba(74, 46, 31, .15);
    border: 1px solid var(--amb-border);
    overflow: hidden;
}

/* =====================================================================
   VEDERE PRINCIPALĂ
   ===================================================================== */
.cookie-consent__main {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 24px;
    flex-shrink: 0;
}

.cookie-consent__media {
    flex-shrink: 0;
    width: 65px;
    height: 65px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: radial-gradient(ellipse at 30% 30%, #cbb59e, #8c6a58 75%);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06), 0 6px 12px rgba(74, 46, 31, 0.1);
}

.cookie-consent__media-icon {
    font-size: 30px;
}

.cookie-consent__text h2 {
    font-family: "Ibarra Real Nova", serif;
    font-size: 19px;
    font-weight: 700;
    color: var(--amb-brown);
    margin: 0 0 6px 0;
}

.cookie-consent__text p {
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--amb-text);
    margin: 0;
}

.cookie-consent__text a {
    color: var(--amb-brown);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-consent__text a:hover {
    color: var(--amb-brown-light);
}

.cookie-consent__actions {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Butoane comune */
.cookie-btn {
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 700;
    padding: 11px 16px;
    border-radius: 10px;
    cursor: pointer;
    white-space: nowrap;
    transition: transform .3s ease, box-shadow .3s ease, background .3s ease, color .3s ease, border-color .3s ease;
}

.cookie-btn--ghost {
    background: transparent;
    color: var(--amb-muted);
    border: 1px solid transparent;
}

.cookie-btn--ghost:hover {
    color: var(--amb-brown);
    background: var(--amb-bg);
}

.cookie-btn--outline {
    background: transparent;
    color: var(--amb-brown);
    border: 1.5px solid var(--amb-border);
}

.cookie-btn--outline:hover {
    border-color: var(--amb-brown-light);
    background: var(--amb-bg);
}

.cookie-consent__actions .cookie-btn--outline[aria-expanded="true"] {
    border-color: var(--amb-brown-light);
    background: var(--amb-bg);
}

.cookie-btn--solid {
    background: var(--amb-brown);
    color: var(--amb-white);
    border: 1.5px solid var(--amb-brown);
}

.cookie-btn--solid:hover {
    background: var(--amb-brown-light);
    border-color: var(--amb-brown-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(74, 46, 31, .2);
}

/* =====================================================================
   PANOU EXTINS: CATEGORII GRANULARE (CU SCROLL INTERN)
   ===================================================================== */
.cookie-consent__preferences {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .4s ease;
    border-top: 1px solid transparent;
    overflow: hidden;
}

.cookie-consent__preferences.is-open {
    grid-template-rows: 1fr;
    border-top-color: var(--amb-border);
}

/* Containerul devine derulabil pe verticală când e deschis */
.cookie-consent__preferences-inner {
    overflow-y: auto;
    max-height: 52vh; /* Activează scroll-ul intern dacă listele sunt lungi */
    padding-right: 4px;
}

.cookie-consent__prefs-intro {
    font-size: 13.5px;
    color: var(--amb-muted);
    line-height: 1.5;
    margin: 16px 24px 12px;
}

.cookie-category {
    padding: 12px 24px;
    border-top: 1px solid rgba(0, 0, 0, .05);
}

.cookie-category:first-of-type {
    border-top: none;
}

.cookie-category__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 4px;
}

.cookie-category__heading {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.cookie-category__heading h3 {
    font-family: "Ibarra Real Nova", serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--amb-brown);
    margin: 0;
}

.cookie-category__badge {
    font-size: 10.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--amb-brown);
    background: var(--amb-bg);
    border: 1px solid var(--amb-border);
    padding: 2px 8px;
    border-radius: 12px;
}

.cookie-category > p {
    font-size: 13px;
    line-height: 1.5;
    color: var(--amb-muted);
    margin: 0 0 0 52px;
}

/* Comutator (switch) custom */
.cookie-switch {
    position: relative;
    display: inline-flex;
    flex-shrink: 0;
    cursor: pointer;
}

.cookie-switch input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.cookie-switch__track {
    width: 40px;
    height: 22px;
    background: var(--amb-border);
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    padding: 2px;
    transition: background .3s ease;
}

.cookie-switch__thumb {
    width: 18px;
    height: 18px;
    background: var(--amb-white);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .2);
    transition: transform .3s ease;
}

.cookie-switch input:checked + .cookie-switch__track {
    background: var(--amb-brown-light);
}

.cookie-switch input:checked + .cookie-switch__track .cookie-switch__thumb {
    transform: translateX(18px);
}

.cookie-switch input:disabled + .cookie-switch__track {
    background: #e8e3df;
    opacity: .8;
    cursor: not-allowed;
}

.cookie-consent__prefs-actions {
    padding: 16px 24px;
    display: flex;
    justify-content: flex-end;
    border-top: 1px solid rgba(0, 0, 0, .05);
    background: var(--amb-bg);
    position: sticky;
    bottom: 0;
}

/* =====================================================================
   BUTOANE FLOTANTE
   ===================================================================== */
.floating-actions {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.back-to-top,
.cookie-trigger {
    position: relative;
    left: auto;
    bottom: auto;
    display: grid;
    place-items: center;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(74, 46, 31, .2);
    transition: opacity .35s ease, transform .35s ease, box-shadow .3s ease, background .3s ease, color .3s ease;
}

.back-to-top {
    width: 44px;
    height: 44px;
    background-color: var(--amb-brown);
    color: var(--amb-white);
    border-radius: 50%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    pointer-events: none;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0px);
    pointer-events: auto;
}

.back-to-top:hover {
    background-color: var(--amb-brown-light);
}

.back-to-top__icon {
    display: block;
    width: 20px;
    height: 20px;
}

.cookie-trigger {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--amb-white);
    border: 1px solid var(--amb-border);
    padding: 0;
}

.cookie-trigger__image {
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.cookie-trigger:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(74, 46, 31, .25);
    background: var(--amb-bg);
}

.cookie-trigger[hidden] {
    display: none !important;
}

/* =====================================================================
   RESPONSIVE (TELEFOANE ȘI TABLETE)
   ===================================================================== */
@media (max-width: 860px) {
    .cookie-consent__main {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 18px 20px;
    }

    .cookie-consent__actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .cookie-btn {
        width: 100%;
        text-align: center;
    }

    .cookie-category > p {
        margin-left: 0;
        margin-top: 6px;
    }
}

@media (max-width: 600px) {
    .cookie-consent {
        padding: 10px;
    }

    .cookie-consent__inner {
        max-height: 95vh;
        border-radius: 20px;
    }

    .cookie-consent__preferences-inner {
        max-height: 45vh; /* Perfect pentru ecrane mici de telefon */
    }

    .floating-actions {
        right: 16px;
        bottom: 16px;
        gap: 10px;
    }

    .back-to-top,
    .cookie-trigger {
        width: 40px;
        height: 40px;
    }
}

/* =====================================================================
   ACCESIBILITATE
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
    .cookie-consent,
    .cookie-consent__preferences,
    .cookie-btn,
    .cookie-switch__thumb,
    .cookie-trigger {
        transition-duration: .12s !important;
    }
}
html, body {
    overflow-x: hidden;
    max-width: 100%;
}
/* =================================================================
   SPECIALITĂȚILE CASEI — badge "Special"
   Folosește paleta și rotunjimile deja existente pe carduri.
================================================================== */
.product-image-wrapper{
    position:relative;
}

.product-badge{
    position:absolute;
    top:16px;
    left:16px;
    z-index:2;
    display:inline-block;
    padding:8px 18px;
    border-radius:50px;
    background:rgba(51,35,20,.88);
    border:1.5px solid rgba(255,255,255,.5);
    color:#fff;
    font-size:15px;
    font-weight:500;
    letter-spacing:.4px;
    backdrop-filter:blur(6px);
    -webkit-backdrop-filter:blur(6px);
    box-shadow:0 8px 20px rgba(0,0,0,.18);
    transition:background var(--transition), border-color var(--transition);
}
.product-card:hover .product-badge{
    background:var(--gold);
    border-color:var(--gold);
}

/* =================================================================
   CE SERVIM NOI — stare de încărcare din baza de date
   Discretă: textul existent rămâne pe loc, doar se estompează ușor.
================================================================== */
.menu-grid.is-menu-loading{
    opacity:.55;
    transition:opacity .35s ease;
}
.menu-item-wrapper.menu-item-empty{
    display:none;
}

/* =================================================================
   STATUS PROGRAM (Deschis / Închis) — secțiunea de locație
================================================================== */
:root{
    --am-location-red:#c2452d;
}

.am-location-status .am-location-dot{
    transition:background .3s ease;
}
.am-location-status.is-open .am-location-dot{
    background:var(--am-location-green);
    box-shadow:0 0 0 4px rgba(183,212,59,.22);
}
.am-location-status.is-closed .am-location-dot{
    background:var(--am-location-red);
    box-shadow:0 0 0 4px rgba(194,69,45,.18);
}

/* =================================================================
   GALERIE — LIGHTBOX (un singur sistem de mărire)
   Se deschide la click pe imagine sau pe iconița de zoom.
================================================================== */
.gallery-item{
    cursor:pointer;
}
.gallery-item:focus-visible{
    outline:2px solid var(--gold);
    outline-offset:4px;
}

.gallery-lightbox{
    position:fixed;
    inset:0;
    /* peste bannerul de cookies (100000) și butoanele flotante (99999),
       fiind o fereastră modală deschisă intenționat de utilizator */
    z-index:100001;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:24px;
    background:rgba(18,12,8,.92);
    backdrop-filter:blur(6px);
    -webkit-backdrop-filter:blur(6px);
    opacity:0;
    visibility:hidden;
    transition:opacity .35s ease, visibility 0s linear .35s;
}
.gallery-lightbox.is-open{
    opacity:1;
    visibility:visible;
    transition:opacity .35s ease, visibility 0s linear 0s;
}

body.gallery-lightbox-open{
    overflow:hidden;
}

.gallery-lightbox__figure{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:16px;
    max-width:100%;
    margin:0;
    opacity:0;
    transform:translateY(10px) scale(.94);
    transition:opacity .4s ease, transform .45s cubic-bezier(.2,.8,.2,1);
}
.gallery-lightbox.is-open .gallery-lightbox__figure{
    opacity:1;
    transform:translateY(0) scale(1);
}

.gallery-lightbox__image{
    display:block;
    max-width:min(1100px, 88vw);
    max-height:76vh;
    width:auto;
    height:auto;
    object-fit:contain;
    border-radius:var(--radius);
    box-shadow:0 30px 80px rgba(0,0,0,.55);
}

.gallery-lightbox__caption{
    max-width:min(1100px, 88vw);
    text-align:center;
    font-size:16px;
    letter-spacing:.3px;
    color:rgba(255,255,255,.82);
}

.gallery-lightbox__close,
.gallery-lightbox__nav{
    position:absolute;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0;
    background:rgba(255,255,255,.08);
    border:1.5px solid rgba(255,255,255,.4);
    border-radius:50%;
    color:var(--white);
    line-height:1;
    cursor:pointer;
    transition:background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}
.gallery-lightbox__close:hover,
.gallery-lightbox__nav:hover,
.gallery-lightbox__close:focus-visible,
.gallery-lightbox__nav:focus-visible{
    background:var(--white);
    color:var(--brown-900);
    border-color:var(--white);
}
.gallery-lightbox__close:focus-visible,
.gallery-lightbox__nav:focus-visible{
    outline:2px solid var(--gold);
    outline-offset:3px;
}

.gallery-lightbox__close{
    top:26px;
    right:26px;
    width:52px;
    height:52px;
    font-size:26px;
}

.gallery-lightbox__nav{
    top:50%;
    width:56px;
    height:56px;
    font-size:30px;
    transform:translateY(-50%);
}
.gallery-lightbox__prev{ left:26px; }
.gallery-lightbox__next{ right:26px; }

.gallery-lightbox__nav:hover{
    transform:translateY(-50%) scale(1.06);
}

@media (max-width:960px){
    .gallery-lightbox{ padding:16px; }
    .gallery-lightbox__image{ max-height:68vh; }
    .gallery-lightbox__nav{
        width:46px;
        height:46px;
        font-size:26px;
    }
    .gallery-lightbox__prev{ left:12px; }
    .gallery-lightbox__next{ right:12px; }
    .gallery-lightbox__close{
        top:14px;
        right:14px;
        width:46px;
        height:46px;
        font-size:23px;
    }
}

@media (max-width:560px){
    .gallery-lightbox__image{
        max-width:92vw;
        max-height:64vh;
    }
    .gallery-lightbox__caption{ font-size:14px; }
    /* Săgețile coboară sub imagine, ca să nu acopere fotografia pe ecrane mici */
    .gallery-lightbox__nav{
        top:auto;
        bottom:26px;
        transform:none;
    }
    .gallery-lightbox__nav:hover{ transform:scale(1.06); }
    .gallery-lightbox__prev{ left:22%; }
    .gallery-lightbox__next{ right:22%; }
}

@media (prefers-reduced-motion: reduce){
    .gallery-lightbox,
    .gallery-lightbox__figure,
    .gallery-lightbox__close,
    .gallery-lightbox__nav{
        transition-duration:.01ms !important;
    }
    .gallery-lightbox__figure{
        transform:none !important;
    }
}
