/* ======================================================
   BASE
====================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
}
@font-face {
    font-family: "MyFont";
    src: url("./font/Daykids.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "MyFont";
    src: url("./font/Daykids.otf") format("opentype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "MyFont";
    src: url("./font/Daykids.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Arial Rounded";
    src: url("./font/arialroundedmtbold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

img {
    display: block;
    max-width: 100%;
}
.main--wrapper{
  background-image:url('./images/Desktop/bg.jpg');
    background-size: cover;
    background-position: center;
}

/* ======================================================
   HERO CONTAINER
====================================================== */

.toy-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    min-height: clamp(480px, 40vw, 515px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-block: clamp(18px, 2.6vw, 30px) clamp(64px, 8vw, 92px);
    isolation: isolate;
}

/* .toy-hero__curves::before,
.toy-hero__curves::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(70, 80, 110, 0.08);
}

.toy-hero__curves::before {
    width: 1400px;
    height: 1400px;
    left: -520px;
    top: -980px;
}

.toy-hero__curves::after {
    width: 1700px;
    height: 1700px;
    right: -680px;
    bottom: -1300px;
    border-color: rgba(20, 130, 120, 0.09);
} */

/* ======================================================
   CONTENT WRAPPER
====================================================== */

.toy-hero__content {
    position: relative;
    z-index: 2;
    width: 90%;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* ======================================================
   LOGO
====================================================== */

.toy-hero__logo {
    align-self: flex-start;
    display: flex;
    align-items: center;
    margin-left: 15%;
}

.toy-hero__logo-mark {
    width: clamp(30px, 9.4vw, 77px);
    height: auto;
    flex-shrink: 0;
}


.toy-hero__logo-line1 {
    font-family: "MyFont";
    font-weight: 700;
    font-size: clamp(11px, 1.15vw, 14px);
    color: #232a4a;
    letter-spacing: 0.2px;
}

.toy-hero__logo-heart {
    color: #e8836b;
    font-size: 0.8em;
}

.toy-hero__logo-line2 {
    font-family: "Pacifico", cursive;
    font-size: clamp(10px, 1vw, 12px);
    color: #3fb3ac;
    margin-top: 1px;
}

/* ======================================================
   TYPOGRAPHY
====================================================== */

.toy-hero__title {
    font-family: "MyFont";
    font-weight: 400;
    font-size: clamp(30px, 6.6vw, 68px);
    color: #1c2347;
    margin: 0;
    line-height: 0.8;
}

.toy-hero__subheading {
    font-family: "Arial Rounded";
    font-weight: 700;
    font-size: clamp(17px, 6.2vw, 32px);
    color: #1c2347;
    margin: 0;

}

.toy-hero__description {
    font-family: "Arial Rounded";
    font-weight: 200;
    font-size: clamp(11.5px, 2.15vw, 17.5px);
    color: #29314f;
    margin: 0.4em 0 0;
    line-height: 1.3;
}

/* ======================================================
   GALLERY
====================================================== */

.toy-hero__gallery {
    display: flex;
    gap: clamp(5px, 0.8vw, 8px);
    width: 93%;
    height: clamp(88px, 15vw, 191px);
    margin: clamp(12px, 4.1vw, 38px) auto 0;
}

.toy-hero__image {
    flex: 1 1 0;
    min-width: 0;
    border-radius: 8px;
    overflow: hidden;
}

.toy-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ======================================================
   SUPPORT TEXT
====================================================== */

.toy-hero__support {
    margin-top: clamp(10px, 3.6vw, 38px);
}

.toy-hero__support-title {
    font-family: "Arial Rounded";
    font-weight: 700;
    font-size: clamp(13px, 3.35vw, 22px);
    color: #1c2347;
    margin: 0;
    line-height: 1.3;
}

.toy-hero__support-line {
    font-family: "Arial Rounded";
    font-weight: 400;
    font-size: clamp(10.5px, 1.2vw, 21px);
    color: #29314f;
    margin: 0.28em 0 0;
    line-height: 1.3;
}

.toy-hero__support-line--bold {
    font-weight: 700;
    font-size:1.5vw;
}

/* ======================================================
   RAILWAY TRACK
====================================================== */

.toy-hero__track {
    position: absolute;
    position: absolute;
    left: 50%;
    bottom: 3px;
    width: 100%;
    height: clamp(48px, 10vw, 237px);
    transform: translateX(-50%);
    z-index: 5;
    background-image: url(./images/Desktop/5.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    pointer-events: none;
}

/* .toy-hero__track {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    width: 100%;
    z-index: 1;

    background-image: url("./images/Desktop/5.png");
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: auto 100%;

    height: clamp(48px, 10vw, 122px);
    pointer-events: none;
} */

/* ======================================================
   LARGE DESKTOP  (>= 1440px)
====================================================== */

@media (min-width: 1400px) {
    .toy-hero__content {
        width: min(100% - 40px, 860px);
        margin-bottom: 30px;
    }


    .toy-hero__gallery {
        width: min(100% - 8px, 745px);
    }
}

/* ======================================================
   SMALL LAPTOP (1024px - 1366px)
====================================================== */

@media (max-width: 1366px) {
    .toy-hero {
        padding-block: 22px 70px;
    }
}

@media (max-width: 1024px) {
    .toy-hero__content {
        width: min(100% - 32px, 700px);
    }

    .toy-hero__gallery {
        width: min(100% - 8px, 620px);
    }
}

/* ======================================================
   TABLET (768px - 1023px)
====================================================== */

@media (max-width: 900px) {
    .toy-hero {
        padding-block: 20px 60px;
        min-height: auto;
    }

    .toy-hero__logo {
        margin-left: clamp(2px, 4vw, 20px);
    }

    .toy-hero__gallery {
        width: min(100% - 8px, 540px);
        height: clamp(76px, 15vw, 110px);
    }

    .toy-hero__track {
        height: clamp(40px, 13vw, 90px);
    }
}

/* ======================================================
   MOBILE (<= 767px)
====================================================== */

@media (max-width: 767px) {
    .toy-hero {
        padding-block: 18px 56px;
    }

    .toy-hero__content {
        width: min(100% - 24px, 480px);
    }

    .toy-hero__logo {
        margin-bottom: 16px;
        display: none;
    }

     .toy-hero__gallery {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
        width: min(100% - 4px, 420px);
        height: clamp(70px, 20vw, 100px);
        margin-left: auto;
        margin-right: auto;
    }

    /* Hide images 3 and 4 completely */
    .toy-hero__gallery .toy-hero__image:nth-child(3),
    .toy-hero__gallery .toy-hero__image:nth-child(4) {
        display: none;
    }

    /* First two images fill the two available columns */
    .toy-hero__gallery .toy-hero__image:nth-child(1),
    .toy-hero__gallery .toy-hero__image:nth-child(2) {
        display: block;
        width: 100%;
        height: 100%;
        min-width: 0;
    }
    .toy-hero__image--small{
      display: none;
    }

    .toy-hero__support {
        margin-top: 14px;
    }

    .toy-hero__track {
        height: clamp(34px, 16vw, 70px);
    }
}

/* Compact 2x2 gallery grid for very narrow phones where four columns
   would make each image too small to read */
@media (max-width: 430px) {
    .toy-hero__gallery {
        flex-wrap: wrap;
        height: auto;
        row-gap: 6px;
        width: min(100% - 4px, 320px);
    }

    .toy-hero__image {
        flex: 1 1 calc(50% - 3px);
        height: clamp(78px, 22vw, 110px);
    }
}

/* ======================================================
   VERY SMALL MOBILE (320px - 390px)
====================================================== */

@media (max-width: 390px) {
    .toy-hero {
        padding-block: 16px 46px;
    }

    .toy-hero__logo-mark {
        width: 26px;
    }

    .toy-hero__title {
        font-size: clamp(26px, 8vw, 32px);
    }

    .toy-hero__subheading {
        font-size: clamp(14px, 5vw, 17px);
    }

    .toy-hero__gallery {
        width: min(100% - 4px, 280px);
    }

    .toy-hero__track {
        height: clamp(28px, 15vw, 54px);
    }
}



/* ==========================================================================
   Base / Desktop
   ========================================================================== */

.adhira-family-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1rem, 4vw, 3rem);
}

