/* ==========================================================================
   الیاس بوتان | نمایندگی بوتان آجلی رشت
   Stylesheet — clean, mobile-first, fluid-responsive
   Sections:
     1. Design tokens & resets
     2. Layout helpers
     3. Preloader
     4. Header (topbar, main header, nav, mega menu, mobile menu)
     5. Buttons & form controls
     6. Hero
     7. Section headers
     8. Product cards & grids
     9. Category cards
    10. Offer / promo banners
    11. Advantages
    12. Mini products
    13. Brands
    14. Blog
    15. Contact banner / footer
    16. Page header / breadcrumb
    17. Shop page (sidebar, toolbar, pagination)
    18. Single product page
    19. Cart & checkout
    20. Service / about / contact pages
    21. 404
    22. Floating actions & misc widgets
    23. Animations
    24. Responsive fine-tuning
   ========================================================================== */

/* ---------- 1. Design tokens & resets ---------- */
:root {
  --primary: #e30613;
  --primary-dark: #394456;
  --primary-light: #fdeceb;
  --dark: #1c1c1f;
  --gray-900: #232323;
  --gray-700: #555555;
  --gray-500: #8a8a8a;
  --border: #ececec;
  --bg: #f7f7f7;
  --white: #ffffff;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;

  --shadow-sm: 0 4px 14px rgba(20, 20, 20, 0.06);
  --shadow-md: 0 10px 30px rgba(20, 20, 20, 0.08);
  --shadow-lg: 0 20px 50px rgba(20, 20, 20, 0.12);

  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --container-max: 1320px;
  --font-main: "IRANSans", Tahoma, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { text-decoration: none; color: inherit; transition: color var(--transition); }
a:hover { color: var(--primary); }

ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4, h5, h6 {
  color: var(--dark);
  font-weight: 700;
  margin: 0 0 0.6em;
  line-height: 1.4;
}

p { margin: 0 0 1em; }

.container { max-width: var(--container-max); }

section { padding: clamp(40px, 6vw, 80px) 0; }

::selection { background: var(--primary); color: var(--white); }

/* focus visibility for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* ---------- 2. Layout helpers ---------- */
.text-muted-soft { color: var(--gray-500); }

/* ---------- 3. Preloader ---------- */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#loader.loaded { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-circle {
  width: 46px;
  height: 46px;
  border: 4px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 4. Header ---------- */
#site-header { position: relative; z-index: 500; background: var(--white); }

.header-top {
  background: var(--dark);
  color: #d8d8d8;
  font-size: 0.85rem;
  padding: 8px 0;
}
.header-top .top-right i { color: var(--primary); margin-left: 6px; }

.header-main { padding: 18px 0; border-bottom: 1px solid var(--border); }

.logo img { max-height: 56px; width: auto; }

.search-box {
  position: relative;
  display: flex;
  background: var(--bg);
  border-radius: 50px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.search-box input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 12px 20px;
  font-family: var(--font-main);
  font-size: 0.9rem;
  outline: none;
}
.search-box button {
  border: 0;
  background: var(--primary-dark);
  color: var(--white);
  width: 50px;
  cursor: pointer;
  transition: background var(--transition);
}
.search-box button:hover { background: var(--dark); }

.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }

.icon-btn {
  position: relative;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg);
  font-size: 1.1rem;
  color: var(--dark);
  transition: var(--transition);
}
.icon-btn:hover { background: var(--primary); color: var(--white); }
.cart-count {
  position: absolute;
  top: -4px;
  left: -4px;
  background: var(--primary);
  color: var(--white);
  font-size: 0.65rem;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.icon-btn:hover .cart-count { background: var(--white); color: var(--primary); }

.call-btn {
  display: none;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
}
.call-btn:hover { background: var(--primary-dark); color: var(--white); }

.mobile-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  font-size: 1.3rem;
  color: var(--dark);
}

/* -- Navigation -- */
.main-nav { background: var(--primary); position: relative; z-index: 400; }
.nav-wrapper { display: flex; align-items: center; gap: 24px; position: relative;}

.main-nav{
    position:relative;
}

.main-menu > li{
    position:static;
}

.mega-menu{
    position:absolute;
    top:100%;
    left:0;
    right:0;
    width:100%;
}

.mega-parent:hover .mega-menu{
    opacity:1;
    visibility:visible;
    transform:none;
}

.category-area { position: relative; flex-shrink: 0; }
.category-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: var(--white);
  border: 0;
  padding: 16px 22px;
  font-weight: 700;
  font-size: 0.92rem;
  font-family: var(--font-main);
  white-space: nowrap;
  cursor: pointer;
}
.category-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  width: 260px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  border-radius: 0 0 var(--radius) var(--radius);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
  z-index: 300;
}
.category-area:hover .category-dropdown,
.category-area:focus-within .category-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  display: block !important;
}
.category-dropdown ul { padding: 10px 0; }
.category-dropdown li a {
  display: block;
  padding: 11px 22px;
  color: var(--gray-900);
  font-size: 0.92rem;
}
.category-dropdown li a:hover { background: var(--primary-light); color: var(--primary); padding-right: 26px; }

.main-menu {
  display: none;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
/* .main-menu > li { position: relative; } */
.main-menu > li > a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 16px 16px;
  color: #eee;
  font-size: 0.92rem;
  font-weight: 500;
}
.main-menu > li > a:hover,
.main-menu > li > a.active { color: var(--white); background: rgba(255, 255, 255, 0.06); }
.main-menu > li > a i { font-size: 0.7rem; transition: transform var(--transition); }
.main-menu > li:hover > a i { transform: rotate(180deg); }

/* .mega-menu {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  padding: 30px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 350;
  border-radius: 0 0 var(--radius) var(--radius);
}
.mega-parent:hover .mega-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-category-list li { padding: 9px 0; color: var(--gray-900); font-size: 0.92rem; cursor: pointer; border-bottom: 1px dashed var(--border); }
.mega-category-list li.active,
.mega-category-list li:hover { color: var(--primary); }
.mega-products { display: flex; flex-direction: column; gap: 4px; }
.mega-products a { padding: 8px 0; color: var(--gray-700); font-size: 0.92rem; }
.mega-products a:hover { color: var(--primary); padding-right: 6px; } */

.nav-phone { display: none; margin-right: auto; }
.nav-phone a { color: var(--white); font-weight: 700; display: flex; align-items: center; gap: 8px; }
.nav-phone a i { color: var(--primary); }

.mega-menu{
    position:absolute;
    top:100%;
    right:0;
    /* left:0; */
    width: 100%;
    background:#fff;
    border-radius:0 0 18px 18px;
    box-shadow:0 20px 40px rgba(0,0,0,.12);

    opacity:0;
    visibility:hidden;
    transform:translateY(15px);
    transition:.25s;

    z-index:999;
}

.mega-parent:hover + .mega-menu{
    opacity:1;
    visibility:visible;
    transform:none;
}

.mega-parent:hover>.mega-menu{
    opacity:1;
    visibility:visible;
    transform:none;
}

.mega-content{
    display:flex;
    align-items:stretch;
}

.mega-categories{
    width:240px;
    flex-shrink:0;
    border-left:1px solid #eee;
    padding:30px;
}

.mega-category-list{
    margin:0;
    padding:0;
    list-style:none;
}

.mega-category-list li{
    border-bottom:1px dashed #eee;
}

.mega-category-list li a{
    display:block;
    padding:12px 0;
    color:#333;
}

.mega-products{
    flex:1;
    display:flex;
    flex-direction:column;
    padding:30px;
}

.mega-products a{
    display:block;
    padding:10px 0;
}

.mega-image{
    width:320px;
    flex-shrink:0;
}

.mega-image img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
}

#headerOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 200;
}
#headerOverlay.show { opacity: 1; visibility: visible; }

/* sticky header on scroll */
#site-header.is-sticky .header-main { position: sticky; top: 0; z-index: 600; box-shadow: var(--shadow-md); animation: slideDown 0.35s ease; }
@keyframes slideDown { from { transform: translateY(-100%); } to { transform: translateY(0); } }

/* -- Mobile off-canvas menu -- */
.offcanvas { font-family: var(--font-main); }
.mobile-nav li a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--border); color: var(--gray-900); font-weight: 500; }
.mobile-nav li a.active,
.mobile-nav li a:hover { color: var(--primary); }
.mobile-contact { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.mobile-contact a { display: flex; align-items: center; gap: 8px; color: var(--primary); font-weight: 700; }

/* ---------- 5. Buttons & form controls ---------- */
.btn-red,
.btn-white,
.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  font-family: var(--font-main);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-red { background: var(--primary-dark); color: var(--white); border-color: var(--primary-dark); }
.btn-red:hover { background: var(--primary); border-color: var(--primary); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-white { background: var(--white); color: var(--dark); border-color: var(--border); }
.btn-white:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }

.btn-outline-dark { background: transparent; color: var(--dark); border-color: var(--dark); }
.btn-outline-dark:hover { background: var(--dark); color: var(--white); }

.form-control,
.form-select,
select.orderby,
textarea {
  font-family: var(--font-main);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  width: 100%;
  font-size: 0.92rem;
  background: var(--white);
  color: var(--gray-900);
  transition: var(--transition);
}
.form-control:focus,
.form-select:focus,
select.orderby:focus,
textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); outline: none; }
label { display: block; font-size: 0.85rem; color: var(--gray-900); font-weight: 700; margin-bottom: 6px; }

.qty-box { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 50px; overflow: hidden; }
.qty-box input { width: 46px; text-align: center; border: 0; padding: 8px 0; font-family: var(--font-main); -moz-appearance: textfield; }
.qty-box input::-webkit-outer-spin-button,
.qty-box input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-btn { border: 0; background: var(--bg); width: 36px; height: 40px; font-size: 1.1rem; cursor: pointer; color: var(--dark); transition: var(--transition); }
.qty-btn:hover { background: var(--primary); color: var(--white); }
/* WooCommerce prints its own qty <input class="qty">; keep it inside our pill shape */
.qty-box input.qty { width: 46px; }

