/*
Theme Name: ShopBD - AliExpress Style Mobile eCommerce
Theme URI: https://shopbd.com
Author: ShopBD Team
Author URI: https://shopbd.com
Description: A mobile-first WooCommerce theme inspired by AliExpress. Features flash sales, countdown timers, category navigation, sticky bottom menu, and a bold red ecommerce aesthetic. Fully compatible with WooCommerce and Elementor.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: shopbd
Tags: e-commerce, woocommerce, mobile-first, elementor, two-columns, custom-menu, custom-logo, featured-images, rtl-language-support, translation-ready
*/

/* =============================================
   CSS CUSTOM PROPERTIES
   ============================================= */
:root {
  --primary:       #E62E2E;
  --primary-dark:  #C0392B;
  --primary-light: #FF6B35;
  --accent:        #FFD700;
  --success:       #27AE60;
  --text-dark:     #222222;
  --text-mid:      #555555;
  --text-light:    #999999;
  --bg-page:       #F5F5F5;
  --bg-white:      #FFFFFF;
  --border:        #EEEEEE;
  --shadow-sm:     0 1px 4px rgba(0,0,0,0.08);
  --shadow-md:     0 4px 16px rgba(0,0,0,0.12);
  --radius-sm:     6px;
  --radius-md:     10px;
  --radius-lg:     20px;
  --font-main:     'Noto Sans Bengali', 'Hind Siliguri', sans-serif;
  --transition:    0.2s ease;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 14px; scroll-behavior: smooth; }
body {
  font-family: var(--font-main);
  background: var(--bg-page);
  color: var(--text-dark);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* =============================================
   SITE WRAPPER
   ============================================= */
#page { max-width: 100%; width: 100%; margin: 0; background: var(--bg-white); min-height: 100vh; position: relative; box-shadow: none; }
.site-content { padding-bottom: 70px; } /* space for bottom nav */

/* =============================================
   HEADER
   ============================================= */
#masthead {
  background: var(--primary);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(230,46,46,0.3);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
}
.site-logo img { height: 32px; width: auto; }
.site-logo .text-logo {
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.header-search {
  flex: 1;
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  padding: 0 4px 0 12px;
}
.header-search input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 13px;
  padding: 8px 0;
  background: transparent;
  font-family: var(--font-main);
}
.header-search button {
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.header-actions { display: flex; align-items: center; gap: 6px; }
.cart-icon-btn {
  position: relative;
  color: #fff;
  font-size: 22px;
  display: flex;
  align-items: center;
}
.cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--accent);
  color: var(--primary-dark);
  font-size: 9px;
  font-weight: 800;
  border-radius: 50%;
  width: 17px;
  height: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* =============================================
   NOTICE BAR
   ============================================= */
.notice-bar {
  background: #FFF7E0;
  border-bottom: 1px solid #FFD966;
  padding: 7px 12px;
  font-size: 11px;
  color: #8B5E00;
  display: flex;
  align-items: center;
  gap: 6px;
  overflow: hidden;
  white-space: nowrap;
}
.notice-bar .notice-scroll {
  animation: marquee 20s linear infinite;
  display: inline-block;
}
@keyframes marquee {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* =============================================
   HERO / BANNER
   ============================================= */
.hero-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 18px 16px 14px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero-banner::before {
  content: '';
  position: absolute;
  right: -30px; top: -30px;
  width: 160px; height: 160px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}
.hero-banner::after {
  content: '';
  position: absolute;
  right: 40px; bottom: -50px;
  width: 120px; height: 120px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--accent);
  color: var(--primary-dark);
  font-size: 10px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.hero-banner h2 { font-size: 24px; font-weight: 900; line-height: 1.15; margin-bottom: 6px; }
.hero-banner p { font-size: 12px; opacity: 0.88; margin-bottom: 14px; }
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  color: var(--primary);
  border-radius: 22px;
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 700;
}
.hero-cta:hover { background: var(--accent); }
.countdown-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}
.countdown-label { font-size: 11px; opacity: 0.85; }
.countdown-box {
  background: rgba(0,0,0,0.3);
  color: #fff;
  border-radius: 5px;
  padding: 4px 8px;
  font-size: 16px;
  font-weight: 800;
  min-width: 32px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.countdown-sep { font-size: 16px; font-weight: 800; }

/* =============================================
   TRUST BAR
   ============================================= */
.trust-bar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 10px 8px;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: var(--text-mid);
  text-align: center;
}
.trust-item .icon { font-size: 20px; color: var(--primary); }

/* =============================================
   CATEGORY STRIP
   ============================================= */
