/* =============================================================================
   Imam Motors — Homepage Visual Overrides
   Applied only on pages with body.homepage
   ============================================================================= */

/* ─── Typography override: Tajawal ─── */
body.homepage {
  font-family: "Tajawal", sans-serif;
  font-weight: 400;
  background: #fafbfd;
}

body.homepage h1, body.homepage .h1,
body.homepage h2, body.homepage .h2,
body.homepage h3, body.homepage .h3,
body.homepage h4, body.homepage .h4,
body.homepage h5, body.homepage .h5,
body.homepage h6, body.homepage .h6 {
  font-family: "Tajawal", sans-serif;
}

body.homepage p {
  font-family: "Tajawal", sans-serif;
  line-height: 1.85;
}

/* ─── 1. Header — Purple on Top → Lighter on Scroll ─── */
body.homepage .top-header-area.transparent-header {
  background: linear-gradient(135deg, #35206f 0%, #5c38c8 100%);
  border-bottom: 1px solid rgba(92, 56, 200, 0.25);
  box-shadow: 0 4px 24px rgba(53, 32, 111, 0.35);
  backdrop-filter: blur(10px);
  transition: background 0.5s ease, box-shadow 0.5s ease, border-color 0.5s ease, backdrop-filter 0.5s ease;
}

body.homepage .sticky-wrapper.is-sticky .top-header-area.transparent-header {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: rgba(75, 46, 167, 0.08);
  box-shadow: 0 6px 24px rgba(17, 19, 27, 0.08);
  backdrop-filter: blur(18px);
}

/* Logo pill — white pill on dark header, subtle on light header */
body.homepage .transparent-header .site-logo a {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 6px 18px rgba(17, 19, 27, 0.1);
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

body.homepage .sticky-wrapper.is-sticky .transparent-header .site-logo a {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(75, 46, 167, 0.1);
  box-shadow: 0 4px 14px rgba(17, 19, 27, 0.06);
}

/* Nav links — white text on solid dark header */
body.homepage .transparent-header nav.main-menu ul li a {
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  transition: color 0.35s ease, text-shadow 0.35s ease;
}

/* Nav links — dark text on light scrolled header */
body.homepage .sticky-wrapper.is-sticky .transparent-header nav.main-menu ul li a {
  color: rgba(12, 28, 47, 0.88);
  text-shadow: none;
}

body.homepage .transparent-header nav.main-menu ul li:hover > a,
body.homepage .transparent-header nav.main-menu ul li.current-list-item > a {
  color: var(--im-accent);
}

body.homepage .sticky-wrapper.is-sticky .transparent-header nav.main-menu ul li:hover > a,
body.homepage .sticky-wrapper.is-sticky .transparent-header nav.main-menu ul li.current-list-item > a {
  color: var(--im-primary);
}

/* Icons — white on dark top, dark on light scroll */
body.homepage .transparent-header .header-icons a {
  color: rgba(255, 255, 255, 0.92);
  transition: color 0.35s ease;
}

body.homepage .sticky-wrapper.is-sticky .transparent-header .header-icons a {
  color: rgba(12, 28, 47, 0.8);
}

/* ─── 2. Hero — CSS-Only Crossfade Slider ─── */
body.homepage .hero-area {
  height: 100vh;
  min-height: 550px;
  max-height: 900px;
  position: relative;
  overflow: hidden;
}

/* Kill the old hero-area::after from main.css */
body.homepage .hero-area:after {
  display: none !important;
}

.hero-css-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 550px;
  max-height: 900px;
}

/* Each slide stacks on top of each other */
.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: heroFade 18s infinite;
  z-index: 0;
}

.hero-slide-1 { animation-delay: 0s; }
.hero-slide-2 { animation-delay: 6s; }
.hero-slide-3 { animation-delay: 12s; }

/* First slide visible by default */
.hero-slide-1 { opacity: 1; }

@keyframes heroFade {
  0%   { opacity: 0; }
  5%   { opacity: 1; }
  33%  { opacity: 1; }
  38%  { opacity: 0; }
  100% { opacity: 0; }
}

/* Dark overlay on each slide */
.hero-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(
    160deg,
    rgba(11, 9, 22, 0.6) 0%,
    rgba(36, 22, 61, 0.35) 45%,
    rgba(17, 19, 27, 0.45) 100%
  );
}

/* Content sits above the overlay */
.hero-slide > .container {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide > .container .row {
  width: 100%;
}

.hero-slide-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 0 60px;
}