/* ---------- Variation attribute pills (WooCommerce variable products) ---------- */
.attribute-pill-group { display: flex; flex-wrap: wrap; gap: 8px; }
.attribute-pill {
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--dark);
  border-radius: 50px;
  padding: 8px 18px;
  font-family: var(--font-main);
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}
.attribute-pill:hover { border-color: var(--primary); }
.attribute-pill.active { background: var(--primary); border-color: var(--primary); color: var(--white); }
.single_variation_wrap .woocommerce-variation-price { margin: 14px 0; }
.single_variation_wrap .woocommerce-variation-add-to-cart { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.single_variation_wrap .woocommerce-variation-add-to-cart .button {
  border: 0; border-radius: 50px; padding: 12px 26px; background: var(--primary); color: var(--white);
  font-family: var(--font-main); font-weight: 700; cursor: pointer; transition: var(--transition);
}
.single_variation_wrap .woocommerce-variation-add-to-cart .button:hover { filter: brightness(0.92); }
.single_variation_wrap .woocommerce-variation-add-to-cart .button.disabled { opacity: 0.5; cursor: not-allowed; }

/* ---------- Form status alerts (contact / service-request) ---------- */
.alert { border-radius: 12px; padding: 14px 20px; margin-bottom: 20px; font-family: var(--font-main); font-size: 0.92rem; }
.alert-success { background: #e6f7ec; color: #157347; border: 1px solid #b7ebc6; }
.alert-danger { background: #fdecea; color: #b02a37; border: 1px solid #f6c7cb; }

/* ---------- Shop toolbar view-toggle + orderby select ---------- */
.shop-toolbar-actions select.orderby { width: auto; }
.shop-toolbar-actions .woocommerce-ordering { margin: 0; }

/* ---------- 6. Hero ---------- */
.hero-section { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); padding: clamp(50px, 8vw, 90px) 0; }
.hero-bg-circle {
  position: absolute;
  top: -180px;
  left: -180px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
  z-index: 0;
}
.hero-section .container { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  color: var(--primary);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 18px;
}
.hero-text-content h1 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin-bottom: 0.5em; }
.hero-text-content p { font-size: 1.05rem; color: var(--gray-700); max-width: 480px; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin: 26px 0; }
.hero-list { display: flex; flex-wrap: wrap; gap: 18px; }
.hero-list li { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; color: var(--gray-900); font-weight: 500; }
.hero-list li i { color: var(--primary); }

.hero-image { position: relative; }
.hero-image img { border-radius: var(--radius-lg); width: 100%; }
.floating-card {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  animation: floatY 3.5s ease-in-out infinite;
}
.floating-card strong { color: var(--primary); font-size: 1.4rem; }
.floating-card span { font-size: 0.82rem; color: var(--gray-700); }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- 7. Section headers ---------- */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 34px;
  flex-wrap: wrap;
}
.section-header h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 0.3em; }
.section-header p { margin: 0; color: var(--gray-500); font-size: 0.92rem; }
.section-header > a,
.section-more {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.section-header.block { display: block; text-align: right; }
.section-header.block.text-center { text-align: center; }
.related-header { margin-top: 60px; }

/* ---------- 8. Product cards & grids ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 22px;
}
.product-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); border-color: transparent; }
.discount-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  z-index: 2;
}
.product-flag {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--dark);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  z-index: 2;
}
.discount-badge + .product-flag { top: 48px; }
.wishlist-btn {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 0;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  color: var(--gray-700);
  z-index: 2;
  opacity: 0;
  transform: translateY(-6px);
  transition: var(--transition);
}
.product-card:hover .wishlist-btn { opacity: 1; transform: translateY(0); }
.wishlist-btn:hover { background: var(--primary); color: var(--white); }

.product-thumb { background: var(--bg); aspect-ratio: 1 / 1; overflow: hidden; }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-thumb img { transform: scale(1.08); }

.product-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.product-rating { color: #f5a623; font-size: 0.78rem; margin-bottom: 8px; letter-spacing: 2px; }
.product-body h3 { font-size: 0.98rem; margin-bottom: 10px; }
.product-body h3 a { color: var(--gray-900); display: block; }
.product-body h3 a:hover { color: var(--primary); }
.price-box { margin-bottom: 14px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price-box del { color: var(--gray-500); font-size: 0.85rem; }
.price-box strong { color: var(--primary); font-size: 1.05rem; }
.btn-cart {
  margin-top: auto;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--dark);
  padding: 11px;
  border-radius: 50px;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition);
}
.btn-cart:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }

/* offer slider (swiper) uses the same .product-card, wrap width */
.offerSwiper .swiper-slide { height: auto; }
.offer-panel {
  background: linear-gradient(160deg, var(--primary), var(--primary-dark));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.offer-tag { display: inline-block; background: rgba(255, 255, 255, 0.18); padding: 5px 14px; border-radius: 50px; font-size: 0.78rem; margin-bottom: 14px; width: fit-content; }
.offer-panel h2 { color: var(--white); font-size: 1.5rem; }
.offer-panel p { color: rgba(255, 255, 255, 0.85); }
.offer-panel .btn-red { background: var(--white); color: var(--primary); border-color: var(--white); margin-top: 10px; width: fit-content; }
.offer-panel .btn-red:hover { background: var(--dark); color: var(--white); border-color: var(--dark); }

.swiper-pagination-bullet { background: var(--border); opacity: 1; }
.swiper-pagination-bullet-active { background: var(--primary); }

/* ---------- 9. Category cards ---------- */
.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  background: var(--bg);
  border-radius: var(--radius);
  padding: 24px 14px;
  text-align: center;
  transition: var(--transition);
  height: 100%;
}
.category-card img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; background: var(--white); }
.category-card h5 { margin: 0; font-size: 0.92rem; color: var(--gray-900); }
.category-card:hover { background: var(--primary); transform: translateY(-6px); box-shadow: var(--shadow-md); }
.category-card:hover h5 { color: var(--white); }

