/*
Theme Name: Luma Commerce
Theme URI: https://example.com/luan-ultra-commerce
Author: Luan Commerce Studio
Author URI: https://example.com
Description: Luma Commerce professional, mobile-friendly, PHP 7.4 compatible WooCommerce theme with full homepage visual builder controls, per-section colors, images, typography, borders, spacing, native editable default section text, buttons, labels, images where present, plus direct native Hero/Single Banner Edit/Double/Triple banner controls, working drag-and-drop homepage section ordering with fallback move controls, section search, quick show/hide toggles, reset order, click-to-focus section controls and preview highlighting inside the Homepage Visual Builder, advanced design controls, Elementor support, and professional ecommerce modules.
Version: 25.5.20
Requires at least: 6.6
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: luan-ultra-commerce
Tags: e-commerce, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, blog, one-column, two-columns, right-sidebar, block-styles, wide-blocks
*/


/* v25.5.12 Requested focused fixes: header hover, category/product layout, hidden sections, lanes. */
.luc-v10-support-chip:hover,
.luc-v10-support-chip:focus-visible,
.luc-v14-support-chip:hover,
.luc-v14-support-chip:focus-visible {
  color: #fff !important;
}
.luc-v10-support-chip:hover *,
.luc-v10-support-chip:focus-visible *,
.luc-v14-support-chip:hover *,
.luc-v14-support-chip:focus-visible * {
  color: #fff !important;
}

/* Hide the Premium storefront system/story section only. */
.luc-story-section {
  display: none !important;
}

/* Popular Categories: show exactly 3 clean cards per row on desktop. */
.luc-v16-popular-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(16px, 2vw, 24px) !important;
}
.luc-v16-popular-grid .luc-v16-popular-card:nth-child(n+4) {
  display: none !important;
}

/* Remove the Shop departments / Complete ecommerce browsing sidebar only. */
.luc-v7-market-sidebar {
  display: none !important;
}
.luc-v7-marketplace-grid {
  grid-template-columns: 1fr !important;
}

/* Product discovery lanes: 6 products exist, show 2 at a time and scroll for the rest. */
.luc-v7-lane-card ul.products,
.luc-v7-lane-card .woocommerce ul.products {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 16px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-snap-type: x mandatory !important;
  padding: 4px 4px 14px !important;
  margin: 0 !important;
  -webkit-overflow-scrolling: touch !important;
}
.luc-v7-lane-card ul.products::-webkit-scrollbar {
  height: 8px;
}
.luc-v7-lane-card ul.products::-webkit-scrollbar-thumb {
  background: rgba(15, 23, 42, .24);
  border-radius: 999px;
}
.luc-v7-lane-card ul.products li.product {
  flex: 0 0 calc(50% - 8px) !important;
  width: calc(50% - 8px) !important;
  max-width: calc(50% - 8px) !important;
  min-width: calc(50% - 8px) !important;
  float: none !important;
  margin: 0 !important;
  scroll-snap-align: start !important;
}

/* Product category/archive: product title max 2 lines with ellipsis. */
.woocommerce.archive ul.products li.product .woocommerce-loop-product__title,
.tax-product_cat ul.products li.product .woocommerce-loop-product__title,
.post-type-archive-product ul.products li.product .woocommerce-loop-product__title,
ul.products li.product .woocommerce-loop-product__title {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  min-height: 2.8em !important;
  line-height: 1.4 !important;
}

