/* =============================================
   EV TATLI MUTFAĞI — style.css
   Patisserie atölyesi: mermer + altın yansıma
   ============================================= */

/* --- Custom Properties --- */
:root {
  --color-cream: #FAF6F0;
  --color-cream-dark: #F0E8DA;
  --color-graphite: #2E2E2E;
  --color-graphite-light: #4A4A4A;
  --color-graphite-muted: #6B6B6B;
  --color-gold: #C8A85A;
  --color-gold-dark: #A8884A;
  --color-gold-light: #E0C97A;
  --color-gold-gradient: linear-gradient(135deg, #C8A85A 0%, #E0C97A 50%, #A8884A 100%);
  --color-pistachio: #7B9A6D;
  --color-pistachio-dark: #5E7D52;
  --color-cherry: #9B3A50;
  --color-cherry-dark: #7A2C3E;
  --color-white: #FFFFFF;
  --color-border: #E0D8CA;
  --color-border-light: #EDE7DB;
  --color-shadow: rgba(46, 46, 46, 0.08);
  --color-shadow-md: rgba(46, 46, 46, 0.12);
  --color-overlay: rgba(46, 46, 46, 0.55);

  --font-main: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-heading: Georgia, "Times New Roman", serif;

  --container-max: 1140px;
  --container-narrow: 820px;
  --radius: 8px;
  --radius-lg: 14px;
  --transition: 0.3s ease;

  --header-height: 72px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  color: var(--color-graphite);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  /* Marble background effect */
  background-color: var(--color-cream);
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(224, 216, 202, 0.4) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(200, 168, 90, 0.06) 0%, transparent 40%),
    radial-gradient(ellipse at 60% 80%, rgba(224, 216, 202, 0.3) 0%, transparent 45%),
    linear-gradient(160deg, transparent 30%, rgba(240, 232, 218, 0.5) 50%, transparent 70%);
}

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

a {
  color: var(--color-gold-dark);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-cherry);
}

a:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
  border-radius: 2px;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-graphite);
  line-height: 1.3;
}

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--color-gold);
  color: var(--color-white);
  padding: 8px 18px;
  border-radius: var(--radius);
  font-weight: 600;
  z-index: 10000;
  transition: top var(--transition);
}

.skip-link:focus {
  top: 10px;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: var(--container-narrow);
}

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(250, 246, 240, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border-light);
  height: var(--header-height);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-graphite);
  font-weight: 700;
  text-decoration: none;
  transition: transform var(--transition), filter var(--transition);
}

.site-logo:hover {
  transform: scale(1.04);
  filter: drop-shadow(0 2px 8px rgba(200, 168, 90, 0.35));
}

.site-logo img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
}

.site-logo span {
  background: var(--color-gold-gradient);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: background-position 0.6s ease;
}

.site-logo:hover span {
  background-position: 100% 0;
}

/* --- Navigation --- */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-list a {
  display: block;
  padding: 8px 14px;
  font-size: 0.9rem;
  color: var(--color-graphite-light);
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
}

.nav-list a:hover,
.nav-list a.active {
  background: rgba(200, 168, 90, 0.12);
  color: var(--color-gold-dark);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--color-border);
  width: 40px;
  height: 36px;
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--color-graphite);
  position: relative;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px;
}

.nav-toggle-line {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-graphite);
  border-radius: 1px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

/* Mobile nav */
@media (max-width: 960px) {
  .nav-toggle {
    display: flex;
  }

  .nav-list {
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--color-cream);
    border-bottom: 1px solid var(--color-border);
    padding: 0 24px;
    gap: 2px;
    box-shadow: 0 8px 24px var(--color-shadow-md);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
  }

  .nav-list.open {
    max-height: 500px;
    opacity: 1;
    padding: 12px 24px;
  }

  .nav-list a {
    padding: 10px 16px;
    width: 100%;
  }

  /* Hamburger → X animation */
  .nav-toggle.active .nav-toggle-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.active .nav-toggle-line:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active .nav-toggle-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* --- Breadcrumbs --- */
.breadcrumb {
  padding: 16px 0 8px;
  font-size: 0.85rem;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--color-graphite-muted);
}

.breadcrumb li + li::before {
  content: "›";
  color: var(--color-border);
  margin-right: 2px;
}

.breadcrumb a {
  color: var(--color-graphite-muted);
  font-size: 0.85rem;
}

.breadcrumb a:hover {
  color: var(--color-gold-dark);
}

