/* Top Lash&Brow WooCommerce Premium UI v1.1.0
   SOLO catalogo/categorie e pagina account. Nessun override header/footer,
   checkout, carrello, schede prodotto, CF7, ALIA o logiche WooCommerce. */
body.tlb-wpu {
  --tlb-wpu-black:#141310;
  --tlb-wpu-gold:#a3945f;
  --tlb-wpu-gold-light:#d1bd85;
  --tlb-wpu-paper:#f8f6f1;
  --tlb-wpu-border:#e8e2d6;
  --tlb-wpu-muted:#776f62;
}
body.tlb-wpu #main { background:var(--tlb-wpu-paper); }
body.tlb-wpu #main :is(button,input,select,textarea,a) { -webkit-tap-highlight-color:transparent; }
body.tlb-wpu #main :is(a,button,input,select,textarea):focus-visible { outline:2px solid var(--tlb-wpu-gold)!important;outline-offset:3px; }

/* =============== SHOP & CATEGORIE =============== */
body.tlb-wpu-catalog #main .shop-page-title,
body.tlb-wpu-catalog #main .page-title.shop-page-title {
  background:linear-gradient(115deg,#11100f 0%,#242119 66%,#12110f 100%);
  color:#f6f2e9;
  border:0;
  padding:clamp(28px,4vw,57px) 0;
  margin:0 0 clamp(28px,3vw,48px);
}
body.tlb-wpu-catalog #main .shop-page-title :is(h1,h2,.page-title-inner,.page-title-inner a),
body.tlb-wpu-catalog #main .shop-page-title .breadcrumbs a {color:#f6f2e9;}
body.tlb-wpu-catalog #main .shop-page-title :is(h1,h2){font-weight:600;letter-spacing:-.025em;line-height:1.2;}
body.tlb-wpu-catalog #main .shop-page-title .breadcrumbs {font-size:12px;letter-spacing:.055em;opacity:.8;}
body.tlb-wpu-catalog #main .shop-page-title .breadcrumbs .divider{color:var(--tlb-wpu-gold-light);}
body.tlb-wpu-catalog #main .shop-page-title .category-filtering a {color:var(--tlb-wpu-gold-light)!important;}
body.tlb-wpu-catalog #main .shop-container {padding-bottom:clamp(35px,5vw,75px);}
body.tlb-wpu-catalog #main .woocommerce-result-count {color:var(--tlb-wpu-muted);font-size:13px;}
body.tlb-wpu-catalog #main :is(.woocommerce-ordering select,select.orderby) {
  background-color:#fff;border:1px solid var(--tlb-wpu-border);border-radius:10px;
  color:var(--tlb-wpu-black);padding:8px 30px 8px 12px;box-shadow:none;
}
/* Native Flatsome product grid: style the cards, never touch visibility, lazy loading or Woo data. */
body.tlb-wpu-catalog #main .products.row,
body.tlb-wpu-catalog #main .products.row-small,
body.tlb-wpu-catalog #main .products.row-large {row-gap:24px;}
body.tlb-wpu-catalog #main .products .product-small,
body.tlb-wpu-catalog #main .products .product-small.col {min-width:0;}
body.tlb-wpu-catalog #main .products .product-small .col-inner {
  background:#fff;border:1px solid var(--tlb-wpu-border);border-radius:16px;
  overflow:hidden;height:100%;box-shadow:0 8px 24px rgba(29,26,20,.045);
  transition:box-shadow .2s ease, transform .2s ease;
}
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  body.tlb-wpu-catalog #main .products .product-small .col-inner:hover {
    transform:translateY(-3px);box-shadow:0 16px 32px rgba(29,26,20,.11);
  }
}
body.tlb-wpu-catalog #main .products .product-small .box-image {
  background:#fff;overflow:hidden;
}
body.tlb-wpu-catalog #main .products .product-small .box-image img {object-fit:contain;}
body.tlb-wpu-catalog #main .products .product-small .box-text {
  padding:16px 16px 19px;
}
body.tlb-wpu-catalog #main .products .product-small .box-text .product-title,
body.tlb-wpu-catalog #main .products .product-small .box-text .name {
  font-size:14px;line-height:1.55;font-weight:600;color:#22201b;
}
body.tlb-wpu-catalog #main .products .product-small .box-text a {color:#22201b;}
body.tlb-wpu-catalog #main .products .product-small .box-text a:hover {color:#7b683f;}
body.tlb-wpu-catalog #main .products .product-small .price {
  font-weight:750;font-size:16px;color:#7e693e;letter-spacing:-.015em;
}
body.tlb-wpu-catalog #main .products .product-small .price del {color:#989188;opacity:.75;font-weight:400;}
body.tlb-wpu-catalog #main .products .product-small .price ins {text-decoration:none;color:#806a40;}
body.tlb-wpu-catalog #main .products .product-small .badge .badge-inner {
  background:#a3945f;color:#111;border-radius:0 0 9px 0;font-weight:700;
}
body.tlb-wpu-catalog #main .products .product-small .button,
body.tlb-wpu-catalog #main .products .product-small .add_to_cart_button {
  background:var(--tlb-wpu-black);border-color:var(--tlb-wpu-black);color:#fff;
  border-radius:8px;box-shadow:none;font-weight:650;
}
body.tlb-wpu-catalog #main .products .product-small .button:hover,
body.tlb-wpu-catalog #main .products .product-small .add_to_cart_button:hover {
  background:#a3945f;border-color:#a3945f;color:#111;
}
/* Sidebar catalog: native widgets and category tree remain functional. */
body.tlb-wpu-catalog #main #shop-sidebar .widget,
body.tlb-wpu-catalog #main .shop-sidebar .widget {
  background:#fff;border:1px solid var(--tlb-wpu-border);border-radius:14px;
  padding:18px;margin-bottom:18px;
}
body.tlb-wpu-catalog #main :is(#shop-sidebar,.shop-sidebar) .widget-title {
  color:var(--tlb-wpu-black);font-size:14px;letter-spacing:.055em;
}
body.tlb-wpu-catalog #main :is(#shop-sidebar,.shop-sidebar) a {color:#403b32;}
body.tlb-wpu-catalog #main :is(#shop-sidebar,.shop-sidebar) a:hover {color:#947d4a;}
body.tlb-wpu-catalog #main .page-numbers a,
body.tlb-wpu-catalog #main .page-numbers span {border-radius:8px;}
body.tlb-wpu-catalog #main .page-numbers .current {background:var(--tlb-wpu-gold)!important;color:#111!important;}

