/* Mahakal Enterprises — home visual system (same layout, unique motion & surface) */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,700;9..144,800&family=Outfit:wght@400;500;600;700&display=swap');

body.page-home.mk-home {
  --mk-canopy: #1f3a2e;
  --mk-leaf: #6f9a4a;
  --mk-leaf-bright: #a4c45a;
  --mk-clay: #c45c28;
  --mk-clay-deep: #9a4318;
  --mk-mist: #eef2e6;
  --mk-field: #dfe8d4;
  --mk-ink: #1a241c;
  --mk-paper: #f5f7f0;
  --font-serif: 'Fraunces', Georgia, serif;
  --font-sans: 'Outfit', system-ui, sans-serif;
  --mocha: var(--mk-canopy);
  --mocha-dark: #152820;
  --sage: var(--mk-leaf);
  --amber: var(--mk-clay);
  --cream: var(--mk-mist);
  --bark: var(--mk-ink);
  --line: #cfd9c2;
  background:
    radial-gradient(1200px 480px at 8% -10%, rgba(164, 196, 90, 0.18), transparent 55%),
    radial-gradient(900px 420px at 100% 0%, rgba(196, 92, 40, 0.1), transparent 50%),
    linear-gradient(180deg, var(--mk-paper) 0%, #fff 38%, var(--mk-mist) 100%);
  color: var(--mk-ink);
}

body.page-home.mk-home .cf-announce {
  background: linear-gradient(90deg, var(--mk-canopy), #2d5640 55%, var(--mk-canopy));
}

body.page-home.mk-home .cf-brand-copy strong,
body.page-home.mk-home .cf-brand-name,
body.page-home.mk-home .cf-brand-name-primary,
body.page-home.mk-home .cf-section-title,
body.page-home.mk-home h1,
body.page-home.mk-home h2,
body.page-home.mk-home h3 {
  font-family: var(--font-serif);
  font-optical-sizing: auto;
}

/* Scroll reveals */
body.page-home [data-mk-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

body.page-home [data-mk-reveal].is-inview {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  body.page-home [data-mk-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.mk-section-kicker {
  margin: 0 0 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mk-clay);
}

/* ── Hero ── */
.mk-hero {
  position: relative;
  overflow: hidden;
  padding: 28px 0 36px;
  background: transparent;
}

.mk-hero-atmosphere {
  position: absolute;
  inset: -20% -10% auto;
  height: 70%;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      -12deg,
      transparent 0 14px,
      rgba(31, 58, 46, 0.035) 14px 15px
    );
  mask-image: linear-gradient(180deg, #000 20%, transparent 90%);
  animation: mk-field-drift 22s linear infinite;
}

@keyframes mk-field-drift {
  from { transform: translateX(0); }
  to { transform: translateX(-40px); }
}

.mk-sidebar {
  border: 0;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 18px 40px rgba(31, 58, 46, 0.1);
  overflow: hidden;
  position: relative;
}

.mk-sidebar::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--mk-leaf-bright), var(--mk-clay));
}

.mk-sidebar .cf-sidebar-head {
  background: linear-gradient(120deg, var(--mk-canopy), #2f5a42);
  padding: 16px 18px 16px 22px;
  letter-spacing: 0.02em;
}

.mk-sidebar .cf-sidebar-link {
  border-bottom-color: rgba(31, 58, 46, 0.06);
  margin: 0 8px;
  border-radius: 10px;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.mk-sidebar .cf-sidebar-link:hover {
  background: var(--mk-field);
  color: var(--mk-canopy);
  padding-left: 16px;
  transform: translateX(4px);
}

.mk-sidebar-promo {
  margin: 10px 12px 14px;
  border: 0;
  border-radius: 18px;
  background:
    linear-gradient(160deg, rgba(164, 196, 90, 0.28), rgba(196, 92, 40, 0.12)),
    #fff;
  position: relative;
  overflow: hidden;
}

.mk-sidebar-promo::after {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  right: -30px;
  bottom: -40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(164, 196, 90, 0.35), transparent 70%);
  animation: mk-pulse 4s ease-in-out infinite;
}

@keyframes mk-pulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.15); opacity: 1; }
}

