/* Theme 185 only: deep QA fixes, 20260827. */
.tqiu-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.tqiu-bilingual-heading > span,
.tqiu-nav-bilingual > span,
.tqiu-mobile-all-products > span,
.tqiu-footer-title__bn,
.tqiu-footer-title__en,
.tqiu-footer-link__bn,
.tqiu-footer-link__en {
  display: block !important;
}

.tqiu-bilingual-heading > span + span {
  margin-top: 5px;
  font-size: .68em;
  line-height: 1.2;
}

.tqiu-mobile-all-products {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  line-height: 1.05 !important;
  text-align: left;
}

.tqiu-mobile-all-products > span:first-child {
  font-size: 11px;
  font-weight: 700;
}

.tqiu-mobile-all-products > span:last-child {
  font-size: 9px;
  opacity: .9;
}

.tqiu-nav-bilingual {
  line-height: 1.18 !important;
}

.tqiu-nav-bilingual > span + span {
  margin-top: 3px;
  font-size: .8em;
  opacity: .76;
}

.tqiu-account-form-title {
  margin-top: 0;
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.2;
}

.f-icon-box--home .f-icon-box__heading,
.tqiu-company-story .f-content-box__heading,
.tqiu-store-page__header h1 {
  white-space: pre-line !important;
}

.tqiu-store-page__header h1 > span {
  display: block !important;
}

.tqiu-policy-summary {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto 34px;
  padding: 22px;
  border: 1px solid #cddbcf;
  border-radius: 14px;
  background: #f1f7f2;
  color: #153620;
}

.tqiu-simple-page-heading {
  padding: 42px 16px 24px;
  background: #f7f3ea;
  text-align: center;
}

.tqiu-simple-page-heading h1 {
  margin: 0;
  color: #003f1d;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.1;
  letter-spacing: -.035em;
}

.tqiu-simple-page-heading h1 span {
  display: block;
}

.tqiu-simple-page-heading h1 span + span {
  margin-top: 6px;
  font-size: .66em;
}

.tqiu-page-intro {
  width: min(820px, calc(100% - 32px));
  margin: 0 auto 28px;
  padding: 18px 20px;
  border-left: 4px solid #00622c;
  background: #eef5ef;
  color: #264a31;
  line-height: 1.58;
}

.tqiu-page-intro span {
  display: block;
}

.tqiu-page-intro span + span {
  margin-top: 5px;
  color: #536559;
}

.tqiu-policy-summary h2 {
  margin: 0;
  color: #003f1d;
  font-size: clamp(23px, 3vw, 31px);
  line-height: 1.2;
}

.tqiu-policy-summary h2 span,
.tqiu-policy-summary p span {
  display: block;
}

.tqiu-policy-summary h2 span + span,
.tqiu-policy-summary p span + span {
  margin-top: 4px;
}

.tqiu-policy-summary p {
  margin: 14px 0 0;
  line-height: 1.58;
}

.tqiu-policy-summary ul {
  margin: 16px 0 0;
  padding-left: 21px;
}

.tqiu-policy-summary li + li {
  margin-top: 10px;
}

.tqiu-policy-summary li span {
  display: block;
  line-height: 1.5;
}

.tqiu-policy-summary li span + span {
  margin-top: 2px;
  color: #4d6253;
}

.tqiu-cart-empty-title > span,
.tqiu-cart-empty-link > span {
  display: block;
}

.tqiu-sort-option > span {
  display: block;
}

.tqiu-sort-option > span + span {
  margin-top: 2px;
  font-size: .82em;
  opacity: .72;
}

.tqiu-cart-empty-title > span + span,
.tqiu-cart-empty-link > span + span {
  margin-top: 4px;
  font-size: .82em;
}

