/*
Theme Name: Sugar Boom
Theme URI: https://example.com/sugar-boom
Author: Sugar Boom Team
Description: Sugar Boom WordPress theme for recipe website.
Version: 1.3.11
License: GNU General Public License v2 or later
Text Domain: sugar-boom
*/

:root {
  --pink-header: #efb7c7;
  --pink-soft: #f8dde5;
  --pink-card: #f8e5ea;
  --pink-band: #f3cfd8;
  --pink-footer: #cd3d59;
  --pink-button: #c93d5c;
  --yellow: #e8ea84;
  --nav-active: #fff176;
  --page-bg: #fcf9f6;
  --text: #2a2025;
  --muted: #5a4d53;
  --shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

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

body {
  font-family: "Open Sans", sans-serif;
  background: var(--page-bg);
  color: var(--text);
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: "Playfair Display", serif;
  color: var(--text);
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

/* Header always above hero decorative circles */
.site-header {
  position: relative;
  z-index: 100000;
  background: var(--pink-header);
  padding: 20px 0;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.site-nav-toggle {
  display: none;
  position: relative;
  z-index: 2;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  color: var(--text);
  flex-shrink: 0;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
}

.site-nav-toggle:hover {
  background: rgba(255, 255, 255, 0.65);
}

.site-nav-toggle-bars {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  box-shadow: 0 -7px 0 currentColor, 0 7px 0 currentColor;
}

.site-nav-panel {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
  min-width: 0;
}

.site-nav-panel .main-menu {
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.site-nav-scrim {
  display: none;
}

/* Drawer headings: visible only in mobile drawer (see @media max-width 773px). */
.site-nav-drawer-heading,
.recipe-filters-drawer-heading {
  display: none;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #7c3344;
}

.logo-link img {
  height: 100px;
  width: auto;
}

.main-menu .menu-list {
  display: flex;
  align-items: center;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.main-menu .menu-list a {
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 1.08rem;
  color: var(--text);
  -webkit-tap-highlight-color: rgba(255, 241, 118, 0.55);
}

.main-menu .menu-list a:hover {
  background: rgba(255, 255, 255, 0.35);
}

.main-menu .menu-list a:focus-visible {
  outline: 2px solid var(--pink-button);
  outline-offset: 3px;
}

/* Current page: keep yellow while focused (keyboard) — not only on :hover / :active */
.main-menu .menu-list li.current-menu-item > a:focus,
.main-menu .menu-list li.current-menu-item > a:focus-visible,
.main-menu .menu-list li.current-menu-ancestor > a:focus,
.main-menu .menu-list li.current-menu-ancestor > a:focus-visible,
.main-menu .menu-list li.current_page_item > a:focus,
.main-menu .menu-list li.current_page_parent > a:focus,
.main-menu .menu-list a[aria-current="page"]:focus,
.main-menu .menu-list a[aria-current="page"]:focus-visible {
  background-color: var(--nav-active);
  background: var(--nav-active);
  color: var(--text);
}

.main-menu .current-menu-item > a:hover,
.main-menu .current_page_item > a:hover,
.main-menu .current-menu-ancestor > a:hover,
.main-menu .menu-list a.nav-current:hover {
  background: #ffe94a;
}

.main-menu .current-menu-item > a,
.main-menu .current-menu-ancestor > a,
.main-menu .current_page_item > a,
.main-menu .current_page_parent > a,
.main-menu .menu-list li.current-menu-item > a,
.main-menu .menu-list li.current-menu-ancestor > a,
.main-menu .menu-list li.current_page_item > a,
.main-menu .menu-list li.current_page_parent > a,
.main-menu .menu-list a[aria-current="page"],
.main-menu .menu-list a.nav-current,
.main-menu > a.nav-current {
  background-color: var(--nav-active);
  background: var(--nav-active);
  color: var(--text);
  font-weight: 600;
}

/* Fallback menu (flat links, no ul) */
.main-menu > a {
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 1.08rem;
  color: var(--text);
  text-decoration: none;
}

.main-menu > a:hover {
  background: rgba(255, 255, 255, 0.35);
}

.main-menu > a.nav-current:hover {
  background: #ffe94a;
}

/* Desktop / tablet horizontal nav: keep yellow “you are here” (override drawer/card link styles below 773px). */
@media (min-width: 774px) {
  .site-header .main-menu .menu-list li.current-menu-item > a,
  .site-header .main-menu .menu-list li.current-menu-ancestor > a,
  .site-header .main-menu .menu-list li.current_page_item > a,
  .site-header .main-menu .menu-list li.current_page_parent > a,
  .site-header .main-menu .menu-list .current-menu-item > a,
  .site-header .main-menu .menu-list .current-menu-ancestor > a,
  .site-header .main-menu .menu-list a[aria-current="page"],
  .site-header .main-menu .menu-list a.nav-current {
    background-color: var(--nav-active) !important;
    background: var(--nav-active) !important;
    color: var(--text) !important;
    font-weight: 600;
    border-color: transparent;
    box-shadow: none;
  }

  .site-header .main-menu .menu-list li.current-menu-item > a:focus,
  .site-header .main-menu .menu-list li.current-menu-item > a:focus-visible,
  .site-header .main-menu .menu-list li.current-menu-ancestor > a:focus,
  .site-header .main-menu .menu-list li.current-menu-ancestor > a:focus-visible,
  .site-header .main-menu .menu-list a[aria-current="page"]:focus,
  .site-header .main-menu .menu-list a[aria-current="page"]:focus-visible {
    background-color: var(--nav-active) !important;
    background: var(--nav-active) !important;
    color: var(--text) !important;
  }

  .site-header .main-menu .menu-list li.current-menu-item > a:hover,
  .site-header .main-menu .menu-list li.current_page_item > a:hover,
  .site-header .main-menu .menu-list li.current-menu-ancestor > a:hover,
  .site-header .main-menu .menu-list a.nav-current:hover {
    background-color: #ffe94a !important;
    background: #ffe94a !important;
  }

  .site-header .main-menu > a.nav-current {
    background-color: var(--nav-active) !important;
    background: var(--nav-active) !important;
    color: var(--text) !important;
    font-weight: 600;
  }

  .site-header .main-menu > a.nav-current:hover {
    background-color: #ffe94a !important;
    background: #ffe94a !important;
  }

  /* Press / tap: yellow feedback (restores visible “press” before navigation loads). */
  .site-header .main-menu .menu-list a:active {
    background-color: var(--nav-active) !important;
    background: var(--nav-active) !important;
    color: var(--text) !important;
  }

  .site-header .main-menu .menu-list li.current-menu-item > a:active,
  .site-header .main-menu .menu-list li.current_page_item > a:active,
  .site-header .main-menu .menu-list li.current-menu-ancestor > a:active,
  .site-header .main-menu .menu-list li.current_page_parent > a:active,
  .site-header .main-menu .menu-list a[aria-current="page"]:active,
  .site-header .main-menu .menu-list a.nav-current:active {
    background-color: #fdd835 !important;
    background: #fdd835 !important;
  }

  .site-header .main-menu > a.nav-current:active {
    background-color: #fdd835 !important;
    background: #fdd835 !important;
  }

  /* Stays yellow after click until the next page loads */
  .site-header .main-menu .menu-list a.nav-link--navigating {
    background-color: var(--nav-active) !important;
    background: var(--nav-active) !important;
    color: var(--text) !important;
    font-weight: 600;
  }
}

.site-footer {
  margin-top: 70px;
  background: var(--pink-footer);
  color: #fff;
}

.footer-top-band {
  height: 32px;
  background: var(--pink-band);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 26px;
  padding: 44px 0 26px;
}

.footer-title {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  margin-bottom: 14px;
  color: #fff;
}

.footer-heading {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: #fff;
}

.footer-copy,
.footer-contact {
  font-size: 1.08rem;
  max-width: 330px;
}

.footer-contact a {
  color: #fff;
  text-decoration: underline;
}

.footer-center {
  text-align: center;
}

.social-list {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.social-list a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.social-list a:hover {
  background: rgba(255, 255, 255, 0.3);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  text-align: center;
  padding: 14px 0 18px;
  font-size: 1rem;
}

.home-hero {
  background: var(--pink-header);
  position: relative;
  overflow: hidden;
}

.home-hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 20px;
  align-items: center;
  min-height: 680px;
  position: relative;
  z-index: 2;
}

.home-copy h1 {
  font-family: "Playfair Display", serif;
  font-size: 5rem;
  line-height: 1.08;
  margin-bottom: 20px;
  font-weight: 500;
}

.home-copy h1 em {
  font-style: italic;
  font-weight: 400;
}

.home-copy p {
  font-size: 1.38rem;
  max-width: 580px;
  color: #3f3238;
  margin-bottom: 28px;
}

.btn-primary {
  display: inline-block;
  background: var(--pink-button);
  color: #fff;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: 999px;
  min-width: 190px;
  text-align: center;
}

.btn-primary:hover {
  filter: brightness(0.95);
}

.hero-photo-wrap {
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-photo {
  width: 520px;
  height: 520px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

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

.hero-circle {
  position: absolute;
  border-radius: 50%;
  background: var(--yellow);
  z-index: 1;
}

.hero-circle.one {
  width: 360px;
  height: 360px;
  right: 50px;
  top: 58px;
}

.hero-circle.two {
  width: 280px;
  height: 280px;
  left: 20px;
  bottom: 40px;
}

.home-why {
  padding: 78px 0 72px;
  background: #fffdfb;
}

.section-title {
  text-align: center;
  font-family: "Playfair Display", serif;
  font-size: 3.3rem;
  font-weight: 500;
  margin-bottom: 44px;
}

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

.feature-item {
  text-align: center;
  padding: 10px 18px;
}

.feature-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 18px;
  background: #e79bb0;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
}

.feature-item h3 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  margin-bottom: 10px;
  font-weight: 500;
}

.feature-item p {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 320px;
  margin: 0 auto;
}

.home-cta {
  background: #fffdfb;
  border-top: 26px solid var(--pink-band);
  padding: 66px 0 60px;
  text-align: center;
}

.home-cta h2 {
  font-family: "Playfair Display", serif;
  font-size: 3.8rem;
  font-weight: 500;
  margin-bottom: 10px;
}

.home-cta p {
  color: var(--muted);
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.home-cta .btn-primary {
  margin-top: 18px;
}

/* Recipes archive */
.recipes-page {
  padding: 28px 0 60px;
}

.recipe-toolbar-wrap {
  margin-bottom: 28px;
}

.recipe-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 0;
}

.recipe-search-wrap {
  flex: 1 1 260px;
  max-width: 420px;
  min-width: 200px;
}

.recipe-filters-wrap {
  flex: 2 1 400px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  min-width: 0;
}

.recipe-filters-toggle {
  display: none;
  position: relative;
  z-index: 2;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: 10px;
  background: #fff;
  border: 2px solid #e8dde2;
  box-shadow: var(--shadow);
  cursor: pointer;
  color: var(--text);
  flex-shrink: 0;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
}

.recipe-filters-toggle:hover {
  border-color: var(--pink-button);
}

.recipe-filters-toggle-bars {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  box-shadow: 0 -7px 0 currentColor, 0 7px 0 currentColor;
}

.recipe-filters-panel {
  flex: 1 1 auto;
  min-width: 0;
}

.recipe-filters-scrim {
  display: none;
}

.recipe-filters-wrap .filters,
.recipe-filters-wrap .recipe-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
  margin-bottom: 0;
}

.recipe-search-form {
  width: 100%;
}

.recipe-search-inner {
  display: flex;
  align-items: stretch;
  width: 100%;
  border-radius: 999px;
  background: #fff;
  border: 2px solid #e8dde2;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.recipe-search-inner:focus-within {
  border-color: var(--pink-button);
}

.recipe-search-icon {
  display: flex;
  align-items: center;
  padding-left: 16px;
  color: var(--muted);
  font-size: 1rem;
}

.recipe-search-input {
  flex: 1;
  min-width: 0;
  border: none;
  padding: 12px 12px 12px 8px;
  font-size: 1rem;
  font-family: "Open Sans", sans-serif;
  background: transparent;
  color: var(--text);
}

.recipe-search-input::placeholder {
  color: #9a8e92;
}

.recipe-search-input:focus {
  outline: none;
}

.recipe-search-submit {
  border: none;
  padding: 0 20px;
  background: var(--pink-button);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  font-family: "Open Sans", sans-serif;
  white-space: nowrap;
}

.recipe-search-submit:hover {
  filter: brightness(0.95);
}

.recipe-search-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 24px;
  color: var(--muted);
  font-size: 1.1rem;
}

.recipes-page .navigation.pagination,
.recipes-page .pagination {
  grid-column: 1 / -1;
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.recipes-page .navigation.pagination a,
.recipes-page .navigation.pagination span {
  padding: 8px 14px;
  border-radius: 8px;
  background: #efebe6;
  color: var(--text);
  text-decoration: none;
}

.recipes-page .navigation.pagination .current {
  background: var(--pink-button);
  color: #fff;
}

.recipes-page-title .search-query-term {
  color: var(--pink-button);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.filter-bar,
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 28px;
}

.filter-chip,
.filter-btn {
  -webkit-appearance: none;
  appearance: none;
  border: 2px solid transparent;
  border-radius: 999px;
  background: #efebe6;
  color: #3c3136;
  padding: 10px 20px;
  cursor: pointer;
  font-family: "Open Sans", sans-serif;
  font-size: 1rem;
  outline: none;
  box-shadow: none;
  transition: background 0.15s ease, color 0.15s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
}

a.filter-btn {
  color: #3c3136;
}

a.filter-btn.is-active {
  color: #fff;
}

.filter-btn::-moz-focus-inner {
  border: 0;
}

.filter-btn:hover:not(.is-active) {
  background: #e8e2db;
}

.filter-btn:focus-visible {
  outline: 2px solid var(--pink-button);
  outline-offset: 2px;
}

.filter-chip.active,
.filter-btn.is-active {
  background: var(--pink-button);
  color: #fff;
  border-color: transparent;
}

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

.recipe-card {
  display: block;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.recipe-card img {
  width: 100%;
  height: 270px;
  object-fit: cover;
}

.recipe-card-body {
  padding: 16px 18px 18px;
}

.recipe-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.95rem;
  line-height: 1.16;
  margin-bottom: 10px;
  font-weight: 500;
}

.recipe-card p {
  color: var(--muted);
  font-size: 1.03rem;
  margin-bottom: 14px;
}

.recipe-meta {
  display: flex;
  gap: 8px 10px;
  flex-wrap: wrap;
  align-items: center;
  color: var(--muted);
  font-size: 0.96rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  background: #efd7df;
  color: #8a4b5b;
  line-height: 1.2;
}

.badge-difficulty--easy,
.badge-difficulty--beginner {
  background: #d8edc8;
  color: #3d5c2e;
}

.badge-difficulty--medium,
.badge-difficulty--intermediate {
  background: #fff3c4;
  color: #6b5a1e;
}

.badge-difficulty--hard,
.badge-difficulty--advanced {
  background: #ffd7bf;
  color: #8a4520;
}

.badge-dietary {
  background: #cfe8f7;
  color: #2a5a78;
}

.badge-rating {
  background: #fff8e6;
  color: #6b5420;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 8px;
  max-width: 100%;
}

.hidden-card,
.hidden {
  display: none !important;
}

/* —— Single recipe (matches card + boxed ingredients/instructions) —— */
.recipe-single-container {
  max-width: min(1100px, 100%);
}
.recipe-back-wrap {
  margin: 0 0 8px;
}
.recipe-back-link {
  color: var(--pink-button);
  font-weight: 600;
  text-decoration: none;
}
.recipe-back-link:hover {
  text-decoration: underline;
}

.recipe-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 48px);
  margin-top: 16px;
  margin-bottom: clamp(36px, 5vw, 52px);
  align-items: center;
}

.recipe-hero-col {
  min-width: 0;
}

.recipe-hero-img {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 1 / 1;
  max-height: min(480px, 88vw);
  background: #f5eef1;
}

.recipe-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.recipe-hero-meta {
  min-width: 0;
}

.recipe-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-bottom: 14px;
}

.recipe-tag-row .badge {
  font-size: 0.88rem;
}

.recipe-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  font-family: "Open Sans", sans-serif;
}