.mk-hero-slider {
  height: min(460px, 62vw);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 24px 60px rgba(26, 36, 28, 0.18);
  clip-path: polygon(0 0, 100% 0, 100% 92%, 96% 100%, 0 100%);
}

.mk-hero-slider .cf-hero-slide-bg img {
  transform: scale(1.08);
  transition: transform 7s ease;
}

.mk-hero-slider .cf-hero-slide.is-active .cf-hero-slide-bg img {
  transform: scale(1);
  animation: mk-kenburns 8s ease forwards;
}

@keyframes mk-kenburns {
  from { transform: scale(1.1) translate3d(0, 0, 0); }
  to { transform: scale(1) translate3d(-1.5%, -1%, 0); }
}

.mk-hero-slider .cf-hero-slide-bg::after {
  background:
    linear-gradient(115deg, rgba(26, 36, 28, 0.82) 0%, rgba(26, 36, 28, 0.45) 42%, rgba(26, 36, 28, 0.08) 72%),
    linear-gradient(0deg, rgba(31, 58, 46, 0.35), transparent 40%);
}

.mk-hero-overlay {
  padding: 58px 48px 64px;
  max-width: 560px;
}

.mk-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #f0f5e4 !important;
  letter-spacing: 0.08em;
}

.mk-hero-eyebrow span {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(164, 196, 90, 0.25);
  border: 1px solid rgba(164, 196, 90, 0.45);
  color: var(--mk-leaf-bright);
  font-size: 0.68rem;
}

.mk-hero-overlay h1 {
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-wrap: balance;
  animation: mk-title-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes mk-title-in {
  from { opacity: 0; transform: translateY(16px); filter: blur(4px); }
  to { opacity: 1; transform: none; filter: none; }
}

.mk-hero-lede {
  margin: -8px 0 22px;
  max-width: 36ch;
  color: rgba(245, 247, 240, 0.86);
  font-size: 0.95rem;
  line-height: 1.55;
}

.mk-btn-shop {
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--mk-clay), var(--mk-clay-deep));
  padding: 14px 32px;
  box-shadow: 0 10px 24px rgba(196, 92, 40, 0.35);
}

.mk-btn-shop span {
  position: relative;
  z-index: 1;
}

.mk-btn-shop::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, var(--mk-leaf-bright), var(--mk-leaf));
  transform: translateX(-105%);
  transition: transform 0.45s ease;
}

.mk-btn-shop:hover {
  background: linear-gradient(120deg, var(--mk-clay), var(--mk-clay-deep));
  transform: translateY(-2px);
}

.mk-btn-shop:hover::before {
  transform: translateX(0);
}

.mk-hero-slider .cf-hero-dots {
  left: 48px;
  bottom: 28px;
  gap: 10px;
}

.mk-hero-slider .cf-hero-dot {
  width: 28px;
  height: 4px;
  border-radius: 4px;
  border: 0;
  background: rgba(255, 255, 255, 0.35);
}

.mk-hero-slider .cf-hero-dot.is-active {
  background: var(--mk-leaf-bright);
  box-shadow: 0 0 0 3px rgba(164, 196, 90, 0.25);
}

/* ── Features ── */
.mk-features {
  background: transparent;
  border: 0;
  padding: 8px 0 28px;
}

.mk-features .cf-features-grid {
  gap: 16px;
  padding: 8px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(207, 217, 194, 0.8);
  box-shadow: 0 12px 30px rgba(31, 58, 46, 0.06);
}