/* ---------- 10. Offer / promo banners ---------- */
.promo-large,
.promo-small { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; height: 100%; min-height: 260px; }
.promo-large img,
.promo-small img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; transition: transform 0.5s ease; }
.promo-large:hover img,
.promo-small:hover img { transform: scale(1.06); }
.promo-content { position: absolute; inset: auto 0 0 0; padding: 30px; background: linear-gradient(0deg, rgba(0, 0, 0, 0.75), transparent); }
.promo-content span { color: var(--primary); font-weight: 700; font-size: 0.85rem; }
.promo-content h2 { color: var(--white); font-size: 1.5rem; margin: 6px 0; }
.promo-content h3 { color: var(--white); font-size: 1.2rem; margin: 6px 0 0; }
.promo-content p { color: #eee; margin: 0; }

/* ---------- 11. Advantages ---------- */
.advantages { background: var(--primary-dark); }
.adv-card { background: var(--white); border-radius: var(--radius); padding: 30px 22px; text-align: center; height: 100%; transition: var(--transition); }
.adv-card:hover { box-shadow: var(--shadow-md); transform: translateY(-6px); }
.adv-card i { font-size: 2.2rem; color: var(--primary); margin-bottom: 14px; display: inline-block; }
.adv-card h4 { font-size: 1.02rem; margin-bottom: 6px; }
.adv-card p { margin: 0; font-size: 0.88rem; color: var(--gray-500); }

/* ---------- 12. Mini products ---------- */
.mini-product { display: block; text-align: center; padding: 16px 12px; border-radius: var(--radius); transition: var(--transition); }
.mini-product:hover { background: var(--bg); }
.mini-product img { border-radius: var(--radius); margin-bottom: 12px; aspect-ratio: 1/1; object-fit: cover; }
.mini-product h6 { font-size: 0.85rem; color: var(--gray-900); margin-bottom: 4px; }
.mini-product span { color: var(--primary); font-weight: 700; font-size: 0.85rem; }

/* ---------- 13. Brands ---------- */
.brands-slider { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 40px; }
.brand-item { opacity: 0.55; filter: grayscale(1); transition: var(--transition); }
.brand-item:hover { opacity: 1; filter: grayscale(0); }

/* ---------- 14. Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 26px; }
.blog-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: var(--transition); }
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.blog-image { aspect-ratio: 16/10; overflow: hidden; }
.blog-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-image img { transform: scale(1.08); }
.blog-content { padding: 22px; }
.blog-meta { display: flex; gap: 14px; font-size: 0.78rem; color: var(--gray-500); margin-bottom: 10px; }
.blog-meta span:first-child { color: var(--dark); font-weight: 700; }
.blog-content h3 { font-size: 1.05rem; margin-bottom: 8px; }
.blog-content h3 a:hover { color: var(--primary); }
.blog-content p { font-size: 0.88rem; margin-bottom: 14px; }
.read-more { color: var(--primary); font-weight: 700; font-size: 0.85rem; display: inline-flex; align-items: center; gap: 6px; }

/* ---------- 15. Contact banner / footer ---------- */
.contact-banner { background: var(--dark); }
.contact-box { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.contact-box h2 { color: var(--white); font-size: clamp(1.2rem, 2.2vw, 1.6rem); margin-bottom: 6px; max-width: 640px; }
.contact-box p { color: #bbb; margin: 0; }
.contact-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.contact-actions .btn-outline-dark { border-color: rgba(255, 255, 255, 0.3); color: var(--white); }
.contact-actions .btn-outline-dark:hover { background: var(--white); color: var(--dark); }

.site-footer { background: var(--dark); color: #bbb; padding-top: 0; }
.footer-newsletter { background: var(--primary); padding: 34px 0; }
.footer-newsletter h3 { color: var(--white); font-size: 1.2rem; margin-bottom: 4px; }
.footer-newsletter p { color: rgba(255, 255, 255, 0.85); margin: 0; }
.newsletter-form { display: flex; gap: 10px; }
.newsletter-form input { flex: 1; border: 0; border-radius: 50px; padding: 13px 20px; font-family: var(--font-main); }
.newsletter-form button { border: 0; border-radius: 50px; padding: 13px 26px; background: var(--dark); color: var(--white); font-weight: 700; font-family: var(--font-main); cursor: pointer; transition: var(--transition); white-space: nowrap; }
.newsletter-form button:hover { background: var(--white); color: var(--primary); }

.site-footer .container { padding-top: 60px; }
.footer-logo { max-height: 50px; filter: brightness(0) invert(1); }
.site-footer h5 { color: var(--white); font-size: 1rem; margin-bottom: 18px; }
.site-footer ul li { margin-bottom: 10px; font-size: 0.9rem; }
.site-footer ul li a { color: #bbb; }
.site-footer ul li a:hover { color: var(--primary); }
.contact-list li { display: flex; align-items: flex-start; gap: 8px; }
.contact-list li i { color: var(--primary); margin-top: 3px; }
.social-links { display: flex; gap: 10px; margin-top: 14px; }
.social-links a { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255, 255, 255, 0.08); color: var(--white); }
.social-links a:hover { background: var(--primary); }
.site-footer hr { border-color: rgba(255, 255, 255, 0.1); margin: 40px 0 20px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-bottom: 24px; font-size: 0.85rem; }
.footer-bottom p { margin: 0; }
.payment-icons { display: flex; gap: 14px; font-size: 1.3rem; color: #888; }

/* ---------- 16. Page header / breadcrumb ---------- */
.page-header { background: var(--bg); padding: 40px 0; border-bottom: 1px solid var(--border); }
.page-header h1 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 10px; }
.breadcrumb-nav { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; color: var(--gray-500); flex-wrap: wrap; }
.breadcrumb-nav a:hover { color: var(--primary); }
.breadcrumb-nav i { font-size: 0.7rem; }
.breadcrumb-nav span { color: var(--primary); font-weight: 700; }

/* ---------- 17. Shop page ---------- */
.filter-widget { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; margin-bottom: 22px; }
.filter-widget h5 { font-size: 0.95rem; margin-bottom: 16px; }
.filter-list li { border-bottom: 1px dashed var(--border); }
.filter-list li:last-child { border-bottom: 0; }
.filter-list a { display: flex; justify-content: space-between; padding: 10px 0; font-size: 0.9rem; color: var(--gray-700); }
.filter-list a:hover { color: var(--primary); }
.filter-list a span { color: var(--gray-500); font-size: 0.8rem; }
.price-range-labels { display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--gray-500); margin-top: 8px; }
.form-check { margin-bottom: 10px; font-size: 0.9rem; }
.form-check-input:checked { background-color: var(--primary); border-color: var(--primary); }

.sidebar-banner { position: relative; display: block; border-radius: var(--radius); overflow: hidden; text-align: center; }
.sidebar-banner img { min-height: 220px; object-fit: cover; }
.sidebar-banner span { position: absolute; top: 20px; left: 0; right: 0; color: var(--white); font-weight: 700; padding: 0 20px; }
.sidebar-banner strong { position: absolute; bottom: 18px; left: 0; right: 0; color: var(--white); font-size: 0.9rem; display: flex; align-items: center; justify-content: center; gap: 6px; }

.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; background: var(--bg); padding: 14px 20px; border-radius: var(--radius); }
.shop-toolbar p { margin: 0; font-size: 0.9rem; }
.shop-toolbar-actions { display: flex; align-items: center; gap: 14px; }
.shop-toolbar-actions .form-select { width: auto; }
.view-toggle { display: flex; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; background: var(--white); }
.view-toggle button { border: 0; background: transparent; width: 40px; height: 40px; color: var(--gray-500); cursor: pointer; }
.view-toggle button.active { background: var(--primary); color: var(--white); }

/* List view for the shop grid (toggled via .view-toggle buttons) */
.shop-grid.list-view { grid-template-columns: 1fr; }
.shop-grid.list-view .product-card { display: grid; grid-template-columns: 200px 1fr; align-items: stretch; gap: 20px; }
.shop-grid.list-view .product-thumb { height: 100%; }
.shop-grid.list-view .product-body { display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 576px) {
  .shop-grid.list-view .product-card { grid-template-columns: 120px 1fr; }
}

.shop-grid { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); margin-bottom: 34px; }

.shop-pagination ul { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.shop-pagination a { width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--border); color: var(--gray-700); }
.shop-pagination a.active,
.shop-pagination a:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }

/* ---------- 18. Single product page ---------- */
.product-gallery .swiper-slide { background: var(--bg); border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1/1; }
.product-gallery .swiper-slide img { width: 100%; height: 100%; object-fit: cover; }
.productThumbs { margin-top: 14px; }
.productThumbs .swiper-slide { border-radius: var(--radius-sm); overflow: hidden; opacity: 0.6; cursor: pointer; aspect-ratio: 1/1; border: 2px solid transparent; }
.productThumbs .swiper-slide-thumb-active { opacity: 1; border-color: var(--primary); }
.productThumbs .swiper-slide img { width: 100%; height: 100%; object-fit: cover; }

