/* ==========================================================================
   HappyTrade Store Pro — store layer (TheGem Elementor + WooCommerce, RTL)
   Tokens are injected inline from settings (--htsp-*). Fallbacks below.
   ========================================================================== */
:root{
  --htsp-gold:#E4A91D;--htsp-amber:#C87A11;--htsp-yellow:#F8DF3B;--htsp-brown:#3F240D;--htsp-ink:#1F1A17;--htsp-cream:#FAF7F0;
  --htsp-grad:linear-gradient(135deg,#F8DF3B 0%,#E4A91D 48%,#C87A11 100%);
  --htsp-radius:18px;
  --htsp-sand:#F2EADB;
  --htsp-title:#1F1A17;
  --htsp-text:#5B4E44;
  --htsp-muted:#8A7B6D;
  --htsp-line:rgba(63,36,13,.12);
  --htsp-shadow:0 18px 40px -22px rgba(63,36,13,.35);
  --htsp-font-h:"Cairo","Tajawal",system-ui,sans-serif;
  --htsp-font-b:"Tajawal","Cairo",system-ui,sans-serif;
  --htsp-wa:#1FAF5A;
}

/* ---------- Typography on store screens (theme default was Source Sans / Montserrat) ---------- */
body.htsp-store,
body.htsp-store .woocommerce,
body.htsp-store .woocommerce input,
body.htsp-store .woocommerce select,
body.htsp-store .woocommerce textarea,
body.htsp-store .woocommerce button,
body.htsp-store .gem-button{font-family:var(--htsp-font-b)!important;}
body.htsp-store h1,body.htsp-store h2,body.htsp-store h3,body.htsp-store h4,
body.htsp-store .product_title,body.htsp-store .price,body.htsp-store .amount{font-family:var(--htsp-font-h)!important;}
body.htsp-store #main-content,body.htsp-store #page{background:var(--htsp-cream);}
/* happytrade.me squeezes store pages into an 800px .container — restore TheGem's 1212px grid */
body.htsp-store .block-content>.container{max-width:1212px!important;}

/* ---------- Page title bar (was TheGem purple #6C7CD0 on every inner page) ---------- */
body.htsp .page-title-block{
  position:relative;overflow:hidden;
  background:radial-gradient(120% 140% at 85% 0%,rgba(228,169,29,.28) 0%,rgba(228,169,29,0) 55%),linear-gradient(135deg,#141110 0%,#24160A 60%,#3F240D 100%)!important;
  background-color:#141110!important;
  padding-top:54px!important;padding-bottom:46px!important;
  border-bottom:1px solid rgba(228,169,29,.25);
}
body.htsp .page-title-block:after{content:"";position:absolute;inset-inline:0;bottom:0;height:3px;background:var(--htsp-grad);}
body.htsp .page-title-block .page-title-title,
body.htsp .page-title-block h1{color:#FFF8EA!important;font-family:var(--htsp-font-h)!important;font-weight:800!important;letter-spacing:0!important;text-transform:none!important;font-size:clamp(26px,3.4vw,40px)!important;line-height:1.3!important;}
body.htsp .page-title-block .page-title-excerpt{color:#D8C8B3!important;font-family:var(--htsp-font-b)!important;}
body.htsp .page-title-block .breadcrumbs,
body.htsp .page-title-block .breadcrumbs a,
body.htsp .page-title-block .breadcrumbs span{color:#CFC2B2!important;font-family:var(--htsp-font-b)!important;font-size:14px!important;text-transform:none!important;}
body.htsp .page-title-block .breadcrumbs a:hover{color:var(--htsp-yellow)!important;}
body.htsp .page-title-block .breadcrumbs .current,
body.htsp .page-title-block .breadcrumbs span:last-child{color:var(--htsp-gold)!important;border-color:var(--htsp-gold)!important;}

/* ---------- Inner-page header (Header Footer Elementor template) ---------- */
body.htsp #masthead{position:relative;background:#fff;border-bottom:1px solid var(--htsp-line);}
body.htsp #masthead .hfe-nav-menu a.hfe-menu-item,
body.htsp #masthead .hfe-nav-menu a{font-family:var(--htsp-font-h)!important;font-weight:700!important;color:var(--htsp-title)!important;transition:color .2s;}
body.htsp #masthead .hfe-nav-menu a:hover,
body.htsp #masthead .hfe-nav-menu .current-menu-item>a{color:var(--htsp-amber)!important;}
body.htsp #masthead .hfe-nav-menu__toggle,
body.htsp #masthead .hfe-nav-menu-icon{color:var(--htsp-ink)!important;}

/* Header cart injected into inner pages (home already has .ht-header) */
.htsp-header-cart{position:fixed;z-index:9990;inset-inline-end:18px;top:18px;width:50px;height:50px;border-radius:999px;display:grid;place-items:center;background:var(--htsp-ink);color:var(--htsp-yellow)!important;box-shadow:0 12px 28px -12px rgba(0,0,0,.55);border:1px solid rgba(228,169,29,.45);transition:transform .2s,box-shadow .2s;text-decoration:none!important;}
.htsp-header-cart[hidden]{display:none!important;}
.htsp-header-cart.is-in-header{position:absolute;top:50%;transform:translateY(-50%);inset-inline-start:auto;inset-inline-end:24px;}
.htsp-header-cart:hover{box-shadow:0 16px 34px -12px rgba(200,122,17,.8);}
.htsp-header-cart svg{width:22px;height:22px;}
.htsp-count{position:absolute;top:-4px;inset-inline-end:-4px;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:var(--htsp-grad);color:#2A1705;font:800 11px/20px var(--htsp-font-h);text-align:center;box-sizing:border-box;}
.htsp-count.is-empty{display:none;}
.htsp-header-cart.htsp-bump{animation:htspBump .5s ease;}
@keyframes htspBump{0%{transform:scale(1)}35%{transform:scale(1.18)}100%{transform:scale(1)}}
.htsp-header-cart.is-in-header.htsp-bump{animation:none;}

/* Home header counter bump */
.ht-cart.htsp-bump{animation:htspBump .5s ease;}

/* ---------- Generic buttons ---------- */
.htsp-btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:50px;padding:0 24px;border-radius:999px;font:800 15px/1 var(--htsp-font-h);text-decoration:none!important;border:0;cursor:pointer;transition:transform .2s,box-shadow .2s,background .2s;}
.htsp-btn:hover{transform:translateY(-2px);}
.htsp-btn-gold{background:var(--htsp-grad);color:#2A1705!important;box-shadow:0 12px 26px -12px rgba(200,122,17,.8);}
.htsp-btn-dark{background:var(--htsp-ink);color:var(--htsp-yellow)!important;}
.htsp-btn-dark:hover{background:var(--htsp-brown);}
.htsp-btn-wa{background:var(--htsp-wa);color:#fff!important;}

/* ---------- Notices ---------- */
body.htsp-store .woocommerce-message,
body.htsp-store .woocommerce-info,
body.htsp-store .woocommerce-error{background:#fff!important;border:1px solid var(--htsp-line)!important;border-inline-start:4px solid var(--htsp-gold)!important;border-radius:14px!important;color:var(--htsp-text)!important;box-shadow:var(--htsp-shadow)!important;font-family:var(--htsp-font-b)!important;padding:14px 18px!important;}
body.htsp-store .woocommerce-error{border-inline-start-color:#D64545!important;}
body.htsp-store .woocommerce-message .cart-added{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;background:transparent!important;}
body.htsp-store .woocommerce-message .cart-added-text{color:var(--htsp-title)!important;font-weight:700;}
body.htsp-store .woocommerce-message .gem-button,
body.htsp-store .woocommerce-message .button{background:var(--htsp-ink)!important;color:var(--htsp-yellow)!important;border:0!important;border-radius:999px!important;padding:0 18px!important;height:40px!important;line-height:40px!important;font:700 14px/40px var(--htsp-font-h)!important;}

/* ==========================================================================
   SINGLE PRODUCT
   ========================================================================== */
body.htsp-product .product-page__wrapper{max-width:1200px;margin:0 auto;}
body.htsp-product .single-product-content{display:flex!important;flex-wrap:wrap;gap:0;margin-top:34px!important;}
body.htsp-product .single-product-content:before,body.htsp-product .single-product-content:after{display:none!important;}
body.htsp-product .single-product-content-left,
body.htsp-product .single-product-content-right{float:none!important;}

/* Gallery card */
body.htsp-product .gem-gallery{background:#fff;border:1px solid var(--htsp-line);border-radius:var(--htsp-radius);padding:14px;box-shadow:var(--htsp-shadow);}
body.htsp-product .gem-gallery .gem-gallery-item img{border-radius:calc(var(--htsp-radius) - 6px);}
body.htsp-product .gem-gallery-thumbs-carousel .gem-gallery-item{border-radius:10px;overflow:hidden;opacity:.65;transition:opacity .2s;}
body.htsp-product .gem-gallery-thumbs-carousel .gem-gallery-item.active,
body.htsp-product .gem-gallery-thumbs-carousel .gem-gallery-item:hover{opacity:1;box-shadow:0 0 0 2px var(--htsp-gold);}
body.htsp-product .gem-gallery-preview-navigation a{background:var(--htsp-ink)!important;color:var(--htsp-yellow)!important;border-radius:999px!important;}
body.htsp-hide-share.htsp-product .socials-sharing{display:none!important;}
body.htsp-product .product-meta.product_meta{margin-top:16px!important;font-family:var(--htsp-font-b);color:var(--htsp-muted);}
body.htsp-product .product-meta .posted_in a{color:var(--htsp-amber)!important;}

/* Summary */
body.htsp-product .single-product-content-right{padding-inline-start:34px!important;}
body.htsp-product .back-to-shop-button{display:none!important;}
body.htsp-product .product_title,
body.htsp-product h3.product_title.light{font-family:var(--htsp-font-h)!important;font-weight:800!important;font-size:clamp(24px,2.6vw,34px)!important;line-height:1.35!important;color:var(--htsp-title)!important;letter-spacing:0!important;text-transform:none!important;margin:0 0 6px!important;}
body.htsp-product .rating-divider{display:none!important;}
.htsp-product-cats{margin:2px 0 16px;font:500 14px/1.6 var(--htsp-font-b);color:var(--htsp-muted);}
.htsp-product-cats .htsp-cat-label{font-weight:700;color:var(--htsp-brown);}
.htsp-product-cats a{display:inline-block;margin-inline-start:4px;padding:2px 12px;border-radius:999px;background:rgba(228,169,29,.14);color:var(--htsp-brown)!important;text-decoration:none!important;font-weight:700;transition:background .2s;}
.htsp-product-cats a:hover{background:rgba(228,169,29,.3);}
body.htsp-product .summary .price,
body.htsp-product .single-product-content-right .price{display:flex!important;align-items:baseline;gap:12px;margin:6px 0 20px!important;padding:14px 18px!important;background:linear-gradient(135deg,rgba(248,223,59,.16),rgba(228,169,29,.10));border:1px solid rgba(228,169,29,.35);border-radius:14px;}
body.htsp-product .single-product-content-right .price .amount,
body.htsp-product .single-product-content-right .price ins .amount{font-size:30px!important;font-weight:900!important;color:var(--htsp-brown)!important;text-decoration:none!important;}
body.htsp-product .single-product-content-right .price del,
body.htsp-product .single-product-content-right .price del .amount{font-size:17px!important;font-weight:500!important;color:var(--htsp-muted)!important;opacity:.8;}
body.htsp-product .single-product-content-right .price ins{text-decoration:none!important;}
body.htsp-product .single-product-content-right .woocommerce-product-details__short-description{font:400 16px/1.9 var(--htsp-font-b);color:var(--htsp-text);margin-bottom:18px;}

/* Add to cart form */
body.htsp-product form.cart{display:flex!important;flex-wrap:wrap;align-items:stretch;gap:12px!important;margin:0 0 14px!important;padding:0!important;border:0!important;}
body.htsp-product form.cart .quantity{display:flex!important;align-items:center;margin:0!important;float:none!important;width:auto!important;min-width:0!important;flex:0 0 auto!important;height:54px;border:1px solid var(--htsp-line);border-radius:999px;background:#fff;overflow:hidden;}
body.htsp-product form.cart .quantity input.qty{flex:0 0 54px!important;width:54px!important;height:52px!important;border:0!important;background:transparent!important;text-align:center!important;font:800 17px var(--htsp-font-h)!important;color:var(--htsp-title)!important;box-shadow:none!important;-moz-appearance:textfield;padding:0!important;}
body.htsp-product form.cart .quantity input.qty::-webkit-inner-spin-button,
body.htsp-product form.cart .quantity input.qty::-webkit-outer-spin-button{-webkit-appearance:none;margin:0;}
.htsp-qbtn,
body.htsp-product form.cart .quantity .minus,
body.htsp-product form.cart .quantity .plus{flex:0 0 44px!important;width:44px!important;height:52px!important;border:0!important;background:transparent!important;color:var(--htsp-brown)!important;font:700 20px/1 var(--htsp-font-h)!important;cursor:pointer;padding:0!important;}
.htsp-qbtn:hover{color:var(--htsp-amber)!important;}
body.htsp-product form.cart .gem-button-container{margin:0!important;float:none!important;flex:1 1 200px;display:flex!important;}
body.htsp-product form.cart .single_add_to_cart_button,
body.htsp-product form.cart .single_add_to_cart_button.gem-button{flex:1;width:100%;height:54px!important;min-height:54px;margin:0!important;padding:0 26px!important;border:0!important;border-radius:999px!important;background:var(--htsp-grad)!important;color:#2A1705!important;font:800 17px/54px var(--htsp-font-h)!important;text-transform:none!important;letter-spacing:0!important;box-shadow:0 14px 28px -14px rgba(200,122,17,.9)!important;transition:transform .2s,box-shadow .2s!important;display:inline-flex!important;align-items:center;justify-content:center;gap:10px;}
body.htsp-product form.cart .single_add_to_cart_button:hover{transform:translateY(-2px);box-shadow:0 18px 34px -12px rgba(200,122,17,.95)!important;}
body.htsp-product form.cart .single_add_to_cart_button i{color:#2A1705!important;font-size:18px!important;}
body.htsp-product form.cart .single_add_to_cart_button.loading{opacity:.75;pointer-events:none;}
body.htsp-product form.cart .single_add_to_cart_button.loading:after{content:"";width:16px;height:16px;border-radius:50%;border:2px solid rgba(42,23,5,.35);border-top-color:#2A1705;animation:htspSpin .7s linear infinite;}
@keyframes htspSpin{to{transform:rotate(360deg)}}
.htsp-buy-now{flex:1 1 100%;height:54px;border:0!important;border-radius:999px!important;background:var(--htsp-ink)!important;color:var(--htsp-yellow)!important;font:800 17px/54px var(--htsp-font-h)!important;cursor:pointer;transition:background .2s,transform .2s;padding:0 24px!important;}
.htsp-buy-now:hover{background:var(--htsp-brown)!important;transform:translateY(-2px);}
.htsp-buy-now.loading{opacity:.7;pointer-events:none;}
body.htsp-product form.variations_form .variations{margin-bottom:6px!important;width:100%;}
body.htsp-product form.variations_form .variations select{height:48px;border-radius:12px;border:1px solid var(--htsp-line);padding:0 12px;background:#fff;}
body.htsp-product form.variations_form .single_variation_wrap{width:100%;display:flex;flex-wrap:wrap;gap:12px;}
body.htsp-product form.variations_form .woocommerce-variation-add-to-cart{display:flex;flex-wrap:wrap;gap:12px;width:100%;}
body.htsp-product .stock{font:700 14px var(--htsp-font-b);}
body.htsp-product .stock.in-stock{color:#1F8A4C!important;}
body.htsp-product .stock.out-of-stock{color:#C0392B!important;}

/* WhatsApp button */
.htsp-wa-btn{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:50px;margin:0 0 16px;border-radius:999px;border:2px solid var(--htsp-wa);color:#178a47!important;background:#fff;font:800 15px/1 var(--htsp-font-h);text-decoration:none!important;transition:background .2s,color .2s;}
.htsp-wa-btn svg{width:20px;height:20px;}
.htsp-wa-btn:hover,.htsp-wa-btn.is-primary{background:var(--htsp-wa);color:#fff!important;}
.htsp-wa-btn.is-primary{min-height:56px;font-size:17px;box-shadow:0 14px 28px -14px rgba(31,175,90,.8);}

/* Trust badges */
.htsp-trust{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:4px 0 22px!important;padding:0!important;list-style:none!important;}
.htsp-trust li{display:grid;grid-template-columns:38px 1fr;grid-template-rows:auto auto;column-gap:10px;align-items:center;padding:12px 14px;margin:0!important;background:#fff;border:1px solid var(--htsp-line);border-radius:14px;list-style:none!important;}
.htsp-trust li:before{display:none!important;}
.htsp-trust-ico{grid-row:1/3;width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:rgba(228,169,29,.16);font-size:17px;}
.htsp-trust b{font:800 14px/1.3 var(--htsp-font-h);color:var(--htsp-title);}
.htsp-trust small{font:500 12px/1.4 var(--htsp-font-b);color:var(--htsp-muted);}

/* Description / tabs / navigation */
body.htsp-product .single-product-content-bottom{margin-top:44px!important;}
body.htsp-product .product-content.entry-content{background:#fff;border:1px solid var(--htsp-line);border-radius:var(--htsp-radius);padding:30px 34px!important;margin:0 0 26px!important;box-shadow:var(--htsp-shadow);font:400 16px/2 var(--htsp-font-b)!important;color:var(--htsp-text)!important;}
body.htsp-product .product-content.entry-content:before{content:"تفاصيل المنتج";display:block;margin:0 0 14px;padding-bottom:12px;border-bottom:2px solid rgba(228,169,29,.35);font:800 22px/1.3 var(--htsp-font-h);color:var(--htsp-title);}
body.htsp-product .product-content.entry-content p{margin:0 0 6px!important;}
body.htsp-product .product-content.entry-content p:empty{display:none;}
body.htsp-product .product-content.entry-content img{border-radius:14px;}
body.htsp-product .block-navigation{display:flex!important;justify-content:space-between;margin:0 0 26px!important;}
body.htsp-product .block-navigation .gem-button,
body.htsp-product .gem-button-style-outline{border-color:var(--htsp-line)!important;color:var(--htsp-brown)!important;border-radius:999px!important;background:#fff!important;}
body.htsp-product .block-navigation .gem-button:hover{border-color:var(--htsp-gold)!important;background:var(--htsp-gold)!important;color:#2A1705!important;}
body.htsp-product .gem-woocommerce-tabs{margin-bottom:34px!important;}
body.htsp-product .gem-tta-tabs-list .gem-tta-tab a,
body.htsp-product .gem-tta-panel-heading a{font-family:var(--htsp-font-h)!important;font-weight:800!important;color:var(--htsp-title)!important;text-transform:none!important;}
body.htsp-product .gem-tta-tabs-list .gem-tta-tab.gem-tta-active a{color:var(--htsp-amber)!important;border-color:var(--htsp-gold)!important;}
body.htsp-product .gem-tta-panels-container,
body.htsp-product .gem-tta-panel-body{background:#fff!important;border-color:var(--htsp-line)!important;border-radius:var(--htsp-radius)!important;}
body.htsp-product #review_form .submit,
body.htsp-product #respond input#submit{background:var(--htsp-ink)!important;color:var(--htsp-yellow)!important;border-radius:999px!important;border:0!important;font-family:var(--htsp-font-h)!important;font-weight:800!important;}
body.htsp-product .star-rating span:before,
body.htsp-product .comment-form-rating .stars a{color:var(--htsp-gold)!important;}

/* Related / upsells (TheGem product grid) */
body.htsp-store .related.products>h2,
body.htsp-store .upsells.products>h2,
body.htsp-store .products-title,
body.htsp-store .related-products-title{font-family:var(--htsp-font-h)!important;font-weight:800!important;color:var(--htsp-title)!important;text-transform:none!important;letter-spacing:0!important;}
body.htsp-store ul.products li.product,
body.htsp-store .portfolio.products .portfolio-item .wrap{border-radius:var(--htsp-radius);}
body.htsp-store ul.products li.product .price,
body.htsp-store .portfolio.products .product-price .price{color:var(--htsp-brown)!important;font-weight:800!important;}
body.htsp-store .portfolio.products .add_to_cart_button,
body.htsp-store ul.products .add_to_cart_button,
body.htsp-store ul.products .button{background:var(--htsp-grad)!important;color:#2A1705!important;border:0!important;border-radius:999px!important;font-family:var(--htsp-font-h)!important;font-weight:800!important;}
body.htsp-store a.added_to_cart{display:none!important;}

/* Sticky mobile add-to-cart */
.htsp-sticky-atc{position:fixed;z-index:9980;inset-inline:10px;bottom:10px;display:none;align-items:center;gap:10px;padding:8px 8px;padding-inline-start:10px;background:rgba(20,17,16,.96);border:1px solid rgba(228,169,29,.35);border-radius:18px;box-shadow:0 18px 40px -16px rgba(0,0,0,.7);transform:translateY(130%);transition:transform .3s ease;backdrop-filter:blur(8px);}
.htsp-sticky-atc.is-visible{transform:none;}
.htsp-sticky-atc img{width:44px;height:44px;border-radius:10px;object-fit:cover;flex:0 0 44px;}
.htsp-sticky-info{flex:1;min-width:0;display:flex;flex-direction:column;}
.htsp-sticky-info strong{color:#FFF8EA;font:700 13px/1.35 var(--htsp-font-h);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.htsp-sticky-info span,.htsp-sticky-info .amount{color:var(--htsp-yellow)!important;font:800 14px/1.4 var(--htsp-font-h)!important;}
.htsp-sticky-info del{opacity:.6;}
.htsp-sticky-info ins{text-decoration:none;}
.htsp-sticky-btn{flex:0 0 auto;height:46px;padding:0 18px;border:0;border-radius:14px;background:var(--htsp-grad);color:#2A1705;font:800 14px var(--htsp-font-h);cursor:pointer;}
@media (max-width:767px){
  .htsp-sticky-atc{display:flex;}
  body.htsp-product .reme-sticky{bottom:84px!important;}
}

/* ==========================================================================
   CART PAGE
   ========================================================================== */
body.htsp-cart .woocommerce{max-width:1200px;margin:0 auto;}
body.htsp-cart .woocommerce-cart-form{background:#fff;border:1px solid var(--htsp-line);border-radius:var(--htsp-radius);box-shadow:var(--htsp-shadow);padding:10px 24px 20px;margin-bottom:26px;}
body.htsp-cart .cart-short-info{font:700 15px var(--htsp-font-h)!important;color:var(--htsp-muted)!important;margin:6px 0 16px!important;}
body.htsp-cart table.shop_table.cart{border:0!important;margin:0!important;background:transparent!important;border-collapse:separate!important;border-spacing:0!important;}
body.htsp-cart table.shop_table.cart thead th{background:transparent!important;color:var(--htsp-muted)!important;font:700 13px var(--htsp-font-h)!important;text-transform:none!important;letter-spacing:0!important;border:0!important;border-bottom:1px solid var(--htsp-line)!important;padding:16px 10px!important;text-align:start!important;}
body.htsp-cart table.shop_table.cart td{border:0!important;border-bottom:1px solid var(--htsp-line)!important;padding:18px 10px!important;background:transparent!important;vertical-align:middle!important;color:var(--htsp-text)!important;font-family:var(--htsp-font-b)!important;}
body.htsp-cart table.shop_table.cart td.product-thumbnail img{width:84px!important;height:84px!important;object-fit:cover;border-radius:14px;border:1px solid var(--htsp-line);}
body.htsp-cart table.shop_table.cart td.product-name a,
body.htsp-cart table.shop_table.cart .product-title a{font:800 16px/1.45 var(--htsp-font-h)!important;color:var(--htsp-title)!important;text-decoration:none!important;}
body.htsp-cart table.shop_table.cart td.product-name a:hover{color:var(--htsp-amber)!important;}
body.htsp-cart table.shop_table.cart td.product-price .amount{color:var(--htsp-text)!important;font-weight:700!important;}
body.htsp-cart table.shop_table.cart td.product-subtotal .amount{color:var(--htsp-brown)!important;font-weight:900!important;font-size:17px!important;}
body.htsp-cart table.shop_table.cart td.product-remove a.remove{width:32px!important;height:32px!important;line-height:30px!important;border-radius:999px!important;border:1px solid var(--htsp-line)!important;color:var(--htsp-muted)!important;background:#fff!important;font-size:18px!important;display:inline-block;text-align:center;transition:all .2s;}
body.htsp-cart table.shop_table.cart td.product-remove a.remove:hover{background:#D64545!important;border-color:#D64545!important;color:#fff!important;}
body.htsp-cart .quantity{display:inline-flex!important;align-items:center;width:auto!important;min-width:0!important;height:46px;border:1px solid var(--htsp-line);border-radius:999px;background:#fff;overflow:hidden;}
body.htsp-cart .quantity input.qty{flex:0 0 46px!important;width:46px!important;height:44px!important;border:0!important;background:transparent!important;text-align:center!important;font:800 16px var(--htsp-font-h)!important;color:var(--htsp-title)!important;padding:0!important;box-shadow:none!important;}
body.htsp-cart .quantity .minus,
body.htsp-cart .quantity .plus{flex:0 0 38px!important;width:38px!important;height:44px!important;border:0!important;background:transparent!important;color:var(--htsp-brown)!important;font:700 18px var(--htsp-font-h)!important;cursor:pointer;}
body.htsp-cart td.actions{padding-top:20px!important;border-bottom:0!important;}
body.htsp-cart td.actions .coupon{display:flex!important;align-items:center;gap:10px;flex-wrap:wrap;float:none!important;}
body.htsp-cart td.actions .coupon label{display:none!important;}
body.htsp-cart td.actions .coupon input#coupon_code{height:48px!important;min-width:220px;border:1px dashed rgba(200,122,17,.6)!important;border-radius:999px!important;padding:0 18px!important;background:#FFFDF8!important;font:700 14px var(--htsp-font-b)!important;}
body.htsp-cart td.actions .button,
body.htsp-cart td.actions .gem-button{height:48px!important;line-height:48px!important;padding:0 22px!important;border:0!important;border-radius:999px!important;background:var(--htsp-ink)!important;color:var(--htsp-yellow)!important;font:800 14px/48px var(--htsp-font-h)!important;text-transform:none!important;margin:0!important;}
body.htsp-cart td.actions>.button[name="update_cart"]{float:inline-end;background:transparent!important;color:var(--htsp-brown)!important;border:1px solid var(--htsp-line)!important;}
body.htsp-cart td.actions>.button[name="update_cart"]:disabled{opacity:.45;}
body.htsp-cart .cart-collaterals{display:flex;justify-content:flex-end;}
body.htsp-cart .cart_totals{width:100%!important;max-width:460px;float:none!important;background:#fff;border:1px solid var(--htsp-line);border-radius:var(--htsp-radius);box-shadow:var(--htsp-shadow);padding:24px!important;}
body.htsp-cart .cart_totals h2,
body.htsp-cart .cart_totals_title h2{font:800 20px var(--htsp-font-h)!important;color:var(--htsp-title)!important;text-transform:none!important;letter-spacing:0!important;margin:0 0 12px!important;}
body.htsp-cart .cart_totals table{border:0!important;margin:0!important;background:transparent!important;}
body.htsp-cart .cart_totals table th,
body.htsp-cart .cart_totals table td{border:0!important;border-bottom:1px solid var(--htsp-line)!important;background:transparent!important;padding:12px 0!important;color:var(--htsp-text)!important;font:600 15px var(--htsp-font-b)!important;text-transform:none!important;}
body.htsp-cart .cart_totals table td{text-align:end!important;}
body.htsp-cart .cart_totals .order-total th,
body.htsp-cart .cart_totals .order-total td,
body.htsp-cart .cart_totals .order-total .amount{border-bottom:0!important;color:var(--htsp-brown)!important;font:900 20px var(--htsp-font-h)!important;}
body.htsp-cart #shipping_method{margin:0!important;padding:0!important;list-style:none!important;}
body.htsp-cart #shipping_method li{margin:0!important;}
body.htsp-hide-calc.htsp-cart .woocommerce-shipping-calculator,
body.htsp-hide-calc.htsp-cart .woocommerce-shipping-destination{display:none!important;}
body.htsp-cart .wc-proceed-to-checkout{padding:18px 0 0!important;border:0!important;background:transparent!important;}
body.htsp-cart .wc-proceed-to-checkout .gem-button-container{display:block!important;width:100%;margin:0!important;}
body.htsp-cart .wc-proceed-to-checkout a.gem-button,
body.htsp-cart .wc-proceed-to-checkout a.checkout-button{display:flex!important;align-items:center;justify-content:center;width:100%!important;height:56px!important;margin:0!important;border:0!important;border-radius:999px!important;background:var(--htsp-grad)!important;color:#2A1705!important;font:800 17px/56px var(--htsp-font-h)!important;text-transform:none!important;box-shadow:0 14px 28px -14px rgba(200,122,17,.9)!important;}
.htsp-cart-assurance{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 16px;margin-top:14px;font:600 12.5px var(--htsp-font-b);color:var(--htsp-muted);}
.htsp-continue{display:block;text-align:center;margin-top:12px;font:700 14px var(--htsp-font-h);color:var(--htsp-amber)!important;text-decoration:none!important;}
body.htsp-cart .cart-empty,
body.htsp-cart .wc-empty-cart-message{text-align:center;font:700 18px var(--htsp-font-h)!important;}
body.htsp-cart .return-to-shop .button,
body.htsp-cart .return-to-shop .gem-button{background:var(--htsp-grad)!important;color:#2A1705!important;border:0!important;border-radius:999px!important;font:800 15px var(--htsp-font-h)!important;}

@media (max-width:767px){
  body.htsp-cart .woocommerce-cart-form{padding:6px 12px 14px;}
  body.htsp-cart table.shop_table_responsive.cart tr.cart_item{display:grid!important;grid-template-columns:84px 1fr auto;grid-template-areas:"thumb name remove" "thumb qty sub";column-gap:12px;row-gap:6px;padding:14px 0;border-bottom:1px solid var(--htsp-line);}
  body.htsp-cart table.shop_table_responsive.cart tr.cart_item td{display:block!important;border:0!important;padding:0!important;text-align:start!important;}
  body.htsp-cart table.shop_table_responsive.cart tr.cart_item td:before{display:none!important;}
  body.htsp-cart tr.cart_item td.product-thumbnail{grid-area:thumb;}
  body.htsp-cart tr.cart_item td.product-thumbnail img{width:84px!important;height:84px!important;}
  body.htsp-cart tr.cart_item td.product-name{grid-area:name;}
  body.htsp-cart tr.cart_item td.product-remove{grid-area:remove;}
  body.htsp-cart tr.cart_item td.product-price{display:none!important;}
  body.htsp-cart tr.cart_item td.product-quantity{grid-area:qty;}
  body.htsp-cart tr.cart_item td.product-subtotal{grid-area:sub;align-self:center;}
  body.htsp-cart td.actions .coupon input#coupon_code{min-width:0;flex:1;}
  body.htsp-cart td.actions>.button[name="update_cart"]{float:none;width:100%;margin-top:10px!important;}
  body.htsp-cart .cart_totals{max-width:none;}
  body.htsp-product .single-product-content-right{padding-inline-start:0!important;margin-top:22px;}
  .htsp-trust{grid-template-columns:1fr 1fr;}
  .htsp-header-cart{top:auto;bottom:86px;}
  .htsp-header-cart.is-in-header{top:50%;bottom:auto;inset-inline-end:14px;width:44px;height:44px;}
  body.htsp-product .product-content.entry-content{padding:22px 18px!important;}
}

/* ==========================================================================
   CART DRAWER
   ========================================================================== */
.htsp-drawer{position:fixed;inset:0;z-index:999999;visibility:hidden;pointer-events:none;}
.htsp-drawer.is-open{visibility:visible;pointer-events:auto;}
.htsp-drawer-backdrop{position:absolute;inset:0;background:rgba(20,17,16,.55);opacity:0;transition:opacity .3s;backdrop-filter:blur(2px);}
.htsp-drawer.is-open .htsp-drawer-backdrop{opacity:1;}
.htsp-drawer-panel{position:absolute;top:0;bottom:0;inset-inline-end:0;width:min(420px,92vw);display:flex;flex-direction:column;background:var(--htsp-cream);box-shadow:-20px 0 60px -20px rgba(0,0,0,.5);transform:translateX(-105%);transition:transform .35s cubic-bezier(.2,.8,.2,1);font-family:var(--htsp-font-b);}
html:not([dir="rtl"]) .htsp-drawer-panel{transform:translateX(105%);}
.htsp-drawer.is-open .htsp-drawer-panel{transform:none;}
.htsp-drawer-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;background:#141110;border-bottom:1px solid rgba(228,169,29,.3);}
.htsp-drawer-title{display:flex;align-items:center;gap:12px;min-width:0;}
.htsp-drawer-title img{width:40px;height:40px;object-fit:contain;}
.htsp-drawer-title strong{display:block;color:#FFF8EA;font:800 17px/1.2 var(--htsp-font-h);}
.htsp-drawer-meta{display:flex;gap:8px;align-items:center;color:#CFC2B2;font:500 12.5px/1.4 var(--htsp-font-b);margin-top:2px;}
.htsp-drawer-meta strong{font-size:12.5px;color:var(--htsp-yellow);}
.htsp-drawer-meta .amount{color:var(--htsp-yellow);}
.htsp-drawer-close{width:40px;height:40px;border-radius:999px;border:1px solid rgba(228,169,29,.35);background:transparent;color:var(--htsp-yellow);font-size:24px;line-height:1;cursor:pointer;}
.htsp-drawer-toast{display:none;margin:12px 16px 0;padding:10px 14px;border-radius:12px;background:#E9F7EF;border:1px solid #BFE6CF;color:#176B3A;font:700 13.5px var(--htsp-font-h);}
.htsp-drawer-toast.is-error{background:#FDECEC;border-color:#F3C1C1;color:#9B2C2C;}
.htsp-drawer-toast.is-show{display:block;animation:htspFade .3s ease;}
@keyframes htspFade{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
.htsp-drawer-body{flex:1;overflow:auto;padding:6px 16px 16px;}
.htsp-drawer-body.is-busy{opacity:.55;pointer-events:none;}
.htsp-drawer .widget_shopping_cart_content .woocommerce-mini-cart,
.htsp-drawer .widget_shopping_cart_content ul.cart_list{margin:0!important;padding:0!important;list-style:none!important;}
.htsp-drawer .woocommerce-mini-cart-item,
.htsp-drawer .mini_cart_item{position:relative;display:grid!important;grid-template-columns:64px 1fr;grid-template-rows:auto auto;column-gap:12px;row-gap:6px;align-items:center;margin:10px 0 0!important;padding:12px!important;padding-inline-end:40px!important;background:#fff;border:1px solid var(--htsp-line);border-radius:14px;list-style:none!important;}
.htsp-drawer .mini_cart_item:before{display:none!important;}
.htsp-drawer .mini_cart_item>a:not(.remove){grid-row:1/3;display:contents!important;color:var(--htsp-title)!important;font:800 14px/1.45 var(--htsp-font-h)!important;text-decoration:none!important;}
.htsp-drawer .mini_cart_item img:not(.emoji){grid-row:1/3;grid-column:1;width:64px!important;height:64px!important;object-fit:cover;border-radius:10px;margin:0!important;float:none!important;}
.htsp-drawer .mini_cart_item a.remove{position:absolute!important;top:10px;inset-inline-end:10px;inset-inline-start:auto!important;width:26px!important;height:26px!important;line-height:24px!important;border-radius:999px!important;border:1px solid var(--htsp-line)!important;color:var(--htsp-muted)!important;background:#fff!important;text-align:center;font-size:16px!important;}
.htsp-drawer .mini_cart_item a.remove:hover{background:#D64545!important;border-color:#D64545!important;color:#fff!important;}
.htsp-drawer .mini_cart_item .variation{grid-column:2;margin:0!important;font-size:12px;color:var(--htsp-muted);}
.htsp-drawer .mini_cart_item .quantity{grid-column:2;display:flex!important;align-items:center;justify-content:space-between;gap:10px;color:var(--htsp-muted)!important;font:700 13px var(--htsp-font-b)!important;}
.htsp-mc-qty{display:inline-flex;align-items:center;height:34px;border:1px solid var(--htsp-line);border-radius:999px;background:var(--htsp-cream);overflow:hidden;}
.htsp-q-btn{width:32px;height:32px;border:0;background:transparent;color:var(--htsp-brown);font:700 17px/1 var(--htsp-font-h);cursor:pointer;padding:0;}
.htsp-q-btn:hover{color:var(--htsp-amber);}
.htsp-q-val{min-width:24px;text-align:center;font:800 14px var(--htsp-font-h);color:var(--htsp-title);}
.htsp-mc-price,.htsp-mc-price .amount{color:var(--htsp-brown)!important;font:800 14px var(--htsp-font-h)!important;}
.htsp-drawer .woocommerce-mini-cart__total,
.htsp-drawer .total{display:flex!important;justify-content:space-between;align-items:center;margin:16px 0 12px!important;padding:14px 16px!important;background:#fff;border:1px solid var(--htsp-line);border-radius:14px;font:700 15px var(--htsp-font-h)!important;color:var(--htsp-title)!important;}
.htsp-drawer .woocommerce-mini-cart__total .amount,
.htsp-drawer .total .amount{font:900 19px var(--htsp-font-h)!important;color:var(--htsp-brown)!important;}
.htsp-drawer .woocommerce-mini-cart__buttons,
.htsp-drawer .buttons{display:grid!important;grid-template-columns:1fr 1.4fr;gap:10px;margin:0!important;}
.htsp-drawer .woocommerce-mini-cart__buttons a,
.htsp-drawer .buttons a,
.htsp-drawer .buttons .gem-button{display:flex!important;align-items:center;justify-content:center;height:50px!important;margin:0!important;padding:0 12px!important;border-radius:999px!important;border:1px solid var(--htsp-line)!important;background:#fff!important;color:var(--htsp-brown)!important;font:800 14px/1 var(--htsp-font-h)!important;text-transform:none!important;text-decoration:none!important;width:auto!important;}
.htsp-drawer .woocommerce-mini-cart__buttons a.checkout,
.htsp-drawer .buttons a.checkout,
.htsp-drawer .buttons .gem-button.checkout,
.htsp-drawer .buttons a:last-child{background:var(--htsp-grad)!important;border:0!important;color:#2A1705!important;box-shadow:0 12px 24px -12px rgba(200,122,17,.9);}
.htsp-drawer .woocommerce-mini-cart__empty-message{margin:40px 0 0!important;text-align:center;font:700 16px var(--htsp-font-h);color:var(--htsp-muted);}
.htsp-drawer .woocommerce-mini-cart__empty-message:before{content:"🛒";display:block;font-size:44px;margin-bottom:10px;}
.htsp-drawer-foot{display:flex;justify-content:space-around;gap:6px;padding:12px 10px;background:#fff;border-top:1px solid var(--htsp-line);font:700 12px var(--htsp-font-h);color:var(--htsp-text);}
body.htsp-drawer-open{overflow:hidden;}

/* ---------- v2.0.1: drawer top action bar (always visible) ---------- */
.htsp-drawer-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:12px 16px;background:#141110;border-bottom:1px solid rgba(228,169,29,.3);position:relative;z-index:2;}
.htsp-da-btn{display:flex!important;align-items:center;justify-content:center;gap:8px;height:52px;border-radius:999px;font:800 16px/1 var(--htsp-font-h)!important;text-decoration:none!important;transition:transform .2s,box-shadow .2s,background .2s;}
.htsp-da-btn:hover{transform:translateY(-2px);}
.htsp-da-btn svg{width:20px;height:20px;flex:0 0 20px;}
.htsp-da-cart{background:var(--htsp-grad);color:#2A1705!important;box-shadow:0 12px 26px -12px rgba(228,169,29,.9);}
.htsp-da-checkout{background:transparent;color:var(--htsp-yellow)!important;border:1.5px solid var(--htsp-gold);}
.htsp-da-checkout:hover{background:var(--htsp-gold);color:#2A1705!important;}
.htsp-drawer:not(.has-items) .htsp-drawer-actions{display:none;}
/* The theme's own mini-cart buttons (blue gem-buttons) are replaced by the bar above */
.htsp-drawer-body .woocommerce-mini-cart__buttons,
.htsp-drawer-body p.buttons,
.htsp-drawer-body .minicart-buttons,
.htsp-drawer-body a.wc-forward,
.htsp-drawer-body a.checkout{display:none!important;}
/* WP emoji images inside product names must stay text-sized */
.htsp-drawer img.emoji,body.htsp-store img.emoji,body.htsp-checkout img.emoji{width:1em!important;height:1em!important;min-width:0!important;margin:0 .1em!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;display:inline!important;vertical-align:-.1em!important;object-fit:contain!important;grid-row:auto!important;grid-column:auto!important;}
.htsp-drawer .mini_cart_item>a:not(.remove){color:var(--htsp-title)!important;font:800 14.5px/1.5 var(--htsp-font-h)!important;}
/* Floating WhatsApp/Facebook bars must not cover the drawer */
body.htsp-drawer-open .reme-sticky,body.htsp-drawer-open [class*="reme-sticky"]{display:none!important;}
.htsp-drawer{z-index:2147483000;}
@media (max-width:480px){.htsp-da-btn{height:48px;font-size:15px!important;}}
