:root {
  --body__bg--1: #111111;
  --body__txt--2: #ddd;
  --header__txt--3: white;
  --nav__bg--4: rgba(0, 0, 0, 0.9);
  --nav__box__shadow--5: rgba(0, 0, 0, 0.2);
  --nav__bg--6: #bc9667;
  --nav__bg--7: rgba(255, 255, 255, 0.1);
  --search__bg--8: #333;
  --left__txt__shadow--9: rgba(0, 0, 0, 0.5);
  --button__txt--10: #edeae3;
  --button__bg--11: rgba(255, 255, 255, 0.3);
  --button__bg--12: #a17b50;
  --coffee__box__shadow--13: rgba(0, 0, 0, 0.3);
  --floating__filter--14: rgba(0, 0, 0, 0.4);
  --about__bg--15: #1a1a1a;
  --about__box__shadow--16: rgba(0, 0, 0, 0.1);
  --stat__box__shadow--17: rgba(0, 0, 0, 0.05);
  --stat__txt--18: #999;
  --filter__txt--19: #ccc;
  --filter__border--20: #444;
  --filter__box__shadow--21: rgba(188, 150, 103, 0.4);
  --product__box__shadow--22: rgba(188, 150, 103, 0.15);
  --product__box__shadow--23: rgba(161, 123, 80, 0.7);
  --product__bg--24: rgba(0, 0, 0, 0.8);
  --quantity__bg--25: #222;
  --remove__txt--26: #ff6b6b;
  --empty__txt--27: #777;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  list-style: none;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--body__bg--1);
  color: var(--body__txt--2);
  line-height: 1.6;
  overflow-x: hidden;
}

header {
  background-color: var(--body__bg--1);
  width: 100%;
  min-height: 100vh;
  background-size: cover;
  color: var(--header__txt--3);
  position: relative;
}

nav {
  padding: 15px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--nav__bg--4);
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}

nav.scrolled {
  padding: 10px 5%;
  box-shadow: 0 5px 20px var(--nav__box__shadow--5);
}

nav .logo {
  width: 90px;
  transition: transform 0.3s ease;
}

nav .logo:hover {
  transform: scale(1.1);
}

nav .logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

nav ul {
  display: flex;
}

nav ul li {
  padding: 8px 18px;
  font-weight: 500;
  text-transform: uppercase;
  border-radius: 5px;
  transition: 0.3s;
  cursor: pointer;
  font-size: 15px;
  letter-spacing: 0.5px;
}

nav ul li a {
  color: var(--header__txt--3);
  text-decoration: none;
  position: relative;
}

nav ul li a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--nav__bg--6);
  transition: width 0.3s ease;
}

nav ul li a:hover::after {
  width: 100%;
}

nav ul li:hover {
  background: var(--nav__bg--7);
}

.icons {
  display: flex;
  align-items: center;
  gap: 20px;
}

.icons i {
  font-size: 24px;
  color: var(--header__txt--3);
  cursor: pointer;
  transition: transform 0.3s ease, color 0.3s ease;
  position: relative;
}

.icons i:hover {
  transform: scale(1.2);
  color: var(--nav__bg--6);
}

.cart-icon-container {
  position: relative;
}

.cart-count {
  position: absolute;
  top: -10px;
  right: -10px;
  background: var(--nav__bg--6);
  color: var(--header__txt--3);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

.search-container {
  position: relative;
  display: none;
}

.search-container.active {
  display: block;
}

.search-input {
  padding: 8px 15px;
  border-radius: 20px;
  border: none;
  outline: none;
  background: var(--search__bg--8);
  color: var(--header__txt--3);
  width: 200px;
}

main {
  display: flex;
  padding: 60px 60px;
  align-items: center;
  justify-content: space-between;
  margin-top: 100px;
  text-align: left;
  flex: 1;
}

.left {
  width: 50%;
  animation: fadeInLeft 1s ease-out;
}

.left h1 {
  font-size: 55px;
  font-weight: 800;
  color: var(--nav__bg--6);
  text-shadow: 2px 2px 4px var(--left__txt__shadow--9);
  margin-bottom: 20px;
  line-height: 1.2;
}

.left p {
  font-size: 17px;
  line-height: 1.8;
  padding: 20px 0;
  text-align: left;
  color: var(--body__txt--2);
  max-width: 600px;
}

button {
  padding: 14px 40px;
  background: var(--nav__bg--6);
  color: var(--button__txt--10);
  font-weight: 600;
  cursor: pointer;
  font-size: 17px;
  border: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.5px;
}

button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    var(--button__bg--11),
    transparent
  );
  transition: 0.5s;
}