.recipe-tag--0 {
  background: #efd7df;
  color: #7a3d4d;
}
.recipe-tag--1 {
  background: #d8edc8;
  color: #3d5c2e;
}
.recipe-tag--2 {
  background: #cfe8f7;
  color: #2a5a78;
}
.recipe-tag--3 {
  background: #fff3c4;
  color: #6b5a1e;
}

.recipe-rating-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-bottom: 12px;
  font-family: "Open Sans", sans-serif;
  font-size: 1rem;
  color: var(--muted);
}

.recipe-stars {
  color: #e6b800;
  letter-spacing: 2px;
  font-size: 1.1rem;
}

.recipe-rating-num {
  font-weight: 700;
  color: var(--text);
}

.recipe-time-inline {
  font-weight: 600;
  color: var(--text);
}

.recipe-single-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 12px;
  color: var(--text);
}

.recipe-single-excerpt {
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 20px;
  max-width: 36em;
}

.recipe-stat-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.recipe-stat-box {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--pink-soft);
  font-size: 1rem;
  color: var(--text);
}

.recipe-rate-count-inline {
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 500;
}

.recipe-rate-count-inline--manual {
  font-style: italic;
}

.recipe-rate-widget {
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(201, 61, 92, 0.12);
  box-shadow: var(--shadow);
}

