/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Aclonica&family=Montserrat:wght@100..900&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;

  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --first-color: hsl(350, 100%, 86%);        /* Primary pink (#FF6B8B) */
  --first-color-alt: hsl(350, 70%, 75%);    /* Lighter pink (#FF8FA3) */
  --second-color: hsl(34, 44%, 69%);     /* Burger brown (#5C3D2E) */
  --white-color: hsl(40, 100%, 97%);   /* Cream */      /* Cream white (#FFF9F0) */
  --title-color: hsl(350, 50%, 50%);       /* Darker pink (#B24760) */
  --text-color: hsl(25, 30%, 30%);          /* Brown text (#5C4D3D) */
  --text-color: hsl(25, 30%, 30%);    
  --body-color: hsl(350, 100%, 98%);        /* Light cream (#FFF5E6) */
  --body-color-alt: hsl(350, 70%, 90%);     /* Very light pink (#FFE6EB) */
  --container-color: hsl(0, 0%, 100%);      /* Pure white */

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Montserrat", sans-serif;
  --second-font: "Aclonica", sans-serif;
  --biggest-font-size: 3rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;

  /*========== Font weight ==========*/
  --font-regular: 400;
  --font-medium: 500;
  --font-semi-bold: 600;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

/*========== Responsive typography ==========*/
@media screen and (min-width: 1150px) {
  :root {
    --biggest-font-size: 4.5rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: linear-gradient(to bottom, #fff1e6, #fff);
  color: var(--text-color);
}

h1, h2, h3, h4 {
  color: var(--title-color);
  font-family: var(--second-font);
  font-weight: var(--font-regular);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

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

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1120px;
  margin-inline: 1.5rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.section {
  padding-block: 5rem 1rem;
}

.section__title {
  text-align: center;
  font-size: var(--h1-font-size);
  margin-bottom: 2rem;
}

.main {
  overflow: hidden;
}

/*=============== HEADER & NAV ===============*/
.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background-color: var(--body-color);
  z-index: var(--z-fixed);
  transition: box-shadow .4s;
}

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

.nav__logo {
  display: flex;
  align-items: center;
  column-gap: .5rem;
  font-family: var(--second-font);
  color: var(--title-color);
}

.nav__logo img {
  width: 20px;
}

.nav__logo div {
  background-color: var(--first-color);
  padding: 6px;
  border-radius: .5rem;
}

.nav__toggle, 
.nav__close {
  display: flex;
  font-size: 1.5rem;
  color: var(--title-color);
  cursor: pointer;
}
.nav__cart-fixed {
  margin-left: 1rem;
  font-size: 1.3rem;
  color: var(--title-color);
  display: flex;
  align-items: center;
}

/* Navigation for mobile devices */
@media screen and (max-width: 1150px) {
  .nav__menu {
    position: fixed;
    top: -100%;
    left: 0;
    background-color: var(--body-color);
    width: 100%;
    padding-block: 4.5rem 3.5rem;
    box-shadow: 0 4px 16px hsla(22, 100%, 8%, .1);
    transition: top .4s;
  }
}

/* Desktop and larger screens */
.nav__list {
  display: flex;
  flex-direction: row; /* horizontal */
  gap: 1.5rem;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}


.nav__link {
  position: relative;
  color: var(--title-color);
  font-family: var(--second-font);
}

.nav__link::after {
  content: "";
  width: 0;
  height: 3px;
  background-color: var(--first-color);
  position: absolute;
  left: 0;
  bottom: -.5rem;
  transition: width .3s;
}

.nav__link:hover::after {
  width: 60%;
}

.nav__close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
}

/* Show menu */
.show-menu {
  top: 0;
}

/* Add shadow header */
.shadow-header {
  box-shadow: 0 4px 16px hsla(22, 100%, 8%, .1);
}

/* Active link */
.active-link::after {
  width: 60%;
}

/*=============== HOME ===============*/

.highlight__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.highlight__card {
  background: linear-gradient(to bottom right, #fff1f1, #ffe9e9);
  padding: 1.5rem;
  border-radius: 1rem;
  text-align: center;
  transition: transform 0.3s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  
}

.highlight__card img {
  width: 120px;
  height: auto;
  margin-bottom: .75rem;
}
.highlight__card h3 {
  font-size: 1rem;
  color: #b23a48; /* richer rose pink */
  margin-bottom: 0.5rem;
  font-weight: 700;
}
.highlight__card p {
  font-size: .875rem;
  color: var(--text-color-light);
  margin-bottom: .5rem;
}
.highlight__card span {
  font-weight: bold;
  font-size: 1.1rem;
  color: #a3343a; /* deeper red-pink */
}
.highlight__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(178, 58, 72, 0.15); /* subtle pink glow */
}

.home__data {
  position: relative;
  text-align: center;
}
.home__highlight {
  background: linear-gradient(to right, #fff0f5, #fffaf0);
  padding: 3rem 1rem;
  border-radius: 2rem;
  margin-top: 2rem;
}

.home__title {
  font-size: var(--biggest-font-size);
  margin-bottom: 1rem;
}

.home__description {
  margin-bottom: 2.5rem;
}
.home__container {
  display: grid;
  gap: 2.5rem;
  padding-block: 3rem 2rem;
  justify-content: center;
  align-items: center;
  row-gap: 3.5rem;
  text-align: center;
}


/* Hero text block */
.home__data {
  position: relative;
  z-index: 1;
}

/* Hero logo block - hidden by default */
.home__image {
  display: none;
}

/* Only show image on desktop */
@media screen and (min-width: 1024px) {
  .home__container {
    grid-template-columns: 1fr 1fr;
    text-align: left;
    align-items: center;
    column-gap: 2rem;
  }

  .home__data {
    justify-self: start;
  }

  .home__image {
    display: block;
    justify-self: end;
    padding-right: 1.5rem;
  }

  .home__logo-large {
    width: 500px;
    max-width: 100%;
    height: auto;
    opacity: 0.95;
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.1));
  }
}

