/* LuxuryFashions: restrained, readable storefront refinements. */
@font-face {
  font-family: 'LF Noto Sans';
  src: url('../fonts/NotoSans.ttf') format('truetype');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --lf-font: 'LF Noto Sans', 'Noto Sans', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --lf-font-display: var(--lf-font);
  --lf-radius-sm: 10px;
  --lf-radius: 10px;
  --lf-radius-md: 10px;
  --lf-radius-lg: 10px;
  --lf-radius-xl: 10px;
  --lf-radius-2xl: 10px;
  --lf-radius-3xl: 10px;
  --lf-radius-full: 10px;
  --bs-border-radius: 10px;
  --bs-border-radius-sm: 10px;
  --bs-border-radius-lg: 10px;
  --bs-border-radius-xl: 10px;
  --bs-border-radius-xxl: 10px;
  --bs-border-radius-2xl: 10px;
  --bs-border-radius-pill: 10px;
  --lf-shadow-sm: none !important;
  --lf-shadow-md: none !important;
  --lf-shadow-lg: none !important;
  --bs-box-shadow: none !important;
  --bs-box-shadow-sm: none !important;
  --bs-box-shadow-lg: none !important;
  --bs-box-shadow-inset: none !important;
}

/* Flat storefront in every state, including pseudo-elements and sticky bars.
   Variables also neutralize Bootstrap's important shadow utility classes. */
body, body *, body::before, body::after, body *::before, body *::after {
  box-shadow: none !important;
  text-shadow: none !important;
}
/* Keyboard focus stays visible without using a blurred shadow ring. */
body :is(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--lf-primary, #FF6B35) !important;
  outline-offset: 2px;
}

body, body :is(h1, h2, h3, h4, h5, h6, button, input, select, textarea) {
  font-family: var(--lf-font);
}

/* No text underlines in the storefront, including interactive states.
   Keep price strikethroughs, focus outlines, badge tails and link hit areas. */
body :is(a, button, [role="button"], .nav-link, .text-decoration-underline, u, ins, abbr[title]),
body :is(a, button, [role="button"], .nav-link, .text-decoration-underline, u, ins, abbr[title]):is(:hover, :focus, :focus-visible, :active, :visited) {
  text-decoration: none !important;
}
body .lf-navbar .navbar-nav > .nav-item > .nav-link::after {
  display: none !important;
}

body :is(.price-new, .price-old, .new-price, .old-price, .lf-stat-value, .lf-cd-num) {
  font-family: var(--lf-font);
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: -0.025em;
}

body :is(.product-card, .lf-btn, .modal-content, .lf-hero-image-wrapper, .lf-hero-stats,
  .pages-wrap .image, .pages-wrap .image img,
  .page-lf-listing .lf-category-image, .page-lf-listing .lf-category-image img,
  .lf-footer-link-col, .lf-service-list .lf-service) {
  border-radius: var(--lf-radius) !important;
}

/* Round the element casting the hover shadow, not just its image. Clipping
   also keeps animated images and child backgrounds inside the same corners. */
body :is(.pages-wrap, .product-wrap, .product-card, .module-brand .brand-item,
  .page-brands .brand-item, .lf-brand-card, .lf-blog-card, .lf-wishlist-card,
  .lf-blog-post-page .related-card, .lf-testimonial-card, .lf-cart-item,
  .module-pages .news-item, .module-pages .page-item, .module-pages .item,
  .module-page .news-item, .module-page .page-item, .module-page .item) {
  border-radius: var(--lf-radius) !important;
  overflow: hidden;
}

/* Draw the card frame over its contents. A transparent physical border on
   hover leaves a white gutter between the image and the card's outer edge. */
body .product-card {
  position: relative;
  border: 0;
}
body .product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  border: 1px solid var(--lf-border);
  border-radius: inherit;
  pointer-events: none;
  transition: border-color .2s ease;
}
/* Keep the overlay frame visible on hover without reintroducing image gutters. */
body .product-card:hover::after { border-color: var(--lf-border); }

body :is(.banner-magnify-hover .image-wrap, .design-image-301 > a,
  .module-icons .image-item, .module-img-text-banner-multiple .image-wrap,
  .product-wrap .image) {
  border-radius: var(--lf-radius) !important;
  overflow: hidden;
}
.design-image-301 > a::before { border-radius: inherit; }

/* Grouped quantity controls keep their internal seams; the rounded group
   clips their hover fill. Do not round arrows or decorative underlines. */