.recipe-rate-none {
  margin: 0 0 12px;
  font-size: 0.98rem;
  color: var(--muted);
}

.recipe-rate-prompt {
  margin: 0 0 10px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  font-family: "Playfair Display", serif;
}

.recipe-rate-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.recipe-rate-star-btn {
  -webkit-appearance: none;
  appearance: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 2px solid rgba(230, 184, 0, 0.45);
  background: linear-gradient(180deg, #fffef5 0%, #fff8e6 100%);
  color: #e6b800;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.recipe-rate-star-btn--current {
  border-color: var(--pink-button);
  background: linear-gradient(135deg, var(--nav-active) 0%, #ffe082 100%);
  color: #8a6a00;
  box-shadow: 0 2px 10px rgba(232, 234, 132, 0.5);
}

.recipe-rate-star-btn:hover:not(:disabled) {
  transform: scale(1.06);
  border-color: var(--pink-button);
  box-shadow: 0 4px 12px rgba(201, 61, 92, 0.15);
}

.recipe-rate-star-btn:focus-visible {
  outline: 2px solid var(--pink-button);
  outline-offset: 2px;
}

.recipe-rate-star-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.recipe-rate-thanks {
  margin: 0;
  font-size: 0.98rem;
  color: var(--muted);
  font-weight: 600;
}

.recipe-rate-message:not(.screen-reader-text) {
  margin: 12px 0 0;
  font-size: 0.95rem;
  color: var(--pink-button);
}

.recipe-body {
  margin-top: 0;
  padding-bottom: 24px;
}

.recipe-body-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 28px);
  align-items: start;
}