.home__sticker {
  width: 40px;
  rotate: 15deg;
  position: absolute;
  bottom: 2rem;
  right: 1rem;
  opacity: .5;
}

.home__images {
  position: relative;
  display: grid;
  justify-items: center;
  justify-self: center;
}

.home__ingredient {
  width: 60px;
  filter: var(--shadow-small-img);
  position: absolute;
  z-index: 2;
}

.home__burger, 










/*=============== BUTTON ===============*/
.button {
  display: inline-flex;
  background-color: var(--first-color);
  color: var(--title-color);
  padding: 1rem 1.5rem;
  font-family: var(--second-font);
  border-radius: 4rem;
  transition: box-shadow .4s;
}

.button:hover {
  box-shadow: 0 8px 24px hsla(22, 100%, 8%, .2);
}



/*=============== POPULAR ===============*/
.popular {
  background-color: var(--body-color-alt);
}

.popular__container {
  padding-block: 2rem;
  grid-template-columns: repeat(2, 1fr);
  gap: 3.5rem 1.5rem;
}

.popular__card {
  position: relative;
  background-color: var(--first-color);
  padding: 6rem .75rem 1rem;
  border-radius: 1rem;
  border: 4px solid var(--container-color);
}

.popular__img {
  position: absolute;
  top: -2rem;
  left: 0;
  right: 0;
  width: 120px;
  margin: 0 auto;
  filter: var(--shadow-small-img);
  transition: transform .4s;
}

.popular__title {
  font-size: var(--normal-font-size);
  margin-bottom: .75rem;
}

.popular__price {
  color: var(--title-color);
  font-family: var(--second-font);
  font-size: var(--h2-font-size);
}

.popular__button {
  position: absolute;
  right: .75rem;
  bottom: 1rem;
  outline: none;
  border: none;
  background-color: var(--second-color);
  color: var(--white-color);
  padding: 6px;
  border-radius: .5rem;
  font-size: 1.25rem;
  display: inline-flex;
  cursor: pointer;
}

.popular__card:hover .popular__img {
  transform: translateY(-.5rem);
}
.popular__img {
  width: 150px !important; /* Fixed width for cookies */
  height: 150px !important; /* Fixed height */
  object-fit: contain; /* Prevents distortion */
  padding: 10px; /* Adds breathing room */
}
/*=============== DELIVERY ===============*/
.delivery__container {
  row-gap: 2.5rem;
}

