/* IKRA storefront responsive fixes: keep banners and controls inside every viewport. */
html,
body {
  overflow-x: hidden;
}

.sf-hero {
  isolation: isolate;
}

.sf-hero .sl img {
  object-fit: cover;
  object-position: center;
}

/* Long Bengali/English labels must wrap instead of pushing controls outside cards. */
.sf-hero .sl .cap,
.sf-hero .ph h1,
.sf-hero .ph p,
.sf-hero .ph a,
.pc .bt form,
.pc .bt button,
.pc .bt a {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.sf-hero .ph a {
  max-width: 100%;
  white-space: normal;
  text-align: center;
  line-height: 1.25;
}

.pc .bt form {
  width: 100%;
}

.pc .bt button,
.pc .bt a {
  white-space: normal;
  line-height: 1.25;
}

@media (max-width: 760px) {
  /* Show the complete uploaded banner on narrow screens instead of cropping its sides. */
  .sf-hero {
    aspect-ratio: auto;
    min-height: 0;
    background: #e3f8ec;
  }

  .sf-hero .sl img {
    object-fit: cover;
    object-position: center;
    background: #e3f8ec;
  }

  .sf-hero .sl .cap {
    left: 8%;
    right: 8%;
    bottom: 13%;
    max-width: none;
    font-size: clamp(20px, 6vw, 30px);
    line-height: 1.15;
  }

  .sf-hero .ph {
    padding: 18px 8%;
    justify-content: center;
  }

  .sf-hero .ph h1 {
    max-width: 100%;
    font-size: clamp(22px, 7vw, 30px);
    line-height: 1.12;
  }

  .sf-hero .ph p {
    max-width: 100%;
    font-size: 13px;
    line-height: 1.45;
  }

  .sf-hero .ph a {
    align-self: flex-start;
    padding: 9px 16px;
    font-size: 13px;
  }

  .sf-hero .ar {
    width: 30px;
    height: 30px;
  }

  .sf-hero .ar.l { left: 6px; }
  .sf-hero .ar.r { right: 6px; }

  /* One full-width action per row is more usable than clipped two-column labels. */
  .pc .bt {
    grid-template-columns: 1fr;
  }

  .pc .bt button,
  .pc .bt a {
    min-height: 42px;
    padding: 9px 8px;
  }

  .sf-sec .hd h2 {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .sf-sec .va {
    flex: none;
    padding-left: 10px;
    padding-right: 10px;
  }
}

@media (max-width: 380px) {
  .sf-wrap {
    padding-left: 10px;
    padding-right: 10px;
  }

  .pc .bt {
    padding-left: 8px;
    padding-right: 8px;
  }
}
