/* Shopify-style cart + checkout */
body.hamayl-shopify-page{
  background:#f5f5f5;
}
body.hamayl-shopify-page .hamayl-main{
  max-width:1100px;
  padding-top:20px;
}
body.hamayl-shopify-page .hamayl-page>h1:first-child{display:none}

.hamayl-shopify{color:var(--ink)}
.hamayl-shopify__crumb{
  display:flex;gap:8px;align-items:center;font-size:13px;color:var(--muted);margin:0 0 10px
}
.hamayl-shopify__crumb a{color:var(--accent-2);text-decoration:none;font-weight:700}
.hamayl-shopify__title{font-size:clamp(26px,5vw,34px);letter-spacing:-.03em;margin:0 0 18px}

.hamayl-shopify--cart{
  display:grid;gap:18px
}
@media(min-width:900px){
  .hamayl-shopify--cart{
    grid-template-columns:minmax(0,1.4fr) minmax(280px,.8fr);
    grid-template-areas:
      "crumb crumb"
      "title title"
      "cont cont"
      "cart aside"
      "bundles aside";
    align-items:start
  }
  .hamayl-shopify--cart .hamayl-shopify__crumb{grid-area:crumb}
  .hamayl-shopify--cart .hamayl-shopify__title{grid-area:title}
  .hamayl-shopify--cart > .hamayl-continue--inline{grid-area:cont}
  .hamayl-shopify--cart .hamayl-cart{grid-area:cart}
  .hamayl-shopify--cart .hamayl-cart__bundles{grid-area:bundles}
  .hamayl-shopify--cart .hamayl-cart__aside{grid-area:aside}
}