.mk-features .cf-feature {
  padding: 18px 16px;
  border-radius: 18px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.mk-features .cf-feature:hover {
  background: var(--mk-field);
  transform: translateY(-3px);
}

.mk-features .cf-feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(145deg, #fff, var(--mk-field));
  border: 1px solid var(--line);
  box-shadow: 0 8px 16px rgba(31, 58, 46, 0.08);
  animation: mk-icon-float 3.6s ease-in-out infinite;
}

.mk-features .cf-feature:nth-child(2) .cf-feature-icon { animation-delay: 0.4s; }
.mk-features .cf-feature:nth-child(3) .cf-feature-icon { animation-delay: 0.8s; }

@keyframes mk-icon-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-4px) rotate(-4deg); }
}

/* ── Sections ── */
.mk-section,
.mk-deal-day,
.mk-promo-duo,
.mk-testimonials-section {
  position: relative;
}

body.page-home .cf-section-title::after {
  width: 64px;
  height: 4px;
  background: linear-gradient(90deg, var(--mk-clay), var(--mk-leaf-bright));
  border-radius: 999px;
}

body.page-home .cf-carousel-btn {
  border-radius: 999px;
  border-color: transparent;
  background: #fff;
  box-shadow: 0 8px 18px rgba(31, 58, 46, 0.1);
}

body.page-home .cf-carousel-btn:hover {
  background: var(--mk-canopy);
  color: #fff;
}

/* Categories */
.mk-cat-card {
  position: relative;
  flex: 0 0 168px;
  padding: 22px 16px 18px;
  border: 0;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(31, 58, 46, 0.08);
  overflow: hidden;
}

.mk-cat-card::before {
  content: '';
  position: absolute;
  inset: auto -20% -40% -20%;
  height: 55%;
  background: radial-gradient(circle at 50% 0%, rgba(164, 196, 90, 0.28), transparent 65%);
  transition: transform 0.4s ease;
}

.mk-cat-card:hover {
  transform: translateY(-8px) rotate(-1deg);
  box-shadow: 0 18px 36px rgba(31, 58, 46, 0.14);
  border-color: transparent;
}

.mk-cat-card:hover::before {
  transform: translateY(-10px) scale(1.1);
}

.mk-cat-ring {
  position: absolute;
  top: 26px;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  border: 1px dashed rgba(111, 154, 74, 0.55);
  animation: mk-spin 12s linear infinite;
  pointer-events: none;
}

@keyframes mk-spin {
  to { transform: rotate(360deg); }
}

.mk-cat-card img {
  position: relative;
  z-index: 1;
  width: 96px;
  height: 96px;
  border: 0;
  background: linear-gradient(160deg, var(--mk-mist), #fff);
  box-shadow: 0 8px 20px rgba(31, 58, 46, 0.12);
}

.mk-cat-card span {
  position: relative;
  z-index: 1;
  font-family: var(--font-serif);
  font-size: 0.92rem;
}

/* Promo duo */
.mk-promo-duo {
  padding: 8px 0 52px;
}

.mk-promo-banner {
  min-height: 250px;
  border-radius: 28px;
  isolation: isolate;
  transform: none;
  box-shadow: 0 20px 44px rgba(26, 36, 28, 0.16);
}

.mk-promo-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(115deg, rgba(26, 36, 28, 0.88) 0%, rgba(26, 36, 28, 0.45) 48%, rgba(26, 36, 28, 0.15) 100%);
  transition: background 0.4s ease;
}

.mk-promo-banner-img {
  transform: scale(1.05);
  transition: transform 0.7s ease;
  filter: saturate(1.05);
}

.mk-promo-banner:hover {
  transform: translateY(-4px);
}

.mk-promo-banner:hover .cf-promo-banner-img {
  transform: scale(1.12);
}

.mk-promo-banner .cf-promo-banner-copy {
  z-index: 2;
  max-width: 70%;
}

.mk-promo-banner h3 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  letter-spacing: -0.02em;
}

.mk-promo-banner .cf-promo-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px);
  transition: background 0.25s ease, gap 0.25s ease;
}

.mk-promo-banner:hover .cf-promo-link {
  background: rgba(164, 196, 90, 0.28);
  gap: 10px;
}