body :is(.page-product .product-left-thumb-wrap .swiper-slide,
  .page-product .product-left-thumb-wrap .swiper-slide img,
  .page-product .product-left-thumb-wrap .swiper-pager > div,
  .page-product .variables-wrap .variable-info > div,
  .page-product .variables-wrap .variable-info > div.is-v-image .image,
  .page-product .variables-wrap .variable-info > div.is-v-image img,
  .page-product .lf-product-info .quantity-wrap.input-group,
  .product-wrap .image .button-wrap button,
  .filter-value-wrap .list-group .list-group-item,
  .social-wrap .btn, #offcanvas-search-top .btn-close) {
  border-radius: var(--lf-radius) !important;
}

body :is(.lf-header .dropdown-menu, #offcanvas-search-top .search-input-wrap input,
  #offcanvas-search-top .search-pop-products-show-all .btn,
  .module-image-402 .image-wrap .img-name span,
  .module-img-text-banner-multiple .image-wrap .text-wrap .btn) {
  border-radius: var(--lf-radius) !important;
}
.steps-wrap.lf-steps::before, .steps-wrap.lf-steps::after { border-radius: var(--lf-radius); }
body :is(.page-product .variables-wrap.error,
  .page-account-order-list .order-mb-wrap .order-mb-list,
  .module-img-text-slideshow-2.w-container-fluid,
  .module-img-text-slideshow-2.w-container) {
  border-radius: var(--lf-radius) !important;
}

.module-lf-hero .lf-module-container { position: relative; }
.module-lf-hero .lf-hero { gap: clamp(28px, 3vw, 56px); }
.module-lf-hero .lf-hero-content { min-width: 0; }
.module-lf-hero .lf-hero-stats { max-width: 100%; }

.module-lf-flash .lf-cd-sep { font-size: 1.2rem; }
.module-lf-flash .lf-cd-label { font-size: .6rem; margin-top: .35rem; }
.module-lf-flash .lf-countdown { box-shadow: none; }

.module-tab-product .nav .nav-link {
  margin: 0 4px;
  padding: 9px 20px;
  border: 0 !important;
  border-radius: var(--lf-radius);
  box-shadow: none !important;
  color: var(--lf-text-3);
  font-size: 14px;
  font-weight: 600;
}
.module-tab-product .nav .nav-link.active {
  border: 0 !important;
  color: #fff;
  background: var(--lf-primary);
}
.module-tab-product .nav .nav-link:focus-visible { outline: 2px solid var(--lf-primary); outline-offset: 3px; }
.module-pages .pages-wrap .image { overflow: hidden; }
.module-pages .pages-wrap .image img { display: block; width: 100%; }

/* Give desktop speech-bubble labels a little more room below the promo bar. */
@media (min-width: 992px) {
  .lf-navbar { padding-top: calc(1rem + 6px); }
}
.lf-navbar .navbar-nav { gap: clamp(20px, 2.2vw, 42px); }
.lf-navbar .navbar-nav > .nav-item > .nav-link { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
/* Menu labels are speech bubbles: above the desktop link and beside the
   mobile label. Tails inherit the configured badge background/border color. */
.lf-navbar .navbar-nav > .nav-item > .nav-link .badge {
  position: absolute;
  left: 50%;
  right: auto;
  top: auto;
  bottom: calc(100% + 3px);
  margin: 0;
  padding: 4px 8px;
  border-radius: var(--lf-radius);
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  overflow: visible;
  pointer-events: none;
}
.lf-navbar .navbar-nav > .nav-item > .nav-link .badge::before {
  content: "";
  display: block;
  position: absolute;
  top: 100%;
  left: 10px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 7px 0 0;
  border-color: inherit;
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-radius: 0;
}
#offcanvas-mobile-menu .mobile-menu-wrap #menu-accordion .accordion-item .nav-item-text > a .badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  min-height: 20px;
  padding: 4px 9px;
  border: 0;
  border-radius: var(--lf-radius);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  vertical-align: middle;
  overflow: visible;
  pointer-events: none;
}
#offcanvas-mobile-menu .mobile-menu-wrap #menu-accordion .accordion-item .nav-item-text > a .badge::before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: auto;
  /* A short, same-color tail overlaps the curved body to avoid a white seam. */
  right: calc(100% - 3px);
  width: 8px;
  height: 10px;
  transform: translateY(-50%);
  border: 0;
  background-color: inherit;
  clip-path: polygon(0 50%, 100% 0, 100% 100%);
  border-radius: 0;
}