.recipe-detail-card {
  background: #fff;
  border-radius: 16px;
  padding: clamp(22px, 3vw, 28px) clamp(20px, 3vw, 28px);
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.recipe-detail-card h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--text);
}

.recipe-detail-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.recipe-detail-list li {
  margin-bottom: 0.5rem;
}

.recipe-detail-list--numbered {
  padding-left: 1.25rem;
}

.recipe-detail-empty {
  color: var(--muted);
  font-size: 0.98rem;
  margin: 0;
}

.page-content-wrap {
  padding: 32px 0 60px;
  min-height: 40vh;
}

.page-content {
  max-width: 800px;
  margin: 0 auto;
}

/* —— About page —— */
.page-about {
  padding: 0;
}

.page-about.page-content-wrap {
  padding-bottom: 0;
}

.about-story-section {
  background: #fffdfb;
  padding: clamp(36px, 6vw, 56px) 0 clamp(40px, 5vw, 52px);
}

.about-story-inner {
  max-width: min(1100px, 100%);
}

.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}

.about-story-text .about-story-title {
  text-align: left;
}

.about-story-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.2rem, 5vw, 3.3rem);
  font-weight: 500;
  margin-bottom: 28px;
}

.about-story-copy {
  text-align: left;
  max-width: none;
  margin: 0;
}

