/*
 * Fashion storefront responsive hardening.
 * Loaded after home-3.css and scoped to the fashion tenant theme so the
 * shared storefront CSS can keep serving the other templates unchanged.
 */

body.storefront-theme-fashion {
  min-width: 0;
}

body.storefront-theme-fashion *,
body.storefront-theme-fashion *::before,
body.storefront-theme-fashion *::after {
  box-sizing: border-box;
}

body.storefront-theme-fashion .wrapper,
body.storefront-theme-fashion .main-panel,
body.storefront-theme-fashion .main-panel > .content,
body.storefront-theme-fashion .page-inner {
  max-width: 100%;
  min-width: 0;
}

body.storefront-theme-fashion .container {
  max-width: min(1400px, calc(100vw - 24px));
}

body.storefront-theme-fashion .row > [class*="col"] {
  min-width: 0;
}

body.storefront-theme-fashion :is(.title, .title-sm, .title-md, .product-title, .category-title, .banner-content, .footer-widget, .menu-link, .nav-link) {
  overflow-wrap: anywhere;
}

body.storefront-theme-fashion :is(.btn, button, input, select, textarea) {
  max-width: 100%;
}

/* Header */
body.storefront-theme-fashion .header.header-fixed {
  width: 100%;
  max-width: 100%;
}

body.storefront-theme-fashion .header .header-top .row {
  row-gap: 6px;
}

body.storefront-theme-fashion .header .header-top [class*="col"],
body.storefront-theme-fashion .header .header-middle [class*="header-"] {
  min-width: 0;
}

body.storefront-theme-fashion .header .header-top .header-left ul,
body.storefront-theme-fashion .header .header-top .header-right .menu,
body.storefront-theme-fashion .header .header-middle .container,
body.storefront-theme-fashion .header .header-middle .header-right .menu {
  display: flex;
  align-items: center;
  min-width: 0;
}

body.storefront-theme-fashion .header .header-top .header-left ul,
body.storefront-theme-fashion .header .header-top .header-right .menu {
  flex-wrap: wrap;
  row-gap: 6px;
}

body.storefront-theme-fashion .header .header-top .header-left ul > li,
body.storefront-theme-fashion .header .header-top .header-right .menu > li {
  min-width: 0;
  line-height: 1.35;
}

body.storefront-theme-fashion .header .header-middle .container {
  justify-content: space-between;
  gap: 16px;
}

body.storefront-theme-fashion .header .header-middle .header-left,
body.storefront-theme-fashion .header .header-middle .header-right {
  flex: 0 0 auto;
}

body.storefront-theme-fashion .header .header-middle .header-center {
  flex: 1 1 auto;
  overflow: visible;
}

body.storefront-theme-fashion .header .header-middle .brand-logo img {
  max-height: 58px;
  width: auto;
}

body.storefront-theme-fashion .header .header-middle .header-center .menu-right,
body.storefront-theme-fashion .header .header-middle .header-right .menu {
  flex-wrap: nowrap;
  white-space: nowrap;
}

body.storefront-theme-fashion .header .header-middle .nav-link {
  padding-inline: 12px;
}

body.storefront-theme-fashion .header .header-middle .header-right .menu .menu-link {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  white-space: nowrap;
}

body.storefront-theme-fashion .menu .cart-dropdown {
  min-width: 0;
  width: min(450px, calc(100vw - 24px));
  max-width: calc(100vw - 24px);
  box-sizing: border-box;
}

body.storefront-theme-fashion .menu :is(.setting-dropdown, .cart-dropdown, .submenu, .mega-dropdown, .category-dropdown) {
  overflow-wrap: anywhere;
}

/* Hero and banners */
body.storefront-theme-fashion .home-slider.home-slider-3 {
  position: relative;
  isolation: isolate;
  display: block;
  overflow: hidden;
  min-height: clamp(320px, 52svh, 560px);
  padding-block: clamp(80px, 11vw, 104px) clamp(24px, 4vw, 32px);
  background-color: var(--storefront-surface-soft, var(--storefront-page-bg));
}

body.storefront-theme-fashion .home-slider.home-slider-3 > .bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
  pointer-events: none;
}

body.storefront-theme-fashion .home-slider.home-slider-3 > .bg-img.lazyloaded {
  opacity: 1;
}

body.storefront-theme-fashion .home-slider.home-slider-3 > .container {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  width: 100%;
}

body.storefront-theme-fashion .home-slider.home-slider-3 .animated-slider,
body.storefront-theme-fashion .home-slider.home-slider-3 .slider-item,
body.storefront-theme-fashion .home-slider.home-slider-3 .slider-content {
  position: relative;
  z-index: 1;
}