.product-sku { color: var(--gray-500); font-size: 0.82rem; }
.product-info h1 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); margin: 6px 0 14px; }
.product-rating-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; font-size: 0.85rem; color: var(--gray-500); }
.stock-status { display: flex; align-items: center; gap: 6px; font-weight: 700; }
.stock-status.in-stock { color: #1a9e5c; }
.product-info .price-box { padding: 18px; background: var(--bg); border-radius: var(--radius); align-items: center; }
.discount-pill { background: var(--primary); color: var(--white); font-size: 0.75rem; padding: 4px 10px; border-radius: 50px; font-weight: 700; }
.product-short-desc { margin: 18px 0; }
.product-features { margin-bottom: 22px; }
.product-features li { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 0.9rem; color: var(--gray-900); }
.product-features li i { color: var(--primary); }

.product-actions-form { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.btn-add-cart { flex: 1; min-width: 200px; }
.wishlist.icon-btn { width: 52px; height: 52px; border: 1px solid var(--border); background: var(--white); }
.buy-now-row { margin-bottom: 22px; }
.product-meta { border-top: 1px solid var(--border); padding-top: 18px; }
.product-meta li { margin-bottom: 10px; font-size: 0.88rem; }
.product-meta a { color: var(--gray-700); }
.product-meta a:hover { color: var(--primary); }
.product-meta i { margin-right: 10px; color: var(--gray-500); }

.product-tabs { margin-top: 60px; }
.nav-tabs { border: 0; gap: 6px; flex-wrap: wrap; margin-bottom: 24px; }
.nav-tabs .nav-link { font-family: var(--font-main); border: 1px solid var(--border); border-radius: 50px; color: var(--gray-700); padding: 11px 24px; font-size: 0.9rem; font-weight: 700; }
.nav-tabs .nav-link.active { background: var(--primary-dark); color: var(--white); border-color: var(--primary-dark); }
.tab-content { background: var(--bg); border-radius: var(--radius); padding: clamp(20px, 3vw, 34px); }
.spec-table th { width: 220px; background: transparent; color: var(--gray-900); font-weight: 700; }
.spec-table td, .spec-table th { padding: 12px 16px; border-color: var(--border); }
.review-item { padding: 18px 0; border-bottom: 1px solid var(--border); }
.review-head { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.review-form { margin-top: 26px; }

/* ---------- 19. Cart & checkout ---------- */
.cart-table-wrap { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.cart-table { margin: 0; }
.cart-table thead th { background: var(--bg); border: 0; font-size: 0.85rem; padding: 16px; color: var(--gray-900); }
.cart-table td { vertical-align: middle; padding: 16px; border-color: var(--border); }
.cart-product { display: flex; align-items: center; gap: 14px; min-width: 220px; }
.cart-product img { width: 68px; height: 68px; border-radius: var(--radius-sm); object-fit: cover; background: var(--bg); }
.cart-product a { color: var(--gray-900); font-weight: 700; font-size: 0.92rem; display: block; }
.cart-sku { font-size: 0.78rem; color: var(--gray-500); }
.cart-price, .cart-total { white-space: nowrap; font-size: 0.9rem; }
.cart-total { color: var(--primary); font-weight: 700; }
.cart-remove button { border: 0; background: transparent; color: var(--gray-500); font-size: 1.1rem; }
.cart-remove button:hover { color: var(--primary); }

.cart-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 24px; }
.coupon-form { display: flex; gap: 10px; }
.coupon-form input { border: 1px solid var(--border); border-radius: 50px; padding: 12px 20px; font-family: var(--font-main); min-width: 200px; }

.order-summary { background: var(--bg); border-radius: var(--radius); padding: 26px; position: sticky; top: 20px; }
.order-summary h3 { font-size: 1.05rem; margin-bottom: 20px; }
.summary-row { display: flex; justify-content: space-between; font-size: 0.9rem; padding: 10px 0; border-bottom: 1px dashed var(--border); }
.summary-row.total { border: 0; font-weight: 700; color: var(--gray-900); font-size: 1.05rem; padding-top: 16px; }
.summary-row.total span:last-child { color: var(--primary); }
.order-summary .btn-red { width: 100%; margin-top: 18px; }
.summary-secure { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--gray-500); margin-top: 14px; justify-content: center; }

.checkout-form h3 { font-size: 1.1rem; }
.payment-methods { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; }
.payment-option { display: flex; align-items: center; gap: 10px; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 16px; cursor: pointer; font-size: 0.9rem; transition: var(--transition); }
.payment-option:has(input:checked) { border-color: var(--primary); background: var(--primary-light); }
.payment-option i { color: var(--primary); margin-left: 6px; }

/* ---------- 20. Service / about / contact pages ---------- */
.service-info-card { background: var(--bg); border-radius: var(--radius); padding: 24px; margin-bottom: 18px; }
.service-info-card i { font-size: 1.8rem; color: var(--primary); margin-bottom: 10px; display: block; }
.service-info-card h4 { font-size: 1rem; margin-bottom: 8px; }
.service-info-card p { font-size: 0.88rem; margin-bottom: 12px; }

.about-list li { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 0.95rem; color: var(--gray-900); }
.about-list li i { color: var(--primary); }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; background: var(--dark); border-radius: var(--radius-lg); padding: 40px 20px; margin: 70px 0; text-align: center; }
.stat-item strong { display: block; color: var(--primary); font-size: clamp(1.6rem, 3vw, 2.2rem); }
.stat-item span { color: #ccc; font-size: 0.85rem; }

.contact-info-card { background: var(--bg); border-radius: var(--radius); padding: 28px; text-align: center; height: 100%; transition: var(--transition); }
.contact-info-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.contact-info-card i { font-size: 1.9rem; color: var(--primary); margin-bottom: 12px; display: inline-block; }
.contact-info-card h5 { font-size: 1rem; margin-bottom: 8px; }
.contact-info-card p { margin: 0; font-size: 0.9rem; }
.map-embed img { border: 1px solid var(--border); }

/* ---------- 21. 404 ---------- */
.notfound-section { padding: 100px 0; }
.notfound-section h1 { font-size: clamp(3rem, 8vw, 5rem); color: var(--primary); margin-bottom: 0; }
.notfound-section h2 { font-size: 1.4rem; }
.notfound-section p { max-width: 420px; margin: 0 auto 26px; }

/* ---------- 22. Floating actions & misc ---------- */
.floating-actions { position: fixed; bottom: 24px; left: 24px; display: flex; flex-direction: column; gap: 12px; z-index: 400; }
.floating-btn { width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1.2rem; box-shadow: var(--shadow-md); border: 0; cursor: pointer; transition: var(--transition); }
.floating-btn.phone { background: var(--primary); animation: pulse 2s infinite; }
.floating-btn.whatsapp { background: #25d366; }
.floating-btn.top { background: var(--dark); opacity: 0; visibility: hidden; transform: translateY(10px); }
.floating-btn.top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.floating-btn:hover { transform: scale(1.08); color: var(--white); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(227, 6, 19, 0.5); } 70% { box-shadow: 0 0 0 14px rgba(227, 6, 19, 0); } 100% { box-shadow: 0 0 0 0 rgba(227, 6, 19, 0); } }

/* ---------- 23. Animations ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 24. Responsive fine-tuning ---------- */

/* Small phones and up (default styles above are mobile-first) */
@media (max-width: 575.98px) {
  section { padding: 34px 0; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn-red,
  .hero-buttons .btn-white { width: 100%; }
  .contact-box { flex-direction: column; align-items: flex-start; text-align: right; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .floating-actions { left: 14px; bottom: 14px; }
  .floating-btn { width: 44px; height: 44px; font-size: 1.05rem; }
  .products-grid,
  .shop-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .newsletter-form { flex-direction: column; }
}

/* Tablet portrait (>=576px) */
@media (min-width: 576px) {
  .products-grid,
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Tablet landscape (>=768px) */
@media (min-width: 768px) {
  .call-btn { display: inline-flex; }
  .products-grid,
  .shop-grid { grid-template-columns: repeat(3, 1fr); }
  .cart-actions { flex-wrap: nowrap; }
}

/* Desktop (>=992px) */
@media (min-width: 992px) {
  .main-menu { display: flex; }
  .nav-phone { display: block; }
  .products-grid { grid-template-columns: repeat(4, 1fr); }
  .shop-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Large desktop (>=1200px) */
@media (min-width: 1200px) {
  .shop-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Ultra-wide safety cap */
@media (min-width: 1600px) {
  .container { max-width: 1400px; }
}

/* Fine adjustments between lg breakpoints for the mega menu / dropdowns
   so they never overflow smaller laptop screens */
@media (max-width: 991.98px) {
  .category-dropdown,
  .mega-menu { display: none !important; }
  .nav-wrapper { justify-content: space-between; }
  .category-btn { padding: 14px 16px; font-size: 0.85rem; }
}

/* Print styles: keep it simple, no navigation clutter */
@media print {
  #site-header, .floating-actions, .footer-newsletter, #loader { display: none !important; }
}

/****************************************ADDED STYLES*****************************/

/* ---------- 19. Blog archive / single post / comments ---------- */
.blog-section-wrap { padding: 50px 0 80px; }
.blog-list .blog-card { display: flex; flex-direction: column; }
.blog-list .blog-content { display: flex; flex-direction: column; flex: 1; }
.blog-list .read-more { margin-top: auto; }

.blog-sidebar .filter-widget:last-of-type { margin-bottom: 0; }
.popular-posts-list { display: flex; flex-direction: column; gap: 14px; }
.popular-posts-list a { display: flex; align-items: center; gap: 12px; }
.popular-posts-list img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--radius-sm); flex-shrink: 0; }
.popular-posts-list .popular-post-info h6 { font-size: 0.85rem; margin: 0 0 4px; line-height: 1.5; }
.popular-posts-list .popular-post-info span { font-size: 0.75rem; color: var(--gray-500); }

/* Pagination fallback matching WP's default paginate_links markup (span.page-numbers) */
.shop-pagination .page-numbers,
.shop-pagination span.page-numbers { width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--border); color: var(--gray-700); }
.shop-pagination a.page-numbers:hover,
.shop-pagination span.page-numbers.current { background: var(--primary); border-color: var(--primary); color: var(--white); }
.shop-pagination .dots { border: 0; background: transparent; }

/* Single post */
.single-post-header { margin-bottom: 26px; }
.single-post-header .blog-meta { font-size: 0.85rem; margin-bottom: 14px; }
.single-post-header h1 { font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.5; margin-bottom: 0; }
.single-post-thumb { border-radius: var(--radius); overflow: hidden; margin-bottom: 30px; aspect-ratio: 16/9; }
.single-post-thumb img { width: 100%; height: 100%; object-fit: cover; }

.single-post-content { font-size: 0.98rem; line-height: 2; color: var(--gray-700); }
.single-post-content h2,
.single-post-content h3,
.single-post-content h4 { color: var(--gray-900); margin: 30px 0 14px; }
.single-post-content p { margin-bottom: 18px; }
.single-post-content img { max-width: 100%; border-radius: var(--radius-sm); margin: 10px 0; }
.single-post-content ul,
.single-post-content ol { margin-bottom: 18px; padding-right: 22px; }
.single-post-content blockquote { border-right: 4px solid var(--primary); background: var(--bg); padding: 18px 22px; border-radius: var(--radius-sm); margin: 22px 0; font-style: normal; }
.single-post-content a { color: var(--primary); text-decoration: underline; }

.post-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 30px 0; }
.post-tags a { background: var(--bg); border: 1px solid var(--border); border-radius: 50px; padding: 6px 16px; font-size: 0.8rem; color: var(--gray-700); }
.post-tags a:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }

.post-share { display: flex; align-items: center; gap: 14px; padding: 22px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 30px; flex-wrap: wrap; }
.post-share span { font-weight: 700; font-size: 0.9rem; }
.post-share-links { display: flex; gap: 10px; }
.post-share-links a { width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--bg); color: var(--gray-700); }
.post-share-links a:hover { background: var(--primary); color: var(--white); }

.post-author-box { display: flex; gap: 18px; align-items: center; background: var(--bg); border-radius: var(--radius); padding: 24px; margin-bottom: 40px; }
.post-author-box img { width: 68px; height: 68px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.post-author-box h5 { margin-bottom: 4px; font-size: 1rem; }
.post-author-box p { margin: 0; font-size: 0.85rem; color: var(--gray-500); }

.related-posts { margin-top: 50px; }
.related-posts h4 { font-size: 1.1rem; margin-bottom: 20px; }

/* Comments */
.comments-area { margin-top: 40px; }
.comments-area__title { font-size: 1.15rem; font-weight: 700; margin-bottom: 24px; }
.comment-list { list-style: none; margin: 0 0 30px; padding: 0; }
.comment-list .comment { display: flex; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.comment-list .comment .avatar { width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0; }
.comment-list .comment-author { font-weight: 700; font-size: 0.92rem; }
.comment-list .comment-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.comment-list .comment-metadata { font-size: 0.78rem; color: var(--gray-500); }
.comment-list .comment-content p { margin: 0; font-size: 0.9rem; line-height: 1.9; }
.comment-list .reply a { font-size: 0.78rem; color: var(--primary); font-weight: 700; }
.comment-list .children { list-style: none; margin: 10px 0 0 0; padding-right: 30px; }
.no-comments { color: var(--gray-500); font-size: 0.9rem; }

.comment-respond { background: var(--bg); border-radius: var(--radius); padding: 26px; margin-top: 30px; }
.comment-respond h3 { font-size: 1.05rem; margin-bottom: 18px; }
.comment-respond .comment-form-author,
.comment-respond .comment-form-email { display: inline-block; width: calc(50% - 8px); vertical-align: top; margin-bottom: 16px; }
.comment-respond .comment-form-author { margin-left: 16px; }
.comment-respond .comment-form-comment { margin-bottom: 16px; }
.comment-respond input[type="text"],
.comment-respond input[type="email"],
.comment-respond input[type="url"],
.comment-respond textarea { width: 100%; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 16px; font-family: var(--font-main); background: var(--white); }
.comment-respond textarea { min-height: 140px; resize: vertical; }
.comment-respond .form-submit { margin: 0; }
.comment-respond .form-submit input[type="submit"] { border: 0; background: var(--primary); color: var(--white); font-weight: 700; padding: 12px 30px; border-radius: 50px; cursor: pointer; transition: var(--transition); font-family: var(--font-main); }
.comment-respond .form-submit input[type="submit"]:hover { background: var(--primary-dark); }
.comment-notes { font-size: 0.82rem; color: var(--gray-500); margin-bottom: 16px; }

@media (max-width: 767.98px) {
  .comment-respond .comment-form-author,
  .comment-respond .comment-form-email { width: 100%; margin-left: 0; }
}

#breadcrump {
  padding-bottom: 0 !important;
}

section#product {
  padding-top: 0!important;
}

/* Cart / checkout / service-request page wrappers (missing section spacing) */
.cart-section,
.checkout-section,
.service-section { padding: 50px 0 80px; }
/* ==========================================================================
   الیاس بوتان | نمایندگی بوتان آجلی رشت
   Stylesheet — clean, mobile-first, fluid-responsive
   Sections:
     1. Design tokens & resets
     2. Layout helpers
     3. Preloader
     4. Header (topbar, main header, nav, mega menu, mobile menu)
     5. Buttons & form controls
     6. Hero
     7. Section headers
     8. Product cards & grids
     9. Category cards
    10. Offer / promo banners
    11. Advantages
    12. Mini products
    13. Brands
    14. Blog
    15. Contact banner / footer
    16. Page header / breadcrumb
    17. Shop page (sidebar, toolbar, pagination)
    18. Single product page
    19. Cart & checkout
    20. Service / about / contact pages
    21. 404
    22. Floating actions & misc widgets
    23. Animations
    24. Responsive fine-tuning
   ========================================================================== */

/* ---------- 1. Design tokens & resets ---------- */
:root {
  --primary: #e30613;
  --primary-dark: #394456;
  --primary-light: #fdeceb;
  --dark: #1c1c1f;
  --gray-900: #232323;
  --gray-700: #555555;
  --gray-500: #8a8a8a;
  --border: #ececec;
  --bg: #f7f7f7;
  --white: #ffffff;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;

  --shadow-sm: 0 4px 14px rgba(20, 20, 20, 0.06);
  --shadow-md: 0 10px 30px rgba(20, 20, 20, 0.08);
  --shadow-lg: 0 20px 50px rgba(20, 20, 20, 0.12);

  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --container-max: 1320px;
  --font-main: "IRANSans", Tahoma, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { text-decoration: none; color: inherit; transition: color var(--transition); }
a:hover { color: var(--primary); }

ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4, h5, h6 {
  color: var(--dark);
  font-weight: 700;
  margin: 0 0 0.6em;
  line-height: 1.4;
}

p { margin: 0 0 1em; }

.container { max-width: var(--container-max); }

section { padding: clamp(40px, 6vw, 80px) 0; }

::selection { background: var(--primary); color: var(--white); }

/* focus visibility for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* ---------- 2. Layout helpers ---------- */
.text-muted-soft { color: var(--gray-500); }

/* ---------- 3. Preloader ---------- */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#loader.loaded { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-circle {
  width: 46px;
  height: 46px;
  border: 4px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 4. Header ---------- */
#site-header { position: relative; z-index: 500; background: var(--white); }

.header-top {
  background: var(--dark);
  color: #d8d8d8;
  font-size: 0.85rem;
  padding: 8px 0;
}
.header-top .top-right i { color: var(--primary); margin-left: 6px; }

.header-main { padding: 18px 0; border-bottom: 1px solid var(--border); }

.logo img { max-height: 56px; width: auto; }

.search-box {
  position: relative;
  display: flex;
  background: var(--bg);
  border-radius: 50px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.search-box input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 12px 20px;
  font-family: var(--font-main);
  font-size: 0.9rem;
  outline: none;
}
.search-box button {
  border: 0;
  background: var(--primary-dark);
  color: var(--white);
  width: 50px;
  cursor: pointer;
  transition: background var(--transition);
}
.search-box button:hover { background: var(--dark); }

.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }

.icon-btn {
  position: relative;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg);
  font-size: 1.1rem;
  color: var(--dark);
  transition: var(--transition);
}
.icon-btn:hover { background: var(--primary); color: var(--white); }
.cart-count {
  position: absolute;
  top: -4px;
  left: -4px;
  background: var(--primary);
  color: var(--white);
  font-size: 0.65rem;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.icon-btn:hover .cart-count { background: var(--white); color: var(--primary); }

.call-btn {
  display: none;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
}
.call-btn:hover { background: var(--primary-dark); color: var(--white); }

.mobile-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  font-size: 1.3rem;
  color: var(--dark);
}