button:hover::before {
  left: 100%;
}

button:hover {
  background: var(--button__bg--12);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px var(--nav__box__shadow--5);
}

button:active {
  transform: translateY(0);
  box-shadow: 0 5px 10px var(--nav__box__shadow--5);
}

.right {
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 1s ease-out;
}

.coffee-image-container {
  width: 100%;
  max-width: 420px;
  height: 420px;
  background-color: var(--nav__bg--6);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  box-shadow: 0 20px 40px var(--coffee__box__shadow--13);
}

.floating-coffee {
  width: 100%;
  max-width: 300px;
  height: auto;
  object-fit: contain;
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 15px 20px var(--floating__filter--14));
  transition: transform 0.3s ease;
}

.floating-coffee:hover {
  transform: scale(1.05);
}

.menuIcon {
  display: none !important;
}

.closeIcon {
  display: none !important;
}

/* About Section Styles */
.about-section {
  padding: 80px 5%;
  background-color: var(--about__bg--15);
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 50px;
}

.about-image {
  flex: 1;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 30px var(--about__box__shadow--16);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.about-image:hover img {
  transform: scale(1.05);
}

.about-content {
  flex: 1;
}

.about-content h2 {
  font-size: 38px;
  color: var(--nav__bg--6);
  margin-bottom: 20px;
  position: relative;
}

.about-content h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 3px;
  background: var(--nav__bg--6);
}

.about-content p {
  margin-bottom: 20px;
  color: var(--body__txt--2);
  line-height: 1.8;
}

.about-stats {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}

.stat-item {
  text-align: center;
  padding: 20px;
  background: var(--body__bg--1);
  border-radius: 10px;
  flex: 1;
  margin: 0 10px;
  box-shadow: 0 5px 15px var(--stat__box__shadow--17);
  transition: transform 0.3s ease;
}

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

.stat-item h3 {
  font-size: 32px;
  color: var(--nav__bg--6);
  margin-bottom: 5px;
}

.stat-item p {
  color: var(--stat__txt--18);
  font-size: 14px;
  margin: 0;
}

/* Coffee Products Section Styles */
.products-section {
  padding: 80px 5%;
  background-color: var(--body__bg--1);
  color: var(--header__txt--3);
  text-align: center;
}

.products-section h2 {
  font-size: 38px;
  font-weight: 700;
  color: var(--nav__bg--6);
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px var(--left__txt__shadow--9);
}

.products-section p {
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: var(--body__txt--2);
}

/* Filter Buttons Styles */
.filter-buttons {
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 25px;
  font-size: 16px;
  font-weight: 500;
  background-color: transparent;
  color: var(--filter__txt--19);
  border: 1px solid var(--filter__border--20);
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  background-color: var(--nav__bg--6);
  color: var(--body__bg--1);
  border-color: var(--nav__bg--6);
}

.filter-btn.active {
  background-color: var(--nav__bg--6);
  color: var(--body__bg--1);
  border-color: var(--nav__bg--6);
  box-shadow: 0 4px 10px var(--filter__box__shadow--21);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.product-card {
  background-color: var(--about__bg--15);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 10px 25px var(--product__box__shadow--22);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 20px 35px var(--filter__box__shadow--21);
}

.product-card img {
  width: 100%;
  max-width: 220px;
  height: 220px;
  border-radius: 12px;
  object-fit: cover;
  margin-bottom: 18px;
  filter: drop-shadow(0 5px 5px var(--coffee__box__shadow--13));
  transition: transform 0.3s ease;
}

.product-card:hover img {
  transform: scale(1.06);
}

.product-card h3 {
  font-size: 22px;
  color: var(--nav__bg--6);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-card p {
  font-size: 15px;
  color: var(--filter__txt--19);
  flex-grow: 1;
  margin-bottom: 20px;
}

.product-card .btn {
  width: 100%;
  background: var(--nav__bg--6);
  color: var(--button__txt--10);
  font-weight: 600;
  font-size: 16px;
  border-radius: 8px;
  padding: 12px 0;
  cursor: pointer;
  border: none;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.product-card .btn:hover {
  background: var(--button__bg--12);
  box-shadow: 0 5px 15px var(--product__box__shadow--23);
}

/* Testimonials Section */
.testimonials-section {
  padding: 80px 5%;
  background-color: var(--about__bg--15);
  text-align: center;
}

.testimonials-section h2 {
  font-size: 38px;
  color: var(--nav__bg--6);
  margin-bottom: 50px;
  position: relative;
  display: inline-block;
}

.testimonials-section h2::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--nav__bg--6);
}

.testimonials-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--body__bg--1);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px var(--stat__box__shadow--17);
  width: 350px;
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-10px);
}

