/* Home page sections (global theme in theme.css) */
.landing-page {
  background: var(--off-white);
}

/* Hero */
.landing-hero {
  overflow: hidden;
  background: var(--off-white);
  padding: 44px 0 48px;
  scroll-margin-top: 88px;
}

.landing-hero-grid {
  min-height: 400px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 42px;
}

.landing-eyebrow {
  color: var(--navy);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.5px;
  margin-bottom: 15px;
}

.landing-hero h1 {
  max-width: 580px;
  color: var(--navy);
  font-size: clamp(42px, 5vw, 67px);
  line-height: 1.04;
  letter-spacing: -2.7px;
  margin: 0 0 22px;
  font-weight: 800;
}

.landing-hero h1 span {
  color: var(--orange);
}

.landing-hero-copy {
  max-width: 520px;
  color: #38516d;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 27px;
}

.landing-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.landing-btn {
  min-height: 46px;
  padding: 0 23px;
  border-radius: 8px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  transition: 0.2s ease;
  text-decoration: none;
  font-family: inherit;
}

.landing-btn-primary {
  background: var(--orange);
  color: white;
}

.landing-btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(0.96);
}

.landing-btn-secondary {
  background: white;
  color: var(--navy);
  border-color: var(--navy);
}

.landing-btn-secondary:hover {
  background: var(--navy);
  color: white;
}

.landing-hero-visual {
  position: relative;
  min-height: 390px;
  border-radius: 12px 0 0 12px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(11, 35, 65, .08), rgba(11, 35, 65, .02)),
    url("https://mittal-trading-company.s3.ap-south-1.amazonaws.com/media/landing_page-hero.avif") center/cover no-repeat;
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%);
}

.landing-hero-card {
  position: absolute;
  right: 0;
  bottom: 55px;
  width: 285px;
  padding: 27px 29px;
  background: var(--navy);
  color: white;
  border-radius: 7px 0 0 7px;
  box-shadow: var(--shadow);
}

.landing-hero-card-arrow {
  color: var(--orange);
  font-size: 30px;
  font-weight: 800;
  float: left;
  margin-right: 16px;
  line-height: 1;
}

.landing-hero-card strong {
  display: block;
  font-size: 16px;
  line-height: 1.3;
  margin-bottom: 12px;
}

.landing-hero-card p {
  clear: both;
  color: #dce7f2;
  font-size: 11px;
  line-height: 1.6;
  padding-top: 8px;
  margin: 0;
}

/* Sections */
.landing-section {
  padding: 56px 0;
  scroll-margin-top: 88px;
}

.landing-section-white {
  background: var(--white);
}

.landing-section-heading {
  margin-bottom: 28px;
}

.landing-section-lead {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.5;
  max-width: 36rem;
}

.landing-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 24px 0;
  text-align: center;
}

.landing-section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.landing-section-label {
  color: var(--navy);
  font-size: var(--section-label-size);
  font-weight: 800;
  letter-spacing: 2.2px;
  margin-bottom: 8px;
}

.landing-section-title {
  color: var(--navy);
  font-size: var(--section-title-size);
  line-height: 1.2;
  letter-spacing: -0.7px;
  margin: 0;
  font-weight: 800;
}

.landing-section-title::after {
  content: "";
  display: block;
  width: 23px;
  height: 3px;
  background: var(--orange);
  margin-top: 10px;
}

.landing-view-all {
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

/* Products */
.landing-section .product-grid-wrap {
  min-height: 320px;
}

.landing-products {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}

.landing-product-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: 0.2s ease;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.landing-product-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.landing-product-media {
  position: relative;
  flex-shrink: 0;
}

.landing-product-image {
  height: var(--landing-card-image-height);
  display: grid;
  place-items: center;
  background: var(--blue-grey);
  padding: 20px;
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  font-size: 13px;
  text-align: center;
}

.landing-product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  border-radius: 5px;
  max-height: var(--landing-card-image-max);
  object-fit: cover;
  object-position: bottom;
}

.landing-product-media .wishlist-heart {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(255, 255, 255, .96);
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
  z-index: 2;
}

.landing-product-media .wishlist-heart svg {
  width: 17px;
  height: 17px;
  fill: transparent;
  stroke: currentColor;
  stroke-width: 1.8;
  transition: fill .25s ease, stroke .25s ease, transform .25s ease;
}

.landing-product-media .wishlist-heart:hover {
  border-color: var(--orange);
  color: var(--orange);
  box-shadow: 0 8px 18px rgba(11, 35, 65, .08);
}

