@font-face {
  font-family: 'Montserrat';
  src: url('/fonts/Montserrat/static/Montserrat-Regular.ttf') format('truetype');
}
@font-face {
  font-family: 'Playwrite';
  src: url('/fonts/Playwrite_DE_SAS/static/PlaywriteDESAS-Regular.ttf') format('truetype');
  font-weight: bold;
}

html { scroll-behavior: smooth; }

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat';
  height: auto;
  transition: all 0.2s ease-in-out;
}

:root { --nav-mobile-h: 56px; }

body {
  background-image: linear-gradient(174.2deg, rgba(255,244,228,1) 7.1%, rgba(240,246,238,1) 67.4%);
  color: #007A70;
  background-attachment: fixed;
}

.navtop.container-fluid { padding-left: 0; padding-right: 0; }

.navtop > ul {
  position: fixed;
  top: 0;
  z-index: 1000;
  background-image:
  linear-gradient(to bottom, rgba(255, 116, 24, 0.18) 0%, rgba(171, 91, 38, 0.08) 100%), 
  linear-gradient(
    to bottom,
    rgba(255,244,228,0.92) 0%,
    rgba(255,247,230,0.86) 30%,
    rgba(254,250,232,0.80) 60%,
    rgba(253,255,238,0.74) 100%
  );
  width: 100%;
  list-style: none;
  display: flex;
  align-items: center;
  padding: 1.5rem 2.5rem 0 2.5rem;
  border-radius: 0 0 32px 32px;
}

.navtop ul .left, .navtop ul .right {
  flex: 1;
}

.nav-left, .right {
  display: flex;
  gap: 2.5rem;
}

.nav-left { justify-content: flex-start; }
.right { justify-content: flex-end; }

.right img {
  width: 2rem;
  filter: brightness(0.5);
  transition: filter 0.2s ease;
}
.right img:hover {
  filter: brightness(0) saturate(200%) invert(48%) sepia(94%) hue-rotate(120deg);
}

.navtop a, .celestial a {
  position: relative;
  text-decoration: none;
  color: #007A70;
  font-weight: 700;
  text-transform: uppercase;
}
.navtop a { font-size: 0.9rem; }

.celestial a {
  font-size: 2rem;
  font-family: 'Playwrite', sans-serif;
}

.celestial {
  position: relative;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-0.5rem);
  }
}

.navtop a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 0.125rem;
  width: 0;
  background: #00BFA5;
  transition: width 0.2s ease;
}
.navtop a:hover::after { width: 100%; }
.navtop a:hover {
  transform: scale(1.03);
  border-radius: 16px;
}

.menu-button { display: none; }

.dropdown-container {
  position: relative;
  padding-bottom: 0.5rem;
}

.navtop-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  opacity: 0;
  transform: translateY(0.375rem);
  transition: opacity 0.16s ease, transform 0.16s ease;
  background: linear-gradient(180deg, rgba(255,255,255,0.75), rgba(255,255,255,0.5));
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
  border: 1px solid rgba(255,255,255,0.35);
  box-shadow: 0 0.875rem 2.25rem rgba(0,0,0,0.06);
  min-width: 20rem;
  padding: 0.75rem 0 0 0;
  border-radius: 12px;
  box-shadow: 0 0.875rem 2.25rem rgba(0,0,0,0.14);
  pointer-events: none;
  z-index: 1;
  list-style: none;
}

.dropdown-container:hover .navtop-dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.navtop-dropdown li a {
  display: grid;
  grid-template-columns: 9rem auto;
  gap: 0.8rem;
  padding: 0.75rem 1rem;
  color: #1a6f67;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.navtop-dropdown li a:hover {
  background: #f6fbfa;
  color: #00BFA5;
}
.navtop-dropdown li a img {
  width: 6rem;
  height: 6rem;
  justify-self: center;
  border-radius: 50%;
  object-fit: cover;
  border: 0.125rem solid #e8f1ef;
  box-shadow: 0 0.125rem 0.375rem rgba(0,0,0,1);
}
.navtop-dropdown li a:hover img { animation: spin 4s linear infinite; }

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.navtop-dropdown li a span {
  justify-self: start;
  display: flex;
  align-items: center;
  height: 100%;
}