.about-story-copy p {
  font-size: 1.08rem;
  color: var(--muted);
  margin-bottom: 18px;
  line-height: 1.65;
}

.about-story-photo {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-story-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  min-height: 280px;
  object-fit: cover;
}

.about-values-section {
  padding: clamp(32px, 5vw, 48px) 0;
  background: var(--page-bg);
}

.page-about .value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 3vw, 24px);
}

.page-about .value-card {
  background: var(--pink-card);
  border-radius: 14px;
  text-align: center;
  padding: clamp(22px, 4vw, 28px) clamp(18px, 3vw, 24px);
}

.page-about .value-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: #e79bb0;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.page-about .value-card h3 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  margin-bottom: 10px;
}

.page-about .value-card p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 300px;
  margin: 0 auto;
  line-height: 1.55;
}

.about-gallery-section {
  padding: clamp(24px, 4vw, 40px) 0;
  background: #fffdfb;
}

.about-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 3vw, 24px);
}

.about-gallery-item img {
  width: 100%;
  height: clamp(220px, 32vw, 320px);
  object-fit: cover;
  border-radius: 14px;
}

.about-mission-section {
  padding: clamp(32px, 5vw, 56px) 0 clamp(48px, 8vw, 72px);
  background: var(--page-bg);
}

.page-about .mission-box {
  background: var(--pink-soft);
  border-radius: 14px;
  text-align: center;
  padding: clamp(32px, 5vw, 48px) clamp(24px, 4vw, 70px);
  max-width: 920px;
  margin: 0 auto;
}

.page-about .mission-box h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  margin-bottom: 16px;
}

.page-about .mission-box p {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.65;
  max-width: 720px;
  margin: 0 auto;
}

/* —— Contact page —— */
.page-contact {
  padding: 0;
}

.page-contact.page-content-wrap {
  padding: 0 0 48px;
}

.contact-top {
  background: #fce4ec;
  text-align: center;
  padding: clamp(48px, 8vw, 72px) 20px clamp(40px, 6vw, 56px);
}

.contact-top-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.5rem, 7vw, 4.8rem);
  font-weight: 500;
  margin-bottom: 10px;
}

.contact-top-lead {
  color: var(--muted);
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
}

.contact-page-inner {
  padding: clamp(28px, 4vw, 40px) 0 0;
}

.idea-box-wrap {
  margin-bottom: clamp(20px, 3vw, 28px);
}

.idea-box {
  background: #dce775;
  border-radius: 14px;
  text-align: center;
  padding: clamp(28px, 5vw, 40px) clamp(22px, 4vw, 40px);
}

.idea-box h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.65rem, 4vw, 2.2rem);
  font-weight: 500;
  margin-bottom: 14px;
}

.idea-box p {
  font-size: 1.05rem;
  color: #3f3238;
  margin-bottom: 10px;
  line-height: 1.55;
}

.contact-panels {
  margin-bottom: clamp(20px, 3vw, 28px);
}

.contact-card-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 3vw, 28px);
}

.contact-info-card {
  background: var(--pink-card);
  border-radius: 14px;
  text-align: center;
  padding: clamp(24px, 4vw, 32px) clamp(20px, 3vw, 28px);
}

.contact-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #e79bb0;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 1.25rem;
}

.contact-info-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.contact-info-card p,
.contact-info-card a {
  font-size: 1.05rem;
  color: var(--text);
}

.contact-info-card a {
  color: var(--pink-button);
  text-decoration: underline;
}

.contact-form-media {
  margin-bottom: clamp(24px, 4vw, 32px);
}

.contact-form-media-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 40px);
  align-items: start;
}

.contact-form-media .contact-form-section {
  margin-bottom: 0;
}

.contact-form-media .contact-photo-stack {
  margin-bottom: 0;
}