/* =============== IL MIO ACCOUNT =============== */
body.tlb-wpu-account #main .page-wrapper {padding-top:clamp(34px,5vw,70px);padding-bottom:clamp(50px,6vw,95px);}
body.tlb-wpu-account #main .woocommerce {color:#2b2924;}
body.tlb-wpu-account #main .woocommerce > h2,
body.tlb-wpu-account #main .woocommerce .woocommerce-form-login h2,
body.tlb-wpu-account #main .woocommerce .woocommerce-form-register h2,
body.tlb-wpu-account #main .woocommerce-account h2,
body.tlb-wpu-account #main .woocommerce h3 {
  color:#211e19;letter-spacing:-.025em;
}
/* Flatsome renders login/register with a Woo .u-columns row. */
body.tlb-wpu-account #main .woocommerce .u-columns {display:flex;flex-wrap:wrap;gap:24px;}
body.tlb-wpu-account #main .woocommerce .u-columns > .u-column1,
body.tlb-wpu-account #main .woocommerce .u-columns > .u-column2 {
  flex:1 1 300px;min-width:0;float:none;width:auto;margin:0;
  background:#fff;border:1px solid var(--tlb-wpu-border);border-radius:18px;
  padding:clamp(20px,3vw,38px);box-shadow:0 12px 30px rgba(28,25,19,.05);
}
body.tlb-wpu-account #main .woocommerce form.login,
body.tlb-wpu-account #main .woocommerce form.register {
  border:0;padding:0;margin:18px 0 0;background:transparent;box-shadow:none;
}
body.tlb-wpu-account #main .woocommerce form .form-row {margin-bottom:15px;}
body.tlb-wpu-account #main .woocommerce :is(input.input-text,input[type="text"],input[type="email"],input[type="password"],select,textarea) {
  border:1px solid #dcd6c9;border-radius:10px;background:#fff;color:#211f1a;
  min-height:44px;padding:9px 12px;box-shadow:none;
}
body.tlb-wpu-account #main .woocommerce :is(input.input-text,input[type="text"],input[type="email"],input[type="password"],select,textarea):focus {
  border-color:var(--tlb-wpu-gold);box-shadow:0 0 0 3px rgba(163,148,95,.12);
}
body.tlb-wpu-account #main .woocommerce :is(button.button,input.button,a.button,.button) {
  border-radius:9px;background:#171611;border:1px solid #171611;color:#fff;
  font-weight:700;box-shadow:none;text-transform:none;
}
body.tlb-wpu-account #main .woocommerce :is(button.button,input.button,a.button,.button):hover {
  background:#a3945f;border-color:#a3945f;color:#111;
}
body.tlb-wpu-account #main .woocommerce :is(.woocommerce-LostPassword a,.woocommerce-privacy-policy-link) {color:#8c7441;}
body.tlb-wpu-account #main .woocommerce-MyAccount-navigation {
  background:#171611;border-radius:16px;padding:16px;overflow:hidden;
}
body.tlb-wpu-account #main .woocommerce-MyAccount-navigation ul {margin:0;list-style:none;}
body.tlb-wpu-account #main .woocommerce-MyAccount-navigation li {border-bottom:1px solid rgba(255,255,255,.1);margin:0;}
body.tlb-wpu-account #main .woocommerce-MyAccount-navigation li:last-child {border-bottom:0;}
body.tlb-wpu-account #main .woocommerce-MyAccount-navigation a {
  display:block;color:#f6f1e8!important;padding:12px 13px;text-decoration:none;
}
body.tlb-wpu-account #main .woocommerce-MyAccount-navigation .is-active a,
body.tlb-wpu-account #main .woocommerce-MyAccount-navigation a:hover {
  background:rgba(163,148,95,.2);color:#e0c994!important;border-radius:8px;
}
body.tlb-wpu-account #main .woocommerce-MyAccount-content {
  background:#fff;border:1px solid var(--tlb-wpu-border);border-radius:16px;
  padding:clamp(18px,3vw,36px);min-width:0;
}
body.tlb-wpu-account #main .woocommerce .woocommerce-message,
body.tlb-wpu-account #main .woocommerce .woocommerce-info {
  border-top-color:var(--tlb-wpu-gold);background:#fff;color:#39342a;
}