.breadcrumb .current {
  color: var(--color-gold-dark);
  font-weight: 500;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  padding: 60px 0;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(250,246,240,0.9) 0%, rgba(240,232,218,0.85) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.hero h1 em {
  font-style: normal;
  background: var(--color-gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  color: var(--color-graphite-light);
  max-width: 600px;
  margin: 0 auto 28px;
}

.hero-img {
  border-radius: var(--radius-lg);
  margin: 24px auto 0;
  max-width: 100%;
  width: 680px;
  box-shadow: 0 12px 40px var(--color-shadow-md);
  border: 3px solid rgba(200, 168, 90, 0.2);
}

/* --- Section --- */
.section {
  padding: 48px 0;
}

.section-title {
  font-size: 1.8rem;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: var(--color-gold-gradient);
  border-radius: 2px;
  margin-top: 8px;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--color-graphite-light);
  margin-bottom: 32px;
  max-width: 700px;
}

/* --- Card Grid --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 24px;
}

.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border-light);
  box-shadow: 0 4px 16px var(--color-shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px var(--color-shadow-md);
}

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 2px solid rgba(200, 168, 90, 0.15);
}

.card-body {
  padding: 22px;
}

.card-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.card-tag--gold {
  background: rgba(200, 168, 90, 0.15);
  color: var(--color-gold-dark);
}

.card-tag--pistachio {
  background: rgba(123, 154, 109, 0.15);
  color: var(--color-pistachio-dark);
}

.card-tag--cherry {
  background: rgba(155, 58, 80, 0.12);
  color: var(--color-cherry);
}

.card-title {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.card-title a {
  color: var(--color-graphite);
}

.card-title a:hover {
  color: var(--color-gold-dark);
}

.card-desc {
  font-size: 0.92rem;
  color: var(--color-graphite-light);
  margin-bottom: 14px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-gold-dark);
}

.card-link::after {
  content: "";
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--color-gold-dark);
  vertical-align: middle;
  transition: width var(--transition);
}

.card-link:hover::after {
  width: 26px;
}

/* --- Page Content --- */
.page-content {
  padding: 32px 0 60px;
}

.page-content h1 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.page-content h2 {
  font-size: 1.5rem;
  margin: 36px 0 14px;
}

.page-content h3 {
  font-size: 1.2rem;
  margin: 28px 0 10px;
}

.page-content p {
  margin-bottom: 16px;
}

.page-content ul,
.page-content ol {
  margin: 0 0 18px 24px;
}

.page-content ul {
  list-style: disc;
}

.page-content ol {
  list-style: decimal;
}

.page-content li {
  margin-bottom: 6px;
  padding-left: 4px;
}

main .container--narrow img {
  border-radius: var(--radius);
  margin-top: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px var(--color-shadow);
}

/* --- Page Intro (category/guide pages) --- */
.page-intro {
  text-align: center;
  padding-bottom: 36px;
  margin-bottom: 8px;
}

.page-intro .section-title {
  font-size: 2.2rem;
}

.page-intro .section-title::after {
  margin-left: auto;
  margin-right: auto;
}

.page-intro .section-lead {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.1rem;
}

.page-intro p:not(.section-lead) {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.page-intro img {
  margin-left: auto;
  margin-right: auto;
  margin-top: 28px;
  max-width: 100%;
  width: 680px;
  border: 3px solid rgba(200, 168, 90, 0.18);
  box-shadow: 0 10px 36px var(--color-shadow-md);
  border-radius: var(--radius-lg);
}

/* --- About Section --- */
.about-section {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin: 24px 0;
  border: 1px solid var(--color-border-light);
  box-shadow: 0 4px 16px var(--color-shadow);
}

.about-section .section-title {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.about-section p {
  margin-bottom: 12px;
  line-height: 1.8;
}

.about-section p:last-child {
  margin-bottom: 0;
}

/* --- Recipe Block --- */
.recipe-block {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin: 32px 0;
  border: 1px solid var(--color-border-light);
  box-shadow: 0 4px 16px var(--color-shadow);
}

.recipe-block h3 {
  font-size: 1.35rem;
  margin: 0 0 8px;
  color: var(--color-gold-dark);
}

.recipe-meta {
  display: flex;
  gap: 18px;
  margin-bottom: 18px;
  font-size: 0.88rem;
  color: var(--color-graphite-muted);
}

.recipe-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.recipe-section-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-graphite);
  margin: 22px 0 10px;
  padding-bottom: 6px;
  border-bottom: 2px solid rgba(200, 168, 90, 0.2);
}

/* --- Tip & Warning Blocks --- */
.tip-block,
.warning-block {
  padding: 18px 22px;
  border-radius: var(--radius);
  margin: 20px 0;
  font-size: 0.95rem;
  position: relative;
  padding-left: 52px;
}

.tip-block::before,
.warning-block::before {
  position: absolute;
  left: 14px;
  top: 16px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  line-height: 1;
}

.tip-block {
  background: rgba(123, 154, 109, 0.1);
  border-left: 4px solid var(--color-pistachio);
}

.tip-block::before {
  content: "i";
  background: var(--color-pistachio);
  color: var(--color-white);
  font-style: italic;
  font-family: var(--font-heading);
}

.warning-block {
  background: rgba(155, 58, 80, 0.08);
  border-left: 4px solid var(--color-cherry);
}

.warning-block::before {
  content: "!";
  background: var(--color-cherry);
  color: var(--color-white);
}

.tip-block strong,
.warning-block strong {
  display: block;
  margin-bottom: 4px;
}

/* --- FAQ / Accordion --- */
.faq-list {
  margin: 24px 0;
}

.faq-item {
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
  background: var(--color-white);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: none;
  border: none;
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-graphite);
  cursor: pointer;
  text-align: left;
  transition: background var(--transition);
}