/* Product-category pagination centered. */
.woocommerce nav.woocommerce-pagination,
.tax-product_cat nav.woocommerce-pagination,
.post-type-archive-product nav.woocommerce-pagination {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  margin: 32px auto 10px !important;
  text-align: center !important;
}
.woocommerce nav.woocommerce-pagination ul {
  display: inline-flex !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Single product title: slightly smaller and cleaner. */
.single-product div.product .product_title,
.single-product .summary .product_title,
.single-product h1.product_title {
  font-size: clamp(1.45rem, 2.25vw, 2.15rem) !important;
  line-height: 1.15 !important;
}

@media (max-width: 900px) {
  .luc-v16-popular-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
  .luc-v16-popular-card {
    min-width: 0 !important;
  }
  .luc-v16-popular-copy p,
  .luc-v16-subcat-list {
    display: none !important;
  }
}
@media (max-width: 640px) {
  .luc-v16-popular-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
  .luc-v16-popular-card {
    border-radius: 16px !important;
    padding: 8px !important;
  }
  .luc-v16-popular-copy span {
    display: none !important;
  }
  .luc-v16-popular-copy h3 {
    font-size: .78rem !important;
    line-height: 1.2 !important;
  }
  .luc-v16-popular-image {
    min-height: 74px !important;
  }
  .luc-v7-lane-card ul.products li.product {
    flex-basis: calc(50% - 8px) !important;
    width: calc(50% - 8px) !important;
    max-width: calc(50% - 8px) !important;
    min-width: calc(50% - 8px) !important;
  }
}


/* v25.5.12 focused requested cleanup: smaller product title + hide selected homepage modules. */
.single-product div.product .product_title,
.single-product .summary .product_title,
.single-product h1.product_title,
.woocommerce div.product .product_title {
  font-size: clamp(1.22rem, 1.85vw, 1.78rem) !important;
  line-height: 1.18 !important;
  letter-spacing: -0.025em !important;
}

/* Force-hide requested homepage sections without changing saved Customizer values. */
.home .luc-v15-home-precision,
.front-page .luc-v15-home-precision,
.home .luc-v12-command-hub,
.front-page .luc-v12-command-hub,
.home .luc-v11-commerce-suite,
.front-page .luc-v11-commerce-suite,
.home .luc-v8-journey,
.front-page .luc-v8-journey,
.home .luc-v8-merchandising,
.front-page .luc-v8-merchandising,
.home .luc-v8-command,
.front-page .luc-v8-command,
.home .luc-v7-campaign-wall,
.front-page .luc-v7-campaign-wall,
.home .luc-v7-marketplace,
.front-page .luc-v7-marketplace,
.home .luc-faq-section,
.front-page .luc-faq-section {
  display: none !important;
}

/* Hide the Show this section checkbox row for locked/removed sections in the Customizer UI. */
#customize-control-luc_v17_ctrl_faq_enable,
#customize-control-luc_v17_ctrl_v7_marketplace_enable,
#customize-control-luc_v17_ctrl_v7_campaign_enable,
#customize-control-luc_v17_ctrl_v8_command_enable,
#customize-control-luc_v17_ctrl_v8_merch_enable,
#customize-control-luc_v17_ctrl_v8_journey_enable,
#customize-control-luc_v17_ctrl_v11_suite_enable,
#customize-control-luc_v17_ctrl_v12_command_enable,
#customize-control-luc_v17_ctrl_v15_precision_enable {
  display: none !important;
}


/* v25.5.13 focused screenshot fixes: single breadcrumb, 2-line titles, clean category images. */
body.woocommerce-page .woocommerce-breadcrumb + .woocommerce-breadcrumb,
body.post-type-archive-product .woocommerce-breadcrumb + .woocommerce-breadcrumb,
body.tax-product_cat .woocommerce-breadcrumb + .woocommerce-breadcrumb,
body.tax-product_tag .woocommerce-breadcrumb + .woocommerce-breadcrumb {
  display: none !important;
}

/* Keep shop/category breadcrumb as one clean line without duplicated vertical space. */
body.woocommerce-page .woocommerce-breadcrumb {
  margin-top: 14px !important;
  margin-bottom: 10px !important;
}
body.post-type-archive-product .luc-store-main,
body.tax-product_cat .luc-store-main,
body.tax-product_tag .luc-store-main {
  padding-top: 0 !important;
}

/* Product card titles: exactly 2 lines, then ellipsis; no overlap with price. */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
ul.products li.product .woocommerce-loop-product__title,
.wc-block-grid__product-title,
.luc-product-card-title,
.luc-product-card .woocommerce-loop-product__title,
.luc-product-card-inner .woocommerce-loop-product__title {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  min-height: calc(1.18em * 2) !important;
  max-height: calc(1.18em * 2) !important;
  line-height: 1.18 !important;
  margin: 12px 0 8px !important;
  padding: 0 18px !important;
}
.woocommerce ul.products li.product .price,
ul.products li.product .price,
.wc-block-grid__product-price,
.luc-product-card-price {
  display: block !important;
  clear: both !important;
  margin-top: 8px !important;
  padding: 0 18px !important;
}

