/* Retail Experience Framework — frontend */
body.single-product .product-main{padding-top:35px;padding-bottom:42px}
body.single-product .product-main .product-info{padding:clamp(22px,3vw,32px)!important;border:1px solid var(--ref-border);border-radius:26px;background:linear-gradient(145deg,#fff 0%,var(--ref-light) 100%);box-shadow:0 20px 55px rgba(57,19,46,.09)}
body.single-product .product-info h1.product-title{margin-bottom:14px;color:var(--ref-dark);font-size:clamp(28px,3vw,40px);font-weight:700;line-height:1.12;letter-spacing:-.9px;text-transform:none}
body.single-product .product-info h1.product-title+.is-divider{display:none}
body.single-product .product-info .price-wrapper>.price,body.single-product .product-info>.price{color:var(--ref-primary);font-size:27px;font-weight:750}
.ref-stock{position:relative;display:inline-flex!important;flex-direction:column;align-items:flex-start;gap:3px;padding:9px 14px 9px 30px!important;border-radius:999px;background:#eef9f2;color:#267447!important;line-height:1.15}
.ref-stock:before{content:"";position:absolute;left:14px;top:15px;width:7px;height:7px;border-radius:50%;background:#36a866;box-shadow:0 0 0 4px rgba(54,168,102,.12)}
.ref-stock small{font-size:9px;opacity:.8}
body.single-product .product-info form.cart{display:flex;align-items:stretch;gap:10px;margin:0 0 17px;padding:14px;border:1px solid var(--ref-border);border-radius:19px;background:rgba(255,255,255,.84)}
body.single-product .product-info .quantity{overflow:hidden;flex:0 0 116px;border:1px solid var(--ref-border);border-radius:999px;background:#fff}
body.single-product .product-info .single_add_to_cart_button,.tax-product_cat .product-small .button,.post-type-archive-product .product-small .button,.tax-product_tag .product-small .button{border:0!important;border-radius:999px!important;background:var(--ref-gradient)!important;color:#fff!important;font-weight:750!important;text-transform:none!important;box-shadow:0 12px 25px color-mix(in srgb,var(--ref-primary) 25%,transparent)}
.ref-reassurance{clear:both;margin:0 0 17px;padding:16px;border:1px solid var(--ref-border);border-radius:19px;background:rgba(255,255,255,.8)}
.ref-reassurance h3{display:flex;align-items:center;gap:9px;margin:0 0 13px;color:var(--ref-dark);font-size:13px;text-transform:none}
.ref-reassurance h3 i{display:inline-flex;width:27px;height:27px;align-items:center;justify-content:center;border-radius:9px;background:var(--ref-gradient);color:#fff;font-style:normal}
.ref-reassurance>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.ref-reassurance span{display:flex;min-width:0;flex-direction:column;padding:10px;border-radius:13px;background:var(--ref-light)}
.ref-reassurance b{color:var(--ref-dark);font-size:10.5px}.ref-reassurance small{font-size:8.5px;color:#786874}
.ref-eyebrow{display:inline-flex;margin-bottom:12px;padding:7px 12px;border:1px solid var(--ref-border);border-radius:999px;background:rgba(255,255,255,.85);color:var(--ref-primary);font-size:9.5px;font-weight:750;line-height:1;letter-spacing:1px;text-transform:uppercase}
.ref-highlights{display:grid;grid-template-columns:minmax(260px,.75fr) minmax(0,1.25fr);gap:38px;align-items:center;margin:12px 0 22px;padding:clamp(28px,4.5vw,48px);border:1px solid var(--ref-border);border-radius:28px;background:radial-gradient(circle at 0 0,color-mix(in srgb,var(--ref-primary) 8%,transparent),transparent 38%),linear-gradient(135deg,var(--ref-light),#fff 55%);box-shadow:0 16px 45px rgba(57,19,46,.07)}
.ref-highlights h2,.ref-promise h2,.ref-collection-guide h2{margin:0 0 12px;color:var(--ref-dark);text-transform:none}
.ref-highlights-intro p,.ref-collection-guide p{color:#66525f;line-height:1.65}
.ref-highlight-list{display:grid;gap:9px}.ref-highlight-item{display:grid;grid-template-columns:28px 33px minmax(0,1fr);min-height:58px;align-items:center;gap:9px;padding:10px 14px 10px 10px;border:1px solid var(--ref-border);border-radius:16px;background:#fff}.ref-highlight-item small{font-weight:750;opacity:.5}.ref-highlight-item i{display:inline-flex;width:33px;height:33px;align-items:center;justify-content:center;border-radius:11px;background:var(--ref-gradient);color:#fff;font-style:normal}.ref-highlight-item b{font-size:13px;color:var(--ref-dark)}
.ref-promise{display:grid;grid-template-columns:auto minmax(240px,1fr) minmax(260px,.85fr);gap:22px;align-items:center;margin:0 0 32px;padding:22px 26px;border-radius:22px;background:var(--ref-dark);color:#fff;box-shadow:0 15px 38px color-mix(in srgb,var(--ref-dark) 18%,transparent)}
.ref-promise-mark{display:inline-flex;width:52px;height:52px;align-items:center;justify-content:center;border-radius:17px;background:var(--ref-gradient)}
.ref-promise>div>span{color:var(--ref-accent);font-size:9px;font-weight:750;text-transform:uppercase}.ref-promise h2{color:#fff;font-size:20px}.ref-promise p{margin:0;color:rgba(255,255,255,.75);font-size:12px}.ref-promise ul{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0}.ref-promise li{color:#fff;font-size:10.5px}
.ref-collection-hero{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(280px,.7fr);gap:35px;align-items:center;margin:12px 0 28px;padding:clamp(34px,5.8vw,64px);border:1px solid var(--ref-border);border-radius:30px;background:radial-gradient(circle at 0 0,color-mix(in srgb,var(--ref-primary) 13%,transparent),transparent 40%),linear-gradient(135deg,var(--ref-light),#fff 55%);box-shadow:0 18px 48px rgba(57,19,46,.08)}
.ref-collection-hero h1{margin:0 0 13px;color:var(--ref-dark);font-size:clamp(38px,5.4vw,64px);font-weight:750;line-height:1.02;letter-spacing:-1.6px;text-transform:none}.ref-collection-hero p{max-width:680px;color:#66525f;font-size:15px;line-height:1.65}.ref-collection-hero aside{display:grid;gap:9px}.ref-collection-hero aside span{display:grid;grid-template-columns:80px 1fr;align-items:center;padding:11px 15px;border:1px solid var(--ref-border);border-radius:15px;background:#fff;color:#786874;font-size:11px}.ref-collection-hero aside strong{color:var(--ref-dark)}
.ref-hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.ref-hero-actions b,.ref-hero-actions a{display:inline-flex;min-height:34px;align-items:center;padding:8px 14px;border-radius:999px;font-size:11px;font-weight:700}.ref-hero-actions b{background:var(--ref-gradient);color:#fff}.ref-hero-actions a{border:1px solid var(--ref-border);background:#fff;color:var(--ref-primary)}
.ref-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0 0 25px;padding:11px 13px 11px 18px;border:1px solid var(--ref-border);border-radius:18px;background:#fff;box-shadow:0 8px 25px rgba(57,19,46,.045)}.ref-toolbar .woocommerce-result-count,.ref-toolbar .woocommerce-ordering{margin:0}.ref-toolbar select{min-height:42px;border:1px solid var(--ref-border);border-radius:999px;background:var(--ref-light)}
.tax-product_cat .products.row,.post-type-archive-product .products.row,.tax-product_tag .products.row{row-gap:26px}
.tax-product_cat .product-small .box,.post-type-archive-product .product-small .box,.tax-product_tag .product-small .box{position:relative;height:100%;overflow:hidden;border:1px solid var(--ref-border);border-radius:22px;background:#fff;box-shadow:0 10px 30px rgba(57,19,46,.06);transition:transform .28s ease,box-shadow .28s ease}
.tax-product_cat .product-small .box:hover,.post-type-archive-product .product-small .box:hover,.tax-product_tag .product-small .box:hover{transform:translateY(-5px);box-shadow:0 18px 42px rgba(57,19,46,.12)}
.tax-product_cat .product-small .box-text,.post-type-archive-product .product-small .box-text,.tax-product_tag .product-small .box-text{display:flex;min-height:220px;flex-direction:column;padding:22px 18px 20px}
.tax-product_cat .product-small .name.product-title,.tax-product_cat .product-small .name.product-title a,.post-type-archive-product .product-small .name.product-title,.post-type-archive-product .product-small .name.product-title a,.tax-product_tag .product-small .name.product-title,.tax-product_tag .product-small .name.product-title a{display:-webkit-box!important;min-height:2.76em;overflow:hidden;color:var(--ref-dark)!important;font-size:14px!important;font-weight:650!important;line-height:1.38!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;text-transform:none!important}
.tax-product_cat .product-small .price,.tax-product_cat .product-small .price *,.post-type-archive-product .product-small .price,.post-type-archive-product .product-small .price *,.tax-product_tag .product-small .price,.tax-product_tag .product-small .price *{color:var(--ref-primary)!important;font-size:15px!important;font-weight:750!important}
.tax-product_cat .product-small .add-to-cart-button,.post-type-archive-product .product-small .add-to-cart-button,.tax-product_tag .product-small .add-to-cart-button{margin-top:auto;padding-top:17px}.tax-product_cat .product-small .button,.post-type-archive-product .product-small .button,.tax-product_tag .product-small .button{width:100%;min-height:48px;margin:0}
.ref-card-stock{display:flex;align-items:center;gap:7px;margin-top:12px;color:#387454;font-size:10px;font-weight:650}.ref-card-stock i{width:7px;height:7px;border-radius:50%;background:#3ea66a;box-shadow:0 0 0 3px rgba(62,166,106,.12)}
.ref-card-badges{position:absolute!important;z-index:20;top:10px!important;right:10px!important;left:auto!important;display:flex;max-width:calc(100% - 20px);flex-wrap:wrap;justify-content:flex-end;gap:5px;pointer-events:none}.ref-badge{padding:6px 9px;border-radius:999px;background:var(--ref-gradient);color:#fff;font-size:8px;font-weight:750;text-transform:uppercase;box-shadow:0 7px 15px rgba(57,19,46,.16)}.ref-badge-editors{background:var(--ref-dark)}.ref-badge-staff{background:var(--ref-secondary)}
.tax-product_cat .badge-container,.post-type-archive-product .badge-container,.tax-product_tag .badge-container{display:none!important}
.ref-collection-guide{margin:42px 0 10px;padding:clamp(28px,4.5vw,48px);border:1px solid var(--ref-border);border-radius:28px;background:linear-gradient(135deg,var(--ref-light),#fff 55%)}.ref-collection-guide>div{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.ref-collection-guide>div span{padding:7px 11px;border-radius:999px;background:#fff;color:var(--ref-dark);font-size:9.5px;font-weight:650;box-shadow:0 6px 16px rgba(57,19,46,.06)}
.shop-sidebar .widget_product_categories{padding:19px!important;border:1px solid var(--ref-border);border-radius:19px;background:linear-gradient(145deg,var(--ref-light),#fff);box-shadow:0 9px 26px rgba(57,19,46,.055)}.shop-sidebar .widget_product_categories .widget-title{color:var(--ref-dark);font-size:14px;text-transform:none}.shop-sidebar .widget_product_categories li.current-cat>a,.shop-sidebar .widget_product_categories li.current-cat-parent>a,.shop-sidebar .widget_product_categories li.current-cat-ancestor>a{background:var(--ref-gradient);color:#fff!important;border-radius:10px}
@media(max-width:849px){.ref-highlights,.ref-collection-hero{grid-template-columns:1fr}.ref-promise{grid-template-columns:auto 1fr}.ref-promise ul{grid-column:1/-1}}
@media(max-width:549px){body.single-product .product-main{padding-top:17px}body.single-product .product-main .product-info{padding:19px 15px!important;border-radius:19px}body.single-product .product-info form.cart{gap:7px;padding:9px}.ref-reassurance>div{gap:6px}.ref-reassurance span{min-height:82px;justify-content:center;text-align:center}.ref-highlights{padding:24px 15px;border-radius:20px}.ref-highlights-intro{text-align:center}.ref-highlight-item{grid-template-columns:25px 31px minmax(0,1fr);padding:9px 10px 9px 7px}.ref-highlight-item b{font-size:11.5px}.ref-promise{display:block;padding:20px 17px;text-align:center}.ref-promise-mark{margin:0 auto 12px}.ref-collection-hero{padding:25px 17px;border-radius:21px;text-align:center}.ref-hero-actions{justify-content:center}.ref-collection-hero aside span{grid-template-columns:75px 1fr;text-align:left}.ref-toolbar{align-items:stretch;flex-direction:column}.ref-toolbar .woocommerce-ordering,.ref-toolbar select{width:100%}.tax-product_cat .product-small .box-text,.post-type-archive-product .product-small .box-text,.tax-product_tag .product-small .box-text{min-height:188px;padding:13px 11px}.tax-product_cat .product-small .name.product-title,.tax-product_cat .product-small .name.product-title a,.post-type-archive-product .product-small .name.product-title,.post-type-archive-product .product-small .name.product-title a{font-size:12px!important}.ref-card-badges{top:7px!important;right:7px!important}.ref-badge{padding:5px 7px;font-size:7px}}


/* Branded WooCommerce tabs */
body.single-product .woocommerce-tabs{margin-top:0;padding:0}
body.single-product .woocommerce-tabs ul.tabs{
  display:flex;flex-wrap:wrap;gap:8px;margin:0 0 20px!important;padding:8px!important;
  border:1px solid var(--ref-border)!important;border-radius:18px;background:var(--ref-light)
}
body.single-product .woocommerce-tabs ul.tabs:before,
body.single-product .woocommerce-tabs ul.tabs li:before,
body.single-product .woocommerce-tabs ul.tabs li:after{display:none!important}
body.single-product .woocommerce-tabs ul.tabs li{
  margin:0!important;padding:0!important;border:0!important;border-radius:12px!important;background:transparent!important
}
body.single-product .woocommerce-tabs ul.tabs li a{
  display:inline-flex;min-height:40px;align-items:center;margin:0!important;padding:9px 16px!important;
  border-radius:12px;color:#745d6e!important;font-size:12px;font-weight:700;text-transform:none
}
body.single-product .woocommerce-tabs ul.tabs li.active a,
body.single-product .woocommerce-tabs ul.tabs li a:hover{
  background:var(--ref-gradient);color:#fff!important;box-shadow:0 7px 17px color-mix(in srgb,var(--ref-primary) 20%,transparent)
}
body.single-product .woocommerce-tabs .panel{
  margin-bottom:42px!important;padding:clamp(23px,4vw,39px)!important;border:1px solid var(--ref-border);
  border-radius:24px;background:#fff;color:#66525f;box-shadow:0 12px 36px rgba(57,19,46,.055)
}
body.single-product .woocommerce-tabs .panel h2,
body.single-product .woocommerce-tabs .panel h3{color:var(--ref-dark);text-transform:none}
body.single-product .woocommerce-tabs .panel li::marker{color:var(--ref-primary)}

/* Curated cross-sells */
.ref-cross-sells{margin:0 0 36px;padding:26px;border:1px solid var(--ref-border);border-radius:24px;background:linear-gradient(135deg,var(--ref-light),#fff)}
.ref-cross-sell-heading{margin-bottom:18px}.ref-cross-sell-heading h2{margin:0;color:var(--ref-dark);font-size:25px;text-transform:none}
.ref-cross-sell-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.ref-cross-sell-card{display:flex;min-width:0;flex-direction:column;padding:12px;border-radius:16px;background:#fff;color:var(--ref-dark);text-decoration:none;box-shadow:0 8px 22px rgba(57,19,46,.055)}
.ref-cross-sell-card>span{overflow:hidden;margin-bottom:10px;border-radius:12px;background:var(--ref-light)}
.ref-cross-sell-card img{width:100%;aspect-ratio:1/1;object-fit:contain}
.ref-cross-sell-card b{display:-webkit-box;overflow:hidden;font-size:12px;line-height:1.35;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.ref-cross-sell-card small{margin-top:7px;color:var(--ref-primary);font-size:12px;font-weight:750}
@media(max-width:849px){.ref-cross-sell-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:549px){
 body.single-product .woocommerce-tabs ul.tabs{gap:5px;padding:6px!important}
 body.single-product .woocommerce-tabs ul.tabs li{flex:1 1 auto}
 body.single-product .woocommerce-tabs ul.tabs li a{justify-content:center;padding:8px 10px!important;font-size:10.5px;text-align:center}
 body.single-product .woocommerce-tabs .panel{padding:21px 17px!important;border-radius:19px;font-size:13px}
 .ref-cross-sells{padding:20px 14px}.ref-cross-sell-grid{gap:8px}
}


/* Experience Builder homepage */
.ref-homepage-builder{display:grid;gap:28px}
.ref-home-hero{display:flex;min-height:430px;align-items:center;padding:clamp(34px,7vw,78px);border-radius:30px;background:radial-gradient(circle at 0 0,color-mix(in srgb,var(--ref-primary) 18%,transparent),transparent 45%),linear-gradient(135deg,var(--ref-light),#fff);box-shadow:0 20px 55px rgba(57,19,46,.09)}
.ref-home-hero>div{max-width:680px}.ref-home-hero h1{margin:0 0 15px;color:var(--ref-dark);font-size:clamp(40px,6vw,72px);line-height:1.02;text-transform:none}.ref-home-hero p{font-size:16px;line-height:1.7;color:#66525f}.ref-home-hero a{display:inline-flex;margin-top:10px;padding:14px 24px;border-radius:999px;background:var(--ref-gradient);color:#fff;font-weight:750;text-decoration:none}
.ref-home-section{padding:clamp(25px,4vw,42px);border:1px solid var(--ref-border);border-radius:26px;background:#fff}.ref-home-section header{margin-bottom:20px}.ref-home-section h2,.ref-home-newsletter h2{margin:0;color:var(--ref-dark);text-transform:none}
.ref-home-category-grid,.ref-home-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.ref-home-category-grid a,.ref-home-product-grid a{display:flex;min-width:0;flex-direction:column;padding:12px;border-radius:18px;background:var(--ref-light);color:var(--ref-dark);text-decoration:none}.ref-home-category-grid span,.ref-home-product-grid span{overflow:hidden;margin-bottom:10px;border-radius:14px;background:#fff}.ref-home-category-grid img,.ref-home-product-grid img{width:100%;aspect-ratio:1/1;object-fit:contain}.ref-home-category-grid b,.ref-home-product-grid b{font-size:13px}.ref-home-category-grid small,.ref-home-product-grid small{margin-top:5px;color:var(--ref-primary);font-weight:700}
.ref-home-trust{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:22px;border-radius:24px;background:var(--ref-dark)}.ref-home-trust span{display:flex;flex-direction:column;padding:14px;border-radius:14px;background:rgba(255,255,255,.08)}.ref-home-trust b{color:#fff;font-size:12px}.ref-home-trust small{color:rgba(255,255,255,.7);font-size:10px}
.ref-home-newsletter{padding:clamp(28px,5vw,52px);border-radius:26px;background:linear-gradient(135deg,var(--ref-light),#fff);text-align:center}
@media(max-width:849px){.ref-home-category-grid,.ref-home-product-grid,.ref-home-trust{grid-template-columns:repeat(2,1fr)}}
@media(max-width:549px){.ref-home-hero{min-height:360px;padding:28px 18px;text-align:center}.ref-home-category-grid,.ref-home-product-grid{grid-template-columns:repeat(2,1fr);gap:8px}.ref-home-trust{grid-template-columns:1fr 1fr;padding:14px}}


/* =========================================================
   CART AND CHECKOUT — CANONICAL v2.1.4
   ========================================================= */

.ref-commerce-header{
  margin:10px 0 26px;padding:clamp(25px,4vw,42px);border:1px solid var(--ref-border);
  border-radius:26px;background:linear-gradient(135deg,var(--ref-light),#fff);
  box-shadow:0 14px 38px rgba(57,19,46,.07)
}
.ref-commerce-header h1{margin:0 0 10px;color:var(--ref-dark);font-size:clamp(32px,4.5vw,50px);text-transform:none}
.ref-commerce-header p{max-width:700px;margin:0;color:#66525f;line-height:1.65}

.ref-checkout-progress{
  display:grid;grid-template-columns:repeat(3,1fr);margin:0 0 25px;padding:10px;
  border:1px solid var(--ref-border);border-radius:18px;background:#fff
}
.ref-checkout-progress>a,.ref-checkout-progress>span{
  display:flex;align-items:center;justify-content:center;gap:9px;min-height:46px;
  border-radius:13px;color:#806b79;font-size:11px;font-weight:700;text-decoration:none
}
.ref-checkout-progress b{
  display:inline-flex;width:25px;height:25px;align-items:center;justify-content:center;
  border-radius:50%;background:var(--ref-light);color:var(--ref-primary)
}
.ref-checkout-progress .active{background:var(--ref-gradient);color:#fff}
.ref-checkout-progress .active b{background:rgba(255,255,255,.18);color:#fff}

.ref-cart-active .woocommerce-cart-form{
  overflow:hidden;padding:18px;border:1px solid var(--ref-border);border-radius:22px;
  background:#fff;box-shadow:0 10px 30px rgba(57,19,46,.055)
}
.ref-cart-active table.shop_table{margin:0;border:0;background:transparent}
.ref-cart-active table.shop_table th{
  padding:12px;border-bottom:1px solid var(--ref-border);color:var(--ref-dark);
  font-size:10px;letter-spacing:.6px;text-transform:uppercase
}
.ref-cart-active table.shop_table td{padding:16px 12px;border-bottom:1px solid var(--ref-border)}
.ref-cart-active .product-thumbnail img{border-radius:13px;background:var(--ref-light)}
.ref-cart-active .cart_totals{
  padding:22px;border:1px solid var(--ref-border);border-radius:22px;
  background:linear-gradient(145deg,var(--ref-light),#fff)
}
.ref-cart-active button.button,.ref-cart-active a.button,.ref-checkout-active #place_order{
  min-height:46px;border:0!important;border-radius:999px!important;
  background:var(--ref-gradient)!important;color:#fff!important;font-weight:750!important;text-transform:none!important
}
.ref-cart-trust{
  display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:18px 0;padding:14px;
  border-radius:20px;background:var(--ref-dark)
}
.ref-cart-trust span{display:flex;flex-direction:column;padding:12px;border-radius:13px;background:rgba(255,255,255,.08)}
.ref-cart-trust b{color:#fff;font-size:10.5px}.ref-cart-trust small{color:rgba(255,255,255,.68);font-size:8.5px}

/*
 * Classic Flatsome/WooCommerce checkout. Preserve native markup;
 * only establish reliable widths and visual styling.
 */
body.ref-checkout-active form.checkout{
  display:block!important;width:100%!important;max-width:1180px!important;
  margin-right:auto!important;margin-left:auto!important
}
body.ref-checkout-active form.checkout::after{display:table;clear:both;content:""}

@media(min-width:900px){
  body.ref-checkout-active form.checkout>#customer_details{
    width:57%!important;max-width:57%!important;margin:0!important;padding-right:14px!important;
    float:left!important;display:block!important
  }
  body.ref-checkout-active form.checkout>#order_review_heading,
  body.ref-checkout-active form.checkout>#order_review{
    width:41%!important;max-width:41%!important;margin:0!important;padding-left:14px!important;
    float:right!important;clear:right!important;display:block!important;position:static!important
  }
}

body.ref-checkout-active #customer_details{
  padding:24px;border:1px solid var(--ref-border);border-radius:22px;background:#fff;
  box-shadow:0 10px 30px rgba(57,19,46,.055)
}
body.ref-checkout-active #customer_details .col-1,
body.ref-checkout-active #customer_details .col-2{
  width:100%!important;max-width:100%!important;margin:0!important;float:none!important
}
body.ref-checkout-active #order_review_heading{
  padding:21px 22px 0;border:1px solid var(--ref-border);border-bottom:0;
  border-radius:22px 22px 0 0;background:linear-gradient(145deg,var(--ref-light),#fff);
  color:var(--ref-dark);font-size:22px;text-transform:none
}
body.ref-checkout-active #order_review{
  padding:14px 22px 22px;border:1px solid var(--ref-border);border-top:0;
  border-radius:0 0 22px 22px;background:linear-gradient(145deg,var(--ref-light),#fff)
}
body.ref-checkout-active input.input-text,
body.ref-checkout-active select,
body.ref-checkout-active textarea{
  width:100%;min-height:48px;padding:10px 14px;border:1px solid var(--ref-border)!important;
  border-radius:12px!important;background:#fff!important;box-shadow:none!important
}
body.ref-checkout-active #payment,
body.ref-checkout-active #payment ul.payment_methods,
body.ref-checkout-active #payment li,
body.ref-checkout-active #payment .payment_box,
body.ref-checkout-active #payment .wc-payment-form,
body.ref-checkout-active #payment .form-row,
body.ref-checkout-active #payment iframe,
body.ref-checkout-active #payment .StripeElement,
body.ref-checkout-active #payment .wc-stripe-elements-field{
  box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important
}
body.ref-checkout-active #payment .form-row{
  display:block!important;margin-right:0!important;margin-left:0!important;float:none!important;clear:both!important
}
.ref-checkout-reassurance{
  margin:0 0 14px;padding:13px 15px;border:1px solid var(--ref-border);
  border-radius:14px;background:#fff
}
.ref-empty-cart-intro,.ref-thankyou-header{
  max-width:760px;margin:20px auto;padding:42px 25px;border:1px solid var(--ref-border);
  border-radius:26px;background:linear-gradient(135deg,var(--ref-light),#fff);text-align:center
}

@media(max-width:899px){
  body.ref-checkout-active form.checkout>#customer_details,
  body.ref-checkout-active form.checkout>#order_review_heading,
  body.ref-checkout-active form.checkout>#order_review{
    width:100%!important;max-width:100%!important;margin:0!important;padding-right:0!important;
    padding-left:0!important;float:none!important;clear:both!important
  }
  body.ref-checkout-active form.checkout>#order_review_heading{margin-top:24px!important}
  .ref-cart-trust{grid-template-columns:repeat(2,1fr)}
}


/* v2.2 portability */
body:not(.theme-flatsome) .ref-collection-hero,
body:not(.theme-flatsome) .ref-commerce-header{
  contain:layout paint
}


.ref-hero-hook-test{
  margin:0 0 12px;padding:9px 13px;border:2px dashed #d99a24;border-radius:10px;
  background:#fffaf0;color:#5a4312;font-size:12px;font-weight:700;text-align:center
}


/* =========================================================
   COLLECTION RECOVERY — v3.2.3
   ========================================================= */

.ref-collection-hero-recovered{
  width:100%;
  max-width:none;
  margin:18px 0 26px;
  clear:both;
}

.ref-collection-hero-recovered + .ref-toolbar{
  display:none!important;
}

/*
 * v3.2.3 leaves Flatsome's native toolbar untouched.
 * Hide any legacy framework toolbar that may remain cached.
 */
body.tax-product_cat .ref-toolbar,
body.post-type-archive-product .ref-toolbar{
  display:none!important;
}

/* Remove the temporary hook testing badge unconditionally. */
.ref-hero-hook-test{
  display:none!important;
}

/* Keep nested category navigation compact. */
.widget_product_categories .product-categories ul{
  margin-left:12px;
}

.widget_product_categories .product-categories > li{
  margin-bottom:4px;
}

@media(max-width:849px){
  .ref-collection-hero-recovered{
    margin-top:12px;
  }
}


/* =========================================================
   CATEGORY FINALISATION — v3.4.2
   ========================================================= */

/*
 * Flatsome owns the single native archive toolbar.
 * Any framework or stale duplicate toolbar remains hidden.
 */
body.tax-product_cat .ref-toolbar,
body.post-type-archive-product .ref-toolbar,
body.tax-product_tag .ref-toolbar{
  display:none!important;
}

/* Hero spans the normal content width before the archive row. */
body.tax-product_cat .ref-collection-hero,
body.post-type-archive-product .ref-collection-hero,
body.tax-product_tag .ref-collection-hero{
  width:100%;
  margin:18px 0 24px;
  clear:both;
}

/*
 * Keep branch navigation deliberately compact. Deep nested lists
 * are hidden even if a cached widget instance ignores PHP args.
 */
.widget_product_categories .product-categories ul ul{
  display:none!important;
}

.widget_product_categories .product-categories{
  max-height:560px;
  overflow:auto;
  padding-right:4px;
}

.widget_product_categories .product-categories > li{
  margin-bottom:5px;
}

/* Prevent empty category widgets from leaving a blank panel. */
.widget_product_categories:has(.product-categories:empty){
  display:none!important;
}

@media(max-width:849px){
  body.tax-product_cat .ref-collection-hero,
  body.post-type-archive-product .ref-collection-hero,
  body.tax-product_tag .ref-collection-hero{
    margin-top:12px;
  }

  .widget_product_categories .product-categories{
    max-height:none;
  }
}


/* =========================================================
   LOVE VIBZ DESIGN LOCK — v4.2.0
   One visual system across every customer-facing page.
   ========================================================= */

:root{
  --lv-pink:#315b7c;
  --lv-purple:#6f8799;
  --lv-ink:#17233c;
  --lv-soft:#f7f9fb;
  --lv-blush:#ffe7f1;
  --lv-accent:#9fb4c4;
  --lv-border:#f0d9e4;
  --lv-muted:#715c68;
  --lv-shadow:0 16px 42px color-mix(in srgb,var(--lv-ink) 9%,transparent);
  --lv-gradient:linear-gradient(135deg,#315b7c 0%,#6f8799 100%);
}

/* Global consistency */
body{
  color:var(--lv-ink);
}

.button,
button,
input[type="submit"],
.single_add_to_cart_button{
  border-radius:999px!important;
}

.button.primary,
button.primary,
input[type="submit"],
.single_add_to_cart_button,
.checkout-button,
#place_order{
  border:0!important;
  background:var(--lv-gradient)!important;
  color:#fff!important;
  box-shadow:0 10px 24px rgba(233,30,99,.22)!important;
  text-transform:none!important;
}

.button.primary:hover,
button.primary:hover,
input[type="submit"]:hover,
.single_add_to_cart_button:hover,
.checkout-button:hover,
#place_order:hover{
  transform:translateY(-1px);
  box-shadow:0 14px 30px color-mix(in srgb,var(--lv-purple) 25%,transparent)!important;
}

/* Header and navigation */
.header-wrapper,
#header{
  background:#fff;
}

.header-top{
  background:var(--lv-ink)!important;
  color:#fff!important;
}

.header-top a,
.header-top span{
  color:#fff!important;
}

.header-main{
  border-bottom:1px solid var(--lv-border);
  box-shadow:0 6px 22px color-mix(in srgb,var(--lv-ink) 5%,transparent);
}

.header-nav-main>li>a{
  color:var(--lv-ink)!important;
  font-weight:700;
}

.header-nav-main>li>a:hover,
.header-nav-main>li.active>a{
  color:var(--lv-pink)!important;
}

.nav-dropdown{
  border:1px solid var(--lv-border)!important;
  border-radius:16px!important;
  box-shadow:var(--lv-shadow)!important;
}

/* Homepage */
.home .section-title-main,
.home h2,
.home h3{
  color:var(--lv-ink);
}

.home .section-title-container{
  margin-bottom:20px;
}

.home .section-title-main{
  border:0!important;
  font-size:clamp(24px,3vw,34px);
  letter-spacing:-.4px;
  text-transform:none!important;
}

.lv-home-categories .lv-card,
.home .box{
  border:1px solid var(--lv-border);
  border-radius:22px;
  box-shadow:0 10px 28px color-mix(in srgb,var(--lv-ink) 6%,transparent);
}

.lv-home-categories .lv-card:hover,
.home .product-small .box:hover{
  transform:translateY(-4px);
  box-shadow:var(--lv-shadow);
}

.lv-home-categories .lv-overlay{
  background:linear-gradient(180deg,transparent 12%,rgba(48,19,38,.92) 100%);
}

.home .product-small .box{
  overflow:hidden;
  background:#fff;
}

.home .product-small .box-text{
  padding:18px 15px 17px;
}

.home .product-small .name.product-title a{
  color:var(--lv-ink)!important;
  font-weight:700;
}

.home .product-small .price,
.home .product-small .price *{
  color:var(--lv-pink)!important;
  font-weight:800!important;
}

/* Product page */
body.single-product .product-main .product-info{
  border-color:var(--lv-border);
  background:linear-gradient(145deg,#fff 0%,var(--lv-soft) 100%);
  box-shadow:var(--lv-shadow);
}

body.single-product .product-info h1.product-title{
  color:var(--lv-ink);
}

body.single-product .product-info .price,
body.single-product .product-info .price *{
  color:var(--lv-pink)!important;
}

.ref-reassurance,
.ref-highlights,
.ref-cross-sells{
  border-color:var(--lv-border);
}

.ref-highlights{
  background:
    radial-gradient(circle at 0 0,rgba(233,30,99,.08),transparent 38%),
    linear-gradient(135deg,var(--lv-soft),#fff 55%);
}

.ref-highlight-item{
  border-color:var(--lv-border);
  box-shadow:0 5px 14px color-mix(in srgb,var(--lv-ink) 3.5%,transparent);
}

.ref-promise{
  background:linear-gradient(135deg,var(--lv-dark,var(--lv-ink)),color-mix(in srgb,var(--lv-purple) 48%,var(--lv-ink)));
}

.ref-promise-mark,
.ref-highlight-item i,
.ref-reassurance h3 i{
  background:var(--lv-gradient);
}

body.single-product .woocommerce-tabs ul.tabs{
  border:1px solid var(--lv-border)!important;
  background:var(--lv-soft)!important;
}

body.single-product .woocommerce-tabs ul.tabs li.active a{
  background:var(--lv-gradient)!important;
  color:#fff!important;
}

body.single-product .woocommerce-tabs .panel{
  border-color:var(--lv-border)!important;
  box-shadow:0 8px 25px color-mix(in srgb,var(--lv-ink) 4.5%,transparent);
}

/* Related and cross-sell cards */
body.single-product .related.products .product-small .box,
.ref-cross-sell-card{
  border:1px solid var(--lv-border);
  border-radius:18px;
  box-shadow:0 8px 22px color-mix(in srgb,var(--lv-ink) 5.5%,transparent);
}

body.single-product .related.products .product-small .price,
body.single-product .related.products .product-small .price *,
.ref-cross-sell-card small{
  color:var(--lv-pink)!important;
}

/* Category and shop pages */
body.tax-product_cat .shop-container,
body.post-type-archive-product .shop-container{
  padding-top:24px;
}

.ref-collection-hero{
  border-color:var(--lv-border);
  background:
    radial-gradient(circle at 0 0,rgba(233,30,99,.12),transparent 40%),
    linear-gradient(135deg,var(--lv-soft),#fff 58%);
  box-shadow:var(--lv-shadow);
}

.ref-collection-hero h1,
.ref-collection-guide h2{
  color:var(--lv-ink);
}

.ref-toolbar{
  border-color:var(--lv-border);
}

.widget_product_categories,
.widget_price_filter{
  padding:18px;
  border:1px solid var(--lv-border);
  border-radius:18px;
  background:#fff;
  box-shadow:0 8px 24px color-mix(in srgb,var(--lv-ink) 4.5%,transparent);
}

.widget_product_categories .widget-title,
.widget_price_filter .widget-title{
  color:var(--lv-ink);
  font-size:15px;
  text-transform:none;
}

.widget_product_categories a{
  color:var(--lv-muted);
}

.widget_product_categories .current-cat>a,
.widget_product_categories a:hover{
  color:var(--lv-pink)!important;
  font-weight:700;
}

.tax-product_cat .product-small .box,
.post-type-archive-product .product-small .box,
.tax-product_tag .product-small .box{
  border-color:var(--lv-border);
  box-shadow:0 10px 28px color-mix(in srgb,var(--lv-ink) 5.5%,transparent);
}

.tax-product_cat .product-small .box:hover,
.post-type-archive-product .product-small .box:hover,
.tax-product_tag .product-small .box:hover{
  box-shadow:var(--lv-shadow);
}

.tax-product_cat .product-small .price,
.tax-product_cat .product-small .price *,
.post-type-archive-product .product-small .price,
.post-type-archive-product .product-small .price *,
.tax-product_tag .product-small .price,
.tax-product_tag .product-small .price *{
  color:var(--lv-pink)!important;
}

/* Cart and checkout */
.ref-commerce-header,
.ref-cart-active .cart_totals,
body.ref-checkout-active #order_review_heading,
body.ref-checkout-active #order_review{
  border-color:var(--lv-border);
  background:linear-gradient(145deg,var(--lv-soft),#fff);
}

.ref-checkout-progress,
.ref-cart-active .woocommerce-cart-form,
body.ref-checkout-active #customer_details{
  border-color:var(--lv-border);
  box-shadow:0 10px 28px color-mix(in srgb,var(--lv-ink) 5.5%,transparent);
}

.ref-checkout-progress .active{
  background:var(--lv-gradient);
}

.ref-cart-trust{
  background:linear-gradient(135deg,var(--lv-dark,var(--lv-ink)),color-mix(in srgb,var(--lv-purple) 48%,var(--lv-ink)));
}

body.ref-checkout-active input.input-text:focus,
body.ref-checkout-active select:focus,
body.ref-checkout-active textarea:focus{
  border-color:var(--lv-pink)!important;
  box-shadow:0 0 0 3px rgba(233,30,99,.1)!important;
}

/* Empty cart */
.ref-empty-cart{
  border:1px solid var(--lv-border);
  border-radius:26px;
  background:
    radial-gradient(circle at 50% 0,rgba(233,30,99,.1),transparent 42%),
    linear-gradient(145deg,var(--lv-soft),#fff);
  box-shadow:var(--lv-shadow);
}

/* Footer */
#footer,
.footer-wrapper{
  background:var(--lv-ink)!important;
  color:rgba(255,255,255,.8)!important;
}

#footer h3,
#footer h4,
#footer .widget-title,
.footer-wrapper h3,
.footer-wrapper h4{
  color:#fff!important;
}

#footer a,
.footer-wrapper a{
  color:rgba(255,255,255,.76)!important;
}

#footer a:hover,
.footer-wrapper a:hover{
  color:var(--lv-accent)!important;
}

/* Focus and accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible{
  outline:3px solid rgba(233,30,99,.35)!important;
  outline-offset:2px;
}

/* Mobile refinement */
@media(max-width:849px){
  body.single-product .product-main{
    padding-top:18px;
  }

  body.single-product .product-main .product-info,
  .ref-highlights,
  .ref-collection-hero,
  .ref-commerce-header{
    border-radius:20px;
  }

  .ref-collection-hero{
    grid-template-columns:1fr;
    padding:28px 20px;
  }

  .widget_product_categories,
  .widget_price_filter{
    padding:14px;
  }
}

@media(max-width:549px){
  .ref-highlights{
    padding:22px 15px;
  }

  .ref-promise{
    border-radius:18px;
  }

  .home .product-small .box-text{
    padding:14px 11px;
  }
}


/* =========================================================
   CART RECOVERY — v4.2.2
   =========================================================
   Preserve Flatsome's native cart grid. No forced floats,
   widths or custom table-to-grid conversions.
*/

body.ref-cart-active .woocommerce,
body.ref-checkout-active .woocommerce{
  width:min(1120px,calc(100% - 36px));
  max-width:1120px;
  margin-right:auto;
  margin-left:auto;
}

/* Keep the native Flatsome row/columns intact */
body.ref-cart-active .woocommerce-cart-form,
body.ref-cart-active .cart-collaterals,
body.ref-cart-active .cart_totals,
body.ref-checkout-active #customer_details,
body.ref-checkout-active #order_review,
body.ref-checkout-active #order_review_heading{
  float:none!important;
  max-width:none!important;
}

/* Cart header */
body.ref-cart-active .ref-commerce-header{
  width:100%;
  margin:0 0 24px;
  padding:34px 36px;
  border:1px solid var(--lv-border);
  border-radius:24px;
  background:
    radial-gradient(circle at 0 0,rgba(233,30,99,.09),transparent 40%),
    linear-gradient(145deg,var(--lv-soft),#fff);
  box-shadow:var(--lv-shadow);
}

body.ref-cart-active .ref-commerce-header h1,
body.ref-cart-active .ref-commerce-header h2{
  margin:0 0 10px;
  color:var(--lv-ink);
  font-size:clamp(34px,4vw,48px);
  line-height:1.05;
  letter-spacing:-1px;
}

body.ref-cart-active .ref-commerce-header p{
  max-width:700px;
  margin:0;
  color:var(--lv-muted);
  font-size:15px;
  line-height:1.65;
}

/* Native cart table enhancement */
body.ref-cart-active .woocommerce-cart-form{
  padding:18px;
  border:1px solid var(--lv-border);
  border-radius:22px;
  background:#fff;
  box-shadow:0 10px 28px color-mix(in srgb,var(--lv-ink) 5.5%,transparent);
}

body.ref-cart-active table.shop_table{
  width:100%!important;
  margin:0!important;
  border:0!important;
  table-layout:auto!important;
}

body.ref-cart-active table.shop_table th{
  padding:12px 10px!important;
  color:#715c68;
  font-size:10px;
  letter-spacing:.07em;
  text-transform:uppercase;
}

body.ref-cart-active table.shop_table td{
  padding:16px 10px!important;
  border-color:var(--lv-border)!important;
  vertical-align:middle!important;
}

body.ref-cart-active td.product-thumbnail{
  width:90px;
}

body.ref-cart-active td.product-thumbnail img{
  width:72px!important;
  max-width:72px!important;
  height:72px!important;
  object-fit:contain;
  border:1px solid var(--lv-border);
  border-radius:12px;
  background:#fff;
}

body.ref-cart-active td.product-name{
  min-width:190px;
}

body.ref-cart-active td.product-name a{
  color:var(--lv-ink)!important;
  font-size:14px;
  font-weight:800;
  line-height:1.4;
}

body.ref-cart-active td.product-price,
body.ref-cart-active td.product-subtotal,
body.ref-cart-active td.product-price *,
body.ref-cart-active td.product-subtotal *{
  color:var(--lv-pink)!important;
  font-weight:800!important;
}

body.ref-cart-active td.product-remove a{
  color:#9b7f8d!important;
}

body.ref-cart-active td.product-remove a:hover{
  color:var(--lv-pink)!important;
}

/* Quantity */
body.ref-cart-active .quantity{
  display:inline-flex;
  align-items:center;
  border:1px solid var(--lv-border);
  border-radius:999px;
  background:#fff;
}

body.ref-cart-active .quantity .minus,
body.ref-cart-active .quantity .plus,
body.ref-cart-active .quantity .qty{
  height:36px!important;
  border:0!important;
  background:#fff!important;
  box-shadow:none!important;
}

body.ref-cart-active .quantity .qty{
  width:38px!important;
  min-width:38px!important;
  text-align:center;
}

/* Cart actions */
body.ref-cart-active td.actions{
  padding-top:18px!important;
}

body.ref-cart-active td.actions .button{
  min-height:42px;
  padding-right:22px!important;
  padding-left:22px!important;
  font-weight:800;
}

/* Trust strip */
body.ref-cart-active .ref-cart-trust{
  margin:22px 0;
  padding:16px;
  border-radius:20px;
  background:linear-gradient(135deg,var(--lv-dark,var(--lv-ink)),color-mix(in srgb,var(--lv-purple) 48%,var(--lv-ink)));
  box-shadow:0 12px 28px color-mix(in srgb,var(--lv-ink) 12%,transparent);
}

body.ref-cart-active .ref-cart-trust-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
}

body.ref-cart-active .ref-cart-trust-grid>*{
  min-width:0;
  padding:13px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:12px;
  background:rgba(255,255,255,.05);
}

body.ref-cart-active .ref-cart-trust strong{
  display:block;
  margin-bottom:4px;
  color:#fff;
  font-size:11px;
}

body.ref-cart-active .ref-cart-trust span,
body.ref-cart-active .ref-cart-trust small{
  color:rgba(255,255,255,.72);
  font-size:9px;
  line-height:1.45;
}

/* Basket totals: enhance, don't reposition */
body.ref-cart-active .cart_totals{
  width:100%!important;
  padding:24px!important;
  border:1px solid var(--lv-border)!important;
  border-radius:22px!important;
  background:linear-gradient(145deg,var(--lv-soft),#fff)!important;
  box-shadow:var(--lv-shadow)!important;
}

body.ref-cart-active .cart_totals h2{
  margin-bottom:16px;
  color:var(--lv-ink);
  font-size:22px;
  text-transform:none;
}

body.ref-cart-active .cart_totals th,
body.ref-cart-active .cart_totals td{
  padding:12px 0!important;
  border-color:var(--lv-border)!important;
}

body.ref-cart-active .cart_totals .order-total .amount{
  color:var(--lv-pink)!important;
  font-size:20px!important;
}

body.ref-cart-active .wc-proceed-to-checkout{
  display:grid;
  gap:9px;
}

body.ref-cart-active .wc-proceed-to-checkout a,
body.ref-cart-active .wc-proceed-to-checkout button{
  min-height:46px!important;
  margin:0!important;
  font-weight:800!important;
}

/* Checkout: only spacing and card treatment */
body.ref-checkout-active #customer_details,
body.ref-checkout-active #order_review,
body.ref-checkout-active #order_review_heading{
  border-color:var(--lv-border)!important;
}

body.ref-checkout-active #customer_details{
  padding:24px!important;
  border:1px solid var(--lv-border);
  border-radius:22px;
  background:#fff;
}

body.ref-checkout-active #order_review_heading{
  margin-bottom:0!important;
  padding:22px 24px 10px!important;
  border:1px solid var(--lv-border)!important;
  border-bottom:0!important;
  border-radius:22px 22px 0 0!important;
  background:linear-gradient(145deg,var(--lv-soft),#fff)!important;
}

body.ref-checkout-active #order_review{
  padding:10px 24px 24px!important;
  border:1px solid var(--lv-border)!important;
  border-top:0!important;
  border-radius:0 0 22px 22px!important;
  background:linear-gradient(145deg,var(--lv-soft),#fff)!important;
  box-shadow:var(--lv-shadow);
}

body.ref-checkout-active input.input-text,
body.ref-checkout-active select,
body.ref-checkout-active textarea{
  min-height:46px!important;
  border:1px solid var(--lv-border)!important;
  border-radius:12px!important;
  background:#fff!important;
}

/* Tablet/mobile */
@media(max-width:849px){
  body.ref-cart-active .woocommerce,
  body.ref-checkout-active .woocommerce{
    width:min(100% - 24px,1120px);
  }

  body.ref-cart-active .ref-commerce-header{
    padding:26px 20px;
  }

  body.ref-cart-active .ref-cart-trust-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  body.ref-cart-active td.product-thumbnail{
    width:74px;
  }

  body.ref-cart-active td.product-thumbnail img{
    width:60px!important;
    height:60px!important;
  }
}

@media(max-width:549px){
  body.ref-cart-active .woocommerce-cart-form{
    padding:12px;
  }

  body.ref-cart-active .ref-cart-trust-grid{
    grid-template-columns:1fr;
  }

  body.ref-cart-active .cart_totals{
    padding:20px!important;
  }
}


/* =========================================================
   CART WIDTH FIX — v4.2.3
   =========================================================
   Flatsome places the cart form and totals inside large-7 /
   large-5 columns. On this installation that column structure
   clips the subtotal column. Stack the native columns at full
   width without altering WooCommerce table markup.
*/

body.ref-cart-active .woocommerce > .row,
body.ref-cart-active .woocommerce .cart-wrapper,
body.ref-cart-active .woocommerce .woocommerce-cart-form__contents{
  max-width:100%!important;
}

/* Flatten Flatsome's cart row only. */
body.ref-cart-active .woocommerce > .row{
  display:flex!important;
  width:100%!important;
  margin-right:0!important;
  margin-left:0!important;
  flex-direction:column!important;
  align-items:stretch!important;
}

/*
 * Cover Flatsome's common column combinations and any column that
 * directly contains the cart form or cart totals.
 */
body.ref-cart-active .woocommerce > .row > .col,
body.ref-cart-active .woocommerce > .row > [class*="large-"],
body.ref-cart-active .woocommerce .large-7,
body.ref-cart-active .woocommerce .large-5,
body.ref-cart-active .woocommerce .large-8,
body.ref-cart-active .woocommerce .large-4,
body.ref-cart-active .woocommerce .medium-7,
body.ref-cart-active .woocommerce .medium-5,
body.ref-cart-active .woocommerce .cart-wrapper > .col{
  width:100%!important;
  max-width:100%!important;
  flex:0 0 100%!important;
  flex-basis:100%!important;
  padding-right:0!important;
  padding-left:0!important;
}

/* The form and totals must fill their now full-width containers. */
body.ref-cart-active form.woocommerce-cart-form,
body.ref-cart-active .woocommerce-cart-form,
body.ref-cart-active .cart-collaterals,
body.ref-cart-active .cart_totals{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  margin-right:0!important;
  margin-left:0!important;
  overflow:visible!important;
}

/* Prevent the cart card itself clipping the final table column. */
body.ref-cart-active .woocommerce-cart-form{
  box-sizing:border-box!important;
  overflow-x:auto!important;
}

/* Give the native table enough room and distribute columns safely. */
body.ref-cart-active table.shop_table.cart{
  width:100%!important;
  min-width:760px!important;
  table-layout:auto!important;
}

body.ref-cart-active table.shop_table.cart th.product-remove,
body.ref-cart-active table.shop_table.cart td.product-remove{
  width:42px!important;
}

body.ref-cart-active table.shop_table.cart th.product-thumbnail,
body.ref-cart-active table.shop_table.cart td.product-thumbnail{
  width:92px!important;
}

body.ref-cart-active table.shop_table.cart th.product-price,
body.ref-cart-active table.shop_table.cart td.product-price{
  width:105px!important;
  white-space:nowrap!important;
}

body.ref-cart-active table.shop_table.cart th.product-quantity,
body.ref-cart-active table.shop_table.cart td.product-quantity{
  width:125px!important;
  white-space:nowrap!important;
}

body.ref-cart-active table.shop_table.cart th.product-subtotal,
body.ref-cart-active table.shop_table.cart td.product-subtotal{
  width:115px!important;
  padding-right:16px!important;
  white-space:nowrap!important;
  text-align:right!important;
}

/* Put the trust strip and totals beneath the basket with breathing room. */
body.ref-cart-active .ref-cart-trust{
  width:100%!important;
  max-width:100%!important;
  clear:both!important;
  margin:24px 0!important;
}

body.ref-cart-active .cart-collaterals{
  clear:both!important;
  margin-top:0!important;
}

body.ref-cart-active .cart_totals{
  margin-top:0!important;
}

/* Keep totals comfortably readable rather than excessively wide. */
@media(min-width:850px){
  body.ref-cart-active .cart_totals{
    padding:30px!important;
  }

  body.ref-cart-active .cart_totals > h2,
  body.ref-cart-active .cart_totals > table,
  body.ref-cart-active .cart_totals > .wc-proceed-to-checkout,
  body.ref-cart-active .cart_totals > .woocommerce-shipping-calculator{
    max-width:720px;
    margin-right:auto!important;
    margin-left:auto!important;
  }
}

/* Mobile keeps natural scrolling if a gateway or variation adds width. */
@media(max-width:849px){
  body.ref-cart-active table.shop_table.cart{
    min-width:680px!important;
  }

  body.ref-cart-active .woocommerce-cart-form{
    -webkit-overflow-scrolling:touch;
  }
}


/* =========================================================
   VISUAL POLISH — v4.3.0
   Header, footer, cart and checkout refinement only.
   ========================================================= */

/* ---------------------------------------------------------
   HEADER
   --------------------------------------------------------- */

#header .header-main{
  min-height:102px;
}

#header .header-inner{
  width:min(1180px,calc(100% - 36px));
  max-width:1180px;
  margin-right:auto;
  margin-left:auto;
}

#header .logo{
  margin-right:auto;
  margin-left:auto;
}

#header .logo img{
  max-height:72px!important;
}

#header .searchform,
#header .search-field{
  border-radius:999px!important;
}

#header .searchform{
  overflow:hidden;
  border:1px solid var(--lv-border)!important;
  background:#fff!important;
  box-shadow:0 6px 18px color-mix(in srgb,var(--lv-ink) 4.5%,transparent);
}

#header .searchform input[type="search"],
#header .searchform input[type="text"]{
  min-height:44px!important;
  padding-right:18px!important;
  padding-left:18px!important;
  border:0!important;
  background:#fff!important;
  color:var(--lv-ink)!important;
  box-shadow:none!important;
  font-size:13px!important;
}

#header .searchform button,
#header .searchform input[type="submit"]{
  width:46px!important;
  min-width:46px!important;
  min-height:44px!important;
  border:0!important;
  border-radius:0!important;
  background:var(--lv-gradient)!important;
  color:#fff!important;
  box-shadow:none!important;
}

#header .header-nav-main{
  gap:2px;
}

#header .header-nav-main>li>a{
  position:relative;
  padding-right:9px!important;
  padding-left:9px!important;
  font-size:12px!important;
  letter-spacing:.01em;
}

#header .header-nav-main>li>a::after{
  position:absolute;
  right:10px;
  bottom:5px;
  left:10px;
  height:2px;
  border-radius:999px;
  background:var(--lv-gradient);
  content:'';
  opacity:0;
  transform:scaleX(.4);
  transition:opacity .2s ease,transform .2s ease;
}

#header .header-nav-main>li:hover>a::after,
#header .header-nav-main>li.active>a::after{
  opacity:1;
  transform:scaleX(1);
}

#header .cart-item>a,
#header .account-item>a{
  min-height:46px;
  align-items:center;
}

#header .cart-item .header-cart-title,
#header .account-item .nav-top-link{
  color:var(--lv-ink)!important;
  font-size:12px!important;
  font-weight:800!important;
  line-height:1.35!important;
  text-transform:none!important;
}

#header .cart-icon strong{
  border-color:var(--lv-pink)!important;
  color:var(--lv-pink)!important;
}

#header .cart-icon strong::after{
  border-color:var(--lv-pink)!important;
}

/* Announcement bar */
.header-top{
  min-height:28px!important;
}

.header-top .nav>li>a,
.header-top .nav>li>span{
  font-size:10px!important;
  font-weight:800!important;
  letter-spacing:.035em;
}

/* Sticky header */
.stuck .header-main{
  box-shadow:0 10px 26px color-mix(in srgb,var(--lv-ink) 8%,transparent)!important;
}

/* ---------------------------------------------------------
   CART BUTTON ALIGNMENT AND SPACING
   --------------------------------------------------------- */

body.ref-cart-active td.actions{
  padding-top:18px!important;
}

body.ref-cart-active td.actions .button,
body.ref-cart-active .continue-shopping,
body.ref-cart-active .button[name="update_cart"]{
  display:inline-flex!important;
  min-height:46px!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  padding:0 28px!important;
  line-height:1!important;
  text-align:center!important;
  vertical-align:middle!important;
}

body.ref-cart-active td.actions .button:hover,
body.ref-cart-active .continue-shopping:hover,
body.ref-cart-active .button[name="update_cart"]:hover{
  transform:translateY(-2px);
}

body.ref-cart-active td.actions .button[name="update_cart"]{
  background:linear-gradient(135deg,#dd8bb9,#b76ab0)!important;
  box-shadow:0 8px 18px rgba(183,106,176,.18)!important;
}

/* Remove awkward arrow baseline influence */
body.ref-cart-active .continue-shopping::before,
body.ref-cart-active .continue-shopping .icon-angle-left{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  line-height:1!important;
}

/* Trust and totals relationship */
body.ref-cart-active .ref-cart-trust{
  margin-top:20px!important;
  margin-bottom:18px!important;
}

body.ref-cart-active .cart-collaterals{
  margin-top:0!important;
}

body.ref-cart-active .cart_totals{
  margin-top:0!important;
}

body.ref-cart-active .ref-cart-trust-grid>*{
  display:flex;
  min-height:72px;
  justify-content:center;
  flex-direction:column;
}

/* ---------------------------------------------------------
   CHECKOUT ALIGNMENT
   --------------------------------------------------------- */

body.ref-checkout-active form.checkout{
  align-items:stretch!important;
}

body.ref-checkout-active #customer_details,
body.ref-checkout-active #order_review_heading,
body.ref-checkout-active #order_review{
  box-sizing:border-box!important;
}

body.ref-checkout-active #customer_details{
  margin-top:0!important;
  padding-top:26px!important;
}

body.ref-checkout-active #order_review_heading{
  margin-top:0!important;
  padding-top:26px!important;
}

body.ref-checkout-active #order_review{
  margin-top:0!important;
}

body.ref-checkout-active #payment{
  margin-top:0!important;
}

body.ref-checkout-active #payment .payment_methods{
  margin-top:0!important;
}

body.ref-checkout-active #payment .payment_box{
  margin-top:10px!important;
  border-radius:14px!important;
}

body.ref-checkout-active #place_order{
  display:flex!important;
  width:100%!important;
  min-height:50px!important;
  align-items:center!important;
  justify-content:center!important;
  margin-top:14px!important;
  line-height:1!important;
}

body.ref-checkout-active .woocommerce-privacy-policy-text{
  margin-top:13px;
  color:#7b6972;
  font-size:11px;
  line-height:1.55;
}

/* ---------------------------------------------------------
   FOOTER
   --------------------------------------------------------- */

#footer,
.footer-wrapper{
  padding-top:0!important;
}

#footer .footer-widgets,
.footer-wrapper .footer-widgets{
  padding-top:48px!important;
  padding-bottom:38px!important;
}

#footer .row,
.footer-wrapper .row{
  width:min(1180px,calc(100% - 36px));
  max-width:1180px;
  margin-right:auto;
  margin-left:auto;
}

#footer .widget,
.footer-wrapper .widget{
  margin-bottom:24px;
}

#footer .widget-title,
.footer-wrapper .widget-title{
  position:relative;
  margin-bottom:18px!important;
  padding-bottom:10px;
  font-size:14px!important;
  font-weight:800!important;
  letter-spacing:.035em;
  text-transform:uppercase;
}

#footer .widget-title::after,
.footer-wrapper .widget-title::after{
  position:absolute;
  bottom:0;
  left:0;
  width:34px;
  height:2px;
  border-radius:999px;
  background:var(--lv-gradient);
  content:'';
}

#footer ul,
.footer-wrapper ul{
  margin:0;
}

#footer li,
.footer-wrapper li{
  margin-bottom:9px;
}

#footer a,
.footer-wrapper a{
  font-size:13px;
  line-height:1.5;
  transition:color .2s ease,transform .2s ease;
}

#footer li a:hover,
.footer-wrapper li a:hover{
  display:inline-block;
  transform:translateX(3px);
}

#footer .searchform,
.footer-wrapper .searchform{
  overflow:hidden;
  border:1px solid rgba(255,255,255,.14)!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.06)!important;
}

#footer .searchform input[type="search"],
#footer .searchform input[type="text"],
.footer-wrapper .searchform input[type="search"],
.footer-wrapper .searchform input[type="text"]{
  min-height:44px!important;
  border:0!important;
  background:transparent!important;
  color:#fff!important;
  box-shadow:none!important;
}

#footer .searchform input::placeholder,
.footer-wrapper .searchform input::placeholder{
  color:rgba(255,255,255,.55)!important;
}

#footer .searchform button,
.footer-wrapper .searchform button{
  width:46px!important;
  min-width:46px!important;
  border:0!important;
  border-radius:0!important;
  background:var(--lv-gradient)!important;
  color:#fff!important;
}

/* Footer basket widget */
#footer .product_list_widget li,
.footer-wrapper .product_list_widget li{
  min-height:74px;
  padding:10px 0!important;
  border-bottom:1px solid rgba(255,255,255,.08)!important;
}

#footer .product_list_widget img,
.footer-wrapper .product_list_widget img{
  width:54px!important;
  height:54px!important;
  object-fit:contain;
  border-radius:10px;
  background:#fff;
}

#footer .product_list_widget .product-title,
.footer-wrapper .product_list_widget .product-title{
  color:#fff!important;
  font-size:12px!important;
  font-weight:700!important;
}

#footer .product_list_widget .amount,
.footer-wrapper .product_list_widget .amount{
  color:var(--lv-accent)!important;
  font-weight:800!important;
}

/* Footer bottom */
.absolute-footer{
  padding:18px 0!important;
  border-top:1px solid rgba(255,255,255,.08)!important;
  background:#21101b!important;
}

.absolute-footer,
.absolute-footer a{
  color:rgba(255,255,255,.62)!important;
  font-size:11px!important;
}

/* ---------------------------------------------------------
   SHARED VISUAL RHYTHM
   --------------------------------------------------------- */

.ref-commerce-header,
.ref-collection-hero,
.ref-highlights,
.ref-promise,
.ref-cart-trust,
.cart_totals,
#customer_details,
#order_review{
  transition:box-shadow .2s ease,transform .2s ease;
}

.ref-commerce-header:hover,
.ref-collection-hero:hover,
.ref-highlights:hover,
.cart_totals:hover{
  box-shadow:0 18px 46px color-mix(in srgb,var(--lv-ink) 10%,transparent)!important;
}

/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */

@media(max-width:849px){
  #header .header-inner{
    width:min(100% - 24px,1180px);
  }

  #header .logo img{
    max-height:58px!important;
  }

  #footer .row,
  .footer-wrapper .row{
    width:min(100% - 24px,1180px);
  }

  #footer .footer-widgets,
  .footer-wrapper .footer-widgets{
    padding-top:36px!important;
  }
}

@media(max-width:549px){
  body.ref-cart-active td.actions .button,
  body.ref-cart-active .continue-shopping,
  body.ref-cart-active .button[name="update_cart"]{
    width:100%!important;
    margin:0 0 10px!important;
  }

  #footer .widget-title,
  .footer-wrapper .widget-title{
    margin-top:8px;
  }
}


/* =========================================================
   HEADER, MINI-CART & BUTTON PALETTE FIX — v4.3.1
   ========================================================= */

/* ---------------------------------------------------------
   SITE-WIDE PRIMARY BUTTON PALETTE
   --------------------------------------------------------- */

:root{
  --lv-primary:#315b7c;
  --lv-secondary:#6f8799;
  --lv-primary-dark:color-mix(in srgb,var(--lv-pink) 78%,#000);
  --lv-primary-soft:color-mix(in srgb,var(--lv-pink) 8%,#fff);
  --lv-button-gradient:linear-gradient(135deg,var(--lv-primary) 0%,var(--lv-secondary) 100%);
  --lv-button-gradient-hover:linear-gradient(135deg,var(--lv-primary-dark) 0%,color-mix(in srgb,var(--lv-purple) 78%,#000) 100%);
}

/*
 * Cover WooCommerce, Flatsome and common gateway/button selectors
 * without touching wallet-branded buttons such as Apple Pay,
 * Google Pay, Clearpay or Onelink.
 */
.button:not(.apple-pay-button):not(.google-pay-button):not(.clearpay-button):not([class*="wallet"]),
button:not(.apple-pay-button):not(.google-pay-button):not(.clearpay-button):not([class*="wallet"]),
input[type="submit"],
input[type="button"],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.single_add_to_cart_button,
.checkout-button,
#place_order,
.widget_shopping_cart .buttons a,
.woocommerce-mini-cart__buttons a{
  border:0!important;
  border-radius:999px!important;
  background:var(--lv-button-gradient)!important;
  color:#fff!important;
  box-shadow:0 9px 22px color-mix(in srgb,var(--lv-pink) 20%,transparent)!important;
  text-transform:none!important;
}

.button:not(.apple-pay-button):not(.google-pay-button):not(.clearpay-button):not([class*="wallet"]):hover,
button:not(.apple-pay-button):not(.google-pay-button):not(.clearpay-button):not([class*="wallet"]):hover,
input[type="submit"]:hover,
input[type="button"]:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.single_add_to_cart_button:hover,
.checkout-button:hover,
#place_order:hover,
.widget_shopping_cart .buttons a:hover,
.woocommerce-mini-cart__buttons a:hover{
  background:var(--lv-button-gradient-hover)!important;
  color:#fff!important;
  transform:translateY(-1px);
  box-shadow:0 13px 28px color-mix(in srgb,var(--lv-purple) 25%,transparent)!important;
}

/*
 * Keep secondary/muted controls distinct where Flatsome applies
 * alt or disabled classes.
 */
.button.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt{
  background:var(--lv-button-gradient)!important;
}

.button:disabled,
.button.disabled,
.woocommerce button.button:disabled,
.woocommerce button.button.disabled{
  background:linear-gradient(135deg,#dca4c1,#bfa0c4)!important;
  color:#fff!important;
  box-shadow:none!important;
  opacity:.75!important;
}

/* ---------------------------------------------------------
   HEADER BASKET PRESENTATION
   --------------------------------------------------------- */

#header .cart-item .header-cart-title{
  display:flex!important;
  align-items:center;
  gap:5px;
  white-space:nowrap;
}

#header .cart-item .header-cart-title::first-line{
  font-weight:800;
}

#header .cart-item>a{
  padding-right:8px!important;
  padding-left:8px!important;
}

#header .cart-icon{
  margin-left:7px!important;
}

/* ---------------------------------------------------------
   DROPDOWN MINI-CART
   --------------------------------------------------------- */

.widget_shopping_cart,
.woocommerce-mini-cart{
  box-sizing:border-box;
}

.widget_shopping_cart .widget_shopping_cart_content{
  min-width:300px;
}

.widget_shopping_cart .woocommerce-mini-cart,
.woocommerce-mini-cart{
  margin:0!important;
  padding:0!important;
}

.widget_shopping_cart .woocommerce-mini-cart-item,
.woocommerce-mini-cart .woocommerce-mini-cart-item{
  position:relative;
  display:grid!important;
  grid-template-columns:56px minmax(0,1fr) 24px;
  gap:10px 12px;
  align-items:start;
  min-height:76px;
  margin:0!important;
  padding:12px 0!important;
  border-bottom:1px solid var(--lv-border)!important;
}

.widget_shopping_cart .woocommerce-mini-cart-item>a:not(.remove),
.woocommerce-mini-cart .woocommerce-mini-cart-item>a:not(.remove){
  display:contents!important;
}

.widget_shopping_cart .woocommerce-mini-cart-item img,
.woocommerce-mini-cart .woocommerce-mini-cart-item img{
  grid-column:1;
  grid-row:1 / span 2;
  width:56px!important;
  max-width:56px!important;
  height:56px!important;
  margin:0!important;
  object-fit:contain;
  border:1px solid var(--lv-border);
  border-radius:10px;
  background:#fff;
}

.widget_shopping_cart .woocommerce-mini-cart-item .remove,
.woocommerce-mini-cart .woocommerce-mini-cart-item .remove{
  position:static!important;
  grid-column:3;
  grid-row:1;
  display:inline-flex!important;
  width:22px!important;
  height:22px!important;
  align-items:center;
  justify-content:center;
  margin:0!important;
  border:1px solid #e7d4de!important;
  border-radius:50%!important;
  background:#fff!important;
  color:#9f7e8d!important;
  font-size:15px!important;
  line-height:1!important;
}

.widget_shopping_cart .woocommerce-mini-cart-item .remove:hover,
.woocommerce-mini-cart .woocommerce-mini-cart-item .remove:hover{
  border-color:var(--lv-primary)!important;
  color:var(--lv-primary)!important;
}

.widget_shopping_cart .woocommerce-mini-cart-item .quantity,
.woocommerce-mini-cart .woocommerce-mini-cart-item .quantity{
  grid-column:2;
  grid-row:2;
  margin:3px 0 0!important;
  border:0!important;
  background:transparent!important;
  color:var(--lv-muted)!important;
  font-size:12px!important;
}

.widget_shopping_cart .woocommerce-mini-cart-item>a:not(.remove),
.woocommerce-mini-cart .woocommerce-mini-cart-item>a:not(.remove){
  color:var(--lv-ink)!important;
}

.widget_shopping_cart .woocommerce-mini-cart-item .product-title,
.woocommerce-mini-cart .woocommerce-mini-cart-item .product-title,
.widget_shopping_cart .woocommerce-mini-cart-item>a:not(.remove),
.woocommerce-mini-cart .woocommerce-mini-cart-item>a:not(.remove){
  min-width:0;
  overflow:hidden;
  font-size:13px!important;
  font-weight:700!important;
  line-height:1.35!important;
  text-overflow:ellipsis;
}

.widget_shopping_cart .woocommerce-mini-cart__total,
.woocommerce-mini-cart__total{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin:14px 0 12px!important;
  padding:12px 0!important;
  border-top:1px solid var(--lv-border)!important;
  border-bottom:1px solid var(--lv-border)!important;
  color:var(--lv-ink);
  font-weight:800;
}

.widget_shopping_cart .woocommerce-mini-cart__total .amount,
.woocommerce-mini-cart__total .amount{
  color:var(--lv-primary)!important;
  font-size:16px!important;
}

.widget_shopping_cart .woocommerce-mini-cart__buttons,
.woocommerce-mini-cart__buttons{
  display:grid!important;
  grid-template-columns:1fr;
  gap:10px;
  margin:0!important;
}

.widget_shopping_cart .woocommerce-mini-cart__buttons a,
.woocommerce-mini-cart__buttons a{
  display:flex!important;
  min-height:44px!important;
  align-items:center!important;
  justify-content:center!important;
  margin:0!important;
  padding:0 18px!important;
  line-height:1!important;
  text-align:center!important;
}

/* ---------------------------------------------------------
   FOOTER BASKET WIDGET
   --------------------------------------------------------- */

#footer .widget_shopping_cart,
.footer-wrapper .widget_shopping_cart{
  min-width:0;
}

#footer .widget_shopping_cart_content,
.footer-wrapper .widget_shopping_cart_content{
  width:100%;
  min-width:0;
}

#footer .woocommerce-mini-cart-item,
.footer-wrapper .woocommerce-mini-cart-item{
  position:relative;
  display:grid!important;
  grid-template-columns:58px minmax(0,1fr) 24px;
  gap:9px 12px;
  align-items:start;
  min-height:82px;
  padding:12px 0!important;
  border-bottom:1px solid rgba(255,255,255,.09)!important;
}

#footer .woocommerce-mini-cart-item>a:not(.remove),
.footer-wrapper .woocommerce-mini-cart-item>a:not(.remove){
  display:contents!important;
}

#footer .woocommerce-mini-cart-item img,
.footer-wrapper .woocommerce-mini-cart-item img{
  grid-column:1;
  grid-row:1 / span 2;
  width:58px!important;
  max-width:58px!important;
  height:58px!important;
  margin:0!important;
  object-fit:contain;
  border-radius:10px;
  background:#fff;
}

#footer .woocommerce-mini-cart-item .remove,
.footer-wrapper .woocommerce-mini-cart-item .remove{
  position:static!important;
  grid-column:3;
  grid-row:1;
  display:inline-flex!important;
  width:22px!important;
  height:22px!important;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(255,255,255,.26)!important;
  border-radius:50%!important;
  background:transparent!important;
  color:rgba(255,255,255,.72)!important;
  font-size:14px!important;
  line-height:1!important;
}

#footer .woocommerce-mini-cart-item .remove:hover,
.footer-wrapper .woocommerce-mini-cart-item .remove:hover{
  border-color:var(--lv-accent)!important;
  color:var(--lv-accent)!important;
}

#footer .woocommerce-mini-cart-item>a:not(.remove),
.footer-wrapper .woocommerce-mini-cart-item>a:not(.remove){
  grid-column:2;
  grid-row:1;
  min-width:0;
  overflow:hidden;
  color:#fff!important;
  font-size:12px!important;
  font-weight:700!important;
  line-height:1.35!important;
  text-overflow:ellipsis;
}

#footer .woocommerce-mini-cart-item .quantity,
.footer-wrapper .woocommerce-mini-cart-item .quantity{
  grid-column:2;
  grid-row:2;
  margin:2px 0 0!important;
  border:0!important;
  background:transparent!important;
  color:var(--lv-accent)!important;
  font-size:12px!important;
}

#footer .woocommerce-mini-cart__total,
.footer-wrapper .woocommerce-mini-cart__total{
  display:flex;
  justify-content:space-between;
  margin:12px 0!important;
  padding:12px 0!important;
  border-top:1px solid rgba(255,255,255,.1)!important;
  border-bottom:1px solid rgba(255,255,255,.1)!important;
  color:#fff!important;
}

#footer .woocommerce-mini-cart__total .amount,
.footer-wrapper .woocommerce-mini-cart__total .amount{
  color:var(--lv-accent)!important;
  font-weight:800!important;
}

#footer .woocommerce-mini-cart__buttons,
.footer-wrapper .woocommerce-mini-cart__buttons{
  display:grid!important;
  grid-template-columns:1fr;
  gap:9px;
}

#footer .woocommerce-mini-cart__buttons a,
.footer-wrapper .woocommerce-mini-cart__buttons a{
  display:flex!important;
  min-height:42px!important;
  align-items:center!important;
  justify-content:center!important;
  margin:0!important;
}

/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */

@media(max-width:849px){
  .widget_shopping_cart .widget_shopping_cart_content{
    min-width:280px;
  }
}

@media(max-width:549px){
  .widget_shopping_cart .widget_shopping_cart_content{
    min-width:260px;
  }

  #footer .woocommerce-mini-cart-item,
  .footer-wrapper .woocommerce-mini-cart-item{
    grid-template-columns:52px minmax(0,1fr) 22px;
  }

  #footer .woocommerce-mini-cart-item img,
  .footer-wrapper .woocommerce-mini-cart-item img{
    width:52px!important;
    height:52px!important;
  }
}


/* =========================================================
   PAYMENT & MINI-CART FIX — v4.3.2
   ========================================================= */

/* ---------------------------------------------------------
   RESTORE CLEARPAY BRANDING
   --------------------------------------------------------- */

/*
 * Clearpay markup varies between plugin versions. Explicitly
 * restore its mint background after the site-wide button rules.
 */
a[class*="clearpay"],
button[class*="clearpay"],
input[class*="clearpay"],
[class*="clearpay"] a.button,
[class*="clearpay"] button,
[class*="clearpay"] input[type="submit"],
.wc-clearpay-express-button,
.wc-clearpay-button,
#clearpay-express-button,
#clearpay-button,
.woocommerce .clearpay-button,
.woocommerce .wc-clearpay-button{
  border-color:#b2fce4!important;
  background:#b2fce4!important;
  background-image:none!important;
  color:#111!important;
  box-shadow:none!important;
  text-shadow:none!important;
}

a[class*="clearpay"]:hover,
button[class*="clearpay"]:hover,
input[class*="clearpay"]:hover,
[class*="clearpay"] a.button:hover,
[class*="clearpay"] button:hover,
[class*="clearpay"] input[type="submit"]:hover,
.wc-clearpay-express-button:hover,
.wc-clearpay-button:hover,
#clearpay-express-button:hover,
#clearpay-button:hover,
.woocommerce .clearpay-button:hover,
.woocommerce .wc-clearpay-button:hover{
  border-color:#9eeed5!important;
  background:#9eeed5!important;
  background-image:none!important;
  color:#111!important;
  box-shadow:none!important;
  transform:none!important;
}

/*
 * Clearpay logos must retain their native sizing and colour.
 */
[class*="clearpay"] img,
.wc-clearpay-button img,
.wc-clearpay-express-button img{
  filter:none!important;
  opacity:1!important;
}

/* ---------------------------------------------------------
   HEADER MINI-CART: SAFE NATIVE FLOW
   --------------------------------------------------------- */

/*
 * Undo the display:contents/grid rules from v4.3.1. Flatsome's
 * mini-cart product link contains both image and title, so it
 * must remain a normal block.
 */
.widget_shopping_cart .woocommerce-mini-cart-item,
.woocommerce-mini-cart .woocommerce-mini-cart-item{
  position:relative!important;
  display:block!important;
  min-height:84px!important;
  margin:0!important;
  padding:12px 34px 12px 70px!important;
  overflow:hidden!important;
  border-bottom:1px solid var(--lv-border)!important;
}

.widget_shopping_cart .woocommerce-mini-cart-item>a:not(.remove),
.woocommerce-mini-cart .woocommerce-mini-cart-item>a:not(.remove){
  display:block!important;
  min-width:0!important;
  overflow:visible!important;
  color:var(--lv-ink)!important;
  font-size:13px!important;
  font-weight:700!important;
  line-height:1.35!important;
  white-space:normal!important;
  text-overflow:clip!important;
}

.widget_shopping_cart .woocommerce-mini-cart-item img,
.woocommerce-mini-cart .woocommerce-mini-cart-item img{
  position:absolute!important;
  top:12px!important;
  left:0!important;
  width:56px!important;
  max-width:56px!important;
  height:56px!important;
  margin:0!important;
  object-fit:contain!important;
  border:1px solid var(--lv-border)!important;
  border-radius:10px!important;
  background:#fff!important;
}

.widget_shopping_cart .woocommerce-mini-cart-item .remove,
.woocommerce-mini-cart .woocommerce-mini-cart-item .remove{
  position:absolute!important;
  top:12px!important;
  right:0!important;
  display:inline-flex!important;
  width:22px!important;
  height:22px!important;
  align-items:center!important;
  justify-content:center!important;
  margin:0!important;
  border:1px solid #e7d4de!important;
  border-radius:50%!important;
  background:#fff!important;
  color:#9f7e8d!important;
  font-size:15px!important;
  line-height:1!important;
}

.widget_shopping_cart .woocommerce-mini-cart-item .quantity,
.woocommerce-mini-cart .woocommerce-mini-cart-item .quantity{
  display:block!important;
  margin:5px 0 0!important;
  border:0!important;
  background:transparent!important;
  color:var(--lv-muted)!important;
  font-size:12px!important;
  line-height:1.4!important;
}

/* ---------------------------------------------------------
   FOOTER MINI-CART: SAFE NATIVE FLOW
   --------------------------------------------------------- */

#footer .woocommerce-mini-cart-item,
.footer-wrapper .woocommerce-mini-cart-item{
  position:relative!important;
  display:block!important;
  min-height:88px!important;
  margin:0!important;
  padding:13px 32px 13px 70px!important;
  overflow:hidden!important;
  border-bottom:1px solid rgba(255,255,255,.09)!important;
}

#footer .woocommerce-mini-cart-item>a:not(.remove),
.footer-wrapper .woocommerce-mini-cart-item>a:not(.remove){
  display:block!important;
  min-width:0!important;
  overflow:visible!important;
  color:#fff!important;
  font-size:12px!important;
  font-weight:700!important;
  line-height:1.38!important;
  white-space:normal!important;
  text-overflow:clip!important;
  word-break:normal!important;
  overflow-wrap:anywhere!important;
}

#footer .woocommerce-mini-cart-item img,
.footer-wrapper .woocommerce-mini-cart-item img{
  position:absolute!important;
  top:13px!important;
  left:0!important;
  width:58px!important;
  max-width:58px!important;
  height:58px!important;
  margin:0!important;
  object-fit:contain!important;
  border-radius:10px!important;
  background:#fff!important;
}

#footer .woocommerce-mini-cart-item .remove,
.footer-wrapper .woocommerce-mini-cart-item .remove{
  position:absolute!important;
  top:13px!important;
  right:0!important;
  display:inline-flex!important;
  width:22px!important;
  height:22px!important;
  align-items:center!important;
  justify-content:center!important;
  margin:0!important;
  border:1px solid rgba(255,255,255,.26)!important;
  border-radius:50%!important;
  background:transparent!important;
  color:rgba(255,255,255,.72)!important;
  font-size:14px!important;
  line-height:1!important;
}

#footer .woocommerce-mini-cart-item .quantity,
.footer-wrapper .woocommerce-mini-cart-item .quantity{
  display:block!important;
  margin:5px 0 0!important;
  border:0!important;
  background:transparent!important;
  color:var(--lv-accent)!important;
  font-size:12px!important;
  line-height:1.4!important;
}

/* Ensure totals/buttons remain below product list */
.widget_shopping_cart .woocommerce-mini-cart__total,
.widget_shopping_cart .woocommerce-mini-cart__buttons,
#footer .woocommerce-mini-cart__total,
#footer .woocommerce-mini-cart__buttons,
.footer-wrapper .woocommerce-mini-cart__total,
.footer-wrapper .woocommerce-mini-cart__buttons{
  clear:both!important;
}

/* Mobile mini-cart remains readable */
@media(max-width:549px){
  .widget_shopping_cart .woocommerce-mini-cart-item,
  .woocommerce-mini-cart .woocommerce-mini-cart-item{
    padding-left:62px!important;
  }

  .widget_shopping_cart .woocommerce-mini-cart-item img,
  .woocommerce-mini-cart .woocommerce-mini-cart-item img{
    width:50px!important;
    max-width:50px!important;
    height:50px!important;
  }

  #footer .woocommerce-mini-cart-item,
  .footer-wrapper .woocommerce-mini-cart-item{
    padding-left:62px!important;
  }

  #footer .woocommerce-mini-cart-item img,
  .footer-wrapper .woocommerce-mini-cart-item img{
    width:50px!important;
    max-width:50px!important;
    height:50px!important;
  }
}


/* =========================================================
   ACTIVE BRAND TOKEN BRIDGE — v8.3
   The inline values generated by PHP override these fallbacks.
   ========================================================= */
:root{
  --lv-pink:var(--ref-primary,#315b7c);
  --lv-purple:var(--ref-secondary,#6f8799);
  --lv-ink:var(--ref-dark,#17233c);
  --lv-soft:var(--ref-light,#f7f9fb);
  --lv-blush:color-mix(in srgb,var(--ref-primary,#315b7c) 11%,#fff);
  --lv-accent:var(--ref-accent,#9fb4c4);
  --lv-border:var(--ref-border,color-mix(in srgb,var(--ref-primary,#315b7c) 14%,transparent));
  --lv-muted:color-mix(in srgb,var(--ref-dark,#17233c) 68%,#fff);
  --lv-shadow:0 16px 42px color-mix(in srgb,var(--ref-dark,#17233c) 10%,transparent);
  --lv-gradient:var(--ref-gradient,linear-gradient(135deg,var(--ref-primary,#315b7c),var(--ref-secondary,#6f8799)));
  --lv-primary:var(--ref-primary,#315b7c);
  --lv-secondary:var(--ref-secondary,#6f8799);
  --lv-primary-dark:color-mix(in srgb,var(--ref-primary,#315b7c) 78%,#000);
  --lv-primary-soft:color-mix(in srgb,var(--ref-primary,#315b7c) 8%,#fff);
  --lv-button-gradient:var(--ref-gradient,linear-gradient(135deg,var(--ref-primary,#315b7c),var(--ref-secondary,#6f8799)));
  --lv-button-gradient-hover:linear-gradient(
    135deg,
    color-mix(in srgb,var(--ref-primary,#315b7c) 78%,#000),
    color-mix(in srgb,var(--ref-secondary,#6f8799) 78%,#000)
  );
}
