/*
Theme Name: Hello Fashion Store
Theme URI: https://hello-fashion.shop
Author: Hello Fashion
Description: A visual-preservation WooCommerce theme rebuilt from the original Hello Fashion storefront. Checkout and the side cart remain under CheckoutWC control.
Version: 1.3.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: hello-fashion
*/

@font-face {
  font-family: "fl-icons";
  font-display: block;
  src: url("assets/font/fl-icons.woff2") format("woff2"),
       url("assets/font/fl-icons.woff") format("woff"),
       url("assets/font/fl-icons.ttf") format("truetype");
}

:root {
  --primary-color: #446084;
  --hf-border: #ececec;
  --hf-muted: #777;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  font-family: "Lato", sans-serif;
  font-weight: 400;
}

#wrapper {
  display: flex;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-x: clip;
  flex-direction: column;
}

#wrapper > main,
#wrapper > #main {
  width: 100%;
  flex: 1 0 auto;
}

#footer {
  margin-top: auto;
}

.header-main {
  height: 90px;
}

#logo {
  width: 303px;
  flex: 0 0 303px;
}

#logo a {
  position: relative;
  display: block;
}

#logo a::after {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 42px;
  height: 12px;
  background: #fff;
  content: "";
  pointer-events: none;
}

#logo img {
  display: block;
  position: static;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 90px;
}

.header-inner.container {
  width: 100%;
  max-width: 1080px;
}

.nav > li > a,
.mobile-sidebar-levels-2 .nav > li > ul > li > a,
h1,
h2,
h3,
h4,
h5,
h6,
.heading-font {
  font-family: "Lato", sans-serif;
  font-weight: 700;
}

.alt-font {
  font-family: "Dancing Script", sans-serif;
  font-weight: 400 !important;
}

.header-search .nav-dropdown {
  min-width: 260px;
}

.header-search.is-open > .nav-dropdown {
  left: -15px;
  max-height: inherit;
  opacity: 1;
}

.cart-icon.image-icon strong {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hf-mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  visibility: hidden;
  background: rgb(0 0 0 / 45%);
  opacity: 0;
  transition: opacity .25s ease, visibility .25s ease;
}

.hf-mobile-menu {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 9999;
  width: min(86vw, 360px);
  padding: 25px;
  overflow-y: auto;
  background: #fff;
  transform: translateX(-105%);
  transition: transform .25s ease;
}

.hf-mobile-menu.is-open {
  transform: translateX(0);
}

.hf-mobile-overlay.is-open {
  visibility: visible;
  opacity: 1;
}

.hf-mobile-menu__close {
  float: right;
  margin: 0 0 15px;
  border: 0;
  background: transparent;
  color: #333;
  font-size: 30px;
  line-height: 1;
}

.hf-mobile-menu .nav-vertical {
  clear: both;
}

.hf-mobile-menu .searchform {
  margin-bottom: 20px;
}

.hf-home-products {
  padding-bottom: 40px;
}

.section-title-container {
  margin-top: 28px;
}

.products.row,
.hf-product-grid {
  width: auto;
}

.product-small .box-image {
  position: relative;
  overflow: hidden;
  background: #f7f7f7;
}

.product-small .box-image::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, #f7f7f7 25%, #fbfbfb 45%, #f7f7f7 65%);
  content: "";
}

.product-small .box-image a {
  position: relative;
  display: block;
  z-index: 1;
}

.product-small .box-image img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.product-small .image-fade_in_back .back-image {
  pointer-events: none;
}

.hf-card-watermark-patch {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  display: block;
  width: var(--hf-watermark-width, 27.5%);
  height: var(--hf-watermark-height, 7%);
  overflow: hidden;
  background: #fff;
  pointer-events: none;
  transition: opacity .5s;
}

.hf-card-watermark-patch--front {
  opacity: 1;
}

.hf-card-watermark-patch--back {
  opacity: 0;
}

.has-hover:hover .hf-card-watermark-patch--front {
  opacity: 0;
}

.has-hover:hover .hf-card-watermark-patch--back {
  opacity: 1;
}

.product-small .box-image .hf-card-watermark-patch > img {
  position: absolute !important;
  top: -100% !important;
  left: 0 !important;
  display: block !important;
  width: var(--hf-watermark-scale, 363.6364%) !important;
  max-width: none !important;
  height: auto !important;
  margin: 0 !important;
  aspect-ratio: auto !important;
  opacity: 1 !important;
  transform: none !important;
  object-fit: initial !important;
}

.product-small .box-text-products {
  min-width: 0;
}

.product-small .product-title a {
  overflow-wrap: anywhere;
}

.hf-archive-header {
  padding: 28px 0 10px;
  border-bottom: 1px solid var(--hf-border);
}

