/*
Theme Name: Christina Christofi Theme
Theme URI: https://christinachristofi.cy
Author: Andreas Stavrou
Author URI: https://christinachristofi.cy
Description: A custom delicious WordPress theme. Design by Nina Morari.
Version: 1.0
*/
:root {
  --cc-primary: #d82435;
  --cc-secondary: #ffe443;
  --cc-accent: #f37121;
  --cc-main: #30080c;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
html,
body {
  font-family: "Manrope", sans-serif;
  color: var(--cc-main);
}
/* Mobile first */
h1 {
  font-size: 28px;
  font-weight: 900;
  line-height: 1.3; /* More breathing room */
  margin-bottom: 16px; /* Spacing below the heading */
  padding: 10px 0; /* Padding on top and bottom */
}

h2 {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 14px;
  padding: 8px 0;
}

h3 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
  padding: 6px 0;
}

h4 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.45;
  padding: 4px 0;
}

h5 {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 8px;
  padding: 4px 0;
}

h6 {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 6px;
  padding: 4px 0;
}

/* Desktop view (larger screens) */
@media (min-width: 768px) {
  h1 {
    font-size: 36px;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 20px;
    padding: 12px 0;
  }

  h2 {
    font-size: 30px;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 18px;
    padding: 10px 0;
  }

  h3 {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 16px;
    padding: 8px 0;
  }

  h4 {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.45;
    margin-bottom: 14px;
    padding: 6px 0;
  }

  h5 {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 12px;
    padding: 6px 0;
  }

  h6 {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 10px;
    padding: 6px 0;
  }
}

/* Mobile first */

/* Paragraphs */
p {
  font-size: 16px;
  line-height: 1.6; /* Comfortable line height for readability */
  margin-bottom: 16px; /* Space between paragraphs */
  padding: 4px 0; /* Optional padding */
}

/* Links */
a {
  font-size: 16px;
  font-weight: 500; /* Medium bold */
  color: #007bff; /* Example link color */
  text-decoration: none; /* No underline */
  padding: 2px 0;
  transition: color 0.3s ease; /* Smooth transition on hover */
}

a:hover {
  color: #0056b3; /* Darker color on hover */
}

/* Blockquotes */
blockquote {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.7;
  margin: 20px 0;
  padding: 10px 20px;
  border-left: 4px solid #ccc; /* Modern left border */
  background-color: #f9f9f9; /* Subtle background */
  color: #555; /* Softer text color */
}

/* Buttons */
button {
  font-size: 16px;
  font-weight: 600;
  padding: 10px 20px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #0056b3; /* Darker shade on hover */
}

/* Images */
img {
  max-width: 100%; /* Responsive images */
  height: auto; /* Maintain aspect ratio */
  display: block; /* Ensure images are block-level elements */
}

/* Horizontal rules */
hr {
  border: none;
  border-top: 1px solid #ccc;
  margin: 20px 0;
}

/* Desktop view (larger screens) */
@media (min-width: 768px) {
  p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 20px;
  }

  a {
    font-size: 18px;
  }

  blockquote {
    font-size: 20px;
    margin: 30px 0;
    padding: 15px 30px;
  }

  button {
    font-size: 18px;
    padding: 12px 24px;
  }
}

.recipe-container {
  max-width: 800px;
  margin: 0 auto;
}

.recipe-info {
  margin-bottom: 20px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  border: 1px solid #ccc;
  padding: 8px;
  text-align: left;
}

h2 {
  margin-top: 30px;
}

.header-styles {
  display: block;
}

.header-styles .header-logo {
  margin: 0 auto;
}
.header-styles .header-navigation a {
  font-size: 16px;
}
.header-styles .header-search {
  text-align: center;
  margin: 0 auto;
}

.header-logo img {
  width: 200px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .header-styles {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  }
  .header-styles div {
    flex-grow: 1;
    flex-basis: 0;
  }
}

.search-icon {
  color: var(--cc-primary);
}
#search {
  border-color: var(--cc-primary);
  border-radius: 15px;
  border-style: solid;
  padding: 2px 5px;
}

.hero-section {
  background: #fff8f3;
}