.page-product .lf-product-gallery .product-image .right#zoom,
.page-product .lf-product-info .price-wrap,
.page-product .lf-product-info :is(.add-cart, .btn-buy-now, .lf-wishlist-square) {
  border-radius: var(--lf-radius) !important;
}
.page-product .lf-product-info :is(.add-cart, .btn-buy-now, .lf-wishlist-square) {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 14px;
  line-height: 1.2;
}
.page-product .lf-product-info :is(.add-cart, .btn-buy-now) i { margin: 0 !important; line-height: 1; }
/* Override the legacy desktop wishlist margin so all purchase buttons
   share the same vertical center, including tablet-sized fixed bars. */
.page-product .lf-product-info .lf-wishlist-square {
  padding: 0;
  margin: 0 !important;
  align-self: center;
}
.page-product .lf-product-info .product-btns { align-items: center; border-top: 0; }
.page-product .lf-product-info .product-btns .add-cart-btns { align-items: center; }
.page-product .lf-product-info .product-btns .add-wishlist {
  align-self: center;
  align-items: center;
}
.page-product .lf-product-description .nav-tabs { border: 0; }
.page-product .lf-product-description .nav-tabs .nav-link { border: 0; border-radius: 0; box-shadow: none; }
.page-product .lf-product-description .nav-tabs .nav-link.active::before { display: none; }
.page-product .lf-product-description .nav-tabs .nav-link.active { color: var(--lf-primary); }
.page-product .relations-wrap .swiper-style-plus { padding-bottom: 0; }
/* Swiper clips overflow. Reserve room for the 6px hover lift without
   shifting the resting cards or the pagination below them. */
.page-product .relations-swiper {
  padding-top: 8px;
  margin-top: -8px;
}
.page-product .relations-swiper .swiper-wrapper {
  height: auto;
  align-items: stretch;
}
.page-product .relations-swiper .swiper-slide {
  display: flex;
  height: auto;
}
.page-product .relations-swiper .product-card {
  flex: 1;
  width: 100%;
  height: auto;
}
.page-product .relations-swiper .product-image-wrapper { flex-shrink: 0; }
/* The fixed image viewport clips both images throughout the hover zoom.
   Clip the image layer itself rather than relying on the moving card. */
.page-product .relations-swiper :is(.product-image-wrapper, .product-image-link) {
  border-radius: var(--lf-radius, 10px) !important;
  overflow: hidden;
  clip-path: inset(0 round var(--lf-radius, 10px));
}
.page-product .relations-swiper .product-info-bottom {
  margin-top: auto;
  padding-top: .75rem;
}
/* Keep pagination in flow: legacy absolute bottom offsets enlarged the gap. */
body.page-product .relations-wrap .relations-pagination:not(.swiper-pagination-lock) {
  position: static;
  bottom: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 3px;
  margin-top: 12px;
  line-height: 1;
  transform: none;
}
.page-product .relations-pagination .swiper-pagination-bullet { margin: 0 5px !important; }

body .lf-service-list .lf-service {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 0;
  background: var(--lf-service-item-bg, var(--lf-service-bg));
  color: var(--lf-service-item-text, var(--lf-service-text));
}
body .lf-service-list .lf-service .icon { flex: 0 0 32px; }
body .lf-service-list .lf-service .icon img { display: block; width: 32px; height: 32px; object-fit: contain; }
body .lf-service-list .lf-service .text { min-width: 0; }
body .lf-service-list .lf-service .title {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 3px;
  color: var(--lf-service-title);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
}
body .lf-service-list .lf-service .title i { flex-shrink: 0; font-size: 11px; }
body .lf-service-list .lf-service .sub-title { margin: 0; color: inherit; font-size: 12px; line-height: 1.65; }
/* Keep containment off the purchase panel so its fixed H5 buy bar stays
   attached to the viewport. Only the services participate in this query. */