.testimonial-content {
  position: relative;
  margin-bottom: 25px;
}

.quote-icon {
  font-size: 40px;
  color: var(--nav__bg--6);
  opacity: 0.3;
  position: absolute;
  top: -15px;
  left: -10px;
}

.testimonial-card p {
  font-style: italic;
  color: var(--body__txt--2);
  line-height: 1.8;
  margin-bottom: 0;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--nav__bg--6);
}

.testimonial-author h4 {
  color: var(--nav__bg--6);
  margin-bottom: 5px;
}

.testimonial-author p {
  color: var(--stat__txt--18);
  font-size: 14px;
  margin: 0;
}

footer {
  background-color: var(--body__bg--1);
  color: var(--header__txt--3);
  padding: 60px 5% 30px;
  margin-top: auto;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section {
  flex: 1;
  min-width: 250px;
}

.footer-section h3 {
  color: var(--nav__bg--6);
  margin-bottom: 25px;
  font-size: 22px;
  position: relative;
}

.footer-section h3::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--nav__bg--6);
}

.footer-section p {
  margin-bottom: 15px;
  line-height: 1.8;
  color: var(--filter__txt--19);
}

.footer-section ul li {
  margin-bottom: 12px;
}

.footer-section ul li a {
  color: var(--filter__txt--19);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--nav__bg--6);
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--search__bg--8);
  border-radius: 50%;
  color: var(--header__txt--3);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: var(--nav__bg--6);
  transform: translateY(-5px);
}

.newsletter form {
  display: flex;
  margin-top: 20px;
}

.newsletter input {
  padding: 8px;
  border: none;
  outline: none;
  flex: 1;
  background: var(--search__bg--8);
  color: var(--header__txt--3);
  border-radius: 5px 0 0 5px;
}

.newsletter button {
  padding: 10px 10px;
  background: var(--nav__bg--6);
  color: var(--header__txt--3);
  border: none;
  cursor: pointer;
  border-radius: 0 5px 5px 0;
  transition: all 0.3s ease;
}

.newsletter button:hover {
  background: var(--button__bg--12);
}

.footer-bottom {
  text-align: center;
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid var(--filter__border--20);
  color: var(--stat__txt--18);
  font-size: 14px;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--nav__bg--6);
  color: var(--header__txt--3);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 5px 15px var(--nav__box__shadow--5);
}

.back-to-top:hover {
  background: var(--button__bg--12);
  transform: translateY(-3px);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--search__bg--8);
  color: var(--header__txt--3);
  padding: 15px 25px;
  border-radius: 5px;
  box-shadow: 0 5px 15px var(--coffee__box__shadow--13);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.toast.show {
  opacity: 1;
  visibility: visible;
}

.product-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--product__bg--24);
  z-index: 1001;
  overflow-y: auto;
}