.site-search { flex-shrink: 0; }
.site-search .search {
  max-width: 100%;
  margin: 3rem;
  position: relative;
  height: 3.5rem;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0 1rem;
  background: #e9e9e9;
  border-radius: 22px;
  box-shadow: 0 0.625rem 2rem rgba(0,0,0,0.08);
  transition: box-shadow 0.2s ease, filter 0.2s ease, transform 0.2s ease;
  z-index: 1;
}
.site-search .search:hover {
  box-shadow: 0 0.75rem 2.5rem rgba(0,0,0,0.12);
  filter: brightness(0.95);
  transform: translateY(-0.125rem);
}
.site-search .search button {
  background: #fff;
  border: none;
  border-radius: 50%;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  transition: left 0.2s ease;
}
.site-search .search button img {
  width: 1.5rem;
  height: 1.5rem;
  filter: brightness(0.5);
}
.site-search .search button:hover { background: #007A70; }
.site-search .search button:hover img { filter: brightness(0) invert(1); }
.site-search .search:focus-within button {
  left: calc(100% - 3rem);
  background: #007A70;
}
.site-search .search:focus-within button img { filter: brightness(0) invert(1); }
.site-search .search input {
  flex: 1;
  border: 0;
  background: #e9e9e9;
  font-size: 1rem;
  outline: none;
  padding: 0.75rem 3rem 0.75rem 3rem;
}
.site-search .search input:focus, .site-search .search:focus-within {
  outline: none;
  box-shadow: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
}

.hero-search-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 6rem 15rem 0.5rem;
  width: 100%;
  min-height: 9.375rem;
}
.hero h1 {
  text-align: left;
  font-family: 'Playwrite', sans-serif;
}
.hero-text-and-desc { max-width: 40rem; }

.herodesc {
  margin: 0.5rem 0;
  font-size: 1.125rem;
  line-height: 1.5;
  color: rgb(146, 146, 146);
}
.herodesc:hover {
  color: #007A70;
  text-shadow: 0 0.125rem 0.25rem rgba(224, 224, 224, 0.2);
  transform: translateY(-0.125rem);
}
.hero h1:hover, .section-title:hover, .celestial:hover {
  text-shadow: 0 0.25rem 0.5rem rgba(0, 191, 165, 0.3);
  transform: translateY(-0.125rem);
}

.more { display: flex; gap: 1rem; }
.more .explore {
  text-decoration: none;
  color: white;
  font-size: 0.875rem;
  font-weight: 595;
  background-color: #21b9ac;
  border-radius: 16px;
  padding: 0.5rem 0.75rem;
}
.more .subscribe {
  color: #007A70;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.5rem 0.75rem;
}
.more .explore:hover {
  background-color: #00bfa5;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 191, 165, 0.3);
  transform: translateY(-0.125rem);
}
.today-picks h1:hover, .more .subscribe:hover {
  color: #00bfa5;
  text-shadow: 0 0.25rem 0.625rem rgba(0, 191, 165, 0.3);
  transform: translateY(-0.125rem);
}

.today-picks {
  margin: 2rem 5rem;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}
.today-picks-fyp {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}
.today-picks h1 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  text-align: left;
}

