﻿/* ============================================================
   ANEES BUTTONS — MASTER PRODUCTION STYLESHEET (100% RESPONSIVE)
   ============================================================ */

:root {
  --primary: #1a6b3a;
  --primary-dark: #0f4d25;
  --primary-light: #2d9a56;
  --primary-bg: #f0fdf4;
  --primary-border: #bbf7d0;
  --dark: #0f172a;
  --dark-2: #1e293b;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border: #e2e8f0;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 15px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.08);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.5;
  overflow-x: hidden;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ------------------------------------------------------------
   ANNOUNCEMENT BAR
   ------------------------------------------------------------ */
.announcement-bar {
  background: var(--dark);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 8px 0;
  overflow: hidden;
  white-space: nowrap;
}

.announcement-inner {
  display: inline-block;
  animation: marquee 35s linear infinite;
}

@keyframes marquee {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* ------------------------------------------------------------
   HEADER & NAVBAR
   ------------------------------------------------------------ */
.header {
  background: var(--bg-white);
  border-bottom: 1.5px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 72px;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-main {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--primary);
  display: block;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.logo-sub {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.search-wrap {
  flex: 1;
  max-width: 480px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-light);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  transition: border-color 0.2s;
}

.search-box:focus-within {
  border-color: var(--primary);
  background: #fff;
}

.search-box input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.88rem;
  width: 100%;
  font-family: inherit;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-nav{background:#fff;border-top:1px solid #f1f5f9;border-bottom:1px solid var(--border)}
.site-nav-inner{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;min-height:44px}
.site-nav a{padding:9px 13px;color:var(--text-muted);font-size:.8rem;font-weight:700;transition:color .15s,background .15s}
.site-nav a:hover,.site-nav a.active{color:var(--primary);background:var(--primary-bg)}
@media(max-width:700px){.site-nav-inner{justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;white-space:nowrap}.site-nav a{font-size:.75rem;padding:8px 10px}}

.whatsapp-header-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #25d366;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  transition: transform 0.15s, opacity 0.15s;
  min-height: 40px;
}

.whatsapp-header-btn:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

.cart-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-light);
  border: 1.5px solid var(--border);
  font-size: 1.1rem;
  position: relative;
  transition: 0.2s;
}

.cart-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #dc2626;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Navigation Links */
.main-nav {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
}

.mobile-menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  background: var(--bg-light);
  color: var(--dark);
  font-size: 1.1rem;
  cursor: pointer;
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  padding: 6px 20px;
}

.nav-inner::-webkit-scrollbar {
  display: none;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: #475569;
  padding: 8px 14px;
  border-radius: 20px;
  transition: 0.15s;
}

.nav-link:hover, .nav-link.active {
  background: var(--primary-bg);
  color: var(--primary);
}

.nav-link.highlight {
  color: var(--primary);
  font-weight: 800;
}

/* ------------------------------------------------------------
   HERO BANNER
   ------------------------------------------------------------ */
.hero-section {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-slides {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 480px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: all;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 40px 20px;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 14px;
  letter-spacing: -0.03em;
}

.hero-title span {
  color: #4ade80;
}

.hero-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 600px;
  margin-bottom: 24px;
  line-height: 1.6;
}

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--bg-white);
  color: var(--dark);
  font-size: 0.95rem;
  font-weight: 800;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  transition: 0.2s;
  min-height: 46px;
}

.btn-primary:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  font-size: 0.95rem;
  font-weight: 800;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  transition: 0.2s;
  min-height: 46px;
}

.hero-prev, .hero-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  border: none;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
}

.hero-prev { left: 16px; }
.hero-next { right: 16px; }
.hero-prev:hover, .hero-next:hover { background: rgba(255, 255, 255, 0.5); }

.hero-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: 0.2s;
}

.dot.active {
  background: #fff;
  width: 28px;
  border-radius: 10px;
}

/* ------------------------------------------------------------
   PRODUCT CATALOG GRID
   ------------------------------------------------------------ */
.products-section {
  padding: 50px 0;
}

.products-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--dark);
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.sort-select {
  padding: 10px 16px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  background: #fff;
  outline: none;
  cursor: pointer;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.product-card-image {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: #f8fafc;
}

.product-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-cat {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.product-card-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dark);
  margin: 6px 0 12px;
  line-height: 1.3;
}

.product-card-price {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--primary);
  margin-top: auto;
}

.product-card-price small {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

.product-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}

.btn-view-options {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
}

/* ------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------ */
.footer {
  background: var(--dark);
  color: #fff;
  padding: 60px 0 30px;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
}

.footer-col h4 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: #fff;
}

.footer-col p {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.6;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #cbd5e1;
  font-size: 0.88rem;
  transition: 0.15s;
}

.footer-col ul li a:hover {
  color: #4ade80;
}

/* ------------------------------------------------------------
   RESPONSIVE BREAKPOINTS (Mobile-First Polish)
   ------------------------------------------------------------ */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: 64px;
  }
  .search-wrap {
    display: none; /* Accessible in secondary drawer */
  }
  .mobile-menu-btn {
    display: inline-flex;
  }
  .main-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 64px;
    padding: 8px 0;
    box-shadow: var(--shadow-lg);
  }
  .main-nav.open {
    display: block;
  }
  .nav-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    overflow: visible;
    white-space: normal;
    padding: 8px 20px 12px;
  }
  .nav-link {
    padding: 10px 12px;
    font-size: 0.8rem;
  }
  .hero-title {
    font-size: 1.85rem;
  }
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 14px;
  }
  .product-card-image {
    height: 150px;
  }
  .product-card-body {
    padding: 14px;
  }
  .product-card-name {
    font-size: 0.92rem;
  }
  .product-card-price {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .logo-sub {
    display: none;
  }
  .header-inner {
    gap: 8px;
    padding: 0 14px;
  }
  .logo-main {
    font-size: 1rem;
  }
  .whatsapp-header-btn {
    padding: 8px 10px;
    font-size: 0;
  }
  .whatsapp-header-btn i {
    font-size: 1.05rem;
  }
  .hero-title {
    font-size: 1.6rem;
  }
  .hero-btns {
    flex-direction: column;
    width: 100%;
  }
  .btn-primary, .btn-outline {
    width: 100%;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
}