.faq-question:hover {
  background: rgba(200, 168, 90, 0.06);
}

.faq-question:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: -2px;
}

.faq-question .faq-icon {
  font-size: 1.2rem;
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 12px;
  color: var(--color-gold);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer-inner {
  padding: 0 20px 18px;
  font-size: 0.95rem;
  color: var(--color-graphite-light);
  line-height: 1.7;
}

/* --- Related Links --- */
.related-links {
  margin: 40px 0 0;
  padding: 24px 28px;
  background: rgba(200, 168, 90, 0.06);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(200, 168, 90, 0.15);
}

.related-links h3 {
  font-size: 1.1rem;
  margin: 0 0 14px;
  color: var(--color-gold-dark);
}

.related-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.related-links li a {
  display: inline-block;
  padding: 6px 16px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  font-size: 0.88rem;
  color: var(--color-graphite-light);
  transition: all var(--transition);
}

.related-links li a:hover {
  border-color: var(--color-gold);
  color: var(--color-gold-dark);
  background: rgba(200, 168, 90, 0.08);
}

/* --- Contact Form Card --- */
.form-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  margin: 32px 0;
  border: 1px solid var(--color-border-light);
  box-shadow: 0 6px 24px var(--color-shadow);
  position: relative;
  overflow: hidden;
}

.form-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--color-gold-gradient);
}

.form-card h2 {
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.form-card .form-lead {
  color: var(--color-graphite-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .form-card {
    padding: 24px 18px;
  }
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.92rem;
  color: var(--color-graphite);
}

.form-label .required {
  color: var(--color-cherry);
  margin-left: 2px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-family: var(--font-main);
  font-size: 0.95rem;
  color: var(--color-graphite);
  background: var(--color-white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(200, 168, 90, 0.15);
}

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

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.form-check input[type="checkbox"] {
  margin-top: 4px;
  accent-color: var(--color-gold);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.form-check label {
  font-size: 0.9rem;
  color: var(--color-graphite-light);
  cursor: pointer;
}

.form-msg {
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 0.92rem;
  margin-top: 16px;
  display: none;
}

.form-msg--success {
  background: rgba(123, 154, 109, 0.12);
  color: var(--color-pistachio-dark);
  border: 1px solid rgba(123, 154, 109, 0.3);
  display: block;
}

.form-msg--error {
  background: rgba(155, 58, 80, 0.08);
  color: var(--color-cherry-dark);
  border: 1px solid rgba(155, 58, 80, 0.2);
  display: block;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

.btn--gold {
  background: var(--color-gold-gradient);
  color: var(--color-white);
}

.btn--gold:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(200, 168, 90, 0.3);
}

.btn--cherry {
  background: var(--color-cherry);
  color: var(--color-white);
}

.btn--cherry:hover {
  background: var(--color-cherry-dark);
}

.btn--outline {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-graphite-light);
}

.btn--outline:hover {
  border-color: var(--color-gold);
  color: var(--color-gold-dark);
}

/* hidden honeypot */
.dn { display: none !important; }

/* --- Contact Info --- */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 28px 0;
}

.contact-item {
  padding: 20px;
  background: var(--color-white);
  border-radius: var(--radius);
  border: 1px solid var(--color-border-light);
}

.contact-item strong {
  display: block;
  margin-bottom: 4px;
  color: var(--color-gold-dark);
  font-size: 0.9rem;
}

.contact-item span {
  font-size: 0.92rem;
  color: var(--color-graphite-light);
}

/* --- Footer --- */
.site-footer {
  margin-top: auto;
  background: var(--color-graphite);
  color: rgba(255, 255, 255, 0.7);
  padding: 48px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-gold-light);
  margin-bottom: 12px;
  font-weight: 700;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 360px;
}

.footer-heading {
  font-family: var(--font-heading);
  color: var(--color-cream);
  font-size: 1rem;
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--color-gold-light);
}

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

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* --- Cookie Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-white);
  border-top: 2px solid var(--color-gold);
  padding: 22px 24px;
  z-index: 9999;
  box-shadow: 0 -4px 20px var(--color-shadow-md);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner-inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

