/* ============================================================================
   MADHUBANI HUES — Homepage Redesign Stylesheet
   Scoped to .mh-homepage to avoid leaking into other pages.
   ============================================================================ */

/* ---------- Design Tokens ---------- */
.mh-homepage {
  --mh-red: #B5322A;
  --mh-red-dark: #8B1A10;
  --mh-red-light: #D94A42;
  --mh-gold: #C6952B;
  --mh-gold-light: #E8C547;
  --mh-gold-pale: #F5E6C8;
  --mh-green: #1B6B4A;
  --mh-green-dark: #0E3D2A;
  --mh-indigo: #2C3E50;
  --mh-cream: #FDF5E6;
  --mh-cream-warm: #FAF0E6;
  --mh-cream-dark: #F0E4D0;
  --mh-text: #2D2D2D;
  --mh-text-mid: #555;
  --mh-text-light: #777;
  --mh-white: #fff;
  --mh-lotus: #E8B4B8;
  --mh-border: #E5D5C3;
  --mh-shadow-sm: 0 2px 8px rgba(0,0,0,.06);
  --mh-shadow: 0 4px 20px rgba(0,0,0,.08);
  --mh-shadow-lg: 0 12px 40px rgba(0,0,0,.12);
  --mh-radius: 8px;
  --mh-radius-lg: 16px;
  --mh-container: 1280px;
  --mh-font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --mh-font-accent: 'Cormorant Garamond', Georgia, serif;
  --mh-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mh-transition: .35s cubic-bezier(.4,0,.2,1);
}

/* ---------- Reset for homepage content area ---------- */
.mh-homepage {
  width: 100%;
  overflow-x: hidden;
  color: var(--mh-text);
  font-family: var(--mh-font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background: var(--mh-cream);
}
.mh-homepage *, .mh-homepage *::before, .mh-homepage *::after { box-sizing: border-box; }
.mh-homepage img { max-width: 100%; height: auto; display: block; }
.mh-homepage a { text-decoration: none; color: inherit; }

/* ---------- Full Width Wrapper Override ---------- */
.home #content > .container,
.home #content > .col-full,
.page-id-5241 #content > .container,
.page-id-5241 #content > .col-full {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* ---------- Container ---------- */
.mh-container {
  max-width: var(--mh-container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Section Shared ---------- */
.mh-section {
  padding: 80px 0;
  position: relative;
}
.mh-section__header {
  text-align: center;
  margin-bottom: 48px;
}
.mh-section__label {
  display: inline-block;
  font-family: var(--mh-font-body);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--mh-gold);
  margin-bottom: 12px;
}
.mh-section__title {
  font-family: var(--mh-font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--mh-text);
  margin: 0 0 4px;
  line-height: 1.2;
}
.mh-section__subtitle {
  font-family: var(--mh-font-accent);
  font-size: 1.15rem;
  color: var(--mh-text-light);
  max-width: 560px;
  margin: 8px auto 0;
}

/* Decorative divider */
.mh-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
}
.mh-divider::before, .mh-divider::after {
  content: '';
  width: 50px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--mh-gold), transparent);
}
.mh-divider__dot {
  width: 8px; height: 8px;
  background: var(--mh-gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ---------- Buttons ---------- */
.mh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  border-radius: 4px;
  font-family: var(--mh-font-body);
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .8px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--mh-transition);
  border: 2px solid transparent;
}
.mh-btn--primary {
  background: var(--mh-red);
  color: var(--mh-white);
  border-color: var(--mh-red);
}
.mh-btn--primary:hover {
  background: var(--mh-red-dark);
  border-color: var(--mh-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(181,50,42,.3);
}
.mh-btn--outline {
  background: transparent;
  color: var(--mh-white);
  border-color: var(--mh-white);
}
.mh-btn--outline:hover {
  background: var(--mh-white);
  color: var(--mh-red);
  transform: translateY(-2px);
}
.mh-btn--gold {
  background: var(--mh-gold);
  color: var(--mh-white);
  border-color: var(--mh-gold);
}
.mh-btn--gold:hover {
  background: #A87B1F;
  border-color: #A87B1F;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(198,149,43,.3);
}
.mh-btn--dark-outline {
  background: transparent;
  color: var(--mh-red);
  border-color: var(--mh-red);
}
.mh-btn--dark-outline:hover {
  background: var(--mh-red);
  color: var(--mh-white);
  transform: translateY(-2px);
}

/* ========================================================================
   SECTION 1 — SLIDER HERO
   ======================================================================== */
.mh-slider-section {
  position: relative;
  width: 100%;
  height: 80vh;
  min-height: 550px;
  background: #000;
  overflow: hidden;
}
.mh-slider {
  position: relative;
  width: 100%;
  height: 100%;
}
.mh-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 1;
  background-size: cover;
  background-position: center;
  transition: opacity 0.8s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mh-slide.active {
  opacity: 1;
  z-index: 2;
}
.mh-slide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27,27,27,0.75) 0%, rgba(139,26,16,0.35) 50%, rgba(0,0,0,0.85) 100%);
  z-index: 3;
}
.mh-slide__content {
  position: relative;
  z-index: 4;
  max-width: 800px;
  padding: 0 24px;
  text-align: center;
  color: var(--mh-white);
}

