* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Source Sans Pro', sans-serif;
  background: #FAF6E9;
  color: #3A2E1F;
  min-height: 100vh;
  overflow-x: hidden;
}
.parchment {
  background: rgba(248, 242, 225, 0.9);
  border: 1px solid rgba(232, 210, 166, 0.3);
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Enhanced container responsive padding */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
}
nav {
  position: sticky;
  top: 0;
  z-index: 25;
  padding: 12px 0;
  background: #FAF6E9;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(98, 139, 72, 0.1);
}
nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  position: relative;
  height: 56px;
}
nav h1 {
  font-family: 'Karla', sans-serif;
  font-size: 24px;
  color: #628B48;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  pointer-events: none;
}
nav h1::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 24px;
  background: url('https://cdn-icons-png.flaticon.com/512/2153/2153788.png') no-repeat center/contain;
}
nav .nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}
nav .search-container {
  position: relative;
  min-width: 260px;
}
nav input {
  padding: 12px 16px 12px 44px;
  border-radius: 25px;
  background: #F8F2E1;
  color: #3A2E1F;
  border: 1px solid #E8D2A6;
  width: 100%;
  font-size: 16px;
  transition: all 0.3s ease;
}
nav input:focus {
  outline: none;
  box-shadow: 0 0 0 2px #628B48;
  background: #FFFFFF;
}
nav .fa-leaf {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #7A8066;
  font-size: 18px;
  pointer-events: none;
}
nav a, nav button {
  color: #3A2E1F;
  text-decoration: none;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px 16px;
  border-radius: 25px;
  transition: all 0.3s ease;
  white-space: nowrap;
}
nav a:hover, nav button:hover {
  color: #628B48;
  background: rgba(98, 139, 72, 0.1);
}

/* Welcome message link styles */
.welcome-message {
    background: rgba(98, 139, 72, 0.05);
    color: #628B48;
    font-weight: 600;
    position: relative;
}

.welcome-message:hover {
    background: rgba(98, 139, 72, 0.15);
    transform: translateY(-1px);
}

.welcome-message i {
    color: #628B48;
    margin-right: 6px;
}

/* Mobile navigation buttons - hidden by default on desktop */
.mobile-nav-buttons {
    display: none;
}

.mobile-search-container {
    display: none;
}

@media (max-width: 768px) {
  nav .container {
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
  }
  nav h1::before {
    width: 24px;
    height: 24px;
  }
  nav .nav-links {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: #FAF6E9;
    padding: 28px;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    border-bottom: 1px solid rgba(98, 139, 72, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 24;
  }
  nav .nav-links.active {
    display: flex;
  }
  nav .nav-links a, nav .nav-links button {
    font-size: 18px;
    padding: 16px;
    border-radius: 8px;
    background:#628B48;;
     color: #FAF6E9;
     /*background-color: #628B48;*/
    justify-content: flex-start;
    width: 100%;
  }
  nav .nav-links a:hover, nav .nav-links button:hover {
    background: rgba(98, 139, 72, 0.2);
    color: #628B48;
  }
  nav .search-container {
    display: none;
  }  .mobile-nav-buttons {
    display: flex;
    gap: 8px;
    order: 1;
  }  .mobile-menu-btn, .mobile-search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: none;
    border: none;
    color: #628B48;
    cursor: pointer;
    transition: all 0.3s ease;
  }  .mobile-menu-btn:hover, .mobile-search-btn:hover {
    background: rgba(98, 139, 72, 0.1);
    transform: scale(1.05);
  }
  .mobile-menu-btn.active {
    background: #628B48;
    color: #FAF6E9;
  }
  
  .mobile-search-btn.active {
    background: #628B48;
    color: #FAF6E9;
  }.mobile-menu-btn i, .mobile-search-btn i {
    font-size: 18px;
    transition: transform 0.3s ease;
  }
  
  .mobile-menu-btn.active i {
    transform: rotate(180deg);
  }
    /* Mobile Search Container */
  .mobile-search-container {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: #FAF6E9;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(98, 139, 72, 0.1);
    z-index: 26;
    opacity: 0;
    transform: translateY(-100%);
    transition: all 0.3s ease;
  }
  
  .mobile-search-container.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
  }
  
  .mobile-search-container input {
    width: 100%;
    padding: 12px 16px 12px 44px;
    border-radius: 25px;
    background: #F8F2E1;
    color: #3A2E1F;
    border: 1px solid #E8D2A6;
    font-size: 16px;
    transition: all 0.3s ease;
  }
  
  .mobile-search-container input:focus {
    outline: none;
    box-shadow: 0 0 0 2px #628B48;
    background: #FFFFFF;
  }
  
  .mobile-search-container .fa-leaf {
    position: absolute;
    left: 32px;
    top: 50%;
    transform: translateY(-50%);
    color: #7A8066;
    font-size: 18px;
    pointer-events: none;
  }
  
  .mobile-search-container .close-search {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #7A8066;
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
  }
  
  .mobile-search-container .close-search:hover {
    background: rgba(98, 139, 72, 0.1);
    color: #628B48;
  }
  
  nav.active-search h1,
  nav.active-search .mobile-nav-buttons {
    display: none;
  }
    nav.active-search .mobile-search-container {
    display: block;
  }
}