.landing-product-media .wishlist-heart.is-active {
  color: #e53935;
  border-color: rgba(229, 57, 53, .25);
}

.landing-product-media .wishlist-heart.is-active svg {
  fill: #e53935;
  stroke: #e53935;
}

.landing-product-media .wishlist-heart.is-animating svg {
  animation: landing-heart-pop .45s ease;
}

@keyframes landing-heart-pop {
  0% {
    transform: scale(1);
  }

  35% {
    transform: scale(1.35);
  }

  100% {
    transform: scale(1);
  }
}

.landing-product-info {
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.landing-product-category {
  color: #7890a8;
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.landing-product-name {
  color: var(--navy);
  font-size: var(--landing-card-title-size);
  font-weight: 600;
  min-height: 36px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-decoration: none;
  line-height: 1.4;
}

.landing-product-name:hover {
  color: var(--orange);
}

.landing-price-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  flex-wrap: wrap;
}

.landing-price {
  color: var(--navy);
  font-size: var(--landing-card-price-size);
  font-weight: 800;
}

.landing-old-price {
  color: #9aa9b8;
  font-size: 10px;
  text-decoration: line-through;
}

.landing-discount {
  margin-left: auto;
  padding: 3px 5px;
  border-radius: 4px;
  color: var(--orange);
  background: #fff0e5;
  font-size: 9px;
  font-weight: 800;
}

.landing-cart-wrap {
  width: 100%;
  margin-top: auto;
  padding-top: 4px;
}

.landing-cart-wrap .cart-control {
  width: 100%;
}

.landing-add-cart,
.landing-cart-wrap .js-cart-add {
  width: 100%;
  min-height: 37px;
  border: 0;
  border-radius: 6px;
  background: var(--orange);
  color: white;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  font-family: inherit;
  margin-top: 0;
}

.landing-add-cart:hover,
.landing-cart-wrap .js-cart-add:hover {
  filter: brightness(0.96);
  background: var(--orange);
  color: white;
}

.landing-cart-wrap .qty-stepper {
  width: 100%;
  margin-top: 0;
  border: 1px solid var(--navy);
  border-radius: 6px;
  background: var(--navy);
  overflow: hidden;
}

.landing-cart-wrap .qty-stepper button {
  background: var(--navy);
  color: #fff;
}

/* Stats */
.landing-stats {
  background: var(--blue-grey);
  border-radius: 10px;
  padding: 28px 10px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 40px;
}

.landing-stat {
  text-align: center;
  padding: 4px 20px;
  border-right: 1px solid #ccd9e6;
}

.landing-stat:last-child {
  border-right: 0;
}

.landing-stat-icon {
  color: var(--navy);
  font-size: 29px;
  margin-bottom: 5px;
}

.landing-stat strong {
  display: block;
  color: var(--navy);
  font-size: 23px;
  line-height: 1.2;
}

.landing-stat span {
  color: #5c7690;
  font-size: 11px;
}

/* About Us */
.landing-about-section {
  scroll-margin-top: 88px;
}

.landing-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.landing-about-visual {
  position: relative;
  border: 1px solid #d8e2ec;
  border-radius: 12px;
  overflow: hidden;
  background: #eef3f8;
}

.landing-about-visual img {
  display: block;
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.landing-about-script {
  position: absolute;
  left: 22px;
  bottom: 18px;
  color: #fff;
  font-family: "Caveat", cursive;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  line-height: 0.95;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.landing-about-script span {
  display: block;
}

.landing-about-copy h2 {
  max-width: 520px;
  color: var(--navy);
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.12;
  letter-spacing: -1px;
  margin: 0 0 16px;
  font-weight: 800;
}

.landing-about-copy>p {
  max-width: 560px;
  color: #60758a;
  font-size: 14px;
  line-height: 1.75;
  margin: 0;
}

.landing-about-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #e3eaf1;
}

.landing-about-stat {
  text-align: center;
  padding: 0 10px;
  border-right: 1px solid #e3eaf1;
}

.landing-about-stat:last-child {
  border-right: 0;
}

.landing-about-stat-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
}

.landing-about-stat-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--navy);
}

.landing-about-stat strong {
  display: block;
  color: var(--navy);
  font-size: 16px;
  line-height: 1.25;
  margin-bottom: 4px;
}

.landing-about-stat span {
  display: block;
  color: #718397;
  font-size: 11px;
  line-height: 1.35;
}