/* Ken Burns effect on active slide */
.mh-slide.active {
  animation: kenBurns 10s ease forwards;
}

/* Highly reliable CSS transitions for text elements */
.mh-slide__label {
  display: block;
  font-family: var(--mh-font-body);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--mh-gold-light);
  margin-bottom: 20px;
  transform: translateY(20px);
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
  transition-delay: 0.2s;
}
.mh-slide.active .mh-slide__label {
  transform: translateY(0);
  opacity: 1;
}

.mh-slide__title {
  font-family: var(--mh-font-display);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 700;
  color: var(--mh-white);
  margin: 0 0 16px;
  line-height: 1.1;
  transform: translateY(30px);
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
  transition-delay: 0.4s;
}
.mh-slide.active .mh-slide__title {
  transform: translateY(0);
  opacity: 1;
}

.mh-slide__desc {
  font-family: var(--mh-font-accent);
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  color: rgba(255,255,255,.9);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.6;
  transform: translateY(30px);
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
  transition-delay: 0.6s;
}
.mh-slide.active .mh-slide__desc {
  transform: translateY(0);
  opacity: 1;
}

.mh-slide .mh-btn {
  transform: translateY(30px);
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
  transition-delay: 0.8s;
}
.mh-slide.active .mh-btn {
  transform: translateY(0);
  opacity: 1;
}

/* Navigation arrows */
.mh-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  color: var(--mh-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--mh-transition);
}
.mh-slider__arrow:hover {
  background: var(--mh-red);
  border-color: var(--mh-red);
  transform: translateY(-50%) scale(1.05);
}
.mh-slider__arrow--prev { left: 30px; }
.mh-slider__arrow--next { right: 30px; }

/* Navigation dots */
.mh-slider__dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}
.mh-slider__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all var(--mh-transition);
}
.mh-slider__dot.active {
  background: var(--mh-gold-light);
  transform: scale(1.2);
}

@keyframes kenBurns {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}

/* ========================================================================
   SECTION 2 — CATEGORIES
   ======================================================================== */
.mh-categories { background: var(--mh-cream); }

.mh-categories__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.mh-category-card {
  position: relative;
  border-radius: var(--mh-radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  display: block;
  box-shadow: var(--mh-shadow);
  transition: all var(--mh-transition);
}
.mh-category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--mh-shadow-lg);
}
.mh-category-card__image {
  position: absolute;
  inset: 0;
}
.mh-category-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.mh-category-card:hover .mh-category-card__image img {
  transform: scale(1.08);
}
.mh-category-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, rgba(0,0,0,.15) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  transition: background var(--mh-transition);
}
.mh-category-card:hover .mh-category-card__overlay {
  background: linear-gradient(to top, rgba(0,0,0,.8) 0%, rgba(0,0,0,.25) 55%, transparent 100%);
}
.mh-category-card__name {
  font-family: var(--mh-font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--mh-white);
  margin: 0 0 4px;
  line-height: 1.2;
}
.mh-category-card__count {
  font-size: .8rem;
  color: rgba(255,255,255,.7);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
}
.mh-category-card--no-image {
  background: linear-gradient(135deg, var(--mh-cream-dark), var(--mh-gold-pale));
}
.mh-category-card--no-image .mh-category-card__overlay {
  background: linear-gradient(to top, rgba(181,50,42,.85) 0%, rgba(181,50,42,.3) 100%);
}

