/* ================================================================
   Shri Oil — Customer Website CSS
   Brand: Natural, Premium, Clean | White + Cream + Green + Brown
   ================================================================ */

/* ── Google Fonts ─────────────────────────────────────────────── */
:root {
  --green-dark:   #2d5a27;
  --green-mid:    #4a8c3f;
  --green-light:  #b8e6a4;
  --cream:        #fdf8f0;
  --cream-dark:   #f5f0e8;
  --brown:        #7a5c3a;
  --brown-light:  #c9a97a;
  --white:        #ffffff;
  --text-dark:    #2c2c2c;
  --text-mid:     #555555;
  --text-light:   #888888;
  --border:       #e8e0d0;
  --shadow-sm:    0 2px 8px rgba(45,90,39,.08);
  --shadow-md:    0 4px 20px rgba(45,90,39,.12);
  --shadow-lg:    0 8px 40px rgba(45,90,39,.16);
  --radius:       12px;
  --radius-sm:    8px;
  --transition:   .25s ease;
}

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

body {
  font-family: 'Lato', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.7;
}

h1,h2,h3,h4,h5,h6 {
  font-family: 'Playfair Display', serif;
  color: var(--green-dark);
}

a { color: var(--green-dark); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--green-mid); }

img { max-width: 100%; }

/* ── Top Banner ───────────────────────────────────────────────── */
.top-banner {
  background: var(--green-dark);
  color: var(--cream);
  padding: 6px 0;
  font-size: 12px;
}
.top-banner a { color: var(--cream); }
.top-banner small { opacity: .9; }

/* ── Navbar ───────────────────────────────────────────────────── */
.main-navbar {
  background: var(--white);
  border-bottom: 2px solid var(--cream-dark);
  padding: 12px 0;
  box-shadow: var(--shadow-sm);
}

.navbar-brand { text-decoration: none; }
.brand-text {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--green-dark);
  letter-spacing: 1px;
  line-height: 1;
}
.brand-tagline {
  font-size: 10px;
  color: var(--brown-light);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: 'Lato', sans-serif;
  font-weight: 300;
}

.main-navbar .nav-link {
  color: var(--text-dark) !important;
  font-weight: 500;
  padding: 8px 16px !important;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  font-size: 14px;
  letter-spacing: .3px;
}
.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
  color: var(--green-dark) !important;
  background: var(--cream-dark);
}

.btn-cart-nav {
  background: var(--green-dark);
  color: var(--white) !important;
  border: none;
  border-radius: 30px;
  padding: 8px 20px;
  font-weight: 600;
  font-size: 14px;
  transition: all var(--transition);
}
.btn-cart-nav:hover { background: var(--green-mid); transform: translateY(-1px); }

.cart-icon-mobile { position: relative; color: var(--green-dark); font-size: 22px; }
.cart-badge {
  position: absolute; top: -6px; right: -8px;
  background: var(--brown); color: #fff; border-radius: 50%;
  font-size: 10px; width: 18px; height: 18px;
  display: flex; align-items: center; justify-content: center;
}

/* ── Hero Section ─────────────────────────────────────────────── */
.hero-section {
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 60%, #e8f5e3 100%);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 40%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Ccircle cx='100' cy='100' r='90' fill='%234a8c3f' opacity='0.05'/%3E%3C/svg%3E") center/cover;
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--green-dark);
  margin-bottom: 20px;
}
.hero-title span { color: var(--brown); }
.hero-desc {
  font-size: 17px;
  color: var(--text-mid);
  max-width: 480px;
  margin-bottom: 35px;
  font-weight: 300;
}
.hero-cta-group { display: flex; gap: 15px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-stats { display: flex; gap: 30px; flex-wrap: wrap; }
.hero-stat-item { text-align: center; }
.hero-stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--green-dark);
  display: block;
}
.hero-stat-label { font-size: 12px; color: var(--text-light); letter-spacing: 1px; text-transform: uppercase; }

