/* ----------------------------- */
/* Category cards section styling*/
/* ----------------------------- */

.prod-category-section {
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  margin-bottom: -4vh;
}

.category-inner {
  height: 100%;
}

.prod-category-section .row {
  height: 100%;
}

.prod-category-section .col-6 {
  height: 50%;
  display: flex;
}

.prod-category-card {
  min-height: 50vh;
  text-align: center;
  padding: 20px;
}

.prod-category-img {
  max-height: 150px;
  min-height: 150px;
  object-fit: contain;
}

/* Ice-cream ke liye override */
.prod-D-img {
  max-height: clamp(120px, 16vw, 400px) !important;
  width: auto;
}

/* Ice-cream text */
.D-title {
  font-size: clamp(1.1rem, 2.5vw, 4rem);
  letter-spacing: clamp(0.5px, 1vw, 3px);
  font-weight: 900;
  text-transform: uppercase;
  font-family: "Amsi Pro", sans-serif;

  display: inline-flex; /* text + arrow inline flex */
  align-items: center; /* vertical center */
  gap: 10px; /* thoda space between text and arrow */
  line-height: 1; /* extra gap remove */
}

/* Arrow circle */
.arrow-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(30px, 5vw, 50px);
  height: clamp(30px, 5vw, 50px);
  border-radius: 50%;
  background-color: #fff !important;
  box-shadow: 3px 1px 0px #de251e;
  transition: all 0.3s ease;
}

.arrow-circle .arrow-icon {
  width: 50%;
  height: 50%;
}

.arrow-circle:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.Empty-prod-category-card {
  min-height: 25vh; /* Normal cards 50vh hain, isko aadha ya thoda kam rakha */
  width: 100%;
}

/* Center logo circle styling */
.prod-center-logo-wrapper {
  display: flex;
  justify-content: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  pointer-events: none; /* So it doesn't block clicks */
}

.prod-center-logo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background-color: #ffffff; /* white circle */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 5px 4px 0px 0px #de251e; /* circle ke according shadow */
}

.prod-center-logo img {
  width: 65%; /* small logo inside */
  height: 65%;
  object-fit: contain;
}

.extra-container {
  height: 10vh;
  width: 100%;
  background-color: red;
}

/* =============================
Responsive Breakpoints
============================= */

/* ✅ Small Mobile: 320px–425px */
@media (min-width: 320px) and (max-width: 425px) {
  .prod-category-section {
    min-height: auto;
    flex-direction: column;
  }

  .prod-category-card {
    min-height: auto;
    padding: 15px 10px;
  }

  .prod-category-img {
    max-height: 80px;
  }

  .prod-D-img {
    max-height: 120px !important;
  }

  .D-title {
    font-size: 1.1rem;
    letter-spacing: 0.5px;
  }

  .arrow-circle {
    width: 20px;
    height: 20px;
  }
  .arrow-circle .arrow-icon {
    width: 70%;
    height: 70%;
  }
  .Empty-prod-category-card {
    min-height: 15vh;
  }
  .prod-center-logo {
    width: 60px;
    height: 60px;
  }
}

/* ✅ Mobile Landscape / Small Tablet: 426px–767px */
@media (min-width: 426px) and (max-width: 767px) {
  .prod-category-section {
    min-height: auto;
    flex-direction: column;
  }

  .prod-category-card {
    min-height: auto;
    padding: 20px 15px;
  }

  .prod-category-img {
    max-height: 100px;
  }

  .prod-D-img {
    max-height: 150px !important;
  }

  .D-title {
    font-size: 1.3rem;
    letter-spacing: 1px;
  }

  .arrow-circle {
    width: 30px;
    height: 30px;
  }
  .arrow-circle .arrow-icon {
    width: 60%;
    height: 60%;
  }
  .Empty-prod-category-card {
    min-height: 20vh;
  }
  .prod-center-logo {
    width: 60px;
    height: 60px;
  }
}

/* ✅ Tablet: 768px–1023px */
@media (min-width: 768px) and (max-width: 1023px) {
  .prod-category-section {
    min-height: auto;
  }

  .prod-category-card {
    min-height: 50vh;
    padding: 25px;
  }

  .prod-category-img {
    max-height: 120px;
  }

  .prod-D-img {
    max-height: 140px !important;
  }

  .D-title {
    font-size: 1.5rem;
    letter-spacing: 2px;
  }

  .arrow-circle {
    width: 25px;
    height: 25px;
  }
  .arrow-circle .arrow-icon {
    width: 65%;
    height: 65%;
  }
  .Empty-prod-category-card {
    min-height: 25vh;
  }
  .prod-center-logo {
    width: 100px;
    height: 100px;
  }
}

/* ✅ Small Laptop: 1024px–1439px */
@media (min-width: 1024px) and (max-width: 1439px) {
  .prod-category-card {
    min-height: 50vh;
  }
  .prod-category-img {
    max-height: 150px;
  }
  .prod-D-img {
    max-height: 160px !important;
  }
  .D-title {
    font-size: 1.8rem;
    letter-spacing: 2px;
  }

  .arrow-circle {
    width: 30px;
    height: 30px;
  }
  .arrow-circle .arrow-icon {
    width: 60%;
    height: 60%;
  }
}

/* ✅ Large Desktop: 1440px–1919px */
@media (min-width: 1440px) and (max-width: 1919px) {
  .prod-category-card {
    min-height: 50vh;
  }

  .prod-D-img {
    max-height: 260px !important;
  }

  .D-title {
    font-size: 2.2rem;
    letter-spacing: 3px;
  }

  .arrow-circle {
    width: 35px;
    height: 35px;
  }
  .arrow-circle .arrow-icon {
    width: 65%;
    height: 65%;
  }
}

/* ✅ Extra-large: 1920px–2559px */
@media (min-width: 1920px) and (max-width: 2559px) {
  .prod-category-card {
    min-height: 50vh;
  }

  .prod-D-img {
    max-height: 300px !important;
  }

  .D-title {
    font-size: 3rem;
  }

  .arrow-circle {
    width: 50px;
    height: 50px;
  }
  .arrow-circle .arrow-icon {
    width: 70%;
    height: 70%;
  }
}

/* ✅ Ultra-wide: 2560px+ */
@media (min-width: 2560px) {
  .prod-category-card {
    min-height: 50vh;
  }

  .prod-D-img {
    max-height: 380px !important;
  }

  .D-title {
    font-size: 65px;
  }

  .arrow-circle {
    width: 60px;
    height: 60px;
  }
  .arrow-circle .arrow-icon {
    width: 75%;
    height: 75%;
  }
}