/* Popular category cards: remove black transparent corners behind PNG/category images. */
.luc-v16-popular-card,
.luc-v16-popular-image,
.luc-v16-popular-image img,
.luc-v16-category-placeholder {
  overflow: hidden !important;
}
.luc-v16-popular-card {
  isolation: isolate !important;
}
.luc-v16-popular-image {
  background: linear-gradient(135deg, #fffaf0, #fff4d6) !important;
  border-radius: 0 var(--luc-radius-lg, 30px) var(--luc-radius-lg, 30px) 0 !important;
  padding: 0 !important;
}
.luc-v16-popular-image img {
  background: transparent !important;
  object-fit: contain !important;
  width: 100% !important;
  height: 100% !important;
  border-radius: 0 !important;
  display: block !important;
}
.luc-v16-category-placeholder {
  background: linear-gradient(135deg, #fffaf0, #fff4d6) !important;
  color: #a16207 !important;
}
@media (max-width: 860px) {
  .luc-v16-popular-image {
    border-radius: var(--luc-radius-lg, 26px) var(--luc-radius-lg, 26px) 0 0 !important;
  }
}


/* v25.5.14 screenshot cleanup: banner media corners, navigation color, and duplicate breadcrumbs. */
/* Remove black corner/triangle artifacts from single, double, triple banner media areas. */
.luc-v16-wide-banner,
.luc-v16-compact-banner,
.luc-v16-mini-banner,
.luc-v16-popular-card {
  overflow: hidden !important;
  background: linear-gradient(135deg, #fffdf7, #fff8e6) !important;
  isolation: isolate !important;
}
.luc-v16-banner-art,
.luc-v16-popular-image {
  background: linear-gradient(135deg, #ffffff, #fff8df) !important;
  overflow: hidden !important;
  clip-path: inset(0 round 0) !important;
}
.luc-v16-wide-banner .luc-v16-banner-art,
.luc-v16-compact-banner .luc-v16-banner-art {
  border-radius: 0 var(--luc-radius-lg, 32px) var(--luc-radius-lg, 32px) 0 !important;
}
.luc-v16-mini-banner .luc-v16-banner-art {
  border-radius: var(--luc-radius-lg, 28px) var(--luc-radius-lg, 28px) 0 0 !important;
}
.luc-v16-banner-image,
.luc-v16-popular-image img,
.luc-v16-category-placeholder {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  object-fit: contain !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.luc-v16-banner-art::before,
.luc-v16-banner-art::after,
.luc-v16-popular-image::before,
.luc-v16-popular-image::after,
.luc-v16-wide-banner::before,
.luc-v16-wide-banner::after,
.luc-v16-compact-banner::before,
.luc-v16-compact-banner::after,
.luc-v16-popular-card::before,
.luc-v16-popular-card::after {
  display: none !important;
  content: none !important;
}

/* Keep the main desktop navigation clean instead of the black strip shown in the screenshot. */
.luc-v14-navigation-shell,
.luc-v10-navigation-shell,
#masthead .luc-v14-navigation-shell {
  display: block !important;
  background: rgba(255,255,255,.98) !important;
  border-top: 1px solid rgba(148,163,184,.20) !important;
  border-bottom: 1px solid rgba(148,163,184,.24) !important;
  box-shadow: 0 12px 30px rgba(15,23,42,.06) !important;
}
.luc-v14-navigation-row {
  min-height: 64px !important;
  align-items: center !important;
  gap: 18px !important;
}
.luc-primary-nav,
.luc-v14-primary-nav {
  background: transparent !important;
}
.luc-primary-nav ul,
.luc-v14-primary-nav ul,
.luc-primary-nav .menu,
.luc-v14-primary-nav .menu {
  align-items: center !important;
  gap: 8px !important;
}
.luc-primary-nav a,
.luc-v14-primary-nav a,
#masthead .luc-primary-nav a {
  color: #172033 !important;
  opacity: 1 !important;
  background: transparent !important;
}
.luc-primary-nav a:hover,
.luc-v14-primary-nav a:hover,
#masthead .luc-primary-nav a:hover {
  color: #111827 !important;
  background: #fff3cd !important;
}
.luc-v10-category-button,
.luc-v14-category-button,
.luc-v10-promo-pill,
.luc-v14-offer-pill,
.luc-v10-support-chip,
.luc-v14-support-chip {
  box-shadow: none !important;
}

/* Sticky header must never disappear because of older patch CSS. */
body.luc-sticky-header-enabled #masthead,
body.luc-sticky-header-enabled .luc-site-header[data-luc-sticky-header="enabled"],
body.luc-sticky-header-enabled .elementor-location-header[data-luc-sticky-header="enabled"] {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Product page: remove duplicate breadcrumb rows and large empty gap before product content. */
.single-product .woocommerce-breadcrumb + .woocommerce-breadcrumb,
.single-product .woocommerce-breadcrumb ~ .woocommerce-breadcrumb,
.single-product nav.woocommerce-breadcrumb:nth-of-type(n+2) {
  display: none !important;
}
.single-product .woocommerce-breadcrumb {
  margin-top: 14px !important;
  margin-bottom: 12px !important;
}
.single-product .luc-store-main,
.single-product main.site-main,
.single-product #primary {
  padding-top: 0 !important;
}
.single-product div.product {
  margin-top: 0 !important;
}

@media (max-width: 860px) {
  .luc-v16-wide-banner,
  .luc-v16-compact-banner,
  .luc-v16-mini-banner,
  .luc-v16-popular-card {
    border-radius: 24px !important;
  }
  .luc-v16-wide-banner .luc-v16-banner-art,
  .luc-v16-compact-banner .luc-v16-banner-art,
  .luc-v16-mini-banner .luc-v16-banner-art,
  .luc-v16-popular-image {
    border-radius: 22px 22px 0 0 !important;
  }
  .luc-v14-navigation-shell { display: none !important; }
}

/* v25.5.15 focused fixes: restore dark header navigation with white text, one breadcrumb, and mobile product lanes. */
.luc-v14-navigation-shell,
.luc-v10-navigation-shell,
#masthead .luc-v14-navigation-shell {
  background: #050505 !important;
  border-top: 1px solid rgba(255,255,255,.08) !important;
  border-bottom: 1px solid rgba(255,255,255,.12) !important;
  box-shadow: 0 14px 34px rgba(0,0,0,.22) !important;
}
.luc-v14-navigation-row {
  min-height: 64px !important;
  align-items: center !important;
}
.luc-primary-nav,
.luc-v14-primary-nav,
#masthead .luc-primary-nav {
  background: transparent !important;
}
.luc-primary-nav ul,
.luc-v14-primary-nav ul,
.luc-primary-nav .menu,
.luc-v14-primary-nav .menu {
  align-items: center !important;
  gap: 10px !important;
}
.luc-primary-nav a,
.luc-v14-primary-nav a,
#masthead .luc-primary-nav a,
#masthead .luc-v14-primary-nav a,
.luc-primary-nav .page_item a,
.luc-v14-primary-nav .menu-item a {
  color: #fff !important;
  opacity: 1 !important;
  background: transparent !important;
  text-shadow: none !important;
}
.luc-primary-nav a:hover,
.luc-primary-nav a:focus-visible,
.luc-v14-primary-nav a:hover,
.luc-v14-primary-nav a:focus-visible,
#masthead .luc-primary-nav a:hover,
#masthead .luc-v14-primary-nav a:hover {
  color: #FCCE56 !important;
  background: rgba(255,255,255,.08) !important;
}
.luc-v10-category-button,
.luc-v14-category-button {
  background: linear-gradient(135deg, #FCCE56, #F6B80C) !important;
  color: #111 !important;
}
.luc-v10-promo-pill,
.luc-v14-offer-pill,
.luc-v10-support-chip,
.luc-v14-support-chip {
  color: #111 !important;
}
.luc-v10-support-chip:hover,
.luc-v14-support-chip:hover,
.luc-v10-support-chip:focus-visible,
.luc-v14-support-chip:focus-visible {
  color: #fff !important;
}

/* Keep product/category breadcrumbs single: theme breadcrumb is the only visible breadcrumb. */
.woocommerce-breadcrumb { display: none !important; }
.luc-theme-breadcrumb .woocommerce-breadcrumb {
  display: block !important;
  width: min(1240px, calc(100% - 40px)) !important;
  margin: 14px auto 12px !important;
}
.luc-theme-breadcrumb + .luc-theme-breadcrumb,
.luc-theme-breadcrumb ~ .luc-theme-breadcrumb {
  display: none !important;
}
.single-product .luc-theme-breadcrumb .woocommerce-breadcrumb {
  margin-top: 10px !important;
  margin-bottom: 10px !important;
}

@media (max-width: 860px) {
  .luc-v14-navigation-shell,
  .luc-v10-navigation-shell,
  #masthead .luc-v14-navigation-shell {
    background: #050505 !important;
  }
  .luc-primary-nav a,
  .luc-v14-primary-nav a,
  #masthead .luc-primary-nav a {
    color: #fff !important;
  }
}

