/*
Theme Name: SmartGhori
Theme URI: https://smartghori.borbila.net/
Author: Borbilla & AI Studio
Author URI: https://borbila.com/
Description: Premium Watch & Fashion Gadget E-Commerce WordPress Theme built for WooCommerce and Bangladeshi fast checkout with bKash, Nagad, and Cash on Delivery.
Version: 1.0.0
Requires at least: 5.8
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: smartghori
Tags: e-commerce, custom-header, custom-menu, featured-images, full-width-template, theme-options, translation-ready
*/

:root {
  --primary: #008044;
  --primary-hover: #006837;
  --primary-light: #e6f4ed;
  --dark: #1e293b;
  --secondary: #64748b;
  --light: #f8fafc;
  --border: #e2e8f0;
  --danger: #dc2626;
  --warning: #f59e0b;
  --font-main: 'Hind Siliguri', 'Poppins', sans-serif;
  --font-heading: 'Poppins', 'Hind Siliguri', sans-serif;
}

body {
  font-family: var(--font-main);
  color: var(--dark);
  background-color: #ffffff;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

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

.text-primary {
  color: var(--primary) !important;
}

.bg-primary {
  background-color: var(--primary) !important;
}

.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  padding: 10px 20px;
  transition: all 0.2s;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  color: #fff;
}

/* Header Styles */
.site-header {
  border-bottom: 1px solid var(--border);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.top-bar {
  background: #f8fafc;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  padding: 6px 0;
  color: var(--secondary);
}

.header-main {
  padding: 15px 0;
}

.site-logo img,
.site-logo svg {
  max-height: 42px;
}

.search-box-wrapper {
  position: relative;
  max-width: 600px;
  width: 100%;
}

.search-input {
  border-radius: 50px;
  border: 1.5px solid var(--border);
  padding: 10px 50px 10px 20px;
  width: 100%;
  font-size: 14px;
}

.search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 128, 68, 0.15);
  outline: none;
}

.search-submit-btn {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--secondary);
  font-size: 18px;
  cursor: pointer;
  padding: 8px 12px;
}

.nav-bar {
  background: #fff;
  border-top: 1px solid var(--border);
}

.category-dropdown-btn {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
}

.category-dropdown-btn:hover {
  background: var(--primary-hover);
  color: #fff;
}

.main-nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 25px;
}

.main-nav-links a {
  font-weight: 600;
  font-size: 15px;
  color: #334155;
  display: flex;
  align-items: center;
  padding: 12px 0;
}

.main-nav-links a:hover,
.main-nav-links a.active {
  color: var(--primary);
}

.whatsapp-btn-header {
  border: 1.5px solid #25d366;
  color: #059669;
  background: #f0fdf4;
  border-radius: 50px;
  padding: 8px 18px;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.whatsapp-btn-header:hover {
  background: #25d366;
  color: #fff;
}

/* Product Cards */
.smartghori-product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.smartghori-product-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.smartghori-product-img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  background: #f8fafc;
  transition: transform 0.4s ease;
}

.smartghori-product-card:hover .smartghori-product-img {
  transform: scale(1.05);
}

.badge-sale {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--danger);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  z-index: 2;
}

.product-info {
  padding: 15px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #1e293b;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.35;
}

.product-rating {
  color: #f59e0b;
  font-size: 12px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.product-price {
  font-size: 18px;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 12px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.product-price .original-price {
  font-size: 13px;
  color: #94a3b8;
  text-decoration: line-through;
  font-weight: normal;
}

.btn-buy-now {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px;
  font-weight: 700;
  font-size: 14px;
  width: 100%;
  cursor: pointer;
  margin-top: auto;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-buy-now:hover {
  background: var(--primary-hover);
  color: #fff;
}

/* Trust Pillar Strip */
.trust-pillars-section {
  background: #f8fafc;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 35px 0;
}

.trust-pillar-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.trust-pillar-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.trust-pillar-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  color: #1e293b;
}

.trust-pillar-sub {
  font-size: 13px;
  color: #64748b;
  margin: 2px 0 0 0;
}

/* Footer */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 60px 0 25px;
  font-size: 14px;
}

.footer-heading {
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links a {
  color: #94a3b8;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 25px;
  margin-top: 45px;
  font-size: 13px;
}

/* Single Product Express Checkout */
.express-checkout-box {
  background: #fff;
  border: 2px solid var(--primary);
  border-radius: 12px;
  padding: 24px;
  margin-top: 25px;
  box-shadow: 0 4px 20px rgba(0, 128, 68, 0.08);
}

.express-checkout-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.delivery-radio-label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.2s;
}

.delivery-radio-label.active,
.delivery-radio-label:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}

/* Mobile Sticky Bar */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #fff;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-around;
  padding: 8px 0;
  z-index: 9999;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.06);
}

@media (min-width: 992px) {
  .mobile-bottom-nav {
    display: none;
  }
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 11px;
  color: #64748b;
  gap: 2px;
}

.mobile-nav-item.active,
.mobile-nav-item:hover {
  color: var(--primary);
}
