/* ============================================================
   VIDUAL COMMUNICATIONS INDIA PVT. LTD. — Homepage Styles  (itnbazar.com inspired)
   Designed & Developed by PRIGROW © 2026
   ============================================================ */

/* ── Mobile nav link ────────────────────────────────────────── */
.mobile-nav-link{display:block;padding:10px 14px;border-radius:8px;color:var(--gray-700);font-size:14px;font-weight:500;transition:.2s;text-decoration:none}
.mobile-nav-link:hover{background:var(--primary-bg);color:var(--primary);padding-left:20px}

/* ══════════════════════════════════════════════════════════════
   HERO SECTION
══════════════════════════════════════════════════════════════ */
.hero-wrap {
  background: var(--gray-100);
  padding: 12px 0;
}

.hero-layout {
  display: grid;
  grid-template-columns: 220px 1fr 200px;
  gap: 12px;
  align-items: stretch;
  min-height: 400px;
}

/* ── Category Sidebar ──────────────────────────────────────── */
.hero-cat-sidebar {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.hcs-title {
  background: var(--primary);
  color: white;
  padding: 13px 16px;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hcs-list { list-style: none; }

.hcs-list li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  font-size: 13px;
  color: var(--gray-700);
  text-decoration: none;
  transition: var(--transition-fast);
  border-bottom: 1px solid var(--gray-100);
}

.hcs-list li a:hover {
  background: var(--primary-bg);
  color: var(--primary);
  padding-left: 18px;
}

.hcs-icon { font-size: 15px; flex-shrink: 0; }
.hcs-arrow { margin-left: auto; color: var(--gray-300); font-size: 10px; }

/* ── Hero Slider ───────────────────────────────────────────── */
.hero-slider-area {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  position: relative;
}

.hero-slider { position: relative; height: 370px; }

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .65s ease;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: all;
  position: relative;
}

.hero-slide-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 370px;
  padding: 32px 40px;
  gap: 20px;
}

.hero-slide-text { flex: 1; z-index: 2; }

.hero-tag {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,.15);
  color: rgba(255,255,255,.95);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 14px;
  border: 1px solid rgba(255,255,255,.2);
}

.hero-slide-text h2 {
  font-size: clamp(1.4rem, 2.5vw, 2.1rem);
  font-weight: 800;
  color: white;
  line-height: 1.25;
  margin-bottom: 10px;
  font-family: var(--font-heading);
}

.hero-slide-text p {
  color: rgba(255,255,255,.72);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 360px;
}

.hero-slide-img {
  flex: 0 0 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide-img img {
  width: 240px;
  height: 270px;
  object-fit: cover;
  border-radius: var(--radius-2xl);
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
  transform: perspective(900px) rotateY(-6deg);
  transition: transform .4s ease;
}

.hero-slide:hover .hero-slide-img img {
  transform: perspective(900px) rotateY(0);
}

/* dots inside slider */
.hero-slider-area .hero-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 8px 0;
  background: white;
}

.hero-dot {
  width: 8px;
  height: 8px;
  background: var(--gray-300);
  border-radius: 50px;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: var(--transition-fast);
}

.hero-dot.active { width: 26px; background: var(--primary); }

/* ── Mini Banners ──────────────────────────────────────────── */
.hero-mini-banners {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mini-banner {
  flex: 1;
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 115px;
  text-decoration: none;
  box-shadow: var(--shadow-card);
  transition: var(--transition-base);
}

.mini-banner:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }

.mini-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .35;
  transition: .4s;
}

.mini-banner:hover img { opacity: .5; transform: scale(1.05); }

.mini-banner-text {
  position: relative;
  z-index: 2;
  padding: 10px 12px;
  width: 100%;
}

.mini-banner-text small {
  display: block;
  font-size: 10px;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  letter-spacing: .5px;
  font-weight: 600;
}

.mini-banner-text span {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: white;
  font-family: var(--font-heading);
}