.hf-archive-header .flex-row {
  gap: 15px;
  flex-wrap: wrap;
}

.hf-archive-header h1 {
  margin: 0 auto 0 0;
  font-size: 1.7em;
}

.hf-archive-header .woocommerce-result-count,
.hf-archive-header .woocommerce-ordering {
  margin-bottom: 0;
}

.hf-category-sidebar .widget-title {
  display: block;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.hf-category-sidebar ul {
  margin: 0;
  list-style: none;
}

.hf-category-sidebar li {
  margin: 0;
  border-bottom: 1px solid var(--hf-border);
}

.hf-category-sidebar li a {
  display: block;
  padding: 8px 0;
  color: #334862;
}

.hf-product-main {
  padding: 30px 0;
}

.hf-product-main .row {
  align-items: flex-start;
}

.hf-product-gallery {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  min-width: 0;
}

.hf-product-gallery-layout,
.hf-product-gallery-layout .row {
  min-width: 0;
}

.hf-product-gallery-main-column {
  padding-bottom: 0;
}

.hf-gallery-main-link {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
}

.hf-product-gallery .woocommerce-product-gallery__image,
.hf-product-gallery .woocommerce-product-gallery__image > a {
  display: block;
  width: 100%;
}

.hf-product-gallery .hf-gallery-current-image {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}

.hf-product-gallery-layout .vertical-thumbnails .row-slider {
  opacity: 1;
}

.hf-gallery-thumb {
  position: relative;
  display: block;
  overflow: hidden;
}

.hf-gallery-watermark-patch {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  display: block;
  width: var(--hf-watermark-width, 27.5%);
  height: var(--hf-watermark-height, 7%);
  overflow: hidden;
  background: #fff;
  pointer-events: none;
}

.hf-gallery-watermark-patch > img,
.product-thumbnails .hf-gallery-watermark-patch > img {
  position: absolute !important;
  top: -100% !important;
  left: 0 !important;
  display: block !important;
  width: var(--hf-watermark-scale, 363.6364%) !important;
  max-width: none !important;
  height: auto !important;
  margin: 0 !important;
  opacity: 1 !important;
  transform: none !important;
  object-fit: initial !important;
}

.hf-gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  padding: 30px;
  align-items: center;
  justify-content: center;
  background: rgb(0 0 0 / 82%);
}

.hf-gallery-lightbox[hidden] {
  display: none;
}

.hf-gallery-lightbox__canvas {
  position: relative;
  display: inline-block;
  max-width: 92vw;
  max-height: 92vh;
  overflow: hidden;
  background: #fff;
  line-height: 0;
}

.hf-gallery-lightbox__image {
  display: block;
  width: auto;
  max-width: 92vw;
  height: auto;
  max-height: 92vh;
}

.hf-gallery-lightbox__close {
  position: absolute;
  top: 14px;
  right: 18px;
  z-index: 2;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 38px;
  font-weight: 400;
  line-height: 1;
}

@media (min-width: 850px) {
  .hf-product-gallery-layout .vertical-thumbnails {
    max-height: 440px;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: thin;
  }
}

.hf-product-summary {
  min-width: 0;
  padding-top: 10px;
}

.hf-product-summary .product-breadcrumb-container {
  margin-bottom: 0;
}

.hf-product-summary .breadcrumbs {
  font-size: .85em;
}

.hf-product-summary .product-title {
  overflow-wrap: anywhere;
}

.hf-product-summary .price {
  margin: .5em 0;
  font-size: 1.5em;
  font-weight: 700;
}

.hf-product-summary .single_add_to_cart_button {
  vertical-align: middle;
}

.single-product .hf-product-summary .single_add_to_cart_button.button.alt {
  border-color: #d26e4b;
  background-color: #d26e4b;
  color: #fff;
}

.single-product .hf-product-summary .single_add_to_cart_button.button.alt:hover {
  border-color: #b85e40;
  background-color: #b85e40;
}

.hf-product-summary .single_add_to_cart_button.is-loading {
  opacity: .65;
  pointer-events: none;
}

.hf-product-main .woocommerce-Tabs-panel {
  overflow-wrap: anywhere;
}

.hf-product-main .woocommerce-Tabs-panel img {
  max-width: 100%;
  height: auto;
}

.hf-source-payment {
  width: 93%;
  max-width: 448px;
  margin-top: 20px;
}

.hf-source-payment svg {
  display: block;
  width: 100%;
  height: auto;
}

.woocommerce-Reviews,
.woocommerce-Reviews #comments,
.woocommerce-Reviews #review_form_wrapper {
  max-width: 100%;
}