body.storefront-theme-fashion .home-slider.home-slider-3 .slider-content {
  max-width: min(640px, 100%);
}

body.storefront-theme-fashion .home-slider.home-slider-3 .title {
  line-height: 1.08;
  max-width: min(680px, 100%);
}

body.storefront-theme-fashion .home-slider.home-slider-3 .text-lg {
  max-width: min(520px, 100%);
}

body.storefront-theme-fashion .home-slider.home-slider-3 .product-price,
body.storefront-theme-fashion .home-slider.home-slider-3 .slider-content .d-flex {
  min-width: 0;
  flex-wrap: wrap;
  gap: 12px 18px !important;
}

body.storefront-theme-fashion .home-slider.home-slider-3 .slider-content .btn {
  white-space: normal;
  margin-inline-end: 0 !important;
}

body.storefront-theme-fashion .home-slider .product-thumb {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: clamp(24px, 4vw, 40px);
  transform: translateX(-50%);
  z-index: 2;
  width: min(460px, calc(100vw - 32px));
  margin: 0;
}

body.storefront-theme-fashion .home-slider .product-thumb .slick-dots {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-inline: auto;
}

body.storefront-theme-fashion .home-slider .product-thumb .product-default-3 {
  min-width: 0;
}

body.storefront-theme-fashion .home-slider .product-thumb .slick-list {
  overflow: hidden;
}

body.storefront-theme-fashion .home-slider .product-thumb .slick-slide {
  padding-inline: 8px;
}

@media (min-width: 992px) {
  body.storefront-theme-fashion .home-slider.home-slider-3 {
    min-height: 0;
    padding-block: clamp(104px, 14vw, 220px) clamp(220px, 18vw, 260px);
    background-color: transparent;
  }
}

body.storefront-theme-fashion .banner-collection .row,
body.storefront-theme-fashion .banner-sm {
  min-width: 0;
}

body.storefront-theme-fashion .banner-sm .banner-content {
  max-width: min(82%, 460px);
  padding-inline: 24px;
}

body.storefront-theme-fashion .banner-sm .banner-content .content-inner {
  min-width: 0;
  max-width: 100%;
}

body.storefront-theme-fashion .banner-sm .banner-content :is(h2, h3, .title, .title-md) {
  line-height: 1.18;
}

body.storefront-theme-fashion .banner-sm .btn,
body.storefront-theme-fashion .banner-sm .btn-text {
  white-space: normal;
}

body.storefront-theme-fashion .banner-sm.ratio.ratio-16-9::before {
  padding-bottom: max(56.25%, 220px);
}

body.storefront-theme-fashion .banner-sm.banner-vertical.ratio::before {
  padding-bottom: min(143%, 620px);
}

/* Categories and products */
body.storefront-theme-fashion .category-3 .category-slider .slick-slide > div,
body.storefront-theme-fashion .category-3 .category-item,
body.storefront-theme-fashion .product-slider .slick-slide > div {
  min-width: 0;
}

body.storefront-theme-fashion .category-3 .category-item {
  padding: 18px 16px 34px;
}

body.storefront-theme-fashion .category-3 .category-img {
  max-width: 150px;
  margin-inline: auto;
}

body.storefront-theme-fashion .category-3 .category-img img {
  object-fit: cover;
}

body.storefront-theme-fashion .category-3 .category-title,
body.storefront-theme-fashion .category-3 h3 {
  font-size: 18px;
  line-height: 1.25;
}

body.storefront-theme-fashion .new-product .row,
body.storefront-theme-fashion .product-area .row,
body.storefront-theme-fashion .featured-2 .row {
  min-width: 0;
}

body.storefront-theme-fashion .new-product .col-lg-auto {
  flex: 1 1 0;
  max-width: 100%;
  min-width: 0;
}

body.storefront-theme-fashion .product-default {
  min-width: 0;
}

body.storefront-theme-fashion .product-default-3 {
  max-width: 100%;
}

body.storefront-theme-fashion .product-default .product-img .ratio {
  display: block;
}

body.storefront-theme-fashion .product-default .product-img img {
  object-fit: cover;
}

body.storefront-theme-fashion .product-default .product-details {
  min-width: 0;
}

body.storefront-theme-fashion .product-default .product-price {
  flex-wrap: wrap;
  gap: 6px 8px;
}

body.storefront-theme-fashion .product-default .product-price .new-price,
body.storefront-theme-fashion .product-default .product-price .old-price {
  margin-inline: 0 !important;
  min-width: 0;
  line-height: 1.2;
}

body.storefront-theme-fashion .product-default .product-countdown {
  flex-wrap: wrap;
  gap: 8px;
}

body.storefront-theme-fashion .product-single-details .product-countdown .count:not(:last-child),
body.storefront-theme-fashion .product-default .product-countdown .count:not(:last-child) {
  margin-inline-end: 0;
}