.hero-heading {
  max-width: 400px;
}

.hero-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.btn {
  border-radius: 23px;
}

.search-form-secondary {
  border-style: solid;
  border-width: 0;
  background-clip: border-box;
  border-color: #221f20;
  border-top-width: 1px;
  border-right-width: 1px;
  border-bottom-width: 1px;
  border-left-width: 1px;
  border-radius: 120px;
  padding: 5px 15px;
}

#search-secondary {
  border: none;
}

.recipe-container {
  padding: 5px;
  border: 1px solid;
}

.recipe-container:hover {
  cursor: pointer;
  box-shadow: 16px 14px 0 var(--cc-primary), 16px 14px 0 1px var(--cc-primary);
}

.menu {
  display: flex;
  list-style-type: none;
  align-items: center;
  margin: 0;
}

.menu li {
  padding-left: 15px;
}

.menu li a {
  color: var(--cc-main);
  font-weight: 900;
}

.menu li a:hover {
  color: var(--cc-primary);
}
.search-form-secondary {
  position: relative;
  width: 420px;
  padding: 0;
}
.mailchimp-form {
  text-align: center;
  position: relative;
  max-width: 420px;
  margin: auto;
}
#search-secondary {
  width: 100%;
  padding: 10px 15px;
  border: none;
  border-radius: 24px;
  outline: none;
}
.search-secondary-submit {
  padding: 2px 35px;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  background: var(--cc-primary);
  color: #fff;
  border-style: solid;
  border-color: var(--cc-primary);
  border-radius: 24px;
}
.email-input {
  width: 100%;
  padding: 10px 15px;
  background: rgb(248, 248, 248);
  border: none;
  border-radius: 24px;
}
.email-input:focus-visible {
  border: none;
  outline-color: var(--cc-primary);
}
.mailchimp-form-submit {
  padding: 2px 25px;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  background: var(--cc-primary);
  color: #fff;
  border-style: solid;
  border-color: var(--cc-primary);
  border-radius: 24px;
}
.footer-bg {
  background: url("./assets/img/footer-pattern.jpg");
  background-position: center;
  background-repeat: repeat-x;
  background-size: cover;
  height: 60px;
}

/* Sticky header styles */
.sticky-header {
  position: relative; /* Initially relative */
  background-color: #fff; /* White background initially */
  transition: background-color 0.7s ease-in-out, padding 0.7s ease-in-out;
  padding: 0;
}

.sticky-header.sticky {
  position: fixed; /* Make it stick on scroll */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #fff;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

/* Hide the mobile menu icon and overlay on desktop */
@media (min-width: 769px) {
  .footer-bg {
    height: 100px;
  }
  .mobile-menu-icon {
    display: none;
  }

  .overlay {
    display: none;
  }
  .single-recipe-hero-info-item img {
    width: 100px;
  }
}

.single-recipe-hero {
  color: var(--cc-main);
  padding-bottom: 50px;
}
.single-recipe-hero-info {
  display: flex;
  justify-content: space-evenly;
  align-items: flex-start;
}

.single-recipe-hero-info-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
  flex-basis: 0;
}

.single-recipe-hero-info-item i {
  font-size: 55px;
}
.single-recipe-hero-info-item span {
  font-size: 18px;
  font-weight: 600;
}

