/*
Theme Name: Pharma Dropper
Theme URI: https://pharmadropper.com
Author: Pharma Dropper Team
Author URI: https://pharmadropper.com
Description: Pharma Dropper child theme for Botiga. Adds Pro-like features (mega menu, side cart, login/register drawer with social login, recently viewed products, newsletter/trust blocks, checkout enhancements). Built to be extended as we add page-level UI customizations.
Version: 1.1.4
Template: botiga
Text Domain: pharma-dropper
Tags: e-commerce, woocommerce, online-pharmacy, responsive, custom-menu, mega-menu, side-cart, social-login, checkout, wellness, healthcare, pharma
*/

/* === Base Typography & Layout === */
body {
  font-family: 'Inter', sans-serif;
  color: #222;
  background: #fff;
  line-height: 1.6;
}
h1,h2,h3,h4,h5,h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: #000;
}
a { color: #000; text-decoration: none; }
a:hover { text-decoration: underline; }

/* === Header === */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  border-bottom: 1px solid #eee;
  background: #fff;
}
.brand-logo-img { height: 48px; margin-right: 10px; }
.brand-name { font-size: 20px; font-weight: 600; text-transform: uppercase; }
.header-actions { display: flex; gap: 15px; align-items: center; }
.header-actions .divider { color: #bbb; }

/* === Footer === */
.site-footer { background: #f9f9f9; padding: 40px 20px; font-size: 14px; }
.footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; margin-bottom: 20px; }
.footer-col { flex: 1; min-width: 200px; margin: 10px; }
.footer-col h4 { font-size: 16px; margin-bottom: 10px; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 6px; }
.footer-col ul li a { color: #222; text-decoration: none; }
.footer-col ul li a:hover { text-decoration: underline; }
.trust-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 15px 0; }
.trust-badges img { height: 32px; max-height: 40px; object-fit: contain; opacity: 0.9; }
.trust-badges img:hover { opacity: 1; }
.footer-bottom { text-align: center; margin-top: 20px; font-size: 13px; color: #666; }

/* === Scroll to Top === */
.scroll-top { position: fixed; bottom: 20px; right: 20px; background: #000; color: #fff; padding: 10px 14px; border-radius: 50%; cursor: pointer; display: none; z-index: 9999; }
.scroll-top.show { display: block; }

/* === Homepage Sections === */
.hero-section { margin-top: 0 !important; padding: 60px 20px; background-size: cover; text-align: center; }
.hero-section h1 { font-size: 42px; font-weight: 700; }
.hero-section p { font-size: 18px; margin-bottom: 20px; }
.hero-section .hero-button { background: #000; color: #fff; padding: 12px 28px; border-radius: 4px; font-weight: 600; text-transform: uppercase; }
.hero-section .hero-button:hover { background: #222; }

/* CTA Banner */
.cta-banner { background: #f5f5f5; padding: 40px 20px; text-align: center; }
.cta-banner h2 { font-size: 28px; font-weight: 700; margin-bottom: 10px; }
.cta-banner p { font-size: 16px; margin-bottom: 20px; }

/* Why Choose PharmaDropper */
.why-choose { padding: 60px 20px; background: #fff; }
.why-choose h2 { font-size: 32px; margin-bottom: 10px; }
.why-choose .why-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; }
.why-feature { flex: 1 1 200px; max-width: 220px; text-align: center; }
.why-feature img { width: 100%; height: 140px; object-fit: cover; border-radius: 4px; margin-bottom: 12px; }
.why-feature h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.why-feature p { font-size: 14px; color: #555; }

/* Testimonials */
.testimonial-card { background: #fff; border-radius: 6px; padding: 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); margin: 15px; max-width: 340px; }
.testimonial-card p { font-size: 14px; color: #444; margin-bottom: 10px; }
.testimonial-card .author { font-weight: 600; font-size: 14px; }

/* Trust Strip */
.trust-marquee { overflow: hidden; background: #f8f8f8; padding: 15px 0; position: relative; }
.trust-track { display: flex; width: max-content; animation: scroll-left 25s linear infinite; }
.trust-marquee:hover .trust-track { animation-play-state: paused; }
.trust-item { flex: 0 0 auto; min-width: 220px; margin: 0 15px; padding: 12px 20px; background: #fff; border-radius: 4px; font-weight: 500; text-align: center; box-shadow: 0 2px 6px rgba(0,0,0,0.05); }
@keyframes scroll-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Blog Cards */
.blog-card { background: #fff; border-radius: 6px; padding: 20px; margin-bottom: 30px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.blog-category { display: inline-block; background: #000; color: #fff; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 4px; margin-bottom: 8px; text-transform: uppercase; }
.blog-title { font-size: 20px; font-weight: 700; margin: 10px 0; line-height: 1.4; }
.blog-excerpt { font-size: 14px; color: #444; margin-bottom: 10px; }
.blog-readmore { font-size: 14px; font-weight: 600; color: #000; text-decoration: none; }
.blog-readmore:hover { text-decoration: underline; }

/* Newsletter */
.newsletter-section { background: #004080; padding: 40px 20px; text-align: center; }
.newsletter-section h2 { color: #fff; font-size: 28px; margin-bottom: 10px; }
.newsletter-section p { color: #f0f0f0; margin-bottom: 20px; }
.newsletter-section input[type=email] { padding: 12px; border: none; border-radius: 4px; width: 260px; max-width: 80%; margin-right: 10px; }
.newsletter-section button { background: #000; color: #fff; padding: 12px 22px; border-radius: 4px; border: none; }

/* === About Page === */
.how-it-works { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; padding: 40px 0; }
.how-step { flex: 1 1 180px; text-align: center; }
.how-step img { width: 80px; height: 80px; object-fit: contain; margin-bottom: 12px; transition: transform 0.3s ease; }
.how-step img:hover { transform: scale(1.05); }
.how-step h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.how-step p { font-size: 14px; color: #555; }

/* Cross Banners */
.cross-banners { display: flex; flex-wrap: wrap; gap: 20px; padding: 40px 0; }
.cross-banners .banner { flex: 1 1 45%; background: #f5f5f5; padding: 30px; border-radius: 6px; text-align: center; }

/* === WooCommerce === */
.woocommerce-cart table.shop_table { border: none; }
.woocommerce-cart table.shop_table th, 
.woocommerce-cart table.shop_table td { padding: 15px; }
.woocommerce-cart .cart_totals { background: #fafafa; padding: 20px; border-radius: 6px; }
.woocommerce .checkout_coupon input.input-text { padding: 10px; border: 1px solid #ddd; border-radius: 4px; }
.woocommerce .checkout_coupon button { background: #000; color: #fff; padding: 10px 20px; border-radius: 4px; }
.woocommerce-checkout-review-order { background: #fafafa; padding: 20px; border-radius: 6px; }
.woocommerce-order-received .woocommerce-thankyou-order-details { background: #fafafa; padding: 20px; border-radius: 6px; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation ul li { margin-bottom: 10px; }
.woocommerce-account .woocommerce-MyAccount-navigation ul li a { display: flex; align-items: center; gap: 8px; font-weight: 500; }

/* === Responsive Fixes === */
@media (max-width: 768px) {
  .hero-section h1 { font-size: 28px; }
  .cta-banner h2 { font-size: 22px; }
  .why-choose .why-grid { flex-direction: column; align-items: center; }
  .cross-banners { flex-direction: column; }
  .newsletter-section input[type=email] { width: 100%; margin: 10px 0; }
}