.hf-page-content {
  padding: 35px 0 50px;
}

.hf-page-content .entry-content {
  overflow-wrap: anywhere;
}

body:not(.woocommerce-cart):not(.woocommerce-account) .hf-page-content article.page {
  max-width: 820px;
  margin-right: auto;
  margin-left: auto;
}

body:not(.woocommerce-cart):not(.woocommerce-account) .hf-page-content .entry-content > h2:first-child {
  display: none;
}

.hf-page-content .entry-content h3 {
  margin-top: 1.7em;
  margin-bottom: .45em;
  color: #333;
}

.hf-page-content .entry-content p {
  line-height: 1.75;
}

.woocommerce-account .woocommerce-form-login {
  max-width: 680px;
  margin-right: auto;
  margin-left: auto;
  padding: 32px;
  border-color: #dedede;
}

.woocommerce-account .entry-content > h2 {
  max-width: 680px;
  margin-right: auto;
  margin-left: auto;
}

.hf-page-content .entry-content img,
.hf-page-content .entry-content iframe,
.hf-page-content .entry-content table {
  max-width: 100%;
}

.absolute-footer .payment-icons {
  display: flex;
  align-items: center;
  gap: 5px;
}

.absolute-footer .payment-icon {
  display: inline-flex;
  width: 42px;
  height: 24px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 2px;
  background: #fff;
  opacity: .88;
}

.absolute-footer .payment-icon svg {
  width: 100%;
  height: 100%;
}

.absolute-footer .payment-icon span {
  color: #4a4a4a;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
}

.hf-no-products {
  padding: 50px 15px;
  text-align: center;
}

.absolute-footer.dark,
.absolute-footer.dark a {
  color: rgb(255 255 255 / 78%);
}

.hf-not-found {
  display: flex;
  min-height: 420px;
  padding: 70px 15px;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hf-not-found__inner {
  max-width: 620px;
}

.hf-not-found .button {
  margin-top: 12px;
}

@media (min-width: 850px) {
  .hf-category-sidebar {
    position: sticky;
    top: 95px;
  }
}

@media (max-width: 849px) {
  .hf-product-main {
    padding-top: 24px;
  }

  .hf-product-main .woocommerce-Tabs-panel,
  .woocommerce-Reviews {
    width: 100%;
    max-width: 100%;
  }

  .hf-product-summary {
    padding-top: 24px;
    text-align: left;
  }

  .hf-category-sidebar {
    margin-bottom: 24px;
  }

  .hf-category-sidebar .col-inner {
    max-width: 100%;
    overflow: hidden;
  }

  .hf-category-sidebar .widget-title,
  .hf-category-sidebar .is-divider {
    display: none;
  }

  .hf-category-sidebar .product-categories {
    display: flex;
    gap: 8px;
    padding: 2px 0 8px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
  }

  .hf-category-sidebar .product-categories > li {
    border: 0;
    flex: 0 0 auto;
  }

  .hf-category-sidebar .product-categories > li > a {
    padding: 8px 13px;
    border: 1px solid #ddd;
    border-radius: 999px;
    background: #fff;
    line-height: 1.2;
    white-space: nowrap;
  }

  .hf-category-sidebar .children {
    display: none;
  }
}

@media (max-width: 549px) {
  .header-main {
    height: 70px;
  }

  #logo {
    width: 200px;
    flex: 0 1 200px;
  }

  #logo img {
    max-height: 70px;
  }

  .section-title-container {
    padding-right: 12px;
    padding-left: 12px;
  }

  .hf-product-grid,
  .products.row {
    margin-right: -5px;
    margin-left: -5px;
  }

  .hf-product-grid > .col,
  .products.row > .col {
    padding-right: 5px;
    padding-left: 5px;
  }

  .product-small .box-text {
    padding-right: 4px;
    padding-left: 4px;
    text-align: center;
  }

  .hf-product-gallery-layout .vertical-thumbnails {
    max-height: none;
    overflow: visible;
  }

  .woocommerce-account .woocommerce-form-login {
    padding: 22px 18px;
  }

  .hf-product-main .woocommerce-tabs .tabs {
    gap: 14px;
    overflow-x: auto;
    justify-content: flex-start;
  }

  .hf-product-main .woocommerce-Tabs-panel,
  .hf-product-main .woocommerce-Tabs-panel p,
  .woocommerce-Reviews,
  .woocommerce-Reviews .comment-text {
    max-width: 100%;
    text-align: left;
    overflow-wrap: anywhere;
  }

  .woocommerce-Reviews ol.commentlist,
  .woocommerce-Reviews ul.children {
    margin-left: 0;
  }

  .absolute-footer .payment-icons {
    justify-content: center;
  }
}
