/*
Theme Name: Marrakech Vegan Breakfast Clean
Theme URI: https://marrakechveganbreakfast.com/
Author: Marrakech Vegan Breakfast
Description: Custom WordPress theme for vegan breakfast delivery in Marrakech.
Version: 1.0
Text Domain: marrakech-vegan-breakfast-clean
*/

/* GLOBAL FIXES */
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

* {
    box-sizing: border-box;
}

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

/* MAIN CONTAINERS */
.container,
.section,
.booking-form,
.booking-wrapper,
.booking-container,
.form-container,
.card,
.wp-block-group {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* HEADER */
header {
    width: 100%;
}

.logo img {
    max-width: 70px;
}

/* FLOATING BOOK BUTTON */
.book-now-fixed,
.floating-book-btn {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 999;
}

/* FEATURE ICON SECTION - DESKTOP */
.hero-meta.custom-features {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 14px !important;
    margin-top: 25px !important;
    width: 100% !important;
}

.hero-meta.custom-features .feature-card {
    min-width: 0 !important;
    min-height: 86px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 8px !important;

    background: rgba(255,255,255,.78) !important;
    border: 1px solid rgba(78,130,75,.10) !important;
    border-radius: 18px !important;
    padding: 10px 8px !important;
    box-shadow: 0 6px 16px rgba(0,0,0,.04) !important;
}

.hero-meta.custom-features .feature-card img {
    width: 36px !important;
    height: 36px !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
    margin: 0 auto !important;
}

.hero-meta.custom-features .feature-card span {
    display: block !important;
    color: #50604d !important;
    font-size: 13px !important;
    line-height: 1.25 !important;
    font-weight: 600 !important;
}

/* MOBILE OPTIMIZATION */
@media (max-width: 768px) {

  body {
    overflow-x: hidden;
    padding-bottom: 150px !important;
  }

  .container,
  .hero,
  section,
  .wrapper {
    width: 100% !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box;
  }

  h1 {
    font-size: 42px !important;
    line-height: 1.1 !important;
    margin-bottom: 20px !important;
  }

  h2 {
    font-size: 32px !important;
    line-height: 1.2 !important;
  }

  p {
    font-size: 18px !important;
    line-height: 1.7 !important;
  }

  button,
  .btn,
  .button,
  a.button {
    width: 100% !important;
    display: block !important;
    text-align: center !important;
    padding: 18px 24px !important;
    border-radius: 999px !important;
    font-size: 18px !important;
  }

  .card,
  .box,
  .booking-card {
    width: 100% !important;
    border-radius: 28px !important;
  }

  header {
    padding: 15px 20px !important;
  }

  img {
    max-width: 100% !important;
    height: auto !important;
  }

  /* FEATURE ICONS MOBILE */
  .hero-meta.custom-features {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    margin-top: 24px !important;
  }

  .hero-meta.custom-features .feature-card {
    width: 100% !important;
    min-height: auto !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    text-align: left !important;
    padding: 14px 18px !important;
    border-radius: 999px !important;
  }

  .hero-meta.custom-features .feature-card img {
    width: 42px !important;
    height: 42px !important;
    margin: 0 !important;
  }

  .hero-meta.custom-features .feature-card span {
    font-size: 1rem !important;
    line-height: 1.35 !important;
  }

  /* BOOKING FORM FIX */
  .booking-form,
  .form-section,
  form {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    overflow: visible !important;
    margin-bottom: 140px !important;
  }

  /* WHATSAPP / BOOK NOW BUTTON FIX */
  .floating-button,
  .book-now,
  .whatsapp-button,
  .whatsapp-fixed,
  a[href*="wa.me"],
  a[href*="whatsapp"] {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: fixed !important;
    right: 18px !important;
    bottom: 90px !important;
    z-index: 999999 !important;
    width: auto !important;
    max-width: 180px !important;
    padding: 14px 24px !important;
    border-radius: 999px !important;
  }
}
/* PREMIUM COOKBOOK SECTION FIX */
.cookbook-section {
  padding: 90px 20px !important;
  background: linear-gradient(180deg, #fbf8f1 0%, #f1eadc 100%) !important;
}

.cookbook-container {
  width: min(92%, 1120px) !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: 1.05fr 0.95fr !important;
  gap: 46px !important;
  align-items: center !important;
  padding: 46px !important;
  border-radius: 34px !important;
  background: #fffaf0 !important;
  border: 1px solid rgba(78,130,75,.12) !important;
  box-shadow: 0 26px 70px rgba(35,45,35,.13) !important;
  overflow: hidden !important;
}

.cookbook-text h2 {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: clamp(2.7rem, 5vw, 4.8rem) !important;
  line-height: .95 !important;
  color: #1f3d2d !important;
  margin-bottom: 18px !important;
}

.cookbook-badge {
  display: inline-block !important;
  background: #214d36 !important;
  color: #fff !important;
  padding: 9px 16px !important;
  border-radius: 999px !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  margin-bottom: 18px !important;
}

.cookbook-text p {
  color: #5d6658 !important;
  font-size: 17px !important;
  line-height: 1.7 !important;
  margin-bottom: 22px !important;
}

.cookbook-list {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 10px 18px !important;
  padding: 0 !important;
  margin: 24px 0 !important;
}

.cookbook-list li {
  list-style: none !important;
  color: #314734 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}

.cookbook-price {
  font-size: 42px !important;
  font-weight: 900 !important;
  color: #214d36 !important;
}

.cookbook-btn {
  display: inline-block !important;
  background: linear-gradient(135deg, #4e824b, #214d36) !important;
  color: #fff !important;
  padding: 15px 28px !important;
  border-radius: 999px !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  margin-top: 12px !important;
}

.cookbook-image img {
  width: 100% !important;
  max-width: 330px !important;
  margin: 0 auto !important;
  border-radius: 18px !important;
  box-shadow: 0 24px 55px rgba(35,45,35,.24) !important;
}

@media (max-width: 768px) {
  .cookbook-section {
    padding: 60px 18px !important;
  }

  .cookbook-container {
    grid-template-columns: 1fr !important;
    padding: 28px 20px !important;
    text-align: center !important;
    gap: 28px !important;
  }

  .cookbook-image {
    order: -1 !important;
  }

  .cookbook-image img {
    max-width: 230px !important;
  }

  .cookbook-text h2 {
    font-size: 38px !important;
  }

  .cookbook-list {
    grid-template-columns: 1fr !important;
    text-align: left !important;
    max-width: 330px !important;
    margin: 22px auto !important;
  }

  .cookbook-btn {
    width: 100% !important;
    text-align: center !important;
  }
}
body .cookbook-section,
body section.cookbook-section {
  padding: 80px 20px !important;
  background: #f4eee3 !important;
}

body .cookbook-container {
  width: min(92%, 1120px) !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: 1fr 360px !important;
  gap: 45px !important;
  align-items: center !important;
  background: #fffaf0 !important;
  padding: 45px !important;
  border-radius: 32px !important;
  box-shadow: 0 25px 60px rgba(0,0,0,.12) !important;
}

body .cookbook-text h2 {
  font-size: 54px !important;
  line-height: 1 !important;
  font-family: 'Cormorant Garamond', serif !important;
  color: #214d36 !important;
}

body .cookbook-image img {
  display: block !important;
  width: 320px !important;
  max-width: 320px !important;
  height: auto !important;
  border-radius: 18px !important;
  box-shadow: 0 20px 45px rgba(0,0,0,.2) !important;
}

body .cookbook-btn {
  display: inline-block !important;
  background: #214d36 !important;
  color: white !important;
  padding: 15px 28px !important;
  border-radius: 999px !important;
  font-weight: 800 !important;
}

@media (max-width: 768px) {
  body .cookbook-container {
    grid-template-columns: 1fr !important;
    text-align: center !important;
  }

  body .cookbook-image {
    order: -1 !important;
  }
}
/* Vegan Restaurant Map Section */
.vegan-map-section p {
  font-size: 16px;
  line-height: 1.7;
  color: #4f5f52;
  margin-bottom: 18px;
}

.vegan-map-section .map-note {
  margin-top: 16px;
  font-size: 15px;
}

.vegan-map-section iframe {
  width: 100%;
  border-radius: 24px;
  border: none;
}
/* Blog post design fix */
.single-post-page main,
.single-post main,
.site-main {
  max-width: 850px;
  margin: 40px auto;
  padding: 20px;
  font-family: Georgia, serif;
  line-height: 1.8;
  color: #333;
}

.single-post-page img,
.single-post img,
.site-main img,
.wp-block-image img {
  max-width: 100%;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  display: block;
  margin: 25px auto;
  border-radius: 12px;
}

.single-post-page h1,
.single-post h1 {
  font-size: 38px;
  line-height: 1.2;
  margin-bottom: 25px;
}

.single-post-page h2,
.single-post h2 {
  font-size: 30px;
  margin-top: 45px;
  margin-bottom: 18px;
}

.single-post-page p,
.single-post p {
  font-size: 18px;
  margin-bottom: 22px;
}

.single-post-page ul,
.single-post ul {
  font-size: 18px;
  line-height: 1.8;
}
/* Single blog post design */
.single-post .site-main {
  max-width: 850px !important;
  margin: 50px auto !important;
  padding: 20px !important;
  line-height: 1.8;
}

.single-post .site-main img {
  max-width: 100% !important;
  width: 100% !important;
  height: auto !important;
  max-height: 520px;
  object-fit: cover;
  border-radius: 14px;
  margin: 25px auto;
  display: block;
}

.single-post .site-main h1 {
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 25px;
}

.single-post .site-main h2 {
  font-size: 30px;
  margin-top: 45px;
}

.single-post .site-main p {
  font-size: 18px;
  margin-bottom: 22px;
}
.header{position:sticky;top:0;z-index:999;background:rgba(251,248,242,.92);border-bottom:1px solid rgba(78,130,75,.08)}
.container{width:min(92%,1240px);margin:0 auto}
.nav{min-height:88px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:24px}
.logo-wrap img{width:84px!important;height:84px!important;object-fit:contain}
.nav-links{list-style:none!important;display:flex!important;justify-content:center;gap:28px;flex-wrap:wrap;margin:0!important;padding:0!important}
.nav-links li{list-style:none!important}
.nav-links a{text-decoration:none;color:#2f3b2e;font-weight:600}
.btn{display:inline-flex;align-items:center;justify-content:center;padding:14px 24px;border-radius:999px;text-decoration:none;font-weight:700}
.btn-primary{color:#fff!important;background:linear-gradient(135deg,#4e824b,#39663a)}
.menu-toggle{display:none}
.site-main{max-width:900px;margin:40px auto;padding:20px}
.site-main img{max-width:100%;height:auto;border-radius:14px}
footer{padding:60px 0 34px;background:#f2ebdf;border-top:1px solid rgba(78,130,75,.08)}
.footer-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:30px}
.footer-logo img{height:94px!important;width:auto!important}
.footer-col ul{list-style:none!important;margin:0!important;padding:0!important}
.footer-col li{margin-bottom:10px}
.footer-bottom{text-align:center;margin-top:20px;color:#667060}