.accordion {
  width: 100%;
  cursor: pointer;
  background-color: var(--cc-primary);
  border: none;
  outline: none;
  text-align: left;
  padding: 15px;
  font-size: 16px;
  transition: background-color 0.3s;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion:hover {
  background-color: var(--cc-primary);
}

.accordion:after {
  content: "\25BC"; /* Down arrow */
  font-size: 18px;
  transition: transform 0.3s;
}

.accordion.expanded:after {
  transform: rotate(180deg); /* Rotate to point up */
}

.panel {
  display: none;
  padding: 0 15px;
  background-color: white;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.panel.show {
  display: block;
}

/* Initial expanded state */
.accordion.expanded {
  background-color: var(--cc-primary);
}

.ingredients.accordion {
  background-color: var(--cc-accent);
}
.ingredients.accordion:hover {
  background-color: var(--cc-accent);
}
.ingredients.accordion.expanded {
  background-color: var(--cc-accent);
}

/* Initial expanded state for the first accordion */
.accordion.expanded:first-of-type + .panel {
  display: block;
}

/* Container for the checkbox and label */
.ingredient-checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
  margin: 25px 0;
}

/* Hide the default checkbox */
.ingredient-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

/* Custom checkbox box */
.ingredient-checkbox .checkmark {
  height: 25px;
  width: 25px;
  background-color: transparent;
  border: 1px solid;
  border-radius: 4px;
  transition: background-color 0.3s ease;
  display: inline-block;
  position: relative;
  flex-shrink: 0;
}

/* Position the label to the right of the checkbox */
.ingredient-checkbox span.label {
  margin-left: 30px;
  font-size: 16px;
}

/* Style the checkbox box when checked */
.ingredient-checkbox input[type="checkbox"]:checked + .checkmark {
  background-color: var(--cc-accent); /* Change background color when checked */
  border-color: var(--cc-accent);
}

/* Create a tick mark inside the checkbox */
.ingredient-checkbox .checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 8px;
  top: 3px;
  width: 6px;
  height: 12px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Show the tick mark when checked */
.ingredient-checkbox input[type="checkbox"]:checked + .checkmark:after {
  display: block;
}

.timeline-about-info-cont h4 {
  color: var(--cc-accent);
}

.universe h2 {
  text-align: center;
  padding-bottom: 25px;
}
.universe img {
  text-align: center;
  margin: 0 auto;
}

.universe h4 {
  padding-top: 15px;
  text-transform: uppercase;
  font-weight: 800;
}

.universe p {
  font-size: 16px;
}

#recipes-archive .recipe-container {
  max-width: 300px;
}

#recipes-archive .recipe-container h3 {
  padding-left: 15px;
  font-size: 18px;
}

#recipes-archive .recipe-container img {
  text-align: center;
  margin: 0 auto;
  max-width: 250px;
}

#recipes-archive .owl-item {
  margin: 50px 0;
}

.hero-image-column {
  display: flex;
  justify-content: flex-end;
  padding: 0;
  margin-top: 6px;
}
.hero-button-container button {
  width: 200px;
}

.instagram-photos {
  display: flex;
  overflow: hidden;
  max-width: 1250px;
}
.instagram-photos img {
  max-width: 200px;
  margin-right: 15px;
}

.archive-category-title {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  scroll-margin-top: 300px;
}
.archive-category-title h2 {
  margin: 0;
  padding: 0;
  margin-right: 25px;
  color: var(--cc-main);
}
.archive-category-title span a {
  color: var(--cc-main);
  text-decoration: underline;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
}

.archive-category-title span a:hover {
  color: var(--cc-accent);
}

.owl-nav {
  display: flex;
  position: absolute;
  top: 50%;
  width: 100%;
  justify-content: space-between;
  font-size: 30px;
}

.recipe-container h3 {
  font-size: 20px;
  height: 110px;
}

.instagram img {
  width: 200px;
}

.stay-sticker {
  position: absolute;
  top: -55%;
  right: -45%;
}
.order-sticker {
  position: absolute;
  bottom: -5%;
  left: 0;
}

.order-sticker img {
  width: 250px;
}

.out-sticker {
  z-index: 1;
  position: absolute;
  bottom: -160px;
  right: 7vw;
}

.out-sticker img {
  width: 250px;
}

.lick-sticker {
  position: absolute;
  bottom: -20%;
  right: -15%;
}

.lick-sticker img {
  width: 250px;
}

.kitchen-sticker {
  position: absolute;
  top: -5%;
  right: -2%;
}

.kitchen-sticker img {
  width: 200px;
}

.about-christina {
  padding-top: 30px;
}

.about-christina-title {
  padding-top: 70px;
}

.about-christina-universe {
  padding-top: 70px;
}

.dining-header {
  padding-top: 70px;
}

.dining-header h1 {
  font-size: 75px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 0;

  padding: 12px 0;
  padding-top: 50px;
  padding-bottom: 0;
}