.fyp-image {
  width: 17rem;
  border-radius: 16px;
  display: flex;
  object-fit: cover;
  margin-right: 1rem;
  margin-bottom: 0.75rem;
  box-shadow: 0 0.625rem 2rem rgba(0,0,0,0.08);
  flex-direction: column;
  background: white;
}
.fyp-image img {
  width: 100%;
  height: 9rem;
  object-fit: cover;
  display: block;
  border-radius: 16px 16px 0 0;
}
.fyp-image a {
  max-width: 17rem;
  margin: 0.5rem 0.75rem 0;
  color: rgb(209, 53, 209);
  font-weight: bold;
  background-color: white;
  word-spacing: 0.15rem;
}
.fyp-image p {
  margin: 0.25rem 0.75rem;
  color: gray;
  font-size: 0.875rem;
}
.fyp-image:hover {
  transform: scale(1.05);
  box-shadow: 0 0.75rem 2.5rem rgba(0,0,0,0.12);
}
.fyp-image a:hover { color: #00bfa5; transform: scale(1.02); }

.quick-recipes {
  margin-top: 1.5rem;
  padding: 0.75rem;
  background: #e0f0ed;
  border-radius: 16px;
  box-shadow: 0 0.625rem 2rem rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  margin-bottom: 0.5rem;
}
.quick-recipes form { display: flex; flex-direction: column; gap: 0.5rem; }
.quick-recipes .input-group {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  width: 100%;
}
.quick-recipes input {
  outline: none;
  flex: 1;
  padding: 0.5rem;
  border-radius: 12px;
  border: 0.1px solid white;
}
.quick-recipes .btn {
  border-radius: 12px;
  background-color: #00bfa5;
  border-color: #00bfa5;
  color: #fff;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.quick-recipes .btn:hover { background-color: #007a70; transform: translateY(-0.125rem); }
.quick-recipes label {
  font-weight: bold;
  font-size: 0.9rem;
}
.quick-recipes input:focus { box-shadow: none; border-color: white; }
.quick-recipes:hover { transform: translateY(-0.125rem); box-shadow: 0 0.75rem 2.5rem rgba(0,0,0,0.12); }
.quick-recipes input::placeholder { color: #a0a0a0; }
#quick-recipes-form .input-group > .form-control { border-radius: 12px; }
#quick-recipes-form .input-group > .btn { border-radius: 12px; }

.before-footer-features .section-title {
  font-family: 'Playwrite', sans-serif;
  color: #007A70;
  margin-bottom: 1rem;
  text-align: center;
  position: relative;
}
.before-footer-features .section-title::after {
  content: '';
  display: block;
  width: 8rem;
  height: 0.15rem;
  background: linear-gradient(90deg,#00bfa5,#59e0cc);
  border-radius: 999px;
  margin: 0.5rem auto 0;
  opacity: 0.8;
}

.feature-card, .spotlight-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0.6rem 1.6rem rgba(0,0,0,0.06);
  border: none;
  background: linear-gradient(180deg,#ffffff,#f7fbfa);
}
.feature-card:hover, .spotlight-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 1rem 2.2rem rgba(0,0,0,0.09);
}

.feature-card .col-4 img, .spotlight-card img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px 0 0 12px;
}
.card-body:hover { transform: scale(1.02); }
.feature-card .col-4 img:hover, .spotlight-card img:hover { transform: scale(1.02); }

.d-flex.gap-2.mt-2 .btn-outline-secondary { color: #000000; }
.d-flex.gap-2.mt-2 .btn-outline-secondary:hover { background-color: #007a70; color: white; }

.media-wrap {
  position: relative;
  height: 100%;
  border-radius: 12px 0 0 12px;
  overflow: hidden;
}

.tag-badge {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  background: rgba(0, 191, 165, 0.9);
  color: #fff;
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: .06em;
  padding: 0.35rem 0.55rem;
  border-radius: 8px;
  text-transform: uppercase;
  box-shadow: 0 6px 16px rgba(0,191,165,.25);
}

.spotlight-card .card-body { padding-bottom: 1.25rem; }

.tips-list {
  margin: 0.25rem 0 0.75rem;
  padding: 0;
  list-style: none;
  color: #3b6d68;
}
.tips-list li {
  position: relative;
  padding-left: 1.6rem;
  margin: 0.35rem 0;
  line-height: 1.5;
}
.tips-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: #0f8f83;
  font-weight: 900;
}

.spotlight-cta { margin-top: 0.5rem; }
.btn-ghost {
  display: inline-block;
  text-decoration: none;
  color: #0f6a63;
  background: linear-gradient(90deg,#e6fbf7,#f0f6f6);
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  border: 1px solid rgba(0,122,112,0.12);
}
.btn-ghost:hover { background: #007a70; color: #fff; }

.nutrition-details summary.summary-btn {
  list-style: none;
  cursor: pointer;
  padding: 0.45rem 0.75rem;
  border-radius: 12px;
  display: inline-block;
  background: linear-gradient(90deg,#e6fbf7,#f0f6f6);
  color: #007A70;
  font-weight: 700;
  border: 1px solid rgba(0,122,112,0.08);
  transition: background-color 0.18s ease, transform 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.nutrition-details summary.summary-btn:hover {
  background: #007a70;
  color: #ffffff;
  transform: translateY(-0.125rem);
  box-shadow: 0 6px 20px rgba(0,122,112,0.18);
  outline: none;
}
.nutrition-details summary::-webkit-details-marker { display: none; }

/* Table container and table improvements */
.nutrition-details .table-responsive {
  margin-top: 0.5rem;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  overflow: hidden;
  max-height: 18rem;
  overflow: auto;
  background: #fff;
}

.nutrition-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}
.nutrition-table caption { caption-side: top; }
.nutrition-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: linear-gradient(90deg, rgba(224,249,242,0.95), rgba(240,246,238,0.95));
  color: #005b52;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.nutrition-table th, .nutrition-table td {
  padding: 0.6rem 0.75rem;
  color: #2a5f59;
  border-top: 1px solid rgba(0,0,0,0.04);
  background: #fff;
}
.nutrition-table tbody tr:nth-of-type(even) td,
.nutrition-table tbody tr:nth-of-type(even) th[scope="row"] {
  background: #f7fbfa;
}
.nutrition-table tbody tr:hover td,
.nutrition-table tbody tr:hover th[scope="row"] {
  background: #eefdF7;
}
.nutrition-table th[scope="row"] {
  font-weight: 800;
  color: #1b6b64;
}
.nutrition-table td.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.main-footer {
  margin-top: 3.5rem;
  padding: 1rem 0;
  background-image: linear-gradient(200deg, rgb(235, 227, 214) 7.1%, rgba(240,246,238,1) 67.4%);
  color: #007a70;
  text-align: center;
  border-top: 1px solid rgba(0,0,0,0.08);
  overflow-x: hidden;
}
.footer-title {
  display: inline-block;
  font-size: 3rem;
  font-family: 'Playwrite', sans-serif;
  padding: 0.5rem;
  color: #fff;
  text-shadow: 0 0 5px #ff005e, 0 0 10px #ff005e, 0 0 20px #ff005e, 0 0 40px #ff005e, 0 0 80px #ff005e;
  animation: glow 1.5s infinite alternate;
}
.footer-title:hover { transform: scale(1.2); }
@keyframes glow {
  0% { text-shadow: 0 0 5px #ff005e, 0 0 15px #ff005e; }
  100% { text-shadow: 0 0 10px #00d4ff, 0 0 30px #00d4ff; }
}
.socials-logo { display: flex; justify-content: center; gap: 0.5rem; border-radius: 8px; }
.socials-logo img { width: 2.5rem; }
.socials-logo img:hover { transform: translateY(-0.4rem); }
.socials-logo a { position: relative; }
.socials-logo a::after {
  content: '';
  position: absolute;
  bottom: 0rem;
  left: 0;
  height: 0.125rem;
  width: 0;
  background: gray;
  transition: width 0.2s ease;
}
.socials-logo a:hover::after { width: 100%; }
.main-footer .footer-note {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: gray;
}
.footer-policy-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 0.75rem;
}
.footer-policy-links a { text-decoration: none; color: darkgrey; }
.footer-policy-links:hover a { color: gray; }
.footer-policy-links a:hover { color: black; transform: scale(1.03); font-weight: 600; }
.footer-policy-links:hover a:not(:hover) { opacity: 0.4; }

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(20,32,37,0.55);
  backdrop-filter: blur(4px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}
.modal:target { display: flex; }
.modal-content {
  background: #fff;
  color: #222;
  padding: 1.25rem;
  border-radius: 12px;
  width: 90%;
  max-width: 30rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: pop 0.3s ease;
  position: relative;
  word-spacing: 0.1rem;
}
.modal-content h2 { margin-bottom: 0.75rem; }
.modal-content p { line-height: 1.5; }

@keyframes pop {
  from { transform: scale(0.96); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  text-decoration: none;
  font-size: 1.5rem;
  color: #333;
}
.close:hover { color: #000; transform: scale(1.2); }

.modal-content .cookie-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}


.modal-content .accept,
.modal-content .reject,
.modal-content .customize {
  margin-top: 0.25rem;
}
.modal-content .accept {
  background-color: #00bfa5;
  width: 100%;
  font-size: 1rem;
  color: #fff;
  border: none;
  border-radius: 32px;
}
.modal-content .reject {
  background-color: #e9fffa;
  width: 100%;
  font-size: 1rem;
  color: #007a70;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 32px;
}
.modal-content .customize {
  background-color: #eaf7f4;
  width: 100%;
  font-size: 1rem;
  color: #007a70;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 32px;
}
.modal-content .accept:hover { background-color: #007a70; }
.modal-content .reject:hover, .modal-content .customize:hover {
  background-color: #007a70;
  color: #fff;
}

/* Cookie modal */
.cookie-modal {
  width: min(900px, 92vw);
  max-height: min(86vh, 900px);
  border-radius: 28px;
  padding: 1.25rem 1.25rem 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 0.5rem;
}
.cookie-header { padding: 0.25rem 0.5rem 0.5rem; }
.cookie-header h2 { margin: 0 0 .25rem; color: #124a45; }
.cookie-intro {
  color: #3a6f69;
  line-height: 1.7;
  margin: 0.25rem 0 0.75rem;
}
.cookie-actions-top {
  display: flex;
  gap: 2rem;
  justify-content: flex-end;
  align-items: center;
  margin-top: 0.5rem;
}
.ghost-action {
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 700;
  color: #1c6a63;
  text-decoration: none;
}
.ghost-action:hover { color: #0e4f49; text-decoration: underline; }
.cookie-body {
  overflow: auto;
  padding: 0.25rem 0.5rem 1rem;
  max-height: 60vh;
}
.cookie-group details {
  border-top: 1px solid rgba(0,0,0,0.06);
  padding: 0.85rem 0;
}
.cookie-group details:last-of-type { border-bottom: 1px solid rgba(0,0,0,0.06); }
.cookie-group summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
}
.cookie-group summary::-webkit-details-marker { display: none; }
.cookie-group .sum-text .title { font-weight: 800; color: #1c5d58; }
.cookie-group .sum-text .desc {
  color: #5a7a76;
  font-size: .95rem;
  margin-top: .25rem;
  line-height: 1.6;
}
.cookie-group[open], .cookie-group details[open] {
  background: linear-gradient(180deg, rgba(240,246,238,.35), rgba(255,255,255,.35));
  border-radius: 12px;
}
.cookie-group details[open] { padding: 0.85rem; }
.cookie-group .list {
  margin: 0.6rem 0 0 1.2rem;
  color: #496b66;
  line-height: 1.6;
}
.badge.locked {
  background: #eef7f5;
  color: #1b6b64;
  border: 1px solid rgba(0,0,0,0.06);
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.switch {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  user-select: none;
}
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch .track {
  width: 56px;
  height: 32px;
  background: #e8efee;
  border-radius: 999px;
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06);
  transition: background .2s ease;
}
.switch .track::before {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  width: 24px;
  height: 24px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
  transition: left .2s ease, transform .2s ease;
}
.switch .switch-text::after {
  content: 'OFF';
  color: #6c8c89;
  font-weight: 800;
  letter-spacing: .06em;
  font-size: .8rem;
}
.switch input:checked + .track { background: #147d73; }
.switch input:checked + .track::before { left: 28px; transform: translateX(0); }
.switch input:checked ~ .switch-text::after { content: 'ON'; color: #147d73; }

.cookie-footer {
  position: sticky;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 0.5rem 1.1rem;
  background: #fff;
  border-top: 1px solid rgba(0,0,0,0.08);
  border-radius: 0 0 28px 28px;
}
.cookie-footer .legal { color: #5d7f7a; }
.cookie-footer .legal a { color: #1c6a63; text-decoration: underline; }
.btn-cta {
  display: inline-block;
  text-decoration: none;
  color: #fff;
  background: #1b6b64;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-wrap: nowrap;
  box-shadow: 0 10px 24px rgba(27,107,100,0.25);
}
.btn-cta:hover { background: #12544f; }
.partners-link {
  display: inline-block;
  margin-top: 1rem;
  color: #1c6a63;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  text-decoration: none;
}
.partners-link:hover { text-decoration: underline; }

@media (max-width: 576px) {
  .nutrition-details .table-responsive {
    max-height: none;
    overflow: visible;
    border: none;
    border-radius: 0;
    background: transparent;
  }
  .nutrition-table { border-collapse: separate; border-spacing: 0 0.6rem; }
  .nutrition-table thead { display: none; }
  .nutrition-table tbody, .nutrition-table tr, .nutrition-table td, .nutrition-table th[scope="row"] {
    display: block;
    width: 100%;
  }
  .nutrition-table tr {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 0.6rem 1.2rem rgba(0,0,0,0.06);
    padding: 0.6rem 0.75rem;
  }
  .nutrition-table th[scope="row"] {
    padding-bottom: 0.25rem;
    border: 0;
    color: #12544f;
  }
  .nutrition-table td {
    padding: 0.35rem 0;
    border: 0;
    display: grid;
    grid-template-columns: 9.5rem 1fr;
    gap: 0.5rem;
    align-items: baseline;
  }
  .nutrition-table td::before {
    content: attr(data-label);
    color: #6b8f8a;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: .75rem;
  }
  .nutrition-table td.num { text-align: left; }
}

@media (max-width: 1200px) {
  .hero-search-container { padding: 2rem 5rem 0.5rem; }
  .today-picks { margin: 2rem 2rem; }
  .navtop ul { gap: 2.5rem; }
  .celestial a {font-size: 1.8rem;}
}
@media (max-width: 992px){

  .navtop > ul { padding: 1rem 1.5rem 0.8rem 1.5rem; }

  .nav-left { 
    display: flex;
    gap: 1.5rem; 
  }

  .navtop ul {
    gap: 1.5rem;
  }

  .navtop a { font-size: 0.8rem; }
  .celestial a { font-size: 1.5rem; }
  .hero-search-container { flex-direction: column; padding: 2rem 3rem 0.5rem; align-items: center; }
  .site-search .search { margin: 2rem 0; }
  .today-picks-fyp { flex-wrap: wrap; justify-content: center; }
  .navtop-dropdown { min-width: 15rem; }
  .navtop-dropdown li a { grid-template-columns: 5rem auto; font-size: 0.85rem; }
  .navtop-dropdown li a img { width: 4rem; height: 4rem; }

  .modal-content p {
    margin-bottom: 1rem;
  }
}

@media (max-width: 768px) {
  .navtop {
    position: fixed;
    top: 0;
    z-index: 1000;
    background: linear-gradient(174.2deg, rgba(255,244,228,0.6) 7.1%, rgba(240,246,238,0.35) 67.4%);
  }
  
  .navtop > ul {
    padding: 0.5rem 1rem;
    gap: 0.5rem;
    justify-content: space-between;
    align-items: center;
    min-height: var(--nav-mobile-h);
  }
  
  .celestial {
    flex: 1;
    order: 2;
    position: absolute;
    left: 37%;
    transform: translateX(-50%);
    text-align: center;
  }

  .navtop ul .left { order: 1; }
  .navtop ul .right { order: 3; }
  .right { gap: 0.75rem; }
  .right img { width: 1.75rem; }
  .celestial a { font-size: 1.25rem; }

  .menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 0.75rem;
    border: 2px solid #007A70;
    color: #007A70;
    border-radius: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    font-size: 0.9rem;
    background: transparent;
    user-select: none;
    cursor: pointer;
    z-index: 1001;
  }

  .nav-left {
    display: none;
    position: fixed;
    top: var(--nav-mobile-h);
    max-height: 85vh;
    max-width: 43vh;
    border-radius: 24px;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.75rem 1rem 2rem;
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(240,246,238,0.98) 100%);
    border-top: 1px solid rgba(0,0,0,0.08);
    overflow-y: auto;
    z-index: 1000;
    flex-direction: column;
    gap: 0.5rem;
  }

  #menu-toggle:checked ~ .nav-left { display: flex; }
  .dropdown-container { position: static; padding-bottom: 0.25rem; }
  .navtop-dropdown {
    position: static;
    display: block;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    background: transparent;
    box-shadow: none;
    padding: 0.25rem 0 0.75rem;
    min-width: 100%;
  }
  
  .navtop-dropdown li a { grid-template-columns: 3.5rem auto; padding: 0.5rem 0.25rem; }
  .navtop-dropdown li a img { width: 3rem; height: 3rem; border: none; box-shadow: none; }
  .navtop-dropdown li a:hover { background: #f6fbfa; }

  .hero-search-container { flex-direction: column; padding: calc(var(--nav-mobile-h) + 4.5rem) 1rem 0.5rem; }
  .site-search { order: -1; width: 100%; }
  .site-search .search {
    position: fixed;
    top: calc(var(--nav-mobile-h) + 0.4rem);
    left: 1rem;
    right: 1rem;
    z-index: 900;
    margin: 0;
  }

  .hero h1 { font-size: 1.5rem; text-align: center; }
  .herodesc { font-size: 1rem; text-align: center; }
  .more { flex-wrap: wrap; justify-content: center; }
  .today-picks { margin: 1.25rem 0; }
  .today-picks h1 { font-size: 1.25rem; text-align: center; }
  .today-picks-fyp { flex-direction: column; align-items: center; }
  .fyp-image { width: 100%; max-width: 20rem; margin-right: 0; }

  .quick-recipes .input-group {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    z-index: 0;
  }
  .quick-recipes .input-group .btn { width: 100%; }
  .quick-recipes .input-group input.form-control { width: 100%; }
  .quick-recipes .form-control, .quick-recipes .btn { min-height: 42px; }
  .feature-card .col-4 { min-height: 160px; }
  .feature-card .col-4 img { min-height: 160px; border-radius: 12px 12px 0 0; }

  .cookie-modal {
    width: 100vw;
    max-height: 100vh;
    border-radius: 0;
    padding: 1rem 1rem 0;
    grid-template-rows: auto 1fr auto;
  }
  .cookie-body { max-height: calc(100vh - 220px); }
  .cookie-footer { border-radius: 0; }

  .modal-content button {
    background-color: #00bfa5;
    color: white;
    font-size: 1rem;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    border: none;
    border-radius: 80px;
  }

  .footer-policy-links {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 0.75rem;
    flex-wrap: wrap;
    padding: 0.4rem;
  }
  #site-search { scroll-margin-top: calc(var(--nav-mobile-h) + 0.5rem); }

    .celestial {
    animation: float 3s ease-in-out infinite;
  }
  
  @keyframes float {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-0.4rem);
    }
}
}

@media (max-width: 768px) {
  .modal-content .cookie-actions { flex-direction: column; gap: 0.5rem; }
  .modal-content button { width: 100%; min-width: 0; }
}

@media (max-width: 768px) and (orientation: landscape) {
  .cookie-modal {
    max-height: 95vh;
    width: calc(100vw - 3rem);
    max-width: 600px;
  }

  .cookie-body {
    max-height: calc(95vh - 180px);
  }

  .cookie-header h2 {
    font-size: 1.1rem;
  }

  .cookie-intro {
    font-size: 0.8rem;
    margin: 0.2rem 0 0.4rem;
  }

  .cookie-group details {
    padding: 0.6rem 0;
  }
}

@media (max-width: 768px) {
  .cookie-group summary {
    min-height: 48px;
    padding: 0.25rem 0;
  }

  .switch {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
  }

  .ghost-action {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .cookie-body {
    scroll-behavior: smooth;
  }

  .cookie-group details + details {
    margin-top: 0.25rem;
  }
}

#site-search {
  scroll-margin-top: calc(var(--nav-mobile-h) + 3rem);
}

#site-search:target .search {
  box-shadow: 0 0 0 6px rgba(0, 191, 165, 0.10), 0 8px 28px rgba(0,0,0,0.12);
  transform: translateY(-3px);
}

@media (max-width: 480px) {
  .celestial a { font-size: 0.81rem;}
  .right img { width: 1.5rem; }
  .hero h1 { font-size: 1.2rem; }
  .herodesc { font-size: 0.9rem; }
  .more .explore, .more .subscribe { font-size: 0.75rem; padding: 0.4rem 0.6rem; }
  .site-search .search { height: 3rem; }
  .site-search .search input { font-size: 0.9rem; }
  .today-picks h1 { font-size: 1.1rem; }
  .fyp-image { max-width: 100%; }
  .quick-recipes label { font-size: 0.85rem; }
  .footer-title { font-size: 1.25rem; }
  .socials-logo img { width: 2rem; }
}


@media (min-width: 769px) and (max-width: 992px) {
  .navtop {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
  }
  
  .hero-search-container {
    padding-top: 8rem; 
  }
  
  .main-footer {
    margin-top: 3.5rem;
  }
}



@media (max-width: 480px) {
  .cookie-modal {
    width: calc(100vw - 1.5rem);
    max-height: 85vh;
    padding: 0.75rem 0.75rem 0;
    border-radius: 16px;
    margin: 0.75rem;
  }

  .cookie-header {
    padding: 0.5rem;
  }

  .cookie-header h2 {
    font-size: 1.1rem;
  }

  .cookie-intro {
    font-size: 0.85rem;
  }

  .cookie-actions-top {
    gap: 0.75rem;
  }

  .ghost-action {
    font-size: 0.75rem;
  }

  .cookie-body {
    padding: 0.5rem 0.5rem 1rem;
    max-height: calc(85vh - 200px);
  }

  .cookie-group .sum-text .title {
    font-size: 0.9rem;
  }

  .cookie-group .sum-text .desc {
    font-size: 0.8rem;
  }

  .cookie-group .list {
    font-size: 0.8rem;
    margin-left: 0.75rem;
  }

  .switch .track {
    width: 44px;
    height: 26px;
  }

  .switch .track::before {
    width: 18px;
    height: 18px;
  }

  .switch input:checked + .track::before {
    left: 22px;
  }

  .badge.locked {
    font-size: 0.6rem;
    padding: 0.25rem 0.4rem;
  }

  .cookie-footer {
    padding: 0.6rem 0.5rem 0.75rem;
    gap: 0.6rem;
    border-radius: 0 0 16px 16px;
  }

  .cookie-footer .legal {
    font-size: 0.7rem;
  }

  .btn-cta {
    padding: 0.65rem 0.85rem;
    font-size: 0.85em;
  }

  .partners-link {
    font-size: 0.8rem;
  }

  .cookie-modal .close {
    font-size: 1.5rem;
    top: 0.5rem;
    right: 0.75rem;
  }
}

@media (min-width: 993px) and (max-width: 1100px) {
  .navtop > ul {
    padding: 1rem 1.5rem 0 1.5rem;
    gap: 1.5rem;
  }

  .nav-left {
    gap: 1.5rem;
  }

  .navtop a {
    font-size: 0.75rem;
  }

  .celestial a {
    font-size: 1.6rem;
  }

  .navtop-dropdown {
    min-width: 16rem;
  }

  .navtop-dropdown li a {
    grid-template-columns: 5rem auto;
    font-size: 0.8rem;
    padding: 0.6rem 0.8rem;
  }

  .navtop-dropdown li a img {
    width: 4.5rem;
    height: 4.5rem;
  }

  .hero-search-container {
    padding: 7rem 4rem 0.5rem;
  }

  .site-search .search {
    margin: 2.5rem 1rem;
    max-width: 28rem;
  }

  .hero {
    margin-top: var(--nav-desktop-h);
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .herodesc {
    font-size: 1rem;
  }

  .today-picks {
    margin: 2rem 3rem;
  }

  .today-picks-fyp {
    gap: 1.2rem;
  }

  .fyp-image {
    width: 15rem;
  }
}

@media (width: 1024px) and (height: 1366px) {
  .navtop > ul {
    padding: 1rem 1.2rem 0 1.2rem;
    gap: 1.2rem;
  }

  .nav-left {
    gap: 1.2rem;
  }

  .navtop a {
    font-size: 0.72rem;
  }

  .celestial a {
    font-size: 1.5rem;
  }
}