.category-strip {
  background: #fff;
  padding: 10px 0 8px;
  border-bottom: 1px solid var(--border);
}
.category-strip-inner {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0 8px;
}
.category-strip-inner::-webkit-scrollbar { display: none; }
.cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  flex-shrink: 0;
  cursor: pointer;
}
.cat-icon-wrap {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: transform var(--transition);
}
.cat-item:hover .cat-icon-wrap { transform: scale(1.1); }
.cat-item span { font-size: 10px; color: var(--text-mid); text-align: center; white-space: nowrap; }
.cat-item.active span { color: var(--primary); font-weight: 700; }

/* =============================================
   SECTION HEADER
   ============================================= */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 12px 8px;
  background: #fff;
}
.section-header h3 {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 6px;
}
.section-header .see-all {
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 2px;
}

/* =============================================
   FLASH DEALS HORIZONTAL SCROLL
   ============================================= */
.flash-deals-wrap { background: #fff; padding-bottom: 12px; }
.flash-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0 12px 4px;
}
.flash-scroll::-webkit-scrollbar { display: none; }
.flash-card {
  min-width: 130px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
  transition: box-shadow var(--transition);
}
.flash-card:hover { box-shadow: var(--shadow-md); }
.flash-img {
  width: 130px; height: 130px;
  object-fit: cover;
  background: #f8f8f8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
}
.flash-card .card-body { padding: 8px; }
.flash-card .card-price { color: var(--primary); font-size: 15px; font-weight: 800; }
.flash-card .card-price-old { color: var(--text-light); font-size: 10px; text-decoration: line-through; }
.discount-badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 3px;
  margin-top: 2px;
}
.stock-bar { height: 4px; background: #FFE0E0; border-radius: 2px; margin-top: 8px; overflow: hidden; }
.stock-fill { height: 100%; background: var(--primary); border-radius: 2px; }

/* =============================================
   PRODUCT GRID (WooCommerce override)
   ============================================= */
.divider { height: 8px; background: var(--bg-page); }
.products-section { background: var(--bg-page); padding-bottom: 12px; }
.section-header.on-gray { background: var(--bg-page); }

/* WooCommerce ul.products */
.woocommerce ul.products,
.product-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 8px !important;
  padding: 0 8px !important;
  margin: 0 !important;
  list-style: none !important;
}
.woocommerce ul.products li.product,
.prod-card {
  background: var(--bg-white) !important;
  border-radius: var(--radius-md) !important;
  overflow: hidden !important;
  box-shadow: var(--shadow-sm) !important;
  margin: 0 !important;
  padding: 0 !important;
  transition: box-shadow var(--transition) !important;
  position: relative;
}
.woocommerce ul.products li.product:hover,
.prod-card:hover { box-shadow: var(--shadow-md) !important; }
.woocommerce ul.products li.product img,
.prod-img {
  width: 100% !important;
  aspect-ratio: 1 !important;
  object-fit: cover !important;
  display: block !important;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.prod-title {
  font-size: 12px !important;
  color: var(--text-dark) !important;
  line-height: 1.4 !important;
  padding: 8px 10px 0 !important;
  margin: 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}
.woocommerce ul.products li.product .price,
.prod-price {
  padding: 4px 10px 0 !important;
  display: flex !important;
  align-items: baseline !important;
  gap: 5px !important;
}
.woocommerce ul.products li.product .price ins,
.woocommerce ul.products li.product .price .woocommerce-Price-amount {
  color: var(--primary) !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}
.woocommerce ul.products li.product .price del {
  color: var(--text-light) !important;
  font-size: 10px !important;
}
.woocommerce ul.products li.product .button,
.add-to-cart-btn {
  display: block !important;
  width: calc(100% - 20px) !important;
  margin: 8px 10px 10px !important;
  background: var(--primary) !important;
  color: #fff !important;
  border-radius: var(--radius-lg) !important;
  padding: 7px 10px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-align: center !important;
  border: none !important;
  transition: background var(--transition) !important;
  font-family: var(--font-main) !important;
}
.woocommerce ul.products li.product .button:hover,
.add-to-cart-btn:hover { background: var(--primary-dark) !important; }

/* Sale badge */
.woocommerce ul.products li.product .onsale,
.sale-badge {
  background: var(--primary) !important;
  color: #fff !important;
  font-size: 9px !important;
  font-weight: 800 !important;
  padding: 3px 7px !important;
  border-radius: 3px !important;
  position: absolute !important;
  top: 8px !important;
  left: 8px !important;
  z-index: 2 !important;
}

/* Free shipping badge */
.free-ship-badge {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: var(--success);
  color: #fff;
  font-size: 8px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  z-index: 2;
}

/* Wishlist heart */
.wishlist-btn {
  position: absolute;
  top: 8px; right: 8px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  width: 28px; height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  z-index: 2;
  cursor: pointer;
  border: none;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}
.wishlist-btn.active { color: var(--primary); }

/* Stars rating */
.star-rating-row {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 2px 10px 0;
}
.star-rating-row .stars { color: #F5A623; font-size: 10px; }
.star-rating-row .sold-count { font-size: 10px; color: var(--text-light); }

/* =============================================
   PROMO BANNERS (2-column)
   ============================================= */
.promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0 8px 12px;
  background: var(--bg-page);
}
.promo-banner {
  border-radius: var(--radius-md);
  overflow: hidden;
  padding: 14px 12px;
  color: #fff;
  position: relative;
  min-height: 90px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.promo-banner h4 { font-size: 13px; font-weight: 800; line-height: 1.2; margin-bottom: 4px; }
.promo-banner p { font-size: 10px; opacity: 0.85; }
.promo-banner-1 { background: linear-gradient(135deg, #E62E2E, #FF6B35); }
.promo-banner-2 { background: linear-gradient(135deg, #1565C0, #42A5F5); }

/* =============================================
   BOTTOM NAVIGATION
   ============================================= */
#bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  transform: none;
  width: 100%;
  max-width: 100%;
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.08);
  padding-bottom: env(safe-area-inset-bottom, 4px);
}
.bottom-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 4px 6px;
  gap: 3px;
  color: var(--text-light);
  font-size: 9px;
  transition: color var(--transition);
  position: relative;
  cursor: pointer;
  text-decoration: none;
}
.bottom-nav-item .icon { font-size: 22px; line-height: 1; }
.bottom-nav-item.active, .bottom-nav-item:hover { color: var(--primary); }
.bottom-nav-item.active::after {
  content: '';
  position: absolute;
  top: 0; left: 20%; right: 20%;
  height: 2px;
  background: var(--primary);
  border-radius: 0 0 2px 2px;
}
.bottom-nav-badge {
  position: absolute;
  top: 6px; right: calc(50% - 18px);
  background: var(--primary);
  color: #fff;
  font-size: 8px;
  font-weight: 700;
  border-radius: 50%;
  width: 15px; height: 15px;
  display: flex; align-items: center; justify-content: center;
}

/* =============================================
   PAGES: Cart, Checkout, Account (WooCommerce)
   ============================================= */
.woocommerce-page .woocommerce {
  padding: 12px;
}
.woocommerce-cart table.cart td,
.woocommerce-cart table.cart th {
  padding: 10px 8px;
  border-color: var(--border);
}
.woocommerce .cart_totals, .woocommerce .checkout { padding: 0; }
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  background: var(--primary) !important;
  color: #fff !important;
  border-radius: var(--radius-lg) !important;
  font-weight: 700 !important;
  padding: 12px 24px !important;
  font-size: 14px !important;
  transition: background var(--transition) !important;
}
.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover { background: var(--primary-dark) !important; }

/* =============================================
   SINGLE PRODUCT
   ============================================= */
.woocommerce div.product .product_title {
  font-size: 16px !important;
  font-weight: 800 !important;
  color: var(--text-dark) !important;
  line-height: 1.3 !important;
  padding: 12px !important;
  margin: 0 !important;
}
.woocommerce div.product p.price {
  padding: 0 12px 10px !important;
}
.woocommerce div.product p.price .amount {
  color: var(--primary) !important;
  font-size: 22px !important;
  font-weight: 900 !important;
}
.woocommerce div.product form.cart {
  padding: 0 12px !important;
}
.single-product-tabs {
  background: #fff;
  margin-top: 8px;
}

/* =============================================
   SHOP PAGE (Archive)
   ============================================= */
.woocommerce-products-header { display: none; }
.woocommerce-ordering select {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  font-size: 12px;
  font-family: var(--font-main);
}
.woocommerce-pagination ul {
  display: flex;
  gap: 6px;
  justify-content: center;
  padding: 16px 0;
  flex-wrap: wrap;
}
.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-size: 13px;
  color: var(--text-dark);
}
.woocommerce-pagination ul li .current {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* =============================================
   FOOTER
   ============================================= */
#colophon {
  background: #1A1A1A;
  color: #ccc;
  padding: 24px 16px 16px;
  font-size: 12px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #333;
}
.footer-col h4 { color: #fff; font-size: 13px; font-weight: 700; margin-bottom: 10px; }
.footer-col ul li { margin-bottom: 7px; }
.footer-col ul li a { color: #aaa; font-size: 12px; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--accent); }
.footer-payment { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.payment-badge {
  background: #2A2A2A;
  border: 1px solid #444;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 10px;
  color: #ccc;
}
.footer-bottom {
  text-align: center;
  padding-top: 14px;
  font-size: 11px;
  color: #666;
}
.footer-logo { color: var(--primary); font-weight: 800; font-size: 18px; margin-bottom: 8px; }
.footer-social { display: flex; gap: 10px; margin-top: 10px; }
.footer-social a { color: #aaa; font-size: 18px; transition: color var(--transition); }
.footer-social a:hover { color: var(--accent); }

/* =============================================
   BLOG / POSTS
   ============================================= */
.posts-section { background: var(--bg-page); padding-bottom: 12px; }
.post-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 0 8px 10px;
  box-shadow: var(--shadow-sm);
}
.post-card img { width: 100%; height: 160px; object-fit: cover; }
.post-card-body { padding: 12px; }
.post-card-body h3 { font-size: 14px; font-weight: 700; margin-bottom: 6px; line-height: 1.4; }
.post-card-body .meta { font-size: 11px; color: var(--text-light); }

/* =============================================
   PAGE: ABOUT US
   ============================================= */
.page-about .about-hero {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  text-align: center;
  padding: 40px 20px;
}
.page-about .about-hero h1 { font-size: 26px; font-weight: 900; margin-bottom: 8px; }
.page-about .about-hero p { font-size: 13px; opacity: 0.9; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; background: #fff; }
.stat-box {
  text-align: center;
  padding: 18px 10px;
  border-right: 1px solid var(--border);
}
.stat-box:last-child { border-right: none; }
.stat-box .number { font-size: 22px; font-weight: 900; color: var(--primary); }
.stat-box .label { font-size: 10px; color: var(--text-mid); margin-top: 3px; }

/* =============================================
   PAGE: CONTACT
   ============================================= */
.contact-info-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 16px;
  margin: 12px;
  box-shadow: var(--shadow-sm);
}
.contact-info-card .contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.contact-info-card .contact-item:last-child { border-bottom: none; }
.contact-item .ci-icon { font-size: 20px; color: var(--primary); width: 28px; }
.contact-item .ci-text { font-size: 13px; }
.contact-item .ci-text strong { display: block; font-size: 11px; color: var(--text-light); font-weight: 400; }
.wpcf7-form input, .wpcf7-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 13px;
  font-family: var(--font-main);
  outline: none;
  transition: border var(--transition);
}
.wpcf7-form input:focus, .wpcf7-form textarea:focus { border-color: var(--primary); }
.wpcf7-form .wpcf7-submit {
  background: var(--primary) !important;
  color: #fff !important;
  border-radius: var(--radius-lg) !important;
  width: 100% !important;
  padding: 12px !important;
  font-weight: 700 !important;
  font-size: 14px !important;
}

/* =============================================
   PAGE: FAQ & POLICY
   ============================================= */
.faq-accordion { padding: 12px; }
.faq-item {
  background: #fff;
  border-radius: var(--radius-md);
  margin-bottom: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.faq-question {
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}
.faq-question::after { content: '+'; font-size: 18px; color: var(--primary); }
.faq-item.open .faq-question::after { content: '−'; }
.faq-answer {
  padding: 0 16px;
  font-size: 12px;
  color: var(--text-mid);
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer { max-height: 300px; padding: 0 16px 14px; }
.page-content { padding: 16px; font-size: 13px; line-height: 1.7; color: var(--text-mid); }
.page-content h2 { font-size: 16px; color: var(--text-dark); margin: 16px 0 8px; }
.page-content h3 { font-size: 14px; color: var(--text-dark); margin: 12px 0 6px; }

/* =============================================
   PAGE TITLE BANNER
   ============================================= */
.page-title-wrap {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  padding: 18px 16px;
  color: #fff;
}
.page-title-wrap h1 { font-size: 20px; font-weight: 800; }
.page-title-wrap .breadcrumb { font-size: 11px; opacity: 0.8; margin-top: 4px; }
.page-title-wrap .breadcrumb a { color: rgba(255,255,255,0.8); }
.page-title-wrap .breadcrumb a:hover { color: #fff; }

/* =============================================
   SEARCH RESULTS
   ============================================= */
.search-header { padding: 12px; font-size: 13px; color: var(--text-mid); }
.search-header strong { color: var(--primary); }

/* =============================================
   USER ACCOUNT
   ============================================= */
.woocommerce-account .woocommerce { padding: 12px; }
.woocommerce-MyAccount-navigation ul li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
}
.woocommerce-MyAccount-navigation ul li.is-active a { color: var(--primary); }
.woocommerce-MyAccount-navigation { background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); margin-bottom: 12px; overflow: hidden; }

/* =============================================
   UTILITY & HELPERS
   ============================================= */
.text-red { color: var(--primary); }
.text-center { text-align: center; }
.p-12 { padding: 12px; }
.mt-8 { margin-top: 8px; }
.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 700;
  transition: background var(--transition);
  border: none;
  cursor: pointer;
  font-family: var(--font-main);
}
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.card { background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.skeleton { animation: skeleton-pulse 1.5s ease-in-out infinite; }
@keyframes skeleton-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }

/* Old tablet block removed — handled by full responsive section below */

/* =============================================
   ELEMENTOR OVERRIDES
   ============================================= */
.elementor-kit-1 body { background: var(--bg-page); }

/* =============================================================
   RESPONSIVE: FULL DESKTOP & LAPTOP LAYOUT
   ============================================================= */

/* Mobile: max 767px — single column, bottom nav visible */
@media (max-width: 767px) {
  #page {
    max-width: 100% !important;
    width: 100% !important;
    box-shadow: none !important;
  }
  #bottom-nav { display: flex !important; }
}

/* Tablet & Desktop: 768px+ */
@media (min-width: 768px) {
  /* Full width page, no phone-frame look */
  #page {
    max-width: 100% !important;
    width: 100% !important;
    box-shadow: none !important;
    background: var(--bg-page) !important;
  }

  /* Hide mobile bottom nav on desktop */
  #bottom-nav { display: none !important; }

  /* More space since no bottom nav */
  .site-content { padding-bottom: 0 !important; }

  /* ---- HEADER ---- */
  #masthead { width: 100% !important; }
  .header-inner {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 12px 24px !important;
    gap: 16px !important;
  }
  .site-logo .text-logo { font-size: 22px !important; }
  .site-logo img { height: 40px !important; max-width: 160px !important; }
  .header-search { max-width: 500px !important; }
  .header-search input[type="search"] { font-size: 14px !important; }

  /* Desktop top menu */
  .header-desktop-nav {
    display: flex !important;
    align-items: center !important;
    gap: 24px !important;
  }
  .header-desktop-nav a {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    opacity: 0.9;
    white-space: nowrap;
    transition: opacity 0.2s;
  }
  .header-desktop-nav a:hover { opacity: 1; }

  /* ---- NOTICE BAR ---- */
  .notice-bar { justify-content: center; font-size: 12px; }

  /* ---- HERO BANNER ---- */
  .hero-banner {
    padding: 50px 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 280px !important;
  }
  .hero-banner-inner {
    max-width: 1200px;
    width: 100%;
    padding: 0 40px;
  }
  .hero-banner h2 { font-size: 40px !important; max-width: 600px; }
  .hero-banner p  { font-size: 15px !important; }

  /* ---- TRUST BAR ---- */
  .trust-bar { max-width: 1200px; margin: 0 auto; justify-content: center; gap: 48px; padding: 16px 40px; }
  .trust-item { font-size: 13px !important; flex-direction: row !important; gap: 8px !important; }
  .trust-item .icon { font-size: 24px !important; }

  /* ---- CATEGORY STRIP ---- */
  .category-strip-inner {
    max-width: 1200px !important;
    margin: 0 auto !important;
    justify-content: center !important;
    overflow-x: visible !important;
    flex-wrap: wrap !important;
    padding: 0 24px !important;
  }
  .cat-icon-wrap { width: 56px !important; height: 56px !important; font-size: 26px !important; }
  .cat-item span { font-size: 12px !important; }

  /* ---- SECTION HEADERS ---- */
  .section-header, .section-header.on-gray {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 16px 24px 10px !important;
  }
  .section-header h3 { font-size: 18px !important; }

  /* ---- FLASH DEALS ---- */
  .flash-deals-wrap { background: #fff; }
  .flash-scroll {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 24px 12px !important;
    flex-wrap: wrap !important;
    overflow-x: visible !important;
    gap: 16px !important;
  }
  .flash-card { min-width: 160px !important; width: calc(12.5% - 16px) !important; }
  .flash-img  { width: 100% !important; height: 160px !important; }

  /* ---- PRODUCT GRID ---- */
  .woocommerce ul.products,
  .product-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 16px !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
  }
  .products-section, .woocommerce-page .woocommerce {
    max-width: 100% !important;
  }

  /* ---- PROMO BANNERS ---- */
  .promo-grid {
    max-width: 1200px !important;
    margin: 0 auto !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;
    padding: 0 24px 16px !important;
  }
  .promo-banner { min-height: 120px !important; padding: 24px !important; }
  .promo-banner h4 { font-size: 18px !important; }

  /* ---- FOOTER ---- */
  #colophon { padding: 40px 0 20px !important; }
  .footer-top {
    max-width: 1200px !important;
    margin: 0 auto !important;
    grid-template-columns: 1fr 1fr 1fr 1fr !important;
    gap: 32px !important;
    padding: 0 40px 24px !important;
  }
  .footer-bottom { max-width: 1200px; margin: 0 auto; padding: 16px 40px 0; }

  /* ---- WC PAGES ---- */
  .woocommerce-page .woocommerce,
  .shopbd-wc-wrapper {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 24px !important;
  }
  .page-content { max-width: 900px; margin: 0 auto; padding: 24px 40px; }
  .page-title-wrap { padding: 30px 40px !important; }
  .page-title-wrap h1 { font-size: 28px !important; }

  /* ---- ABOUT / CONTACT ---- */
  .about-stats { max-width: 1200px; margin: 0 auto; grid-template-columns: repeat(3, 1fr); }
  .contact-info-card { max-width: 700px; margin: 24px auto; }
  .faq-accordion { max-width: 800px; margin: 0 auto; }

  /* ---- BLOG ---- */
  .posts-section .post-card { max-width: 1200px; margin: 0 auto 16px; }
}

/* Large Desktop: 1200px+ */
@media (min-width: 1200px) {
  .woocommerce ul.products,
  .product-grid {
    grid-template-columns: repeat(5, 1fr) !important;
  }
  .flash-card { width: calc(10% - 16px) !important; }
}

/* =============================================================
   DESKTOP GORGEOUS REDESIGN — 768px+
   ============================================================= */
@media (min-width: 768px) {

  /* ---- GLOBAL WRAPPER ---- */
  body { background: #f0f0f0; }
  #page { background: #fff; }

  /* ---- HEADER FULL WIDTH ---- */
  #masthead {
    background: linear-gradient(90deg, #C0392B 0%, #E62E2E 50%, #C0392B 100%) !important;
    box-shadow: 0 2px 16px rgba(180,0,0,0.18) !important;
  }
  .header-inner {
    max-width: 1280px !important;
    margin: 0 auto !important;
    padding: 14px 40px !important;
    gap: 20px !important;
  }
  .site-logo .text-logo {
    font-size: 26px !important;
    letter-spacing: -1px !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
  }
  .header-search {
    max-width: 480px !important;
    height: 42px !important;
    border-radius: 6px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
  }
  .header-search input[type="search"] {
    font-size: 14px !important;
    padding: 0 8px !important;
  }
  .header-search button[type="submit"] {
    width: 42px !important;
    height: 42px !important;
    border-radius: 0 6px 6px 0 !important;
    font-size: 16px !important;
  }
  .header-desktop-nav a {
    font-size: 14px !important;
    padding: 6px 14px !important;
    border-radius: 22px !important;
    transition: background 0.2s !important;
  }
  .header-desktop-nav a:hover {
    background: rgba(255,255,255,0.18) !important;
    opacity: 1 !important;
  }

  /* ---- NOTICE BAR ---- */
  .notice-bar {
    background: #fff8e1 !important;
    border-bottom: 1px solid #ffe082 !important;
    font-size: 13px !important;
    padding: 8px 40px !important;
    justify-content: center !important;
    letter-spacing: 0.2px !important;
  }

  /* ---- HERO BANNER ---- */
  .hero-banner {
    min-height: 340px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    background: linear-gradient(120deg, #C0392B 0%, #E62E2E 40%, #FF6B35 100%) !important;
    position: relative !important;
    overflow: hidden !important;
  }
  .hero-banner::before {
    content: '';
    position: absolute; right: -60px; top: -60px;
    width: 420px; height: 420px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
  }
  .hero-banner::after {
    content: '';
    position: absolute; left: 30%; bottom: -80px;
    width: 300px; height: 300px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
  }
  .hero-banner-inner {
    max-width: 1280px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 80px !important;
    position: relative; z-index: 1;
  }
  .hero-banner h2 {
    font-size: 48px !important;
    max-width: 580px !important;
    line-height: 1.1 !important;
    text-shadow: 0 2px 16px rgba(0,0,0,0.15) !important;
  }
  .hero-banner p { font-size: 16px !important; max-width: 460px !important; }
  .hero-cta {
    padding: 13px 32px !important;
    font-size: 15px !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15) !important;
    transition: transform 0.2s, box-shadow 0.2s !important;
  }
  .hero-cta:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2) !important;
  }
  .countdown-row { margin-top: 20px !important; }
  .countdown-box { font-size: 20px !important; padding: 6px 12px !important; min-width: 44px !important; }

  /* ---- TRUST BAR ---- */
  .trust-bar {
    max-width: 100% !important;
    background: #fff !important;
    border-bottom: 1px solid #eee !important;
    padding: 18px 80px !important;
    justify-content: center !important;
    gap: 60px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important;
  }
  .trust-item {
    flex-direction: row !important;
    gap: 10px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #444 !important;
  }
  .trust-item .icon { font-size: 28px !important; }

  /* ---- CATEGORY STRIP ---- */
  .category-strip {
    background: #fff !important;
    padding: 20px 0 16px !important;
    border-bottom: 1px solid #eee !important;
  }
  .category-strip-inner {
    max-width: 1280px !important;
    margin: 0 auto !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    overflow-x: visible !important;
    padding: 0 40px !important;
    gap: 8px !important;
  }
  .cat-item {
    padding: 8px 16px !important;
    border-radius: 12px !important;
    transition: background 0.2s !important;
  }
  .cat-item:hover { background: #f9f9f9 !important; }
  .cat-icon-wrap {
    width: 60px !important; height: 60px !important;
    font-size: 28px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07) !important;
  }
  .cat-item span { font-size: 12px !important; font-weight: 600 !important; }

  /* ---- SECTION HEADERS ---- */
  .section-header,
  .section-header.on-gray {
    max-width: 1280px !important;
    margin: 0 auto !important;
    padding: 28px 40px 14px !important;
    background: transparent !important;
  }
  .section-header h3 {
    font-size: 22px !important;
    position: relative !important;
    padding-left: 14px !important;
  }
  .section-header h3::before {
    content: '';
    position: absolute; left: 0; top: 50%;
    transform: translateY(-50%);
    width: 4px; height: 22px;
    background: var(--primary);
    border-radius: 2px;
  }
  .section-header .see-all {
    font-size: 13px !important;
    padding: 6px 16px !important;
    border: 1.5px solid var(--primary) !important;
    border-radius: 20px !important;
    transition: all 0.2s !important;
  }
  .section-header .see-all:hover {
    background: var(--primary) !important;
    color: #fff !important;
  }

  /* ---- FLASH DEALS ---- */
  .flash-deals-wrap {
    background: #fff !important;
    padding-bottom: 20px !important;
    border-bottom: 8px solid #f5f5f5 !important;
  }
  .flash-scroll {
    max-width: 1280px !important;
    margin: 0 auto !important;
    padding: 0 40px 8px !important;
    flex-wrap: wrap !important;
    overflow-x: visible !important;
    gap: 16px !important;
  }
  .flash-card {
    min-width: unset !important;
    width: calc(12.5% - 14px) !important;
    border-radius: 12px !important;
    border: 1px solid #f0f0f0 !important;
    transition: box-shadow 0.2s, transform 0.2s !important;
  }
  .flash-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.12) !important;
    transform: translateY(-4px) !important;
  }
  .flash-img { height: 170px !important; width: 100% !important; }
  .flash-card .card-body { padding: 10px 12px 12px !important; }
  .flash-card .card-price { font-size: 17px !important; }

  /* ---- PRODUCT GRID ---- */
  .products-section { background: #f5f5f5 !important; padding-bottom: 32px !important; }
  .woocommerce ul.products,
  .product-grid {
    max-width: 1280px !important;
    margin: 0 auto !important;
    padding: 0 40px !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 18px !important;
  }
  .woocommerce ul.products li.product,
  .prod-card {
    border-radius: 14px !important;
    overflow: hidden !important;
    transition: box-shadow 0.22s, transform 0.22s !important;
  }
  .woocommerce ul.products li.product:hover,
  .prod-card:hover {
    box-shadow: 0 10px 32px rgba(0,0,0,0.13) !important;
    transform: translateY(-5px) !important;
  }
  .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .prod-title { font-size: 13px !important; padding: 10px 12px 0 !important; }
  .woocommerce ul.products li.product .price { padding: 6px 12px 0 !important; }
  .woocommerce ul.products li.product .price ins,
  .woocommerce ul.products li.product .price .woocommerce-Price-amount {
    font-size: 17px !important;
  }
  .woocommerce ul.products li.product .button,
  .add-to-cart-btn {
    width: calc(100% - 24px) !important;
    margin: 10px 12px 12px !important;
    padding: 9px !important;
    font-size: 13px !important;
    border-radius: 8px !important;
    transition: background 0.2s, transform 0.15s !important;
  }
  .woocommerce ul.products li.product .button:hover { transform: scale(1.02) !important; }

  /* ---- PROMO BANNERS ---- */
  .promo-grid {
    max-width: 1280px !important;
    margin: 0 auto !important;
    padding: 8px 40px 24px !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
  }
  .promo-banner {
    min-height: 140px !important;
    padding: 28px 32px !important;
    border-radius: 16px !important;
    transition: transform 0.2s, box-shadow 0.2s !important;
  }
  .promo-banner:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 32px rgba(0,0,0,0.18) !important;
  }
  .promo-banner h4 { font-size: 22px !important; }
  .promo-banner p { font-size: 13px !important; }

  /* ---- BLOG POSTS ---- */
  .posts-section { background: #f5f5f5 !important; padding-bottom: 32px !important; }
  .posts-section .post-card {
    max-width: 1280px !important;
    margin: 0 auto 16px !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    display: grid !important;
    grid-template-columns: 280px 1fr !important;
    min-height: 160px !important;
  }
  .posts-section .post-card img {
    width: 280px !important;
    height: 100% !important;
    object-fit: cover !important;
  }
  .posts-section .post-card-body {
    padding: 20px 24px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
  }
  .posts-section .post-card-body h3 { font-size: 17px !important; margin-bottom: 8px !important; }
  .posts-section .post-card-body .meta { font-size: 12px !important; }

  /* ---- DIVIDERS ---- */
  .divider { height: 12px !important; background: #f5f5f5 !important; }

  /* ---- FOOTER ---- */
  #colophon {
    padding: 48px 0 24px !important;
    background: #111 !important;
  }
  .footer-top {
    max-width: 1280px !important;
    margin: 0 auto !important;
    grid-template-columns: 2fr 1fr 1fr 1fr !important;
    gap: 40px !important;
    padding: 0 80px 32px !important;
    border-bottom: 1px solid #2a2a2a !important;
  }
  .footer-col h4 { font-size: 14px !important; margin-bottom: 14px !important; color: #fff !important; text-transform: uppercase; letter-spacing: 0.5px; }
  .footer-col ul li { margin-bottom: 9px !important; }
  .footer-col ul li a { font-size: 13px !important; color: #888 !important; transition: color 0.2s !important; }
  .footer-col ul li a:hover { color: #FFD700 !important; padding-left: 4px !important; }
  .footer-logo { font-size: 24px !important; margin-bottom: 12px !important; }
  .footer-social { gap: 14px !important; margin-top: 14px !important; }
  .footer-social a { font-size: 20px !important; }
  .footer-payment { margin-top: 14px !important; gap: 8px !important; }
  .payment-badge {
    padding: 5px 10px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
    background: #1e1e1e !important;
  }
  .footer-bottom {
    max-width: 1280px !important;
    margin: 0 auto !important;
    padding: 20px 80px 0 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-size: 12px !important;
    color: #555 !important;
  }

  /* ---- WC PAGES (Cart, Checkout, Account) ---- */
  .woocommerce-page .woocommerce,
  .shopbd-wc-wrapper {
    max-width: 1000px !important;
    margin: 32px auto !important;
    padding: 0 24px !important;
  }

  /* ---- PAGE TITLE BANNER ---- */
  .page-title-wrap {
    padding: 40px 80px !important;
    background: linear-gradient(120deg, #C0392B, #E62E2E 60%, #FF6B35) !important;
  }
  .page-title-wrap h1 { font-size: 32px !important; }

  /* ---- INNER PAGES ---- */
  .page-content { max-width: 900px !important; margin: 0 auto !important; padding: 32px 80px !important; font-size: 15px !important; line-height: 1.8 !important; }
  .about-stats { max-width: 1280px !important; margin: 0 auto !important; }
  .stat-box .number { font-size: 32px !important; }
  .stat-box .label { font-size: 13px !important; }
  .contact-info-card { max-width: 720px !important; margin: 32px auto !important; padding: 24px !important; }
  .faq-accordion { max-width: 800px !important; margin: 0 auto !important; }
  .faq-question { font-size: 15px !important; padding: 18px 20px !important; }
  .faq-answer { font-size: 14px !important; }
  .track-order-form { max-width: 600px !important; margin: 32px auto !important; }
}

/* ---- LARGE DESKTOP 1280px+ ---- */
@media (min-width: 1280px) {
  .woocommerce ul.products,
  .product-grid {
    grid-template-columns: repeat(5, 1fr) !important;
  }
  .flash-card { width: calc(11.1% - 15px) !important; }
}