.delivery__data {
  position: relative;
  text-align: center;
}

.delivery__container .section__title {
  margin-bottom: 1rem;
}

.delivery__description {
  margin-bottom: 2rem;
}

.delivery__sticker {
  width: 30px;
  rotate: 15deg;
  position: absolute;
  right: 1rem;
  bottom: 1.5rem;
  opacity: .5;
}

.delivery__img {
  width: 320px;
  justify-self: center;
  filter: var(--shadow-big-img);
}
.eid__container {
  display: grid;
  gap: 2rem;
}

.eid__card {
  display: flex;
  background-color: #fff7f0;
  border-radius: 1.5rem;
  padding: 1.5rem;
  align-items: center;
  gap: 1.5rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
  transition: transform 0.3s ease;
}

.eid__card:hover {
  transform: scale(1.02);
}

.eid__img {
  width: 140px;
  height: auto;
  border-radius: 1rem;
  object-fit: cover;
}

.eid__content {
  flex: 1;
}

.eid__title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.eid__description {
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  color: #555;
}

.eid__price {
  display: block;
  font-weight: bold;
  color: #b75b2b;
  margin-bottom: 0.5rem;
}
.eid__content {
  flex: 1;
  min-width: 0;
}

.eid__title,
.eid__description {
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

/*=============== CONTACT ===============*/
.contact__container {
  position: relative;
  background-color: var(--second-color);
  padding-top: 3.5rem;
  border-radius: 3rem;
  overflow: hidden;
}

.contact__content {
  row-gap: 3rem;
}

.contact__container .section__title, 
.contact__title, 
.contact__info {
  color: var(--white-color);
}

.contact__data {
  text-align: center;
  row-gap: 2rem;
}

.contact__title {
  font-size: var(--h2-font-size);
  margin-bottom: .75rem;
}

.contact__social {
  display: flex;
  justify-content: center;
  column-gap: 1rem;
}

.contact__social a {
  width: 32px;
  height: 32px;
  background-color: var(--first-color);
  color: var(--second-color);
  font-size: 1.5rem;
  border-radius: .5rem;
  display: grid;
  place-items: center;
  transition: transform .4s;
}

.contact__social a:hover {
  transform: translateY(-.25rem);
}

.contact__info {
  font-style: normal;
}

.contact__image {
  justify-self: center;
}

.contact__img {
  width: 280px;
}
.contact__sticker-1, 
.contact__sticker-2 {
  position: absolute;
  opacity: .5;
}

.contact__sticker-1 {
  width: 40px;
  top: 6.5rem;
  left: 1.5rem;
}

.contact__sticker-2 {
  width: 30px;
  right: 3rem;
  bottom: 12rem;
}

/*=============== FOOTER ===============*/
.footer {
  padding-block: 3rem 2rem;
}

.footer__container {
  row-gap: 2rem;
}

.footer__logo {
  font-size: var(--h1-font-size);
  font-family: var(--second-font);
  color: var(--title-color);
  justify-self: center;
}

.footer__content {
  grid-template-columns: repeat(2, max-content);
  justify-content: center;
}

.footer__link {
  color: var(--text-color);
}

.footer__social {
  grid-column: 1/3;
  display: flex;
  justify-content: center;
  column-gap: 1rem;
}

.footer__social a {
  width: 32px;
  height: 32px;
  background-color: var(--first-color);
  color: var(--second-color);
  font-size: 1.5rem;
  border-radius: .5rem;
  display: grid;
  place-items: center;
  transition: transform .4s;
}

.footer__social a:hover {
  transform: translateY(-.25rem);
}

.footer__copy {
  display: block;
  text-align: center;
  font-size: var(--small-font-size);
  margin-top: 3.5rem;
}

/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar {
  width: .6rem;
  background-color: hsl(34, 16%, 75%);
}

::-webkit-scrollbar-thumb {
  background-color: hsl(34, 16%, 65%);
}

::-webkit-scrollbar-thumb:hover {
  background-color: hsl(34, 16%, 55%);
}

/*=============== SCROLL UP ===============*/
.scrollup {
  position: fixed;
  right: 1rem;
  bottom: -50%;
  background-color: var(--body-color);
  box-shadow: 0 4px 16px hsla(22, 100%, 8%, .2);
  color: var(--title-color);
  display: inline-flex;
  padding: 6px;
  font-size: 1.25rem;
  border-radius: .35rem;
  z-index: var(--z-tooltip);
  transition: bottom .4s, transform .4s;
}

.scrollup:hover {
  transform: translateY(-.5rem);
}

/* Show Scroll Up */
.show-scroll {
  bottom: 3rem;
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 330px) {
  .container {
    margin-inline: 1rem;
  }

  .home__title {
    font-size: 2.5rem;
  }
  .home__burger {
    width: 210px;
  }
  .home__dish {
    width: 250px;
    bottom: -2rem;
  }

  .recipe__container {
    column-gap: 5rem;
  }
  .recipe__img {
    left: -8rem;
  }

  .popular__container {
    grid-template-columns: 160px;
    justify-content: center;
  }

  .footer__social {
    grid-column: 1;
  }
  .footer__content {
    grid-template-columns: 1fr;
    justify-items: center;
  }
}

/* For medium devices */
@media screen and (min-width: 540px) {
  .home__container,
  .delivery__container {
    grid-template-columns: 360px;
    justify-content: center;
  }

  .recipe__img {
    position: initial;
  }
  .recipe__container {
    grid-template-columns: 200px 230px;
    justify-content: center;
    column-gap: 3rem;
  }

  .popular__container {
    grid-template-columns: repeat(2, 160px);
    justify-content: center;
  }

  .contact {
    max-width: 500px;
    margin: 0 auto;
  }
}

@media screen and (min-width: 768px) {
  .popular__container {
    grid-template-columns: repeat(3, 160px);
  }

  .footer__social {
    grid-column: initial;
  }
  .footer__content {
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
  }
  .footer__link:nth-child(1) {
    justify-self: start;
  }
  .footer__link:nth-child(2) {
    order: 2;
    justify-self: end;
  }
}

/* For large devices */
@media screen and (min-width: 1150px) {
  .container {
    margin-inline: auto;
  }

  .section {
    padding-block: 7rem 2rem;
  }
  .section__title {
    margin-bottom: 4.5rem;
  }

  .nav {
    height: calc(var(--header-height) + 2rem);
  }
  .nav__toggle, 
  .nav__close {
    display: none;
  }
  .nav__list {
    flex-direction: row;
    column-gap: 4rem;
  }

  .home__container {
    grid-template-columns: 430px 605px;
    align-items: center;
    column-gap: 4rem;
    padding-block: 7rem 4rem;
  }
  .home__data {
    text-align: initial;
  }
  .home__description {
    margin-bottom: 3.5rem;
    padding-right: 3rem;
  }
  .home__sticker {
    width: 60px;
    right: 10rem;
    bottom: 1rem;
  }
  .home__burger {
    width: 490px;
  }
  .home__dish {
    width: 560px;
    bottom: -4rem;
  }
  .home__ingredient {
    width: 100px;
  }
  .home__potato-1 {
    left: -2rem;
    top: 1.5rem;
  }
  .home__potato-2 {
    right: -1.5rem;
    bottom: -3rem;
  }
  .home__tomato-1 {
    width: 70px;
    top: -1.5rem;
    right: 10rem;
  }
  .home__tomato-2 {
    width: 70px;
    left: 9.5rem;
    bottom: -2.5rem;
  }
  .home__lettuce-1 {
    top: 4rem;
    right: -3.5rem;
  }
  .home__lettuce-2 {
    left: -3.5rem;
    bottom: 2rem;
  }

  .recipe__container {
    grid-template-columns: 350px 300px;
    column-gap: 8rem;
    padding-bottom: 3rem;
  }
  .recipe__img {
    width: 350px;
  }
  .recipe__card {
    column-gap: 1rem;
  }
  .recipe__box {
    width: 100px;
    height: 100px;
    border-radius: 1.25rem;
    border-width: 5px;
  }
  .recipe__box img {
    width: 85px;
  }
  .recipe__title {
    font-size: var(--h3-font-size);
  }
  .recipe__description {
    font-size: var(--normal-font-size);
  }

  .popular__container {
    grid-template-columns: repeat(3, 250px);
    gap: 6.5rem 4rem;
    padding-block: 3rem;
  }
  .popular__card {
    padding: 9.5rem 1.25rem 1.25rem;
    border-radius: 2rem;
    border-width: 6px;
  }
  .popular__img {
    width: 200px;
    top: -3.5rem;
  }
  .popular__title {
    font-size: var(--h2-font-size);
  }
  .popular__price {
    font-size: var(--h1-font-size);
  }
  .popular__button {
    font-size: 1.5rem;
    right: 1.25rem;
    bottom: 1.25rem;
  }

  .delivery__container {
    grid-template-columns: 440px 550px;
    column-gap: 4rem;
    align-items: center;
    padding-block: 1rem;
  }
  .delivery__container .section__title, 
  .delivery__data {
    .delivery__data {
      text-align: center;
      max-width: 600px;
      margin: 0 auto;
    }
  }
  .delivery__description {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.8;
  }
  .delivery__sticker {
    width: 50px;
    right: 8rem;
    bottom: 0;
  }
  .delivery__img {
    width: 550px;
  }
  .delivery__data .button {
    margin: 0 auto;
    display: inline-block;
  }


  .contact {
    max-width: initial;
  }
  .contact__container {
    border-radius: 4rem;
    padding-block: 4rem 6.5rem;
  }
  .contact__content {
    grid-template-columns: 420px 435px;
    justify-content: center;
    column-gap: 6.5rem;
  }
  .contact__data {
    grid-template-columns: repeat(2, max-content);
    text-align: initial;
    gap: 4.5rem 2rem;
    order: 1;
  }
  .contact__social {
    justify-content: initial;
  }
  .contact__title {
    margin-bottom: 1rem;
  }
  .contact__image {
    position: relative;
    width: 100%;
  }
  .contact__img {
    width: 420px;
    position: absolute;
    top: -2.5rem;
  }
  .contact__sticker-1 {
    width: 70px;
    left: 27rem;
    top: 10rem;
  }
  .contact__sticker-2 {
    width: 40px;
    right: 10rem;
    bottom: 5.5rem;
  }

  .footer {
    padding-block: 5rem 3rem;
  }
  .footer__container {
    row-gap: 3.5rem;
  }
  .footer__copy {
    margin-top: 4rem;
  }

  .scrollup {
    right: 3rem;
  }
}
/* Cart Styles */
.cart.container {
  padding: 70px;
}

.cart-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px solid #eee;
  border-radius: 8px;
}