/* Mobile Hot Deals / Best Sellers: keep 2 products visible, but make cards compact and readable. */
@media (max-width: 640px) {
  .luc-v7-product-lanes {
    overflow: hidden !important;
  }
  .luc-v7-product-lanes .luc-section-heading h2 {
    font-size: clamp(2rem, 9vw, 3rem) !important;
    line-height: 1.02 !important;
    letter-spacing: -0.055em !important;
  }
  .luc-v7-lane-card {
    padding: 14px !important;
    border-radius: 26px !important;
    overflow: hidden !important;
  }
  .luc-v7-lane-card header {
    margin-bottom: 12px !important;
  }
  .luc-v7-lane-card header span,
  .luc-v7-lane-card header a {
    font-size: .95rem !important;
    line-height: 1.1 !important;
  }
  .luc-v7-lane-card ul.products,
  .luc-v7-lane-card .woocommerce ul.products {
    display: flex !important;
    flex-wrap: nowrap !important;
    grid-template-columns: none !important;
    gap: 10px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 2px 2px 12px !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .luc-v7-lane-card ul.products li.product,
  .luc-v7-lane-card .woocommerce ul.products li.product {
    flex: 0 0 calc(50% - 5px) !important;
    width: calc(50% - 5px) !important;
    max-width: calc(50% - 5px) !important;
    min-width: calc(50% - 5px) !important;
    margin: 0 !important;
    float: none !important;
    scroll-snap-align: start !important;
  }
  .luc-v7-lane-card .luc-product-card-inner {
    padding: 10px !important;
    border-radius: 22px !important;
    box-shadow: 0 10px 24px rgba(15,23,42,.08) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
  }
  .luc-v7-lane-card .luc-product-actions {
    display: none !important;
  }
  .luc-v7-lane-card ul.products li.product a img {
    width: 100% !important;
    max-height: 118px !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    border-radius: 16px !important;
    margin: 0 0 7px !important;
  }
  .luc-v7-lane-card ul.products li.product .woocommerce-loop-product__title {
    font-size: .84rem !important;
    line-height: 1.18 !important;
    min-height: 2.35em !important;
    margin: 4px 0 3px !important;
    padding: 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    word-break: normal !important;
  }
  .luc-v7-lane-card ul.products li.product .price {
    display: block !important;
    font-size: .9rem !important;
    line-height: 1.15 !important;
    min-height: auto !important;
    margin: 3px 0 7px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .luc-v7-lane-card ul.products li.product .button,
  .luc-v7-lane-card ul.products li.product a.button {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 38px !important;
    margin: auto 0 0 !important;
    padding: 8px 8px !important;
    border-radius: 999px !important;
    font-size: .78rem !important;
    line-height: 1.05 !important;
    white-space: normal !important;
  }
}


/* v25.5.16 focused fixes: mobile header, search icon cleanup, support chip contrast, trust cards, and product lanes. */
/* Header navigation: keep the previous dark bar, but make support chip readable. */
#masthead .luc-v14-navigation-shell,
#masthead .luc-v10-navigation-shell {
  background: #050505 !important;
  color: #fff !important;
}
#masthead .luc-v10-support-chip,
#masthead .luc-v14-support-chip {
  color: #fff !important;
  background: rgba(255,255,255,.10) !important;
  border: 1px solid rgba(255,255,255,.22) !important;
  opacity: 1 !important;
  filter: none !important;
}
#masthead .luc-v10-support-chip *,
#masthead .luc-v14-support-chip * { color: #fff !important; opacity: 1 !important; }
#masthead .luc-v10-support-chip:hover,
#masthead .luc-v14-support-chip:hover,
#masthead .luc-v10-support-chip:focus-visible,
#masthead .luc-v14-support-chip:focus-visible {
  color: #fff !important;
  background: rgba(252,206,86,.22) !important;
  border-color: rgba(252,206,86,.58) !important;
}
#masthead .luc-v14-offer-pill,
#masthead .luc-v10-promo-pill { color: #111 !important; }

