:root {
  --ocra: #c4862a;
  --ocra-light: #e8a83e;
  --bordeaux: #7a1628;
  --bordeaux-light: #9b2035;
  --terracotta: #c4713a;
  --cream: #faf5ee;
  --warm-white: #f5ede0;
  --bg: #fdf8f2;
  --dark: #1e1208;
  --text: #3a2a18;
  --text-light: #7a6550;
  --border: rgba(196, 134, 42, 0.25);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

/* TOPBAR */
.topbar {
  background: var(--bordeaux);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-align: center;
  padding: 0.45rem 1rem;
}

.topbar a {
  color: var(--ocra-light);
  text-decoration: none;
}

/* NAV */
nav {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--cream);
  border-bottom: 2px solid var(--ocra);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  cursor: pointer;
}

.nav-logo img {
  width: 58px;
  height: auto;
}

.nav-logo-text .name {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--bordeaux);
  display: block;
}

.nav-logo-text .sub {
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ocra);
  display: block;
}

.nav-links {
  display: flex;
  gap: 0;
  list-style: none;
}

.nav-links a {
  display: block;
  color: var(--text);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.6rem 0.95rem;
  text-decoration: none;
  transition: color 0.25s;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.2rem;
  width: 62%;
  height: 3px;
  background: var(--bordeaux);
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 0.25s;
}

/* Hover: testo invariato + trattino visibile */
.nav-links a:hover {
  color: var(--text);
}

.nav-links a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

/* Voce attiva: testo bordeaux + trattino fisso */
.nav-links a.active,
.nav-links .current-menu-item > a,
.nav-links .current_page_item > a,
.nav-links .current-menu-ancestor > a {
  color: var(--bordeaux);
}

.nav-links a.active::after,
.nav-links .current-menu-item > a::after,
.nav-links .current_page_item > a::after,
.nav-links .current-menu-ancestor > a::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-cart {
  background: var(--bordeaux);
  color: white;
  border: none;
  padding: 0.6rem 1.3rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s;
  position: relative;
}

.nav-cart:hover {
  background: var(--bordeaux-light);
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--ocra);
  color: white;
  font-size: 0.6rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* PAGES */
.page {
  display: none;
  min-height: 80vh;
}

.page.active {
  display: block;
}

/* HERO */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 88vh;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(20, 20, 20, 0.68) 0%,
    rgba(120, 120, 120, 0.35) 60%,
    transparent 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
  width: 100%;
}

.hero-badge {
  display: inline-block;
  background: var(--ocra);
  color: white;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 0.4rem 1.2rem;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
  color: white;
  margin-bottom: 1rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.hero-title em {
  font-style: italic;
  color: var(--ocra-light);
}

.hero-sub {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  max-width: 500px;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-main {
  background: var(--bordeaux);
  color: white;
  border: none;
  padding: 0.9rem 2.2rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
  display: inline-block;
}

.btn-main:hover {
  background: var(--bordeaux-light);
  transform: translateY(-2px);
}

.btn-outline-w {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.6);
  padding: 0.9rem 2.2rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
  display: inline-block;
}

.btn-outline-w:hover {
  border-color: white;
  background: rgba(255, 255, 255, 0.1);
}

/* STATS */
.stats-strip {
  background: var(--bordeaux);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.stat-item {
  padding: 1.8rem 3rem;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-item:last-child {
  border-right: none;
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--ocra-light);
  display: block;
  line-height: 1;
}

.stat-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.3rem;
  display: block;
}

/* SECTION UTILS */
.sec-header {
  text-align: center;
  margin-bottom: 3rem;
}

.sec-tag {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ocra);
  margin-bottom: 0.7rem;
  display: block;
}

.sec-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--dark);
}

.sec-title em {
  font-style: italic;
  color: var(--bordeaux);
}

.sec-line {
  width: 50px;
  height: 2px;
  background: var(--ocra);
  margin: 1.2rem auto 0;
}