body.storefront-theme-fashion .product-default .btn-icon-group.btn-inline,
body.storefront-theme-fashion .product-default .btn-icon-group.btn-center-position {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

body.storefront-theme-fashion .product-default .btn-icon-group.btn-inline .btn-icon,
body.storefront-theme-fashion .product-default .btn-icon-group.btn-center-position .btn-icon {
  flex: 0 0 auto;
  margin: 0;
}

/* Video, footer, modal */
body.storefront-theme-fashion .video-banner.video-banner-2 {
  position: relative;
  isolation: isolate;
  min-height: 360px;
  overflow: hidden;
}

body.storefront-theme-fashion .video-banner.video-banner-2 .bg-overlay {
  z-index: 0;
}

body.storefront-theme-fashion .video-banner.video-banner-2 .bg-overlay .bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  z-index: 0;
}

body.storefront-theme-fashion .video-banner.video-banner-2 .bg-overlay::before {
  z-index: 1;
}

body.storefront-theme-fashion .video-banner.video-banner-2 .container {
  position: relative;
  z-index: 2;
}

body.storefront-theme-fashion .video-banner.video-banner-2 .content {
  max-width: min(520px, 100%);
  background: transparent;
}

body.storefront-theme-fashion .video-banner.video-banner-2 .video-btn-area {
  min-height: 180px;
}

body.storefront-theme-fashion .featured.featured-2 .featured-item {
  min-width: 0;
}

body.storefront-theme-fashion .footer-area .footer-widget,
body.storefront-theme-fashion .footer-area .footer-widget a,
body.storefront-theme-fashion .footer-area .copy-right-content {
  overflow-wrap: anywhere;
}

body.storefront-theme-fashion .footer-area .footer-widget .navbar-brand img {
  max-height: 70px;
  width: auto;
}

body.storefront-theme-fashion .footer-area .newsletter-form .input-group {
  flex-wrap: wrap;
  min-width: 0;
}

body.storefront-theme-fashion .footer-area .newsletter-form .input-group .form-control {
  flex: 1 1 180px;
  min-width: 0;
}

body.storefront-theme-fashion .footer-area .newsletter-form .input-group .btn {
  flex: 1 1 auto;
  min-width: min(100%, 160px);
}

body.storefront-theme-fashion .mobile-menu {
  width: min(320px, calc(100vw - 48px));
  max-width: calc(100vw - 48px);
}

body.storefront-theme-fashion .quick-view-modal .modal-dialog {
  max-width: min(1140px, calc(100vw - 24px));
}

@media (max-width: 1399.98px) and (min-width: 1200px) {
  body.storefront-theme-fashion .header .header-middle .brand-logo img {
    max-width: 150px;
  }

  body.storefront-theme-fashion .header .header-middle .nav-link {
    padding-inline: 9px;
  }

  body.storefront-theme-fashion .header .header-middle .header-right .menu .menu-item:not(:last-child) {
    margin-inline-end: 10px;
  }

  body.storefront-theme-fashion .header .header-middle .header-right .menu .border-end:not(:last-child) {
    margin-inline-end: 8px;
    padding-inline-end: 8px;
  }

  body.storefront-theme-fashion .header .header-middle .header-right .menu .menu-link {
    font-size: 13px;
  }

  body.storefront-theme-fashion .header .header-middle .header-right .menu .menu-link i {
    padding-right: 6px;
    margin-inline-end: 0;
  }
}

@media (max-width: 1279.98px) and (min-width: 1200px) {
  body.storefront-theme-fashion .header .header-middle .brand-logo img {
    max-width: 126px;
  }

  body.storefront-theme-fashion .header .header-middle .header-right .menu .menu-link {
    font-size: 0;
  }

  body.storefront-theme-fashion .header .header-middle .header-right .menu .menu-link i {
    font-size: 22px;
    padding-right: 0;
  }
}