.adhira-family-section *,
.adhira-family-section *::before,
.adhira-family-section *::after {
  box-sizing: border-box;
}

/* ---------- Background watermark ---------- */

.adhira-family-section__bg-text {
  position: absolute;
  top: clamp(6.5rem, 15vw, 11.5rem);
  right: clamp(1rem, 30vw, 25rem);
  z-index: 1;
  text-align: center;
  line-height: 1.05;
  color: #bcbfc6;
  font-weight: 800;
  font-size: clamp(1.6rem, 3.6vw, 3rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  font-family: "Arial Rounded";
}

.adhira-family-section__bg-text span {
  display: block;
}

/* ---------- Container ---------- */

.adhira-family-section__container {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
}

/* ---------- Heading (DO NOT MODIFY — preserved as-is) ---------- */

.adhira-family-section__heading-wrap {
  position: relative;
  z-index: 3;
  text-align: center;
  margin: 0 auto clamp(2.5rem, 14vw, 8.5rem);
}

.adhira-family-section__heading {
  margin: 0;
  font-family: "MyFont";
  font-weight: 700;
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: #16284c;
}

.adhira-family-section__subtitle {
  font-family: "Arial Rounded";
  margin: 0.35em 0 0;
  font-weight: 700;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  letter-spacing: 0.01em;
  color: #16284c;
}

/* ---------- Giraffe ---------- */

.adhira-family-section__giraffe {
  position: absolute;
  z-index: 4;
  top: -2vw;
  left: clamp(0rem, 7vw, 7.75rem);
  width: clamp(7rem, 11vw, 12rem);
  height: auto;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

/* ---------- Statistics / feature card ---------- */

.adhira-family-section__stats {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  max-width: 960px;
  min-height: 90px;
  margin: 0 auto clamp(3.5rem, 7vw, 2rem);
  padding: 1rem clamp(1.25rem, 2.5vw, 2.25rem);
  border: 1px dashed rgba(22, 40, 76, 0.9);
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(2px);
}

.adhira-family-section__feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.25rem 0.75rem;
}

.adhira-family-section__feature-icon {
  flex: 0 0 auto;
  width: clamp(2rem, 3vw, 2.5rem);
  height: clamp(2rem, 3vw, 2.5rem);
  object-fit: contain;
}

.adhira-family-section__feature-text {
  font-weight: 400;
  font-size: clamp(0.85rem, 3.1vw, 1.1rem);
  line-height: 1.3;
  color: #16284c;
  font-family: "Arial Rounded";
}

/* ---------- Revenue section ---------- */

.adhira-family-section__revenue {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1.72fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
  width: 100%;
  max-width: 970px;
  margin: 0 auto;
}

.adhira-family-section__revenue-left {
  min-width: 0;
}

.adhira-family-section__revenue-heading {
  margin: 0 0 1rem;
  font-weight: 700;
  font-size: clamp(1.15rem, 1.9vw, 1.5rem);
  line-height: 1.3;
  color: #16284c;
  font-family: "Arial Rounded";
}


.adhira-family-section__revenue-heading br{
  display: none;
}

.adhira-family-section__revenue-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 886 / 304;
  object-fit: cover;
  border-radius: 16px;
}

/* ---------- Revenue pills ---------- */

.adhira-family-section__pills {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-self: center;
  font-family: "Arial Rounded";
}

.adhira-family-section__pill {
  position: relative;
  display: flex;
  align-items: center;
  height: 1.8rem;
  padding: 0 2.25rem 0 2.5rem;
  border-radius: 999px;
  background: #cff4f3;
  color: #16284c;
  font-weight: 600;
  font-size: clamp(0.85rem, 1.1vw, 0.95rem);
  width: 75%;
}

.adhira-family-section__pill::before {
  content: "";
  position: absolute;
  left: 1.6rem;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 55%;
  border-radius: 2px;
  background: #f5a623;
}
.mobile-giraffee{
  display: none;
}
/* ==========================================================================
   Desktop responsive (laptop range)
   ========================================================================== */

@media (min-width: 1440px){
      .adhira-family-section__giraffe{
    top: 2vw;
    left: clamp(0rem, 13vw, 10.75rem);

    }
    .adhira-family-section__stats{
      min-height: 8vw;
    }
    .adhira-family-section__bg-text{
      right: clamp(1rem, 33vw, 28rem);
    }
}
@media (min-width: 2000px){

  .store-card__image-wrapper {
    flex: 0 0 65% !important;
  }

  .store-card__image {
    max-width: 95%;
    max-height: 75%;
    object-fit: contain;
}
  .adhira-family-section__bg-text{
  right: clamp(1rem, 45vw, 64rem);

  }
  .adhira-family-section__giraffe{
    top: 0vw;
  }
    .adhira-family-section__stats{
      min-height: 7vw;
      max-width: 1200px;
    }
    .adhira-family-section__feature-text{
      font-size: clamp(1rem, 1.5vw, 1.5rem);
    }
    .store-card{
      height: 20vw !important;
    }
    .store-card__image{
      height: 20vw !important;
    }
    .store-card__heading{
      font-size: clamp(1.2rem, 1.5vw, 2.5rem) !important;
    }
    .toy-hero__content{
      width: min(100% - 40px, 1200px);
    }
        .toy-hero__gallery {
        width: min(100% - 8px, 1212px);
    }
}
@media (max-width: 1280px) {
  .adhira-family-section__giraffe {
    width: clamp(8rem, 15vw, 12.5rem);
  }

  .adhira-family-section__stats {
    max-width: 91%;
  }
}

@media (max-width: 1100px) {
  .adhira-family-section__heading {
    font-size: clamp(2.1rem, 4.4vw, 3rem);
  }

  .adhira-family-section__bg-text {
    font-size: clamp(1.4rem, 3.2vw, 2.4rem);
  }
}

/* ==========================================================================
   Tablet (~769px – 900px)
   ========================================================================== */

