:root {
  --tomato: #D94F30;
  --sage: #6A8D73;
  --beige: #F4E9D8;
  --ink: #2F2F2F;
  --border-radius: 18px;
  --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--beige);
  color: var(--ink);
  line-height: 1.6;
}

.legal-page {
  background: #fff;
}

.legal-page .legal-card {
  background: #fff;
  color: var(--ink);
  border: 1px solid rgba(47, 47, 47, 0.08);
  border-radius: var(--border-radius);
  box-shadow: 0 18px 50px rgba(47, 47, 47, 0.08);
}

.legal-page .legal-card h1 {
  color: var(--ink);
}

.legal-home-link {
  display: inline-flex;
  margin-bottom: 1.25rem;
  color: var(--tomato) !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  text-decoration: none;
}

.legal-home-link:hover,
.legal-home-link:focus-visible {
  color: var(--sage) !important;
  text-decoration: underline;
}

img:not(.navbar-logo):not(.footer-logo) { cursor: zoom-in; }
.back-to-top { position: fixed; right: 22px; bottom: 22px; z-index: 1070; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--tomato); color: #fff; font-size: 1.35rem; line-height: 1; box-shadow: 0 8px 22px rgba(47, 47, 47, 0.22); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease, background-color 180ms ease; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover, .back-to-top:focus-visible { background: var(--sage); }
.image-lightbox { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 60px 24px; background: rgba(25, 25, 22, .88); opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.image-lightbox.is-open { opacity: 1; pointer-events: auto; }
.image-lightbox-image { max-width: min(92vw, 1100px); max-height: 84vh; object-fit: contain; cursor: zoom-in; transition: transform .15s ease; box-shadow: 0 20px 70px rgba(0,0,0,.4); }
.image-lightbox-close { position: absolute; top: 18px; right: 24px; border: 0; background: transparent; color: #fff; font-size: 2.5rem; line-height: 1; }
.image-lightbox-toolbar { position: absolute; bottom: 20px; display: flex; gap: 8px; }
.image-lightbox-toolbar button { min-width: 42px; border: 1px solid rgba(255,255,255,.5); background: rgba(255,255,255,.12); color: #fff; padding: 8px 12px; }

.category-menu-toggle {
  position: fixed;
  top: 50%;
  left: 0;
  z-index: 1100;
  width: 48px;
  height: 76px;
  border: 0;
  border-radius: 0 12px 12px 0;
  background: var(--tomato);
  color: #fff;
  box-shadow: 4px 8px 18px rgba(47, 47, 47, 0.22);
  font-size: 1.5rem;
  transition: left 0.25s ease, background-color 0.25s ease;
}

.category-menu-toggle:hover,
.category-menu-toggle:focus-visible {
  background: var(--sage);
}

.category-menu {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1090;
  width: min(290px, 82vw);
  height: 100vh;
  padding: 42px 24px;
  background: #fff7e8;
  border-right: 8px solid var(--tomato);
  box-shadow: 8px 0 28px rgba(47, 47, 47, 0.22);
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.25s ease;
}

.category-menu.is-open {
  transform: translateX(0);
}

.category-menu-header {
  margin-bottom: 24px;
}

.category-menu-kicker {
  color: var(--tomato);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.category-menu h2 {
  margin: 2px 0 0;
  color: var(--ink);
  font-size: 2rem;
}

.category-menu-links {
  display: grid;
  gap: 8px;
}

.category-menu-links a {
  padding: 10px 12px;
  border-left: 4px solid transparent;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.category-menu-group summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 12px;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-left: 4px solid transparent;
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
  list-style: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.category-menu-group summary::-webkit-details-marker {
  display: none;
}

.category-menu-group summary::after {
  content: '+';
  color: var(--tomato);
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  text-align: center;
}

.category-menu-group[open] summary::after {
  content: '-';
}

.category-menu-group summary:hover,
.category-menu-group summary:focus-visible,
.category-menu-group summary.is-active {
  border-left-color: var(--tomato);
  background: #e4f0e2;
  color: var(--tomato);
}

.category-recipe-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: rgba(217, 79, 48, 0.1);
  color: var(--tomato);
  font-size: 0.72rem;
  font-family: 'Inter', sans-serif;
}

.category-submenu {
  display: grid;
  gap: 5px;
  padding: 6px 0 10px;
}

.category-submenu a {
  margin-left: 0;
  padding: 8px 12px;
  border-left-width: 4px;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.25;
}

.recipe-archive-link {
  background: rgba(228, 240, 226, 0.45);
}

.category-overview {
  color: var(--sage) !important;
}

.category-menu-links a:hover,
.category-menu-links a:focus-visible,
.category-menu-links a.is-active {
  border-left-color: var(--tomato);
  background: #e4f0e2;
  color: var(--tomato);
}

.category-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1080;
  display: none;
  background: rgba(47, 47, 47, 0.38);
}

.category-menu-backdrop.is-visible {
  display: block;
}

body.menu-open {
  overflow: hidden;
}

body.menu-open .category-menu-toggle {
  left: min(290px, 82vw);
}

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

.bg-tomato {
  background-color: var(--tomato);
}

.bg-sage {
  background-color: var(--sage);
}

.bg-beige {
  background-color: var(--beige);
}

.text-tomato {
  color: var(--tomato);
}

.text-sage {
  color: var(--sage);
}

/* Fade-in Animation */

.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s forwards ease-out;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Navbar */

.custom-navbar {
  background: linear-gradient(180deg, #f4e9d8 0%, #f7efe3 56%, rgba(247, 239, 227, 0.18) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
  z-index: 1050;
}

.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  color: var(--ink) !important;
  letter-spacing: -0.02em;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin: 0 !important;
  padding: 0 !important;
}

.navbar-logo {
  height: 120px;
  width: auto;
  display: block;
}

.footer-logo {
  height: 60px;
  width: auto;
  display: block;
}

.custom-navbar .container-fluid {
  min-height: 130px;
  position: relative;
}

.nav-pill-custom {
  background-color: var(--ink);
  color: #fff !important;
  border-radius: 50px;
  padding: 8px 20px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.nav-pill-custom:hover {
  background-color: var(--tomato);
  transform: translateY(-2px);
}

.nav-pill-outline {
  background-color: transparent;
  color: var(--ink) !important;
  border: 1px solid var(--ink);
}

.weather-gadget {
  background: rgba(255, 255, 255, 0.6);
  padding: 8px 18px;
  border-radius: 50px;
  border: 1px solid rgba(0,0,0,0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  min-width: 100px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  justify-content: center;
}

.weather-content {
  display: grid;
  gap: 3px;
  justify-items: center;
  text-align: center;
}

.header-support-link {
  color: var(--tomato);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  max-width: 100%;
  font-size: 0.68rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.header-support-link:hover {
  color: #a63822;
  text-decoration: underline;
}

.support-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #fff3df;
  color: var(--tomato);
  font-size: 1.05rem;
  line-height: 1;
  box-shadow: 0 4px 12px rgba(217, 79, 48, 0.18);
}

/* Hero */

.hero-section {
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)), var(--recipe-image, url('../../assets/img/sfondo.png'));
  background-size: cover;
  background-position: center;
  color: #fff;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-overlay::before,
.hero-overlay::after {
  content: '';
  position: absolute;
  inset: 18% 6% 0;
  opacity: 0;
  background:
    radial-gradient(ellipse at 18% 82%, rgba(255, 255, 255, 0.34) 0 8%, transparent 26%),
    radial-gradient(ellipse at 44% 74%, rgba(255, 255, 255, 0.28) 0 9%, transparent 28%),
    radial-gradient(ellipse at 68% 84%, rgba(255, 255, 255, 0.26) 0 8%, transparent 25%),
    radial-gradient(ellipse at 84% 76%, rgba(255, 255, 255, 0.22) 0 7%, transparent 24%);
  filter: blur(18px);
  transform: translate3d(0, 28px, 0) scale(1.04);
  mix-blend-mode: screen;
}

.hero-overlay::after {
  inset: 24% -4% 0;
  background:
    radial-gradient(ellipse at 30% 88%, rgba(255, 255, 255, 0.24) 0 7%, transparent 24%),
    radial-gradient(ellipse at 56% 80%, rgba(255, 255, 255, 0.2) 0 8%, transparent 26%),
    radial-gradient(ellipse at 76% 90%, rgba(255, 255, 255, 0.22) 0 7%, transparent 24%);
  filter: blur(24px);
}

.steam-active .hero-overlay::before {
  animation: heroSteam 6.5s ease-out forwards;
}

.steam-active .hero-overlay::after {
  animation: heroSteamDrift 6.5s 0.35s ease-out forwards;
}

.steam-effect {
  position: absolute;
  left: 50%;
  bottom: 9%;
  z-index: 1;
  width: min(760px, 92vw);
  height: 48vh;
  transform: translateX(-50%);
  pointer-events: none;
  overflow: visible;
}

.steam-effect span {
  position: absolute;
  bottom: 0;
  width: 130px;
  height: 260px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0));
  filter: blur(17px);
  opacity: 0;
  transform: translate3d(0, 60px, 0) rotate(9deg) scale(0.75);
  animation: steamColumn 8.5s ease-out forwards;
  mix-blend-mode: screen;
}

.steam-effect span:nth-child(1) { left: 3%; animation-delay: 0s; }
.steam-effect span:nth-child(2) { left: 22%; width: 150px; animation-delay: 0.35s; transform: translate3d(0, 60px, 0) rotate(-7deg) scale(0.75); }
.steam-effect span:nth-child(3) { left: 43%; width: 170px; animation-delay: 0.7s; }
.steam-effect span:nth-child(4) { left: 64%; width: 145px; animation-delay: 1.05s; transform: translate3d(0, 60px, 0) rotate(-10deg) scale(0.75); }
.steam-effect span:nth-child(5) { left: 82%; width: 120px; animation-delay: 1.35s; }

@keyframes heroSteam {
  0% { opacity: 0; transform: translate3d(-10px, 38px, 0) scale(0.95); }
  22% { opacity: 0.7; }
  100% { opacity: 0; transform: translate3d(18px, -96px, 0) scale(1.34); }
}

@keyframes heroSteamDrift {
  0% { opacity: 0; transform: translate3d(16px, 44px, 0) scale(0.92); }
  28% { opacity: 0.58; }
  100% { opacity: 0; transform: translate3d(-28px, -112px, 0) scale(1.42); }
}

@keyframes steamColumn {
  0% { opacity: 0; transform: translate3d(0, 70px, 0) rotate(8deg) scale(0.72); }
  18% { opacity: 0.72; }
  55% { opacity: 0.42; }
  100% { opacity: 0; transform: translate3d(20px, -180px, 0) rotate(-8deg) scale(1.24); }
}

@media (prefers-reduced-motion: reduce) {
  .steam-active .hero-overlay::before,
  .steam-active .hero-overlay::after,
  .steam-effect span {
    animation: none;
  }
}

.badge-custom {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 16px;
  border-radius: 12px;
  font-weight: 600;
  color: #fff;
}

/* Card Styling */

.recipe-card {
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), var(--recipe-image, url('https://images.unsplash.com/photo-1551183053-bf91a1d81141?auto=format&fit=crop&q=80&w=1200'));
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  box-shadow: 0 40px 80px -15px rgba(0,0,0,0.3);
  overflow: visible;
  max-width: 980px;
  margin: -100px auto 80px;
  position: relative;
  z-index: 10;
  color: #fff;
}

.recipe-list li {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 400;
}

.steps {
  display: grid;
  gap: 18px;
  max-width: 760px;
}

.recipe-step {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  align-items: center;
  gap: 22px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.1);
  border-left: 3px solid var(--tomato);
}