/* -- Navigation -- */
.main-nav { background: var(--primary); position: relative; z-index: 400; }
.nav-wrapper { display: flex; align-items: center; gap: 24px; position: relative;}

.main-nav{
    position:relative;
}

.main-menu > li{
    position:static;
}

.mega-menu{
    position:absolute;
    top:100%;
    left:0;
    right:0;
    width:100%;
}

.mega-parent:hover .mega-menu{
    opacity:1;
    visibility:visible;
    transform:none;
}

.category-area { position: relative; flex-shrink: 0; }
.category-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: var(--white);
  border: 0;
  padding: 16px 22px;
  font-weight: 700;
  font-size: 0.92rem;
  font-family: var(--font-main);
  white-space: nowrap;
  cursor: pointer;
}
.category-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  width: 260px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  border-radius: 0 0 var(--radius) var(--radius);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
  z-index: 300;
  display: block;
  pointer-events: none;
}


.category-area:hover .category-dropdown,
.category-area:focus-within .category-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.category-dropdown ul { padding: 10px 0; }
.category-dropdown li a {
  display: block;
  padding: 11px 22px;
  color: var(--gray-900);
  font-size: 0.92rem;
}
.category-dropdown li a:hover { background: var(--primary-light); color: var(--primary); padding-right: 26px; }
.category-area.open .category-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.main-menu {
  display: none;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
/* .main-menu > li { position: relative; } */
.main-menu > li > a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 16px 16px;
  color: #eee;
  font-size: 0.92rem;
  font-weight: 500;
}
.main-menu > li > a:hover,
.main-menu > li > a.active { color: var(--white); background: rgba(255, 255, 255, 0.06); }
.main-menu > li > a i { font-size: 0.7rem; transition: transform var(--transition); }
.main-menu > li:hover > a i { transform: rotate(180deg); }

/* .mega-menu {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  padding: 30px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 350;
  border-radius: 0 0 var(--radius) var(--radius);
}
.mega-parent:hover .mega-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-category-list li { padding: 9px 0; color: var(--gray-900); font-size: 0.92rem; cursor: pointer; border-bottom: 1px dashed var(--border); }
.mega-category-list li.active,
.mega-category-list li:hover { color: var(--primary); }
.mega-products { display: flex; flex-direction: column; gap: 4px; }
.mega-products a { padding: 8px 0; color: var(--gray-700); font-size: 0.92rem; }
.mega-products a:hover { color: var(--primary); padding-right: 6px; } */

.nav-phone { display: none; margin-right: auto; }
.nav-phone a { color: var(--white); font-weight: 700; display: flex; align-items: center; gap: 8px; }
.nav-phone a i { color: var(--primary); }

.mega-menu{
    position:absolute;
    top:100%;
    right:0;
    /* left:0; */
    width: 100%;
    background:#fff;
    border-radius:0 0 18px 18px;
    box-shadow:0 20px 40px rgba(0,0,0,.12);

    opacity:0;
    visibility:hidden;
    transform:translateY(15px);
    transition:.25s;

    z-index:999;
}

.mega-parent:hover + .mega-menu{
    opacity:1;
    visibility:visible;
    transform:none;
}

.mega-parent:hover>.mega-menu{
    opacity:1;
    visibility:visible;
    transform:none;
}

.mega-content{
    display:flex;
    align-items:stretch;
}

.mega-categories{
    width:240px;
    flex-shrink:0;
    border-left:1px solid #eee;
    padding:30px;
}

.mega-category-list{
    margin:0;
    padding:0;
    list-style:none;
}

.mega-category-list li{
    border-bottom:1px dashed #eee;
}

.mega-category-list li a{
    display:block;
    padding:12px 0;
    color:#333;
}

.mega-products{
    flex:1;
    display:flex;
    flex-direction:column;
    padding:30px;
}

.mega-products a{
    display:block;
    padding:10px 0;
}

.mega-image{
    width:320px;
    flex-shrink:0;
}

.mega-image img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
}

#headerOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 200;
}
#headerOverlay.show { opacity: 1; visibility: visible; }

/* sticky header on scroll */
#site-header.is-sticky .header-main { position: sticky; top: 0; z-index: 600; box-shadow: var(--shadow-md); animation: slideDown 0.35s ease; }
@keyframes slideDown { from { transform: translateY(-100%); } to { transform: translateY(0); } }

/* -- Mobile off-canvas menu -- */
.offcanvas { font-family: var(--font-main); }
.mobile-nav li a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--border); color: var(--gray-900); font-weight: 500; }
.mobile-nav li a.active,
.mobile-nav li a:hover { color: var(--primary); }
.mobile-contact { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.mobile-contact a { display: flex; align-items: center; gap: 8px; color: var(--primary); font-weight: 700; }

/* ---------- 5. Buttons & form controls ---------- */
.btn-red,
.btn-white,
.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  font-family: var(--font-main);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-red { background: var(--primary-dark); color: var(--white); border-color: var(--primary-dark); }
.btn-red:hover { background: var(--primary); border-color: var(--primary); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-white { background: var(--white); color: var(--dark); border-color: var(--border); }
.btn-white:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }

.btn-outline-dark { background: transparent; color: var(--dark); border-color: var(--dark); }
.btn-outline-dark:hover { background: var(--dark); color: var(--white); }

.form-control,
.form-select,
select.orderby,
textarea {
  font-family: var(--font-main);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  width: 100%;
  font-size: 0.92rem;
  background: var(--white);
  color: var(--gray-900);
  transition: var(--transition);
}
.form-control:focus,
.form-select:focus,
select.orderby:focus,
textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); outline: none; }
label { display: block; font-size: 0.85rem; color: var(--gray-900); font-weight: 700; margin-bottom: 6px; }

.qty-box { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 50px; overflow: hidden; }
.qty-box input { width: 46px; text-align: center; border: 0; padding: 8px 0; font-family: var(--font-main); -moz-appearance: textfield; }
.qty-box input::-webkit-outer-spin-button,
.qty-box input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-btn { border: 0; background: var(--bg); width: 36px; height: 40px; font-size: 1.1rem; cursor: pointer; color: var(--dark); transition: var(--transition); }
.qty-btn:hover { background: var(--primary); color: var(--white); }
/* WooCommerce prints its own qty <input class="qty">; keep it inside our pill shape */
.qty-box input.qty { width: 46px; }