.contact-form-section {
  margin-bottom: clamp(24px, 4vw, 32px);
}

.contact-form-box {
  background: var(--pink-card);
  border-radius: 14px;
  padding: clamp(26px, 4vw, 34px) clamp(22px, 4vw, 32px);
  box-shadow: var(--shadow);
}

.contact-form-box h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 500;
  text-align: center;
  margin-bottom: 22px;
}

.contact-form .form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.95rem;
}

.contact-form .form-input,
.contact-form .form-textarea {
  width: 100%;
  border: none;
  border-radius: 10px;
  background: #fff;
  padding: 14px 16px;
  margin-bottom: 16px;
  color: var(--text);
}

.contact-form .form-textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form .form-button {
  width: 100%;
  background: #c2185b;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 16px;
  font-weight: 700;
  cursor: pointer;
  font-size: 1rem;
}

.contact-form .form-button:hover {
  filter: brightness(0.95);
}

.contact-form .form-message {
  display: none;
  margin-top: 14px;
  padding: 12px;
  border-radius: 8px;
  text-align: center;
  font-size: 0.95rem;
}

.contact-form .form-message.is-visible {
  display: block;
}

.contact-form .form-message.success {
  background: #e8f5e9;
  color: #1b5e20;
}

/* Contact Form 7 (contact page) */
.contact-form-cf7 .wpcf7 {
  margin: 0;
}

.contact-form-cf7 .wpcf7-form {
  text-align: left;
}

.contact-form-cf7 .wpcf7-form > p {
  margin: 0 0 16px;
}

.contact-form-cf7 label,
.contact-form-cf7 .wpcf7-form-control-wrap {
  display: block;
  margin-bottom: 4px;
}

.contact-form-cf7 .wpcf7-form-control-wrap {
  margin-bottom: 16px;
}

.contact-form-cf7 label .wpcf7-form-control-wrap {
  margin-bottom: 0;
  margin-top: 8px;
}

.contact-form-cf7 .wpcf7-form-control {
  width: 100%;
  border: none;
  border-radius: 10px;
  background: #fff;
  padding: 14px 16px;
  margin-top: 0;
  color: var(--text);
  font-family: "Open Sans", sans-serif;
  font-size: 1rem;
  box-sizing: border-box;
}

.contact-form-cf7 textarea.wpcf7-form-control {
  min-height: 140px;
  resize: vertical;
}

.contact-form-cf7 input[type="submit"].wpcf7-submit,
.contact-form-cf7 input.wpcf7-submit {
  width: 100%;
  background: #c2185b;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 16px;
  font-weight: 700;
  cursor: pointer;
  font-size: 1rem;
  margin-top: 4px;
}

.contact-form-cf7 input[type="submit"].wpcf7-submit:hover,
.contact-form-cf7 input.wpcf7-submit:hover {
  filter: brightness(0.95);
}

.contact-form-cf7 .wpcf7-not-valid-tip {
  font-size: 0.88rem;
  color: #b00020;
  margin-top: 4px;
}

.contact-form-cf7 .wpcf7-response-output {
  margin: 16px 0 0;
  padding: 12px;
  border-radius: 8px;
  font-size: 0.95rem;
  border: none;
}

.contact-form-cf7 .wpcf7-mail-sent-ok {
  background: #e8f5e9;
  color: #1b5e20;
}

.contact-form-cf7 .wpcf7-validation-errors,
.contact-form-cf7 .wpcf7-acceptance-missing {
  background: #ffebee;
  color: #b71c1c;
}

.contact-form-missing {
  margin: 0;
  padding: 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

.contact-photo-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 3vw, 28px);
  margin-bottom: clamp(24px, 4vw, 32px);
}

@media (min-width: 1101px) {
  .contact-form-media .contact-photo-stack {
    position: sticky;
    top: 100px;
  }
}

.contact-photo-stack img {
  width: 100%;
  height: auto;
  min-height: 160px;
  max-height: min(340px, 40vh);
  object-fit: cover;
  border-radius: 14px;
}

.business-wrap {
  padding-bottom: 8px;
}

.business-box {
  background: var(--pink-soft);
  border-radius: 14px;
  text-align: center;
  padding: clamp(32px, 5vw, 42px) clamp(22px, 4vw, 32px);
}

.business-box h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 500;
  margin-bottom: 14px;
}

.business-box p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto;
}

.business-box strong a {
  color: #a14358;
}