/* Background images */
body.homepage .homepage-bg-1 {
  background-image: url(../img/products/22.jpg);
}
body.homepage .homepage-bg-2 {
  background-image: url(../img/products/33.jpg);
}
body.homepage .homepage-bg-3 {
  background-image: url(../img/products/44.jpg);
}

body.homepage .hero-text-tablecell {
  padding: 120px 0 60px;
}

body.homepage .hero-text p.subtitle,
body.homepage .hero-slide-content p.subtitle {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 500;
  letter-spacing: 3px;
  font-size: 0.92rem;
  text-transform: uppercase;
  margin-bottom: 12px;
}

body.homepage .hero-text h1,
body.homepage .hero-slide-content h1 {
  font-size: 2.7rem;
  font-weight: 800;
  line-height: 1.35;
  color: #fff;
  margin-bottom: 16px;
  text-shadow: 0 6px 28px rgba(0, 0, 0, 0.3);
}

body.homepage .hero-text .hero-lead,
body.homepage .hero-slide-content .hero-lead {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  margin: 0 auto;
  max-width: 560px;
  line-height: 1.85;
}

body.homepage .hero-btns {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
  height: auto !important;
  flex-grow: 0 !important;
  flex-shrink: 0 !important;
}

body.homepage .hero-btns a {
  min-width: 165px;
  font-weight: 700;
  padding: 12px 28px;
  text-align: center;
  font-size: 0.95rem;
  border-radius: 50px;
  height: auto !important;
  align-self: center !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

/* Compare hero button — elegant secondary */
body.homepage .compare-hero-btn {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(198, 31, 62, 0.35);
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 50px;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

body.homepage .compare-hero-btn:hover {
  background: rgba(255, 255, 255, 0.94);
  color: var(--im-primary-strong);
  border-color: transparent;
}

/* Hero slider navigation arrows */
body.homepage .owl-prev,
body.homepage .owl-next {
  position: absolute;
  top: 50%;
  margin-top: -28px;
  z-index: 10;
  color: rgba(255, 255, 255, 0.6);
  font-size: 36px;
  transition: color 0.3s ease;
}

body.homepage .owl-prev:hover,
body.homepage .owl-next:hover {
  color: #fff;
}

body.homepage .owl-prev {
  left: 30px;
}

body.homepage .owl-next {
  right: 30px;
}

/* ─── 3. Value Blocks ─── */
.value-blocks-section {
  padding: 70px 0 50px;
  background: #fafbfd;
}

.value-block {
  display: block;
  background: #fff;
  border-radius: 22px;
  padding: 36px 28px 30px;
  text-align: center;
  box-shadow: 0 14px 40px rgba(17, 19, 27, 0.06);
  border: 1px solid rgba(75, 46, 167, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  height: 100%;
  text-decoration: none !important;
  color: inherit;
}

.value-block:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 55px rgba(75, 46, 167, 0.12);
  border-color: rgba(75, 46, 167, 0.2);
  color: inherit;
}

.value-block-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(75, 46, 167, 0.1), rgba(198, 31, 62, 0.06));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: background 0.3s ease;
}

.value-block:hover .value-block-icon {
  background: linear-gradient(135deg, var(--im-primary), var(--im-primary-strong));
}

.value-block-icon i {
  font-size: 1.6rem;
  color: var(--im-primary);
  transition: color 0.3s ease;
}

.value-block:hover .value-block-icon i {
  color: #fff;
}

.value-block h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--im-dark);
}

.value-block p {
  font-size: 0.92rem;
  color: #5a6478;
  line-height: 1.75;
  margin-bottom: 16px;
}

.value-block-cta {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--im-primary);
  transition: color 0.3s ease;
}

.value-block:hover .value-block-cta {
  color: var(--im-accent);
}

.value-block-cta i {
  margin-right: 6px;
  transition: margin 0.3s ease;
}

[dir="rtl"] .value-block-cta i {
  margin-right: 0;
  margin-left: 6px;
}

.value-block:hover .value-block-cta i {
  margin-left: 10px;
}

/* ─── 4. Product Section Tightening ─── */
body.homepage .product-section .section-title {
  margin-bottom: 50px;
}

body.homepage .product-section .section-title h3 {
  font-size: 2rem;
  font-weight: 800;
}

/* Real photo product images — constrain to consistent card sizing */
body.homepage .product-image {
  overflow: hidden;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.homepage .product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

body.homepage .single-product-item {
  padding: 22px 18px 24px;
}

body.homepage .single-product-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
  margin-top: 14px;
}

body.homepage .single-product-item p.product-desc {
  font-size: 0.88rem;
  line-height: 1.65;
  margin: 8px 0 10px;
}