/* ---------- Variation attribute pills (WooCommerce variable products) ---------- */
.attribute-pill-group { display: flex; flex-wrap: wrap; gap: 8px; }
.attribute-pill {
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--dark);
  border-radius: 50px;
  padding: 8px 18px;
  font-family: var(--font-main);
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}
.attribute-pill:hover { border-color: var(--primary); }
.attribute-pill.active { background: var(--primary); border-color: var(--primary); color: var(--white); }
.single_variation_wrap .woocommerce-variation-price { margin: 14px 0; }
.single_variation_wrap .woocommerce-variation-add-to-cart { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.single_variation_wrap .woocommerce-variation-add-to-cart .button {
  border: 0; border-radius: 50px; padding: 12px 26px; background: var(--primary); color: var(--white);
  font-family: var(--font-main); font-weight: 700; cursor: pointer; transition: var(--transition);
}
.single_variation_wrap .woocommerce-variation-add-to-cart .button:hover { filter: brightness(0.92); }
.single_variation_wrap .woocommerce-variation-add-to-cart .button.disabled { opacity: 0.5; cursor: not-allowed; }

/* ---------- Form status alerts (contact / service-request) ---------- */
.alert { border-radius: 12px; padding: 14px 20px; margin-bottom: 20px; font-family: var(--font-main); font-size: 0.92rem; }
.alert-success { background: #e6f7ec; color: #157347; border: 1px solid #b7ebc6; }
.alert-danger { background: #fdecea; color: #b02a37; border: 1px solid #f6c7cb; }

/* ---------- Shop toolbar view-toggle + orderby select ---------- */
.shop-toolbar-actions select.orderby { width: auto; }
.shop-toolbar-actions .woocommerce-ordering { margin: 0; }

/* ---------- 6. Hero ---------- */
.hero-section { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); padding: clamp(50px, 8vw, 90px) 0; }
.hero-bg-circle {
  position: absolute;
  top: -180px;
  left: -180px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
  z-index: 0;
}
.hero-section .container { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  color: var(--primary);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 18px;
}
.hero-text-content h1 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin-bottom: 0.5em; }
.hero-text-content p { font-size: 1.05rem; color: var(--gray-700); max-width: 480px; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin: 26px 0; }
.hero-list { display: flex; flex-wrap: wrap; gap: 18px; }
.hero-list li { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; color: var(--gray-900); font-weight: 500; }
.hero-list li i { color: var(--primary); }

.hero-image { position: relative; }
.hero-image img { border-radius: var(--radius-lg); width: 100%; }
.floating-card {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  animation: floatY 3.5s ease-in-out infinite;
}
.floating-card strong { color: var(--primary); font-size: 1.4rem; }
.floating-card span { font-size: 0.82rem; color: var(--gray-700); }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- 7. Section headers ---------- */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 34px;
  flex-wrap: wrap;
}
.section-header h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 0.3em; }
.section-header p { margin: 0; color: var(--gray-500); font-size: 0.92rem; }
.section-header > a,
.section-more {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.section-header.block { display: block; text-align: right; }
.section-header.block.text-center { text-align: center; }
.related-header { margin-top: 60px; }

/* ---------- 8. Product cards & grids ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 22px;
}
.product-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); border-color: transparent; }
.discount-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  z-index: 2;
}
.product-flag {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--dark);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  z-index: 2;
}
.discount-badge + .product-flag { top: 48px; }
.wishlist-btn {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 0;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  color: var(--gray-700);
  z-index: 2;
  opacity: 0;
  transform: translateY(-6px);
  transition: var(--transition);
}
.product-card:hover .wishlist-btn { opacity: 1; transform: translateY(0); }
.wishlist-btn:hover { background: var(--primary); color: var(--white); }

.product-thumb { background: var(--bg); aspect-ratio: 1 / 1; overflow: hidden; }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-thumb img { transform: scale(1.08); }

.product-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.product-rating { color: #f5a623; font-size: 0.78rem; margin-bottom: 8px; letter-spacing: 2px; }
.product-body h3 { font-size: 0.98rem; margin-bottom: 10px; }
.product-body h3 a { color: var(--gray-900); display: block; }
.product-body h3 a:hover { color: var(--primary); }
.price-box { margin-bottom: 14px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price-box del { color: var(--gray-500); font-size: 0.85rem; }
.price-box strong { color: var(--primary); font-size: 1.05rem; }
.btn-cart {
  margin-top: auto;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--dark);
  padding: 11px;
  border-radius: 50px;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition);
}
.btn-cart:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }

/* offer slider (swiper) uses the same .product-card, wrap width */
.offerSwiper .swiper-slide { height: auto; }
.offer-panel {
  background: linear-gradient(160deg, var(--primary), var(--primary-dark));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.offer-tag { display: inline-block; background: rgba(255, 255, 255, 0.18); padding: 5px 14px; border-radius: 50px; font-size: 0.78rem; margin-bottom: 14px; width: fit-content; }
.offer-panel h2 { color: var(--white); font-size: 1.5rem; }
.offer-panel p { color: rgba(255, 255, 255, 0.85); }
.offer-panel .btn-red { background: var(--white); color: var(--primary); border-color: var(--white); margin-top: 10px; width: fit-content; }
.offer-panel .btn-red:hover { background: var(--dark); color: var(--white); border-color: var(--dark); }

.swiper-pagination-bullet { background: var(--border); opacity: 1; }
.swiper-pagination-bullet-active { background: var(--primary); }

/* ---------- 9. Category cards ---------- */
.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  background: var(--bg);
  border-radius: var(--radius);
  padding: 24px 14px;
  text-align: center;
  transition: var(--transition);
  height: 100%;
}
.category-card img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; background: var(--white); }
.category-card h5 { margin: 0; font-size: 0.92rem; color: var(--gray-900); }
.category-card:hover { background: var(--primary); transform: translateY(-6px); box-shadow: var(--shadow-md); }
.category-card:hover h5 { color: var(--white); }