/* Notification Banner */
.notification-banner {
  background: linear-gradient(135deg, #628B48 0%, #7A8066 50%, #628B48 100%);
  color: #FAF6E9;
  padding: 12px 0;
  /*position: relative;*/
  box-shadow: 0 2px 8px rgba(98, 139, 72, 0.15);
  border-bottom: 1px solid rgba(98, 139, 72, 0.2);
  background-size: 200% 100%;
  animation: gradientShift 8s ease-in-out infinite;
   position: sticky;
  top: 80px;
   z-index: 24;
}

.notification-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(248, 242, 225, 0.05) 25%, 
    rgba(248, 242, 225, 0.1) 50%, 
    rgba(248, 242, 225, 0.05) 75%, 
    transparent 100%
  );
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes shimmer {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

.notification-banner .container {
  position: relative;
  z-index: 1;
}

.notification-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
  font-size: 15px;
  font-weight: 600;
  font-family: 'Source Sans Pro', sans-serif;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.notification-item {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.notification-item i {
  color: #F4A261;
  margin-right: 8px;
  font-size: 16px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
  animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* Enhanced separators */
.notification-item:not(:last-child)::after {
  content: '•';
  color: #E8D2A6;
  margin-left: 32px;
  font-weight: bold;
  animation: separatorGlow 2s ease-in-out infinite alternate;
}

@keyframes separatorGlow {
  0% { opacity: 0.6; }
  100% { opacity: 1; color: #F4A261; }
}

/* Mobile marquee styles */
.mobile-marquee {
  display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .notification-banner {
    padding: 10px 0;
  }
  
  .notification-content {
    font-size: 14px;
    gap: 24px;
  }
  
  .notification-item i {
    font-size: 15px;
  }
  
  .notification-item:not(:last-child)::after {
    margin-left: 24px;
  }
}

@media (max-width: 480px) {
  .notification-banner {
    padding: 8px 0;
    overflow: hidden;
  }
  
  .notification-content {
    display: none;
  }
  
  .mobile-marquee {
    display: flex;
    align-items: center;
    white-space: nowrap;
    overflow: hidden;
  }
  
  .mobile-marquee-text {
    display: inline-flex;
    align-items: center;
    animation: mobileScroll 20s linear infinite;
    padding-left: 100%;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Source Sans Pro', sans-serif;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  }
  
  .mobile-marquee-text span {
    display: inline-flex;
    align-items: center;
    margin-right: 30px;
    white-space: nowrap;
  }
  
  .mobile-marquee-text i {
    color: #F4A261;
    margin-right: 6px;
    font-size: 14px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
    animation: iconPulse 2s ease-in-out infinite;
  }
  
  @keyframes mobileScroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-100%);
    }
  }
}

.hero {
  text-align: center;
  padding: 80px 16px;
  background: linear-gradient(135deg, #FAF6E9, #F8F2E1);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(98, 139, 72, 0.2), transparent);
}
.hero-content {
  position: relative;
  z-index: 2;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(98, 139, 72, 0.1);
  color: #628B48;
  padding: 8px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
  border: 1px solid rgba(98, 139, 72, 0.2);
}
.hero-badge i {
  font-size: 14px;
}
.hero-badge span {
  font-size: 14px;
  font-weight: 600;
}
.hero h2 {
  font-family: 'Karla', sans-serif;
  font-size: 48px;
  color: #628B48;
  margin-bottom:24px;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.hero p {
  font-size: 18px;
  color: #7A8066;
  max-width: 640px;
  margin: 0 auto 32px;
  line-height: 1.6;
}
.hero-features {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 32px;
}
.feature {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #628B48;
}
.feature i {
  font-size: 20px;
}
.feature span {
  font-size: 16px;
  font-weight: 600;
}
.hero button {
  background: #F4A261;
  color: #3A2E1F;
  padding: 16px 36px;
  border-radius: 10px;
  font-size: 17px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.hero button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(244, 162, 97, 0.3);
  background: #f5934d;
}
.hero button i {
  transition: transform 0.3s ease;
}
.hero button:hover i {
  transform: translateX(4px);
}
.hero .leaf-icon {
  color: #628B48;
  font-size: 24px;
  margin-bottom: 16px;
  animation: float 3s ease-in-out infinite;
}
.hero-decoration {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.floating-leaves {
  position: absolute;
  width: 100%;
  height: 100%;
}
.floating-leaves i {
  position: absolute;
  color: rgba(98, 139, 72, 0.1);
  font-size: 30px;
}
.leaf-1 {
  top: 20%;
  left: 15%;
  animation: float 4s ease-in-out infinite;
}
.leaf-2 {
  top: 30%;
  right: 20%;
  animation: float 5s ease-in-out infinite 1s;
  transform: rotate(45deg);
}
.leaf-3 {
  bottom: 25%;
  left: 30%;
  animation: float 4.5s ease-in-out infinite 0.5s;
  transform: rotate(-45deg);
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-10px) rotate(5deg); }
}
@media (max-width: 768px) {
  .hero h2 { font-size: 36px; }
  .hero-features { flex-direction: column; gap: 16px; align-items: center; }
  .floating-leaves { display: none; }
}
.carousel, .products, footer {
  padding: 40px 16px;
}
.carousel {
  background: linear-gradient(135deg, rgba(98, 139, 72, 0.05), rgba(244, 162, 97, 0.05));
  position: relative;
  overflow: hidden;
}
.carousel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(98, 139, 72, 0.2), transparent);
}
.carousel h2, .products h2 {
  font-family: 'Karla', sans-serif;
  font-size: 32px;
  color: #628B48;
  text-align: center;
  margin-bottom: 12px;
}
.carousel .subtitle {
  text-align: center;
  color: #7A8066;
  font-size: 16px;
  margin-bottom: 32px;
}
.carousel-controls {
  display: none;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #E8D2A6;
  cursor: pointer;
  transition: all 0.3s ease;
}
.carousel-dot.active {
  background: #628B48;
  transform: scale(1.2);
}
.carousel-grid {
  display: flex;
  overflow-x: auto;
  gap: 24px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 12px 4px;
  scroll-behavior: smooth;
}
.carousel-grid::-webkit-scrollbar { display: none; }
.carousel-grid > div { flex: 0 0 280px; scroll-snap-align: center; }
.carousel .product-card {
  position: relative;
  transform-origin: center;
  transition: all 0.4s ease;
}
.carousel .product-card:hover { transform: translateY(-8px); }
.carousel .featured-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #F4A261;
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 2;
}
.carousel .discount-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #EF4444;
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  z-index: 2;
}
.product-card, .cart-item {
  padding: 20px;
  transition: transform 0.3s ease;
  position: relative;
}
.product-card:hover { transform: translateY(-5px); }
.product-card img, .cart-item img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 16px;
}
.product-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #3A2E1F;
  margin-bottom: 10px;
}
.product-card p, .cart-item p {
  font-size: 15px;
  color: #7A8066;
}
.product-card .price {
  color: #F4A261;
  font-weight: 600;
  font-size: 16px;
  margin: 10px 0;
}
.product-card .organic-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: #628B48;
  color: #FAF6E9;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}