.dining-header h2 {
  color: #000;
  text-transform: uppercase;
  font-weight: 100;
  margin: 0;
}

.dining-header .dining-food {
  width: 350px;
  margin: 0 auto;
  padding-top: 50px;
}

.dining-item {
  max-width: 350px;
  margin-top: 25px;
}
.dining-items {
  flex-wrap: wrap;
  justify-content: space-evenly;
  margin-top: 70px;
}

/* Form container */
.wpcf7-form {
  max-width: 650px;
  padding: 20px;
}

/* Style for labels */
.wpcf7-form label {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
  color: #333;
}

/* Style for all input fields */
.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-email,
.wpcf7-form-control.wpcf7-tel,
.wpcf7-form-control.wpcf7-textarea,
.wpcf7-form-control.wpcf7-select {
  width: 100%;
  max-width: 650px;
  padding: 12px;
  border-radius: 8px;
  background: transparent;
  border: 2px solid #ccc;
  color: #333;
  font-size: 16px;
  transition: border-color 0.3s ease;
  outline: none;
  box-sizing: border-box;
}

/* Add spacing between email, select, and tel fields */
.wpcf7-form-control.wpcf7-email,
.wpcf7-form-control.wpcf7-select,
.wpcf7-form-control.wpcf7-tel {
  margin-bottom: 20px;
}

/* Change border color on focus */
.wpcf7-form-control:focus {
  border-color: #d82435;
}

/* Style for the dropdown select */
.wpcf7-form-control.wpcf7-select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* Submit button styling */
.wpcf7-form-control.wpcf7-submit {
  background-color: #d82435;
  color: #fff;
  border: none;
  padding: 14px 20px;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  width: 100%;
  max-width: 450px;
  transition: background-color 0.3s ease;
}

/* Hover effect for submit button */
.wpcf7-form-control.wpcf7-submit:hover {
  background-color: #b81c2e;
}

.hero-image {
}

/* Responsive adjustments */
@media (max-width: 799px) {
  .hero-image {
    height: 320px;
    width: 320px;
    margin: 0 auto;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
}

@media (max-width: 1450px) {
  .out-sticker {
    z-index: 1;
    position: absolute;
    bottom: -160px;
    right: 7%;
  }

  .out-sticker img {
    width: 200px;
  }
}

@media (max-width: 996px) {
  .out-sticker {
    z-index: 1;
    position: absolute;
    bottom: -160px;
    right: -5%;
  }

  .out-sticker img {
    width: 180px;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .wpcf7-form-control.wpcf7-text,
  .wpcf7-form-control.wpcf7-email,
  .wpcf7-form-control.wpcf7-tel,
  .wpcf7-form-control.wpcf7-textarea,
  .wpcf7-form-control.wpcf7-select,
  .wpcf7-form-control.wpcf7-submit {
    max-width: 320px;
  }
  .instagram img {
    width: 150px;
  }
  .stay-sticker {
    position: absolute;
    top: -50%;
    right: -5%;
  }
  .order-sticker {
    position: absolute;
    bottom: -5%;
    left: 0;
  }

  .order-sticker img {
    width: 140px;
  }

  .out-sticker {
    z-index: 1;
    position: absolute;
    bottom: -30%;
    right: 5%;
  }

  .out-sticker img {
    width: 140px;
  }

  .lick-sticker {
    position: absolute;
    bottom: -23%;
    right: 0%;
  }

  .lick-sticker img {
    width: 140px;
  }

  .kitchen-sticker {
    position: absolute;
    top: -5%;
    right: 0%;
  }

  .kitchen-sticker img {
    width: 140px;
  }
  .single-recipe-hero-info-item h4 {
    font-size: 16px !important;
  }
  .single-recipe-hero-info-item span {
    font-size: 16px;
  }
  .single-recipe-hero-info-item img {
    max-width: 80px;
  }
}

/* Shop Page: Product Title Color */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  color: var(--cc-main);
}

/* Shop Page: Add to Cart Button Background Color */
.woocommerce ul.products li.product .button {
  background-color: #d82435;
  color: #fff;
}

/* Change category text color */
.woocommerce ul.products li.product .posted_in a {
  color: #d82435;
}

/* Single Product Page: Add to Cart Button Background Color */
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles))
  #respond
  input#submit.alt,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles))
  a.button.alt,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles))
  button.button.alt,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles))
  input.button.alt,