/* ---------- 10. Offer / promo banners ---------- */
.promo-large,
.promo-small { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; height: 100%; min-height: 260px; }
.promo-large img,
.promo-small img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; transition: transform 0.5s ease; }
.promo-large:hover img,
.promo-small:hover img { transform: scale(1.06); }
.promo-content { position: absolute; inset: auto 0 0 0; padding: 30px; background: linear-gradient(0deg, rgba(0, 0, 0, 0.75), transparent); }
.promo-content span { color: var(--primary); font-weight: 700; font-size: 0.85rem; }
.promo-content h2 { color: var(--white); font-size: 1.5rem; margin: 6px 0; }
.promo-content h3 { color: var(--white); font-size: 1.2rem; margin: 6px 0 0; }
.promo-content p { color: #eee; margin: 0; }

/* ---------- 11. Advantages ---------- */
.advantages { background: var(--primary-dark); }
.adv-card { background: var(--white); border-radius: var(--radius); padding: 30px 22px; text-align: center; height: 100%; transition: var(--transition); }
.adv-card:hover { box-shadow: var(--shadow-md); transform: translateY(-6px); }
.adv-card i { font-size: 2.2rem; color: var(--primary); margin-bottom: 14px; display: inline-block; }
.adv-card h4 { font-size: 1.02rem; margin-bottom: 6px; }
.adv-card p { margin: 0; font-size: 0.88rem; color: var(--gray-500); }

/* ---------- 12. Mini products ---------- */
.mini-product { display: block; text-align: center; padding: 16px 12px; border-radius: var(--radius); transition: var(--transition); }
.mini-product:hover { background: var(--bg); }
.mini-product img { border-radius: var(--radius); margin-bottom: 12px; aspect-ratio: 1/1; object-fit: cover; }
.mini-product h6 { font-size: 0.85rem; color: var(--gray-900); margin-bottom: 4px; }
.mini-product span { color: var(--primary); font-weight: 700; font-size: 0.85rem; }

/* ---------- 13. Brands ---------- */
.brands-slider { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 40px; }
.brand-item { opacity: 0.55; filter: grayscale(1); transition: var(--transition); }
.brand-item:hover { opacity: 1; filter: grayscale(0); }

/* ---------- 14. Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 26px; }
.blog-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: var(--transition); }
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.blog-image { aspect-ratio: 16/10; overflow: hidden; }
.blog-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-image img { transform: scale(1.08); }
.blog-content { padding: 22px; }
.blog-meta { display: flex; gap: 14px; font-size: 0.78rem; color: var(--gray-500); margin-bottom: 10px; }
.blog-meta span:first-child { color: var(--dark); font-weight: 700; }
.blog-content h3 { font-size: 1.05rem; margin-bottom: 8px; }
.blog-content h3 a:hover { color: var(--primary); }
.blog-content p { font-size: 0.88rem; margin-bottom: 14px; }
.read-more { color: var(--primary); font-weight: 700; font-size: 0.85rem; display: inline-flex; align-items: center; gap: 6px; }

/* ---------- 15. Contact banner / footer ---------- */
.contact-banner { background: var(--dark); }
.contact-box { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.contact-box h2 { color: var(--white); font-size: clamp(1.2rem, 2.2vw, 1.6rem); margin-bottom: 6px; max-width: 640px; }
.contact-box p { color: #bbb; margin: 0; }
.contact-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.contact-actions .btn-outline-dark { border-color: rgba(255, 255, 255, 0.3); color: var(--white); }
.contact-actions .btn-outline-dark:hover { background: var(--white); color: var(--dark); }

.site-footer { background: var(--dark); color: #bbb; padding-top: 0; }
.footer-newsletter { background: var(--primary); padding: 34px 0; }
.footer-newsletter h3 { color: var(--white); font-size: 1.2rem; margin-bottom: 4px; }
.footer-newsletter p { color: rgba(255, 255, 255, 0.85); margin: 0; }
.newsletter-form { display: flex; gap: 10px; }
.newsletter-form input { flex: 1; border: 0; border-radius: 50px; padding: 13px 20px; font-family: var(--font-main); }
.newsletter-form button { border: 0; border-radius: 50px; padding: 13px 26px; background: var(--dark); color: var(--white); font-weight: 700; font-family: var(--font-main); cursor: pointer; transition: var(--transition); white-space: nowrap; }
.newsletter-form button:hover { background: var(--white); color: var(--primary); }

.site-footer .container { padding-top: 60px; }
.footer-logo { max-height: 50px; filter: brightness(0) invert(1); }
.site-footer h5 { color: var(--white); font-size: 1rem; margin-bottom: 18px; }
.site-footer ul li { margin-bottom: 10px; font-size: 0.9rem; }
.site-footer ul li a { color: #bbb; }
.site-footer ul li a:hover { color: var(--primary); }
.contact-list li { display: flex; align-items: flex-start; gap: 8px; }
.contact-list li i { color: var(--primary); margin-top: 3px; }
.social-links { display: flex; gap: 10px; margin-top: 14px; }
.social-links a { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255, 255, 255, 0.08); color: var(--white); }
.social-links a:hover { background: var(--primary); }
.site-footer hr { border-color: rgba(255, 255, 255, 0.1); margin: 40px 0 20px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-bottom: 24px; font-size: 0.85rem; }
.footer-bottom p { margin: 0; }
.payment-icons { display: flex; gap: 14px; font-size: 1.3rem; color: #888; }

/* ---------- 16. Page header / breadcrumb ---------- */
.page-header { background: var(--bg); padding: 40px 0; border-bottom: 1px solid var(--border); }
.page-header h1 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 10px; }
.breadcrumb-nav { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; color: var(--gray-500); flex-wrap: wrap; }
.breadcrumb-nav a:hover { color: var(--primary); }
.breadcrumb-nav i { font-size: 0.7rem; }
.breadcrumb-nav span { color: var(--primary); font-weight: 700; }

/* ---------- 17. Shop page ---------- */
.filter-widget { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; margin-bottom: 22px; }
.filter-widget h5 { font-size: 0.95rem; margin-bottom: 16px; }
.filter-list li { border-bottom: 1px dashed var(--border); }
.filter-list li:last-child { border-bottom: 0; }
.filter-list a { display: flex; justify-content: space-between; padding: 10px 0; font-size: 0.9rem; color: var(--gray-700); }
.filter-list a:hover { color: var(--primary); }
.filter-list a span { color: var(--gray-500); font-size: 0.8rem; }
.price-range-labels { display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--gray-500); margin-top: 8px; }
.form-check { margin-bottom: 10px; font-size: 0.9rem; }
.form-check-input:checked { background-color: var(--primary); border-color: var(--primary); }

.sidebar-banner { position: relative; display: block; border-radius: var(--radius); overflow: hidden; text-align: center; }
.sidebar-banner img { min-height: 220px; object-fit: cover; }
.sidebar-banner span { position: absolute; top: 20px; left: 0; right: 0; color: var(--white); font-weight: 700; padding: 0 20px; }
.sidebar-banner strong { position: absolute; bottom: 18px; left: 0; right: 0; color: var(--white); font-size: 0.9rem; display: flex; align-items: center; justify-content: center; gap: 6px; }

.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; background: var(--bg); padding: 14px 20px; border-radius: var(--radius); }
.shop-toolbar p { margin: 0; font-size: 0.9rem; }
.shop-toolbar-actions { display: flex; align-items: center; gap: 14px; }
.shop-toolbar-actions .form-select { width: auto; }
.view-toggle { display: flex; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; background: var(--white); }
.view-toggle button { border: 0; background: transparent; width: 40px; height: 40px; color: var(--gray-500); cursor: pointer; }
.view-toggle button.active { background: var(--primary); color: var(--white); }

/* List view for the shop grid (toggled via .view-toggle buttons) */
.shop-grid.list-view { grid-template-columns: 1fr; }
.shop-grid.list-view .product-card { display: grid; grid-template-columns: 200px 1fr; align-items: stretch; gap: 20px; }
.shop-grid.list-view .product-thumb { height: 100%; }
.shop-grid.list-view .product-body { display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 576px) {
  .shop-grid.list-view .product-card { grid-template-columns: 120px 1fr; }
}

.shop-grid { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); margin-bottom: 34px; }

.shop-pagination ul { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.shop-pagination a { width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--border); color: var(--gray-700); }
.shop-pagination a.active,
.shop-pagination a:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }

/* ---------- 18. Single product page ---------- */
.product-gallery .swiper-slide { background: var(--bg); border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1/1; }
.product-gallery .swiper-slide img { width: 100%; height: 100%; object-fit: cover; }
.productThumbs { margin-top: 14px; }
.productThumbs .swiper-slide { border-radius: var(--radius-sm); overflow: hidden; opacity: 0.6; cursor: pointer; aspect-ratio: 1/1; border: 2px solid transparent; }
.productThumbs .swiper-slide-thumb-active { opacity: 1; border-color: var(--primary); }
.productThumbs .swiper-slide img { width: 100%; height: 100%; object-fit: cover; }