.cookie-banner h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.cookie-banner p {
  font-size: 0.9rem;
  color: var(--color-graphite-light);
  margin-bottom: 16px;
}

.cookie-banner p a {
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-actions .btn {
  font-size: 0.88rem;
  padding: 10px 22px;
}

/* Cookie Settings Modal */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: var(--color-overlay);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
}

.cookie-modal-overlay.visible {
  display: flex;
}

.cookie-modal {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  max-width: 520px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 32px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.15);
}

.cookie-modal h3 {
  font-size: 1.15rem;
  margin-bottom: 16px;
}

.cookie-category {
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border-light);
}

.cookie-category:last-of-type {
  border-bottom: none;
}

.cookie-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cookie-category-header strong {
  font-size: 0.95rem;
}

.cookie-category p {
  font-size: 0.85rem;
  color: var(--color-graphite-muted);
  margin-top: 4px;
}

/* Toggle switch */
.toggle {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: var(--color-border);
  border-radius: 24px;
  transition: background var(--transition);
}

.toggle-slider::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 18px;
  height: 18px;
  background: var(--color-white);
  border-radius: 50%;
  transition: transform var(--transition);
}

.toggle input:checked + .toggle-slider {
  background: var(--color-pistachio);
}

.toggle input:checked + .toggle-slider::before {
  transform: translateX(20px);
}

.toggle input:disabled + .toggle-slider {
  opacity: 0.6;
  cursor: not-allowed;
}

.toggle input:focus-visible + .toggle-slider {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

.cookie-modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.cookie-modal-actions .btn {
  flex: 1;
}

/* --- Table (for allergen info etc.) --- */
.content-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border-light);
}

.content-table th,
.content-table td {
  padding: 12px 16px;
  text-align: left;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--color-border-light);
}

.content-table th {
  background: rgba(200, 168, 90, 0.08);
  font-weight: 600;
  color: var(--color-graphite);
}

.content-table tr:last-child td {
  border-bottom: none;
}

/* --- Gold Divider --- */
.divider {
  width: 60px;
  height: 3px;
  background: var(--color-gold-gradient);
  border: none;
  border-radius: 2px;
  margin: 32px 0;
}

/* --- Steps list (recipe) --- */
.steps-list {
  counter-reset: step;
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}

.steps-list li {
  counter-increment: step;
  position: relative;
  padding: 12px 0 12px 48px;
  border-bottom: 1px solid var(--color-border-light);
}

.steps-list li:last-child {
  border-bottom: none;
}

.steps-list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-gold-gradient);
  color: var(--color-white);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Ingredients list --- */
.ingredients-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  columns: 2;
  column-gap: 24px;
}

.ingredients-list li {
  padding: 6px 0 6px 22px;
  position: relative;
  break-inside: avoid;
}

.ingredients-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-gold);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.5;
}

@media (max-width: 520px) {
  .ingredients-list {
    columns: 1;
  }
}

/* --- Utility --- */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }

/* --- Responsive --- */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

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

  .section-title {
    font-size: 1.5rem;
  }

  .page-intro .section-title {
    font-size: 1.7rem;
  }

  .page-content h1 {
    font-size: 1.6rem;
  }

  .page-content h2 {
    font-size: 1.3rem;
  }

  .page-content {
    padding: 20px 0 40px;
  }

  .page-intro {
    padding-bottom: 24px;
  }

  .page-intro img {
    margin-top: 20px;
  }

  .recipe-block {
    padding: 20px 16px;
  }

  .about-section {
    padding: 20px 18px;
  }

  .card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }

  .recipe-meta {
    flex-wrap: wrap;
  }

  .tip-block,
  .warning-block {
    padding-left: 44px;
  }

  .content-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .section {
    padding: 32px 0;
  }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .card:hover {
    transform: none;
  }

  .btn--gold:hover {
    transform: none;
  }

  .cookie-banner {
    transition: none;
  }
}

/* --- Print --- */
@media print {
  .site-header,
  .site-footer,
  .cookie-banner,
  .cookie-modal-overlay,
  .breadcrumb,
  .related-links {
    display: none;
  }

  body {
    background: white;
    color: black;
  }
}