@media (max-width:849px) {
  body.tlb-wpu-catalog #main .products.row {row-gap:16px;}
  body.tlb-wpu-catalog #main .products .product-small .box-text {padding:13px 12px 16px;}
  body.tlb-wpu-catalog #main .products .product-small .box-text .product-title {font-size:13px;}
  body.tlb-wpu-catalog #main .products .product-small .price {font-size:14px;}
  body.tlb-wpu-account #main .woocommerce .u-columns {gap:18px;}
}
@media (max-width:549px) {
  body.tlb-wpu-catalog #main .shop-page-title {padding:25px 0;margin-bottom:20px;}
  body.tlb-wpu-catalog #main .products .product-small .col-inner {border-radius:12px;}
  body.tlb-wpu-catalog #main .products.row {row-gap:12px;}
  body.tlb-wpu-catalog #main .products .product-small .box-text {padding:11px 10px 13px;}
  body.tlb-wpu-catalog #main .products .product-small .box-text .product-title {font-size:12px;line-height:1.45;}
  body.tlb-wpu-catalog #main .products .product-small .price {font-size:13px;}
  body.tlb-wpu-account #main .woocommerce .u-columns {display:block;}
  body.tlb-wpu-account #main .woocommerce .u-columns > .u-column1,
  body.tlb-wpu-account #main .woocommerce .u-columns > .u-column2 {display:block;width:100%;margin:0 0 18px;padding:22px 18px;}
  body.tlb-wpu-account #main .woocommerce-MyAccount-navigation {margin-bottom:18px;}
  body.tlb-wpu-account #main .woocommerce-MyAccount-content {padding:18px;}
}
@media (prefers-reduced-motion:reduce) {
  body.tlb-wpu-catalog #main .products .product-small .col-inner {transition:none;}
}

/* =============== 1.1 | CATEGORIE - MOBILE FIRST =============== */
@media (max-width:849px) {
  /* Keep Woo product-category image geometry, avoid stretching tall portrait cards. */
  body.tlb-wpu-catalog #main .products .product-category .box-image,
  body.tlb-wpu-catalog #main .products .product-category .image-cover {
    aspect-ratio: 1 / 1;
    height: auto;
    max-height: none;
    overflow: hidden;
  }
  body.tlb-wpu-catalog #main .products .product-category .box-image img {
    display:block;
    width:100%;
    height:100%;
    object-fit:contain;
    object-position:center;
  }
  body.tlb-wpu-catalog #main .products .product-category .box-text {
    min-height:0;
    padding:11px 8px 14px;
    text-align:center;
  }
  body.tlb-wpu-catalog #main .products .product-category :is(.header-title,h5) {
    font-size:clamp(11px,2.7vw,13px);
    line-height:1.38;
    overflow-wrap:break-word;
  }
  body.tlb-wpu-account #main .woocommerce-MyAccount-content {
    overflow-wrap:anywhere;
  }
  body.tlb-wpu-account #main .woocommerce-MyAccount-content .button {
    max-width:100%;
    white-space:normal;
  }
}
@media (max-width:549px) {
  body.tlb-wpu-catalog #main .products .product-category .box-image,
  body.tlb-wpu-catalog #main .products .product-category .image-cover {
    aspect-ratio: 1 / 1;
  }
  body.tlb-wpu-account #main .woocommerce-MyAccount-content {padding:20px 16px;}
  body.tlb-wpu-account #main .woocommerce-MyAccount-content :is(.woocommerce-Button,.button) {
    font-size:13px;
    line-height:1.35;
  }
}
