/*
Theme Name: Ullapara Mart E-Commerce
Theme URI: https://ullaparamart.com
Author: Ullapara Mart Team
Author URI: https://ullaparamart.com
Description: সিরাজগঞ্জের উল্লাপাড়া কেন্দ্রিক আধুনিক ই-কমার্স প্ল্যাটফর্ম ও WooCommerce থিম। খাঁটি স্থানীয় পণ্য (বাঘাবাড়ি ঘি, তাঁতের শাড়ি, লুঙ্গি) বিপণন, বিকাশ-নগদ-রকেট পেমেন্ট গেটওয়ে, লাইভ ৫-ধাপ অর্ডার ট্র্যাকিং, ডেলিভারি রাইডার পোর্টাল এবং ক্যাশ অন ডেলিভারি সুবিধা সহ।
Version: 1.0.0
Tested up to: 6.6
Requires at least: 6.0
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: ullapara-mart
Tags: e-commerce, custom-background, custom-logo, custom-menu, featured-images, flexible-header, footer-widgets, full-width-template, theme-options, translation-ready, woocommerce
*/

/* Google Fonts: Hind Siliguri & Inter */
@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@400;500;600;700&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #059669;
  --primary-hover: #047857;
  --secondary: #0f172a;
  --accent: #f59e0b;
  --bg-light: #f8fafc;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --bkash: #D12053;
  --nagad: #F7941D;
  --rocket: #8C187E;
}

body {
  font-family: 'Hind Siliguri', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

/* Utilities */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Top Announcement Bar */
.top-bar {
  background: linear-gradient(90deg, #064e3b 0%, #134e4a 50%, #022c22 100%);
  color: #ffffff;
  padding: 8px 0;
  font-size: 13px;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.top-bar a {
  color: #fcd34d;
  text-decoration: none;
  font-weight: 600;
}
.top-bar a:hover {
  text-decoration: underline;
}

/* Header */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  gap: 16px;
}
.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #059669, #14b8a6);
  border-radius: 12px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 900;
}
.logo-text h1 {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.1;
  color: var(--secondary);
}
.logo-text span {
  font-size: 11px;
  color: var(--primary);
  font-weight: 700;
}

/* Header Search */
.header-search {
  flex: 1;
  max-width: 500px;
}
.header-search form {
  display: flex;
  position: relative;
}
.header-search input[type="search"] {
  width: 100%;
  padding: 10px 16px 10px 16px;
  border: 1px solid var(--border-color);
  border-radius: 9999px;
  background: #f1f5f9;
  font-size: 13px;
  outline: none;
}
.header-search input[type="search"]:focus {
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(5, 150, 105, 0.2);
}
.header-search button {
  position: absolute;
  right: 4px;
  top: 4px;
  bottom: 4px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 9999px;
  padding: 0 16px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
}
.header-btn-track {
  background: #f1f5f9;
  color: #334155;
}
.header-btn-track:hover {
  background: #e2e8f0;
}
.header-btn-cart {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 6px -1px rgba(5, 150, 105, 0.2);
}
.header-btn-cart:hover {
  background: var(--primary-hover);
}
.cart-badge {
  background: #f59e0b;
  color: #0f172a;
  padding: 2px 7px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 900;
}

/* Hero Section */
.hero-banner {
  background: linear-gradient(135deg, #064e3b 0%, #115e59 50%, #022c22 100%);
  color: #ffffff;
  padding: 48px 0;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 7fr 5fr;
  }
}
.hero-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 4px 14px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  color: #a7f3d0;
  margin-bottom: 12px;
}
.hero-title {
  font-size: 32px;
  font-weight: 900;
  line-height: 1.25;
  margin: 0 0 16px 0;
}
@media (min-width: 768px) {
  .hero-title {
    font-size: 44px;
  }
}
.hero-desc {
  font-size: 14px;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 24px;
}
.hero-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.hero-pill {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 12px;
  border-radius: 14px;
  text-align: center;
}
.hero-pill strong {
  display: block;
  font-size: 14px;
  color: #fde047;
}
.hero-pill span {
  font-size: 11px;
  color: #e2e8f0;
}

/* Product Card Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 32px 0;
}
@media (min-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}
@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

.product-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-col;
  justify-content: space-between;
  transition: all 0.3s ease;
  position: relative;
}
.product-card:hover {
  border-color: rgba(5, 150, 105, 0.4);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}
.product-badge-local {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(90deg, #059669, #0d9488);
  color: #ffffff;
  padding: 3px 8px;
  border-radius: 9999px;
  font-size: 10px;
  font-weight: 800;
  z-index: 10;
}
.product-image-box {
  width: 100%;
  aspect-ratio: 1/1;
  background: #f1f5f9;
  overflow: hidden;
}
.product-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-image-box img {
  transform: scale(1.05);
}
.product-info {
  padding: 14px;
}
.product-origin {
  font-size: 11px;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 4px;
}
.product-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.4;
  margin: 0 0 8px 0;
  height: 40px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.product-price {
  font-size: 18px;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 12px;
}
.product-price del {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: normal;
  margin-left: 6px;
}
.btn-buy {
  display: block;
  width: 100%;
  padding: 9px 0;
  text-align: center;
  background: var(--primary);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 12px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-buy:hover {
  background: var(--primary-hover);
}

/* Footer */
.site-footer {
  background: #020617;
  color: #94a3b8;
  padding: 48px 0 24px 0;
  margin-top: 60px;
  font-size: 13px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 32px;
  margin-bottom: 36px;
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.footer-col h4 {
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  margin: 0 0 16px 0;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col ul li a:hover {
  color: #34d399;
}
.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
}

/* Floating contact buttons */
.floating-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}
.floating-btn {
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.3);
  transition: transform 0.2s;
  font-size: 20px;
}
.floating-btn:hover {
  transform: scale(1.1);
}
.floating-btn-wa {
  background: #25D366;
}
.floating-btn-phone {
  background: #059669;
}

/* Print CSS */
@media print {
  .site-header, .top-bar, .site-footer, .floating-actions, .no-print {
    display: none !important;
  }
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }
}
