/* ==========================================================================
   ElectroMart India - Premium WoodMart Custom Styling
   ========================================================================== */

/* --- CIRCULAR REALISTIC CATEGORIES (Replaces boring icon cards) --- */
.electromart-wp-section {
  max-width: 1280px;
  margin: 50px auto;
  padding: 0 20px;
}

.electromart-section-title {
  text-align: center;
  margin-bottom: 35px;
  position: relative;
}

.electromart-section-title h2 {
  font-family: 'Outfit', sans-serif, -apple-system;
  font-size: 32px;
  font-weight: 800;
  color: #0a192f;
  margin: 0 0 8px 0;
  letter-spacing: -0.5px;
}

.electromart-section-title p {
  color: #64748b;
  font-size: 15px;
  margin: 0;
}

.electromart-section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: #0284c7;
  margin: 12px auto 0 auto;
  border-radius: 99px;
}

/* Category Circular Grid */
.electromart-circles-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  justify-items: center;
}

@media (max-width: 1024px) {
  .electromart-circles-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 20px;
  }
}

@media (max-width: 576px) {
  .electromart-circles-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px 15px;
  }
}

.category-circle-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  group: hover;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.category-circle-item:hover {
  transform: translateY(-8px);
}

/* Outer Glowing Ring */
.circle-img-wrapper {
  width: 135px;
  height: 135px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.35s ease;
  position: relative;
}

.category-circle-item:hover .circle-img-wrapper {
  background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%);
  box-shadow: 0 14px 28px rgba(2, 132, 199, 0.25);
}

/* Inner Image Crop */
.circle-img-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: #f8fafc;
  position: relative;
}

.circle-img-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.category-circle-item:hover .circle-img-inner img {
  transform: scale(1.12);
}

/* Category Labels */
.category-circle-name {
  font-family: 'Outfit', sans-serif, -apple-system;
  font-size: 15px;
  font-weight: 700;
  color: #0a192f;
  margin-top: 14px;
  text-align: center;
  line-height: 1.3;
  transition: color 0.2s ease;
}

.category-circle-item:hover .category-circle-name {
  color: #0284c7;
}

.category-circle-sub {
  font-size: 12px;
  color: #64748b;
  margin-top: 3px;
  text-align: center;
  font-weight: 500;
}

/* --- HERO SLIDER --- */
.electromart-wp-hero-slider {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 15px auto 40px auto;
  overflow: hidden;
  border-radius: 16px;
  background: #000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.hero-slides-wrapper {
  position: relative;
  width: 100%;
  height: 480px;
}

@media (max-width: 992px) {
  .hero-slides-wrapper {
    height: 340px;
  }
}

@media (max-width: 576px) {
  .hero-slides-wrapper {
    height: 220px;
  }
}

.hero-slides-wrapper .hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease-in-out;
}

.hero-slides-wrapper .hero-slide.active {
  opacity: 1;
  visibility: visible;
}

.hero-slides-wrapper .hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.electromart-wp-hero-slider .slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  border: none;
  font-size: 26px;
  line-height: 1;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a192f;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: all 0.2s ease;
}

.electromart-wp-hero-slider .slider-btn:hover {
  background: #ffffff;
  color: #0284c7;
  transform: translateY(-50%) scale(1.08);
}

.electromart-wp-hero-slider .prev-slide { left: 16px; }
.electromart-wp-hero-slider .next-slide { right: 16px; }

/* --- DYNAMIC PRODUCT CARDS (Fixes Placeholder Image Issue) --- */
.electromart-products-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 20px;
}

@media (max-width: 1024px) {
  .electromart-products-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .electromart-products-row {
    grid-template-columns: 1fr;
  }
}

.electromart-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.electromart-card:hover {
  transform: translateY(-5px);
  border-color: #cbd5e1;
  box-shadow: 0 16px 32px rgba(2, 132, 199, 0.12);
}

.card-badge-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #ef4444;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  z-index: 5;
}

.card-badge-bestseller {
  background: #f97316;
}

.card-img-holder {
  position: relative;
  width: 100%;
  padding-top: 90%;
  background: #f8fafc;
  overflow: hidden;
}

.card-img-holder img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.electromart-card:hover .card-img-holder img {
  transform: scale(1.08);
}

.card-content-area {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-cat-label {
  font-size: 11px;
  color: #64748b;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.card-prod-title {
  font-family: 'Outfit', sans-serif, -apple-system;
  font-size: 15px;
  font-weight: 700;
  color: #0a192f;
  line-height: 1.35;
  margin: 0 0 8px 0;
  height: 42px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-rating-stars {
  color: #f59e0b;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 10px;
}

.card-stock-label {
  font-size: 12px;
  color: #10b981;
  font-weight: 600;
  margin-bottom: 10px;
}

.card-pricing-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
  margin-bottom: 14px;
}

.price-current {
  font-family: 'Outfit', sans-serif, -apple-system;
  font-size: 20px;
  font-weight: 800;
  color: #0a192f;
}

.price-mrp {
  font-size: 13px;
  color: #94a3b8;
  text-decoration: line-through;
}

.price-save {
  font-size: 12px;
  font-weight: 700;
  color: #ef4444;
}

.card-cart-btn {
  background: #0284c7;
  color: #ffffff !important;
  border: none;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  display: block;
  transition: background-color 0.2s ease;
}

.card-cart-btn:hover {
  background: #0369a1;
}

/* --- TRUST PILLARS / VALUE PROPOSITION (Redesigned) --- */
.electromart-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 992px) {
  .electromart-trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .electromart-trust-grid {
    grid-template-columns: 1fr;
  }
}

.trust-pillar-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.trust-pillar-card:hover {
  border-color: #0284c7;
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(2, 132, 199, 0.1);
}

.pillar-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(2, 132, 199, 0.1);
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.pillar-text-wrap h4 {
  font-family: 'Outfit', sans-serif, -apple-system;
  font-size: 16px;
  font-weight: 700;
  color: #0a192f;
  margin: 0 0 6px 0;
}

.pillar-text-wrap p {
  font-size: 13px;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

/* --- FOOTER OVERRIDES (Hiding US Demo Stores) --- */
.wd-prefooter,
.footer-prefooter,
.woodmart-prefooter {
  display: none !important;
}

.electromart-footer-clean-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif, -apple-system;
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  text-decoration: none;
  margin-bottom: 15px;
}

.electromart-footer-clean-logo span {
  color: #38bdf8;
}