/* HOME CATS */
.home-cats {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.cats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.cat-card {
  border: 1px solid var(--border);
  background: white;
  cursor: pointer;
  transition: all 0.3s;
  overflow: hidden;
}

.cat-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
  border-color: var(--ocra);
}

.cat-img {
  height: 200px;
  overflow: hidden;
  background: var(--warm-white);
}

.cat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.cat-card:hover .cat-img img {
  transform: scale(1.05);
}

.cat-body {
  padding: 1.5rem;
}

.cat-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--dark);
  margin-bottom: 0.4rem;
}

.cat-desc {
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 0.8rem;
}

.cat-link {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bordeaux);
  font-weight: 700;
}

/* ABOUT STRIP */
.about-strip {
  background: var(--warm-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-strip-img {
  height: 420px;
  overflow: hidden;
  border: 3px solid var(--ocra);
}

.about-strip-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-strip-text .sec-header {
  text-align: left;
}

.about-strip-text .sec-line {
  margin: 1.2rem 0 0;
}

.about-strip-text p {
  font-size: 0.9rem;
  line-height: 2;
  color: var(--text-light);
  margin-top: 1.5rem;
}

.about-strip-text .btn-main {
  margin-top: 2rem;
}

/* PAGE HEADER */
.page-header {
  background: var(--bordeaux);
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 400;
  color: white;
  position: relative;
}

.page-header h1 em {
  font-style: italic;
  color: var(--ocra-light);
}

.page-header p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-top: 0.8rem;
  position: relative;
}

/* CHI SIAMO */
.chi-siamo-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.chi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}

.chi-grid.reverse {
  direction: rtl;
}

.chi-grid.reverse > * {
  direction: ltr;
}

.chi-img {
  overflow: hidden;
  border: 3px solid var(--ocra);
}

.chi-img img {
  width: 100%;
  height: 380px;
  object-fit: cover;
display: block;	
}

.chi-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 1.5rem;
}

.chi-text h2 em {
  font-style: italic;
  color: var(--bordeaux);
}

.chi-text p {
  font-size: 0.88rem;
  line-height: 2.1;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.values-strip {
  background: var(--warm-white);
  padding: 4rem 2rem;
  border-top: 1px solid var(--border);
}

.values-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 220px));
  justify-content: center;
  gap: 4rem;
  margin-top: 3rem;
}

.value-item {
  text-align: center;
}

.value-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.value-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.value-desc {
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* PRODOTTI */
.prodotti-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.prod-category {
  margin-bottom: 3.5rem;
}

.prod-cat-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--dark);
  padding-bottom: 0.8rem;
  border-bottom: 2px solid var(--ocra);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.prod-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.prod-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: white;
  border: 1px solid var(--border);
  padding: 1rem 1.2rem;
  transition: all 0.25s;
  cursor: pointer;
}

.prod-item:hover {
  border-color: var(--ocra);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transform: translateX(4px);
}

.prod-thumb {
  width: 80px;
  height: 70px;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--warm-white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.prod-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prod-thumb .p-icon {
  font-size: 2rem;
}

.prod-info {
  flex: 1;
}

.prod-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.prod-detail {
  font-size: 0.75rem;
  color: var(--text-light);
  line-height: 1.5;
}

.prod-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--bordeaux);
  font-weight: 600;
  text-align: right;
  flex-shrink: 0;
}

.prod-price small {
  display: block;
  font-size: 0.6rem;
  color: var(--text-light);
  font-family: 'Lato', sans-serif;
}

.add-btn {
  background: var(--bordeaux);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: 'Lato', sans-serif;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s;
}

.add-btn:hover {
  background: var(--bordeaux-light);
}

/* SHOP */
.shop-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.shop-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-light);
  padding: 0.45rem 1rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--bordeaux);
  border-color: var(--bordeaux);
  color: white;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.shop-card {
  background: white;
  border: 1px solid var(--border);
  transition: all 0.25s;
  overflow: hidden;
  cursor: pointer;
}

.shop-card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
  border-color: var(--ocra);
}