.step-copy {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: start;
}

.step-number {
  color: var(--tomato);
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
}

.step-copy p {
  margin: 0;
}

.step-image {
  width: 150px;
  aspect-ratio: 1;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.75);
  box-shadow: 6px 6px 0 rgba(217, 79, 48, 0.75);
}

.recipe-img-container {
  aspect-ratio: 4/3;
  overflow: hidden;
}

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

.btn-primary-custom {
  background-color: var(--tomato);
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 12px;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.btn-primary-custom:hover {
  background-color: #c4452a;
  transform: scale(1.02);
  color: #fff;
}

.btn-secondary-custom {
  background-color: var(--sage);
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 12px;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.btn-secondary-custom:hover {
  background-color: #5d7c65;
  color: #fff;
}

.how-it-works-box {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #fffaf0 100%);
  padding: 32px 24px;
  border-radius: var(--border-radius);
  height: 100%;
  border: 1px solid rgba(47, 47, 47, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
  transition: var(--transition-smooth);
}

.how-it-works-box > *:not(.food-decoration) {
  position: relative;
  z-index: 1;
}

.food-decoration {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.food-card::before {
  content: '';
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 0;
  width: 104px;
  height: 104px;
  border-radius: 32px;
  background: var(--food-accent, rgba(217, 79, 48, 0.12));
  transform: rotate(8deg);
}

.food-card-tomato { --food-accent: rgba(217, 79, 48, 0.14); }
.food-card-basil { --food-accent: rgba(106, 141, 115, 0.16); }
.food-card-pasta { --food-accent: rgba(226, 168, 70, 0.18); }
.food-card-lemon { --food-accent: rgba(243, 201, 77, 0.2); }
.food-card-steam { --food-accent: rgba(217, 79, 48, 0.1); }

.food-decoration span {
  position: absolute;
  display: block;
  opacity: 1;
}

.food-card-tomato .food-decoration span:nth-child(1) {
  right: 22px;
  top: 22px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 32%, #ffb09c 0 10%, var(--tomato) 11% 58%, #b83e24 59% 100%);
}

.food-card-tomato .food-decoration span:nth-child(2) {
  right: 70px;
  top: 20px;
  width: 34px;
  height: 16px;
  border-radius: 50% 0 50% 0;
  background: var(--sage);
  transform: rotate(-28deg);
}

.food-card-tomato .food-decoration span:nth-child(3) {
  left: 18px;
  bottom: 18px;
  width: 44px;
  height: 6px;
  border-radius: 999px;
  background: rgba(217, 79, 48, 0.18);
}

.food-card-basil .food-decoration span:nth-child(1),
.food-card-basil .food-decoration span:nth-child(2),
.food-card-basil .food-decoration span:nth-child(3) {
  width: 48px;
  height: 24px;
  border-radius: 50% 0 50% 0;
  background: linear-gradient(135deg, #9fbf7f, var(--sage));
}

.food-card-basil .food-decoration span:nth-child(1) { right: 24px; top: 26px; transform: rotate(-35deg); }
.food-card-basil .food-decoration span:nth-child(2) { right: 58px; top: 58px; transform: rotate(16deg) scale(0.82); opacity: 0.78; }
.food-card-basil .food-decoration span:nth-child(3) { left: -8px; bottom: 22px; transform: rotate(28deg) scale(1.15); opacity: 0.22; }

.food-card-pasta .food-decoration span:nth-child(1) {
  right: 10px;
  top: 20px;
  width: 92px;
  height: 92px;
  border: 10px solid rgba(226, 168, 70, 0.34);
  border-radius: 50%;
}

.food-card-pasta .food-decoration span:nth-child(2) {
  right: 28px;
  top: 56px;
  width: 70px;
  height: 9px;
  border-radius: 999px;
  background: #e2a846;
  transform: rotate(-18deg);
}

.food-card-pasta .food-decoration span:nth-child(3) {
  right: 34px;
  top: 76px;
  width: 62px;
  height: 8px;
  border-radius: 999px;
  background: #f0c875;
  transform: rotate(16deg);
}

.food-card-lemon .food-decoration span:nth-child(1) {
  right: 22px;
  top: 22px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: radial-gradient(circle at center, #fff7b1 0 16%, #f3c94d 17% 56%, #d8a82a 57% 100%);
}

.food-card-lemon .food-decoration span:nth-child(2) {
  right: 46px;
  top: 30px;
  width: 2px;
  height: 56px;
  background: rgba(255, 255, 255, 0.7);
  transform: rotate(42deg);
}

.food-card-lemon .food-decoration span:nth-child(3) {
  left: 14px;
  bottom: 16px;
  width: 52px;
  height: 14px;
  border-radius: 999px;
  background: rgba(106, 141, 115, 0.18);
}

.food-card-steam .food-decoration span {
  bottom: 2px;
  width: 30px;
  height: 94px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(217, 79, 48, 0.18), rgba(255, 255, 255, 0));
  filter: blur(4px);
}

.food-card-steam .food-decoration span:nth-child(1) { right: 28px; transform: rotate(9deg); }
.food-card-steam .food-decoration span:nth-child(2) { right: 58px; height: 112px; transform: rotate(-8deg); opacity: 0.78; }
.food-card-steam .food-decoration span:nth-child(3) { right: 88px; height: 84px; transform: rotate(12deg); opacity: 0.62; }

.how-it-works-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: #e4f0e2;
  color: var(--tomato);
  font-size: 0.8rem;
  font-weight: 800;
}

.how-it-works-box h3 {
  font-size: 1.35rem;
}

.how-it-works-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 18px 42px rgba(47, 47, 47, 0.1);
}

.newsletter-card {
  background-color: var(--ink);
  color: #fff;
  border-radius: var(--border-radius);
  padding: 60px;
}

.form-control-custom {
  background-color: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  padding: 12px 20px;
  color: #fff;
}

.form-control-custom::placeholder {
  color: rgba(255,255,255,0.5);
}

.form-control-custom:focus {
  background-color: rgba(255,255,255,0.15);
  border-color: var(--tomato);
  box-shadow: none;
  color: #fff;
}

.custom-footer {
  background-color: var(--beige);
  border-top: 1px solid rgba(0,0,0,0.05);
  margin-top: 4rem;
}

.footer-inline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: nowrap;
  white-space: nowrap;
  font-size: 0.7rem;
  color: #000;
}

footer a {
  color: #000;
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 400;
  opacity: 1;
}

footer a:hover {
  opacity: 1;
  color: #000;
}

.custom-footer p, .custom-footer a {
  line-height: 1.2;
}

.footer-copy {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0.55rem;
  min-width: 0;
  font-size: 0.7rem;
  color: #000;
}

.footer-note { color: #000; font-size: 0.7rem !important; }
.footer-legal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  white-space: nowrap;
  color: #000;
}
.footer-separator {
  opacity: 0.8;
  color: #000;
}
.footer-separator-dot {
  color: #000;
  opacity: 0.7;
  font-size: 0.9rem;
  line-height: 1;
}
.support-link { display: inline-flex; align-items: center; gap: 6px; color: #000 !important; font-size: 0.7rem !important; font-weight: 400; opacity: 1; }

.support-link .support-icon {
  width: 30px;
  height: 30px;
  font-size: 1.1rem;
}

.custom-footer .text-danger {
  color: #e74c3c !important;
}

.custom-footer .small {
  font-size: 0.7rem !important;
}

.footer-clock {
  background: rgba(0, 0, 0, 0.03);
  padding: 6px 12px;
  border-radius: 50px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

#digital-clock {
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.05em;
}

@media (max-width: 991px) {
  .footer-inline {
    flex-wrap: wrap;
    white-space: normal;
  }

  .footer-copy {
    flex-wrap: wrap;
    white-space: normal;
  }
}

@media (max-width: 768px) {
  .custom-navbar .container-fluid {
    min-height: 108px;
  }

  .navbar-logo {
    height: 88px;
  }

  .custom-navbar .position-absolute {
    padding-right: 12px !important;
  }

  .weather-gadget {
    display: none !important;
  }

  .preparation-title {
    margin-top: 1.5rem;
  }

  .header-support-link {
    max-width: 145px;
    font-size: 0.64rem;
  }

  .recipe-card {
    margin: -40px 15px 40px;
  }

  .recipe-step {
    grid-template-columns: 1fr;
  }

  .step-image {
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  .category-menu {
    padding-top: 28px;
  }

  .footer-inline {
    flex-wrap: wrap;
    white-space: normal;
    text-align: center;
  }

  .footer-copy {
    flex-wrap: wrap;
    white-space: normal;
  }

  .footer-copy > span,
  .footer-legal,
  .support-link {
    white-space: nowrap;
  }

  .footer-clock {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .newsletter-card {
    padding: 30px;
  }
}

/* Shopping Note Style */

.shopping-note {
  background: #fffef0;
  padding: 35px 25px 25px;
  width: 100%;
  max-width: 280px;
  box-shadow: 8px 12px 25px rgba(0,0,0,0.1);
  transform: rotate(3deg);
  position: relative;
  z-index: 20;
  transition: var(--transition-smooth);
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.05);
}

.note-pin {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2.2rem;
  color: var(--tomato);
  z-index: 30;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

/* Effetto righe del foglio */

.shopping-note::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: repeating-linear-gradient(rgba(0,0,0,0.03) 0px, rgba(0,0,0,0.03) 1px, transparent 1px, transparent 28px);
  pointer-events: none;
  border-radius: 12px;
}

@media (min-width: 992px) {
  .shopping-note {
    margin-right: -75px;
    margin-top: -20px;
  }
}

.shopping-note:hover {
  transform: rotate(0deg) scale(1.02);
}

.shopping-note::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: repeating-linear-gradient(rgba(0,0,0,0.05) 0px, rgba(0,0,0,0.05) 1px, transparent 1px, transparent 32px);
  pointer-events: none;
}

.note-header h3 {
  font-family: 'Playfair Display', serif;
  color: var(--ink);
  border-bottom: 2px solid var(--tomato);
  padding-bottom: 10px;
  margin-bottom: 30px;
}

.note-body li {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  color: #444;
  position: relative;
  z-index: 1;
}

.note-body .form-check-input {
  width: 1.1rem;
  height: 1.1rem;
  border: 2px solid #315b43;
  accent-color: #315b43;
}

.note-body .form-check-input:focus {
  border-color: #315b43;
  box-shadow: 0 0 0 0.2rem rgba(49, 91, 67, 0.2);
}

.note-body .form-check-input:checked {
  background-color: #315b43;
  border-color: #315b43;
}

.note-body .form-check-input:checked + span {
  text-decoration: line-through;
  opacity: 0.5;
}

.note-footer {
  margin-top: 30px;
  border-top: 1px dashed #ccc;
  padding-top: 15px;
  text-align: right;
  font-style: italic;
}