body.homepage p.product-price {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--im-primary-strong);
  margin-bottom: 10px;
}

body.homepage p.product-price span {
  font-size: 0.8rem;
  font-weight: 500;
  color: #7a849a;
}

/* Compare button — compact VS badge */
body.homepage .product-actions {
  grid-template-columns: 1fr auto;
  gap: 8px;
}

body.homepage .product-actions .compare-btn {
  width: auto;
  min-width: 0;
  padding: 8px 18px;
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

body.homepage .product-actions .compare-btn i {
  font-size: 0.72rem;
}

body.homepage .product-actions .cart-btn {
  font-size: 0.85rem;
  padding: 10px 18px;
}

/* ─── 5. Monthly Offer ─── */
body.homepage .cart-banner {
  border-radius: 0;
  margin: 0;
}

body.homepage .cart-banner .content-column h3 {
  font-size: 2rem;
  font-weight: 800;
}

body.homepage .cart-banner .content-column h4 {
  font-weight: 500;
  font-size: 1.3rem;
  opacity: 0.88;
}

body.homepage .cart-banner .content-column .text {
  font-size: 0.95rem;
  line-height: 1.85;
}

body.homepage .cart-banner .image-column .price-box .inner-price .price strong {
  color: #fff;
  font-size: 1.1rem;
}

body.homepage .cart-banner .image-column .price-box .inner-price .price {
  color: #fff;
  font-size: 1.4rem;
}

/* ─── 6. About Section ─── */
body.homepage .abt-section .abt-text h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 14px;
}

body.homepage .abt-section .abt-text p.top-sub {
  font-weight: 500;
  color: var(--im-primary);
  margin-bottom: 6px;
}

body.homepage .abt-bg {
  min-height: 380px;
  border-radius: 22px;
  background: #0a0d14;
  overflow: hidden;
  position: relative;
}

body.homepage .abt-bg img.abt-gif {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 22px;
}

/* pulsing play button */
body.homepage a.video-play-btn {
  background: linear-gradient(135deg, var(--im-accent), var(--im-accent-strong));
  color: #fff;
  animation: pulse-play 2.2s ease-in-out infinite;
}

@keyframes pulse-play {
  0%, 100% { box-shadow: 0 0 0 0 rgba(198, 31, 62, 0.35); }
  50% { box-shadow: 0 0 0 20px rgba(198, 31, 62, 0); }
}

/* ─── 7. Installment Banner ─── */
.installment-banner {
  padding: 0;
  margin: 0;
}

.installment-banner-inner {
  background: linear-gradient(135deg, #1a1d28 0%, #2d1d55 52%, #4b2ea7 100%);
  border-radius: 24px;
  color: #fff;
  padding: 48px 44px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  margin: 60px 0;
}

.installment-content {
  flex: 1;
  min-width: 260px;
}

.installment-content h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}

.installment-content p {
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.8;
}

.installment-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.installment-actions .boxed-btn {
  background: #fff;
  color: var(--im-primary-strong);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.installment-actions .boxed-btn:hover {
  background: var(--im-accent);
  color: #fff;
}

.installment-actions .bordered-btn {
  border-color: rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.9);
}

.installment-actions .bordered-btn:hover {
  background: rgba(255, 255, 255, 0.92);
  color: var(--im-primary-strong);
}

/* ─── 8. Latest Posts Tightening ─── */
body.homepage .latest-news .section-title {
  margin-bottom: 40px;
}

body.homepage .latest-news .section-title h3 {
  font-size: 2rem;
  font-weight: 800;
}