:where(body:not(.woocommerce-block-theme-has-button-styles))
  .woocommerce
  #respond
  input#submit.alt,
:where(body:not(.woocommerce-block-theme-has-button-styles))
  .woocommerce
  a.button.alt,
:where(body:not(.woocommerce-block-theme-has-button-styles))
  .woocommerce
  button.button.alt,
:where(body:not(.woocommerce-block-theme-has-button-styles))
  .woocommerce
  input.button.alt {
  background-color: var(--cc-primary);
  color: #fff;
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles))
  #respond
  input#submit.alt:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles))
  a.button.alt:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles))
  button.button.alt:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles))
  input.button.alt:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles))
  .woocommerce
  #respond
  input#submit.alt:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles))
  .woocommerce
  a.button.alt:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles))
  .woocommerce
  button.button.alt:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles))
  .woocommerce
  input.button.alt:hover {
  background-color: var(--cc-primary);
  color: #fff;
}
.woocommerce-message {
  border-top-color: #d82435;
}

.woocommerce-message::before {
  content: "\e015";
  color: #d82435;
}

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product p.price,
.woocommerce:where(body:not(.woocommerce-uses-block-theme))
  div.product
  span.price {
  color: #d82435;
}

.wc-block-cart .wc-block-cart__submit-container {
  padding: 0;
  background: #d82435;
  border-radius: 35px;
}

.wc-block-cart .wc-block-cart__submit-container a {
  color: #fff;
}

button.wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button.contained {
  background: #d82435;
  border-radius: 35px;
}
/* Change category color on single product page */
.single-product .posted_in a {
  color: #d82435;
}

.footer-links {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.footer-links li a {
  color: var(--cc-main);
}

.copyright {
  font-size: 14px;
}

.item1 {
  grid-row: span 15;
  background: url("./assets/img/dining/dining1.jpg");
}
.item2 {
  grid-row: span 20;
  background: url("./assets/img/dining/dining2.jpg");
}
.item3 {
  grid-row: span 10;
  background: url("./assets/img/dining/dining3.jpg");
}
.item4 {
  grid-row: span 15;
  background: url("./assets/img/dining/dining4.jpg");
}
.item5 {
  grid-row: span 10;
  background: url("./assets/img/dining/dining5.jpg");
}
.item6 {
  grid-row: span 15;
  background: url("./assets/img/dining/dining6.jpg");
}
.item7 {
  grid-row: span 20;
  background: url("./assets/img/dining/dining7.jpg");
}
.item8 {
  grid-row: span 10;
  background: url("./assets/img/dining/dining8.jpg");
}
.item9 {
  grid-row: span 15;
  background: url("./assets/img/dining/dining9.jpg");
}
.item10 {
  grid-row: span 15;
  background: url("./assets/img/dining/dining10.jpg");
}
.item11 {
  grid-row: span 10;
  background: url("./assets/img/dining/dining11.jpg");
}
.item12 {
  grid-row: span 10;
  background: url("./assets/img/dining/dining12.jpg");
}
.item13 {
  grid-row: span 10;
  background: url("./assets/img/dining/dining13.jpg");
}
.item14 {
  grid-row: span 15;
  background: url("./assets/img/dining/dining14.jpg");
}
.item15 {
  grid-row: span 10;
  background: url("./assets/img/dining/dining15.jpg");
}
.item16 {
  grid-row: span 15;
  background: url("./assets/img/dining/dining16.jpg");
}
.item17 {
  grid-row: span 10;
  background: url("./assets/img/dining/dining17.jpg");
}
.item18 {
  grid-row: span 10;
  background: url("./assets/img/dining/dining18.jpg");
}
.item19 {
  grid-row: span 20;
  background: url("./assets/img/dining/dining19.jpg");
}
.item20 {
  grid-row: span 10;
  background: url("./assets/img/dining/dining20.jpg");
}
.item21 {
  grid-row: span 10;
  background: url("./assets/img/dining/dining21.jpg");
}
.item22 {
  grid-row: span 10;
  background: url("./assets/img/dining/dining22.jpg");
}
.fade-in {
  opacity: 1;
  transition: opacity 4s ease-in-out;
}

.overlay-search input {
  display: block;
  max-width: 420px;
  width: 100%;
  margin: 0 auto;
}

.overlay-search #search {
  padding: 8px 5px;
}