/* ========================================================================
   SECTION 3 — NEW ARRIVALS
   ======================================================================== */
.mh-arrivals { background: var(--mh-white); }

.mh-homepage .mh-products-wrap ul.products,
.mh-homepage .mh-bestsellers-wrap ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.mh-homepage .mh-products-wrap ul.products li.product,
.mh-homepage .mh-bestsellers-wrap ul.products li.product {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  padding: 0;
  background: var(--mh-white);
  border-radius: var(--mh-radius);
  overflow: hidden;
  box-shadow: var(--mh-shadow-sm);
  transition: all var(--mh-transition);
  border: 1px solid rgba(0,0,0,.04);
}
.mh-homepage .mh-products-wrap ul.products li.product:hover,
.mh-homepage .mh-bestsellers-wrap ul.products li.product:hover {
  transform: translateY(-4px);
  box-shadow: var(--mh-shadow);
}
.mh-homepage .mh-products-wrap ul.products li.product a img,
.mh-homepage .mh-bestsellers-wrap ul.products li.product a img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 0;
  transition: transform .5s ease;
}
.mh-homepage .mh-products-wrap ul.products li.product:hover a img,
.mh-homepage .mh-bestsellers-wrap ul.products li.product:hover a img {
  transform: scale(1.05);
}
.mh-homepage .mh-products-wrap ul.products li.product a,
.mh-homepage .mh-bestsellers-wrap ul.products li.product a {
  overflow: hidden;
  display: block;
}
.mh-homepage .mh-products-wrap ul.products li.product .woocommerce-loop-product__title,
.mh-homepage .mh-bestsellers-wrap ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--mh-font-accent) !important;
  font-size: 1.05rem !important;
  font-weight: 500;
  color: var(--mh-text);
  padding: 14px 16px 4px !important;
  margin: 0;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mh-homepage .mh-products-wrap ul.products li.product .price,
.mh-homepage .mh-bestsellers-wrap ul.products li.product .price {
  padding: 4px 16px 6px;
  font-family: var(--mh-font-body);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--mh-red) !important;
}
.mh-homepage .mh-products-wrap ul.products li.product .price del,
.mh-homepage .mh-bestsellers-wrap ul.products li.product .price del {
  color: var(--mh-text-light) !important;
  font-weight: 400;
  font-size: .85rem;
}
.mh-homepage .mh-products-wrap ul.products li.product .price ins,
.mh-homepage .mh-bestsellers-wrap ul.products li.product .price ins {
  text-decoration: none;
}
.mh-homepage .mh-products-wrap ul.products li.product .button,
.mh-homepage .mh-bestsellers-wrap ul.products li.product .button {
  display: block !important;
  margin: 8px 16px 16px !important;
  padding: 10px !important;
  background: var(--mh-red) !important;
  color: var(--mh-white) !important;
  border: none !important;
  border-radius: 4px !important;
  font-family: var(--mh-font-body) !important;
  font-size: .82rem !important;
  font-weight: 500 !important;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
  transition: all var(--mh-transition) !important;
  cursor: pointer;
}
.mh-homepage .mh-products-wrap ul.products li.product .button:hover,
.mh-homepage .mh-products-wrap ul.products li.product .button:hover {
  background: var(--mh-red-dark) !important;
}
.mh-homepage .mh-products-wrap ul.products li.product .onsale,
.mh-homepage .mh-bestsellers-wrap ul.products li.product .onsale {
  background: var(--mh-gold) !important;
  color: var(--mh-white) !important;
  font-size: .75rem;
  padding: 4px 12px;
  border-radius: 4px;
  font-weight: 600;
}
.mh-homepage .mh-products-wrap ul.products li.product .star-rating,
.mh-homepage .mh-bestsellers-wrap ul.products li.product .star-rating {
  margin: 4px 16px;
  font-size: .75rem;
}
.mh-view-all {
  text-align: center;
  margin-top: 40px;
}

/* ========================================================================
   SECTION 4 — BRAND STORY
   ======================================================================== */