@media (max-width: 767px) {
  .tqiu-policy-summary {
    width: calc(100% - 30px);
    margin-bottom: 24px;
    padding: 18px;
  }

  .tqiu-simple-page-heading {
    padding: 30px 15px 18px;
  }

  .tqiu-page-intro {
    width: calc(100% - 30px);
    margin-bottom: 22px;
    padding: 15px 16px;
  }

  .f-custom--image-card .f-custom-content__wrapper {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 12px !important;
    padding: 0 16px 14px !important;
    overflow-x: auto !important;
    scroll-padding-inline: 16px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .f-custom--image-card .f-custom-content__wrapper::-webkit-scrollbar {
    display: none;
  }

  .f-custom--image-card .f-custom-content__wrapper > .f-custom-content__block {
    width: 86vw !important;
    max-width: 350px !important;
    flex: 0 0 86vw !important;
    scroll-snap-align: start;
  }

  .tqiu-source-collection-grid .f-sortby--open {
    display: flex !important;
    width: 141px;
    height: 38px;
    padding: 0 11px;
    border: 1px solid #d9dfe8;
    align-items: center;
    justify-content: space-between;
    background: #fffdf8;
    color: #153620;
  }

  .tqiu-source-collection-grid .f-sortby--open [data-sortby-option] {
    font-size: 0;
  }

  .tqiu-source-collection-grid .f-sortby--open [data-sortby-option]::after {
    content: 'সাজান / Sort';
    font-size: 14px;
    line-height: 1.2;
  }
}

.template-product #canvas_img:not([src]) {
  display: none !important;
}


/* tqiu-image-integrity-185: prevent product imagery from being enlarged and clipped */
html body .f-product-card__media,
html body .f-product-card__link {
  overflow: hidden;
}

html body .f-product-card__media .f-product-card__main-image,
html body .f-product-card__media .f-product-card__hover-image,
html body .f-product-card__media .f-image,
html body .f-product-card__media responsive-image,
html body .f-product-card__media picture,
html body .f-product-card__media img {
  transform: none !important;
}

html body .f-product-card__media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
}

html body .f-product-popup-content .f-popup-left img {
  object-fit: contain !important;
  object-position: center !important;
  transform: none !important;
  background: #fff !important;
}

/* tqiu-mobile-product-description-width-20260827 */
/* Some Android in-app browsers use a wider layout viewport. Force product-detail
   posters to fill their content column instead of staying at the 400px CDN width. */
@media (max-width: 991px) {
  html body.template-product .body_html img,
  html body.template-product .f-product-description img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
/* /tqiu-mobile-product-description-width-20260827 */

/* tqiu-brand-mobile-density-20260827: keep the legacy brand story readable without oversized mobile gaps. */
@media (max-width: 767px) {
  body.tqiu-page-brand-introduction .tqiu-legacy-video {
    padding-top: 16px !important;
    padding-bottom: 16px !important;
  }

  body.tqiu-page-brand-introduction .tqiu-legacy-text {
    padding-top: 24px !important;
    padding-right: 18px !important;
    padding-bottom: 24px !important;
    padding-left: 18px !important;
  }

  body.tqiu-page-brand-introduction .tqiu-legacy-picture {
    padding-top: 14px !important;
    padding-bottom: 14px !important;
  }

  body.tqiu-page-brand-introduction .tqiu-legacy-copy {
    font-size: 14px !important;
    line-height: 1.55 !important;
  }
}
/* /tqiu-brand-mobile-density-20260827 */

/* tqiu-hot-search-label-20260827 */
.tqiu-search-hot-label > span { display: block; }
.tqiu-search-hot-label > span + span { margin-top: 2px; font-size: .82em; opacity: .72; }
/* /tqiu-hot-search-label-20260827 */

/* tqiu-product-tablet-two-column-20260827: keep tablet / zoomed desktop product pages in two columns */
@media (min-width:600px) and (max-width:767px) {
  .template-product .f-main-product { display: flex !important; flex-wrap: nowrap !important; align-items: flex-start !important; }
  .template-product .f-main-product--media,
  .template-product .f-main-product--info { width: 50% !important; max-width: 50% !important; flex: 0 0 50% !important; box-sizing: border-box !important; }
  .template-product .f-main-product--media { padding-right: 8px !important; }
  .template-product .f-main-product--info { padding-left: 8px !important; }
  .template-product .f-product-media--desktop,
  .template-product .f-media-gallery,
  .template-product .f-media-gallery__wrapper,
  .template-product .f-media-gallery__inner { width: 100% !important; max-width: 100% !important; }
}
/* /tqiu-product-tablet-two-column-20260827 */

/* tqiu-sticky-atc-height-20260827: align sticky purchase controls to one consistent height */
.f-sticky-addtocart .f-product-option--dropdown-select,
.f-sticky-addtocart .f-quantity,
.f-sticky-addtocart .f-quantity__button,
.f-sticky-addtocart .f-quantity__input,
.f-sticky-addtocart .f-add-to-cart {
  height: 58px !important;
  min-height: 58px !important;
  box-sizing: border-box !important;
}
/* /tqiu-sticky-atc-height-20260827 */
