*,
body {
  margin: 0;
  padding: 0;
}
body,
header {
  width: 100vw;
}
.header-left,
.header-top {
  align-items: center;
  display: flex;
}
.cart-icon,
.menu-toggle {
  font-size: 1.5rem;
  color: #4a2f1c;
  position: relative;
}
.eco-shop-image,
.nav-menu,
header {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.feature-content,
.nav-menu {
  max-height: 0;
  overflow: hidden;
}
.cart-icon,
.menu-toggle,
footer,
main {
  position: relative;
}
.modal,
body {
  overflow-x: hidden;
}
.back-to-blog,
.close,
.cta,
.message-box,
.product .cta,
.quantity,
.read-more,
.warning-message {
  font-weight: 700;
}
* {
  box-sizing: border-box;
}
body {
  font-family: Montserrat, sans-serif;
  background-color: beige;
 /** background-image: url("/assets/MustardCatC.png");
# background-attachment: fixed;
 # background-size: contain;
 # background-position: center bottom;
 # background-repeat: no-repeat;**/
  color: #4a2f1c;
  text-align: center;
  min-height: 100vh;
}
header {
  background-color: #f5eacf;
  padding: 10px 20px;
  position: fixed;
  top: 0;
  max-width: 100%;
  z-index: 1000;
}
.header-top {
  justify-content: space-between;
  height: 60px;
  margin: 0 auto;
  flex-wrap: wrap;
  padding: 0 10px;
  max-width: 100%;
}
.logo {
  max-width: 150px;
  height: auto;
  z-index: 1001;
}

svg:not([class*="fa-"]) {
  display: none;
}
  .feature svg.fa-spiral,
  .feature svg.fa-leaf,
  .feature svg.fa-tint,
  .feature svg.fa-hand-holding-heart {
    width: 2.8em !important;
    height: 2.8em !important;
  }
.menu-toggle {
  background: 0 0;
  border: none;
  cursor: pointer;
  padding: 0 10px;
  z-index: 1002;
}
.cart-icon {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
}
.cart-count,
.nav-menu .cart-count {
  background: red;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  font-size: 12px;
  line-height: 16px;
  text-align: center;
}
.cart-icon.has-items {
  animation: 0.5s infinite alternate pulse;
}
.cart-count {
  display: none;
  color: #fff;
}
@keyframes pulse {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.1);
  }
}
.header-title {
  font-size: clamp(1rem, 2vw, 1.8rem);
  margin: 0;
  text-align: center;
}
.nav-menu {
  font-size: 1.3rem;
  position: absolute;
  top: 100%;
  left: 0;
  background: #f6d47f;
  width: 100vw;
  transition: max-height 0.3s ease-in-out;
  z-index: 999;
}
.container,
main {
  width: 100%;
  margin: 0 auto;
}
.nav-menu .cart-count {
  color: #fff;
  display: inline-block;
  margin-left: 5px;
  vertical-align: middle;
}
.nav-menu a,
.product .cta {
  display: block;
  text-decoration: none;
}
.nav-menu.active {
  max-height: 300px;
}
.nav-menu ul {
  list-style: none;
  margin: 0;
  padding: 10px 0;
  text-align: center;
}
.nav-menu li {
  margin: 10px 0;
}
.nav-menu a {
  color: #4a2f1c;
  padding: 10px 20px;
}
main,
main.cart-page {
  padding-top: 80px;
  min-height: calc(100vh - 60px);
}
.nav-menu a:hover {
  background: #e4ae26ad;
  color: #fff;
}
main {
  max-width: 1200px;
  z-index: 1;
  display: flex;
  flex-direction: column;
}
main.cart-page {
  overflow-y: auto;
}
.container {
  padding: 20px;
}
.eco-shop-section {
  text-align: center;
  padding: 40px 20px;
}
.eco-shop-title {
  font-size: 2rem;
  color: #4a2f1c;
  margin-bottom: 20px;
}
.eco-shop-image {
  width: 300px;
  height: auto;
  border-radius: 15px;
}
.blog-grid,
.features,
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.product {
  background: #e4ae26ad;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  width: 100%;
  transition: transform 0.3s, box-shadow 0.3s;
}
.blog-grid .blog-post:hover,
.product:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.blog-grid .blog-post,
.carousel-track .blog-post {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  box-sizing: border-box;
}
.product img {
  margin-bottom: 10px;
}
.product h3 {
  font-size: 1.2rem;
  color: #4a2f1c;
  margin: 10px 0;
  text-align: center;
}
.product p {
  font-size: 1rem;
  color: #654321;
  margin: 5px 0;
  text-align: center;
}
.feature i,
.social-icons a {
  font-size: 2rem;
  color: #654321;
}
#notifyForm button,
#orderForm button,
.cta,
.product .cta,
.quantity-controls button {
  background: #654321;
  color: beige;
  cursor: pointer;
}
.product .cta {
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  margin: 10px auto 0;
  text-align: center;
  transition: background 0.3s;
}
#notifyForm button:hover,
#orderForm button:hover,
.cta:hover,
.product .cta:hover,
.quantity-controls button:hover {
  background: #4a2f1c;
}
.product:first-child {
  animation-delay: 0.1s;
}
.product:nth-child(2) {
  animation-delay: 0.3s;
}
.product:nth-child(3) {
  animation-delay: 0.5s;
}
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}
.product img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}
.cart-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.add-to-cart.unavailable,
.cta:disabled {
  background: #aaa;
  cursor: not-allowed;
}
.cta {
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 8px;
  border: none;
}
.quantity-controls {
  display: none;
  align-items: center;
  gap: 10px;
}
.cart-item .quantity-controls {
  display: flex;
}
.quantity-controls button {
  border: none;
  padding: 5px 10px;
  border-radius: 5px;
}
.warning-message {
  display: block;
  color: red;
}
.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #e4ae26ad;
  padding: 10px;
  margin: 10px 0;
  border-radius: 10px;
}
.feature,
.review {
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.cart-summary {
  margin-top: 20px;
  font-size: 1.2rem;
}
.feature {
  background: rgba(245, 223, 195, 0.84);
  cursor: pointer;
}
.feature:hover {
  background: rgba(230, 210, 180, 0.9);
}
.feature-content {
  transition: max-height 0.3s ease-in-out;
}
.feature-content.active {
  max-height: 200px;
}
.reviews {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}
.review {
  background: rgba(205, 230, 162, 0.881);
  max-width: 300px;
}
.info-post,
.modal-content {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}
#contactForm,
.info-post {
  margin: 20px auto;
  padding: 20px;
}
.social-icons a {
  text-decoration: none;
}
.social-icons a:hover {
  color: #b8860b;
}
footer {
  background: rgba(245, 234, 207, 0.8);
  padding: 10px;
  margin-top: auto;
  color: #4a2f1c;
  box-shadow: 0 -14px 20px rgba(0, 0, 0, 0.1);
  width: 100vw;
  bottom: 0;
}
#contactForm {
  display: none;
  background: rgba(140, 104, 21, 0.658);
  border-radius: 10px;
  max-width: 500px;
}
#contactForm label {
  color: #fff;
  display: block;
  margin-bottom: 8px;
}
#contactForm input,
#contactForm textarea {
  width: calc(100% - 20px);
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background: #181a059b;
  color: #fff;
}
#contactForm button {
  background: #08c;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
}
#contactForm button:hover {
  background: #069;
}
#info {
  padding: 20px;
  margin: 0 auto;
}
.info-post {
  background: rgba(245, 223, 195, 0.84);
  border-radius: 15px;
  max-width: 600px;
}
.info-post h3 {
  margin-top: 0;
  color: #654321;
}
.info-post p {
  margin: 10px 0 0;
  line-height: 1.5;
}
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}
.modal-content {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 100px;
}
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  cursor: pointer;
}
.close:focus,
.close:hover {
  color: #000;
  text-decoration: none;
}
.article a:hover,
.read-more:hover {
  text-decoration: underline;
}
#notifyForm label,
#orderForm label {
  display: block;
  margin-bottom: 8px;
  color: #4a2f1c;
}
#notifyForm input,
#notifyForm textarea,
#orderForm input,
#orderForm select {
  width: calc(100% - 20px);
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}
#notifyForm button,
#orderForm button {
  padding: 12px 25px;
  border: none;
  border-radius: 8px;
  width: 100%;
}
.message-box {
  margin-top: 10px;
  color: #4a2f1c;
  display: none;
}
.suggestions {
  position: absolute;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  max-height: 150px;
  overflow-y: auto;
  width: calc(100% - 20px);
  z-index: 1001;
  display: none;
}
.suggestions div {
  padding: 10px;
  cursor: pointer;
}
.suggestions div:hover {
  background: #f0f0f0;
}
.product-description {
  background: 0 0;
  border: none;
  color: #654321;
  cursor: pointer;
  margin: 10px 0;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-weight: 700;
}
.back-to-blog:hover,
.blog-link,
.product-description:hover {
  color: #4a2f1c;
}
.product-description i {
  transition: transform 0.3s;
}
.product-description.active i {
  transform: rotate(180deg);
}
.product-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
  background: rgba(245, 223, 195, 0.84);
  padding: 0 15px;
  border-radius: 8px;
  margin: 0 0 10px;
}
.blog-carousel,
.carousel-track-container {
  overflow: visible;
  position: relative;
  width: 100%;
}
.product-details.active {
  max-height: 300px;
  padding: 15px;
}
.product-details ul {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
  text-align: left;
}
.product-details li {
  margin: 5px 0;
}
.product-details p {
  margin: 0;
  text-align: left;
}
.notify-btn {
  background: #b8860b;
  margin-top: 10px;
  position: relative;
  z-index: 10;
}
.notify-btn:hover {
  background: #daa520;
}
.blog-link {
  text-decoration: none;
}
.blog-link:hover,
.read-more {
  color: #654321;
}
.carousel-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 350px;
  margin: 0 auto;
}
.blog-carousel {
  max-width: 350px;
}
.carousel-track {
  position: relative;
  width: 100%;
  height: 180px;
  transition: none;
  display: block;
}
.carousel-track .blog-post {
  position: absolute;
  top: 0;
  left: 0;
  width: 350px;
  background: rgba(245, 223, 195, 0.84);
  padding: 20px;
  border-radius: 10px;
  height: 180px;
  opacity: 0;
  transition: opacity 0.5s;
  display: none;
}
.carousel-track .blog-post.active {
  opacity: 1;
  display: flex;
}
.blog-post-image {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  margin-right: 15px;
}
.blog-post-content {
  flex: 1;
  text-align: left;
}
.blog-post-content h3 {
  font-size: 1.2rem;
  margin: 0 0 10px;
  color: #4a2f1c;
  line-height: 1.3;
}
.read-more {
  text-decoration: blink;
  font-size: 0.9rem;
  position: absolute;
  bottom: 10px;
  right: 10px;
}
.read-more:hover {
  color: #4a2f1c;
}
.carousel-btn {
  background: rgba(101, 67, 33, 0.8);
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: beige;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: 0.3s;
}
.carousel-btn:hover {
  background: #4a2f1c;
  transform: scale(1.1);
}
.carousel-indicators {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}
.indicator-dots {
  display: flex;
  gap: 8px;
}
.carousel-indicators span {
  width: 10px;
  height: 10px;
  background-color: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s;
}
.carousel-indicators span.active {
  background-color: #654321;
}
.blog-grid .blog-post {
  position: relative;
  width: 100%;
  max-width: 350px;
  margin: 0 auto;
  background: rgba(245, 223, 195, 0.84);
  padding: 20px;
  border-radius: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
  opacity: 1;
  display: flex;
  height: 180px;
}
.article {
  background: rgba(255, 255, 255, 0.9);
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: left;
  margin: 20px auto;
  max-width: 95%;
}
.article h2,
.article h3 {
  color: #4a2c00;
}
.article p,
.article ul {
  color: #4a2c00;
  line-height: 1.6;
  margin-bottom: 15px;
}
.article a {
  color: #ff6b6b;
  text-decoration: none;
}
.back-to-blog {
  display: inline-flex;
  align-items: center;
  color: #654321;
  text-decoration: none;
  margin-bottom: 20px;
}
.back-to-blog i {
  margin-right: 5px;
}
@media (hover: none) and (pointer: coarse) {
  .carousel-btn {
    display: flex;
  }
  .blog-carousel,
  .carousel-wrapper {
    max-width: 350px;
  }
  .carousel-indicators {
    gap: 10px;
    margin-top: 15px;
  }
  .carousel-indicators span {
    width: 12px;
    height: 12px;
  }
}
@media (hover: hover) and (pointer: fine) {
  .blog-carousel,
  .carousel-wrapper {
    max-width: 350px;
  }
  .carousel-btn {
    display: flex;
  }
}
@media (max-width: 768px) {
  header {
    padding: 10px;
    width: 100vw;
  }
  .header-top {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    height: auto;
    padding: 10px;
  }
  .header-left {
    justify-content: flex-start;
    flex: 1;
    order: 1;
  }
  .logo {
    max-width: 120px;
  }
  .menu-toggle {
    padding: 0 5px;
  }
  .cart-icon {
    order: 2;
    margin-left: 0;
    margin-right: 10px;
  }
  .header-title {
    order: 3;
    width: 100%;
    margin-top: 10px;
    text-align: center;
  }
  .nav-menu,
  main {
    width: 100vw;
  }
  .nav-menu {
    left: 0;
  }
  .nav-menu.active {
    max-height: 300px;
  }
  .nav-menu ul {
    padding: 0;
  }
  main,
  main.cart-page {
    padding-top: 100px;
  }
  .nav-menu li {
    margin: 5px 0;
  }
  .modal-content {
    width: calc(100% - 40px);
    margin: 0;
    top: 140px;
    left: 50%;
    transform: translateX(-50%);
  }
  .blog-carousel,
  .carousel-track-container,
  .carousel-wrapper {
    max-width: 280px;
  }
  .carousel-btn {
    width: 25px;
    height: 25px;
    font-size: 0.9rem;
  }
  .carousel-track .blog-post {
    width: 280px;
    height: 165px;
  }
  .blog-post-image {
    width: 80px;
    height: 80px;
  }
  .blog-post-content h3 {
    font-size: 1rem;
  }
  .carousel-track {
    height: 165px;
  }
}
@media (min-width: 769px) {
  header {
    padding: 10px 20px;
    width: 100vw;
  }
  .header-top {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    padding: 0;
  }
  .header-left {
    justify-content: flex-start;
    margin-right: 20px;
  }
  .cart-icon {
    margin-left: auto;
    order: 2;
  }
  .header-title {
    flex: 1;
    text-align: center;
    order: 1;
  }
  .blog-carousel {
    max-width: 350px;
    margin: 0 auto;
  }
  .carousel-track .blog-post {
    max-width: 350px;
    height: 180px;
  }
  .blog-grid .blog-post {
    max-width: 350px;
    height: 100%;
  }
}
@media (max-width: 480px) {
  body {
    background-size: 80%;
  }
  .products-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .product {
    padding: 10px;
  }
  .blog-post-content h3,
  .product h3 {
    font-size: 1rem;
  }
  .product p {
    font-size: 0.9rem;
  }
  .product .cta {
    padding: 8px 15px;
  }
  main {
    padding-top: 110px;
    width: 100vw;
  }
  .modal-content {
    width: calc(100% - 20px);
    margin: 0;
    top: 140px;
    left: 50%;
    transform: translateX(-50%);
  }
  .cart-item {
    flex-direction: column;
    text-align: left;
  }
  .blog-carousel,
  .carousel-track-container,
  .carousel-wrapper {
    max-width: 240px;
  }
  .carousel-track {
    height: 165px;
  }
  .carousel-track .blog-post {
    width: 240px;
    height: 165px;
    padding: 15px;
  }
  .blog-post-image {
    width: 70px;
    height: 70px;
    margin-right: 10px;
  }
  .blog-grid .blog-post {
    padding: 15px;
  }
}
.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}
.table-wrapper table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
}
.table-wrapper th, .table-wrapper td {
    padding: 8px;
    text-align: left;
    border: 1px solid #ddd;
}
@media (max-width: 768px) {
    .table-wrapper {
        margin: 0 -15px;
        padding: 0 15px;
    }
}
@media (max-width: 768px) {
  .feature svg.fa-spiral,
  .feature svg.fa-leaf,
  .feature svg.fa-tint,
  .feature svg.fa-hand-holding-heart {
    width: 1.8em !important;
    height: 1.8em !important;
  }
}

@media (max-width: 480px) {
  .feature svg.fa-spiral,
  .feature svg.fa-leaf,
  .feature svg.fa-tint,
  .feature svg.fa-hand-holding-heart {
    width: 1.8em !important;
    height: 1.8em !important;
  }
}