@media (max-width: 900px) {
  .adhira-family-section__giraffe {
    position: relative;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: clamp(7rem, 22vw, 10rem);
    margin: 0 auto -1.5rem;
  }

  .adhira-family-section__heading-wrap {
    padding-top: 0.5rem;
  }

  .adhira-family-section__bg-text {
    top: clamp(4.5rem, 10vw, 7rem);
    right: 50%;
    transform: translateX(50%);
    text-align: center;
  }

  .adhira-family-section__stats {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
    row-gap: 1.25rem;
    min-height: unset;
  }

  .adhira-family-section__revenue {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  .adhira-family-section__pills {
    width: 100%;
  }

  .adhira-family-section__pill {
    width: 100%;
  }
}

/* ==========================================================================
   Mobile (≤ 768px) — matched to reference screenshot
   ========================================================================== */

/* ==========================================================================
   Mobile (≤ 768px) — rebuilt to match reference screenshot
   Replaces the previous @media (max-width: 768px) block.
   Desktop, tablet (>768px), and .adhira-family-section__heading /
   __subtitle rules are untouched.
   ========================================================================== */

@media (max-width: 768px) {
  .main--wrapper {
    background-image: none;
  }

  .adhira-family-section {
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    padding: 2.25rem 1.25rem 3rem;
  }

  .adhira-family-section__container {
    display: contents;
  }

  /* ---------- 1. Heading ---------- */
  .adhira-family-section__heading-wrap {
    order: 1;
    margin: 0 0 0.35rem;
  }

  .adhira-family-section__heading {
    font-size: clamp(2.3rem, 4.4vw, 3rem);
  }

  .adhira-family-section__bg-text {
    order: 2;
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    z-index: 1;
    width: 100%;
    margin: 0 0 0.5rem;
    /* opacity: 0.16; */
    font-size: clamp(1.05rem, 7.6vw, 1.8rem);
    line-height: 1.15;
    white-space: normal;
    text-align: center;
  }

  /* ---------- 3. Giraffe: desktop image hidden, mobile image shown ---------- */
  .adhira-family-section__giraffe {
    display: none;
  }

  .mobile-giraffee {
    display: block;
    order: 3;
    position: relative;
    z-index: 5; /* sits above the card border where they overlap */
    width: clamp(130px, 64vw, 195px);
    height: auto;
    margin: 0.25rem auto clamp(-95px, -33vw, -70px);
    margin-inline: auto;
    pointer-events: none;
  }

  /* ---------- 4. Feature card ---------- */
  .adhira-family-section__stats {
    order: 4;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
    width: min(80vw, 301px);
    min-height: 0;
    margin: 0 auto 2.5rem;
    padding: clamp(80px, 30vw, 100px) 1.5rem 1.5rem;
    border: 1px dashed rgba(22, 40, 76, 0.85);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(1px);
    gap: 1.5rem;
  }

  .adhira-family-section__feature {
    justify-content: flex-start;
    align-items: center;
    text-align: left;
    gap: 0.7rem;
    padding: 0;
  }

  .adhira-family-section__feature-icon {
    width: clamp(25px, 8vw, 30px);
    height: clamp(25px, 8vw, 30px);
  }

  .adhira-family-section__feature-text {
    font-size: clamp(15px, 6.2vw, 20px);
    line-height: 1.15;
    font-weight: 700;
    text-align: left;
    white-space: normal;
  }

  /* ---------- 5. Revenue block ---------- */
  .adhira-family-section__revenue {
    order: 5;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .adhira-family-section__revenue-heading br{
    display: block;
  }

  .adhira-family-section__revenue-heading {
    text-align: center;
    font-size: clamp(18px, 7.2vw, 27px);
    line-height: 1.25;
    font-weight: 700;
    margin: 0 0 1.1rem;
  }

  .adhira-family-section__revenue-image {
        width: 92%;
        border-radius: 14px;
        margin: 0 auto;
  }

  .adhira-family-section__pills {
        width: 93%;
        margin-top: 1.1rem;
        gap: 0.55rem;
        margin: 25px auto 0px;
  }

  .adhira-family-section__pill {
    width: 100%;
    height: auto;
    min-height: 25px;
    padding: 0.6rem 1rem 0.6rem 2.8rem;
    background: #f5f5f5;
    color: #16284c;
    font-size: clamp(12px, 5.8vw, 21px);
    font-weight: 600;
  }

  .adhira-family-section__pill::before {
    left: 1.7rem;
    width: 5px;
    height: 55%;
  }

    .adhira-family-section__stats {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    justify-content: center;
  }

  .adhira-family-section__feature {
    width: 100%;
    display: grid;
    grid-template-columns: 32px 1fr;
    align-items: center;
    column-gap: 0.7rem;
    padding: 0;
    margin: 0;
    padding-left: 15%;
  }

  .adhira-family-section__feature-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
    justify-self: center;
  }

  .adhira-family-section__feature-text {
    font-size: clamp(15px, 6.2vw, 20px);
    line-height: 1.15;
    font-weight: 700;
    text-align: left;
    margin: 0;
  }

}

@media (max-width: 340px) {
  .adhira-family-section__stats {
    width: clamp(180px, 82vw, 210px);
  }

  .mobile-giraffee {
    width: clamp(120px, 60vw, 145px);
  }
}


.store-section {
  --color-navy: #161c3d;
  --color-turquoise: #2cc4c0;
  --color-cream: #faecc9;
  --color-yellow: #f2c264;
  --color-text: #161c3d;
  --color-white: #ffffff;

  --radius-card: 22px;
  --shadow-card: 0 12px 28px rgba(22, 28, 61, 0.10);
  --transition-duration: 0.5s;

  --store-card-width: 18vw;
  --store-card-height: 25vw;
  --details-width: 20vw;
  --grid-gap: clamp(20px, 3vw, 40px);

  position: relative;
  width: 100%;
  overflow-x: hidden;
  padding: clamp(0px, 2vw, 80px) 20px clamp(50px, 7vw, 90px);
  box-sizing: border-box;
}

.store-section *,
.store-section *::before,
.store-section *::after {
  box-sizing: border-box;
}

/* ---------------- Decorative background ---------------- */

.store-section__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  max-width: 700px;
  height: 60%;
  pointer-events: none;
  z-index: 0;
}

.store-section__bg-lines path {
  fill: none;
  stroke: #cfd8e8;
  stroke-width: 1.4;
  opacity: 0.55;
}

/* ---------------- Title ---------------- */

.store-section__title {
  position: relative;
  z-index: 1;
  font-family: "MyFont";
  font-weight: 700;
  font-size: clamp(1.9rem, 3.2vw, 3.4rem);
  line-height: 1.2;
  text-align: center;
  color: var(--color-navy);
  max-width: 900px;
  margin: 0 auto clamp(30px, 5vw, 56px);
}
.store-section__title br{
  display: none;
}

/* ---------------- Grid ---------------- */

.store-grid {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: var(--grid-gap);
  width: 100%;
  margin: 0 auto;
}

/* ----------------------------------------------------------------------
   Store card — the outer box owns the radius / shadow / clipping, so
   the front panel and the details panel that grows out of it always
   read as one physical piece.

   DESKTOP / TABLET (min-width: 768px): unchanged.
   ---------------------------------------------------------------------- */

.store-card {
  position: relative;
  display: flex;
  align-items: stretch;
  height: var(--store-card-height);
  flex: 0 0 var(--store-card-width);
  width: var(--store-card-width);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  background: var(--color-white);
  overflow: hidden;
  transition: flex-basis var(--transition-duration) cubic-bezier(0.4, 0, 0.2, 1),
              width var(--transition-duration) cubic-bezier(0.4, 0, 0.2, 1);
}

.store-card.is-open {
  flex-basis: calc(var(--store-card-width) + var(--details-width));
  width: calc(var(--store-card-width) + var(--details-width));
}

/* ---------------- Front panel (fixed width, never moves) ---------------- */

.store-card__panel {
  position: relative;
  z-index: 2;
  flex: 0 0 var(--store-card-width);
  width: var(--store-card-width);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--color-white);
  cursor: pointer;
}

.store-card__panel:focus-visible {
  outline: 2px solid var(--color-navy);
  outline-offset: -4px;
}

.store-card__heading {
  margin: clamp(18px, 3vw, 26px) 0 0;
  font-size: clamp(1.15rem, 3.6vw, 1.5rem);
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  color: var(--color-navy);
  font-family:"Arial Rounded";
}

/* Decorative divider */

.store-card__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 74%;
  margin: 10px auto 6px;
}

.store-card__divider-line {
  flex: 1;
  height: 1px;
  background: var(--color-navy);
  opacity: 0.7;
}

