/* =========================================================
   Q & A Shop — Main stylesheet
   Brand: primary #FF3B6B, text #222, accent #555
   Fonts: Poppins (headings), Inter (body) — self-hosted.
   ========================================================= */

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

/* ---------- Design tokens ---------- */
:root {
  --primary: #FF3B6B;
  --primary-dark: #e01f50;
  --primary-light: #ffe4eb;
  --dark: #222;
  --accent: #555;
  --muted: #888;
  --soft: #faf6f7;
  --border: #eee;
  --white: #fff;
  --shadow-sm: 0 4px 16px rgba(34, 34, 34, 0.06);
  --shadow: 0 12px 30px rgba(255, 59, 107, 0.14);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-head: 'Poppins', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6, .brand-name { font-family: var(--font-head); }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
img { max-width: 100%; height: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 3000;
  background: var(--primary); color: #fff; padding: 12px 18px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Buttons ---------- */
.btn { border-radius: 50rem; font-weight: 600; padding: 0.65rem 1.4rem; font-family: var(--font-body); transition: var(--transition); }
.btn-primary {
  background: var(--primary); border-color: var(--primary); color: #fff;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--primary-dark); border-color: var(--primary-dark); color: #fff;
  transform: translateY(-2px); box-shadow: var(--shadow);
}
.btn-outline-primary {
  border-color: var(--primary); color: var(--primary);
}
.btn-outline-primary:hover {
  background: var(--primary); border-color: var(--primary); color: #fff;
}
.btn-outline-light { border-color: rgba(255,255,255,0.85); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--primary); }
.btn-lg { padding: 0.8rem 1.8rem; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--dark); color: #fff; font-size: 0.85rem; padding: 0.45rem 0;
}
.topbar a { color: #fff; opacity: 0.85; }
.topbar a:hover { opacity: 1; color: #ffb6c6; }
.topbar-text i { color: var(--primary); margin-right: 4px; }
.topbar-links li::marker { content: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1200;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(34,34,34,0.08); border-color: var(--border); }
.navbar-nav .nav-link {
  font-weight: 500; color: var(--dark); font-size: 0.92rem;
  position: relative; padding: 0.5rem 0.8rem !important;
}
.navbar-nav .nav-link::after {
  content: ""; position: absolute; left: 0.8rem; right: 100%; bottom: 4px;
  height: 2px; background: var(--primary); transition: right var(--transition);
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active { color: var(--primary); }
.navbar-nav .nav-link:hover::after, .navbar-nav .nav-link.active::after { right: 0.8rem; }

/* ============ Multi-level responsive dropdown ============ */
.navbar-nav .has-dropdown { position: relative; }
.navbar-nav .submenu { list-style: none; margin: 0; padding: .4rem 0; }
.submenu-caret { font-size: .7rem; transition: transform .25s ease; }

.navbar-nav .submenu-link {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  padding: .55rem 1.1rem; color: var(--dark); font-size: .92rem; white-space: nowrap;
  transition: var(--transition);
}
.navbar-nav .submenu-link:hover { background: var(--primary-light); color: var(--primary); }

/* caret button */
.submenu-toggle {
  background: transparent; border: 0; cursor: pointer; color: inherit;
  padding: 0 .5rem; line-height: 1; display: inline-flex; align-items: center;
}

/* ---------- DESKTOP: hover flyout (>= 992px) ---------- */
@media (min-width: 992px) {
  .submenu-toggle { pointer-events: none; }   /* desktop pe hover se khulta hai */

  .navbar-nav .submenu {
    position: absolute; top: 100%; left: 0; min-width: 220px; background: #fff;
    border: 1px solid var(--border); border-radius: var(--radius-sm); box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s; z-index: 1050;
  }
  /* level 2 & 3 fly out to the right */
  .navbar-nav .submenu .submenu { top: -.4rem; left: 100%; transform: translateX(10px); }

  .navbar-nav .has-dropdown:hover > .submenu {
    opacity: 1; visibility: visible; transform: translateY(0);
  }
  .navbar-nav .submenu .has-dropdown:hover > .submenu {
    opacity: 1; visibility: visible; transform: translateX(0);
  }

  /* auto-flip when it would overflow the right edge (JS adds this class) */
  .navbar-nav .submenu.submenu--left { left: auto; right: 0; }
  .navbar-nav .submenu .submenu.submenu--left { left: auto; right: 100%; transform: translateX(-10px); }
}

/* ---------- MOBILE: link navigates, caret toggles (<= 991.98px) ---------- */
@media (max-width: 991.98px) {
  .navbar-nav .has-dropdown { display: flex; flex-wrap: wrap; align-items: center; }
  .navbar-nav .has-dropdown > .nav-link,
  .navbar-nav .has-dropdown > .submenu-link { flex: 1; }   /* text takes the row, arrow sits beside */
  .submenu-toggle { padding: .4rem .8rem; }                /* bigger tap area */

  .navbar-nav .submenu {
    display: none; flex-basis: 100%; width: 100%;
    padding-left: .8rem; margin: .2rem 0 .2rem .6rem;
    border-left: 2px solid var(--primary-light);
  }
  .navbar-nav .has-dropdown.open > .submenu { display: block; }

  /* caret rotate on open */
  .navbar-nav .has-dropdown.open > .submenu-toggle .bi-chevron-down { transform: rotate(180deg); }
  .navbar-nav .has-dropdown.open > .submenu-toggle .bi-chevron-right { transform: rotate(90deg); }
}

.brand-logo { border-radius: 8px; }
.brand-name {
  font-size: 1.3rem; font-weight: 700; color: var(--dark); letter-spacing: 0.3px; margin-left: 0.5rem;
}
.brand-name .amp { color: var(--primary); }
.brand-name .brand-shop { color: var(--primary); }

.header-actions { gap: 0.25rem; }
.icon-btn {
  width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--soft); color: var(--dark); font-size: 1.1rem;
  position: relative; transition: var(--transition); border: 0;
}
.icon-btn:hover { background: var(--primary-light); color: var(--primary); }
.cart-count {
  position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 4px;
  background: var(--primary); color: #fff; border-radius: 50rem; font-size: 0.7rem;
  display: inline-flex; align-items: center; justify-content: center; font-weight: 700;
  transition: transform 0.25s;
}
.cart-count.bump { animation: bump 0.4s ease; }
@keyframes bump { 0%{transform:scale(1)} 50%{transform:scale(1.35)} 100%{transform:scale(1)} }

/* Search */
.search-wrap { position: relative; display: flex; align-items: center; }
.search-form {
  position: absolute; right: 0; top: 50%; transform: translate(12px,-50%);
  opacity: 0; visibility: hidden; pointer-events: none;
  display: flex; align-items: center; background: var(--white);
  border: 1px solid var(--border); border-radius: 50rem; box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.search-wrap.open .search-form { opacity: 1; visibility: visible; transform: translate(0,-50%); pointer-events: auto; }
.search-input { border: 0; outline: 0; padding: 0.45rem 0.5rem 0.45rem 1rem; width: 190px; border-radius: 50rem; }
.search-submit {
  border: 0; background: var(--primary); color: #fff; border-radius: 50%; width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center; margin-right: 3px;
}
.search-submit:hover { background: var(--primary-dark); }

/* ---------- Hero ---------- */
.hero { overflow: hidden; position: relative; }
.hero-slider { position: relative; }
.hero-viewport { overflow: hidden; }
.hero-track { display: flex; transition: transform 0.7s cubic-bezier(0.4,0,0.2,1); }
.hero-slide { min-width: 100%; position: relative; color: #fff; }
.hero-inner {
  min-height: 78vh; display: flex; align-items: center; justify-content: space-between;
  padding: 4rem 0; gap: 2rem;
}
.hero-slide--pink { background: linear-gradient(120deg, #FF3B6B 0%, #ff7a9c 55%, #ffb0c2 100%); }
.hero-slide--dark { background: linear-gradient(120deg, #1b1f3a 0%, #283593 55%, #5c6bc0 100%); }
.hero-slide--cream { background: linear-gradient(120deg, #fbeef2 0%, #f9e0e7 55%, #f7cbd6 100%); }
.hero-slide--cream .hero-title { color: var(--dark); }
.hero-slide--cream .hero-sub { color: var(--accent); }
.hero-slide--cream .hero-tag { background: var(--primary); color: #fff; }
.hero-slide--cream .btn-outline-light { border-color: var(--dark); color: var(--dark); }
.hero-slide--cream .btn-outline-light:hover { background: var(--dark); color: #fff; }

.hero-content { max-width: 560px; animation: fadeUp 0.8s ease both; }
.hero-tag {
  display: inline-block; background: rgba(255,255,255,0.2); color: #fff;
  padding: 0.3rem 0.9rem; border-radius: 50rem; font-weight: 600; font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1rem;
}
.hero-title { font-size: clamp(1.8rem, 4vw, 3.2rem); font-weight: 700; line-height: 1.15; margin-bottom: 1rem; }
.hero-title span { color: #fff; position: relative; }
.hero-slide--pink .hero-title span, .hero-slide--dark .hero-title span { color: #ffe08a; }
.hero-sub { font-size: 1.05rem; opacity: 0.95; margin-bottom: 1.8rem; max-width: 480px; }
.hero-cta { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.hero-img {
  flex: 0 0 38%; height: 360px; border-radius: 24px;
  background-position: center; background-size: cover;
  box-shadow: 0 20px 50px rgba(0,0,0,0.18); animation: fadeUp 0.8s ease 0.15s both;
}
.blog-card-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.blog-card-link:hover { color: inherit; }

.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,0.85); color: var(--dark); font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center; transition: var(--transition);
  opacity: 0; box-shadow: var(--shadow-sm);
}
.hero:hover .hero-arrow { opacity: 1; }
.hero-arrow:hover { background: var(--primary); color: #fff; }
.hero-arrow--prev { left: 20px; }
.hero-arrow--next { right: 20px; }
.hero-dots {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 5;
}
.hero-dots button {
  width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255,255,255,0.6);
  cursor: pointer; transition: var(--transition); padding: 0;
}
.hero-dots button.active { background: #fff; width: 26px; border-radius: 50rem; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Features ---------- */
.features { padding: 3rem 0 1rem; }
.feature-card {
  display: flex; align-items: center; gap: 0.9rem; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 1.1rem;
  transition: var(--transition); height: 100%;
}
.feature-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-4px); }
.feature-card i { font-size: 1.8rem; color: var(--primary); }
.feature-card strong { display: block; font-size: 0.98rem; }
.feature-card span { color: var(--muted); font-size: 0.85rem; }

/* ---------- Sections ---------- */
.section { padding: 4.5rem 0; }
.bg-soft { background: var(--soft); }
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 2.2rem; gap: 1rem; flex-wrap: wrap;
}
.section-eyebrow {
  color: var(--primary); font-weight: 600; text-transform: uppercase;
  letter-spacing: 1.5px; font-size: 0.78rem;
}
.section-title { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; margin: 0.35rem 0 0.4rem; }
.section-desc { color: var(--accent); margin: 0; }
.view-all { white-space: nowrap; }

/* ---------- Sliders ---------- */
.slider { position: relative; }
.slider-viewport { overflow: hidden; padding: 6px 4px 14px; }
.slider-track {
  display: flex; will-change: transform; transition: transform 0.55s cubic-bezier(0.4,0,0.2,1);
  touch-action: pan-y;
}
.slider-track > * { flex-shrink: 0; padding: 0 10px; }
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: #fff; color: var(--dark); box-shadow: var(--shadow); font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center; transition: var(--transition);
  opacity: 0;
}
.slider:hover .slider-arrow, .slider-arrow:focus-visible { opacity: 1; }
.slider-arrow:hover { background: var(--primary); color: #fff; }
.slider-arrow.disabled { opacity: 0.3; pointer-events: none; }
.slider-prev { left: -6px; }
.slider-next { right: -6px; }
.slider-dots { display: flex; justify-content: center; gap: 8px; padding-top: 4px; }

/* ---------- Product card ---------- */
.product-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: var(--transition); height: 100%; display: flex; flex-direction: column;
}
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-6px); }
.product-media { position: relative; overflow: hidden; aspect-ratio: 1 / 1; }
.product-media img {
  width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease;
}
.product-card:hover .product-media img { transform: scale(1.06); }
.product-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--dark); color: #fff; font-size: 0.7rem; font-weight: 700;
  padding: 0.25rem 0.7rem; border-radius: 50rem; text-transform: uppercase; letter-spacing: 0.5px;
}
.product-badge.sale { background: var(--primary); }
.product-badge.featured { background: #ff9800; }
.product-badge.new { background: #2e7d32; }
.product-actions {
  position: absolute; top: 12px; right: 12px; display: flex; flex-direction: column; gap: 8px;
  opacity: 0; transform: translateX(10px); transition: var(--transition); z-index: 2;
}
.product-card:hover .product-actions { opacity: 1; transform: translateX(0); }
.product-action {
  width: 36px; height: 36px; border-radius: 50%; border: 0; background: #fff;
  color: var(--dark); display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm); cursor: pointer; transition: var(--transition);
}
.product-action:hover, .product-action.active { background: var(--primary); color: #fff; }
.btn-add {
  position: absolute; bottom: 0; left: 0; right: 0; border-radius: 0;
  transform: translateY(100%); opacity: 0; font-size: 0.9rem; z-index: 2;
  display: flex; align-items: center; justify-content: center; gap: 0.4rem;
  background: var(--primary); border-color: var(--primary);
}
.btn-add:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.product-card:hover .btn-add { transform: translateY(0); opacity: 1; }

.product-body { padding: 1.1rem 1.1rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.product-category { color: var(--muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.6px; }
.product-title { font-size: 1rem; font-weight: 600; margin: 0.3rem 0 0.35rem; line-height: 1.35; }
.product-title a:hover { color: var(--primary); }
.product-rating { color: #ffb400; font-size: 0.85rem; display: flex; align-items: center; gap: 4px; }
.rating-count { color: var(--muted); font-size: 0.8rem; }
.product-price { margin-top: auto; padding-top: 0.55rem; display: flex; align-items: baseline; gap: 8px; }
.product-current-price { font-weight: 700; font-size: 1.1rem; color: var(--primary); font-family: var(--font-head); }
.product-old-price { color: var(--muted); font-size: 0.9rem; }

/* ---------- Blog cards ---------- */
.blog-card {
  background: #fff; border-radius: var(--radius); border: 1px solid var(--border);
  overflow: hidden; height: 100%; transition: var(--transition); display: flex; flex-direction: column;
}
.blog-card:hover { box-shadow: var(--shadow); transform: translateY(-6px); }
.blog-media { position: relative; overflow: hidden; aspect-ratio: 16/10; }
.blog-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-media img { transform: scale(1.07); }
.blog-cat {
  position: absolute; top: 12px; left: 12px; background: var(--primary); color: #fff;
  font-size: 0.72rem; font-weight: 600; padding: 0.25rem 0.7rem; border-radius: 50rem;
}
.blog-body { padding: 1.2rem; display: flex; flex-direction: column; flex: 1; }
.blog-meta { color: var(--muted); font-size: 0.8rem; display: flex; gap: 1rem; margin-bottom: 0.5rem; }
.blog-meta i { color: var(--primary); }
.blog-title { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.4rem; }
.blog-title a:hover { color: var(--primary); }
.blog-excerpt { color: var(--accent); font-size: 0.92rem; flex: 1; }
.blog-link { color: var(--primary); font-weight: 600; font-size: 0.9rem; }
.blog-link:hover { color: var(--primary-dark); }

/* ---------- About ---------- */
.about-media { position: relative; }
.about-media img { box-shadow: var(--shadow); }
.about-badge {
  position: absolute; bottom: -18px; right: 18px; background: var(--primary); color: #fff;
  border-radius: var(--radius); padding: 0.9rem 1.3rem; text-align: center; box-shadow: var(--shadow);
}
.about-badge strong { display: block; font-size: 1.5rem; font-family: var(--font-head); }
.about-badge span { font-size: 0.82rem; opacity: 0.95; }
.about-content .section-title { margin-bottom: 1rem; }
.about-list { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.about-list li { margin-bottom: 0.7rem; color: var(--accent); }
.about-list i { color: var(--primary); margin-right: 8px; }
.about-stats { border-left: 2px solid var(--primary); padding-left: 1.2rem; }
.about-stats strong { display: block; font-size: 1.3rem; font-family: var(--font-head); color: var(--dark); }
.about-stats span { color: var(--muted); font-size: 0.82rem; }

/* ---------- TikTok feed ---------- */
.tt-tile {
  position: relative; display: block; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 3/4; box-shadow: var(--shadow-sm); transition: var(--transition);
}
.tt-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tt-tile img { width: 100%; height: 100%; object-fit: cover; }
.tt-tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55), transparent 55%);
}
.tt-overlay {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,0.92);
  display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 1.5rem;
  z-index: 2; transition: var(--transition);
}
.tt-tile:hover .tt-overlay { background: var(--primary); color: #fff; }
.tt-views { position: absolute; top: 10px; right: 12px; z-index: 2; color: #fff; font-size: 0.8rem; font-weight: 600; text-shadow: 0 1px 3px rgba(0,0,0,0.5); }
.tt-handle { position: absolute; bottom: 10px; left: 12px; z-index: 2; color: #fff; font-size: 0.8rem; font-weight: 600; }
.tt-caption { position: absolute; bottom: 10px; right: 12px; z-index: 2; color: #ffd; font-size: 0.78rem; }

/* ---------- Testimonials ---------- */
.testimonials-slider .slider-track { padding-top: 6px; }
.testimonial-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.8rem; position: relative; height: 100%; transition: var(--transition);
  display: flex; flex-direction: column;
}
.testimonial-card:hover { box-shadow: var(--shadow-sm); }
.t-quote { position: absolute; top: 16px; right: 20px; font-size: 2.6rem; color: var(--primary-light); line-height: 1; }
.t-stars { color: #ffb400; margin-bottom: 0.8rem; }
.t-text { color: var(--accent); font-style: italic; flex: 1; margin: 0 0 1.2rem; }
.t-author { display: flex; align-items: center; gap: 0.8rem; }
.t-avatar {
  width: 46px; height: 46px; border-radius: 50%; background: var(--primary);
  color: #fff !important; font-weight: 700; font-family: var(--font-head);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0;
}
.t-author strong { display: block; font-size: 0.95rem; }
.t-author span { color: var(--muted); font-size: 0.82rem; }

/* ---------- Newsletter ---------- */
.newsletter { padding: 4.5rem 0 0; }
.newsletter-inner {
  background: linear-gradient(120deg, var(--primary) 0%, #ff7a9c 100%);
  border-radius: 24px; padding: 3rem 2rem; text-align: center; color: #fff; position: relative;
  box-shadow: var(--shadow);
}
.newsletter-icon { font-size: 2.4rem; margin-bottom: 0.5rem; color: #fff; }
.newsletter-title { font-weight: 700; font-size: 1.8rem; }
.newsletter-inner .newsletter-title {
    color: #FFF;
    border: navajowhite;
}
.newsletter-desc { max-width: 520px; margin: 0 auto 1.6rem; opacity: 0.95; }
.newsletter-form { max-width: 520px; margin: 0 auto; }
.newsletter-form .input-group {
  background: #fff; border-radius: 50rem; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.newsletter-form .input-group-text { background: transparent; border: 0; color: var(--primary); }
.newsletter-form .form-control {
  border: 0; box-shadow: none; font-family: var(--font-body); padding: 0.8rem 0.2rem;
}
.form-feedback { margin: 0.7rem 0 0; font-size: 0.9rem; }
.form-feedback.error { color: #fff; background: rgba(220,53,69,0.85); border-radius: 8px; padding: 0.4rem 0.8rem; }
.form-feedback.success { color: #fff; background: rgba(46,125,50,0.9); border-radius: 8px; padding: 0.4rem 0.8rem; }

/* ===== CF7 newsletter fixes ===== */
.newsletter-form { position: relative; }

/* pill ek hi row me rahe */
.newsletter-form .input-group { flex-wrap: nowrap; }

/* CF7 ka wrapper span ko flexible input cell banao */
.newsletter-form .wpcf7-form-control-wrap {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
}
.newsletter-form .wpcf7-form-control-wrap .form-control {
  width: 100%;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  padding: 0.8rem 0.2rem;
}

/* Subscribe button pill ke andar right me flush */
.newsletter-form .wpcf7-submit {
  flex: 0 0 auto;
  white-space: nowrap;
}

/* spinner ko white pill se BAHAR nikaalo → pink area me neeche */
.newsletter-form .wpcf7-spinner {
  position: absolute;
  left: 50%;
  bottom: -2.2rem;
  transform: translateX(-50%);
  margin: 0;
  background-color: #fff;   /* pink pe visible */
}

/* success/error message pink area me, full width, centered */
.newsletter-form .wpcf7-response-output {
  flex-basis: 100%;
  width: 100%;
  margin: 1.4rem 0 0 !important;
  text-align: center;
  border-radius: 8px;
  color: #fff;
  border-color: rgba(255,255,255,0.6) !important;
}

/* ---------- Footer ---------- */
.site-footer { background: #1b1b1b; color: #c9c9c9; margin-top: 4.5rem; }
.site-footer .container { padding-top: 3.5rem; padding-bottom: 1.5rem; }
.footer-brand .brand-name { color: #fff; }
.footer-text { font-size: 0.92rem; max-width: 320px; }
.footer-social { display: flex; gap: 0.6rem; margin-top: 1.2rem; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center; color: #fff; transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); transform: translateY(-3px); }
.footer-title {
    color: #fff !important;
    font-size: 1.05rem !important;
    margin-bottom: 1.1rem !important;
}
/* =========================================================
   AliExpress description — 2 images per row (ANY structure)
   Scoped only to #tab-description, class-independent
   ========================================================= */

/* 1) Any element inside the description tab that directly holds an image
      or an image-paragraph becomes a wrapping flex row */
div#tab-description p:has(> img),
div#tab-description div:has(> img),
div#tab-description div:has(> p > img) {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 1rem !important;
  align-items: flex-start;
  justify-content: center;
  width: 100% !important;
  max-width: 100% !important;
}

/* 2) EVERY image in the description = half width -> 2 per row */
div#tab-description .woocommerce-Tabs-panel--description img,
div#tab-description [class*="detailmodule"] img,
div#tab-description [class*="detail-desc"] img,
div#tab-description p img {
  flex: 0 0 calc(50% - .5rem) !important;
  width: calc(50% - .5rem) !important;
  max-width: calc(50% - .5rem) !important;
  height: auto !important;
  display: block !important;
  margin: 0 !important;
}

/* 3) When each image is alone in its own <p> -> make the <p> half width */
div#tab-description p:has(> img:only-child) {
  flex: 0 0 calc(50% - .5rem) !important;
  max-width: calc(50% - .5rem) !important;
  margin: 0 !important;
  display: block !important;
}
div#tab-description p:has(> img:only-child) img {
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* 4) Kill line-breakers that split the row */
div#tab-description br { display: none !important; }
div#tab-description strong:empty { display: none !important; }

/* 5) Mobile: 1 per row */
@media (max-width: 575.98px) {
  div#tab-description p img,
  div#tab-description [class*="detailmodule"] img,
  div#tab-description [class*="detail-desc"] img,
  div#tab-description p:has(> img:only-child) {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}
span.onsale {
    display: none !important;
}
.woocommerce-tabs #tab-description p {
    font-size: 16px !important;
	font-family: var(--font-body) !important;
}
/* Related products — 4 per row */
.sing-prod-wrap .related.products ul.products li.product,
.woocommerce .related.products ul.products li.product {
  flex: 0 0 calc((100% - 3 * 1.6rem) / 4) !important;
  max-width: calc((100% - 3 * 1.6rem) / 4) !important;
}
@media (max-width: 991.98px) {
  .woocommerce .related.products ul.products li.product {
    flex: 0 0 calc((100% - 1.6rem) / 2) !important;
    max-width: calc((100% - 1.6rem) / 2) !important;
  }
}
@media (max-width: 575.98px) {
  .woocommerce .related.products ul.products li.product {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.55rem; }
.footer-links a { color: #b9b9b9; font-size: 0.92rem; }
.footer-links a:hover { color: var(--primary); padding-left: 4px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 0.6rem; margin-bottom: 0.6rem; font-size: 0.92rem; }
.footer-contact i { color: var(--primary); margin-top: 4px; }
.footer-contact a { color: #c9c9c9; }
.footer-contact a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); margin-top: 2.5rem; padding-top: 1.4rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  font-size: 0.88rem;
}
.footer-pay li { font-size: 1.1rem; opacity: 0.7; }
.footer-pay {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-pay li {
  list-style: none;
}
.footer-pay li::marker {
  content: "";
}
/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed; bottom: 22px; right: 22px; z-index: 1500;
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--primary); color: #fff; font-size: 1.2rem; box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(16px); transition: var(--transition);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--primary-dark); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Mini toast ---------- */
#miniToast {
  position: fixed; bottom: 84px; left: 50%; transform: translateX(-50%) translateY(16px);
  background: #1b1b1b; color: #fff; padding: 0.7rem 1.3rem; border-radius: 50rem; font-size: 0.9rem;
  box-shadow: var(--shadow); z-index: 2500; opacity: 0; visibility: hidden; transition: var(--transition);
  max-width: 90vw; text-align: center;
}
#miniToast.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .navbar-collapse { padding: 1rem 0; }
  .header-actions { margin-top: 0.6rem; }
  .hero-inner { min-height: 60vh; flex-direction: column; justify-content: center; text-align: center; }
  .hero-content { max-width: 100%; }
  .hero-cta, .hero-sub { justify-content: center; margin-left: auto; margin-right: auto; }
  .hero-img { flex-basis: auto; width: 100%; height: 300px; margin-top: 1.5rem; }
  .search-form { position: fixed; top: auto; left: 12px; right: 12px; transform: none; width: auto; }
  .search-wrap.open .search-form { transform: none; top: auto; }
  .search-input { width: 100%; flex: 1; }
  .section { padding: 3.5rem 0; }
}
@media (max-width: 575.98px) {
  .hero-inner { padding: 3rem 0; min-height: auto; }
  .hero-title { font-size: 1.6rem; }
  .hero-cta .btn { width: 100%; }
  .slider-arrow { width: 38px; height: 38px; }
  .about-badge { bottom: -14px; right: 8px; padding: 0.7rem 1rem; }
  .newsletter-inner { padding: 2.2rem 1.2rem; }
  .footer-bottom { justify-content: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   ABOUT PAGE — appended (uses existing design tokens)
   ========================================================= */

/* ---- Page hero / breadcrumb banner ---- */
.page-hero {
  position: relative;
  background: linear-gradient(135deg, var(--primary) 0%, #ff6a8e 55%, #ff8fa8 100%);
  color: #fff;
  padding: 3.6rem 0 !important;
  overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; right: -80px; top: -80px;
  width: 320px; height: 320px; border-radius: 50%;
  background: rgba(255,255,255,0.12);
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb-nav { font-size: 0.85rem; margin-bottom: 0.75rem; opacity: 0.95; }
.breadcrumb-nav a { color: #fff; opacity: 0.9; }
.breadcrumb-nav a:hover { opacity: 1; text-decoration: underline; }
.breadcrumb-nav i { font-size: 0.7rem; margin: 0 0.4rem; opacity: 0.8; }
.breadcrumb-nav span { opacity: 0.8; }
.page-hero-title {
  font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 700; margin: 0 0 0.5rem;
}
.page-hero-title span { color: #fff; }
.page-hero-sub { max-width: 640px; margin: 0; opacity: 0.95; font-size: 1.02rem; }

/* ---- Stats band ---- */
.stats-band {
  background: var(--dark); color: #fff; padding: 3rem 0;
}
.stat-box strong {
  display: block; font-family: var(--font-head); font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.6rem); color: #fff; line-height: 1;
}
.stat-box strong span { color: var(--primary); }
.stat-box > span {
  display: block; margin-top: 0.4rem; color: rgba(255,255,255,0.75);
  font-size: 0.9rem; letter-spacing: 0.3px;
}

/* ---- Mission & Vision cards ---- */
.mv-card {
  height: 100%; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem 1.8rem;
  transition: var(--transition);
}
.mv-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-4px); }
.mv-icon {
  width: 60px; height: 60px; border-radius: 14px;
  background: var(--primary-light); color: var(--primary);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 1.1rem;
}
.mv-card h3 { font-size: 1.25rem; font-weight: 700; margin: 0 0 0.6rem; }
.mv-card p { color: var(--accent); margin: 0; }

/* ---- Value / Why-choose-us cards ---- */
.value-card {
  height: 100%; text-align: center; background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem 1.4rem; transition: var(--transition);
}
.value-card:hover {
  box-shadow: var(--shadow); transform: translateY(-6px);
  border-color: transparent;
}
.value-icon {
  width: 66px; height: 66px; border-radius: 50%;
  background: var(--primary-light); color: var(--primary);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.7rem; margin-bottom: 1.1rem; transition: var(--transition);
}
.value-card:hover .value-icon { background: var(--primary); color: #fff; }
.value-card h3 { font-size: 1.1rem; font-weight: 700; margin: 0 0 0.5rem; }
.value-card p { color: var(--accent); font-size: 0.92rem; margin: 0; }

/* ---- Team cards ---- */
.team-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; height: 100%;
  transition: var(--transition);
}
.team-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-5px); }
.team-media { position: relative; aspect-ratio: 1/1; overflow: hidden; }
.team-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.team-card:hover .team-media img { transform: scale(1.06); }
.team-social {
  position: absolute; left: 0; right: 0; bottom: -100%;
  display: flex; justify-content: center; gap: 0.5rem; padding: 0.8rem;
  background: linear-gradient(to top, rgba(34,34,34,0.7), transparent);
  transition: bottom var(--transition);
}
.team-card:hover .team-social { bottom: 0; }
.team-social a {
  width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--dark);
  display: inline-flex; align-items: center; justify-content: center; font-size: 0.95rem;
  transition: var(--transition);
}
.team-social a:hover { background: var(--primary); color: #fff; }
.team-body { padding: 1rem 1rem 1.2rem; text-align: center; }
.team-body h3 { font-size: 1.05rem; font-weight: 700; margin: 0 0 0.15rem; }
.team-body span { color: var(--primary); font-size: 0.85rem; font-weight: 500; }

/* ---- CTA band ---- */
.cta-band { padding: 3.5rem 0; background: var(--dark); }
.cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
}
.cta-title { color: #fff; font-weight: 700; font-size: clamp(1.4rem, 3vw, 2rem); margin: 0 0 0.35rem; }
.cta-sub { color: rgba(255,255,255,0.75); }
.cta-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; }

/* ---- About page responsive tweaks ---- */
@media (max-width: 767.98px) {
  .page-hero { padding: 2.6rem 0; }
  .stat-box { margin-bottom: 0.5rem; }
  .cta-inner { text-align: center; justify-content: center; }
  .cta-actions { justify-content: center; width: 100%; }
}

/* =========================================================
   CONTACT PAGE — appended (uses existing design tokens)
   ========================================================= */

/* ---- Contact info cards ---- */
.contact-info-card {
  height: 100%; text-align: center; background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem 1.4rem; transition: var(--transition);
}
.contact-info-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-5px); }
.contact-icon {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--primary-light); color: var(--primary);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1rem; transition: var(--transition);
}
.contact-info-card:hover .contact-icon { background: var(--primary); color: #fff; }
.contact-info-card h3 { font-size: 1.05rem; font-weight: 700; margin: 0 0 0.4rem; }
.contact-info-card p { color: var(--accent); font-size: 0.92rem; margin: 0; line-height: 1.7; }
.contact-info-card a { color: var(--accent); }
.contact-info-card a:hover { color: var(--primary); }

/* ---- Contact form ---- */
.contact-form-wrap {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2.2rem;
  box-shadow: var(--shadow-sm); height: 100%;
}
.contact-form .form-label { font-weight: 500; font-size: 0.88rem; margin-bottom: 0.35rem; color: var(--dark); }
.contact-form .form-control {
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 0.7rem 0.9rem; font-size: 0.95rem; transition: var(--transition);
}
.contact-form .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(255,59,107,0.12);
}
.contact-form .form-control.is-invalid { border-color: #dc3545; }

/* ---- Map ---- */
.map-wrap {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  margin-bottom: 1rem;
}
.map-wrap iframe { width: 100%; height: 445px; border: 0; display: block; }

/* ---- Support card ---- */
.support-card {
  display: flex; align-items: center; gap: 1rem;
  background: var(--soft); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.1rem 1.3rem;
}
.support-icon {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  background: var(--primary-light); color: var(--primary);
  display: inline-flex; align-items: center; justify-content: center; font-size: 1.3rem;
}
.support-card strong { display: block; font-size: 0.98rem; }
.support-card p { color: var(--accent); font-size: 0.85rem; }

/* ---- Contact FAQ accordion ---- */
.contact-faq .accordion-item {
  border: 1px solid var(--border); border-radius: var(--radius-sm) !important;
  margin-bottom: 0.8rem; overflow: hidden; background: #fff;
}
.contact-faq .accordion-button {
  font-family: var(--font-head); font-weight: 600; font-size: 1rem; color: var(--dark);
  padding: 1.05rem 1.2rem;
}
.contact-faq .accordion-button:not(.collapsed) {
  color: var(--primary); background: var(--primary-light); box-shadow: none;
}
.contact-faq .accordion-button:focus { box-shadow: none; border-color: transparent; }
.contact-faq .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='%23FF3B6B' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}
.contact-faq .accordion-body { color: var(--accent); font-size: 0.94rem; padding-top: 0; }

/* ---- Contact responsive tweaks ---- */
@media (max-width: 991.98px) {
  .contact-form-wrap { padding: 1.6rem; }
  .map-wrap iframe { height: 260px; }
}

/* =========================================================
   BLOG LIST + BLOG DETAILS — appended (existing tokens)
   ========================================================= */

/* ---- Pagination ---- */
.blog-pagination { margin-top: 3rem; display: flex; justify-content: center; }
.blog-pagination .pagination { gap: 0.4rem; margin: 0; flex-wrap: wrap; }
.blog-pagination .page-link {
  border: 1px solid var(--border); color: var(--dark); border-radius: 50rem !important;
  min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; padding: 0 0.4rem; transition: var(--transition);
}
.blog-pagination .page-link:hover { background: var(--primary-light); color: var(--primary); border-color: transparent; }
.blog-pagination .page-item.active .page-link { background: var(--primary); border-color: var(--primary); color: #fff; }
.blog-pagination .page-item.disabled .page-link { opacity: 0.45; pointer-events: none; }
.blog-pagination .page-link:focus { box-shadow: 0 0 0 0.2rem rgba(255,59,107,0.15); }

/* ---- Blog details: main content ---- */
.post-featured { position: relative; border-radius: var(--radius); overflow: hidden; margin-bottom: 1.4rem; }
.post-featured img { width: 100%; height: auto; display: block; aspect-ratio: 16/9; object-fit: cover; }
.post-featured .blog-cat { top: 16px; left: 16px; }

.post-meta {
  display: flex; flex-wrap: wrap; gap: 1.1rem; color: var(--muted);
  font-size: 0.86rem; margin-bottom: 1.3rem;
}
.post-meta i { color: var(--primary); margin-right: 4px; }

.post-content { color: var(--accent); line-height: 1.85; }
.post-content p { margin-bottom: 1.2rem; }
.post-content h2 { font-size: 1.5rem; font-weight: 700; color: var(--dark); margin: 2rem 0 0.9rem; }
.post-content h3 { font-size: 1.2rem; font-weight: 700; color: var(--dark); margin: 1.6rem 0 0.7rem; }
.post-content ul { margin: 0 0 1.2rem; padding-left: 0; list-style: none; }
.post-content ul li { position: relative; padding-left: 1.7rem; margin-bottom: 0.6rem; }
.post-content ul li::before {
  content: "\F26A"; font-family: "bootstrap-icons"; color: var(--primary);
  position: absolute; left: 0; top: 1px;
}
.post-content blockquote {
  margin: 1.6rem 0; padding: 1.2rem 1.4rem; border-left: 4px solid var(--primary);
  background: var(--soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic; color: var(--dark); font-size: 1.05rem;
}

/* ---- Post footer: tags + share ---- */
.post-footer {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
  margin: 2rem 0; padding: 1.2rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.post-tags span, .post-share span { font-weight: 600; color: var(--dark); margin-right: 0.4rem; font-size: 0.9rem; }
.post-tags a {
  display: inline-block; background: var(--soft); color: var(--accent);
  padding: 0.3rem 0.8rem; border-radius: 50rem; font-size: 0.82rem; margin: 0.2rem 0.2rem 0.2rem 0;
  transition: var(--transition);
}
.post-tags a:hover { background: var(--primary); color: #fff; }
.post-share { display: flex; align-items: center; gap: 0.4rem; }
.post-share a {
  width: 36px; height: 36px; border-radius: 50%; background: var(--soft); color: var(--dark);
  display: inline-flex; align-items: center; justify-content: center; transition: var(--transition);
}
.post-share a:hover { background: var(--primary); color: #fff; transform: translateY(-3px); }

/* ---- Author box ---- */
.author-box {
  display: flex; gap: 1.2rem; align-items: center; background: var(--soft);
  border-radius: var(--radius); padding: 1.5rem; margin-bottom: 2rem;
}
.author-box img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-role { color: var(--primary); font-weight: 600; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1px; }
.author-box h3 { font-size: 1.2rem; font-weight: 700; margin: 0.15rem 0 0.4rem; }
.author-box p { color: var(--accent); font-size: 0.9rem; margin: 0; }

/* ---- Prev / Next nav ---- */
.post-nav { display: flex; gap: 1rem; flex-wrap: wrap; }
.post-nav-link {
  flex: 1 1 45%; min-width: 220px; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1rem 1.2rem; transition: var(--transition);
}
.post-nav-link:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.post-nav-link.next { text-align: right; }
.post-nav-link span { display: block; color: var(--primary); font-size: 0.8rem; font-weight: 600; margin-bottom: 0.25rem; }
.post-nav-link strong { display: block; color: var(--dark); font-size: 0.95rem; line-height: 1.4; }

/* ---- Blog sidebar widgets ---- */
.blog-sidebar { position: sticky; top: 90px; }
.sidebar-widget {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.4rem; margin-bottom: 1.5rem;
}
.widget-title {
  font-size: 1.1rem; font-weight: 700; margin: 0 0 1.1rem; padding-bottom: 0.7rem;
  position: relative;
}
.widget-title::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 42px; height: 3px;
  background: var(--primary); border-radius: 3px;
}

/* Search widget */
.widget-search { position: relative; }
.widget-search input {
  border: 1px solid var(--border); border-radius: 50rem; padding: 0.65rem 3rem 0.65rem 1rem; width: 100%;
}
.widget-search input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 0.2rem rgba(255,59,107,0.12); }
.widget-search button {
  position: absolute; right: 5px; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--primary); color: #fff; cursor: pointer;
}

/* Recent posts */
.recent-posts { list-style: none; padding: 0; margin: 0; }
.recent-posts li + li { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.recent-post { display: flex; gap: 0.9rem; align-items: center; }
.recent-thumb { flex-shrink: 0; width: 68px; height: 68px; border-radius: var(--radius-sm); overflow: hidden; }
.recent-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.recent-post:hover .recent-thumb img { transform: scale(1.08); }
.recent-info strong { display: block; font-size: 0.9rem; font-weight: 600; line-height: 1.4; color: var(--dark); transition: var(--transition); }
.recent-post:hover .recent-info strong { color: var(--primary); }
.recent-date { display: block; margin-top: 0.35rem; font-size: 0.78rem; color: var(--muted); }
.recent-date i { color: var(--primary); margin-right: 3px; }

/* Category list */
.category-list { list-style: none; padding: 0; margin: 0; }
.category-list li + li { margin-top: 0.5rem; }
.category-list a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.6rem 0.9rem; border-radius: var(--radius-sm); background: var(--soft);
  color: var(--dark); font-weight: 500; font-size: 0.92rem; transition: var(--transition);
}
.category-list a:hover { background: var(--primary); color: #fff; transform: translateX(4px); }
.cat-count {
  background: #fff; color: var(--primary); font-size: 0.78rem; font-weight: 700;
  min-width: 26px; height: 24px; border-radius: 50rem; display: inline-flex; align-items: center; justify-content: center;
  padding: 0 6px;
}
.category-list a:hover .cat-count { background: #fff; color: var(--primary); }

/* Tag cloud */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag-cloud a {
  background: var(--soft); color: var(--accent); padding: 0.35rem 0.85rem;
  border-radius: 50rem; font-size: 0.82rem; transition: var(--transition);
}
.tag-cloud a:hover { background: var(--primary); color: #fff; }

/* CTA widget */
.widget-cta { text-align: center; background: var(--primary-light); border-color: transparent; }
.widget-cta i { font-size: 2rem; color: var(--primary); }
.widget-cta h3 { font-size: 1.15rem; font-weight: 700; margin: 0.6rem 0 0.3rem; }
.widget-cta p { color: var(--accent); font-size: 0.9rem; margin-bottom: 1rem; }

/* ---- Blog pages responsive ---- */
@media (max-width: 991.98px) {
  .blog-sidebar { position: static; margin-top: 1rem; }
  .author-box { flex-direction: column; text-align: center; }
}
@media (max-width: 575.98px) {
  .post-nav-link { flex: 1 1 100%; text-align: left; }
  .post-nav-link.next { text-align: left; }
  .post-footer { flex-direction: column; align-items: flex-start; }
}
/* =========================================================
   Home — Best Sellers product slider
   Cards reuse the archive design (.woocommerce ul.products
   li.product). This only handles the slider layout + arrows.
   Append to style.css.
   ========================================================= */

.bs-slider { position: relative; overflow: visible; }

/* horizontal scroll track (native scroll-snap; arrows drive it) */
.bs-slider .woocommerce ul.products.bs-scroller,
.woocommerce ul.products.bs-scroller {
  flex-wrap: nowrap !important;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 1rem;                       /* keep */
  margin: 0 !important;
  padding: .3rem 0 1rem;           /* horizontal padding 0 */
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.woocommerce ul.products.bs-scroller::-webkit-scrollbar { display: none; }

/* card width uses the SAME gap value (1rem), minus 1px for rounding safety */
.woocommerce ul.products.bs-scroller li.product {
  flex: 0 0 calc((100% - 3 * 1rem) / 4 - 1px) !important;
  max-width: calc((100% - 3 * 1rem) / 4 - 1px) !important;
  scroll-snap-align: start;
}
@media (max-width: 991.98px) {
  .woocommerce ul.products.bs-scroller li.product {
    flex: 0 0 calc((100% - 1.6rem) / 2) !important;   /* 2 per view */
    max-width: calc((100% - 1.6rem) / 2) !important;
  }
}
@media (max-width: 575.98px) {
  .woocommerce ul.products.bs-scroller li.product {
    flex: 0 0 82% !important;                          /* 1 + peek */
    max-width: 82% !important;
  }
}

/* ---- Arrows (reuse .slider-arrow look) ---- */
.bs-slider .slider-arrow {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  z-index: 20;                 /* upar rahe */
  width: 44px; height: 44px;
  border: 0; border-radius: 50%;
  background: #fff; color: var(--dark);
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
  display: inline-flex !important;   /* force visible */
  align-items: center; justify-content: center;
  cursor: pointer; font-size: 1.1rem;
  opacity: 1 !important; visibility: visible !important;
}
.bs-slider .slider-prev { left: 8px; }     /* andar rakho (card ke upar) */
.bs-slider .slider-next { right: 8px; }
.bs-slider .slider-arrow:hover { background: var(--primary); color: #fff; }

@media (max-width: 767.98px) {
  .bs-slider .slider-prev { left: 4px; }
  .bs-slider .slider-next { right: 4px; }
}
/* =========================================================
   Home — Category Sections (grid, 4 per row, NO slider)
   Cards reuse the archive/best-seller design.
   Append to style.css.
   ========================================================= */

.woocommerce ul.products.cat-products {
  display: flex !important;
  flex-wrap: wrap;
  gap: 1.6rem;
  margin: 0 !important;
  padding: 0;
  list-style: none;
}

/* 4 per row (desktop) */
.woocommerce ul.products.cat-products li.product {
  flex: 0 0 calc((100% - 3 * 1.6rem) / 4) !important;
  max-width: calc((100% - 3 * 1.6rem) / 4) !important;
}

/* tablet = 2 per row */
@media (max-width: 991.98px) {
  .woocommerce ul.products.cat-products li.product {
    flex: 0 0 calc((100% - 1.6rem) / 2) !important;
    max-width: calc((100% - 1.6rem) / 2) !important;
  }
}
/* mobile = 1 per row */
@media (max-width: 575.98px) {
  .woocommerce ul.products.cat-products li.product {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}

/* empty state */
.cat-empty {
  width: 100%;
  padding: 2rem 1rem;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}