.cart-item-image img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
}

.cart-item-details {
  flex: 1;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.5rem 0;
}

.quantity-btn {
  width: 30px;
  height: 30px;
  border: 1px solid #ddd;
  background: #f5f5f5;
  border-radius: 4px;
  cursor: pointer;
}

.remove-btn {
  background: none;
  border: none;
  color: #ff3333;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.cart-summary {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 2px solid #333;
  text-align: right;
}

.checkout-button {
  background-color: #25D366;
  color: white;
  padding: 1rem 2rem;
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: bold;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.checkout-button:hover {
  background-color: #128C7E;
}

#cart-count {
  font-size: 12px;
  color: red;
  margin-left: 4px;
}
/* Toast Styling */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #1f1f1f;
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: all 0.4s ease-in-out;
  z-index: 9999;
}
.toast.show {
  opacity: 1;
}
.toast.hidden {
  display: none;
}

/* Enlarge Cart Icon */
.nav__cart i {
  font-size: 1.2rem; /* increase as needed */
}
.about__container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

.about__image {
  flex: 1 1 300px;
  max-width: 400px;
}

.about__image img {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.about__content {
  flex: 2 1 400px;
}

.about__description {
  font-size: var(--normal-font-size);
  color: var(--text-color-light);
  line-height: 1.8;
  text-align: justify;
}
/*=============== HOME HIGHLIGHT SECTION ===============*/
.home__highlight {
  margin-top: 2rem;
  padding: 2rem 1rem;
  background-color: var(--body-color-alt);
  border-radius: 1.5rem;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
}

.home__highlight-title {
  text-align: center;
  font-size: var(--h2-font-size);
  margin-bottom: 2rem;
  color: var(--title-color);
}

.highlight__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.highlight__card {
  background-color: var(--container-color);
  padding: 1.5rem;
  border-radius: 1rem;
  text-align: center;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}
.cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.new-flavor {
  flex: 1 1 300px;
  max-width: 400px;
}

.highlight__card:hover {
  transform: translateY(-5px);
}

.highlight__card img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.highlight__card h3 {
  font-size: var(--normal-font-size);
  color: var(--title-color);
  margin-bottom: 0.5rem;
}

.highlight__card p {
  font-size: var(--small-font-size);
  color: var(--text-color-light);
  margin-bottom: 0.5rem;
}

.highlight__card span {
  font-weight: bold;
  color: var(--title-color);
}
.highlight__button {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--first-color);
  color: var(--title-color);
  font-family: var(--second-font);
  font-size: 0.9rem;
  padding: 0.65rem 1.2rem;
  border: none;
  border-radius: 2rem;
  cursor: pointer;
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.highlight__button:hover {
  background-color: var(--first-color-alt);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}
.about__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  padding: 2rem 1rem;
}