.lf-purchase-service-region {
  container-type: inline-size;
  container-name: lf-purchase;
}
.lf-purchase-services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0 8px;
}
body .lf-purchase-services .lf-service {
  position: relative;
  min-width: 0;
  overflow: hidden;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 12px;
  text-align: left;
}
body .lf-purchase-services .lf-service .icon { flex-basis: 24px; }
body .lf-purchase-services .lf-service .icon img { width: 24px; height: 24px; }
body .lf-purchase-services .lf-service .title { font-size: 12px; line-height: 1.35; }
body .lf-purchase-services .lf-service .sub-title { font-size: 11px; line-height: 1.45; }
body .lf-purchase-services .lf-service .text { overflow-wrap: anywhere; }
body .lf-purchase-services .lf-service .stretched-link::after { border-radius: var(--lf-radius); }
body .lf-purchase-services .lf-service .stretched-link:focus-visible { outline: none; }
body .lf-purchase-services .lf-service .stretched-link:focus-visible::after {
  outline: 2px solid var(--lf-primary);
  outline-offset: -2px;
}
@container lf-purchase (min-width: 680px) {
  .lf-purchase-services { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* Older browsers retain the same two/four-column fallback. */
@supports not (container-type: inline-size) {
  @media (min-width: 1440px) {
    .lf-purchase-services { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  }
}

/* Narrow only the desktop introduction, keeping the footer grid unchanged. */
@media (min-width: 992px) {
  .lf-footer .lf-footer-brand .lf-footer-desc { max-width: 90%; }
}

.lf-footer-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  background: none;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  text-align: left;
}
.lf-footer-toggle:disabled { color: inherit; opacity: 1; }
.lf-footer-toggle i { display: none; }

/* Theme-owned sign-in/sign-up panels remain visible without core view overrides. */
.page-login #page-login .login-wrap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 32px;
  max-width: 920px;
  margin: 0 auto 48px;
}
.page-login #page-login .login-wrap > .card {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--lf-border);
  border-radius: var(--lf-radius, 10px);
}
.page-login #page-login .card-header { padding: 20px 24px; }
.page-login #page-login .card-body { padding: 24px; }
.page-login #page-login .el-input__inner { border-radius: var(--lf-radius, 10px); }
.page-login #page-login .el-input__inner:focus { border-color: var(--lf-primary); }
.page-login #page-login .lf-auth-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 48px;
  padding: 12px 18px;
  border-color: var(--lf-primary);
  border-radius: var(--lf-radius, 10px);
  background: var(--lf-primary);
  color: #fff;
  line-height: 1.2;
}
.page-login #page-login .lf-auth-submit:is(:hover, :focus-visible, :active) {
  border-color: var(--lf-primary-dark, var(--lf-primary));
  background: var(--lf-primary-dark, var(--lf-primary));
  color: #fff;
}
.page-login #page-login .lf-auth-captcha {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px;
  gap: 10px;
}
.page-login #page-login .lf-auth-captcha-refresh {
  height: 40px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--lf-border);
  border-radius: var(--lf-radius, 10px);
  background: #fff;
}
.page-login #page-login .lf-auth-captcha-refresh img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 767.98px) {
  .page-login #page-login .login-wrap { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-bottom: 32px; }
  .page-login #page-login .card-header { padding: 18px 20px; }
  .page-login #page-login .card-body { padding: 20px; }
}

@media (max-width: 1199.98px) and (min-width: 992px) {
  .lf-navbar .navbar-nav { gap: 16px; }
  .lf-navbar .navbar-nav > .nav-item > .nav-link { font-size: 13px; }
  .lf-navbar .lf-nav-content { grid-template-columns: auto 1fr auto; gap: 20px; }
  .lf-logo img { max-width: 150px; }
}

@media (max-width: 991.98px) {
  .lf-mobile-bar { padding-top: 9px; padding-bottom: 9px; }
  .lf-mobile-bar .lf-mobile-left, .lf-mobile-bar .lf-mobile-right { gap: 10px; }
  .lf-footer .lf-footer-grid { grid-template-columns: 1fr; }
  .lf-footer .lf-footer-link-col { padding: 16px 20px; border: 0; background: var(--lf-bg); }
  .lf-footer .lf-footer-link-col h6 { margin: 0; }
  .lf-footer-toggle { min-height: 24px; cursor: pointer; }
  .lf-footer-toggle i { display: block; color: var(--lf-primary); font-size: 16px; }
  .lf-footer-link-col .lf-footer-links { display: none; }
  .lf-footer-link-col.is-open .lf-footer-links { display: block; margin-top: 14px; }
  .page-product .lf-product-info .product-btns :is(.add-cart, .btn-buy-now, .lf-wishlist-square) {
    height: 44px;
    min-height: 44px;
    align-self: center;
    padding-top: 0;
    padding-bottom: 0;
  }
  .page-product .lf-product-info .product-btns { min-height: 62px; }
}

@media (prefers-reduced-motion: reduce) {
  .quantity-wrap, .quantity-wrap .btn { transition: none !important; }
}