.hamayl-cart,.hamayl-summary,.hamayl-check__main #customer_details,
.woocommerce-additional-fields,.woocommerce-checkout-payment{
  background:#fff;border:1px solid #e6e6e6;border-radius:12px;padding:16px;box-shadow:0 1px 0 rgba(0,0,0,.03)
}
.hamayl-cart__row{
  display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:12px;align-items:start;
  padding:14px 0;border-bottom:1px solid #eee;min-width:0
}
.hamayl-cart__info{min-width:0;overflow:hidden}
.hamayl-summary__row{
  display:flex;align-items:center;gap:12px;min-width:0;
  padding:14px 0;border-bottom:1px solid #eee
}
.hamayl-cart__row:last-child,.hamayl-summary__row:last-child{border-bottom:0;padding-bottom:0}
.hamayl-cart__row:first-child,.hamayl-summary__row:first-child{padding-top:0}
.hamayl-cart__media{position:relative;width:64px;flex:0 0 auto}
.hamayl-cart__media img{
  width:64px;height:64px;object-fit:contain;border-radius:8px;background:#f6f6f6;border:1px solid #eee
}
.hamayl-cart__qty-badge{
  position:absolute;top:-7px;right:-7px;min-width:20px;height:20px;padding:0 6px;
  border-radius:99px;background:#1a1a1a;color:#fff;font-size:11px;font-weight:700;
  display:inline-flex;align-items:center;justify-content:center
}
.hamayl-cart__name{
  font-weight:700;text-decoration:none;font-size:15px;line-height:1.35;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;
  overflow:hidden;word-break:break-word
}
.hamayl-cart__name:hover{color:var(--accent-2)}
.hamayl-cart__var{display:block;margin-top:3px;font-size:13px;font-weight:600;color:#6d7175}
.hamayl-cart__info:has(.hamayl-cart__var) .variation,
.hamayl-cart__info:has(.hamayl-cart__var) dl{display:none}
.hamayl-cart__info .variation,.hamayl-cart__info dl{
  margin:4px 0 0;font-size:12px;color:#6d7175;padding:0
}
.hamayl-cart__info .variation p,.hamayl-cart__info dd p,
.hamayl-cart__info .variation dt{display:inline;margin:0}
.hamayl-cart__info dd{margin:0}
.hamayl-cart__tools{display:flex;align-items:center;gap:10px;margin-top:10px}
.hamayl-cart__remove{font-size:13px;color:#6d7175;text-decoration:underline}
.hamayl-cart__price{font-weight:800;white-space:nowrap;font-size:15px}
.hamayl-cart .quantity{
  display:inline-flex;align-items:stretch;height:40px;border:1px solid #d0d0d0;border-radius:8px;overflow:hidden
}
.hamayl-cart .hamayl-qty__btn{width:36px;flex:0 0 36px;font-size:18px;background:#f7f7f7}
.hamayl-cart .quantity input.qty{
  width:44px;min-height:40px;height:40px;border:0;border-left:1px solid #eee;border-right:1px solid #eee;border-radius:0;background:#fff;font-weight:800
}
.hamayl-cart__actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:14px}
.hamayl-cart__coupon{display:flex;gap:8px;flex:1;min-width:220px}
.hamayl-cart__coupon input{
  flex:1;min-height:44px;border:1px solid #d0d0d0;border-radius:8px;padding:0 12px;background:#fff;font-size:16px
}
.hamayl-cart__coupon .button,.hamayl-cart__update{
  min-height:44px;border-radius:8px;background:#fff;color:var(--ink);border:1px solid #d0d0d0
}
.hamayl-summary h2,#order_review_heading{
  font-size:16px;margin:0 0 14px;padding-bottom:10px;border-bottom:1px solid #eee;letter-spacing:0
}
.woocommerce-checkout-review-order-table thead{display:none}
.woocommerce-checkout-review-order-table,
.hamayl-summary table.shop_table,.hamayl-summary__totals{
  border:0;box-shadow:none;border-radius:0;background:transparent;margin:0;width:100%;
  table-layout:auto;overflow:visible!important
}
.woocommerce-checkout-review-order-table .cart_item td{
  padding:12px 0;border:0;vertical-align:middle;background:transparent
}
.woocommerce-checkout-review-order-table .product-name{min-width:0;width:auto}
.woocommerce-checkout-review-order-table .product-name .hamayl-summary__row{
  display:flex;align-items:center;gap:12px;border:0;padding:0;min-width:0
}
.woocommerce-checkout-review-order-table .hamayl-cart__media{
  flex:0 0 56px;width:56px;max-width:56px
}
.woocommerce-checkout-review-order-table .hamayl-cart__media img,
.woocommerce-checkout-review-order-table .product-name img{
  width:56px!important;height:56px!important;max-width:56px!important;display:block;object-fit:contain
}
.woocommerce-checkout-review-order-table .hamayl-cart__info{flex:1 1 auto;min-width:0;overflow:hidden}
.woocommerce-checkout-review-order-table .product-total{
  text-align:right;font-weight:800;white-space:nowrap;vertical-align:middle;
  width:1%;min-width:max-content;padding-left:12px
}
.woocommerce-checkout-review-order-table .hamayl-cart__name{
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;
  overflow:hidden;white-space:normal;word-break:break-word;max-width:100%;font-size:14px;line-height:1.3
}
.woocommerce-checkout-review-order-table .woocommerce-shipping-totals th,
.woocommerce-checkout-review-order-table .woocommerce-shipping-totals td,
.woocommerce-checkout-review-order-table tfoot th,
.woocommerce-checkout-review-order-table tfoot td{
  padding:8px 0;border:0;background:transparent;vertical-align:middle;overflow:visible
}
.woocommerce-checkout-review-order-table tfoot td,
.woocommerce-checkout-review-order-table .order-total td,
.woocommerce-checkout-review-order-table .order-total .amount{
  white-space:nowrap;width:1%;min-width:max-content
}
.hamayl-summary table.shop_table th,
.hamayl-summary table.shop_table td,
.hamayl-summary__totals th,.hamayl-summary__totals td{
  padding:8px 0;border:0;background:transparent;font-size:14px;font-weight:500
}
.hamayl-summary table.shop_table td,.hamayl-summary__totals td{text-align:right}
.hamayl-summary .order-total th,.hamayl-summary .order-total td,
.hamayl-summary__totals .order-total th,.hamayl-summary__totals .order-total td{
  font-size:18px;font-weight:800;padding-top:12px
}
.hamayl-summary .order-total .amount{color:var(--ink);font-size:18px}
.hamayl-summary__note{font-size:13px;color:#6d7175;margin:8px 0 14px}
.hamayl-continue{
  display:flex;align-items:center;justify-content:center;width:100%;min-height:48px;
  margin-top:10px;border:1px solid #d0d0d0;border-radius:10px;background:#fff;
  color:var(--ink);font-weight:700;text-decoration:none
}
.hamayl-continue:hover{border-color:#1a1a1a;color:#1a1a1a}
.hamayl-continue--inline{
  display:inline-flex;width:auto;min-height:0;margin:-8px 0 16px;padding:0;
  border:0;background:transparent;color:var(--accent-2);font-size:14px
}
.hamayl-cart__bundles{
  background:#fff;border:1px solid #e6e6e6;border-radius:12px;padding:16px;box-shadow:0 1px 0 rgba(0,0,0,.03);
  min-width:0;overflow:hidden
}
.hamayl-cart__bundles h2{
  font-size:16px;margin:0 0 12px;padding-bottom:10px;border-bottom:1px solid #eee
}
.hamayl-cart__bundle-btns{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px}
.hamayl-cart__bundle-btn{
  display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 14px;
  border:1px solid #d0d0d0;border-radius:999px;background:#fff;color:var(--ink);
  font-size:13px;font-weight:700;text-decoration:none
}
.hamayl-cart__bundle-btn:hover{border-color:#1a1a1a;background:#fafafa}
.hamayl-cart__bundles .cross-sells{margin:0;min-width:0;overflow:hidden}
.hamayl-cart__bundles .cross-sells>h2{font-size:14px;text-transform:none;letter-spacing:0;margin:8px 0 12px;border:0;padding:0}
.hamayl-cart__bundles ul.products,
.hamayl-cart__bundles .cross-sells ul.products,
.hamayl-cart__bundles .cross-sells .products{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px;list-style:none;margin:0;padding:0;overflow:hidden
}
.hamayl-cart__bundles ul.products li.product,
.hamayl-cart__bundles .cross-sells ul.products li.product{
  width:100%!important;max-width:none!important;min-width:0;float:none!important;margin:0!important
}
.hamayl-cart__bundles .hamayl-card{min-width:0}
.hamayl-cart__bundles .hamayl-qv-open:not(.hamayl-qv-open--icon){
  min-height:34px;margin:6px 8px 0;font-size:11px
}
.hamayl-cart__bundles .hamayl-card__add{width:100%;min-height:36px;font-size:12px}
.hamayl-cart__bundles .hamayl-price{font-size:14px}
@media(min-width:720px){
  .hamayl-cart__bundles ul.products,
  .hamayl-cart__bundles .cross-sells ul.products{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
.wc-proceed-to-checkout .checkout-button,
#place_order{
  width:100%;min-height:52px;border:0;border-radius:10px;background:#1a1a1a;color:#fff;
  font-weight:800;font-size:16px
}
@media(min-width:900px){
  .hamayl-cart__aside{position:sticky;top:84px}
}
.wc-proceed-to-checkout .checkout-button:hover,
#place_order:hover{
  background:linear-gradient(135deg,var(--accent),var(--accent-2));color:var(--ink)
}

.hamayl-check__grid{display:grid;gap:18px}
@media(min-width:900px){
  .hamayl-check__grid{grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);align-items:start}
  .hamayl-check__aside{position:sticky;top:84px}
}

.hamayl-check .woocommerce-billing-fields>h3,
.hamayl-check .woocommerce-shipping-fields>h3,
.hamayl-check .woocommerce-additional-fields>h3{
  font-size:16px;margin:0 0 14px;padding-bottom:10px;border-bottom:1px solid #eee
}
.hamayl-check .woocommerce-billing-fields__field-wrapper,
.hamayl-check .woocommerce-shipping-fields__field-wrapper{
  display:grid;grid-template-columns:1fr;gap:12px
}
.hamayl-check .form-row{margin:0;width:100%!important;float:none!important;clear:none!important}
.hamayl-check label{display:block;font-size:13px;font-weight:600;margin:0 0 6px;color:#42474c}
.hamayl-check .optional{color:#8a8f94;font-weight:500}
.hamayl-check input.input-text,
.hamayl-check input[type="email"],
.hamayl-check input[type="tel"],
.hamayl-check input[type="text"],
.hamayl-check select,
.hamayl-check textarea,
.hamayl-check .select2-container .select2-selection--single{
  width:100%;min-height:48px;border:1px solid #d0d0d0;border-radius:8px;padding:10px 12px;
  background:#fff;font-size:16px;color:var(--ink);box-shadow:none;appearance:none
}
.hamayl-check textarea{min-height:88px}
.hamayl-check input:focus,
.hamayl-check select:focus,
.hamayl-check textarea:focus{
  outline:none;border-color:#1a1a1a;box-shadow:0 0 0 3px rgba(26,26,26,.12)
}
.hamayl-check .woocommerce-invalid input,
.hamayl-check .woocommerce-invalid select{border-color:#e11d2e}
.hamayl-check #billing_country_field,
.hamayl-check #shipping_country_field,
.hamayl-check #billing_postcode_field,
.hamayl-check #shipping_postcode_field,
.hamayl-check .form-row.hidden{display:none!important}
@media(min-width:720px){
  .hamayl-check .woocommerce-billing-fields__field-wrapper,
  .hamayl-check .woocommerce-shipping-fields__field-wrapper{grid-template-columns:1fr 1fr}
  .hamayl-check .form-row-wide{grid-column:1/-1}
}

.hamayl-summary #shipping_method,
.hamayl-summary .woocommerce-shipping-methods,
.hamayl-check #shipping_method,
.hamayl-check .woocommerce-shipping-methods,
.hamayl-check ul.wc_payment_methods{
  list-style:none;padding:0;margin:0;display:grid;gap:8px
}
.hamayl-summary #shipping_method li,
.hamayl-check #shipping_method li,
.hamayl-check ul.wc_payment_methods li{margin:0;border:0;padding:0;font-weight:600}
.hamayl-check #shipping_method label,
.hamayl-check ul.wc_payment_methods label{
  display:flex;align-items:center;gap:10px;margin:0;padding:12px 14px;
  border:1px solid #d0d0d0;border-radius:10px;background:#fff;cursor:pointer
}
.hamayl-check #shipping_method input[type="radio"],
.hamayl-check ul.wc_payment_methods input[type="radio"]{
  appearance:none;width:18px;height:18px;min-height:18px;padding:0;flex:0 0 18px;
  border:2px solid #c5c5c5;border-radius:50%;background:#fff
}
.hamayl-check #shipping_method input[type="radio"]:checked,
.hamayl-check ul.wc_payment_methods input[type="radio"]:checked{
  border-color:#1a1a1a;background:radial-gradient(circle,#1a1a1a 45%,#fff 48%)
}
.hamayl-check #shipping_method li:has(:checked) label,
.hamayl-check ul.wc_payment_methods li:has(:checked) label{
  border-color:#1a1a1a;background:#fafafa;box-shadow:0 0 0 1px #1a1a1a
}
.woocommerce-checkout-payment{margin-top:14px;background:#fafafa}
.woocommerce-privacy-policy-text{font-size:12px;color:#6d7175}

.hamayl-empty{
  max-width:420px;margin:48px auto;text-align:center;background:#fff;
  border:1px solid #e6e6e6;border-radius:16px;padding:36px 22px
}
.hamayl-empty h1{font-size:28px;margin:0 0 8px}
.hamayl-empty p{color:#6d7175;margin:0 0 18px}
.hamayl-empty .hamayl-btn{min-width:200px}

.hamayl-shopify-page .wc-block-cart,
.hamayl-shopify-page .wp-block-woocommerce-cart,
.hamayl-shopify-page .with-empty-cart-icon::before{display:none!important}

body.hamayl-shopify-page table.shop_table,
body.hamayl-shopify-page table.shop_table_responsive{
  border:0!important;box-shadow:none!important;background:transparent!important;border-radius:0!important
}
body.hamayl-shopify-page table.shop_table th,
body.hamayl-shopify-page table.shop_table td{
  display:table-cell!important;background:transparent!important;text-transform:none!important;letter-spacing:0
}
body.hamayl-shopify-page table.shop_table td::before{
  content:none!important;display:none!important
}
body.hamayl-shopify-page .woocommerce-shipping-destination{margin:6px 0 0;font-size:12px;color:#6d7175}
.hamayl-cart .quantity label{position:absolute;clip:rect(1px,1px,1px,1px);height:1px;width:1px;overflow:hidden}
.hamayl-check__aside{
  background:#fff;border:1px solid #e6e6e6;border-radius:12px;padding:16px;box-shadow:0 1px 0 rgba(0,0,0,.03)
}
.hamayl-check__aside #order_review_heading{margin:0 0 14px;padding-bottom:10px;border-bottom:1px solid #eee;font-size:16px}
.hamayl-check__aside .hamayl-summary,
.hamayl-check__aside .woocommerce-checkout-payment{
  background:transparent;border:0;padding:0;box-shadow:none;margin:0
}
.hamayl-shopify-page .woocommerce-form-login-toggle,
.hamayl-shopify-page .woocommerce-form-coupon-toggle{
  max-width:1100px;margin:0 auto 8px
}
.hamayl-shopify-page .woocommerce-form-login,
.hamayl-shopify-page .woocommerce-form-coupon{
  max-width:1100px;margin:0 auto 12px;background:#fff;border:1px solid #e6e6e6;border-radius:12px;padding:14px
}
.hamayl-shopify-page .wc-empty-cart-message,
.hamayl-shopify-page #ht-ctc-chat,
.hamayl-shopify-page .ht-ctc{display:none!important}

/* Flatten shipping in the order summary so it matches Subtotal/Total. */
body.woocommerce-checkout .woocommerce-checkout-review-order-table #shipping_method,
body.woocommerce-checkout .woocommerce-checkout-review-order-table .woocommerce-shipping-methods,
body.woocommerce-checkout .hamayl-summary #shipping_method,
body.woocommerce-checkout .hamayl-check .woocommerce-checkout-review-order-table #shipping_method{
  display:block!important;margin:0!important;padding:0!important;gap:0!important;list-style:none
}
body.woocommerce-checkout .woocommerce-checkout-review-order-table #shipping_method li,
body.woocommerce-checkout .hamayl-check .woocommerce-checkout-review-order-table #shipping_method li{
  margin:0!important;padding:0!important;border:0!important
}
body.woocommerce-checkout .woocommerce-checkout-review-order-table #shipping_method label,
body.woocommerce-checkout .hamayl-check .woocommerce-checkout-review-order-table #shipping_method label,
body.woocommerce-checkout .hamayl-summary #shipping_method label{
  display:block!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;
  background:transparent!important;box-shadow:none!important;font-weight:500;cursor:default
}
body.woocommerce-checkout .woocommerce-checkout-review-order-table #shipping_method input,
body.woocommerce-checkout .woocommerce-checkout-review-order-table .woocommerce-shipping-destination{
  display:none!important
}
body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot th{text-align:left;width:auto}
body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot td{
  text-align:right;width:1%;min-width:max-content;white-space:nowrap
}

@media(max-width:768px){
  .hamayl-shopify--cart,.hamayl-cart,.hamayl-cart__list{min-width:0;overflow-x:hidden}
  .hamayl-cart__row{grid-template-columns:56px minmax(0,1fr) auto;gap:8px}
  .hamayl-cart__media{width:56px}
  .hamayl-cart__media img{width:56px;height:56px}
  .hamayl-cart__price{font-size:13px;padding-top:2px}
  .hamayl-cart__tools{flex-wrap:wrap;gap:8px}
  .hamayl-cart__coupon{min-width:0;width:100%}
  .hamayl-cart__actions{flex-direction:column;align-items:stretch}
  .hamayl-cart__update{width:100%}
  .hamayl-cart__bundles{padding:12px}
  body.woocommerce-cart{padding-bottom:calc(var(--tabbar) + 84px + env(safe-area-inset-bottom,0px))}
  body.woocommerce-cart .wc-proceed-to-checkout{
    position:fixed;left:0;right:0;z-index:50;margin:0;
    bottom:calc(var(--tabbar) + env(safe-area-inset-bottom,0px));
    padding:10px 14px;background:#fff;border-top:1px solid #e6e6e6;
    box-shadow:0 -8px 24px rgba(0,0,0,.08)
  }
  body.woocommerce-cart .wc-proceed-to-checkout .hamayl-continue{display:none}
  body.woocommerce-cart .wc-proceed-to-checkout .checkout-button{margin:0}
  body.woocommerce-checkout .hamayl-tabbar{display:none}
  body.woocommerce-checkout .hamayl-continue--inline{display:none}
  body.woocommerce-checkout{padding-bottom:calc(110px + env(safe-area-inset-bottom,0px))}
  body.woocommerce-checkout .form-row.place-order{
    position:fixed;left:0;right:0;z-index:50;margin:0;
    bottom:0;
    padding:10px 14px calc(10px + env(safe-area-inset-bottom,0px));
    background:#fff;border-top:1px solid #e6e6e6;
    box-shadow:0 -8px 24px rgba(0,0,0,.08)
  }
  body.woocommerce-checkout .form-row.place-order .woocommerce-terms-and-conditions-wrapper,
  body.woocommerce-checkout .form-row.place-order .woocommerce-privacy-policy-text{
    font-size:11px;line-height:1.3;margin:0 0 8px;max-height:2.8em;overflow:hidden
  }
  body.woocommerce-checkout #place_order{margin:0;width:100%}
  .woocommerce-checkout-review-order-table .product-name .hamayl-summary__row{gap:12px}
  .woocommerce-checkout-review-order-table .product-total{padding-left:10px}
  .woocommerce-checkout-review-order-table tfoot th{text-align:left}
  .woocommerce-checkout-review-order-table tfoot td{text-align:right;white-space:nowrap}
}
@media(max-width:400px){
  .woocommerce-checkout-review-order-table .hamayl-cart__name{font-size:13px}
  .woocommerce-checkout-review-order-table .product-total,
  .woocommerce-checkout-review-order-table .order-total .amount{font-size:14px}
}

/* Thank-you / order-received */
body.woocommerce-order-received{
  padding-bottom:calc(var(--tabbar) + 24px + env(safe-area-inset-bottom,0px))!important
}
body.woocommerce-order-received .wpb_row,
body.woocommerce-order-received .vc_row,
body.woocommerce-order-received .wpb_text_column{display:none}
.hamayl-thanks{max-width:640px;margin:0 auto;padding-bottom:28px}
.hamayl-thanks__kicker{
  margin:0 0 6px;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--accent-2)
}
.hamayl-thanks .hamayl-shopify__title{margin-bottom:8px}
.hamayl-thanks__lead{margin:0 0 22px;color:#5c5f62;font-size:16px;line-height:1.5}
.hamayl-thanks__meta{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px;
  margin:0 0 18px;padding:16px;background:#fff;border:1px solid #e6e6e6;border-radius:12px
}
.hamayl-thanks__meta dt{margin:0;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#6d7175}
.hamayl-thanks__meta dd{margin:4px 0 0;font-size:15px;font-weight:700}
.hamayl-thanks__card{
  background:#fff;border:1px solid #e6e6e6;border-radius:12px;padding:16px;margin:0 0 14px
}
.hamayl-thanks__card h2{margin:0 0 12px;font-size:16px}
.hamayl-thanks__card address{font-style:normal;line-height:1.55}
.hamayl-thanks__items{list-style:none;margin:0;padding:0}
.hamayl-thanks__items li{
  display:grid;grid-template-columns:56px minmax(0,1fr) auto;gap:12px;align-items:start;
  padding:12px 0;border-bottom:1px solid #eee
}
.hamayl-thanks__items li:first-child{padding-top:0}
.hamayl-thanks__items li:last-child{border-bottom:0;padding-bottom:0}
.hamayl-thanks__thumb img{
  width:56px;height:56px;object-fit:contain;border-radius:8px;background:#f6f6f6;border:1px solid #eee
}
.hamayl-thanks__item-copy{min-width:0}
.hamayl-thanks__item-copy strong{display:block;font-size:14px;line-height:1.35}
.hamayl-thanks__item-copy small{display:block;margin-top:3px;color:#6d7175;font-size:12px}
.hamayl-thanks__item-total{font-weight:700;font-size:14px;white-space:nowrap}
.hamayl-thanks__actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:8px}
.hamayl-thanks .hamayl-wa-follow{margin:14px 0 0}
.hamayl-thanks .hamayl-wa-follow .hamayl-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;border-radius:10px;font-weight:800;text-decoration:none}
body.woocommerce-order-received .woocommerce-order-details,
body.woocommerce-order-received .woocommerce-customer-details{display:none}

@media(max-width:600px){
  .hamayl-thanks__meta{grid-template-columns:1fr 1fr}
}

.hamayl-placing{
  position:fixed;inset:0;z-index:80;display:flex;align-items:center;justify-content:center;
  background:rgba(28,35,45,.55);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)
}
.hamayl-placing__box{
  width:min(92vw,360px);padding:28px 22px;border-radius:18px;background:#fff;text-align:center;
  box-shadow:0 18px 50px rgba(0,0,0,.22)
}
.hamayl-placing__spin{
  display:block;width:36px;height:36px;margin:0 auto 14px;border-radius:50%;
  border:3px solid var(--line);border-top-color:var(--accent);animation:hamayl-spin .7s linear infinite
}
.hamayl-placing__title{margin:0 0 6px;font-size:18px;font-weight:800}
.hamayl-placing__hint{margin:0;color:#5c5f62;font-size:14px;line-height:1.4}
#place_order.is-busy{opacity:.85;pointer-events:none}
body.hamayl-is-placing{overflow:hidden}
body.hamayl-is-placing .hamayl-tabbar{display:none}
@keyframes hamayl-spin{to{transform:rotate(360deg)}}
