/*
Theme Name: Borbila Natural
Theme URI: https://natural.borbila.net/
Author: Borbila Themes
Author URI: https://borbila.com/
Description: A clean and modern organic food & grocery WordPress WooCommerce theme inspired by natural.borbila.net with fast COD quick checkout and customizer options.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: borbila-natural
Tags: e-commerce, custom-background, custom-colors, custom-header, custom-menu, featured-images, flexible-header, footer-widgets, full-width-template, theme-options, translation-ready
*/

:root {
  --primary-color: #166534;
  --accent-color: #d97706;
  --bg-color: #faf9f5;
  --text-main: #1f2937;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
}

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

body {
  font-family: 'Hind Siliguri', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Header & Announcement */
.site-announcement-bar {
  background-color: var(--primary-color);
  color: #ffffff;
  font-size: 0.8125rem;
  padding: 0.5rem 0;
  text-align: center;
}

.site-announcement-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.header-main-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1.5rem;
}

.site-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-search-form {
  flex: 1;
  max-width: 480px;
  display: flex;
  border: 2px solid var(--primary-color);
  border-radius: 9999px;
  overflow: hidden;
  background: #ffffff;
}

.header-search-form input[type="search"] {
  flex: 1;
  border: none;
  padding: 0.6rem 1.2rem;
  font-size: 0.875rem;
  outline: none;
}

.header-search-form button {
  background: var(--primary-color);
  color: #ffffff;
  border: none;
  padding: 0 1.25rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.hotline-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
  font-weight: 700;
  font-size: 0.9375rem;
  text-decoration: none;
}

.cart-button {
  background: #f1f5f9;
  border: 1px solid var(--border-color);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--text-main);
  text-decoration: none;
  cursor: pointer;
}

.cart-count {
  background: var(--primary-color);
  color: #fff;
  font-size: 0.75rem;
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
}

/* Primary Navigation */
.main-navigation {
  background: #fafaf9;
  border-top: 1px solid var(--border-color);
}

.main-navigation ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  padding: 0.75rem 0;
}

.main-navigation a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: color 0.15s;
}

.main-navigation a:hover {
  color: var(--primary-color);
}

/* Hero Section */
.hero-section {
  padding: 3rem 0;
  background: linear-gradient(135deg, #f0fdf4 0%, #faf9f5 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
}

.hero-title {
  font-size: 2.75rem;
  line-height: 1.2;
  font-weight: 800;
  color: #14532d;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.btn-primary {
  display: inline-block;
  background: var(--primary-color);
  color: #ffffff;
  padding: 0.875rem 1.75rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(22, 101, 52, 0.25);
  transition: all 0.2s ease;
}

.btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-block;
  background: #ffffff;
  color: var(--primary-color);
  border: 1.5px solid var(--primary-color);
  padding: 0.875rem 1.75rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  margin-left: 0.75rem;
}

/* Product Cards */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.product-card {
  background: #ffffff;
  border-radius: 0.75rem;
  border: 1px solid var(--border-color);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
}

.product-thumbnail {
  aspect-ratio: 4/3;
  width: 100%;
  object-fit: cover;
  border-radius: 0.5rem;
  margin-bottom: 0.75rem;
}

.product-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--text-main);
  text-decoration: none;
}

.product-price {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

.product-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: auto;
}

.btn-quick-order {
  flex: 1;
  background: #ea580c;
  color: #fff;
  border: none;
  padding: 0.6rem 0.75rem;
  border-radius: 0.375rem;
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  text-align: center;
}

.btn-add-cart {
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 0.6rem 0.75rem;
  border-radius: 0.375rem;
  cursor: pointer;
}

/* Footer */
.site-footer {
  background: #111827;
  color: #94a3b8;
  padding-top: 3.5rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

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

.footer-col li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.15s;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid #1f2937;
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.875rem;
}

/* Floating WhatsApp */
.floating-whatsapp {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background-color: #25d366;
  color: #ffffff;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
  z-index: 99;
  text-decoration: none;
  font-size: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .header-main-row {
    flex-wrap: wrap;
  }
  .header-search-form {
    order: 3;
    max-width: 100%;
    width: 100%;
  }
}