.store-card__divider-dots {
  display: flex;
  align-items: center;
  gap: 4px;
}

.store-card__divider-dots span {
  width: 4px;
  height: 4px;
  background: var(--color-navy);
  opacity: 0.7;
  transform: rotate(45deg);
}

.store-card__divider-dots .store-card__diamond {
  width: 7px;
  height: 7px;
}

/* Image */

.store-card__image-wrapper {
    flex: 0 0 50%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 12px 6px;
    min-height: 0;
}

.store-card__image {
    max-width: 95%;
    max-height: 75%;
    object-fit: contain;
}

/* Price bar */

.store-card__price {
  width: 100%;
  padding: clamp(16px, 2.4vw, 22px) 10px;
  text-align: center;
  font-weight: 700;
  font-size: clamp(1.3rem, 3.9vw, 1.9rem);
  color: var(--color-white);
  font-family: "Arial Rounded";
}

.store-card__price--turquoise {
  background: var(--color-turquoise);
}

.store-card__price--navy {
  background: var(--color-navy);
}

.store-card__details {
  position: relative;
  z-index: 1;
  flex: 0 0 0px;
  width: 0;
  height: 100%;
  overflow: hidden;
  transition: flex-basis var(--transition-duration) cubic-bezier(0.4, 0, 0.2, 1),
  width var(--transition-duration) cubic-bezier(0.4, 0, 0.2, 1);
}

.store-card.is-open .store-card__details {
  flex: 0 0 var(--details-width);
  width: var(--details-width);
}

/* ---------------- Investment panel (reused inside every card) ---------------- */

.investment-panel {
  width: var(--details-width);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.investment-panel__top {
  background: var(--color-cream);
  padding: clamp(18px, 2.6vw, 24px) 18px clamp(12px, 2vw, 16px);
  text-align: center;
  flex: 0 0 auto;
}

.investment-panel__heading {
  margin: 0 0 8px;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-navy);
  font-family: "Arial Rounded";
}

.investment-panel__sub {
  margin: 0;
  font-size: clamp(0.82rem, 1vw, 0.92rem);
  font-weight: 600;
  color: var(--color-navy);
  font-family: "Arial Rounded";
}

.investment-panel__mid {
  background: var(--color-yellow);
  padding: clamp(14px, 2vw, 20px) 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.investment-panel__row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.investment-panel__percent {
  font-size: clamp(1.8rem, 2.6vw, 2.3rem);
  font-weight: 800;
  color: var(--color-navy);
  min-width: 64px;
  text-align: right;
  font-family: "Arial Rounded";
}

.investment-panel__label {
  font-size: clamp(0.82rem, 1vw, 0.92rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-navy);
  font-family: "Arial Rounded";
}

.investment-panel__or {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 2px 0;
}

.investment-panel__or-line {
  flex: 1;
  height: 0;
  border-top: 1px dashed rgba(22, 28, 61, 0.55);
}

.investment-panel__or-text {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-navy);
  white-space: nowrap;
}

.investment-panel__bottom {
  background: var(--color-cream);
  padding: clamp(14px, 2vw, 18px);
  text-align: center;
  flex: 0 0 auto;
}

.investment-panel__bottom p {
  margin: 0;
  font-size: clamp(0.9rem, 1.1vw, 1rem);
  font-weight: 600;
  color: var(--color-navy);
  font-family: "Arial Rounded";
}

.adhira-store-wrapper {
    position: relative;
    overflow: hidden;
}

.adhira-store-wrapper::before {
    content: "";
    display: none;
}

/* Default state */
.store-card__price--turquoise {
    background-color: var(--color-turquoise);
    transition: color 0.3s ease;
}

/* Open / active card */
.store-card.is-open .store-card__price--turquoise {
    background-color: var(--color-navy);
}
/* ==========================================================================
   Breakpoint: 992px – 1199px (large tablet)
   DESKTOP: unchanged.
   ========================================================================== */

@media (max-width: 1199px) {
  .store-section {
    --store-card-width: 260px;
    --store-card-height: 400px;
    --details-width: 260px;
  }
}

/* ==========================================================================
   Breakpoint: 768px – 991px (tablet)
   DESKTOP: unchanged. This still uses the horizontal expansion, same as
   full desktop — only the < 768px block below is the "mobile" behavior.
   ========================================================================== */

@media (max-width: 991px) {
  .store-section {
    --store-card-width: 220px;
    --store-card-height: 370px;
    --details-width: 220px;
  }

  .investment-panel__percent {
    min-width: 52px;
    font-size: 1.5rem;
  }
}


@media (max-width: 767px) {

      .adhira-store-wrapper::before {
        display: block;
        position: absolute;
        z-index: 0;

        /*
         * Start position of the BG image.
         * This should align with the 3rd pill.
         */
        top: 34%;

        left: 0;
        width: 100%;

        /*
         * Image continues from the family section
         * down to the 2nd store card.
         */
        height: 100%;

        background-image: url("./images/Mobile/bg-2.jpg");
        background-repeat: no-repeat;
        background-position: center top;
        background-size: 100% auto;

        pointer-events: none;
    }

    .adhira-family-section,
    .store-section {
        position: relative;
        z-index: 1;
    }
  .store-section {
    --store-card-width: 100%;
    --store-card-height: 380px;
    --details-width: 100%;
    /* background-image: url('./images/Mobile/bg-2.jpg'); */
  }

  .store-grid {
    flex-direction: column;
    align-items: center;
  }

  .store-card {
    --details-height: 0px;
    max-width: 290px;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    flex-basis: auto;
    height: var(--store-card-height);
    overflow: hidden;
    transition: height var(--transition-duration) cubic-bezier(0.4, 0, 0.2, 1);
  }

  .store-card.is-open {
    width: 100%;
    flex-basis: auto;
    height: calc(var(--store-card-height) + var(--details-height));
  }

  .store-card__panel {
    position: relative;
    z-index: 2;
    flex: 0 0 var(--store-card-height);
    width: 100%;
    height: var(--store-card-height);
  }

  /* No horizontal slide on mobile: the details block is a normal,
     full-height flow item directly under the front panel. It is only
     ever hidden because the parent .store-card clips it via
     overflow:hidden + a shorter height — not via width/transform. */
  .store-card__details,
  .store-card.is-open .store-card__details {
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    overflow: visible;
  }

    .store-section__title{
    font-size: clamp(2.2rem, 4.2vw, 2.5rem);
  }
  .store-card__heading{
    font-size: clamp(2.15rem, 1.6vw, 1.5rem);
  }
  .store-section__title br{
    display: block;
  }
  .investment-panel {
    width: 100%;
    height: auto;
  }
  .investment-panel__heading{
    font-size: clamp(1.5rem, 1.3vw, 1.15rem);
  }
  .investment-panel__sub{
        font-size: clamp(1rem, 1vw, 0.92rem);
  }
}

/* ==========================================================================
   Breakpoint: below 576px (small mobile)
   MOBILE: updated (height variable only — same reveal mechanism as above).
   ========================================================================== */

@media (max-width: 575px) {
  .store-section {
    --store-card-height: 357px;
    padding-left: 12px;
    padding-right: 12px;
    padding-bottom: 10px;
  }

  .store-card__price {
    font-size: 3.1rem;
  }

  .investment-panel__percent {
    min-width: 48px;
    font-size: 2.35rem;
  }
  .investment-panel__label{
        font-size: clamp(1rem, 1vw, 0.92rem);
  }
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .store-card,
  .store-card__details {
    transition: none;
  }
}