body.homepage .single-latest-news {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(17, 19, 27, 0.06);
  border: 1px solid rgba(75, 46, 167, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.homepage .single-latest-news:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(17, 19, 27, 0.1);
}

body.homepage .single-latest-news h3 {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.5;
}

body.homepage .latest-news a.boxed-btn {
  margin-top: 30px;
}

/* ─── 9. Footer Spacing ─── */
body.homepage .logo-carousel-section {
  padding: 35px 0;
}

body.homepage .footer-area {
  padding: 80px 0 60px;
}

body.homepage h2.widget-title {
  font-weight: 700;
  font-size: 1.2rem;
}

body.homepage .footer-box p {
  font-size: 0.9rem;
}

/* ─── 10. Section Spacing Rhythm ─── */
body.homepage .mt-80 {
  margin-top: 60px;
}

body.homepage .mb-80 {
  margin-bottom: 60px;
}

body.homepage .mb-60 {
  margin-bottom: 40px;
}

body.homepage .pt-80 {
  padding-top: 60px;
}

body.homepage .pb-80 {
  padding-bottom: 60px;
}

body.homepage .pb-60 {
  padding-bottom: 40px;
}

/* ─── 11. Section Title Global ─── */
body.homepage .section-title h3 {
  font-weight: 800;
}

body.homepage .section-title h3:after {
  background-color: var(--im-primary);
  height: 3px;
  width: 40px;
  border-radius: 2px;
}

body.homepage .section-title p {
  font-size: 0.92rem;
  max-width: 520px;
  color: #6a7588;
}

/* ─── Mobile Responsive ─── */
@media only screen and (max-width: 991px) {
  body.homepage .hero-area {
    height: auto;
    min-height: 0;
    max-height: none;
  }

  body.homepage .homepage-slider div.hero-text-tablecell {
    padding: 120px 0 70px;
  }

  body.homepage .hero-text h1 {
    font-size: 2rem;
    line-height: 1.35;
  }

  body.homepage .hero-text .hero-lead {
    font-size: 0.9rem;
  }

  body.homepage .hero-btns {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  body.homepage .hero-btns a,
  body.homepage .compare-hero-btn {
    width: 100%;
    max-width: 280px;
  }

  .value-blocks-section {
    padding: 40px 0 20px;
  }

  .value-block {
    padding: 28px 22px 24px;
    margin-bottom: 16px;
  }

  body.homepage .product-section .section-title {
    margin-bottom: 30px;
  }

  body.homepage .cart-banner {
    padding: 50px 20px;
  }

  .installment-banner-inner {
    flex-direction: column;
    padding: 32px 24px;
    margin: 40px 0;
    text-align: center;
  }

  .installment-actions {
    justify-content: center;
    width: 100%;
  }

  .installment-actions a {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  body.homepage .abt-bg {
    min-height: 260px;
    margin-bottom: 24px;
  }

  body.homepage .abt-section .abt-text {
    padding: 28px 22px;
  }

  body.homepage .footer-area {
    padding: 50px 0 40px;
  }

  /* Header on mobile — dark top state */
  body.homepage .transparent-header .site-logo a {
    background: rgba(255, 255, 255, 0.95);
    padding: 6px 10px;
  }

  body.homepage .transparent-header .site-logo img {
    max-height: 42px;
    width: auto;
  }

  /* Mean menu on dark header */
  body.homepage .mean-container a.meanmenu-reveal {
    color: #fff;
  }

  body.homepage .mean-container a.meanmenu-reveal span {
    background-color: #fff;
  }

  /* Mean menu when scrolled (light header) */
  body.homepage .sticky-wrapper.is-sticky .mean-container a.meanmenu-reveal {
    color: var(--im-dark);
  }

  body.homepage .sticky-wrapper.is-sticky .mean-container a.meanmenu-reveal span {
    background-color: var(--im-dark);
  }
}

@media only screen and (max-width: 767px) {
  body.homepage .homepage-slider div.hero-text-tablecell {
    padding: 110px 0 60px;
  }

  body.homepage .hero-text h1 {
    font-size: 1.7rem;
    line-height: 1.4;
  }

  body.homepage .hero-text p.subtitle {
    font-size: 0.78rem;
    letter-spacing: 2px;
  }

  body.homepage .hero-text .hero-lead {
    font-size: 0.85rem;
  }

  body.homepage .hero-btns a,
  body.homepage .compare-hero-btn {
    font-size: 0.88rem;
    padding: 10px 24px;
  }

  body.homepage .product-actions {
    grid-template-columns: 1fr;
  }

  body.homepage .product-actions .compare-btn {
    justify-content: center;
    width: 100%;
  }

  body.homepage .single-product-item {
    padding: 18px 14px 20px;
  }

  body.homepage p.product-price {
    font-size: 1.35rem;
  }

  body.homepage .cart-banner .content-column h3 {
    font-size: 1.5rem;
  }

  body.homepage .abt-section .abt-text h2 {
    font-size: 1.5rem;
  }

  .installment-content h3 {
    font-size: 1.4rem;
  }

  body.homepage .latest-news .section-title h3 {
    font-size: 1.5rem;
  }

  body.homepage .owl-prev,
  body.homepage .owl-next {
    display: none;
  }
}

@media only screen and (max-width: 575px) {
  body.homepage .homepage-slider div.hero-text-tablecell {
    padding: 100px 0 50px;
  }

  body.homepage .hero-text h1 {
    font-size: 1.45rem;
  }

  .value-block-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
  }

  .value-block h3 {
    font-size: 1.1rem;
  }

  .installment-banner-inner {
    margin: 30px 12px;
    border-radius: 18px;
  }
}

/* Override responsive.css !important sticky rules — light glass header on scroll */
@media only screen and (min-width: 768px) and (max-width: 991px) {
  body.homepage .sticky-wrapper.is-sticky .top-header-area {
    position: fixed !important;
    background: rgba(255, 255, 255, 0.92) !important;
    box-shadow: 0 6px 24px rgba(17, 19, 27, 0.08) !important;
    backdrop-filter: blur(18px) !important;
  }
}

@media only screen and (max-width: 767px) {
  body.homepage .sticky-wrapper.is-sticky .top-header-area {
    position: fixed !important;
    background: rgba(255, 255, 255, 0.92) !important;
    box-shadow: 0 4px 18px rgba(17, 19, 27, 0.08) !important;
    backdrop-filter: blur(18px) !important;
    padding: 10px 0 !important;
  }

  body.homepage .sticky-wrapper.is-sticky .mean-container a.meanmenu-reveal {
    color: var(--im-dark) !important;
  }

  body.homepage .sticky-wrapper.is-sticky .mean-container a.meanmenu-reveal span {
    background-color: var(--im-dark) !important;
  }
}

/* Logo JPG sizing for non-SVG logo */
body.homepage .site-logo img {
  max-height: 52px;
  width: auto;
  object-fit: contain;
  border-radius: 4px;
}

@media only screen and (max-width: 767px) {
  body.homepage .site-logo img {
    max-height: 40px;
  }
}

@media only screen and (max-width: 575px) {
  body.homepage .site-logo img {
    max-height: 36px;
  }
}

/* ─── Blog / News Card Image Overrides ─── */
body.homepage .news-bg-1 {
  background-image: url('../img/products/product-img-3.jpg');
  background-size: cover;
  background-position: center;
}

body.homepage .news-bg-2 {
  background-image: url('../img/products/product-img-1.png');
  background-size: cover;
  background-position: center;
}

body.homepage .news-bg-3 {
  background-image: url('../img/products/product-img-5.jpg');
  background-size: cover;
  background-position: center;
}

/* ─── Mobile Hero Sizing ─── */
@media only screen and (max-width: 767px) {
  body.homepage .hero-area {
    min-height: 420px;
  }

  body.homepage .single-homepage-slider {
    min-height: 420px;
    max-height: 500px;
  }

  body.homepage .hero-text-tablecell h1 {
    font-size: 1.5rem;
    line-height: 1.5;
  }

  body.homepage .hero-text-tablecell .subtitle {
    font-size: 0.85rem;
  }

  body.homepage .hero-text-tablecell .hero-lead {
    font-size: 0.9rem;
    padding: 0 10px;
  }

  body.homepage .hero-btns {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  body.homepage .hero-btns a {
    width: 80%;
    text-align: center;
    font-size: 0.85rem;
    padding: 10px 18px;
  }
}

/* ─── Mobile Product Card Fixes ─── */
@media only screen and (max-width: 575px) {
  body.homepage .product-image {
    height: 180px;
  }

  body.homepage .single-product-item {
    margin-bottom: 22px;
    padding: 16px 14px 18px;
  }

  body.homepage .single-product-item h3 {
    font-size: 1rem;
  }

  body.homepage .product-desc {
    font-size: 0.82rem;
    line-height: 1.65;
  }

  body.homepage .product-price {
    font-size: 1.05rem;
  }

  /* Monthly offer mobile */
  body.homepage .offer-section .image-column img {
    max-height: 260px;
    object-fit: contain;
  }

  /* About GIF section */
  body.homepage .abt-bg {
    min-height: 240px;
  }

  /* News cards */
  body.homepage .latest-news-bg {
    height: 180px;
  }
}

/* ─── Tablet Product Card Fixes ─── */
@media only screen and (min-width: 576px) and (max-width: 991px) {
  body.homepage .product-image {
    height: 190px;
  }

  body.homepage .single-product-item {
    margin-bottom: 24px;
  }
}

/* ─── Purple header override for responsive.css ─── */
@media only screen and (min-width: 768px) and (max-width: 991px) {
  body.homepage .top-header-area.transparent-header {
    background: linear-gradient(135deg, #35206f 0%, #5c38c8 100%) !important;
  }
}

@media only screen and (max-width: 767px) {
  body.homepage .top-header-area.transparent-header {
    background: linear-gradient(135deg, #35206f 0%, #5c38c8 100%) !important;
  }
}