/* Tabs */
.mk-tabs {
  gap: 8px;
  border: 0;
  margin-bottom: 32px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 10px 24px rgba(31, 58, 46, 0.06);
  width: fit-content;
  max-width: 100%;
}

body.page-home .cf-tab {
  border-radius: 999px;
  padding: 11px 20px;
  color: var(--mk-ink);
  font-weight: 600;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

body.page-home .cf-tab::after {
  display: none;
}

body.page-home .cf-tab.is-active,
body.page-home .cf-tab:hover {
  background: var(--mk-canopy);
  color: #fff;
  transform: translateY(-1px);
}

body.page-home .cf-product-grid .cf-product-card,
body.page-home .cf-product-card {
  border: 0;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 28px rgba(31, 58, 46, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

body.page-home .cf-product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(31, 58, 46, 0.14);
}

/* Deals */
.mk-deal-day {
  padding-top: 20px;
}

.mk-deal-day::before {
  content: '';
  position: absolute;
  inset: 40px 0 auto;
  height: 220px;
  background: linear-gradient(90deg, rgba(164, 196, 90, 0.12), rgba(196, 92, 40, 0.08));
  pointer-events: none;
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}

.mk-deal-card {
  border: 0;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(31, 58, 46, 0.1);
  overflow: hidden;
  position: relative;
}

.mk-deal-card .cf-discount-badge {
  border-radius: 0 0 14px 0;
  background: linear-gradient(135deg, var(--mk-clay), var(--mk-clay-deep));
  letter-spacing: 0.04em;
  box-shadow: 4px 6px 16px rgba(196, 92, 40, 0.3);
}

.mk-deal-card .cf-deal-img img {
  transition: transform 0.55s ease;
}

.mk-deal-card:hover .cf-deal-img img {
  transform: scale(1.08) rotate(-1deg);
}

.mk-countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 12px 0 14px;
}

.mk-countdown span {
  display: grid;
  gap: 2px;
  place-items: center;
  padding: 8px 4px;
  border-radius: 12px;
  background: var(--mk-mist);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #5c6b58;
}

.mk-countdown strong {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--mk-canopy);
  font-variant-numeric: tabular-nums;
}

.mk-countdown.is-tick strong {
  animation: mk-tick 0.35s ease;
}

@keyframes mk-tick {
  0% { transform: translateY(3px); opacity: 0.4; }
  100% { transform: none; opacity: 1; }
}

/* Testimonials */
.mk-testimonials-section {
  background:
    linear-gradient(180deg, transparent, rgba(223, 232, 212, 0.55)),
    var(--mk-mist);
  border-radius: 32px 32px 0 0;
  margin-top: 12px;
}

.mk-testimonial {
  border: 0;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(31, 58, 46, 0.08);
  position: relative;
  overflow: hidden;
}

.mk-testimonial::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--mk-leaf-bright), var(--mk-clay));
}

.mk-testimonial .cf-quote-mark {
  color: rgba(164, 196, 90, 0.55);
  font-family: var(--font-serif);
  font-size: 4rem;
  line-height: 0.8;
}

.mk-testimonial:nth-child(2) {
  transform: translateY(10px);
}

.mk-testimonial:nth-child(3) {
  transform: translateY(-6px);
}

/* Responsive */
@media (max-width: 900px) {
  .mk-hero-slider {
    height: 360px;
    clip-path: none;
    border-radius: 22px;
  }

  .mk-hero-overlay {
    padding: 36px 24px 48px;
  }

  .mk-hero-lede {
    display: none;
  }

  .mk-tabs {
    width: 100%;
    overflow-x: auto;
    border-radius: 18px;
  }

  .mk-testimonial:nth-child(2),
  .mk-testimonial:nth-child(3) {
    transform: none;
  }

  .mk-features .cf-features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .mk-hero {
    padding-top: 16px;
  }

  .mk-cat-card {
    flex-basis: 142px;
  }
}