.overlay-search button {
  display: block;
  max-width: 420px;
  width: 100%;
  margin: 0 auto;
  background: #30080c;
  margin: 20px auto;
  border-radius: 25px;
  padding: 7px 15px;
}

.overlay-search ::placeholder {
  padding: 5px;
}

/* Mobile-specific styles */
@media (max-width: 768px) {
  .menu li {
    display: block;
    width: 100%;
  }
  .footer-language-container {
    margin: 10px 50px;
  }
  #recipes-archive .recipe-container {
    max-width: 220px;
  }
  .recipe-container h3 {
    height: 90px;
    font-size: 14px;
  }
  .hero-content {
    padding: 70px 15px;
  }
  .search-form-secondary {
    position: relative;
    max-width: 420px;
    padding: 0;
  }
  .header-styles {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 15px;
  }
  .dining-header h1 {
    font-size: 45px;
    padding-top: 15px;
  }
  .header-navigation,
  .header-search {
    display: none;
  }
  .header-logo {
    flex-grow: 1;
  }
  .header-logo img {
    width: 180px;
  }
  .mobile-menu-icon {
    display: block;
    cursor: pointer;
    font-size: 24px;
    color: #333;
  }

  /* Fullscreen overlay menu */
  .overlay {
    height: 0%;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: var(--cc-primary);
    overflow: hidden;
    transition: height 0.4s ease-in-out;
    z-index: 1001;
  }

  .overlay.open {
    height: 100%; /* Open the overlay */
  }

  .overlay-content {
    position: absolute;
    top: 50%;
    width: 100%;
    text-align: center;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
  }
  .overlay-content nav ul {
    display: flex;
    flex-direction: column;
    flex-direction: column;
    margin: 0;
    padding: 0;
  }
  .overlay-content nav ul li {
    padding: 10px 0;
  }

  .overlay-content nav ul li a {
    color: #fff;
    font-size: 22px;
  }

  .overlay-content form {
    margin-top: 20px;
  }

  /* Close button in overlay */
  .overlay .close-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
  }

  /* Prevent scrolling when overlay is open */
  body.no-scroll {
    overflow: hidden;
  }
  .item1 {
    grid-row: span 8;
    background: url("./assets/img/dining/dining1.jpg");
  }
  .item2 {
    grid-row: span 10;
    background: url("./assets/img/dining/dining2.jpg");
  }
  .item3 {
    grid-row: span 6;
    background: url("./assets/img/dining/dining3.jpg");
  }
  .item4 {
    grid-row: span 4;
    background: url("./assets/img/dining/dining4.jpg");
  }
  .item5 {
    grid-row: span 5;
    background: url("./assets/img/dining/dining5.jpg");
  }
  .item6 {
    grid-row: span 8;
    background: url("./assets/img/dining/dining6.jpg");
  }
  .item7 {
    grid-row: span 5;
    background: url("./assets/img/dining/dining7.jpg");
  }
  .item8 {
    grid-row: span 5;
    background: url("./assets/img/dining/dining8.jpg");
  }
  .item9 {
    grid-row: span 7;
    background: url("./assets/img/dining/dining9.jpg");
  }
  .item10 {
    grid-row: span 5;
    background: url("./assets/img/dining/dining10.jpg");
  }
  .item11 {
    grid-row: span 10;
    background: url("./assets/img/dining/dining11.jpg");
  }
  .item12 {
    grid-row: span 10;
    background: url("./assets/img/dining/dining12.jpg");
  }
  .item13 {
    grid-row: span 5;
    background: url("./assets/img/dining/dining13.jpg");
  }
  .item14 {
    grid-row: span 6;
    background: url("./assets/img/dining/dining14.jpg");
  }
  .item15 {
    grid-row: span 10;
    background: url("./assets/img/dining/dining15.jpg");
  }
  .item16 {
    grid-row: span 10;
    background: url("./assets/img/dining/dining16.jpg");
  }
  .item17 {
    grid-row: span 5;
    background: url("./assets/img/dining/dining17.jpg");
  }
  .item18 {
    grid-row: span 5;
    background: url("./assets/img/dining/dining18.jpg");
  }
  .item19 {
    grid-row: span 8;
    background: url("./assets/img/dining/dining19.jpg");
  }
  .item20 {
    grid-row: span 10;
    background: url("./assets/img/dining/dining20.jpg");
  }
  .item21 {
    grid-row: span 6;
    background: url("./assets/img/dining/dining21.jpg");
  }
  .item22 {
    grid-row: span 4;
    background: url("./assets/img/dining/dining22.jpg");
  }
}

