/* 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;
  }
}
