* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: #0b1a2f;
  color: #eef4ff;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* Rain background */
.rain-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: radial-gradient(circle at 20% 30%, #1e2a47, #0a1122);
}

.rain__drop {
  position: absolute;
  width: auto;
  height: 30px;
  left: calc(var(--x) * 1%);
  top: calc((var(--y) + 50) * -1px);
  animation: drop calc(var(--a) * 1s) linear infinite;
  animation-delay: calc(var(--d) * 1s);
  pointer-events: none;
}

.rain__drop path {
  fill: #b3e4f0;
  opacity: var(--o);
  transform: scaleY(calc(var(--s) * 1.5));
}

@keyframes drop {
  0% {
    transform: translateY(0);
    opacity: 0.7;
  }
  80% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(100vh);
    opacity: 0;
  }
}

/* Main content */
.site-content {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 100vh;
  backdrop-filter: blur(1px);
}

/* Hero section - Mobile First */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
  background: rgba(10, 20, 35, 0.55);
  backdrop-filter: blur(4px);
  border-bottom: 1px solid rgba(255, 255, 240, 0.2);
}

.hero-logo {
  max-width: 85%;
  width: auto;
  height: auto;
  max-height: 150px;
  margin-bottom: 1rem;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

/* Animated logo */
.animated-logo {
  animation: floatLogo 3s ease-in-out infinite;
}

@keyframes floatLogo {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

.tagline {
  font-size: 1rem;
  max-width: 90%;
  margin: 0.5rem auto 0;
  font-weight: 400;
  color: #d9e9ff;
  line-height: 1.5;
}

.available-text {
  margin-top: 1rem;
  font-size: 0.85rem;
  opacity: 0.8;
}

.scroll-hint {
  margin-top: 2rem;
  font-size: 0.8rem;
  opacity: 0.8;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

.hero-badge {
  margin-top: 0.8rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-badge span {
  background: rgba(255, 255, 245, 0.2);
  backdrop-filter: blur(4px);
  padding: 0.3rem 1rem;
  border-radius: 40px;
  font-size: 0.7rem;
  font-weight: 500;
}

/* Location bar - Mobile First */
.location-bar {
  background: rgba(5, 15, 28, 0.95);
  backdrop-filter: blur(12px);
  padding: 1rem;
  text-align: center;
  border-bottom: 1px solid #2d4263;
  position: sticky;
  top: 0;
  z-index: 15;
}

.location-bar h3 {
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  margin-bottom: 0.8rem;
  color: #bdd4ff;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

.loc-btn {
  background: #1f334f;
  border: none;
  padding: 0.6rem 1.2rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 60px;
  color: white;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.loc-btn.active {
  background: #2c9b77;
  box-shadow: 0 0 12px #2c9b77aa;
  color: white;
}

.loc-btn:hover {
  background: #3e5a7c;
  transform: translateY(-2px);
}

/* Products panel - Mobile First */
.products-panel {
  max-width: 1200px;
  margin: 1rem auto;
  padding: 1rem;
  background: rgba(15, 25, 45, 0.7);
  backdrop-filter: blur(8px);
  border-radius: 32px;
  transition: all 0.3s;
  width: calc(100% - 2rem);
}

@media (max-width: 640px) {
  .products-panel {
    width: 100%;
    margin: 0.5rem auto;
    padding: 0.8rem;
    border-radius: 16px;
  }
}

@media (min-width: 641px) and (max-width: 1023px) {
  .products-panel {
    padding: 1.2rem;
    margin: 1rem auto;
  }
}

@media (min-width: 1024px) {
  .products-panel {
    padding: 1.5rem;
    margin: 2rem auto;
  }
}

.section-title {
  text-align: center;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  color: #f0f9ff;
  border-left: 4px solid #2c9b77;
  padding-left: 0.8rem;
  display: inline-block;
  width: auto;
  text-transform: lowercase;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
  width: 100%;
}

@media (min-width: 640px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1400px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

/* Category filter section */
.category-filter-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin: 1rem 0 1.5rem 0;
  padding: 0.5rem;
}

.category-filter-btn {
  background: #1f334f;
  border: 2px solid transparent;
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 60px;
  color: white;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.category-filter-btn:hover {
  background: #2c5aa0;
  transform: translateY(-2px);
}

.category-filter-btn.active {
  background: #2c9b77;
  border-color: #2c9b77;
  box-shadow: 0 0 12px rgba(44, 155, 119, 0.5);
}

/* Product card enhancements */

/* Product card - Mobile First */
.product-card {
  background: rgba(255, 255, 245, 0.1);
  backdrop-filter: blur(4px);
  border-radius: 28px;
  padding: 1rem;
  text-align: center;
  transition: transform 0.2s;
  border: 1px solid rgba(255, 255, 210, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  min-height: 360px;
}

.product-card:hover {
  transform: scale(1.02);
  background: rgba(255, 255, 245, 0.2);
}

@media (max-width: 640px) {
  .product-card {
    min-height: 360px;
  }
}

@media (min-width: 641px) and (max-width: 1023px) {
  .product-card {
    min-height: 380px;
  }
}

@media (min-width: 1024px) {
  .product-card {
    min-height: 400px;
  }
}

.product-image-container {
  width: 100%;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 245, 0.05);
  border-radius: 16px;
  margin-bottom: 0.8rem;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  min-height: 150px;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  display: block;
  image-rendering: auto;
}

@media (min-width: 768px) {
  .product-image-container {
    height: 180px;
  }
}

.product-name {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.product-description {
  font-size: 0.75rem;
  opacity: 0.9;
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.8rem;
  justify-content: center;
}

.spec-tag {
  background: rgba(44, 155, 119, 0.2);
  color: #a3e4c4;
  padding: 0.3rem 0.6rem;
  border-radius: 12px;
  font-size: 0.65rem;
  font-weight: 500;
  border: 1px solid rgba(44, 155, 119, 0.4);
}

.product-price {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0.5rem 0;
  color: #ffe5a3;
}

.quantity-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin: 0.8rem 0;
}

.quantity-btn {
  background: #2c9b77;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  color: white;
  transition: 0.2s;
}

.quantity-btn:hover {
  background: #1e6b51;
  transform: scale(1.05);
}

.quantity-value {
  font-size: 1.1rem;
  font-weight: 600;
  min-width: 35px;
}

.add-to-cart-btn {
  background: #3b82f6;
  border: none;
  padding: 0.6rem;
  border-radius: 40px;
  font-weight: bold;
  font-size: 0.85rem;
  cursor: pointer;
  color: white;
  width: 100%;
  transition: 0.2s;
  font-family: inherit;
}

.add-to-cart-btn:hover {
  background: #2563eb;
  transform: scale(0.98);
}

/* Order summary - Mobile First */
.order-summary {
  margin-top: 2rem;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.summary-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.summary-header h3 {
  font-size: 1.1rem;
  color: #ffe5a3;
  text-transform: lowercase;
}

.clear-cart-btn {
  background: #dc2626;
  border: none;
  padding: 0.4rem 0.8rem;
  border-radius: 40px;
  color: white;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.8rem;
  transition: 0.2s;
}

.cart-items {
  max-height: 250px;
  overflow-y: auto;
  margin-bottom: 0.8rem;
}

.cart-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  gap: 0.5rem;
  text-align: center;
}

@media (min-width: 600px) {
  .cart-item {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.cart-item-info {
  flex: 2;
}

.cart-item-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.cart-item-price {
  font-size: 0.8rem;
  opacity: 0.8;
}

.cart-item-quantity {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-qty-btn {
  background: #2c9b77;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  color: white;
  font-weight: bold;
}

.cart-item-total {
  font-weight: 700;
  min-width: 70px;
}

.remove-item {
  background: #dc2626;
  border: none;
  padding: 0.3rem 0.7rem;
  border-radius: 20px;
  cursor: pointer;
  color: white;
  font-size: 0.75rem;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
  border-top: 2px solid rgba(255, 255, 255, 0.2);
  font-size: 1.1rem;
  font-weight: 700;
}

.total-amount {
  color: #ffe5a3;
  font-size: 1.3rem;
}

.whatsapp-order-btn {
  background: #25D366;
  border: none;
  padding: 0.8rem;
  border-radius: 60px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  color: #1f2f2f;
  transition: 0.2s;
  width: 100%;
  margin-top: 0.8rem;
  font-family: inherit;
}

.hidden-section {
  display: none;
}

.visible-section {
  display: block;
}

/* Footer - Mobile First with Map */
.footer-details {
  background: #07121fcc;
  backdrop-filter: blur(12px);
  border-radius: 32px 32px 0 0;
  margin-top: 2rem;
  padding: 1.5rem;
  border-top: 1px solid #2f4b6e;
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .footer-container {
    flex-direction: row;
    gap: 2rem;
  }
  
  .footer-left {
    flex: 1;
  }
  
  .footer-right {
    flex: 1;
  }
}

.footer-left h3 {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  color: #ffe5a3;
}

.contact-detail p {
  margin: 0.6rem 0;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.85rem;
}

.icon-img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.email-query {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.email-query h4 {
  margin-bottom: 0.8rem;
  color: #ffe5a3;
  font-size: 0.9rem;
}

.email-query input,
.email-query textarea {
  width: 100%;
  padding: 0.6rem;
  border-radius: 12px;
  border: none;
  background: #eef2ff;
  font-family: inherit;
  margin-bottom: 0.6rem;
  font-size: 0.85rem;
}

.email-query textarea {
  resize: vertical;
}

.email-query button {
  background: #3b82f6;
  border: none;
  padding: 0.6rem;
  border-radius: 60px;
  font-weight: bold;
  color: white;
  cursor: pointer;
  width: 100%;
  font-size: 0.9rem;
  transition: 0.2s;
}

.email-query button:hover {
  background: #2563eb;
  transform: scale(0.98);
}

.email-status {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  text-align: center;
  padding: 0.4rem;
  border-radius: 12px;
}

.email-status.success {
  background: rgba(44, 155, 119, 0.3);
  color: #a3e4c4;
}

.email-status.error {
  background: rgba(220, 38, 38, 0.3);
  color: #fca5a5;
}

/* Map Container */
.map-container {
  width: 100%;
  height: 300px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

#map {
  width: 100%;
  height: 100%;
}

.map-attribution {
  text-align: center;
  margin-top: 0.6rem;
  font-size: 0.75rem;
  color: #bdd4ff;
}

.copy-footer {
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.7rem;
  opacity: 0.7;
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .hero-logo {
    max-width: 90%;
    max-height: 120px;
  }

  .tagline {
    font-size: 0.9rem;
  }

  .hero-badge span {
    font-size: 0.65rem;
    padding: 0.25rem 0.8rem;
  }

  .loc-btn {
    padding: 0.5rem 1rem;
    font-size: 0.7rem;
  }

  .section-title {
    font-size: 1.2rem;
  }

  .map-container {
    height: 250px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .map-container {
    height: 300px;
  }

  .category-filter-btn {
    font-size: 0.85rem;
    padding: 0.6rem 1.2rem;
  }
}

@media (min-width: 1024px) {
  .map-container {
    height: 350px;
  }

  .category-filter-btn {
    font-size: 0.9rem;
    padding: 0.7rem 1.4rem;
  }
}