.product-sku { color: var(--gray-500); font-size: 0.82rem; }
.product-info h1 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); margin: 6px 0 14px; }
.product-rating-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; font-size: 0.85rem; color: var(--gray-500); }
.stock-status { display: flex; align-items: center; gap: 6px; font-weight: 700; }
.stock-status.in-stock { color: #1a9e5c; }
.product-info .price-box { padding: 18px; background: var(--bg); border-radius: var(--radius); align-items: center; }
.discount-pill { background: var(--primary); color: var(--white); font-size: 0.75rem; padding: 4px 10px; border-radius: 50px; font-weight: 700; }
.product-short-desc { margin: 18px 0; }
.product-features { margin-bottom: 22px; }
.product-features li { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 0.9rem; color: var(--gray-900); }
.product-features li i { color: var(--primary); }

.product-actions-form { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.btn-add-cart { flex: 1; min-width: 200px; }
.wishlist.icon-btn { width: 52px; height: 52px; border: 1px solid var(--border); background: var(--white); }
.buy-now-row { margin-bottom: 22px; }
.product-meta { border-top: 1px solid var(--border); padding-top: 18px; }
.product-meta li { margin-bottom: 10px; font-size: 0.88rem; }
.product-meta a { color: var(--gray-700); }
.product-meta a:hover { color: var(--primary); }
.product-meta i { margin-right: 10px; color: var(--gray-500); }

.product-tabs { margin-top: 60px; }
.nav-tabs { border: 0; gap: 6px; flex-wrap: wrap; margin-bottom: 24px; }
.nav-tabs .nav-link { font-family: var(--font-main); border: 1px solid var(--border); border-radius: 50px; color: var(--gray-700); padding: 11px 24px; font-size: 0.9rem; font-weight: 700; }
.nav-tabs .nav-link.active { background: var(--primary-dark); color: var(--white); border-color: var(--primary-dark); }
.tab-content { background: var(--bg); border-radius: var(--radius); padding: clamp(20px, 3vw, 34px); }
.spec-table th { width: 220px; background: transparent; color: var(--gray-900); font-weight: 700; }
.spec-table td, .spec-table th { padding: 12px 16px; border-color: var(--border); }
.review-item { padding: 18px 0; border-bottom: 1px solid var(--border); }
.review-head { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.review-form { margin-top: 26px; }

/* ---------- 19. Cart & checkout ---------- */
.cart-table-wrap { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.cart-table { margin: 0; }
.cart-table thead th { background: var(--bg); border: 0; font-size: 0.85rem; padding: 16px; color: var(--gray-900); }
.cart-table td { vertical-align: middle; padding: 16px; border-color: var(--border); }
.cart-product { display: flex; align-items: center; gap: 14px; min-width: 220px; }
.cart-product img { width: 68px; height: 68px; border-radius: var(--radius-sm); object-fit: cover; background: var(--bg); }
.cart-product a { color: var(--gray-900); font-weight: 700; font-size: 0.92rem; display: block; }
.cart-sku { font-size: 0.78rem; color: var(--gray-500); }
.cart-price, .cart-total { white-space: nowrap; font-size: 0.9rem; }
.cart-total { color: var(--primary); font-weight: 700; }
.cart-remove button { border: 0; background: transparent; color: var(--gray-500); font-size: 1.1rem; }
.cart-remove button:hover { color: var(--primary); }

.cart-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 24px; }
.coupon-form { display: flex; gap: 10px; }
.coupon-form input { border: 1px solid var(--border); border-radius: 50px; padding: 12px 20px; font-family: var(--font-main); min-width: 200px; }

.order-summary { background: var(--bg); border-radius: var(--radius); padding: 26px; position: sticky; top: 20px; }
.order-summary h3 { font-size: 1.05rem; margin-bottom: 20px; }
.summary-row { display: flex; justify-content: space-between; font-size: 0.9rem; padding: 10px 0; border-bottom: 1px dashed var(--border); }
.summary-row.total { border: 0; font-weight: 700; color: var(--gray-900); font-size: 1.05rem; padding-top: 16px; }
.summary-row.total span:last-child { color: var(--primary); }
.order-summary .btn-red { width: 100%; margin-top: 18px; }
.summary-secure { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--gray-500); margin-top: 14px; justify-content: center; }

.checkout-form h3 { font-size: 1.1rem; }
.payment-methods { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; }
.payment-option { display: flex; align-items: center; gap: 10px; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 16px; cursor: pointer; font-size: 0.9rem; transition: var(--transition); }
.payment-option:has(input:checked) { border-color: var(--primary); background: var(--primary-light); }
.payment-option i { color: var(--primary); margin-left: 6px; }

/* ---------- 20. Service / about / contact pages ---------- */
.service-info-card { background: var(--bg); border-radius: var(--radius); padding: 24px; margin-bottom: 18px; }
.service-info-card i { font-size: 1.8rem; color: var(--primary); margin-bottom: 10px; display: block; }
.service-info-card h4 { font-size: 1rem; margin-bottom: 8px; }
.service-info-card p { font-size: 0.88rem; margin-bottom: 12px; }

.about-list li { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 0.95rem; color: var(--gray-900); }
.about-list li i { color: var(--primary); }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; background: var(--dark); border-radius: var(--radius-lg); padding: 40px 20px; margin: 70px 0; text-align: center; }
.stat-item strong { display: block; color: var(--primary); font-size: clamp(1.6rem, 3vw, 2.2rem); }
.stat-item span { color: #ccc; font-size: 0.85rem; }

.contact-info-card { background: var(--bg); border-radius: var(--radius); padding: 28px; text-align: center; height: 100%; transition: var(--transition); }
.contact-info-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.contact-info-card i { font-size: 1.9rem; color: var(--primary); margin-bottom: 12px; display: inline-block; }
.contact-info-card h5 { font-size: 1rem; margin-bottom: 8px; }
.contact-info-card p { margin: 0; font-size: 0.9rem; }
.map-embed img { border: 1px solid var(--border); }

/* ---------- 21. 404 ---------- */
.notfound-section { padding: 100px 0; }
.notfound-section h1 { font-size: clamp(3rem, 8vw, 5rem); color: var(--primary); margin-bottom: 0; }
.notfound-section h2 { font-size: 1.4rem; }
.notfound-section p { max-width: 420px; margin: 0 auto 26px; }

/* ---------- 22. Floating actions & misc ---------- */
.floating-actions { position: fixed; bottom: 24px; left: 24px; display: flex; flex-direction: column; gap: 12px; z-index: 400; }
.floating-btn { width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1.2rem; box-shadow: var(--shadow-md); border: 0; cursor: pointer; transition: var(--transition); }
.floating-btn.phone { background: var(--primary); animation: pulse 2s infinite; }
.floating-btn.whatsapp { background: #25d366; }
.floating-btn.top { background: var(--dark); opacity: 0; visibility: hidden; transform: translateY(10px); }
.floating-btn.top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.floating-btn:hover { transform: scale(1.08); color: var(--white); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(227, 6, 19, 0.5); } 70% { box-shadow: 0 0 0 14px rgba(227, 6, 19, 0); } 100% { box-shadow: 0 0 0 0 rgba(227, 6, 19, 0); } }

/* ---------- 23. Animations ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 24. Responsive fine-tuning ---------- */

/* Small phones and up (default styles above are mobile-first) */
@media (max-width: 575.98px) {
  section { padding: 34px 0; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn-red,
  .hero-buttons .btn-white { width: 100%; }
  .contact-box { flex-direction: column; align-items: flex-start; text-align: right; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .floating-actions { left: 14px; bottom: 14px; }
  .floating-btn { width: 44px; height: 44px; font-size: 1.05rem; }
  .products-grid,
  .shop-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .newsletter-form { flex-direction: column; }
}

/* Tablet portrait (>=576px) */
@media (min-width: 576px) {
  .products-grid,
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Tablet landscape (>=768px) */
@media (min-width: 768px) {
  .call-btn { display: inline-flex; }
  .products-grid,
  .shop-grid { grid-template-columns: repeat(3, 1fr); }
  .cart-actions { flex-wrap: nowrap; }
}

/* Desktop (>=992px) */
@media (min-width: 992px) {
  .main-menu { display: flex; }
  .nav-phone { display: block; }
  .products-grid { grid-template-columns: repeat(4, 1fr); }
  .shop-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Large desktop (>=1200px) */
@media (min-width: 1200px) {
  .shop-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Ultra-wide safety cap */
@media (min-width: 1600px) {
  .container { max-width: 1400px; }
}

/* Fine adjustments between lg breakpoints for the mega menu / dropdowns
   so they never overflow smaller laptop screens */
@media (max-width: 991.98px) {
  .category-dropdown,
  .mega-menu { display: none !important; }
  .nav-wrapper { justify-content: space-between; }
  .category-btn { padding: 14px 16px; font-size: 0.85rem; }
}

/* Print styles: keep it simple, no navigation clutter */
@media print {
  #site-header, .floating-actions, .footer-newsletter, #loader { display: none !important; }
}

/****************************************ADDED STYLES*****************************/

/* ---------- 19. Blog archive / single post / comments ---------- */
.blog-section-wrap { padding: 50px 0 80px; }
.blog-list .blog-card { display: flex; flex-direction: column; }
.blog-list .blog-content { display: flex; flex-direction: column; flex: 1; }
.blog-list .read-more { margin-top: auto; }

.blog-sidebar .filter-widget:last-of-type { margin-bottom: 0; }
.popular-posts-list { display: flex; flex-direction: column; gap: 14px; }
.popular-posts-list a { display: flex; align-items: center; gap: 12px; }
.popular-posts-list img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--radius-sm); flex-shrink: 0; }
.popular-posts-list .popular-post-info h6 { font-size: 0.85rem; margin: 0 0 4px; line-height: 1.5; }
.popular-posts-list .popular-post-info span { font-size: 0.75rem; color: var(--gray-500); }

/* Pagination fallback matching WP's default paginate_links markup (span.page-numbers) */
.shop-pagination .page-numbers,
.shop-pagination span.page-numbers { width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--border); color: var(--gray-700); }
.shop-pagination a.page-numbers:hover,
.shop-pagination span.page-numbers.current { background: var(--primary); border-color: var(--primary); color: var(--white); }
.shop-pagination .dots { border: 0; background: transparent; }

/* Single post */
.single-post-header { margin-bottom: 26px; }
.single-post-header .blog-meta { font-size: 0.85rem; margin-bottom: 14px; }
.single-post-header h1 { font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.5; margin-bottom: 0; }
.single-post-thumb { border-radius: var(--radius); overflow: hidden; margin-bottom: 30px; aspect-ratio: 16/9; }
.single-post-thumb img { width: 100%; height: 100%; object-fit: cover; }

.single-post-content { font-size: 0.98rem; line-height: 2; color: var(--gray-700); }
.single-post-content h2,
.single-post-content h3,
.single-post-content h4 { color: var(--gray-900); margin: 30px 0 14px; }
.single-post-content p { margin-bottom: 18px; }
.single-post-content img { max-width: 100%; border-radius: var(--radius-sm); margin: 10px 0; }
.single-post-content ul,
.single-post-content ol { margin-bottom: 18px; padding-right: 22px; }
.single-post-content blockquote { border-right: 4px solid var(--primary); background: var(--bg); padding: 18px 22px; border-radius: var(--radius-sm); margin: 22px 0; font-style: normal; }
.single-post-content a { color: var(--primary); text-decoration: underline; }

.post-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 30px 0; }
.post-tags a { background: var(--bg); border: 1px solid var(--border); border-radius: 50px; padding: 6px 16px; font-size: 0.8rem; color: var(--gray-700); }
.post-tags a:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }

.post-share { display: flex; align-items: center; gap: 14px; padding: 22px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 30px; flex-wrap: wrap; }
.post-share span { font-weight: 700; font-size: 0.9rem; }
.post-share-links { display: flex; gap: 10px; }
.post-share-links a { width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--bg); color: var(--gray-700); }
.post-share-links a:hover { background: var(--primary); color: var(--white); }

.post-author-box { display: flex; gap: 18px; align-items: center; background: var(--bg); border-radius: var(--radius); padding: 24px; margin-bottom: 40px; }
.post-author-box img { width: 68px; height: 68px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.post-author-box h5 { margin-bottom: 4px; font-size: 1rem; }
.post-author-box p { margin: 0; font-size: 0.85rem; color: var(--gray-500); }

.related-posts { margin-top: 50px; }
.related-posts h4 { font-size: 1.1rem; margin-bottom: 20px; }

/* Comments */
.comments-area { margin-top: 40px; }
.comments-area__title { font-size: 1.15rem; font-weight: 700; margin-bottom: 24px; }
.comment-list { list-style: none; margin: 0 0 30px; padding: 0; }
.comment-list .comment { display: flex; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.comment-list .comment .avatar { width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0; }
.comment-list .comment-author { font-weight: 700; font-size: 0.92rem; }
.comment-list .comment-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.comment-list .comment-metadata { font-size: 0.78rem; color: var(--gray-500); }
.comment-list .comment-content p { margin: 0; font-size: 0.9rem; line-height: 1.9; }
.comment-list .reply a { font-size: 0.78rem; color: var(--primary); font-weight: 700; }
.comment-list .children { list-style: none; margin: 10px 0 0 0; padding-right: 30px; }
.no-comments { color: var(--gray-500); font-size: 0.9rem; }

.comment-respond { background: var(--bg); border-radius: var(--radius); padding: 26px; margin-top: 30px; }
.comment-respond h3 { font-size: 1.05rem; margin-bottom: 18px; }
.comment-respond .comment-form-author,
.comment-respond .comment-form-email { display: inline-block; width: calc(50% - 8px); vertical-align: top; margin-bottom: 16px; }
.comment-respond .comment-form-author { margin-left: 16px; }
.comment-respond .comment-form-comment { margin-bottom: 16px; }
.comment-respond input[type="text"],
.comment-respond input[type="email"],
.comment-respond input[type="url"],
.comment-respond textarea { width: 100%; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 16px; font-family: var(--font-main); background: var(--white); }
.comment-respond textarea { min-height: 140px; resize: vertical; }
.comment-respond .form-submit { margin: 0; }
.comment-respond .form-submit input[type="submit"] { border: 0; background: var(--primary); color: var(--white); font-weight: 700; padding: 12px 30px; border-radius: 50px; cursor: pointer; transition: var(--transition); font-family: var(--font-main); }
.comment-respond .form-submit input[type="submit"]:hover { background: var(--primary-dark); }
.comment-notes { font-size: 0.82rem; color: var(--gray-500); margin-bottom: 16px; }

@media (max-width: 767.98px) {
  .comment-respond .comment-form-author,
  .comment-respond .comment-form-email { width: 100%; margin-left: 0; }
}

#breadcrump {
  padding-bottom: 0 !important;
}

section#product {
  padding-top: 0!important;
}

/* Cart / checkout / service-request page wrappers (missing section spacing) */
.cart-section,
.checkout-section,
.service-section { padding: 50px 0 80px; }