.product-card .actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.product-card button, .cart-item button {
  background: #F4A261;
  color: #3A2E1F;
  padding: 10px 20px;
  border-radius: 10px;
  border: none;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.3s ease;
  min-width: 120px;
  text-align: center;
}
.product-card button:hover, .cart-item button:not(.remove):hover {
  transform: scale(1.05);
}
/* Out of stock button styles */
.product-card button.out-of-stock, 
.modal-content button.out-of-stock {
  background: #E5E7EB !important;
  color: #9CA3AF !important;
  cursor: not-allowed !important;
  opacity: 0.6;
  border: 1px solid #D1D5DB !important;
}
.product-card button.out-of-stock:hover, 
.modal-content button.out-of-stock:hover {
  transform: none !important;
  background: #E5E7EB !important;
  color: #9CA3AF !important;
}
.product-card a {
  color: #8B6F47;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s ease;
}
.product-card a:hover { color: #628B48; }
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.category-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.category-buttons button {
  padding: 10px 20px;
  border-radius: 10px;
  background: #F8F2E1;
  color: #3A2E1F;
  border: 1px solid #E8D2A6;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.category-buttons button.active, .category-buttons button:hover {
  background: #628B48;
  color: #FAF6E9;
  border-color: #628B48;
}
.cart-total { text-align: right; }
.cart-total p {
  font-size: 20px;
  color: #F4A261;
  font-weight: 600;
  margin-bottom: 20px;
}
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
  z-index: 30;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.modal.active { 
  opacity: 1; 
  display: flex !important;
}
.modal-content {
  max-width: 420px;
  width: 92%;
  padding: 28px;
  background: #FAF6E9;
  border-radius: 10px;
  position: relative;
}
.modal img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
}
.modal h2 {
  font-family: 'Karla', sans-serif;
  font-size: 22px;
  color: #628B48;
  margin-bottom: 14px;
}
.modal p {
  font-size: 15px;
  color: #7A8066;
  margin-bottom: 14px;
}
.modal .organic-badge {
  display: inline-block;
  background: #628B48;
  color: #FAF6E9;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
}
.modal .actions {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
}
.modal button {
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 15px;
  cursor: pointer;
  border: none;
}
.modal button:first-child {
  background: #F8F2E1;
  color: #3A2E1F;
}
.modal button:last-child {
  background: #F4A261;
  color: #3A2E1F;
}
.cart-modal-content {
  max-width: 500px;
  width: 90%;
  background: #FAF6E9;
  border-radius: 10px;
  padding: 20px;
  position: relative;
  max-height: 80vh;
  overflow-y: auto;
}
.cart-modal-content .sticky-header {
  position: sticky;
  top: 0;
  background: #FAF6E9;
  padding: 20px 0;
  margin: -20px 0 20px 0;
  z-index: 1;
  border-bottom: 1px solid rgba(232, 210, 166, 0.3);
}
.cart-modal-content h2 {
  font-family: 'Karla', sans-serif;
  font-size: 24px;
  color: #3A2E1F;
  margin-bottom: 0;
  text-align: center;
}
.cart-modal-content .close-cart-modal {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #F8F2E1;
  border: 1px solid #E8D2A6;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #7A8066;
  transition: all 0.3s ease;
}
.cart-modal-content .close-cart-modal:hover {
  background: #E8D2A6;
  color: #3A2E1F;
}
.cart-modal-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
  margin-bottom: 15px;
  background: rgba(248, 242, 225, 0.9);
  border-radius: 8px;
  border: 1px solid rgba(232, 210, 166, 0.3);
}
.cart-modal-item img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  margin-right: 15px;
}
.cart-modal-item .details {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cart-modal-item h3 {
  font-size: 16px;
  font-weight: 600;
  color: #3A2E1F;
  margin-right: 10px;
}
.cart-modal-item .price-unit {
  font-size: 14px;
  color: #628B48;
  font-weight: 600;
  margin-right: 4px;
}
.cart-modal-item .quantity {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.cart-modal-item .quantity button {
  background: #F8F2E1;
  color: #3A2E1F;
  border: 1px solid #E8D2A6;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.cart-modal-item .quantity button:hover {
  background: #E8D2A6;
}
.cart-modal-item .quantity span {
  font-size: 14px;
  color: #3A2E1F;
}
.cart-modal-item .price-total {
  font-size: 16px;
  color: #F4A261;
  font-weight: 600;
  margin-left: 15px;
  margin-right: 4px;
}
.cart-modal-item .remove {
  background: none;
  color: #EF4444;
  font-size: 16px;
  padding: 0;
  margin-left: 15px;
}
.cart-modal-item .remove:hover {
  color: #DC2626;
  transform: none;
}
.cart-modal-total {
  position: sticky;
  bottom: 0;
  background: #FAF6E9;
  padding: 15px 0;
  margin-top: 20px;
  margin-bottom: -20px;
  margin-left: -20px;
  margin-right: -20px;
  padding-left: 20px;
  padding-right: 20px;
  border-top: 1px solid rgba(232, 210, 166, 0.3);
  text-align: right;
}
.cart-modal-total p {
  font-size: 18px;
  color: #F4A261;
  font-weight: 600;
  margin-bottom: 15px;
}
.cart-modal-total button {
  background: #F4A261;
  color: #3A2E1F;
  padding: 12px 20px;
  border-radius: 10px;
  border: none;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.cart-modal-total button:hover {
  background: #f5934d;
  transform: scale(1.05);
}
@media (max-width: 768px) {
  .cart-modal-content {
    max-width: 90%;
    padding: 15px;
  }
  .cart-modal-item {
    flex-wrap: wrap;
    gap: 10px;
  }
  .cart-modal-item img {
    width: 50px;
    height: 50px;
  }
  .cart-modal-item h3 {
    font-size: 14px;
  }
  .cart-modal-item .price-unit {
    font-size: 12px;
  }
  .cart-modal-item .quantity button {
    padding: 4px 8px;
    font-size: 12px;
  }
  .cart-modal-item .quantity span {
    font-size: 12px;
  }
  .cart-modal-item .price-total {
    font-size: 14px;
    margin-left: 10px;
  }
  .cart-modal-item .remove {
    margin-left: 10px;
  }
  .cart-modal-total p {
    font-size: 16px;
  }
  .cart-modal-total button {
    padding: 10px 16px;
    font-size: 14px;
  }
}
footer {
  background: #3A2E1F;
  color: #FAF6E9;
}
footer .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  text-align: left;
  padding: 40px 16px;
}
footer h3 {
  font-family: 'Karla', sans-serif;
  font-size: 20px;
  color: #F4A261;
  margin-bottom: 16px;
}
footer ul { list-style: none; }
footer ul li a {
  color: #D1D5DB;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s ease;
}
footer ul li a:hover { color: #F4A261; }
footer .social { display: flex; gap: 16px; }
footer .social a {
  color: #D1D5DB;
  font-size: 20px;
}
footer .social a:hover { color: #F4A261; }
footer .leaf-icon {
  color: #628B48;
  font-size: 20px;
  margin-right: 8px;
}
.cart-summary {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #F4A261;
  color: #3A2E1F;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease;
  z-index: 10;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}
.cart-summary:hover { transform: scale(1.05); }
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #FAF6E9;
  padding: 12px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 20;
}
.bottom-nav-content {
  display: flex;
  justify-content: space-around;
  align-items: center;
  max-width: 500px;
  margin: 0 auto;
}
.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #7A8066;
  text-decoration: none;
  font-size: 12px;
  gap: 4px;
}
.bottom-nav-item i { font-size: 20px; }
.bottom-nav-item.active { color: #628B48; }
@media (max-width: 768px) {
  .bottom-nav { display: block; }
  body { padding-bottom: 60px; }
  .cart-summary { bottom: 80px; }
  .hero h2 { font-size: 28px; }
  .hero p { font-size: 16px; }
  .carousel-grid > div { flex: 0 0 200px; }
  .products-grid { grid-template-columns: 1fr; }
  .product-card img, .cart-item img { height: 140px; }
  .modal-content { padding: 20px; }
  .modal img { height: 55px; }
  .cart-summary { font-size: 14px; padding: 10px 16px; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  nav input { width: 300px; }
  .carousel-grid > div { flex: 0 0 210px; }
}
@media (min-width: 1025px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  nav input { width: 340px; }
}
.loading {
  position: fixed;
  inset: 0;
  background: rgba(250, 246, 233, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.loading.active { opacity: 1; pointer-events: all; }
.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(98, 139, 72, 0.1);
  border-top-color: #628B48;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (hover: hover) {
  .product-card:hover { transform: translateY(-5px); }
}
.product-card:active { transform: scale(0.98); }
button:active, .bottom-nav-item:active { transform: scale(0.95); }
.product-card, .cart-item {
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), 
               box-shadow 0.2s cubic-bezier(0, 0, 0.2, 1);
}
.bottom-nav {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
body {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
body::-webkit-scrollbar { display: none; }
.install-button {
  display: none;
  align-items: center;
  gap: 8px;
  background: #628B48;
  color: #FAF6E9;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}
.install-button:hover {
  background: #4e6f3a;
  transform: translateY(-1px);
}
.install-button i {
  font-size: 16px;
}
@media (max-width: 768px) {
  .install-button {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 8px 0;
    background: rgba(98, 139, 72, 0.05);
  }
}
.checkout-modal-content {
  max-width: 800px;
  width: 90%;
  background: #FAF6E9;
  border-radius: 10px;
  max-height: 90vh;
  overflow-y: auto;
}
.checkout-header {
  padding: 20px;
  border-bottom: 1px solid rgba(232, 210, 166, 0.3);
  position: sticky;
  top: 0;
  background: #FAF6E9;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.checkout-header h2 {
  font-family: 'Karla', sans-serif;
  color: #3A2E1F;
  margin: 0;
}
.close-modal {
  background: none;
  border: none;
  font-size: 24px;
  color: #7A8066;
  cursor: pointer;
}
.checkout-body {
  padding: 20px;
  display: grid;
  gap: 24px;
}
.delivery-details, .order-summary, .payment-method {
  background: rgba(248, 242, 225, 0.5);
  border: 1px solid rgba(232, 210, 166, 0.3);
  border-radius: 8px;
  padding: 20px;
}
.checkout-body h3 {
  font-family: 'Karla', sans-serif;
  color: #628B48;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #3A2E1F;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #E8D2A6;
  border-radius: 8px;
  background: #fff;
}
.form-group textarea {
  height: 100px;
  resize: vertical;
}

/* Delivery Preview Styles */
.delivery-preview {
  background: linear-gradient(135deg, #E8F5E8, #F0F9F0);
  border: 2px solid #4CAF50;
  border-radius: 12px;
  padding: 16px;
  margin-top: 16px;
  animation: slideIn 0.3s ease-out;
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.15);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.delivery-preview-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.delivery-preview-content i {
  font-size: 20px;
  color: #4CAF50;
  background: rgba(76, 175, 80, 0.1);
  padding: 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
}

.delivery-preview-info {
  flex: 1;
}

.delivery-preview-time {
  font-size: 16px;
  font-weight: 700;
  color: #2D5016;
  margin-bottom: 4px;
}

.delivery-preview-zone {
  font-size: 14px;
  color: #4A5568;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.delivery-preview-zone i {
  font-size: 14px;
}

/* Mobile responsive for delivery preview */
@media (max-width: 768px) {
  .delivery-preview {
    padding: 12px;
  }
  
  .delivery-preview-content {
    gap: 10px;
  }
  
  .delivery-preview-content i {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }
  
  .delivery-preview-time {
    font-size: 14px;
  }
  
  .delivery-preview-zone {
    font-size: 12px;
  }
}

.total-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
}
.grand-total {
  border-top: 2px dashed rgba(232, 210, 166, 0.5);
  margin-top: 8px;
  padding-top: 16px;
  font-weight: 600;
  color: #F4A261;
}
.payment-options {
  display: grid;
  gap: 12px;
}
.payment-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: #fff;
  border: 2px solid #E8D2A6;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.payment-option:hover {
  border-color: #628B48;
  background: #F8F9FA;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.payment-option.razorpay {
  border-left: 4px solid #3395ff;
  background: linear-gradient(135deg, #ffffff, #f8faff);
}

.payment-option.razorpay:hover {
  background: linear-gradient(135deg, #f0f8ff, #ffffff);
  border-color: #3395ff;
}

.payment-option input[type="radio"] {
  margin: 0;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.payment-option .checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid #ddd;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

.payment-option input[type="radio"]:checked + .checkmark {
  border-color: #628B48;
  background: #628B48;
}

.payment-option input[type="radio"]:checked + .checkmark::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
}

.payment-option .payment-icon {
  color: #628B48;
  font-size: 18px;
  width: 24px;
  text-align: center;
}

.payment-option.razorpay .payment-icon {
  color: #3395ff;
}

.payment-option span:last-child {
  font-weight: 500;
  color: #3A2E1F;
  flex-grow: 1;
}
.checkout-footer {
  padding: 20px;
  border-top: 1px solid rgba(232, 210, 166, 0.3);
  display: flex;
  justify-content: space-between;
  position: sticky;
  bottom: 0;
  background: #FAF6E9;
}
.primary-btn,
.secondary-btn {
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  border: none;
}
.primary-btn {
  background: #F4A261;
  color: #3A2E1F;
}
.secondary-btn {
  background: #F8F2E1;
  color: #3A2E1F;
}
.success-content {
  background: #FAF6E9;
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  max-width: 400px;
}
.success-icon {
  font-size: 64px;
  color: #628B48;
  margin-bottom: 20px;
}
.success-content h2 {
  color: #3A2E1F;
  margin-bottom: 16px;
}
.success-content p {
  color: #7A8066;
  margin-bottom: 8px;
}
.success-content button {
  margin-top: 24px;
}
@media (max-width: 768px) {
  .checkout-modal-content {
    width: 95%;
    max-height: 95vh;
  }
  .checkout-body {
    padding: 16px;
    gap: 16px;
  }
  .checkout-footer {
    flex-direction: column;
    gap: 12px;
  }
  .checkout-footer button {
    width: 100%;
  }
  .success-content {
    padding: 24px;
  }
}

/* Toast notifications */
.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #628B48;
  color: white;
  padding: 12px 16px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 300px;
}

.toast.show {
  opacity: 1;
  transform: translateX(0);
}

.toast.error {
  background: #EF4444;
}

.toast.info {
  background: #3B82F6;
}

.toast button {
  background: none;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
  padding: 0;
  margin-left: auto;
}

/* ========================================
   ADDRESS SELECTOR STYLES FOR CHECKOUT MODAL
   ======================================== */

/* Address Selector Container */
.address-selector {
  margin-bottom: 16px;
}

.address-selector label {
  display: block;
  margin-bottom: 12px;
  color: #3A2E1F;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.address-selector label i {
  color: #628B48;
  font-size: 16px;
}

/* Address Options Container */
.address-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

/* Individual Address Option */
.address-option {
  border: 2px solid #E8D2A6;
  border-radius: 12px;
  padding: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.address-option:hover {
  border-color: #628B48;
  background: rgba(98, 139, 72, 0.02);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(98, 139, 72, 0.1);
}

.address-option.selected {
  border-color: #628B48;
  background: rgba(98, 139, 72, 0.05);
  box-shadow: 0 4px 12px rgba(98, 139, 72, 0.15);
}

.address-option.selected::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #628B48, #4A7C59);
}

/* Address Option Header */
.address-option-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.address-option-header input[type="radio"] {
  margin: 0;
  width: 18px;
  height: 18px;
  accent-color: #628B48;
  cursor: pointer;
}

.address-option-header i {
  font-size: 16px;
  color: #628B48;
  background: rgba(98, 139, 72, 0.1);
  padding: 6px;
  border-radius: 8px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.address-option-header span {
  font-weight: 600;
  color: #3A2E1F;
  font-size: 14px;
  text-transform: capitalize;
}

/* Address Edit Button */
.address-edit-btn {
  background: transparent;
  border: none;
  color: #628B48;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  position: relative;
  z-index: 10;
}

.address-edit-btn:hover {
  background: rgba(98, 139, 72, 0.1);
  color: #4A7C59;
  transform: scale(1.1);
}

.address-edit-btn i {
  font-size: 14px;
}

/* Prevent edit button click from triggering address selection */
.address-edit-btn:focus {
  outline: 2px solid #628B48;
  outline-offset: 2px;
}

/* Default Badge in Address Selector */
.address-selector .default-badge {
  background: linear-gradient(135deg, #F4A261 0%, #E76F51 100%);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-left: 8px;
  box-shadow: 0 2px 4px rgba(244, 162, 97, 0.3);
}

/* Address Option Text */
.address-option-text {
  font-size: 14px;
  color: #4A5568;
  line-height: 1.4;
  margin-left: 30px;
  font-weight: 500;
}

/* New Address Option Styling */
.address-option[data-address-id="new"] {
  border-style: dashed;
  border-color: #B8B8B8;
  background: #FAFAFA;
}

.address-option[data-address-id="new"]:hover {
  border-color: #628B48;
  background: rgba(98, 139, 72, 0.03);
}

.address-option[data-address-id="new"] .address-option-header i {
  background: rgba(98, 139, 72, 0.1);
  color: #628B48;
}

.address-option[data-address-id="new"] .address-option-header span {
  color: #628B48;
  font-weight: 600;
}

/* Responsive Design for Address Selector */
@media (max-width: 768px) {
  .address-option {
    padding: 12px;
  }
  
  .address-option-header {
    gap: 10px;
  }
  
  .address-option-header i {
    width: 24px;
    height: 24px;
    padding: 4px;
  }
  
  .address-option-text {
    margin-left: 24px;
    font-size: 13px;
  }
  
  .address-selector .default-badge {
    font-size: 9px;
    padding: 2px 6px;
  }
}

/* ========================================
   ADD ADDRESS PROMPT FOR CHECKOUT
   ======================================== */

/* Add Address Prompt Container */
.add-address-prompt {
  margin-bottom: 16px;
  background: linear-gradient(135deg, #F8F9FA 0%, #FFFFFF 100%);
  border: 2px dashed #E8D2A6;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.add-address-prompt:hover {
  border-color: #628B48;
  background: linear-gradient(135deg, #FAFAFA 0%, #F8F9FA 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(98, 139, 72, 0.1);
}

.add-address-prompt-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.add-address-prompt-content i {
  font-size: 48px;
  color: #628B48;
  opacity: 0.7;
  margin-bottom: 8px;
}

.add-address-prompt-content h4 {
  margin: 0;
  font-family: 'Karla', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #3A2E1F;
}

.add-address-prompt-content p {
  margin: 0;
  font-size: 14px;
  color: #7A8066;
  line-height: 1.4;
}

.add-address-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 8px;
}

.add-address-buttons .btn-primary {
  background: linear-gradient(135deg, #628B48 0%, #4A7C59 100%);
  color: #FFFFFF;
  border: none;
  padding: 12px 20px;
  border-radius: 10px;
  font-family: 'Karla', sans-serif;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(98, 139, 72, 0.3);
}

.add-address-buttons .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(98, 139, 72, 0.4);
  background: linear-gradient(135deg, #537A3D 0%, #628B48 100%);
}

.add-address-buttons .btn-secondary {
  background: #F8F2E1;
  color: #3A2E1F;
  border: 2px solid #E8D2A6;
  padding: 10px 18px;
  border-radius: 10px;
  font-family: 'Karla', sans-serif;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.add-address-buttons .btn-secondary:hover {
  background: #E8D2A6;
  border-color: #628B48;
  color: #2D5016;
  transform: translateY(-1px);
}

/* Responsive Design for Add Address Prompt */
@media (max-width: 768px) {
  .add-address-prompt {
    padding: 20px;
    margin-bottom: 12px;
  }
  
  .add-address-prompt-content i {
    font-size: 40px;
  }
  
  .add-address-prompt-content h4 {
    font-size: 18px;
  }
  
  .add-address-buttons {
    flex-direction: column;
    gap: 10px;
  }
  
  .add-address-buttons .btn-primary,
  .add-address-buttons .btn-secondary {
    justify-content: center;
    width: 100%;
  }
}

/* ===============================================
   ACCOUNT MODAL - MATCHING LOGIN MODAL STYLE
   ======================================== */

/* Main Account Modal Container - Same as login modal */
.account-modal-content {
  max-width: 520px;
  width: 92%;
  padding: 28px;
  background: #FAF6E9;
  border-radius: 10px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

/* Simple Header matching login modal style - STICKY */
.account-header {
  position: sticky;
  top: 0;
  transform: translateY(-29px);
  z-index: 100;
  background: #FAF6E9;
  margin: -28px -28px 28px -28px;
  padding: 28px 28px 16px 28px;
  text-align: center;
  border-bottom: 1px solid #E8D2A6;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(98, 139, 72, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Close button positioned within sticky header */
.close-account-modal {
  position: absolute;
  top: 0;
  right: 16px;
  transform: translateY(72%);
  color: #7A8066;
  background: #F8F2E1;
  border: 1px solid #E8D2A6;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
}

.account-header h2 {
  margin: 0;
  font-family: 'Karla', sans-serif;
  font-size: 22px;
  color: #628B48;
  text-align: center;
  flex: 1;
}

.close-account-modal:hover {
  background: #E8D2A6;
  color: #628B48;
}

/* Account Body */
.account-body {
  min-height: 300px;
}

/* ===============================================
   ACCOUNT NAVIGATION - LOGIN MODAL STYLE
   =============================================== */

/* Account Tabs Container */
.account-tabs {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Main Account Navigation - Simple style like login modal */
.account-nav {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  padding: 4px;
  background: #F8F2E1;
  border-radius: 10px;
  border: 1px solid #E8D2A6;
}

.account-nav-item {
  flex: 1;
  background: transparent;
  border: none;
  padding: 12px 16px;
  border-radius: 8px;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #7A8066;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.account-nav-item.active {
  background: #F4A261;
  color: #3A2E1F;
}

.account-nav-item:hover {
  background: #E8D2A6;
  color: #628B48;
}

.account-nav-item.active:hover {
  background: #F4A261;
  color: #3A2E1F;
}

/* Account Content Area */
.account-content {
  background: transparent;
  padding: 0;
}

/* Login Prompt Styles - Matching login modal */
.account-login-prompt {
  text-align: center;
  padding: 32px 20px;
}

.login-icon {
  font-size: 64px;
  color: #628B48;
  margin-bottom: 24px;
  display: block;
}

.account-login-prompt h3 {
  color: #628B48;
  margin-bottom: 16px;
  font-family: 'Karla', sans-serif;
  font-size: 22px;
  font-weight: normal;
}

.account-login-prompt p {
  margin-bottom: 28px;
  line-height: 1.6;
  color: #7A8066;
  font-size: 15px;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}

.account-login-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 300px;
  margin: 0 auto;
}

.account-btn {
  padding: 12px 24px;
  border-radius: 10px;
  border: none;
  font-size: 16px;
  font-weight: normal;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 120px;
  justify-content: center;
}

.account-btn.primary {
  background: #F4A261;
  color: #3A2E1F;
}

.account-btn.primary:hover {
  background: #E6935A;
}

.account-btn.secondary {
  background: #F8F2E1;
  color: #628B48;
  border: 1px solid #E8D2A6;
}

.account-btn.secondary:hover {
  background: #E8D2A6;
}

/* ===============================================
   PROFILE NAVIGATION - LOGIN MODAL STYLE
   =============================================== */

/* Profile Content Container */
.profile-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Profile Navigation - Same style as account nav */
.profile-nav {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  padding: 4px;
  background: #F8F2E1;
  border-radius: 10px;
  border: 1px solid #E8D2A6;
}

.profile-nav-item {
  flex: 1;
  background: transparent;
  border: none;
  padding: 12px 16px;
  border-radius: 8px;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #7A8066;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.profile-nav-item.active {
  background: #F4A261;
  color: #3A2E1F;
}

.profile-nav-item:hover {
  background: #E8D2A6;
  color: #628B48;
}

.profile-nav-item.active:hover {
  background: #F4A261;
  color: #3A2E1F;
}

/* Profile Section Content */
.profile-section-content {
  background: transparent;
  overflow-y: auto;
  min-height: 250px;
}

/* ===============================================
   ACCOUNT MODAL FORM STYLES - LOGIN MODAL STYLE
   =============================================== */

/* Profile Form Styles */
.profile-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.form-group {
  flex: 1;
  min-width: 200px;
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  color: #7A8066;
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: normal;
}

.form-group input {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  background: #F8F2E1;
  color: #3A2E1F;
  border: 1px solid #E8D2A6;
  font-size: 16px;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.form-group input:focus {
  outline: none;
  border-color: #628B48;
  background: #F8F2E1;
}

.form-group input[readonly] {
  background: #E8D2A6;
  color: #7A8066;
  cursor: not-allowed;
}

.form-note {
  font-size: 12px;
  color: #7A8066;
  margin-top: 5px;
  font-style: italic;
}

.form-actions {
  display: flex;
  justify-content: center;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #E8D2A6;
}

.btn-primary {
  width: 100%;
  padding: 12px;
  background: #F4A261;
  color: #3A2E1F;
  border-radius: 10px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary:hover {
  background: #E6935A;
}

.btn-primary:disabled {
  background: #E8D2A6;
  color: #7A8066;
  cursor: not-allowed;
}

/* Address Section Styles */
.addresses-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.addresses-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid #E8D2A6;
  margin-bottom: 8px;
}

.addresses-header h4 {
  margin: 0;
  color: #628B48;
  font-size: 18px;
  font-weight: normal;
  font-family: 'Karla', sans-serif;
}

.btn-secondary {
  background: #F8F2E1;
  color: #628B48;
  border: 1px solid #E8D2A6;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: normal;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.btn-secondary:hover {
  background: #E8D2A6;
}

.no-addresses {
  text-align: center;
  padding: 48px 20px;
  color: #7A8066;
}

.no-addresses i {
  font-size: 56px;
  color: #E8D2A6;
  margin-bottom: 20px;
  display: block;
}

.no-addresses p {
  margin: 0 0 24px 0;
  font-size: 15px;
  line-height: 1.5;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}

/* ===============================================
   ORDER HISTORY STYLES - LOGIN MODAL STYLE
   =============================================== */

.order-history {
  padding: 0;
}

.order-history h3 {
  margin: 0 0 24px 0;
  color: #628B48;
  font-family: 'Karla', sans-serif;
  font-size: 20px;
  font-weight: normal;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid #E8D2A6;
}

.order-history h3 i {
  color: #F4A261;
  font-size: 20px;
}

.orders-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
}

.order-card {
  background: #F8F2E1;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #E8D2A6;
  cursor: pointer;
  transition: all 0.3s ease;
}

.order-card:hover {
  background: #F4F0E0;
  border-color: #628B48;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(98, 139, 72, 0.15);
}

.order-header {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.order-info {
  flex: 1;
}

.order-info h4 {
  margin: 0 0 12px 0;
  color: #628B48;
  font-size: 16px;
  font-weight: 600;
  font-family: 'Karla', sans-serif;
}

.order-date {
  font-size: 14px;
  color: #7A8066;
  font-weight: normal;
  margin-bottom: 6px;
}

.order-time {
  font-size: 12px;
  color: #7A8066;
  font-weight: normal;
}

.order-summary {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.order-total {
  font-size: 18px;
  font-weight: 600;
  color: #F4A261;
  font-family: 'Karla', sans-serif;
}

.order-actions {
  padding: 16px 20px;
  border-top: 1px solid #E8D2A6;
  display: flex;
  justify-content: center;
  background: rgba(244, 162, 97, 0.05);
}

.order-action-btn {
  background: #F4A261;
  color: #3A2E1F;
  border: none;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.order-action-btn:hover {
  background: #E6935A;
  transform: translateY(-1px);
}

/* Empty Orders State */
.no-orders {
  text-align: center;
  padding: 48px 20px;
  color: #7A8066;
}

.no-orders-icon {
  font-size: 64px;
  color: #E8D2A6;
  margin-bottom: 24px;
}

.no-orders h3 {
  margin: 0 0 16px 0;
  color: #628B48;
  font-family: 'Karla', sans-serif;
  font-size: 20px;
  font-weight: normal;
}

.no-orders p {
  margin: 0 0 28px 0;
  font-size: 15px;
  line-height: 1.5;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}

.start-shopping-btn {
  background: #F4A261;
  color: #3A2E1F;
  border: none;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: normal;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.start-shopping-btn:hover {
  background: #E6935A;
}

/* Address Card Styles */
.address-card {
  background: #F8F2E1;
  border: 1px solid #E8D2A6;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.address-card:hover {
  border-color: #628B48;
  box-shadow: 0 2px 8px rgba(98, 139, 72, 0.1);
}

.address-card-header {
  padding: 16px 20px;
  background: rgba(244, 162, 97, 0.05);
  border-bottom: 1px solid #E8D2A6;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.address-type {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #628B48;
  font-weight: 600;
  font-size: 14px;
}

.address-type i {
  color: #F4A261;
  font-size: 16px;
}

.default-badge {
  background: #F4A261;
  color: #3A2E1F;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-left: 8px;
  box-shadow: 0 2px 4px rgba(244, 162, 97, 0.3);
}

.address-actions {
  display: flex;
  gap: 8px;
}

.address-actions button {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: all 0.3s ease;
}

.edit-btn {
  background: #E8D2A6;
  color: #628B48;
}

.edit-btn:hover {
  background: #628B48;
  color: white;
}

.delete-btn {
  background: #F8D7D7;
  color: #DC3545;
}

.delete-btn:hover {
  background: #DC3545;
  color: white;
}

.default-btn {
  background: #FFF3CD;
  color: #856404;
}

.default-btn:hover {
  background: #856404;
  color: white;
}

.address-card-body {
  padding: 16px 20px;
  color: #7A8066;
  font-size: 14px;
  line-height: 1.5;
}

.address-card-body p {
  margin: 0 0 8px 0;
}

.address-card-body p:last-child {
  margin-bottom: 0;
}

.address-card-body i {
  color: #F4A261;
  margin-right: 8px;
  width: 14px;
}

/* ===============================================
   ACCOUNT MODAL RESPONSIVE STYLES
   =============================================== */

@media (max-width: 768px) {
  .account-modal-content {
    max-width: 95%;
    width: 95%;
    padding: 20px;
    margin: 20px auto;
    max-height: 85vh;
  }

  .account-header {
    margin: -20px -20px 20px -20px;
    padding: 20px 20px 12px 20px;
  }

  .account-header h2 {
    font-size: 20px;
  }
  .close-account-modal {
    top: -6px;
    right: 12px;
    width: 30px;
    height: 30px;
    font-size: 12px;
  }

  .address-form-header {
    margin: -20px -20px 20px -20px;
    padding: 20px 20px 12px 20px;
  }

  .address-form-header h2 {
    font-size: 20px;
  }

  .close-address-form-modal {
    top: 12px;
    right: 12px;
    width: 30px;
    height: 30px;
    font-size: 12px;
  }

  .order-details-header {
    margin: -20px -20px 20px -20px;
    padding: 20px 20px 12px 20px;
  }

  .order-details-header h2 {
    font-size: 20px;
  }

  .close-order-details-modal {
    top: 12px;
    right: 12px;
    width: 30px;
    height: 30px;
    font-size: 12px;
  }

  .account-nav, .profile-nav {
    flex-direction: column;
    gap: 4px;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .form-group {
    min-width: 100%;
 
  }

  .order-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .address-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .addresses-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .account-login-buttons {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .account-modal-content {
    width: 98%;
    padding: 16px;
    border-radius: 8px;
  }

  .account-header {
    margin: -16px -16px 16px -16px;
    padding: 16px 16px 10px 16px;
  }

  .account-header h2 {
    font-size: 18px;
  }
  .address-form-modal-content {
    width: 98%;
    padding: 16px;
    border-radius: 8px;
  }

  .address-form-header {
    margin: -16px -16px 16px -16px;
    padding: 16px 16px 10px 16px;
  }

  .address-form-header h2 {
    font-size: 18px;
  }

  .order-details-modal-content {
    width: 98%;
    padding: 16px;
    border-radius: 8px;
  }

  .order-details-header {
    margin: -16px -16px 16px -16px;
    padding: 16px 16px 10px 16px;
  }

  .order-details-header h2 {
    font-size: 18px;
  }
}

/* ===============================================
   ADDRESS FORM MODAL - MATCHING LOGIN MODAL STYLE
   =============================================== */

/* Main Address Form Modal Container - Same as account modal */
.address-form-modal-content {
  max-width: 520px;
  width: 92%;
  padding: 28px;
  background: #FAF6E9;
  border-radius: 10px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

/* Address Form Header matching login modal style - STICKY */
.address-form-header {
  position: sticky;
  top: 0;
  transform: translateY(-30px);
  z-index: 100;
  background: #FAF6E9;
  margin: -28px -28px 28px -28px;
  padding: 28px 28px 16px 28px;
  text-align: center;
  border-bottom: 1px solid #E8D2A6;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(98, 139, 72, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.address-form-header h2 {
  margin: 0;
  font-family: 'Karla', sans-serif;
  font-size: 22px;
  color: #628B48;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 1;
}

.address-form-header h2 i {
  color: #F4A261;
  font-size: 20px;
}

/* Close button matching login modal */
.close-address-form-modal {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  color: #7A8066;
  background: #F8F2E1;
  border: 1px solid #E8D2A6;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
}

.close-address-form-modal:hover {
  background: #E8D2A6;
  color: #628B48;
}

/* Address Form Body */
.address-form-body {
  padding: 0;
}

/* Address Form Styles - Matching account modal forms */
#address-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#address-form .form-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

#address-form .form-group {
  flex: 1;
  min-width: 200px;
  margin-bottom: 20px;
}

#address-form .form-group label {
  display: block;
  color: #7A8066;
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: normal;
}

#address-form .form-group input,
#address-form .form-group select,
#address-form .form-group textarea {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  background: #F8F2E1;
  color: #3A2E1F;
  border: 1px solid #E8D2A6;
  font-size: 16px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  font-family: 'Source Sans Pro', sans-serif;
}

#address-form .form-group input:focus,
#address-form .form-group select:focus,
#address-form .form-group textarea:focus {
  outline: none;
  border-color: #628B48;
  background: #F8F2E1;
}

#address-form .form-group input[readonly] {
  background: #E8D2A6;
  color: #7A8066;
  cursor: not-allowed;
}

#address-form .form-group textarea {
  resize: vertical;
  min-height: 80px;
  line-height: 1.5;
}

#address-form .form-group select {
  cursor: pointer;
}

#address-form .form-group select option {
  background: #F8F2E1;
  color: #3A2E1F;
  padding: 8px;
}

/* Checkbox Styling - Enhanced for default address selection */
.checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  color: #628B48;
  font-size: 15px;
  gap: 12px;
  margin-top: 16px;
  padding: 16px;
  background: linear-gradient(135deg, #F8F2E1 0%, #F4F0E0 100%);
  border-radius: 10px;
  border: 1px solid #E8D2A6;
  transition: all 0.3s ease;
  user-select: none;
  position: relative;
  box-shadow: 0 1px 3px rgba(98, 139, 72, 0.1);
}

.checkbox-label:hover {
  background: linear-gradient(135deg, #F4F0E0 0%, #F0ECD5 100%);
  border-color: #628B48;
  box-shadow: 0 2px 6px rgba(98, 139, 72, 0.15);
  transform: translateY(-1px);
}

.checkbox-label input[type="checkbox"] {
  width: auto !important;
  margin: 0;
  opacity: 0;
  position: absolute;
}

.checkmark {
  width: 24px;
  height: 24px;
  background: #FFFFFF;
  border: 2px solid #E8D2A6;
  border-radius: 8px;
  position: relative;
  transition: all 0.3s ease;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.checkbox-label:hover .checkmark {
  border-color: #628B48;
  background: #F8F2E1;
  box-shadow: 0 2px 4px rgba(98, 139, 72, 0.2);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
  background: linear-gradient(135deg, #628B48 0%, #5A7A42 100%);
  border-color: #628B48;
  box-shadow: 0 2px 6px rgba(98, 139, 72, 0.3);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark:after {
  content: '';
  position: absolute;
  left: 7px;
  top: 3px;
  width: 6px;
  height: 12px;
  border: solid #FFFFFF;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
  animation: checkmark-appear 0.3s ease-in-out;
}

@keyframes checkmark-appear {
  0% {
    opacity: 0;
    transform: rotate(45deg) scale(0.5);
  }
  100% {
    opacity: 1;
    transform: rotate(45deg) scale(1);
  }
}

.checkbox-label input[type="checkbox"]:checked ~ span:not(.checkmark) {
  color: #628B48;
  font-weight: 600;
}

.checkbox-label input[type="checkbox"]:checked {
  ~ * {
    color: #628B48;
  }
}

/* Add a subtle icon before the text */
.checkbox-label::before {
  content: '\f005';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  color: #F4A261;
  font-size: 14px;
  margin-left: auto;
  opacity: 0;
  transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked ~ .checkmark ~ *::before {
  opacity: 1;
}

/* Form Actions - Matching account modal */
#address-form .form-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #E8D2A6;
}

#address-form .form-actions .btn-secondary {
  background: #F8F2E1;
  color: #628B48;
  border: 1px solid #E8D2A6;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: normal;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  min-width: 120px;
  justify-content: center;
}

#address-form .form-actions .btn-secondary:hover {
  background: #E8D2A6;
}

#address-form .form-actions .btn-primary {
  background: #F4A261;
  color: #3A2E1F;
  border-radius: 10px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  min-width: 140px;
}

#address-form .form-actions .btn-primary:hover {
  background: #E6935A;
}

#address-form .form-actions .btn-primary:disabled {
  background: #E8D2A6;
  color: #7A8066;
  cursor: not-allowed;
}

/* ===============================================
   ORDER DETAILS MODAL - MATCHING LOGIN MODAL STYLE
   =============================================== */

/* Main Order Details Modal Container - Same as account modal */
.order-details-modal-content {
  max-width: 520px;
  width: 92%;
  padding: 28px;
  background: #FAF6E9;
  border-radius: 10px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

/* Order Details Header - STICKY */
.order-details-header {
  position: sticky;
  top: 0;
  transform: translateY(-30px);
  z-index: 100;
  background: #FAF6E9;
  margin: -28px -28px 28px -28px;
  padding: 28px 28px 16px 28px;
  text-align: center;
  border-bottom: 1px solid #E8D2A6;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(98, 139, 72, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.order-details-header h2 {
  margin: 0;
  font-family: 'Karla', sans-serif;
  font-size: 22px;
  color: #628B48;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 1;
}

.order-details-header h2 i {
  color: #F4A261;
  font-size: 20px;
}

/* Close button matching login modal */
.close-order-details-modal {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  color: #7A8066;
  background: #F8F2E1;
  border: 1px solid #E8D2A6;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
}

.close-order-details-modal:hover {
  background: #E8D2A6;
  color: #628B48;
}

/* Order Details Body */
.order-details-body {
  padding: 0;
}
@media (max-width: 600px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .product-card, .cart-item {
    padding: 8px;
    border-radius: 10px;
  }
  .product-card img, .cart-item img {
    height: 80px;
    margin-bottom: 8px;
    border-radius: 8px;
  }
  .product-card h3 {
    font-size: 13px;
    margin-bottom: 4px;
  }
  .product-card p, .cart-item p {
    font-size: 11px;
    margin-bottom: 2px;
  }
  .product-card .price {
    font-size: 13px;
    margin: 4px 0;
  }
  .product-card .actions {
    gap: 6px;
  }
  .product-card button, .cart-item button {
    font-size: 13px;
    padding: 7px 0;
    border-radius: 8px;
  }
}

/* Ensure two product cards per row on all tablets, including iPad Mini */
@media (min-width: 600px) and (max-width: 991px) {
  .product-list, .products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}