.shop-img {
  height: 220px;
  overflow: hidden;
  background: var(--warm-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
}

.shop-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-badge {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  background: var(--bordeaux);
  color: white;
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
}

.shop-body {
  padding: 1rem;
}

.shop-region {
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ocra);
  margin-bottom: 0.3rem;
}

.shop-name {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  color: var(--dark);
  margin-bottom: 0.3rem;
  line-height: 1.3;
}

.shop-vintage {
  font-size: 0.7rem;
  color: var(--text-light);
  margin-bottom: 0.8rem;
}

.shop-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.7rem;
  border-top: 1px solid var(--border);
}

.shop-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--bordeaux);
  font-weight: 600;
}

/* EVENTI */
.eventi-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.event-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 2rem;
  background: white;
  border: 1px solid var(--border);
  padding: 1.5rem;
  margin-bottom: 1.2rem;
  transition: all 0.25s;
}

.event-card:hover {
  border-color: var(--ocra);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.event-date {
  background: var(--bordeaux);
  color: white;
  text-align: center;
  padding: 1rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.event-day {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}

.event-month {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 0.2rem;
  color: var(--ocra-light);
}

.event-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.event-desc {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.event-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.7rem;
  color: var(--text-light);
}

/* CONTATTI */
.contatti-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.contatti-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-box {
  background: white;
  border: 1px solid var(--border);
  padding: 2rem;
}

.contact-box h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--dark);
  margin-bottom: 1.5rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid var(--ocra);
}

.contact-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.2rem;
}

.contact-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.contact-info .label {
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ocra);
  margin-bottom: 0.2rem;
}

.contact-info .value {
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.6;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field label {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
}

.form-field input,
.form-field textarea,
.form-field select {
  border: 1px solid var(--border);
  background: var(--warm-white);
  padding: 0.7rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.82rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--ocra);
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
}

/* MAPPA SECTION */
.mappa-section {
  background: var(--warm-white);
  border-top: 1px solid var(--border);
  padding: 4rem 2rem;
  margin-top: 3rem;
}

.mappa-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.mappa-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
  align-items: start;
}

.mappa-foto {
  overflow: hidden;
  border: 3px solid var(--ocra);
}

.mappa-foto img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.mappa-map-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.map-embed {
  width: 100%;
  height: 320px;
  border: 2px solid var(--ocra);
  overflow: hidden;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.map-pins {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: 0.5rem;
}

.map-pin {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: white;
  border: 1px solid var(--border);
  padding: 0.7rem 1rem;
}

.map-pin .icon {
  font-size: 1.2rem;
}

.map-pin-text .title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--dark);
}

.map-pin-text .addr {
  font-size: 0.72rem;
  color: var(--text-light);
}

/* CART OVERLAY */
.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
}

.cart-overlay.open {
  display: flex;
}

.cart-backdrop {
  flex: 1;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.cart-panel {
  width: 400px;
  background: var(--cream);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
}

.cart-header {
  background: var(--bordeaux);
  color: white;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
}

.cart-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

.cart-body {
  flex: 1;
  padding: 1.5rem;
}

.cart-entry {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.cart-entry-icon {
  font-size: 2rem;
  width: 50px;
  text-align: center;
}

.cart-entry-name {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  color: var(--dark);
  flex: 1;
}

.cart-entry-price {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--bordeaux);
  font-weight: 600;
}

.cart-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
}

.cart-total span:last-child {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--bordeaux);
}

.checkout-btn {
  width: 100%;
  background: var(--bordeaux);
  color: white;
  border: none;
  padding: 1rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s;
}

.checkout-btn:hover {
  background: var(--bordeaux-light);
}

/* FOOTER */
footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.65);
  padding: 3.5rem 2rem 1.5rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--ocra-light);
  margin-bottom: 0.8rem;
}

.footer-desc {
  font-size: 0.75rem;
  line-height: 1.9;
}

.footer-col h4 {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ocra);
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--ocra-light);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* TOAST */
#toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--bordeaux);
  color: white;
  padding: 0.9rem 1.5rem;
  font-size: 0.78rem;
  z-index: 9999;
  border-left: 4px solid var(--ocra);
  transform: translateX(200%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

#toast.show {
  transform: translateX(0);
}