/* Box-sizing reset (scoped to this component's tree) */
.franchise-hero,
.franchise-hero *,
.franchise-hero *::before,
.franchise-hero *::after {
  box-sizing: border-box;
}



@import url('https://fonts.googleapis.com/css2?family=Kalam:wght@700&display=swap');

:root {
  --color-navy: #171D3A;
  --color-turquoise: #20C6C8;
  --color-bg: #F7F7F7;

  --font-body: 'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-hand: 'Kalam', 'Segoe Print', 'Comic Sans MS', cursive;

  --container-max: 82%;
  --container-pad: clamp(20px, 4vw, 64px);
}

.franchise-hero {
  background-color: var(--color-bg);
  /* min-height: 100vh; */
  display: flex;
  align-items: center;
  width: 100%;
  overflow-x: hidden;
  font-family: var(--font-body);
}

.franchise-hero__container {
  width: min(100% - (var(--container-pad) * 2), var(--container-max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 31% 37% 26%;
  align-items: center;
  column-gap: clamp(16px, 3vw, 48px);
  padding-block: 0px 80px;
}

/* --------------------------------------------------------------------------
   Left content
   -------------------------------------------------------------------------- */

.franchise-hero__left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-family: "Arial Rounded";
}

.franchise-hero__heading {
  color: var(--color-navy);
  font-size: clamp(24px, 2.1vw, 34px);
  font-weight: 700;
  line-height: 1.18;
  margin: 0;
  max-width: 22ch;
}

.franchise-hero__tagline {
  color: var(--color-turquoise);
  font-size: clamp(22px, 1.9vw, 32px);
  font-weight: 700;
  line-height: 1.2;
  margin: clamp(14px, 2vw, 20px) 0 0;
  white-space: nowrap;
}

.franchise-hero__description {
  color: var(--color-navy);
  font-size: clamp(16px, 1.4vw, 24px);
  font-weight: 600;
  line-height: 1.35;
  margin: clamp(14px, 2vw, 22px) 0 0;
}

.franchise-hero__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;

  width: min(100%, 510px);
  height: clamp(56px, 6vw, 70px);

  margin-top: clamp(24px, 3vw, 36px);
  padding-inline: clamp(24px, 3vw, 40px);

  background-color: var(--color-turquoise);
  color: #FFFFFF;
  font-size: clamp(15px, 1.3vw, 21px);
  font-weight: 600;

  border-radius: 999px;
  border: none;

  transition: filter 0.2s ease;
}

.franchise-hero__cta:hover,
.franchise-hero__cta:focus-visible {
  filter: brightness(0.94);
}