@media (max-width: 1100px) {
  .home-hero .container,
  .footer-main,
  .feature-grid,
  .recipes-grid,
  .recipe-grid,
  .recipe-detail-layout,
  .recipe-body-grid,
  .page-about .value-grid,
  .about-gallery-grid,
  .about-story-grid,
  .contact-form-media-inner,
  .contact-card-row {
    grid-template-columns: 1fr;
  }

  .recipe-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  /* Row flex-basis values (260px / 400px) apply to height in a column; reset so search + filters stay compact. */
  .recipe-search-wrap {
    flex: 0 0 auto;
    max-width: none;
    min-width: 0;
  }

  .recipe-filters-wrap {
    flex: 0 0 auto;
    min-width: 0;
  }

  .recipe-filters-wrap .filters,
  .recipe-filters-wrap .recipe-filters {
    justify-content: center;
  }

  .about-story-text .about-story-title,
  .about-story-copy {
    text-align: center;
  }

  .about-story-copy {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
  }

  .about-story-photo img {
    aspect-ratio: 16 / 10;
    min-height: 220px;
    max-height: 360px;
  }

  .contact-photo-stack img {
    max-height: none;
    aspect-ratio: 16 / 10;
  }

  .recipe-detail-layout {
    align-items: start;
  }

  .recipe-hero-img {
    max-height: none;
    aspect-ratio: 4 / 3;
  }

  .site-nav {
    flex-direction: column;
  }

  .main-menu .menu-list {
    justify-content: center;
  }

  .home-copy {
    text-align: center;
  }

  .home-copy p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-circle.one {
    right: 10%;
    top: 170px;
  }

  .hero-circle.two {
    left: 10%;
    bottom: 20px;
  }
}

@media (max-width: 768px) {
  .home-copy h1 {
    font-size: 3.3rem;
  }

  .hero-photo {
    width: 320px;
    height: 320px;
  }

  .hero-circle.one {
    width: 220px;
    height: 220px;
    right: -20px;
    top: 210px;
  }

  .hero-circle.two {
    width: 180px;
    height: 180px;
    left: -10px;
    bottom: 10px;
  }

  .section-title,
  .home-cta h2 {
    font-size: 2.4rem;
  }

  .contact-top {
    padding: 40px 16px 36px;
  }

  .idea-box {
    padding: 26px 18px;
  }

  .contact-form-box {
    padding: 24px 18px;
  }

  .page-about .mission-box {
    padding: 28px 20px;
  }

  .about-gallery-item img {
    height: 220px;
  }
}

