/* ==========================================
   JETTI'S FRUIT LAND - CUSTOM THEME CSS
   ========================================== */

:root {
  --green-primary: #2d6a2d;
  --green-light: #8ac224;
  --green-dark: #1a4a1a;
  --green-muted: #5a8a2a;
  --gold: #c8a227;
  --cream: #f8fdf0;
  --white: #ffffff;
  --text-dark: #1e2d1e;
  --text-body: #4a5a3a;
  --border-light: #d4e8b0;
  --amazon-orange: #ff9900;
  --whatsapp-green: #25d366;
}

/* ── GLOBAL ── */
body { font-family: 'Outfit', sans-serif; color: var(--text-body); }
a { text-decoration: none; }

/* ── TOPBAR ── */
.topbar {
  background: var(--green-dark) !important;
  padding: 8px 0 !important;
}
.topbar .contact-info .info-text p,
.topbar .contact-info .info-text span {
  color: #d4f0a0 !important;
  font-size: 13px;
}
.topbar .fi { color: var(--green-light) !important; }
.topbar .social li a { color: #d4f0a0 !important; font-size: 16px; }
.topbar .social li a:hover { color: var(--green-light) !important; }
.topbar .social li { color: #a0c070 !important; font-size: 12px; }

/* ── NAV ── */
.wpo-site-header { background: var(--white) !important; box-shadow: 0 2px 20px rgba(45,106,45,0.12); }
.wpo-site-header .nav .navbar-nav > li > a {
  color: var(--green-dark) !important;
  font-weight: 600;
  font-size: 15px;
  padding: 8px 18px !important;
  border-radius: 6px;
  transition: all 0.3s;
}
.wpo-site-header .nav .navbar-nav > li > a:hover,
.wpo-site-header .nav .navbar-nav > li.active > a {
  color: var(--green-light) !important;
  background: rgba(138,194,36,0.08);
}

/* Shop Now CTA in Nav */
.nav-shop-btn {
  background: var(--green-primary) !important;
  color: #fff !important;
  padding: 9px 24px !important;
  border-radius: 30px !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  transition: all 0.3s !important;
  border: 2px solid var(--green-primary) !important;
}
.nav-shop-btn:hover {
  background: transparent !important;
  color: var(--green-primary) !important;
}

/* ── HERO SLIDER ── */
.slide-content .slide-sub-title p { color: var(--green-light) !important; }
.slide-content .slide-sub-title span { color: var(--green-light) !important; }
.slide-content .slide-title h2 { color: #fff !important; font-size: 52px; font-weight: 800; }
.slide-content .slide-title h2 span { color: var(--green-light) !important; }
.slide-content .slide-text p { color: rgba(255,255,255,0.9) !important; font-size: 17px; }
.slide-content .slide-btns .theme-btn { background: var(--green-light) !important; font-weight: 700; }

/* ── FEATURES SECTION ── */
.orico-features-section {
  background: var(--green-dark) !important;
}
.orico-features-section .features-item { border-color: rgba(255,255,255,0.1) !important; }
.orico-features-section .orico-features-text h4 { color: #fff !important; }
.orico-features-section .orico-features-text p { color: rgba(255,255,255,0.75) !important; }

/* ── SECTION TITLES ── */
.wpo-section-title span, .orico-section-title span { color: var(--green-muted) !important; }
.wpo-section-title h2, .orico-section-title h2 { color: var(--green-dark) !important; }

/* ── ABOUT SECTION ── */
.orico-about-section { background: var(--cream) !important; }
.orico-about-text span { color: var(--green-muted) !important; }
.orico-about-text h2 { color: var(--green-dark) !important; }

/* ── FUN FACT ── */
.orico-fun-fact-section { background: var(--green-primary) !important; }
.orico-fun-fact-section h3, .orico-fun-fact-section p { color: #fff !important; }

/* ── PRODUCTS ── */
.orico-product-single { 
  border-radius: 12px; 
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  background: #fff;
  border: 1px solid var(--border-light);
}
.orico-product-single:hover { 
  transform: translateY(-6px); 
  box-shadow: 0 12px 40px rgba(45,106,45,0.18);
}
.orico-product-text h2 a { color: var(--green-dark) !important; }
.orico-product-text h2 a:hover { color: var(--green-light) !important; }
.product-price ul li { color: var(--green-primary) !important; font-weight: 700; font-size: 17px; }

/* FEATURED DETOX TEA BADGE */
.featured-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, var(--green-primary), var(--green-light));
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  z-index: 2;
  text-transform: uppercase;
}
.amazon-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--amazon-orange);
  color: #fff;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  z-index: 2;
}

/* PRODUCT BUY BUTTONS */
.product-buy-btns {
  display: flex;
  gap: 8px;
  padding: 0 15px 15px;
  flex-wrap: wrap;
}
.btn-amazon {
  flex: 1;
  background: var(--amazon-orange);
  color: #fff;
  border: none;
  border-radius: 25px;
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-decoration: none;
}
.btn-amazon:hover { background: #e68900; color: #fff; transform: scale(1.03); }
.btn-whatsapp {
  flex: 1;
  background: var(--whatsapp-green);
  color: #fff;
  border: none;
  border-radius: 25px;
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-decoration: none;
}
.btn-whatsapp:hover { background: #1da851; color: #fff; transform: scale(1.03); }
.btn-add-cart {
  width: 100%;
  background: var(--green-primary);
  color: #fff;
  border: none;
  border-radius: 25px;
  padding: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  margin: 0 15px 15px;
  display: block;
}
.btn-add-cart:hover { background: var(--green-dark); }

/* ── DETOX TEA FEATURED SECTION ── */
.detox-featured-section {
  background: linear-gradient(135deg, #0d3d0d 0%, #1a5e1a 50%, #2d6a2d 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.detox-featured-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(138,194,36,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.detox-product-title {
  font-size: 48px;
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 15px;
}
.detox-product-title span { color: var(--green-light); }
.detox-subtitle {
  color: rgba(255,255,255,0.8);
  font-size: 18px;
  margin-bottom: 25px;
}
.detox-ingredients {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}
.ingredient-chip {
  background: rgba(138,194,36,0.2);
  border: 1px solid rgba(138,194,36,0.4);
  color: #d4f0a0;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}
.detox-benefits-list {
  list-style: none;
  padding: 0;
  margin-bottom: 35px;
}
.detox-benefits-list li {
  color: rgba(255,255,255,0.9);
  padding: 6px 0;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.detox-benefits-list li::before {
  content: '✓';
  background: var(--green-light);
  color: #fff;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  flex-shrink: 0;
}
.detox-price-tag {
  font-size: 32px;
  color: var(--green-light);
  font-weight: 900;
  margin-bottom: 8px;
}
.detox-price-tag small {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  font-weight: 400;
}
.detox-cta-row {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.detox-btn-amazon {
  background: var(--amazon-orange);
  color: #fff;
  padding: 14px 28px;
  border-radius: 35px;
  font-weight: 800;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.detox-btn-amazon:hover { background: #e68900; color: #fff; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(255,153,0,0.4); }
.detox-btn-whatsapp {
  background: var(--whatsapp-green);
  color: #fff;
  padding: 14px 28px;
  border-radius: 35px;
  font-weight: 800;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.detox-btn-whatsapp:hover { background: #1da851; color: #fff; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(37,211,102,0.4); }
.detox-img-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.detox-img-wrap img {
  max-width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.fssai-badge {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.8);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  display: inline-block;
  margin-bottom: 20px;
}

/* ── TESTIMONIALS ── */
.jfl-testimonial-section {
  background: var(--cream);
  padding: 80px 0;
}
.testimonial-card {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(45,106,45,0.08);
  border: 1px solid var(--border-light);
  height: 100%;
  transition: transform 0.3s, box-shadow 0.3s;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(45,106,45,0.15);
}
.testimonial-stars { color: #f0b92a; font-size: 16px; margin-bottom: 12px; }
.testimonial-text { color: var(--text-body); font-size: 15px; line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--green-primary), var(--green-light));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 18px;
}
.testimonial-name { font-weight: 700; color: var(--green-dark); font-size: 15px; }
.testimonial-role { color: #888; font-size: 12px; }

/* ── CART PAGE ── */
.cart-section { padding: 60px 0; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { background: var(--green-dark); color: #fff; padding: 14px 20px; font-size: 14px; }
.cart-table td { padding: 16px 20px; border-bottom: 1px solid var(--border-light); vertical-align: middle; }
.cart-table .product-name { font-weight: 600; color: var(--green-dark); }
.cart-qty-input { width: 60px; text-align: center; border: 1px solid var(--border-light); border-radius: 6px; padding: 6px; }
.cart-remove { color: #e74c3c; cursor: pointer; font-size: 18px; background: none; border: none; }
.cart-total-box { background: var(--cream); border: 1px solid var(--border-light); border-radius: 12px; padding: 28px; }
.cart-total-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border-light); }
.cart-total-row.grand { font-weight: 800; font-size: 20px; color: var(--green-dark); border-bottom: none; }
.checkout-btn { width: 100%; background: var(--green-primary); color: #fff; border: none; border-radius: 35px; padding: 15px; font-size: 16px; font-weight: 700; cursor: pointer; transition: all 0.3s; margin-top: 15px; }
.checkout-btn:hover { background: var(--green-dark); }
.continue-shopping { display: inline-block; color: var(--green-primary); font-weight: 600; margin-top: 10px; text-align: center; width: 100%; }

/* ── CHECKOUT ── */
.checkout-section { padding: 60px 0; }
.checkout-form-box { background: #fff; border: 1px solid var(--border-light); border-radius: 16px; padding: 35px; }
.checkout-form-box h3 { color: var(--green-dark); font-weight: 800; margin-bottom: 25px; font-size: 20px; }
.form-control:focus { border-color: var(--green-primary) !important; box-shadow: 0 0 0 3px rgba(45,106,45,0.12) !important; }
.form-label { font-weight: 600; color: var(--green-dark); font-size: 14px; }
.order-summary-box { background: var(--cream); border: 1px solid var(--border-light); border-radius: 12px; padding: 25px; }
.order-summary-item { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border-light); font-size: 14px; }
.payment-method { background: #fff; border: 2px solid var(--border-light); border-radius: 10px; padding: 15px 20px; margin-bottom: 12px; cursor: pointer; transition: border-color 0.2s; display: flex; align-items: center; gap: 12px; }
.payment-method:hover, .payment-method.selected { border-color: var(--green-primary); }
.payment-method input { accent-color: var(--green-primary); }
.place-order-btn { width: 100%; background: linear-gradient(135deg, var(--green-primary), var(--green-light)); color: #fff; border: none; border-radius: 35px; padding: 16px; font-size: 17px; font-weight: 800; cursor: pointer; transition: all 0.3s; margin-top: 15px; }
.place-order-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(45,106,45,0.35); }

/* ── CONTACT PAGE ── */
.contact-form-box { background: #fff; border-radius: 16px; padding: 40px; box-shadow: 0 4px 30px rgba(45,106,45,0.1); border: 1px solid var(--border-light); }
.contact-info-card { background: var(--green-dark); color: #fff; border-radius: 16px; padding: 35px; height: 100%; }
.contact-info-card h3 { color: var(--green-light); margin-bottom: 25px; font-weight: 800; }
.contact-info-item { display: flex; gap: 15px; margin-bottom: 25px; align-items: flex-start; }
.contact-info-item .ci-icon { width: 44px; height: 44px; background: rgba(138,194,36,0.2); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--green-light); font-size: 18px; flex-shrink: 0; }
.contact-info-item .ci-text p { color: rgba(255,255,255,0.8); margin: 0; font-size: 14px; }
.contact-info-item .ci-text strong { color: #fff; font-size: 15px; }
.map-embed { border-radius: 12px; overflow: hidden; margin-top: 25px; }
.submit-btn { background: var(--green-primary); color: #fff; border: none; border-radius: 35px; padding: 14px 40px; font-size: 16px; font-weight: 700; cursor: pointer; transition: all 0.3s; }
.submit-btn:hover { background: var(--green-dark); transform: translateY(-2px); }

/* ── FOOTER ── */
.wpo-site-footer { background: var(--green-dark) !important; }
.wpo-site-footer .widget-title h3 { color: var(--green-light) !important; }
.wpo-site-footer p, .wpo-site-footer li, .wpo-site-footer a { color: rgba(255,255,255,0.75) !important; }
.wpo-site-footer a:hover { color: var(--green-light) !important; }
.wpo-lower-footer { background: rgba(0,0,0,0.3) !important; }
.wpo-lower-footer .copyright { color: rgba(255,255,255,0.6) !important; }
.wpo-lower-footer .copyright a { color: var(--green-light) !important; }

/* ── TESTIMONIALS PAGE ── */
.testimonials-hero { background: linear-gradient(135deg, var(--green-dark), var(--green-primary)); padding: 60px 0; text-align: center; }
.testimonials-hero h1 { color: #fff; font-weight: 900; }
.testimonials-hero p { color: rgba(255,255,255,0.8); font-size: 17px; }

/* ── PAGE TITLE ── */
.wpo-page-title { background: linear-gradient(135deg, var(--green-dark), var(--green-primary)) !important; }
.wpo-page-title h2 { color: #fff !important; }
.wpo-page-title .wpo-breadcumb-wrap li a { color: var(--green-light) !important; }

/* ── CART ICON IN NAV ── */
.cart-nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-light);
  color: #fff !important;
  padding: 8px 18px !important;
  border-radius: 25px;
  font-weight: 700 !important;
  font-size: 14px !important;
}
.cart-nav-link:hover { background: var(--green-primary); color: #fff !important; }
.cart-count-badge {
  background: #e74c3c;
  color: #fff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ── ABOUT ── */
.about-mission-card { background: #fff; border-radius: 16px; padding: 28px; border-left: 5px solid var(--green-light); box-shadow: 0 4px 20px rgba(45,106,45,0.08); margin-bottom: 20px; }
.about-mission-card h4 { color: var(--green-dark); font-weight: 800; }
.certifications-bar { background: var(--green-dark); padding: 25px 0; }
.cert-item { color: rgba(255,255,255,0.9); display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.cert-item i { color: var(--green-light); font-size: 20px; }

/* ── PRODUCT DETAIL MODAL ── */
.product-detail-modal .modal-header { background: var(--green-dark); color: #fff; border: none; }
.product-detail-modal .modal-title { color: #fff; font-weight: 800; }
.product-detail-modal .btn-close { filter: invert(1); }

/* ── WHATSAPP FLOAT ── */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  background: var(--whatsapp-green);
  color: #fff;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 6px 25px rgba(37,211,102,0.5);
  animation: pulse-wa 2s infinite;
  text-decoration: none;
}
@keyframes pulse-wa {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 0 0 15px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ── NUTRITION TABLE ── */
.nutrition-table { width: 100%; border-collapse: collapse; border-radius: 10px; overflow: hidden; font-size: 14px; }
.nutrition-table th { background: var(--green-primary); color: #fff; padding: 10px 15px; }
.nutrition-table td { padding: 9px 15px; border-bottom: 1px solid var(--border-light); }
.nutrition-table tr:nth-child(even) td { background: var(--cream); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .detox-product-title { font-size: 32px; }
  .slide-content .slide-title h2 { font-size: 32px; }
  .detox-cta-row { flex-direction: column; }
  .product-buy-btns { flex-direction: row; }
  .checkout-form-box { padding: 20px; }
}

/* ── PRELOADER ── */
.preloader { background: var(--green-dark) !important; }

/* ═══════════════════════════════════════════
   MOBILE COMPACT — Added for better UX
   ═══════════════════════════════════════════ */

/* Sticky bottom cart bar on mobile */
@media (max-width: 768px) {
    /* Tighten nav */
    .orico-header .logo-wrap img { max-width: 60px !important; }
    .orico-header { padding: 8px 0 !important; }

    /* Product cards — 2 col on mobile */
    .products-grid .col-lg-3 { flex: 0 0 50%; max-width: 50%; padding: 6px !important; }
    .wpo-product-item { border-radius: 12px; }
    .wpo-product-item .wpo-product-img img { height: 160px; object-fit: cover; }
    .wpo-product-item .wpo-product-content h2 { font-size: 13px !important; }
    .wpo-product-item .wpo-product-content .price { font-size: 14px !important; }

    /* Hero text size */
    .static-hero h2 { font-size: 28px !important; line-height: 1.2 !important; }
    .static-hero p  { font-size: 14px !important; }

    /* Section padding tighter */
    .section-padding { padding: 40px 0 !important; }

    /* Cart page */
    .cart-table th:nth-child(3),
    .cart-table td:nth-child(3) { display: none; }

    /* Checkout layout */
    .checkout-area .col-lg-7,
    .checkout-area .col-lg-5 { padding: 8px !important; }
    .jfl-input { font-size: 16px !important; padding: 10px 14px !important; }

    /* Buttons */
    .theme-btn { padding: 11px 22px !important; font-size: 13px !important; }

    /* Dashboard */
    .dash { padding: 14px 10px !important; }
    .stats { grid-template-columns: 1fr 1fr !important; gap: 8px !important; }
    .stat-n { font-size: 20px !important; }
    .wcard { padding: 16px !important; gap: 12px !important; }
    .wcard h2 { font-size: 16px !important; }
    .qa { grid-template-columns: 1fr 1fr !important; }

    /* Order modal */
    .modal-box { border-radius: 16px 16px 0 0 !important; max-height: 95vh !important; }
    .modal-bg { align-items: flex-end !important; padding: 0 !important; }

    /* Track order */
    .orow { grid-template-columns: 1fr auto !important; }
    .orow .oid { font-size: 10px !important; }
    .orow .ochevron { display: none; }

    /* Login page */
    .login-wrap { max-width: 100% !important; }
    .card { border-radius: 0 !important; min-height: 100vh; }
}

@media (max-width: 480px) {
    .products-grid .col-lg-3 { flex: 0 0 50%; max-width: 50%; }
    .static-hero h2 { font-size: 22px !important; }
    .wpo-product-item .wpo-product-img img { height: 130px; }
}

/* Product card images — contain not crop */
.orico-product-img img,
.wpo-product-img img {
    object-fit: contain !important;
    background: #fff;
    padding: 4px;
}