@media(max-width:900px) {
  .nav-links {
    display: none;
  }

  .cats-grid,
  .shop-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .chi-grid,
  .contatti-grid,
  .about-strip-inner,
  .mappa-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Statistiche home incolonnate e centrate su mobile */
  .stats-strip {
    flex-direction: column;
    align-items: stretch;
  }

  .stat-item {
    width: 100%;
    padding: 2rem 1.5rem;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .stat-item:last-child {
    border-bottom: none;
  }
}

.hero img {
  filter: brightness(0.7);
}

/* WP override */
.page {
  display: block !important;
}

/* ==============================
   MENU HAMBURGER MOBILE
   ============================== */

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: none;
  background: var(--bordeaux);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease;
}

.nav-toggle:hover {
  background: var(--bordeaux-light);
}

@media (max-width: 900px) {
  .nav-inner {
    position: relative;
    gap: 0.8rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 0.7rem);
    left: -2rem;
    right: -2rem;
    z-index: 999;
    flex-direction: column;
    background: var(--cream);
    border-top: 2px solid var(--ocra);
    border-bottom: 2px solid var(--ocra);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
    padding: 0.5rem 0;
  }

  nav.mobile-open .nav-links {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    width: 100%;
    padding: 0.95rem 1.2rem;
    text-align: center;
  }

  .nav-links a::after {
    bottom: 0.35rem;
    width: 42px;
  }

  .nav-cart {
    padding: 0.6rem 1rem;
  }
}

/* =========================================
   FIX MOBILE - Eventi, Prodotti, Contatti
   ========================================= */