.modal-content {
  background-color: var(--about__bg--15);
  margin: 5% auto;
  padding: 30px;
  border-radius: 15px;
  max-width: 800px;
  width: 90%;
  box-shadow: 0 10px 30px var(--left__txt__shadow--9);
  position: relative;
  animation: modalFadeIn 0.3s ease-out;
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 28px;
  color: var(--filter__txt--19);
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-modal:hover {
  color: var(--nav__bg--6);
}

.modal-body {
  display: flex;
  gap: 30px;
}

.modal-image-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-image-container img {
  max-width: 100%;
  max-height: 400px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 10px 20px var(--coffee__box__shadow--13);
}

.modal-product-details {
  flex: 1;
  text-align: left;
}

.modal-product-details h2 {
  color: var(--nav__bg--6);
  font-size: 28px;
  margin-bottom: 10px;
}

.product-category {
  display: inline-block;
  background: var(--search__bg--8);
  color: var(--nav__bg--6);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 14px;
  margin-bottom: 20px;
}

.product-description {
  color: var(--filter__txt--19);
  margin-bottom: 25px;
  line-height: 1.8;
}

.product-price {
  font-size: 24px;
  color: var(--nav__bg--6);
  font-weight: bold;
  margin-bottom: 25px;
}

.quantity-controls {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

.quantity-btn {
  width: 40px;
  height: 40px;
  background: var(--search__bg--8);
  color: var(--header__txt--3);
  border: none;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.quantity-btn:hover {
  background: var(--nav__bg--6);
}

.quantity-input {
  width: 60px;
  height: 40px;
  text-align: center;
  margin: 0 10px;
  border: 1px solid var(--filter__border--20);
  background: var(--quantity__bg--25);
  color: var(--header__txt--3);
  font-size: 16px;
}

.add-to-cart-btn {
  width: 100%;
  padding: 15px;
  font-size: 18px;
}

.cart-sidebar {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  height: 100%;
  background-color: var(--about__bg--15);
  box-shadow: -5px 0 15px var(--nav__box__shadow--5);
  z-index: 1002;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
}

.cart-sidebar.open {
  right: 0;
}

.cart-header {
  padding: 20px;
  border-bottom: 1px solid var(--search__bg--8);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-header h3 {
  color: var(--nav__bg--6);
  font-size: 22px;
}

.close-cart {
  font-size: 24px;
  color: var(--filter__txt--19);
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-cart:hover {
  color: var(--nav__bg--6);
}

.cart-items {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
}

.cart-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--search__bg--8);
}

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

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

.cart-item-name {
  color: var(--nav__bg--6);
  margin-bottom: 5px;
  font-size: 16px;
}

.cart-item-price {
  color: var(--filter__txt--19);
  margin-bottom: 10px;
  font-size: 14px;
}

.cart-item-quantity {
  display: flex;
  align-items: center;
}

.cart-item-quantity button {
  width: 25px;
  height: 25px;
  background: var(--search__bg--8);
  color: var(--header__txt--3);
  border: none;
  cursor: pointer;
  font-size: 14px;
}

.cart-item-quantity input {
  width: 40px;
  height: 25px;
  text-align: center;
  margin: 0 5px;
  background: var(--quantity__bg--25);
  color: var(--header__txt--3);
  border: 1px solid var(--filter__border--20);
}

.remove-item {
  color: var(--remove__txt--26);
  cursor: pointer;
  font-size: 14px;
  margin-top: 5px;
  display: inline-block;
}

.empty-cart-message {
  text-align: center;
  padding: 50px 20px;
  color: var(--empty__txt--27);
}

.empty-cart-message i {
  font-size: 50px;
  margin-bottom: 20px;
  color: var(--filter__border--20);
}

.empty-cart-message p {
  margin-bottom: 10px;
}

.cart-footer {
  padding: 20px;
  border-top: 1px solid var(--search__bg--8);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  font-size: 18px;
  color: var(--nav__bg--6);
  font-weight: bold;
}

.checkout-btn {
  width: 100%;
  padding: 15px;
  font-size: 18px;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 991px) {
  main {
    flex-direction: column;
    text-align: center;
    gap: 30px;
    margin-top: 120px;
  }

  .left,
  .right {
    width: 100%;
  }

  .left {
    margin-bottom: 40px;
  }

  .left h1 {
    font-size: 40px;
  }

  .left p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .coffee-image-container {
    max-width: 350px;
    height: 350px;
    margin: 0 auto;
  }

  .modal-body {
    flex-direction: column;
  }

  .modal-image-container {
    margin-bottom: 30px;
  }

  .about-container {
    flex-direction: column;
  }

  .about-image {
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  nav ul {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--body__bg--1);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: right 0.4s ease;
    z-index: 999;
  }

  nav ul.active {
    right: 0;
  }

  nav ul li {
    margin: 15px 0;
  }

  .menuIcon {
    display: block !important;
    font-size: 28px;
    z-index: 1000;
  }

  .closeIcon {
    display: block !important;
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 28px;
    z-index: 1001;
  }

  .left h1 {
    font-size: 36px;
  }

  .products-section h2,
  .about-content h2,
  .testimonials-section h2 {
    font-size: 32px;
  }

  .cart-sidebar {
    width: 100%;
    max-width: 350px;
  }

  .testimonial-card {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .left h1 {
    font-size: 30px;
  }

  .left p {
    font-size: 16px;
  }

  .coffee-image-container {
    max-width: 280px;
    height: 280px;
  }

  .floating-coffee {
    max-width: 200px;
  }

  .filter-buttons {
    gap: 10px;
  }

  .filter-btn {
    padding: 8px 15px;
    font-size: 14px;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    padding: 20px;
  }

  .product-card img {
    max-width: 180px;
    height: 180px;
  }

  .stat-item {
    padding: 15px;
    margin: 0 5px;
  }

  .stat-item h3 {
    font-size: 24px;
  }

  .modal-content {
    padding: 20px;
  }

  .footer-section {
    min-width: 100%;
  }

  .newsletter form {
    flex-direction: column;
  }

  .newsletter input {
    border-radius: 5px;
    margin-bottom: 10px;
  }

  .newsletter button {
    border-radius: 5px;
    width: 100%;
  }

  .search-input {
    width: 150px;
  }
}