@media (max-width: 1199.98px) {
  body.storefront-theme-fashion .mobile-navbar {
    background: var(--storefront-surface, #ffffff);
  }

  body.storefront-theme-fashion .home-slider.home-slider-3 .title {
    font-size: 42px;
  }

  body.storefront-theme-fashion .new-product .row.flex-lg-nowrap {
    flex-wrap: wrap !important;
  }

  body.storefront-theme-fashion .product-default .btn-icon-group .hover-show,
  body.storefront-theme-fashion .product-default:hover .btn-icon-group .hover-show,
  body.storefront-theme-fashion .product-default:hover .btn-icon-group.btn-inline .hover-show {
    display: inline-flex;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  body.storefront-theme-fashion .product-default .btn-icon-group .hover-hide {
    display: none !important;
  }
}

@media (max-width: 991.98px) {
  body.storefront-theme-fashion .section-title.title-center .title,
  body.storefront-theme-fashion h2 {
    font-size: 34px;
  }

  body.storefront-theme-fashion .home-slider.home-slider-3 .title {
    font-size: 36px;
  }

  body.storefront-theme-fashion .home-slider .product-thumb {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    transform: none;
    width: min(460px, calc(100vw - 32px));
    margin: clamp(20px, 4vw, 32px) auto 0;
  }

  body.storefront-theme-fashion .banner-sm .banner-content {
    max-width: min(90%, 420px);
    padding-inline: 18px;
  }

  body.storefront-theme-fashion .banner-sm.ratio.ratio-16-9::before {
    padding-bottom: max(68%, 230px);
  }

  body.storefront-theme-fashion .video-banner.video-banner-2 {
    min-height: 320px;
  }

  body.storefront-theme-fashion .footer-area .footer-top {
    padding-top: 70px;
  }
}

@media (max-width: 767.98px) {
  body.storefront-theme-fashion .container {
    max-width: calc(100vw - 24px);
  }

  body.storefront-theme-fashion .section-title.title-center .title,
  body.storefront-theme-fashion h2 {
    font-size: 30px;
  }

  body.storefront-theme-fashion .home-slider.home-slider-3 .title {
    font-size: 32px;
  }

  body.storefront-theme-fashion .home-slider.home-slider-3 .text-lg {
    font-size: 16px;
  }

  body.storefront-theme-fashion .home-slider .product-thumb {
    width: min(420px, calc(100vw - 32px));
  }

  body.storefront-theme-fashion .banner-sm .banner-content {
    max-width: 100%;
    padding-inline: 16px;
  }

  body.storefront-theme-fashion .banner-sm.ratio.ratio-16-9::before {
    padding-bottom: max(75%, 240px);
  }

  body.storefront-theme-fashion .banner-sm .banner-content h3,
  body.storefront-theme-fashion .banner-sm .banner-content h2 {
    margin-bottom: 14px;
  }

  body.storefront-theme-fashion .category-3 .category-item {
    padding: 16px 14px 28px;
  }

  body.storefront-theme-fashion .footer-area .newsletter-form .input-group {
    border-radius: 12px !important;
    gap: 8px;
    padding: 8px !important;
  }

  body.storefront-theme-fashion .footer-area .newsletter-form .input-group .form-control,
  body.storefront-theme-fashion .footer-area .newsletter-form .input-group .btn {
    border-radius: 8px !important;
  }
}

@media (max-width: 575.98px) {
  body.storefront-theme-fashion .container {
    width: 100%;
    max-width: 100%;
    padding-inline: 16px;
  }

  body.storefront-theme-fashion .row {
    --bs-gutter-x: 20px;
  }

  body.storefront-theme-fashion .section-title.title-center .title,
  body.storefront-theme-fashion h2 {
    font-size: 26px;
  }

  body.storefront-theme-fashion .home-slider.home-slider-3 .title {
    font-size: 28px;
  }

  body.storefront-theme-fashion .home-slider .product-thumb {
    width: min(360px, calc(100vw - 28px));
    margin-top: 20px;
  }

  body.storefront-theme-fashion .home-slider .product-thumb .product-default-3 {
    padding-bottom: 14px;
  }

  body.storefront-theme-fashion .category-3 .category-img {
    max-width: 132px;
  }

  body.storefront-theme-fashion .tabs-navigation-scroll .nav {
    margin-inline: 0;
  }

  body.storefront-theme-fashion .tabs-navigation .nav .nav-link {
    padding: 9px 14px;
    margin-inline: 0 8px;
  }

  body.storefront-theme-fashion .product-default-3 {
    border-radius: 52px;
  }

  body.storefront-theme-fashion .product-default .product-price span {
    font-size: 15px;
  }

  body.storefront-theme-fashion .product-default .product-price .new-price {
    font-size: 17px;
  }

  body.storefront-theme-fashion .product-single-details .product-countdown .count,
  body.storefront-theme-fashion .product-default .product-countdown .count {
    width: 38px;
    height: 38px;
  }

  body.storefront-theme-fashion .video-banner.video-banner-2 {
    min-height: 300px;
  }

  body.storefront-theme-fashion .footer-area .footer-top {
    padding-top: 52px;
  }
}

@media (max-width: 399.98px) {
  body.storefront-theme-fashion .mobile-menu {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
  }

  body.storefront-theme-fashion .home-slider.home-slider-3 .title {
    font-size: 24px;
  }

  body.storefront-theme-fashion .home-slider .product-thumb {
    width: min(320px, calc(100vw - 24px));
  }
}