@media (max-width: 600px) {
  .recipe-container h3 {
    font-size: 14px;
  }
  .hero-content {
    padding: 70px 15px;
  }
  .search-form-secondary {
    position: relative;
    width: 85vw;
    padding: 0;
  }
  .footer-bg {
    height: 30px;
  }
  .stay-sticker img {
    width: 100px;
  }
}

.panel h3 {
  font-size: 18px;
}

.owl-next {
  margin-right: 15px;
}

@media (min-width: 769px) {
  .owl-nav {
    display: flex;
    position: absolute;
    top: 50%;
    width: 103%;
    left: -1%;
    justify-content: space-between;
    font-size: 30px;
  }
}

.related-recipe-item h4 a {
  color: var(--cc-main);
}

.mobile-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.language-mobile li {
  list-style-type: none;
  padding-right: 15px;
}

.language-mobile li a {
  text-transform: uppercase;
  color: var(--cc-main);
}

.pre-order-button {
  text-decoration: none;
  background: white;
  color: var(--cc-primary);
  padding: 18px 25px;
  border-radius: 32px;
  font-weight: 900;
}

.pre-order-button:hover {
  color: #fff;
  background: var(--cc-primary);
}

.pre-order-section-testimonials-content {
  background: var(--cc-primary);
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pre-order-section-testimonials-content h3 {
  font-size: 24px;
  font-weight: 800;
  padding-left: 45px;
  padding-right: 45px;
}

.pre-order-section-testimonials-content p {
  max-width: 420px;
  margin: 0 auto;
}
.pre-order-section-two-content {
  background: var(--cc-primary);
  color: #000;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pre-order-section-two-content h3 {
  font-size: 50px;
  font-weight: 800;
  text-transform: capitalize;
  padding-left: 45px;
  padding-right: 45px;
}

/* Popup Overlay */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* semi-transparent black overlay */
  display: none; /* hidden by default */
  justify-content: center;
  align-items: center;
  z-index: 9999; /* ensure it's above other elements */
}

/* Popup Inner Container */
.popup-inner {
  position: relative;
  background: #fff;
  padding: 20px;
  max-width: 890px;
  width: 90%;
  text-align: center;
  border-radius: 5px;
  cursor: pointer;
  z-index: 1;
  border: 1px solid;
}

/* Close Button */
.popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--cc-primary); /* your preferred color */
  border: none;
  padding: 6px 10px;
  cursor: pointer;
  border-radius: 4px;
  z-index: 2;
}
.popup-close:hover {
  background: var(--cc-primary); /* slightly darker on hover */
}

.popup-heading {
  color: var(--cc-primary);
  font-size: 40px;
  font-weight: 800;
}

.popup-photo {
  max-width: 400px !important;
  height: auto !important;
  margin: 0 auto !important;
}
@media (max-width: 768px) {
  .popup-heading {
    font-size: 28px;
  }
  .popup-photo {
    max-width: 300px !important;
  }
}

span.cart-count {
  font-weight: 800;
  color: var(--cc-primary);
  font-size: 15px;
}
.cart-icon i {
  color: var(--cc-primary);
}

.overlay-cookbook-btn a {
  color: #fff;
  font-size: 22px;
  font-weight: 900;
}