/* Remove the extra small category/grid icon beside the main search icon. */
.luc-v2556-search-category-icon,
.luc-v14-search-trigger .luc-v2556-search-category-icon,
.luc-v10-search-trigger .luc-v2556-search-category-icon {
  display: none !important;
  width: 0 !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
.luc-v14-search-trigger,
.luc-v10-search-trigger {
  gap: .7rem !important;
}

/* Mobile header must always render as a real header, not a blank black strip. */
@media (max-width: 860px) {
  .luc-site-header,
  #masthead.luc-site-header {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: rgba(255,255,255,.98) !important;
    border-bottom: 1px solid rgba(15,23,42,.10) !important;
  }
  #masthead .luc-v14-primary-shell,
  #masthead .luc-v10-primary-shell {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: rgba(255,255,255,.98) !important;
    padding: 8px 0 10px !important;
  }
  #masthead .luc-v14-header-main {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    align-items: center !important;
    gap: 10px !important;
    min-height: 54px !important;
  }
  #masthead .luc-brand,
  #masthead .luc-v14-brand {
    display: flex !important;
    align-items: center !important;
    min-width: 0 !important;
  }
  #masthead .luc-site-title,
  #masthead .custom-logo-link {
    display: inline-flex !important;
    align-items: center !important;
    max-width: 100% !important;
  }
  #masthead .custom-logo {
    max-height: 42px !important;
    width: auto !important;
  }
  #masthead .luc-header-actions,
  #masthead .luc-v14-header-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 6px !important;
    min-width: 0 !important;
  }
  #masthead .luc-header-actions .luc-icon-button,
  #masthead .luc-header-actions .luc-cart-link,
  #masthead .luc-v14-action {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    border-radius: 13px !important;
    padding: 0 !important;
    font-size: .92rem !important;
  }
  #masthead .luc-mobile-toggle,
  #masthead .luc-v14-mobile-toggle {
    display: none !important;
  }
  #masthead .luc-v14-search-area {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    display: block !important;
    order: 10 !important;
  }
  #masthead .luc-v14-search-trigger,
  #masthead .luc-v10-search-trigger {
    width: 100% !important;
    min-height: 48px !important;
    border-radius: 20px !important;
    display: grid !important;
    grid-template-columns: 38px 1fr auto !important;
    align-items: center !important;
    padding: 5px 6px !important;
    overflow: hidden !important;
  }
  #masthead .luc-v14-search-icon {
    width: 38px !important;
    height: 38px !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 999px !important;
    background: #050505 !important;
    color: #FCCE56 !important;
  }
  #masthead .luc-v14-search-copy {
    min-width: 0 !important;
    overflow: hidden !important;
  }
  #masthead .luc-v14-search-copy strong {
    display: block !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    font-size: .9rem !important;
  }
  #masthead .luc-v14-search-trigger em {
    min-width: 72px !important;
    padding: 11px 14px !important;
    border-radius: 999px !important;
    background: #050505 !important;
    color: #FCCE56 !important;
    font-size: .82rem !important;
    text-align: center !important;
  }
  /* Keep the desktop navigation hidden on mobile so it cannot create a blank black strip. */
  #masthead .luc-v14-navigation-shell,
  #masthead .luc-v10-navigation-shell {
    display: none !important;
    min-height: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
  }
  #masthead .luc-v10-mobile-toolbar,
  #masthead .luc-v14-mobile-toolbar {
    display: flex !important;
    gap: 8px !important;
    padding: 8px 14px 10px !important;
    background: rgba(255,255,255,.98) !important;
  }
  #masthead .luc-v10-mobile-toolbar button,
  #masthead .luc-v14-mobile-toolbar button {
    flex: 1 1 0 !important;
    min-height: 42px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(15,23,42,.10) !important;
    background: #fff8df !important;
    color: #111827 !important;
    font-weight: 900 !important;
  }
}