.mh-story {
  background: var(--mh-cream);
  overflow: hidden;
}
.mh-story__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 480px;
  border-radius: var(--mh-radius-lg);
  overflow: hidden;
  box-shadow: var(--mh-shadow);
}
.mh-story__text {
  background: var(--mh-cream-warm);
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.mh-story__label {
  font-family: var(--mh-font-body);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--mh-gold);
  margin-bottom: 16px;
}
.mh-story__title {
  font-family: var(--mh-font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 700;
  color: var(--mh-text);
  margin: 0 0 16px;
  line-height: 1.2;
}
.mh-story__desc {
  font-family: var(--mh-font-body);
  font-size: .95rem;
  color: var(--mh-text-mid);
  line-height: 1.8;
  margin: 0 0 28px;
}
.mh-story__visual {
  position: relative;
  background: linear-gradient(135deg, var(--mh-red) 0%, var(--mh-green-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.mh-story__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .9;
  transition: transform .6s ease;
}
.mh-story__visual:hover img {
  transform: scale(1.04);
}
.mh-story__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40"><path d="M20 0 L40 20 L20 40 L0 20Z" fill="none" stroke="rgba(255,255,255,.06)" stroke-width=".5"/></svg>');
  pointer-events: none;
}
.mh-story__pattern {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  color: rgba(255,255,255,.15);
}

/* ========================================================================
   SECTION 5 — BESTSELLERS
   ======================================================================== */
.mh-bestsellers { background: var(--mh-cream-warm); }

/* ========================================================================
   SECTION 6 — CUSTOM ORDER CTA
   ======================================================================== */
.mh-custom-order {
  background: linear-gradient(135deg, var(--mh-red) 0%, var(--mh-red-dark) 50%, var(--mh-green-dark) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.mh-custom-order::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="80" height="80" viewBox="0 0 80 80"><circle cx="40" cy="40" r="2" fill="none" stroke="rgba(255,255,255,.06)" stroke-width=".5"/><path d="M0 40h80M40 0v80" stroke="rgba(255,255,255,.03)" stroke-width=".3"/></svg>');
  pointer-events: none;
}
.mh-custom-order__content {
  position: relative;
  text-align: center;
  color: var(--mh-white);
}
.mh-custom-order__title {
  font-family: var(--mh-font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  margin: 0 0 12px;
}
.mh-custom-order__subtitle {
  font-family: var(--mh-font-accent);
  font-size: 1.1rem;
  color: rgba(255,255,255,.8);
  margin: 0 0 36px;
}
.mh-features {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.mh-feature {
  text-align: center;
  max-width: 180px;
}
.mh-feature__icon {
  font-size: 2.2rem;
  margin-bottom: 10px;
  display: block;
}
.mh-feature__label {
  font-family: var(--mh-font-body);
  font-size: .88rem;
  font-weight: 500;
  color: rgba(255,255,255,.9);
}
.mh-feature__desc {
  font-size: .78rem;
  color: rgba(255,255,255,.6);
  margin-top: 4px;
}
.mh-custom-order__cta-wrap {
  margin-bottom: 16px;
}
.mh-custom-order__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  background: var(--mh-gold);
  color: var(--mh-white);
  border-radius: 50px;
  font-family: var(--mh-font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all var(--mh-transition);
  border: 2px solid var(--mh-gold);
}
.mh-custom-order__cta:hover {
  background: transparent;
  color: var(--mh-gold-light);
  border-color: var(--mh-gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.mh-custom-order__cta svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}
.mh-custom-order__urgency {
  font-size: .85rem;
  color: var(--mh-gold-light);
  font-style: italic;
}

/* ========================================================================
   SECTION 7 — TRUST BADGES
   ======================================================================== */
.mh-trust {
  background: var(--mh-white);
  padding: 60px 0;
  border-top: 1px solid var(--mh-border);
  border-bottom: 1px solid var(--mh-border);
}
.mh-trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.mh-trust__item {
  text-align: center;
  padding: 24px 16px;
  position: relative;
}
.mh-trust__item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--mh-border);
}
.mh-trust__icon {
  font-size: 2rem;
  margin-bottom: 10px;
  display: block;
}
.mh-trust__label {
  font-family: var(--mh-font-body);
  font-size: .9rem;
  font-weight: 600;
  color: var(--mh-text);
  margin-bottom: 4px;
}
.mh-trust__desc {
  font-size: .78rem;
  color: var(--mh-text-light);
}

/* ========================================================================
   SECTION 8 — PROMO BANNER
   ======================================================================== */
.mh-promo {
  background: linear-gradient(135deg, var(--mh-indigo) 0%, #1a2f40 100%);
  padding: 28px 0;
}
.mh-promo__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.mh-promo__text {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--mh-white);
  font-size: .95rem;
}
.mh-promo__badge {
  background: var(--mh-gold);
  color: var(--mh-white);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
}
.mh-promo__code {
  background: rgba(255,255,255,.15);
  color: var(--mh-gold-light);
  padding: 4px 14px;
  border-radius: 4px;
  font-family: monospace;
  font-weight: 700;
  letter-spacing: 2px;
  border: 1px dashed rgba(255,255,255,.3);
}
.mh-promo__cta {
  padding: 10px 28px;
  background: var(--mh-white);
  color: var(--mh-indigo);
  border-radius: 4px;
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .5px;
  transition: all var(--mh-transition);
}
.mh-promo__cta:hover {
  background: var(--mh-gold-light);
  color: var(--mh-text);
  transform: translateY(-1px);
}

/* ========================================================================
   SECTION 9 — FOOTER OVERRIDES (HOMEPAGE ONLY)
   ======================================================================== */
.home .site-footer,
.page-id-5241 .site-footer {
  background: var(--mh-cream-warm) !important;
  color: var(--mh-text) !important;
  padding: 80px 0 40px !important;
  border-top: 3px solid var(--mh-gold) !important;
  position: relative !important;
}

.home .site-footer::before,
.page-id-5241 .site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 60 60"><path d="M30 0 C35 15, 45 15, 30 30 C15 15, 25 15, 30 0 Z" fill="rgba(198,149,43,.02)"/></svg>');
  pointer-events: none;
}

/* Center all Elementor Containers and Columns inside the Footer */
.home .site-footer .e-con,
.home .site-footer .e-container,
.home .site-footer .elementor-container,
.home .site-footer .elementor-column,
.home .site-footer .elementor-widget-wrap,
.home .site-footer .elementor-widget-container,
.page-id-5241 .site-footer .e-con,
.page-id-5241 .site-footer .e-container,
.page-id-5241 .site-footer .elementor-container,
.page-id-5241 .site-footer .elementor-column,
.page-id-5241 .site-footer .elementor-widget-wrap,
.page-id-5241 .site-footer .elementor-widget-container {
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

/* Ensure flex columns stack vertically when centered */
.home .site-footer .e-con.e-flex,
.home .site-footer .e-container.e-flex,
.page-id-5241 .site-footer .e-con.e-flex,
.page-id-5241 .site-footer .e-container.e-flex {
  flex-direction: column !important;
}

/* Center all footer headings & links */
.home .site-footer .elementor-heading-title,
.home .site-footer .elementor-heading-title a,
.page-id-5241 .site-footer .elementor-heading-title,
.page-id-5241 .site-footer .elementor-heading-title a {
  color: var(--mh-red-dark) !important;
  font-family: var(--mh-font-display) !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  text-align: center !important;
}

/* Align paragraphs and desc text */
.home .site-footer p,
.home .site-footer .elementor-icon-box-description,
.page-id-5241 .site-footer p,
.page-id-5241 .site-footer .elementor-icon-box-description {
  color: var(--mh-text) !important;
  font-family: var(--mh-font-body) !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  line-height: 1.6 !important;
  text-align: center !important;
}

.home .site-footer a,
.page-id-5241 .site-footer a {
  color: var(--mh-red) !important;
  font-weight: 600 !important;
  transition: color var(--mh-transition) !important;
}
.home .site-footer a:hover,
.page-id-5241 .site-footer a:hover {
  color: var(--mh-red-dark) !important;
  text-decoration: underline !important;
}

/* Center and stack icon box layout */
.home .site-footer .elementor-icon-box-wrapper,
.page-id-5241 .site-footer .elementor-icon-box-wrapper {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  margin-bottom: 24px !important;
  text-align: center !important;
}

.home .site-footer .elementor-icon-box-icon,
.page-id-5241 .site-footer .elementor-icon-box-icon {
  background-color: var(--mh-red) !important;
  color: var(--mh-white) !important;
  border-radius: 50% !important;
  padding: 10px !important;
  width: 44px !important;
  height: 44px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto !important;
  transition: all var(--mh-transition) !important;
}
.home .site-footer .elementor-icon-box-icon:hover,
.page-id-5241 .site-footer .elementor-icon-box-icon:hover {
  background-color: var(--mh-red-dark) !important;
  transform: scale(1.08);
}
.home .site-footer .elementor-icon-box-icon svg,
.page-id-5241 .site-footer .elementor-icon-box-icon svg {
  width: 20px !important;
  height: 20px !important;
  fill: currentColor !important;
}

/* Center social media section */
.home .site-footer .elementor-social-icons-wrapper,
.page-id-5241 .site-footer .elementor-social-icons-wrapper {
  justify-content: center !important;
  gap: 12px !important;
  margin: 24px auto 0 !important;
}
.home .site-footer .elementor-social-icon,
.page-id-5241 .site-footer .elementor-social-icon {
  background-color: var(--mh-red) !important;
  color: var(--mh-white) !important;
  transition: all var(--mh-transition) !important;
}
.home .site-footer .elementor-social-icon:hover,
.page-id-5241 .site-footer .elementor-social-icon:hover {
  background-color: var(--mh-red-dark) !important;
  transform: translateY(-2px);
}

/* ========================================================================
   ANIMATIONS
   ======================================================================== */
.mh-animate { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.mh-animate.mh-visible { opacity: 1; transform: translateY(0); }
.mh-animate-delay-1 { transition-delay: .1s; }
.mh-animate-delay-2 { transition-delay: .2s; }
.mh-animate-delay-3 { transition-delay: .3s; }

/* ========================================================================
   RESPONSIVE
   ======================================================================== */
@media (max-width: 1024px) {
  .mh-categories__grid { grid-template-columns: repeat(2, 1fr); }
  .mh-homepage .mh-products-wrap ul.products,
  .mh-homepage .mh-bestsellers-wrap ul.products { grid-template-columns: repeat(3, 1fr); }
  .mh-story__grid { grid-template-columns: 1fr; }
  .mh-story__visual { min-height: 320px; }
  .mh-trust__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .mh-trust__item::after { display: none; }
}
@media (max-width: 768px) {
  .mh-section { padding: 56px 0; }
  .mh-slider-section { height: 60vh; min-height: 400px; }
  .mh-slider__arrow { width: 40px; height: 40px; font-size: 1.2rem; }
  .mh-slider__arrow--prev { left: 15px; }
  .mh-slider__arrow--next { right: 15px; }
  .mh-categories__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .mh-category-card { aspect-ratio: 4/5; }
  .mh-homepage .mh-products-wrap ul.products,
  .mh-homepage .mh-bestsellers-wrap ul.products { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .mh-features { gap: 24px; }
  .mh-feature { max-width: 140px; }
  .mh-story__text { padding: 36px 24px; }
  .mh-promo__content { justify-content: center; text-align: center; }
}
@media (max-width: 480px) {
  .mh-slider-section { height: 50vh; min-height: 350px; }
  .mh-slide__title { font-size: 1.8rem; }
  .mh-slide__desc { font-size: 1rem; }
  .mh-categories__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .mh-category-card__name { font-size: 1rem; }
  .mh-homepage .mh-products-wrap ul.products,
  .mh-homepage .mh-bestsellers-wrap ul.products { grid-template-columns: 1fr 1fr; gap: 10px; }
  .mh-trust__grid { grid-template-columns: 1fr 1fr; }
  .mh-features { flex-direction: column; align-items: center; }
  .mh-promo__text { flex-direction: column; text-align: center; }
}

/* ========================================================================
   UTILITY — Hide Electro theme default homepage widgets if any leak
   ======================================================================== */
.home .stretch-full-width > .col-full,
.home #content .site-content-inner,
.page-id-5241 .stretch-full-width > .col-full,
.page-id-5241 #content .site-content-inner {
  max-width: 100%;
  padding: 0;
}
.home .site-content,
.page-id-5241 .site-content {
  padding-top: 0;
}