.about__content {
  flex: 1;
  max-width: 600px;
  font-size: var(--normal-font-size);
  text-align: center;
}

.about__description {
  color: var(--text-color);
  line-height: 1.8;
}

.about__image-wrapper {
  flex: 1;
  max-width: 500px;
  position: relative;
  padding: 1rem;
  border-radius: 1rem;
  overflow: hidden;
  background: linear-gradient(to top right, #fff0f5, #fffaf0);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.about__img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  object-fit: cover;
}

/* For larger screens: side by side */
@media screen and (min-width: 1024px) {
  .about__container {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 5rem 2rem;
  }

  .about__content {
    text-align: left;
    padding-right: 3rem;
  }
}
.popular__price-box {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin: 0.5rem 0;
}

.popular__old-price {
  text-decoration: line-through;
  color: #888;
  font-size: 1rem;
}

.popular__new-price {
  color: #e63946; /* Eid red highlight */
  font-weight: 700;
  font-size: 1.2rem;
}
.eid-banner {
  background-color: #ffdce0; /* pastel pink */
  color: #3a3a3a;
  text-align: center;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  font-weight: 500;
  border-bottom: 1px solid #fbb1b7;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;

  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);

  /* Smooth fade out transition */
  opacity: 1;
  transition: opacity 0.3s ease;
}