/* Product page trust cards: stop “Secure Payment” from breaking into an ugly overlap. */
.luc-trust-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  align-items: stretch !important;
}
.luc-trust-grid > div,
.luc-trust-grid article {
  min-width: 0 !important;
  overflow: hidden !important;
  word-break: normal !important;
}
.luc-trust-grid strong {
  font-size: clamp(1.02rem, 1.55vw, 1.24rem) !important;
  line-height: 1.12 !important;
  letter-spacing: -0.025em !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}
.luc-trust-grid span,
.luc-trust-grid p {
  font-size: clamp(.9rem, 1.25vw, 1rem) !important;
  line-height: 1.45 !important;
}
@media (max-width: 640px) {
  .luc-trust-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(156px, 1fr)) !important;
    overflow-x: auto !important;
    gap: 12px !important;
    padding-bottom: 8px !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .luc-trust-grid > div,
  .luc-trust-grid article {
    min-height: 142px !important;
    padding: 16px !important;
  }
  .luc-trust-grid strong { font-size: 1.05rem !important; }
}

/* Mobile Hot Deals / Best Sellers: stable two-card horizontal lanes. */
@media (max-width: 640px) {
  .luc-v7-product-lanes .luc-section-heading h2 {
    font-size: clamp(2rem, 9vw, 2.65rem) !important;
    line-height: 1.03 !important;
    letter-spacing: -0.06em !important;
  }
  .luc-v7-lane-card {
    padding: 14px !important;
    overflow: hidden !important;
    border-radius: 28px !important;
  }
  .luc-v7-lane-card header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
  }
  .luc-v7-lane-card ul.products,
  .luc-v7-lane-card .woocommerce ul.products {
    display: flex !important;
    flex-wrap: nowrap !important;
    grid-template-columns: none !important;
    gap: 12px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 2px 2px 14px !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .luc-v7-lane-card ul.products li.product,
  .luc-v7-lane-card .woocommerce ul.products li.product {
    flex: 0 0 calc(50% - 6px) !important;
    width: calc(50% - 6px) !important;
    max-width: calc(50% - 6px) !important;
    min-width: calc(50% - 6px) !important;
    margin: 0 !important;
    float: none !important;
    scroll-snap-align: start !important;
  }
  .luc-v7-lane-card .luc-product-card-inner,
  .luc-v7-lane-card ul.products li.product {
    min-height: 315px !important;
  }
  .luc-v7-lane-card .luc-product-card-inner {
    display: flex !important;
    flex-direction: column !important;
    gap: 7px !important;
    padding: 10px !important;
    border-radius: 22px !important;
    overflow: hidden !important;
  }
  .luc-v7-lane-card .luc-product-actions,
  .luc-v7-lane-card .luc-product-action,
  .luc-v7-lane-card .luc-quick-view,
  .luc-v7-lane-card .luc-wishlist-toggle,
  .luc-v7-lane-card .luc-compare-toggle {
    display: none !important;
  }
  .luc-v7-lane-card ul.products li.product a img {
    width: 100% !important;
    height: 118px !important;
    max-height: 118px !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    border-radius: 16px !important;
    margin: 0 0 6px !important;
  }
  .luc-v7-lane-card ul.products li.product .woocommerce-loop-product__title {
    font-size: .84rem !important;
    line-height: 1.16 !important;
    min-height: 2.32em !important;
    max-height: 2.32em !important;
    margin: 4px 0 2px !important;
    padding: 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .luc-v7-lane-card ul.products li.product .price {
    font-size: .9rem !important;
    line-height: 1.1 !important;
    min-height: 1.1em !important;
    margin: 3px 0 8px !important;
    padding: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .luc-v7-lane-card ul.products li.product .button,
  .luc-v7-lane-card ul.products li.product a.button {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 40px !important;
    margin: auto 0 0 !important;
    padding: 9px 7px !important;
    border-radius: 999px !important;
    font-size: .76rem !important;
    line-height: 1.05 !important;
    white-space: normal !important;
  }
}


/* v25.5.17 requested cleanup: remove mobile header shortcut toolbar and global Browse strip. */
.luc-v10-mobile-toolbar,
.luc-v14-mobile-toolbar,
.luc-category-quicknav {
    display: none !important;
}