.franchise-hero__cta:focus-visible {
  outline: 2px solid var(--color-navy);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Center map
   -------------------------------------------------------------------------- */

.franchise-hero__map {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.franchise-hero__map-image {
  width: min(100%, 560px);
  height: auto;
  max-height: 560px;
  object-fit: contain;
  display: block;
}

/* --------------------------------------------------------------------------
   Right content
   -------------------------------------------------------------------------- */

.franchise-hero__right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.franchise-hero__handwritten {
  font-family: "MyFont";
  text-transform: uppercase;
  color: var(--color-navy);
  font-size: clamp(22px, 1.9vw, 32px);
  line-height: 1.22;
  font-weight: 700;
  margin: 0;
}
.franchise-hero__handwritten-mobile{
  display: none;
}

.franchise-hero__subheading {
  color: var(--color-turquoise);
  font-size: clamp(18px, 1.6vw, 27px);
  font-weight: 700;
  line-height: 1.3;
  margin: clamp(10px, 1.5vw, 16px) 0 0;
  font-family: "Arial Rounded";
}

.franchise-hero__stats {
  color: var(--color-navy);
  font-size: clamp(15px, 1.35vw, 22px);
  font-weight: 600;
  line-height: 1.45;
  margin: clamp(14px, 2vw, 20px) 0 0;
  font-family: "Arial Rounded";
}

/* ==========================================================================
   Responsive behavior
   ========================================================================== */

/* Tablet: shrink gaps, map size, and typography gradually */
@media (max-width: 1200px) {
  .franchise-hero__container {
    grid-template-columns: 32% 36% 27%;
    column-gap: clamp(12px, 2.4vw, 32px);
  }
}

@media (max-width: 992px) {
  .franchise-hero__container {
    grid-template-columns: 33% 34% 28%;
  }

  .franchise-hero__map-image {
    width: min(100%, 420px);
  }
}

/* Mobile: single-column stacked layout */
@media (max-width: 767px) {
    .mobile-main--wrapper {
        position: relative;
        width: 100%;
        min-height: 100%;

        background-image: url("./images/Mobile/bg-3.jpg");
        background-repeat: no-repeat;
        background-position: top center;
        background-size: 100% 100%;
    }

    .mobile-main--wrapper .franchise-hero,
    .mobile-main--wrapper .partner-section {
        background: transparent !important;
    }

    .mobile-main--wrapper .partner-section__bg {
        background: transparent;
    }
  .franchise-hero {
    
    min-height: auto;
    padding-block: 48px 0px;
  }

  .franchise-hero__container {
  
    display: flex;
    flex-direction: column;
    width: min(100% - 40px, 600px);
    padding-block: 0;
    row-gap: 40px;
  }

  .franchise-hero__left,
  .franchise-hero__right {
    align-items: center;
    text-align: center;
  }

  .franchise-hero__heading {
    max-width: none;
  }

  .franchise-hero__tagline {
    white-space: normal;
  }

  .franchise-hero__cta {
    width: 100%;
    margin-inline: auto;
  }

  .franchise-hero__map {
    order: 0;
  }

  .franchise-hero__map-image {
    width: min(100%, 360px);
  }
}

@media (max-width: 480px) {
  .franchise-hero__map-image {
    width: min(100%, 300px);
  }
}

/* Ultra-wide displays: keep scale consistent with the reference rather than
   letting the layout grow excessively */
@media (min-width: 2560px) {
  :root {
    --container-max: 1600px;
  }
}


/* ==========================================================================
   Partner With A&A Toys — enquiry section
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@600;700;800&family=Poppins:wght@400;500;600;700&display=swap');

.partner-section,
.partner-section *,
.partner-section *::before,
.partner-section *::after {
  box-sizing: border-box;
}

:root {
  --turquoise: #16C4C4;
  --turquoise-dark: #0FA8A8;
  --input-bg: #C8F3F3;
  --navy: #171D3A;
  --white-area-bg: #F5F5F5;

  --font-display: 'Baloo 2', 'Segoe UI', sans-serif;
  --font-body: 'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --content-max: 760px;
}

/* --------------------------------------------------------------------------
   Section shell
   -------------------------------------------------------------------------- */

.partner-section {
  position: relative;
  width: 100%;
  overflow: hidden; /* clips only the decorative train/background layers */
  font-family: var(--font-body);
}

/* Top white strip — height is responsive, driven by the train's own height */
.partner-section::before {
  content: "";
  display: block;
  width: 100%;
  height: clamp(72px, 8vw, 137px);
  background: var(--white-area-bg);
}

/* --------------------------------------------------------------------------
   Decorative train layer (does not affect form layout)
   -------------------------------------------------------------------------- */

.partner-section__train {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: clamp(72px, 7vw, 137px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: visible;
  z-index: 3;
  pointer-events: none;
}

.partner-section__train-image {
  width: clamp(420px, 80vw, 1000px);
  height: auto;
  max-width: none;
  transform: translateY(28%); /* lets the train overlap the turquoise boundary */
}

/* --------------------------------------------------------------------------
   Background image + turquoise overlay
   -------------------------------------------------------------------------- */

.partner-section__bg {
  position: absolute;
  top: clamp(72px, 8vw, 137px);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;

  background-image:
    url('./images/Desktop/Footer.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* --------------------------------------------------------------------------
   Content container
   -------------------------------------------------------------------------- */

.partner-section__content {
  position: relative;
  z-index: 2;
  width: min(90%, var(--content-max));
  margin-inline: auto;
  padding-block: clamp(56px, 8vw, 88px) clamp(40px, 6vw, 56px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Heading & subtitle
   -------------------------------------------------------------------------- */

.partner-section__heading {
  font-family: "MyFont";
  color: #FFFFFF;
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.2;
  margin: 0;
}

.partner-section__subtitle {
  font-family: var(--font-body);
  color: #FFFFFF;
  font-weight: 600;
  font-size: clamp(16px, 1.4vw, 20px);
  margin: clamp(12px, 2vw, 18px) 0 0;
}

/* --------------------------------------------------------------------------
   Form
   -------------------------------------------------------------------------- */

.partner-form {
  width: 100%;
  margin-top: clamp(28px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.partner-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.partner-form__field {
  display: block;
  width: 100%;
}

.partner-form__field--full {
  width: 100%;
}

/* Visually-hidden accessible labels */
.partner-form__label-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.partner-form input,
.partner-form textarea {
  width: 100%;
  background: var(--input-bg);
  border: none;
  border-radius: 8px;
  color: #555555;
  font-family: var(--font-body);
  font-size: clamp(14px, 1vw, 15px);
  font-weight: 400;
  padding: 0 20px;
}

.partner-form input {
  height: clamp(42px, 3.4vw, 44px);
}

.partner-form input::placeholder,
.partner-form textarea::placeholder {
  color: #555555;
  font-weight: 400;
}
.partner-form__field select {
  width: 100%;
  height: 100%;
  min-height: 30px;
  padding: 0 2.75rem 0 1rem;
  border: 1px solid #d9dce3;
  border-radius: 8px;
background: var(--input-bg);
   color: #555555;
  font-family: inherit;
   font-size: clamp(14px, 1vw, 15px);
  /* font-weight: 500; */
  outline: none;
  cursor: pointer;

  /* Custom dropdown arrow */
  appearance: none;
  -webkit-appearance: none;


}

.partner-form__field select:focus {
  border-color: #20c6c8;
}

.partner-form__field select option {
  color: #16284c;
  background: #fff;
}
.partner-form textarea {
  height: clamp(90px, 9vw, 105px);
  padding-top: 14px;
  padding-bottom: 14px;
  resize: vertical;
  font-family: var(--font-body);
}

.partner-form input:focus,
.partner-form textarea:focus {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   Submit button
   -------------------------------------------------------------------------- */

.partner-form__submit {
  width: 100%;
  height: clamp(48px, 4.5vw, 56px);
  margin-top: 4px;

  background: #E8E6E1;
  color: var(--navy);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(18px, 1.8vw, 25px);
  letter-spacing: 0.02em;
  text-transform: uppercase;

  border: none;
  border-radius: 999px;
  cursor: pointer;

  transition: filter 0.2s ease, transform 0.15s ease;
}

.partner-form__submit:hover {
  filter: brightness(0.96);
}

.partner-form__submit:active {
  transform: scale(0.99);
}

.partner-form__submit:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.partner-footer {
  margin-top: clamp(28px, 4vw, 40px);
  text-align: center;
}

.partner-footer__copyright {
  color: var(--navy);
  font-weight: 500;
  font-size: clamp(16px, 1.6vw, 20px);
  margin: 0;
}

.partner-footer__legal {
  color: var(--navy);
  font-weight: 700;
  font-size: clamp(13px, 1.2vw, 16px);
  margin: 8px 0 0;
}

.partner-footer__legal a {
  color: inherit;
  text-decoration: none;
}

.partner-footer__legal a:hover,
.partner-footer__legal a:focus-visible {
  text-decoration: underline;
}

/* ==========================================================================
   Responsive behavior
   ========================================================================== */
.partner-footer__separator {
    display: inline;
}

@media (max-width: 1023px) and (min-width: 768px) {
  .partner-section__train-image {
    width: clamp(380px, 62vw, 640px);
  }
}

/* Mobile */
@media (max-width: 767px) {
  .partner-section__train-image {
    width: clamp(280px, 85vw, 480px);
  }

  .partner-form__row {
    grid-template-columns: 1fr;
  }

  .partner-footer__legal {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 6px;
    font-size: clamp(16px, 1.2vw, 16px);
  }
      .partner-footer__separator.terms-separator {
        display: none;
    }
}

@media (max-width: 480px) {
  .partner-section__train-image {
    width: clamp(240px, 90vw, 360px);
  }
}


/* ==========================================================================
   MOBILE-ONLY: train relocation, hero reordering, compact footer section
   (Appended — does not modify any existing desktop rule)
   ========================================================================== */

/* Hide the new train clone everywhere except mobile */
.franchise-hero__train-mobile {
  display: none;
}

@media (max-width: 767px) {

  /* ---------- Train clone at the very top ---------- */
  .franchise-hero {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  .franchise-hero__train-mobile {
    display: block;
    position: relative;
    width: 100%;
    height: clamp(90px, 31vw, 140px);
    overflow: hidden;
    z-index: 2;
  }

  .franchise-hero__train-mobile-image {
        position: absolute;
        width: 783px;
        max-width: 830px;
        height: auto;
        left: 50%;
        top: 0;
        transform: translateX(-25%);
        display: block;
  }

  .franchise-hero__container {
    position: relative;
    z-index: 3;
  }

  /* Hide the original train in its desktop position */
  .partner-section__train {
    display: none;
  }

  /* ---------- Reorder hero content ---------- */
  /* Sequence: train(-2) -> right(-1) -> map(0) -> left(1) */
  .franchise-hero__right {
    order: -1;
  }

  .franchise-hero__map {
    order: 0;
    margin-top: clamp(24px, 6vw, 36px);
    margin-bottom: clamp(24px, 6vw, 36px);
  }

  .franchise-hero__left {
    order: 1;
  }

  .franchise-hero__container {
    row-gap: 18px;
  }

  /* ---------- Responsive India map ---------- */
  .franchise-hero__map-image {
    width: clamp(190px, 74vw, 287px);
    max-height: none;
  }

  /* ---------- Typography: visible scaling across 320–480px ---------- */
  .franchise-hero__heading {
    font-size: clamp(20px, 7.5vw, 37px);
  }
  .franchise-hero__heading br{
    display: none;
  }

  .franchise-hero__tagline {
    font-size: clamp(20px, 5.5vw, 26px);
    margin-top: 5px;
  }

  .franchise-hero__description {
    font-size: clamp(14px, 4.8vw, 20px);
    margin-top: 5px;
  }

  .franchise-hero__handwritten {
    font-size: clamp(20px, 5.5vw, 26px);
    display: none;
  }
  .franchise-hero__handwritten-mobile{
    display: block;
    font-size: clamp(20px, 7.5vw, 32px);
    font-family: "MyFont";
    text-transform: uppercase;
    padding: 0;
    margin: 0;
    margin-top: 10px;
  }
  .franchise-hero__subheading {
    font-size: clamp(16px, 6.5vw, 22px);
  }

  .franchise-hero__stats {
    font-size: clamp(13px, 4.5vw, 17px);
     line-height: 1.2;
  }

  /* ---------- CTA: fix overflow risk + match reference proportions ---------- */
  .franchise-hero__cta {
    width: min(92%, 380px);
    margin-inline: auto;
    white-space: normal;      /* overrides base rule's nowrap — prevents overflow */
    height: auto;
    min-height: 52px;
    padding-block: 12px;
    line-height: 1.25;
    font-size: clamp(13px, 3.6vw, 16px);
  }

  /* ---------- Partner section becomes a compact footer strip ---------- */
  .partner-section__heading,
  .partner-section__subtitle,
  .partner-form {
    display: none;
  }

  .partner-section::before {
    display: none;
  }

  .partner-section__bg {
    display: none;
  }

  .partner-section {
    background-color: var(--color-bg, #F7F7F7);
  }

  .partner-section__content {
    padding-block: 20px 32px;
  }

  .partner-footer {
    margin-top: 0;
  }
  .partner-footer__copyright {
    font-size: clamp(19px, 1.6vw, 20px);
}
}

/* ---------- Fine-tune the 405px–467px range specifically ---------- */
@media (min-width: 405px) and (max-width: 480px) {
  .franchise-hero__map-image {
    width: clamp(225px, 50vw, 260px);
  }

  .franchise-hero__train-mobile-image {
    width: 200%;
  }

  .franchise-hero__cta {
    width: min(88%, 400px);
    font-size: clamp(14px, 5.4vw, 18px);
  }
}

/* ---------- Extra safety for the smallest phones ---------- */
@media (max-width: 380px) {
  .franchise-hero__map-image {
    width: clamp(170px, 54vw, 210px);
  }

  .franchise-hero__train-mobile-image {
    width:200%;
  }
}

/* ==========================================================================
   Territory Selection Wizard (Step 1 of 8)
   ========================================================================== */

.territory-wizard,
.territory-wizard *,
.territory-wizard *::before,
.territory-wizard *::after {
  box-sizing: border-box;
}

.territory-wizard {
  --navy: #171D3A;
  --turquoise: #1FB6B0;
  --card-bg: #FAFAFA;
  --row-bg: #FFFFFF;
  --track-bg: #E4E4E4;

  /* Mobile-only: hidden by default so desktop is completely unaffected.
     Re-enabled inside the mobile media query at the bottom of this file. */
  display: none;

  position: relative;
  width: 100%;
  overflow: hidden;
  font-family: 'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;
  /* padding-block: clamp(28px, 8vw, 56px); */
}

/* --------------------------------------------------------------------------
   Background
   -------------------------------------------------------------------------- */

.territory-wizard__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  /* background-image: url('./images/Mobile/bg-1.jpg'); */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* --------------------------------------------------------------------------
   Container
   -------------------------------------------------------------------------- */

.territory-wizard__container {
  position: relative;
  z-index: 1;
  width: min(100% - 32px, 380px);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.territory-wizard__logo {
  width: clamp(96px, 26vw, 130px);
  height: auto;
  margin-bottom: clamp(12px, 4vw, 20px);
}

/* --------------------------------------------------------------------------
   Card
   -------------------------------------------------------------------------- */

.territory-wizard__card {
  position: relative;
  overflow: visible;
  width: 100%;
  background: var(--card-bg);
  border-radius: 45px;
  box-shadow: 0 20px 45px rgba(23, 29, 58, 0.12);
  padding: clamp(28px, 7vw, 36px) clamp(20px, 7vw, 28px) clamp(56px, 12vw, 68px);
  /* extra bottom padding leaves room for the B/C blocks to overlap
     the card edge without covering the progress bar */
}

/* Decorative floating letter blocks — purely visual, sized relative
   to the card so they scale together at every viewport width */

.territory-wizard__image{
  position: relative;
  z-index: 5;
 transform: translateX(-110%);
 top: 20px;
}

.territory-wizard__image1{
  position: relative;
  z-index: 5;
bottom: 65px;
left: 20px;
}
.territory-wizard__block {
  position: absolute;
  z-index: 2;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.territory-wizard__block--a {
  width: clamp(64px, 22vw, 96px);
  top: clamp(-34px, -9vw, -26px);
  left: clamp(-28px, -8vw, -20px);
  transform: rotate(-8deg);
}

.territory-wizard__block--bc {
  width: clamp(120px, 38vw, 168px);
  bottom: clamp(-46px, -12vw, -34px);
  right: clamp(-30px, -9vw, -22px);
}

/* --------------------------------------------------------------------------
   Heading
   -------------------------------------------------------------------------- */

.territory-wizard__heading {
  position: relative;
  z-index: 1;
  margin: 0 0 clamp(20px, 5vw, 28px);
  color: var(--turquoise);
  font-weight: 700;
  font-size: clamp(22px, 6vw, 26px);
  line-height: 1.25;
  text-align: center;
}

.territory-wizard__heading:focus-visible {
  outline: none;
}

/* --------------------------------------------------------------------------
   Territory list
   -------------------------------------------------------------------------- */

.territory-wizard__list {
  position: relative;
  z-index: 1;
  border: none;
  margin: 0 0 clamp(24px, 6vw, 32px);
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.territory-wizard__label-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.territory-wizard__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  height: clamp(50px, 12vw, 56px);
  padding-inline: clamp(16px, 4vw, 20px);
  background: var(--row-bg);
  border: 1px solid rgba(23, 29, 58, 0.08);
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(23, 29, 58, 0.05);
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.territory-wizard__row:has(.territory-wizard__radio:checked) {
  border-color: var(--turquoise);
  box-shadow: 0 0 0 2px rgba(31, 182, 176, 0.18);
}

.territory-wizard__row:has(.territory-wizard__radio:focus-visible) {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

/* Hide the native radio dot; selection is communicated via the row's
   border/shadow above, which keeps the row visually identical to the
   reference while remaining a real, keyboard-operable input */
.territory-wizard__radio {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.territory-wizard__row-label {
  color: var(--navy);
  font-weight: 400;
  font-size: clamp(13px, 3.6vw, 15px);
}

.territory-wizard__row-price {
  color: var(--navy);
  font-weight: 700;
  font-size: clamp(13px, 3.6vw, 15px);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Step panels (multi-step wizard)
   -------------------------------------------------------------------------- */

/* Panels use the native [hidden] attribute to switch between steps, so no
   extra display rule is required here — this selector only exists so any
   future override of [hidden] elsewhere on the page can't leak in. */
.territory-wizard__step-panel[hidden] {
  display: none;
}

/* --------------------------------------------------------------------------
   Back button
   -------------------------------------------------------------------------- */

.territory-wizard__nav {
  position: relative;
  z-index: 1;
  margin-bottom: clamp(16px, 4vw, 20px);
}

.territory-wizard__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  background: none;
  padding: 4px 0;
  margin: 0;
  color: var(--navy);
  font-family: inherit;
  font-weight: 600;
  font-size: clamp(13px, 3.6vw, 15px);
  cursor: pointer;
}

.territory-wizard__back::before {
  content: '\2190';
  font-size: 1.05em;
  line-height: 1;
}

.territory-wizard__back:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
  border-radius: 4px;
}

.territory-wizard__back[hidden] {
  display: none;
}

/* --------------------------------------------------------------------------
   Step 7 — text fields
   -------------------------------------------------------------------------- */

.territory-wizard__fields {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 0 clamp(24px, 6vw, 32px);
}

.territory-wizard__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.territory-wizard__field-label {
  color: var(--navy);
  font-weight: 600;
  font-size: clamp(12px, 3.2vw, 13px);
}

.territory-wizard__input {
  width: 100%;
  height: clamp(50px, 12vw, 56px);
  padding-inline: clamp(16px, 4vw, 20px);
  background: var(--row-bg);
  border: 1px solid rgba(23, 29, 58, 0.08);
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(23, 29, 58, 0.05);
  color: var(--navy);
  font-family: inherit;
  font-size: clamp(13px, 3.6vw, 15px);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.territory-wizard__input::placeholder {
  color: rgba(23, 29, 58, 0.4);
}

.territory-wizard__input:focus-visible {
  border-color: var(--turquoise);
  box-shadow: 0 0 0 2px rgba(31, 182, 176, 0.18);
}

.territory-wizard__input:invalid:not(:placeholder-shown) {
  border-color: #E05A5A;
}

.territory-wizard__submit {
  position: relative;
  z-index: 1;
  width: 100%;
  height: clamp(50px, 12vw, 56px);
  border: none;
  border-radius: 12px;
  background: var(--turquoise);
  color: #FFFFFF;
  font-family: inherit;
  font-weight: 700;
  font-size: clamp(14px, 3.8vw, 16px);
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.1s ease;
}

.territory-wizard__submit:hover {
  filter: brightness(0.95);
}

.territory-wizard__submit:active {
  transform: translateY(1px);
}

.territory-wizard__submit:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Thank you screen
   -------------------------------------------------------------------------- */

.territory-wizard__thankyou {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(10px, 3vw, 14px);
}

.territory-wizard__thankyou[hidden] {
  display: none;
}

.territory-wizard__thankyou-icon {
  width: clamp(48px, 14vw, 60px);
  height: clamp(48px, 14vw, 60px);
  color: var(--turquoise);
  margin-bottom: 4px;
}

.territory-wizard__thankyou .territory-wizard__heading {
  margin-bottom: 0;
}

.territory-wizard__thankyou-text {
  margin: 0;
  max-width: 30ch;
  color: var(--navy);
  font-size: clamp(13px, 3.6vw, 15px);
  line-height: 1.55;
  opacity: 0.85;
}

.territory-wizard__back-to-form {
  margin-top: clamp(10px, 3vw, 16px);
  height: clamp(48px, 12vw, 52px);
  padding-inline: clamp(28px, 7vw, 36px);
  border: none;
  border-radius: 12px;
  background: var(--turquoise);
  color: #FFFFFF;
  font-family: inherit;
  font-weight: 700;
  font-size: clamp(13px, 3.6vw, 15px);
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.1s ease;
}

.territory-wizard__back-to-form:hover {
  filter: brightness(0.95);
}

.territory-wizard__back-to-form:active {
  transform: translateY(1px);
}

.territory-wizard__back-to-form:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Progress bar
   -------------------------------------------------------------------------- */

.territory-wizard__progress {
  position: relative;
  z-index: 1;
}

.territory-wizard__progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.territory-wizard__step,
.territory-wizard__percent {
  color: var(--navy);
  font-weight: 600;
  font-size: clamp(12px, 3.2vw, 14px);
}

.territory-wizard__progress-track {
  width: 100%;
  height: 4px;
  background: var(--track-bg);
  border-radius: 999px;
  overflow: hidden;
}

.territory-wizard__progress-fill {
  height: 100%;
  background: var(--turquoise);
  border-radius: 999px;
  transition: width 0.3s ease;
}
.territory-wrapper{
  position: relative;
  overflow: hidden;
}

.territory-wrapper::before{
  content: "";
  display: none;
}
/* ==========================================================================
   MOBILE ONLY
   The wizard only ever appears below the 767px mobile breakpoint. Desktop
   and tablet never render it (display: none set above).
   ========================================================================== */

@media (max-width: 767px) {
  .territory-wrapper::before{
        display: block;
        position: absolute;
        z-index: 0;

        /*
         * Start position of the BG image.
         * This should align with the 3rd pill.
         */
        top: 0;

        left: 0;
        width: 100%;

        /*
         * Image continues from the family section
         * down to the 2nd store card.
         */
        height: 100%;

        background-image: url("./images/Mobile/bg-1.jpg");
        background-repeat: no-repeat;
        background-position: center top;
        background-size: 100% auto;

        pointer-events: none;
  }
  .territory-wizard,.toy-hero{
      position: relative;
      z-index: 1;
  }

  .territory-wizard {
    display: block;
    padding-top: 5px;
  }

  .territory-wizard__container {
    position: relative;
    gap: 5px;
  }

  .territory-wizard__logo {
    margin-bottom: 0;
  }

  /* Remove this image from flex layout */
  .territory-wizard__image {
    position: absolute;
    z-index: 5;
    top: 120px;
    width: auto;
    height: auto;
    margin: 0;
    
  }

  /* Keep the wizard/card immediately below logo */
  .territory-wizard__card {
    margin-top: 10%;
  }


}

@media (max-width: 480px) {
  .territory-wizard__container {
    width: min(100% - 79px, 380px);
    padding-top: 0;
  }
}

@media (max-width: 340px) {
  .territory-wizard__block--a {
    width: 56px;
  }

  .territory-wizard__block--bc {
    width: 104px;
  }
}
@media (max-width: 768px){
  .toy-hero__title{
    font-size:clamp(61px, 6.6vw, 68px);
  }
  .toy-hero__subheading{
    font-size: clamp(17px, 5.9vw, 32px);
  }
  .toy-hero__description {
    font-size: clamp(16.5px, 2.15vw, 17.5px);
}
.toy-hero__support-title{
  font-size: clamp(13px, 5.5vw, 22px);
}
.toy-hero__support-line{
  font-size: clamp(15.5px, 1.2vw, 21px);
}
.toy-hero__support-line--bold{
  font-size: 4.6vw;
  background: #f5f5f5;
  border-radius: 50px;
  padding: 10px;
  width: 85%;
  margin: 5px auto 0;
}
}
@media (min-width: 400px) and (max-width: 419px){
    .territory-wizard__image{
    top: 112px;
  
  }
        .territory-wizard__card {
        margin-top: 3%;
    }
}

@media (min-width: 420px) and (max-width: 490px){
    .store-section {
    --store-card-height1: 442px;
    padding-left: 12px;
    padding-right: 12px;
    padding-bottom: 10px;
  }
  .territory-wizard__image{
  top: 131px;
        transform: translateX(-127%);
  }
      .territory-wizard__card {
        margin-top: 3%;
    }
        .toy-hero__gallery {
        width: min(100% - 4px, 371px);
        height: clamp(70px, 29vw, 138px);
    }
    .adhira-family-section__stats{
      width: min(80vw, 354px);
    }
    .adhira-family-section__feature{
      grid-template-columns: 37px 1fr;
    }
    .adhira-family-section__feature-icon{
      width: 37px;
      height: 37px;
    }
    .adhira-family-section__feature-text {
        font-size: clamp(15px, 6.2vw, 23px);
    }
    .adhira-family-section__stats{
      gap: 2rem;
    }
    .adhira-family-section__revenue-heading{
      font-size: clamp(18px, 7.2vw, 31px);
    }
    .store-card{
      max-width: 366px;
      flex: 0 0 var(--store-card-height1);
    }
    .store-card__image-wrapper{
      flex: 0 0 75%;
    }
    .adhira-family-section__revenue-image, .adhira-family-section__pills{
      width: 100%;
    }
    .franchise-hero__subheading{
      font-size: clamp(16px, 6.5vw, 27px);
    }
    .franchise-hero__stats{
      font-size: clamp(13px, 4.5vw, 22px);
    }
    .franchise-hero__map-image{
      width: clamp(190px, 90vw, 425px);
    }
    .franchise-hero__heading{
      font-size: clamp(20px, 7vw, 37px);
    }
}

.partner-form__input--invalid,
input.partner-form__input--invalid,
select.partner-form__input--invalid {
  border-color: #d92d20;
}