.hero-image-wrap {
  position: relative;
  text-align: center;
}
.hero-image-wrap img {
  max-height: 450px;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(45,90,39,.2));
  animation: heroFloat 3s ease-in-out infinite;
}
@keyframes heroFloat {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

/* ── Buttons ──────────────────────────────────────────────────── */
.btn-primary-brand {
  background: var(--green-dark);
  color: #fff;
  border: 2px solid var(--green-dark);
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 15px;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary-brand:hover {
  background: var(--green-mid);
  border-color: var(--green-mid);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-brand {
  background: transparent;
  color: var(--green-dark);
  border: 2px solid var(--green-dark);
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 15px;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-outline-brand:hover {
  background: var(--green-dark);
  color: #fff;
  transform: translateY(-2px);
}

/* ── Section Styles ───────────────────────────────────────────── */
.section-pad { padding: 80px 0; }
.section-pad-sm { padding: 50px 0; }

.section-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--brown);
  display: block;
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 15px;
}
.section-subtitle {
  font-size: 16px;
  color: var(--text-mid);
  max-width: 600px;
  margin: 0 auto 40px;
  font-weight: 300;
}

.section-bg-cream { background: var(--cream-dark); }
.section-bg-white { background: var(--white); }
.section-bg-green { background: var(--green-dark); color: #fff; }

/* ── Product Card ─────────────────────────────────────────────── */
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid var(--border);
  height: 100%;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.product-img-wrap {
  background: var(--cream-dark);
  padding: 30px;
  text-align: center;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.product-img-wrap img {
  max-height: 180px;
  object-fit: contain;
  transition: transform .3s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.05); }

.product-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--green-dark);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
}

.product-body { padding: 20px; }
.product-name {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 4px;
}
.product-size {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 12px;
}
.product-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--green-dark);
  font-family: 'Playfair Display', serif;
}

.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  width: fit-content;
}
.qty-btn {
  background: var(--cream-dark);
  border: none;
  width: 36px; height: 36px;
  font-size: 18px;
  cursor: pointer;
  transition: background var(--transition);
  color: var(--green-dark);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.qty-btn:hover { background: var(--green-dark); color: #fff; }
.qty-input {
  width: 50px; height: 36px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  font-weight: 600;
  font-size: 15px;
  color: var(--text-dark);
}
.qty-input:focus { outline: none; }

/* ── Cart / Checkout ──────────────────────────────────────────── */
.cart-table { width: 100%; }
.cart-table th { 
  background: var(--cream-dark); 
  color: var(--green-dark); 
  font-weight: 600; 
  padding: 12px 16px;
  font-family: 'Playfair Display', serif;
}
.cart-table td { padding: 16px; vertical-align: middle; border-bottom: 1px solid var(--border); }

.order-summary-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 25px;
  position: sticky;
  top: 80px;
}
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; color: var(--text-mid); }
.summary-row.total { border-top: 2px solid var(--green-dark); margin-top: 10px; padding-top: 12px; }
.summary-row.total span { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700; color: var(--green-dark); }
.delivery-free { color: var(--green-dark) !important; font-weight: 700; }

/* ── Forms ────────────────────────────────────────────────────── */
.form-label { font-weight: 600; color: var(--text-dark); font-size: 14px; }
.form-control, .form-select {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 14px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus, .form-select:focus {
  border-color: var(--green-dark);
  box-shadow: 0 0 0 3px rgba(45,90,39,.1);
  outline: none;
}

/* ── Order Success ────────────────────────────────────────────── */
.order-success-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 50px 40px;
  text-align: center;
  box-shadow: var(--shadow-md);
  max-width: 700px;
  margin: 0 auto;
}
.success-icon {
  width: 90px; height: 90px;
  background: var(--green-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 25px;
  font-size: 42px;
  color: var(--green-dark);
}
.order-id-display {
  background: var(--cream-dark);
  border: 2px dashed var(--green-dark);
  border-radius: var(--radius-sm);
  padding: 15px 25px;
  display: inline-block;
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--green-dark);
  letter-spacing: 2px;
  margin: 15px 0;
}

/* ── Order Tracking ───────────────────────────────────────────── */
.tracking-timeline {
  position: relative;
  padding: 20px 0;
}
.tracking-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 15px 0;
  position: relative;
}
.tracking-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 20px; top: 50px;
  width: 2px; height: calc(100% - 10px);
  background: var(--border);
}
.tracking-step.completed::after { background: var(--green-dark); }

.step-icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  background: var(--cream-dark);
  border: 2px solid var(--border);
  color: var(--text-light);
  font-size: 18px;
  position: relative;
  z-index: 1;
}
.tracking-step.completed .step-icon {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: #fff;
}
.tracking-step.current .step-icon {
  background: var(--brown);
  border-color: var(--brown);
  color: #fff;
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(122,92,58,.4); }
  50%      { box-shadow: 0 0 0 8px rgba(122,92,58,0); }
}