@media (max-width: 900px) {

  /* ---------- EVENTI ---------- */

  .eventi-content {
    padding: 3rem 1.2rem;
  }

  .event-card {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    padding: 1.2rem;
  }

  .event-date {
    width: 100%;
    min-height: auto;
    padding: 1rem;
  }

  .event-meta {
    flex-direction: column;
    gap: 0.5rem;
    line-height: 1.5;
  }

  .event-title,
  .event-desc,
  .event-meta {
    overflow-wrap: break-word;
    word-break: normal;
  }


  /* ---------- PRODOTTI ---------- */

  .prodotti-content {
    padding: 3rem 1.2rem;
  }

  .prod-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem;
  }

  .prod-thumb {
    width: 100%;
    height: 170px;
  }

  .prod-info {
    width: 100%;
    min-width: 0;
  }

  .prod-name,
  .prod-detail {
    overflow-wrap: break-word;
  }

  .prod-price {
    width: 100%;
    text-align: left;
  }

  .add-btn {
    width: 100%;
    text-align: center;
    padding: 0.8rem 1rem;
  }


  /* ---------- CONTATTI ---------- */

  .contatti-content {
    padding: 3rem 1.2rem;
  }

  .contatti-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-box {
    width: 100%;
    max-width: 100%;
    padding: 1.3rem;
    overflow: hidden;
  }

  .contact-row {
    width: 100%;
    min-width: 0;
  }

  .contact-info {
    min-width: 0;
  }

  .contact-info .value {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

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

  .form-field,
  .form-field input,
  .form-field textarea,
  .form-field select {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
}

/* =========================================
   FIX MOBILE - Contatti: niente sfondamento a destra
   ========================================= */

@media (max-width: 900px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .contatti-content,
  .contatti-grid,
  .contact-box,
  .contact-form,
  .form-row,
  .form-field {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .contact-box {
    overflow: hidden !important;
  }

  .contact-row,
  .contact-info {
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .contact-info .value,
  .contact-info .value a {
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }

  .form-field input,
  .form-field textarea,
  .form-field select,
  .contact-form input,
  .contact-form textarea,
  .contact-form select {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
}

/* =====================================================
   SHOP GIFT CARD - ANTEPRIMA COMING SOON
   ===================================================== */

.gift-shop-page {
  background: var(--bg);
  padding: 5rem 2rem;
}

.gift-shop-header {
  max-width: 850px;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.gift-shop-header p {
  max-width: 680px;
  margin: 1.5rem auto 0;
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.9;
}

.gift-shop-preview {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  min-height: 900px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--warm-white);
  box-shadow: 0 15px 45px rgba(30, 18, 8, 0.1);
}

/* Contenuto visibile ma non utilizzabile */
.gift-shop-disabled {
  padding: 3rem;
  opacity: 0.47;
  filter: grayscale(18%);
  pointer-events: none;
  user-select: none;
}

.gift-step {
  margin-bottom: 4rem;
}

.gift-step-heading {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.gift-step-number {
  display: flex;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  align-items: center;
  justify-content: center;
  background: var(--bordeaux);
  color: white;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
}

.gift-step-label {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--ocra);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.gift-step-heading h2 {
  margin: 0;
  color: var(--dark);
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 400;
}

/* Gift Card */
.gift-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.gift-card-option {
  display: block;
  position: relative;
  padding: 0.8rem;
  background: white;
  border: 1px solid var(--border);
}

.gift-card-option input {
  position: absolute;
  opacity: 0;
}

.gift-card-image {
  display: block;
  overflow: hidden;
  aspect-ratio:  4/ 3;
  background: var(--cream);
}

.gift-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gift-card-name {
  display: block;
  padding: 0.9rem 0.4rem 0.3rem;
  color: var(--dark);
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  text-align: center;
}

/* Importi */
.gift-amount-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.8rem;
}

.gift-amount {
  position: relative;
}

.gift-amount input {
  position: absolute;
  opacity: 0;
}

.gift-amount span {
  display: block;
  padding: 1rem 0.5rem;
  background: white;
  border: 1px solid var(--border);
  color: var(--bordeaux);
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 600;
  text-align: center;
}

/* Dedica */
.gift-message-area {
  padding: 1.5rem;
  background: white;
  border: 1px solid var(--border);
}

.gift-message-area label {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--text-light);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.gift-message-area textarea {
  display: block;
  width: 100%;
  min-height: 150px;
  padding: 1rem;
  resize: vertical;
  background: var(--warm-white);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  line-height: 1.7;
  box-sizing: border-box;
}

.gift-message-counter {
  display: block;
  margin-top: 0.6rem;
  color: var(--text-light);
  font-size: 0.68rem;
  text-align: right;
}

/* Riepilogo */
.gift-order-summary {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem;
  background: white;
  border-top: 3px solid var(--ocra);
}

.gift-order-summary strong {
  display: block;
  margin-top: 0.25rem;
  color: var(--bordeaux);
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
}

.gift-summary-label {
  color: var(--text-light);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.gift-submit {
  padding: 1rem 1.8rem;
  background: var(--bordeaux);
  border: 0;
  color: white;
  font-family: 'Lato', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Overlay */
.gift-coming-overlay {
  display: flex;
  position: absolute;
  inset: 0;
  z-index: 10;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background:
    linear-gradient(
      135deg,
      rgba(122, 22, 40, 0.48),
      rgba(30, 18, 8, 0.36)
    );
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  pointer-events: all;
}

.gift-coming-card {
  width: min(680px, 100%);
  padding: 4rem 3rem;
  text-align: center;
  background: rgba(250, 245, 238, 0.88);
  border: 1px solid rgba(196, 134, 42, 0.65);
  box-shadow: 0 24px 65px rgba(30, 18, 8, 0.3);
}

.gift-coming-small {
  display: block;
  color: var(--ocra);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.25em;
}

.gift-coming-card h2 {
  margin: 1rem 0;
  color: var(--bordeaux);
  font-family: 'Playfair Display', serif;
  font-size: clamp(3.2rem, 7vw, 6rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1;
}

.gift-coming-line {
  width: 75px;
  height: 2px;
  margin: 1.5rem auto;
  background: var(--ocra);
}

.gift-coming-card p {
  max-width: 520px;
  margin: 0 auto;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.9;
}

.gift-coming-note {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.65rem 1.2rem;
  background: var(--bordeaux);
  color: white;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Tablet */
@media (max-width: 900px) {
  .gift-shop-page {
    padding: 3.5rem 1.2rem;
  }

  .gift-shop-disabled {
    padding: 1.5rem;
  }

  .gift-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gift-amount-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gift-order-summary {
    grid-template-columns: 1fr 1fr;
  }

  .gift-submit {
    grid-column: 1 / -1;
    width: 100%;
  }
}

/* Smartphone */
@media (max-width: 560px) {
  .gift-shop-page {
    padding: 3rem 0.8rem;
  }

  .gift-shop-header {
    margin-bottom: 2rem;
  }

  .gift-shop-header .sec-title {
    font-size: 2rem;
  }

  .gift-shop-preview {
    min-height: 1100px;
  }

  .gift-shop-disabled {
    padding: 1rem;
  }

  .gift-step-heading {
    gap: 0.8rem;
  }

  .gift-step-number {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
    font-size: 1rem;
  }

  .gift-step-heading h2 {
    font-size: 1.35rem;
  }

  .gift-card-grid {
    grid-template-columns: 1fr;
  }

  .gift-amount-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gift-order-summary {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .gift-coming-overlay {
    padding: 1rem;
  }

  .gift-coming-card {
    padding: 2.5rem 1.3rem;
  }

  .gift-coming-card h2 {
    font-size: 3.6rem;
  }

  .gift-coming-card p {
    font-size: 0.85rem;
  }
}

/* =====================================================
   SHOP GIFT CARD - CORREZIONI LAYOUT
   ===================================================== */

/* Fascia Shop: stessa altezza delle altre pagine */
.page-header.gift-shop-title {
  padding: 3.8rem 2rem !important;
}

.page-header.gift-shop-title h1 {
  margin: 0;
  color: white;
}

.page-header.gift-shop-title h1 em {
  color: var(--ocra-light);
}

.page-header.gift-shop-title p {
  max-width: 720px;
  margin: 0.8rem auto 0;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

/* Contenuto della pagina */
.gift-shop-page {
  width: 100%;
  padding: 3rem 2rem 5rem;
}

/* Area Gift Card estesa su desktop */
.gift-shop-preview {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
}

/* Contenuto sottostante visibile ma disabilitato */
.gift-shop-disabled {
  opacity: 0.78;
  filter: grayscale(8%);
}

/* Gift Card: regole finali da mantenere */
.gift-card-grid {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  align-items: center !important;
  gap: 1rem !important;
  width: 100% !important;
}

.gift-card-option {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  aspect-ratio: 4 / 3 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  overflow: visible !important;
}

.gift-card-image {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  overflow: visible !important;
}

.gift-card-option img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: contain !important;
  transform-origin: center !important;
}

.gift-card-name {
  display: none;
}

/* Riduce leggermente le tre card natalizie */
.gift-card-option:nth-child(3) img,
.gift-card-option:nth-child(4) img,
.gift-card-option:nth-child(5) img {
  transform: scale(0.92) !important;
}

/* Overlay Gift Card più trasparente */
.gift-shop-preview .gift-coming-overlay {
  align-items: flex-start !important;
  padding-top: 28rem !important;
  background: rgba(70, 70, 70, 0.10) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Riquadro Coming Soon leggermente trasparente */
.gift-coming-card {
  background: rgba(250, 245, 238, 0.84);
}

/* Tablet e schermi medi */
@media (max-width: 1100px) {
  .gift-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

/* Tablet piccoli e smartphone */
@media (max-width: 750px) {
  .page-header.gift-shop-title {
    padding: 3rem 1.2rem !important;
  }

  .page-header.gift-shop-title p br {
    display: none;
  }

  .gift-shop-page {
    padding: 2rem 1rem 4rem;
  }

  .gift-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .gift-shop-preview .gift-coming-overlay {
    padding-top: 20rem !important;
  }
}

/* Smartphone stretti */
@media (max-width: 500px) {
  .gift-card-grid {
    grid-template-columns: 1fr !important;
  }
}