@media (max-width: 773px) {
  .site-nav {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .site-nav-toggle {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.55);
    border: 2px solid rgba(255, 255, 255, 0.75);
    box-shadow: var(--shadow);
    color: #7c3344;
  }

  .site-nav-toggle:hover {
    background: #fff;
    border-color: #fff;
  }

  .site-nav-toggle-bars {
    background: #7c3344;
    box-shadow: 0 -7px 0 #7c3344, 0 7px 0 #7c3344;
  }

  .logo-link img {
    height: 72px;
  }

  .site-nav-drawer-heading {
    display: block;
    font-family: "Playfair Display", serif;
    font-size: 1.65rem;
    font-weight: 600;
    color: #7c3344;
    margin: 0 0 6px;
    padding-bottom: 14px;
    border-bottom: 3px solid var(--yellow);
    letter-spacing: 0.02em;
  }

  .site-nav-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: min(300px, 86vw);
    height: 100%;
    min-height: 100dvh;
    z-index: 100002;
    background: linear-gradient(165deg, var(--pink-soft) 0%, #fffdfb 42%, var(--page-bg) 100%);
    border-right: 1px solid rgba(201, 61, 92, 0.15);
    box-shadow: 8px 0 36px rgba(42, 32, 37, 0.1);
    padding: 24px 20px 32px;
    padding-top: calc(24px + env(safe-area-inset-top));
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    justify-content: flex-start;
    flex: none;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  #site-nav-drawer:checked ~ .container .site-nav-panel {
    transform: translateX(0);
    pointer-events: auto;
  }

  .site-nav-panel .main-menu {
    justify-content: flex-start;
    flex: 1;
  }

  .main-menu .menu-list {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 10px;
  }

  .main-menu .menu-list li {
    margin: 0;
  }

  .main-menu .menu-list a {
    display: block;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(201, 61, 92, 0.12);
    box-shadow: 0 2px 8px rgba(42, 32, 37, 0.04);
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    -webkit-tap-highlight-color: rgba(255, 241, 118, 0.5);
  }

  .main-menu .menu-list a:hover {
    background: #fff;
    border-color: rgba(201, 61, 92, 0.28);
    box-shadow: 0 4px 14px rgba(201, 61, 92, 0.1);
  }

  .main-menu .menu-list a:active {
    background: var(--nav-active) !important;
    border-color: rgba(201, 61, 92, 0.3);
    box-shadow: 0 2px 10px rgba(232, 234, 132, 0.45);
  }

  .main-menu .current-menu-item > a,
  .main-menu .current-menu-ancestor > a,
  .main-menu .current_page_item > a,
  .main-menu .current_page_parent > a,
  .main-menu .menu-list a[aria-current="page"],
  .main-menu .menu-list a.nav-current,
  .main-menu > a.nav-current {
    background: linear-gradient(135deg, var(--nav-active) 0%, #ffe082 100%);
    border-color: rgba(201, 61, 92, 0.2);
    color: var(--text);
    box-shadow: 0 4px 12px rgba(232, 234, 132, 0.45);
  }

  .main-menu .menu-list a[aria-current="page"]:focus,
  .main-menu .menu-list a[aria-current="page"]:focus-visible,
  .main-menu .menu-list a.nav-current:focus,
  .main-menu .menu-list a.nav-current:focus-visible,
  .main-menu .current-menu-item > a:focus,
  .main-menu .current-menu-item > a:focus-visible,
  .main-menu .current-menu-ancestor > a:focus,
  .main-menu .current-menu-ancestor > a:focus-visible {
    background: linear-gradient(135deg, var(--nav-active) 0%, #ffe082 100%);
    color: var(--text);
  }

  .main-menu .current-menu-item > a:hover,
  .main-menu .current_page_item > a:hover,
  .main-menu .current-menu-ancestor > a:hover,
  .main-menu .current_page_parent > a:hover,
  .main-menu .menu-list a[aria-current="page"]:hover,
  .main-menu .menu-list a.nav-current:hover {
    background: linear-gradient(135deg, #ffe94a 0%, var(--nav-active) 100%);
  }

  .main-menu .menu-list a.nav-link--navigating {
    background: linear-gradient(135deg, var(--nav-active) 0%, #ffe082 100%) !important;
    border-color: rgba(201, 61, 92, 0.2) !important;
    color: var(--text) !important;
    box-shadow: 0 4px 12px rgba(232, 234, 132, 0.45) !important;
  }

  .main-menu > a {
    display: block;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(201, 61, 92, 0.12);
    box-shadow: 0 2px 8px rgba(42, 32, 37, 0.04);
    text-decoration: none;
  }

  .main-menu > a:hover {
    background: #fff;
    border-color: rgba(201, 61, 92, 0.28);
    box-shadow: 0 4px 14px rgba(201, 61, 92, 0.1);
  }

  #site-nav-drawer:checked ~ .site-nav-scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 100001;
    background: rgba(42, 32, 37, 0.28);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    opacity: 1;
    visibility: visible;
  }

  body:has(#site-nav-drawer:checked),
  body:has(#recipe-filters-drawer:checked) {
    overflow: hidden;
  }

  .recipe-toolbar {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .recipe-search-wrap {
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
  }

  .recipe-filters-wrap {
    flex: 0 0 auto;
    justify-content: flex-end;
  }

  .recipe-filters-toggle {
    display: inline-flex;
    background: #fff;
    border: 2px solid #e8dde2;
    box-shadow: var(--shadow);
    color: #7c3344;
  }

  .recipe-filters-toggle:hover {
    border-color: var(--pink-button);
    background: var(--pink-soft);
  }

  .recipe-filters-toggle-bars {
    background: #7c3344;
    box-shadow: 0 -7px 0 #7c3344, 0 7px 0 #7c3344;
  }

  .recipe-filters-drawer-heading {
    display: block;
    font-family: "Playfair Display", serif;
    font-size: 1.65rem;
    font-weight: 600;
    color: #7c3344;
    margin: 0 0 6px;
    padding-bottom: 14px;
    border-bottom: 3px solid var(--yellow);
    letter-spacing: 0.02em;
  }

  .recipe-filters-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: min(300px, 88vw);
    height: 100%;
    min-height: 100dvh;
    z-index: 100002;
    background: linear-gradient(195deg, var(--pink-soft) 0%, #fffdfb 42%, var(--page-bg) 100%);
    border-left: 1px solid rgba(201, 61, 92, 0.15);
    box-shadow: -8px 0 36px rgba(42, 32, 37, 0.1);
    padding: 24px 20px 32px;
    padding-top: calc(24px + env(safe-area-inset-top));
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    flex: none;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  #recipe-filters-drawer:checked ~ .recipe-toolbar .recipe-filters-panel {
    transform: translateX(0);
    pointer-events: auto;
  }

  .recipe-filters-wrap .filters,
  .recipe-filters-wrap .recipe-filters {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 12px;
    margin-bottom: 0;
  }

  .recipe-filters-panel .filter-btn {
    width: 100%;
    justify-content: center;
    border-radius: 12px;
    font-weight: 600;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(201, 61, 92, 0.12);
    box-shadow: 0 2px 8px rgba(42, 32, 37, 0.04);
  }

  .recipe-filters-panel .filter-btn:hover:not(.is-active) {
    background: #fff;
    border-color: rgba(201, 61, 92, 0.28);
    box-shadow: 0 4px 14px rgba(201, 61, 92, 0.1);
  }

  .recipe-filters-panel .filter-btn.is-active {
    background: linear-gradient(135deg, var(--pink-button) 0%, #d84a6b 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(201, 61, 92, 0.35);
  }

  #recipe-filters-drawer:checked ~ .recipe-filters-scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 100001;
    background: rgba(42, 32, 37, 0.28);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    opacity: 1;
    visibility: visible;
  }
}