.eid-banner.hidden {
  opacity: 0;
  pointer-events: none; /* disables interaction while fading */
}

header {
  transition: margin-top 0.3s ease;
  margin-top: 0; /* start with no margin, controlled by JS */
}

.eid-banner strong {
  color: #d6004c;
}

.eid-close {
  position: absolute;
  right: 1rem;
  cursor: pointer;
  font-size: 1.1rem;
  color: #d6004c;
  top: 50%;
  transform: translateY(-50%);
  font-weight: bold;
  user-select: none;
}
/* Fix single-card New Flavors layout */
.highlight__grid:has(.highlight__card:only-child) {
  max-width: 400px;
  margin: 0 auto;
  justify-items: center;
}
/* Target the New Flavors section specifically */
.new-flavor-grid {
  max-width: 400px;
  margin: 0 auto 3rem auto; /* add bottom spacing */
  margin-bottom: 4rem;
  justify-items: center;
  
}
@media screen and (max-width: 1149px) {
  .popular__card {
    position: relative;
    padding-top: 2rem;
    text-align: center;
    overflow: visible;
  }

  .popular__img {
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 130px;
    height: auto;
  }

  .popular__title {
    margin-top: 5rem;  /* This is the breathing room you're asking for */
  }

  .popular__price-box {
    flex-direction: column;
    align-items: center;
  }
}