/* ── Review Card ──────────────────────────────────────────────── */
.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 25px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  height: 100%;
}
.review-stars { color: #f59e0b; font-size: 18px; margin-bottom: 10px; }
.review-text { color: var(--text-mid); font-style: italic; margin-bottom: 15px; }
.review-author { font-weight: 700; color: var(--green-dark); }

/* ── About / Why Choose Us Cards ─────────────────────────────── */
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 25px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
  height: 100%;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.feature-icon {
  width: 70px; height: 70px;
  background: var(--cream-dark);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  font-size: 30px;
}
.feature-title { font-size: 17px; font-weight: 600; color: var(--green-dark); margin-bottom: 10px; }
.feature-desc { font-size: 14px; color: var(--text-mid); }

/* ── FAQ Accordion ────────────────────────────────────────────── */
.faq-accordion .accordion-button {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--green-dark);
  background: var(--white);
  border: none;
}
.faq-accordion .accordion-button:not(.collapsed) {
  background: var(--cream-dark);
  color: var(--green-dark);
  box-shadow: none;
}
.faq-accordion .accordion-button::after {
  filter: hue-rotate(90deg);
}
.faq-accordion .accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm) !important;
  margin-bottom: 10px;
  overflow: hidden;
}

/* ── Contact Section ──────────────────────────────────────────── */
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
}
.contact-info-icon {
  width: 44px; height: 44px;
  background: var(--green-dark);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 18px;
  flex-shrink: 0;
}

/* ── Footer ───────────────────────────────────────────────────── */
.site-footer {
  background: #1a3518;
  color: rgba(255,255,255,.75);
  padding: 60px 0 30px;
  margin-top: auto;
}
.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.footer-tagline { color: var(--green-light); font-size: 14px; }
.footer-owner { font-size: 13px; color: rgba(255,255,255,.6); }

.footer-heading { color: var(--green-light); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; font-size: 13px; margin-bottom: 15px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,.7); font-size: 14px; transition: color var(--transition); }
.footer-links a:hover { color: var(--green-light); }

.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; color: rgba(255,255,255,.7); font-size: 14px; margin-bottom: 10px; }
.footer-contact i { color: var(--green-light); margin-top: 2px; flex-shrink: 0; }
.footer-contact a { color: rgba(255,255,255,.7); }
.footer-contact a:hover { color: var(--green-light); }

.footer-social .social-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: #fff;
  font-size: 18px;
  transition: all var(--transition);
  margin-right: 8px;
}
.footer-social .social-icon.whatsapp:hover { background: #25d366; }

.footer-hr { border-color: rgba(255,255,255,.1); margin: 30px 0 20px; }
.footer-copy { color: rgba(255,255,255,.5); font-size: 13px; }

/* ── WhatsApp Float Button ────────────────────────────────────── */
.whatsapp-float {
  position: fixed; bottom: 25px; right: 25px; z-index: 999;
  width: 56px; height: 56px;
  background: #25d366;
  color: #fff !important;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: all var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); background: #128C7E; }

/* ── Breadcrumb ───────────────────────────────────────────────── */
.page-header {
  background: var(--cream-dark);
  padding: 30px 0;
  border-bottom: 1px solid var(--border);
}
.page-header h1 { font-size: 32px; margin: 0; }
.breadcrumb { margin: 0; font-size: 13px; }
.breadcrumb-item a { color: var(--green-dark); }
.breadcrumb-item.active { color: var(--text-light); }

/* ── Empty Cart ───────────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 80px 20px;
}
.empty-state-icon { font-size: 80px; color: var(--border); margin-bottom: 20px; }
.empty-state h3 { color: var(--text-mid); font-size: 24px; }
.empty-state p { color: var(--text-light); }

/* ── Alert Overrides ──────────────────────────────────────────── */
.alert-success { background: #e8f5e9; border-color: var(--green-mid); color: var(--green-dark); }
.alert-danger  { background: #fce4ec; border-color: #e57373; color: #b71c1c; }
.alert-info    { background: #e3f2fd; border-color: #64b5f6; color: #0d47a1; }
.alert-warning { background: #fff8e1; border-color: #ffca28; color: #f57f17; }

/* ── Utility ──────────────────────────────────────────────────── */
.text-green { color: var(--green-dark) !important; }
.text-brown { color: var(--brown) !important; }
.bg-cream   { background: var(--cream) !important; }
.bg-cream-dark { background: var(--cream-dark) !important; }
.divider-line { height: 3px; width: 60px; background: var(--green-dark); border-radius: 2px; margin: 15px 0 25px; }
.divider-line.center { margin: 15px auto 25px; }

/* ── Responsive Tweaks ────────────────────────────────────────── */
@media (max-width: 767px) {
  .hero-section { padding: 50px 0 40px; }
  .hero-cta-group { flex-direction: column; }
  .hero-image-wrap { margin-top: 30px; }
  .section-pad { padding: 50px 0; }
  .hero-stats { gap: 20px; }
  .product-img-wrap { height: 200px; }
  .order-success-card { padding: 30px 20px; }
}