/* ══════════════════════════════════════════════════════════════
   TRUST STRIP
══════════════════════════════════════════════════════════════ */
.trust-strip {
  background: white;
  border-bottom: 1px solid var(--gray-200);
  padding: var(--space-4) 0;
  box-shadow: var(--shadow-sm);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-3);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3);
  border-radius: var(--radius-lg);
  transition: var(--transition-fast);
}

.trust-item:hover { background: var(--primary-bg); }

.trust-icon {
  width: 42px; height: 42px;
  background: var(--primary-bg);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--primary); flex-shrink: 0;
}

.trust-text strong { display: block; font-size: 13px; font-weight: 700; color: var(--gray-800); }
.trust-text span   { font-size: 11px; color: var(--gray-500); }

/* ══════════════════════════════════════════════════════════════
   CATEGORY ICON ROW
══════════════════════════════════════════════════════════════ */
.cat-icon-section {
  background: white;
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-100);
}

.cat-icon-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.cat-icon-row::-webkit-scrollbar { display: none; }

.cat-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  flex: 1 0 80px;
  min-width: 80px;
  text-decoration: none;
  padding: 10px 6px;
  border-radius: var(--radius-lg);
  transition: var(--transition-fast);
}

.cat-icon-item:hover { background: var(--primary-bg); }

.cat-icon-circle {
  width: 52px;
  height: 52px;
  background: var(--gray-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: var(--transition-fast);
}

.cat-icon-item:hover .cat-icon-circle {
  background: var(--primary-bg);
  transform: scale(1.1);
}

.cat-icon-item span {
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-700);
  text-align: center;
  line-height: 1.3;
}

/* ══════════════════════════════════════════════════════════════
   SECTION BLOCKS
══════════════════════════════════════════════════════════════ */
.section-block {
  padding: 32px 0;
}

.section-hd {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--gray-100);
  flex-wrap: wrap;
  gap: 12px;
}

.section-hd-left h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 3px;
  font-family: var(--font-heading);
}

.section-hd-left p {
  font-size: 13px;
  color: var(--gray-400);
  margin: 0;
}

.section-tag-flash {
  display: inline-block;
  background: var(--danger);
  color: white;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 6px;
}

.section-hd-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ── Flash Deals Section ───────────────────────────────────── */
.flash-deals-section {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent-blue) 100%);
}

.flash-deals-section .section-hd { border-bottom-color: rgba(255,255,255,.12); }
.flash-deals-section .section-hd-left h2 { color: white; }
.flash-deals-section .section-hd-left p  { color: rgba(255,255,255,.6); }

/* Countdown Timer */
.countdown-timer {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255,255,255,.12);
  border-radius: 8px;
  padding: 6px 10px;
  min-width: 44px;
  border: 1px solid rgba(255,255,255,.15);
}

.cd-num   { font-size: 18px; font-weight: 800; color: white; line-height: 1; font-family: var(--font-heading); }
.cd-label { font-size: 8px; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: 1px; margin-top: 2px; }
.cd-sep   { font-size: 18px; font-weight: 700; color: rgba(255,255,255,.4); margin-bottom: 10px; }

/* Scroll row */
.products-scroll-row {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.2) transparent;
  -webkit-overflow-scrolling: touch;
}

.products-scroll-row::-webkit-scrollbar { height: 4px; }
.products-scroll-row::-webkit-scrollbar-thumb { background: rgba(255,255,255,.25); border-radius: 2px; }

.products-scroll-row .product-card {
  flex: 0 0 200px;
  scroll-snap-align: start;
}

/* ── Featured Products Grid ────────────────────────────────── */
.products-tab-bar {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.products-tab {
  padding: 5px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-500);
  background: var(--gray-100);
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.products-tab:hover  { background: var(--primary-bg); color: var(--primary); }
.products-tab.active { background: var(--primary); color: white; }

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* ── Promo Strip ───────────────────────────────────────────── */
.promo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.promo-strip-item {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 140px;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  box-shadow: var(--shadow-card);
  transition: var(--transition-base);
}

.promo-strip-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }

.promo-strip-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .35;
  transition: .4s;
}

.promo-strip-item:hover img { opacity: .5; transform: scale(1.05); }

.promo-strip-text {
  position: relative;
  z-index: 2;
  padding: 14px 16px;
}

.promo-strip-text small {
  display: block;
  font-size: 11px;
  color: rgba(255,255,255,.7);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.promo-strip-text strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: white;
  font-family: var(--font-heading);
}

/* ── Vendors Grid ──────────────────────────────────────────── */
.vendors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.vendor-card {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition-base);
  text-decoration: none;
  display: block;
}

.vendor-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }

.vendor-cover { height: 100px; position: relative; overflow: hidden; }

.vendor-cover img {
  width: 100%; height: 100%;
  object-fit: cover; opacity: .4;
  transition: .4s;
}

.vendor-card:hover .vendor-cover img { transform: scale(1.06); opacity: .5; }

.vendor-body { padding: 14px; position: relative; }

.vendor-avatar {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-xl);
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 800; font-size: 13px;
  border: 3px solid white; box-shadow: var(--shadow-md);
  margin-top: -28px; margin-bottom: 10px;
}

.vendor-name      { font-size: 14px; font-weight: 700; color: var(--gray-900); margin-bottom: 2px; }
.vendor-category  { font-size: 12px; color: var(--gray-400); margin-bottom: 8px; }
.vendor-stats     { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--gray-500); flex-wrap: wrap; }

/* ── Stats Section ─────────────────────────────────────────── */
.stats-section {
  background: linear-gradient(135deg, var(--secondary), var(--accent-blue));
  padding: 48px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.stat-item { text-align: center; padding: 16px; }
.stat-icon { font-size: 2.2rem; margin-bottom: 10px; display: block; }
.stat-num  { font-size: clamp(1.5rem,2vw,2.25rem); font-weight: 800; color: white; font-family: var(--font-heading); margin-bottom: 6px; line-height: 1; }
.stat-label{ font-size: 12px; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: 1px; font-weight: 500; }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ */
@media (max-width: 1200px) {
  .hero-layout          { grid-template-columns: 200px 1fr 180px; }
  .products-grid        { grid-template-columns: repeat(3, 1fr); }
  .vendors-grid         { grid-template-columns: repeat(2, 1fr); }
  .stats-grid           { grid-template-columns: repeat(3, 1fr); }
  .promo-strip          { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .hero-layout          { grid-template-columns: 1fr 160px; }
  .hero-cat-sidebar     { display: none; }
  .products-grid        { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .hero-layout          { grid-template-columns: 1fr; gap: 10px; }
  .hero-mini-banners    { flex-direction: row; gap: 8px; }
  .mini-banner          { min-height: 90px; }
  .hero-slider          { height: 260px; }
  .hero-slide-inner     { padding: 20px; height: 260px; }
  .hero-slide-img       { display: none; }
  .hero-slide-text h2   { font-size: 1.3rem; }

  .trust-grid           { grid-template-columns: repeat(2, 1fr); }
  .cat-icon-row         { gap: 4px; }
  .cat-icon-item        { min-width: 65px; padding: 8px 4px; }
  .cat-icon-circle      { width: 44px; height: 44px; font-size: 20px; }

  .products-grid        { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .vendors-grid         { grid-template-columns: repeat(2, 1fr); }
  .stats-grid           { grid-template-columns: repeat(2, 1fr); }
  .promo-strip          { grid-template-columns: 1fr 1fr; }
  .section-hd           { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .products-grid        { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .promo-strip          { grid-template-columns: 1fr; }
  .stats-grid           { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .trust-grid           { grid-template-columns: 1fr; }
  .hero-mini-banners    { display: none; }
}