/* Wide desktop */
@media (min-width: 1200px) {
  .landing-hero {
    padding: 52px 0 56px;
  }

  .landing-hero-grid {
    min-height: 480px;
    gap: 52px;
  }

  .landing-eyebrow {
    font-size: 12px;
    margin-bottom: 18px;
  }

  .landing-hero h1 {
    max-width: 680px;
    font-size: clamp(48px, 4.5vw, 78px);
    margin-bottom: 24px;
  }

  .landing-hero-copy {
    max-width: 580px;
    font-size: 17px;
    margin-bottom: 30px;
  }

  .landing-btn {
    min-height: 50px;
    padding: 0 26px;
    font-size: 14px;
  }

  .landing-hero-visual {
    min-height: 480px;
  }

  .landing-hero-card {
    width: 320px;
    padding: 32px 34px;
  }

  .landing-hero-card strong {
    font-size: 18px;
  }

  .landing-hero-card p {
    font-size: 13px;
  }

  .landing-section {
    padding: 64px 0;
  }

  .landing-section-heading {
    margin-bottom: 32px;
  }

  .landing-view-all {
    font-size: 14px;
  }

  .landing-products {
    gap: 24px;
  }

  .landing-product-info {
    padding: 18px 18px 20px;
    gap: 10px;
  }

  .landing-product-category {
    font-size: 11px;
  }

  .landing-product-name {
    min-height: 42px;
  }

  .landing-old-price {
    font-size: 12px;
  }

  .landing-discount {
    font-size: 10px;
  }

  .landing-add-cart,
  .landing-cart-wrap .js-cart-add {
    min-height: 42px;
    font-size: var(--card-btn-size);
  }

  .landing-categories {
    grid-template-columns: repeat(auto-fit, minmax(var(--grid-col-min), 1fr));
    gap: 20px;
  }

  .landing-stats {
    padding: 34px 14px;
    margin-top: 48px;
  }

  .landing-stat strong {
    font-size: 28px;
  }

  .landing-stat span {
    font-size: 13px;
  }

  .landing-about-visual img {
    height: 480px;
  }

  .landing-about-copy>p {
    font-size: 16px;
  }

  .landing-about-stat strong {
    font-size: 18px;
  }

  .landing-about-stat span {
    font-size: 12px;
  }
}

/* Responsive */
@media (max-width: 1050px) {
  .landing-products {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .landing-hero {
    padding-top: 20px;
    scroll-margin-top: 72px;
  }

  .landing-hero-grid,
  .landing-about-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .landing-hero h1 {
    font-size: clamp(34px, 8vw, 48px);
    letter-spacing: -1.5px;
  }

  .landing-hero-copy {
    font-size: 14px;
  }

  .landing-hero-visual {
    min-height: 280px;
    clip-path: none;
    border-radius: 10px;
  }

  .landing-hero-card {
    width: min(260px, 78%);
    bottom: 24px;
    padding: 20px 22px;
  }

  .landing-about-visual img {
    height: 300px;
  }

  .landing-about-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 0;
  }

  .landing-about-stat:nth-child(2) {
    border-right: 0;
  }

  .landing-about-stat:nth-child(3),
  .landing-about-stat:nth-child(4) {
    border-top: 1px solid #e3eaf1;
    padding-top: 18px;
  }

  .landing-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px 0;
  }

  .landing-stat:nth-child(2) {
    border-right: 0;
  }

  .landing-stat:nth-child(3),
  .landing-stat:nth-child(4) {
    border-top: 1px solid #ccd9e6;
    padding-top: 20px;
  }

  .landing-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .landing-hero h1 {
    font-size: 34px;
  }

  .landing-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .landing-btn {
    width: 100%;
    justify-content: center;
  }

  .landing-hero-card {
    width: min(230px, 85%);
    bottom: 16px;
    padding: 16px 18px;
  }

  .landing-hero-card strong {
    font-size: 15px;
  }

  .landing-products {
    grid-template-columns: 1fr;
  }

  .landing-about-stats {
    grid-template-columns: 1fr;
  }

  .landing-about-stat {
    border-right: 0;
    border-top: 1px solid #e3eaf1;
    padding-top: 16px;
  }

  .landing-about-stat:first-child {
    border-top: 0;
    padding-top: 0;
  }

  .landing-products .landing-product-card:last-child {
    display: block;
  }

  .landing-product-image {
    height: 160px;
  }

  .landing-section {
    padding: 48px 0;
  }

  .landing-section-heading-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .landing-categories {
    grid-template-columns: 1fr;
  }
}