/* Classic WooCommerce cart and checkout: compact, mobile-first. */
body.woocommerce-checkout .woocommerce-billing-fields>h3{font-size:19px;margin:0 0 9px;color:#41214f}body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:9px 10px}body.woocommerce-checkout .woocommerce form .woocommerce-billing-fields__field-wrapper .form-row{float:none!important;width:auto!important;margin:0!important;padding:0!important;grid-column:1/-1;min-width:0}body.woocommerce-checkout .woocommerce form #hpg_date_field,body.woocommerce-checkout .woocommerce form #hpg_slot_field{grid-column:auto}body.woocommerce-checkout .woocommerce form .form-row label{display:block;font-size:12px;line-height:1.25;margin:0 0 4px;color:#44384d}body.woocommerce-checkout .woocommerce form .form-row input.input-text,body.woocommerce-checkout .woocommerce form .form-row input[type=date],body.woocommerce-checkout .woocommerce form .form-row select,body.woocommerce-checkout .woocommerce form .form-row textarea{box-sizing:border-box;min-height:42px;height:42px;border:1px solid #ddd1e8;border-radius:9px;background:#fff;margin:0;padding:8px 10px;font:400 16px/1.3 system-ui,sans-serif;max-width:100%;width:100%;box-shadow:none}body.woocommerce-checkout .woocommerce form .form-row textarea{height:65px;resize:vertical}body.woocommerce-checkout .woocommerce form .form-row :focus-visible{outline:2px solid #9e6bc6;outline-offset:1px}body.woocommerce-checkout #hpg_same_field{background:#f5eff9;padding:9px!important;border-radius:8px}body.woocommerce-checkout #hpg_same_field label{display:flex;align-items:center;gap:7px;margin:0!important}body.woocommerce-checkout #hpg_same_field input{width:18px;height:18px;margin:0}body.woocommerce-checkout .woocommerce-additional-fields{margin:9px 0 0}body.woocommerce-checkout .woocommerce-additional-fields>h3,body.woocommerce-checkout .woocommerce-shipping-fields:empty{display:none}body.woocommerce-checkout #order_comments_field{margin:0 0 10px!important;padding:0!important}body.woocommerce-checkout #customer_details .col-1,body.woocommerce-checkout #customer_details .col-2{float:none;width:100%;max-width:none}body.woocommerce-checkout #customer_details{margin:0 0 16px}body.woocommerce-checkout .woocommerce-checkout-review-order{padding:12px;background:#fbf8fe;border:1px solid #e8deed;border-radius:12px}body.woocommerce-checkout #order_review_heading{font-size:19px;margin:4px 0 8px}body.woocommerce-checkout #payment{background:#fff;border-radius:10px}body.woocommerce-checkout #payment ul.payment_methods{padding:10px}body.woocommerce-checkout #payment div.place-order{padding:10px}body.woocommerce-checkout #place_order{width:100%;min-height:46px;background:#67249c;border-radius:9px;color:white}body.woocommerce-checkout .woocommerce-info,body.woocommerce-cart .woocommerce-message,body.single-product .woocommerce-message{background:#f6effb;color:#4e256a;border-top:0;border:1px solid #e4d4ef;border-radius:10px;padding:12px 14px 12px 42px}body.woocommerce-checkout .woocommerce-info::before,body.woocommerce-cart .woocommerce-message::before,body.single-product .woocommerce-message::before{color:#67249c}.hpg-local-head{display:flex;align-items:center;gap:7px;font-size:12px;color:#6a3c86;margin:0 0 10px;font-weight:600}.hpg-local-dot{width:8px;height:8px;border-radius:50%;background:#9662bd}.hpg-checkout-kicker{font-size:12px;color:#744d90;margin:0}.hpg-cart-feedback{display:flex;align-items:center;gap:11px;background:#f4ebfb;border:1px solid #e3d3ee;border-radius:12px;margin:0 0 14px;padding:12px;color:#4a136e}.hpg-cart-feedback>span{background:#67249c;color:white;border-radius:50%;width:28px;height:28px;display:grid;place-items:center;flex:none}.hpg-cart-feedback strong,.hpg-cart-feedback small{display:block}.hpg-cart-feedback small{font-size:12px;line-height:1.3}.woocommerce-cart .woocommerce-cart-form table.shop_table,.woocommerce-checkout table.shop_table{border:0;border-collapse:collapse;margin:0 0 12px}.woocommerce-cart .woocommerce-cart-form table.shop_table td,.woocommerce-checkout table.shop_table td,.woocommerce-checkout table.shop_table th{padding:8px 6px;font-size:13px;border-color:#e8deed}.woocommerce-cart .wc-proceed-to-checkout a.checkout-button{background:#67249c;border-radius:10px;font-size:15px;padding:13px}.woocommerce-cart .cart_totals{background:#faf6fc;border:1px solid #e7d9ef;border-radius:12px;padding:14px}.woocommerce-cart .cart_totals h2{font-size:20px}.woocommerce-cart .product-thumbnail img{border-radius:8px;width:76px!important}.woocommerce dl.variation{font-size:12px;line-height:1.4;margin:4px 0}.woocommerce dl.variation dt,.woocommerce dl.variation dd{margin-bottom:3px!important}.woocommerce dl.variation dd p{margin:0}.hpg-remove-extra{display:inline-flex!important;align-items:center;justify-content:center;vertical-align:middle;margin-left:5px;width:25px;height:25px;border:1px solid #cbb3de;border-radius:50%;color:#67249c!important;background:#fff;font-size:18px;font-weight:bold;text-decoration:none!important;line-height:1}.hpg-remove-extra.hpg-busy{opacity:.45;pointer-events:none}.hpg-remove-extra:hover{background:#f1e4fa}.hpg-upgrades summary small{display:block;margin:2px 0 0}.hpg-extra-group legend{color:#4a136e;font-weight:700}
@media(min-width:850px){body.woocommerce-checkout form.checkout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:0 30px;align-items:start}body.woocommerce-checkout #customer_details{grid-column:1;grid-row:1/5}body.woocommerce-checkout .hpg-checkout-kicker,body.woocommerce-checkout #order_review_heading,body.woocommerce-checkout #order_review{grid-column:2}body.woocommerce-checkout #order_review{min-width:0}}
@media(max-width:600px){body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper{gap:8px}body.woocommerce-checkout .woocommerce form .form-row input[type=date],body.woocommerce-checkout .woocommerce form #hpg_slot{font-size:13px;padding:6px}body.woocommerce-checkout .woocommerce-checkout-review-order{padding:9px}body.woocommerce-checkout .woocommerce-billing-fields>h3{font-size:17px}body.woocommerce-checkout #order_review_heading{font-size:17px}body.woocommerce-cart .woocommerce-cart-form table.shop_table td{padding:7px 6px}body.woocommerce-cart .woocommerce-cart-form table.shop_table td.product-name{text-align:left!important}body.woocommerce-cart .woocommerce-cart-form table.shop_table td.product-name::before{display:none}body.woocommerce-cart .woocommerce-cart-form table.shop_table td.product-thumbnail{display:block;text-align:left!important}body.woocommerce-cart .woocommerce-cart-form table.shop_table td.product-thumbnail::before{display:none}body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item{display:block;border:1px solid #e5d8ed;border-radius:10px;margin-bottom:10px;padding:5px}body.woocommerce-cart .woocommerce-cart-form table.shop_table td.product-price{display:none}}
.hpg-cart-extras{margin:16px 0 20px;padding:14px;border:1px solid #e6daed;border-radius:14px;background:#fdfaff}.hpg-cart-extras h2{font-size:19px;line-height:1.2;margin:0 0 4px;color:#4a136e}.hpg-cart-extras header p{font-size:13px;margin:0 0 12px;color:#65576b}.hpg-cart-extra-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.hpg-cart-extra-card{border:1px solid #e9dfef;border-radius:10px;overflow:hidden;background:white;display:flex;flex-direction:column;min-width:0}.hpg-cart-extra-card>img{width:100%;aspect-ratio:4/3;object-fit:contain;background:#faf6fc;margin:0;display:block}.hpg-cart-extra-card>div{padding:8px;display:flex;flex:1;flex-direction:column;gap:4px}.hpg-cart-extra-card strong{font-size:13px;line-height:1.3;overflow-wrap:anywhere}.hpg-cart-extra-price{font-size:13px;color:#67249c;font-weight:700;margin-top:auto}.hpg-extra-add{display:block;border:1px solid #a17cc0;border-radius:7px;padding:7px;text-align:center;color:#67249c!important;font-size:13px;font-weight:700;text-decoration:none!important}.hpg-extra-add:hover,.hpg-extra-add:focus-visible{background:#67249c;color:white!important}.hpg-extra-add:focus-visible{outline:2px solid #67249c;outline-offset:2px}@media(max-width:700px){.hpg-cart-extra-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hpg-cart-extras{padding:10px}.hpg-cart-extra-card>img{aspect-ratio:16/10}}

/* v1.6: address locality and instructions before optional sender details. */
body.woocommerce-checkout .woocommerce form #billing_postcode_field,body.woocommerce-checkout .woocommerce form #billing_city_field{grid-column:auto}
body.woocommerce-checkout .woocommerce form #billing_city[readonly]{background:#f7f3fa;color:#51415e;cursor:default}
body.woocommerce-checkout .woocommerce form .hpg-sender-heading{grid-column:1/-1;display:flex;align-items:baseline;gap:7px;font-size:15px;line-height:1.3;color:#41214f;border-top:1px solid #e8deed;padding:10px 0 0;margin:3px 0 0}
body.woocommerce-checkout .woocommerce form .hpg-sender-heading small{font-size:11px;color:#776a80;font-weight:400}
body.woocommerce-checkout .woocommerce form #hpg_delivery_note{min-height:60px;height:60px}
body.woocommerce-checkout .woocommerce form #billing_address_1{min-height:64px;height:64px}

/* v1.7: compact checkout trust, no remote assets or layout shifts. */
body.woocommerce-checkout .hpg-trust-delivery{display:flex;flex-wrap:wrap;gap:5px 13px;margin:0 0 10px;padding:8px 10px;border:1px solid #e5d9ed;border-radius:9px;background:#faf6fd;color:#4a136e;font-size:12px;line-height:1.35}
.hpg-trust-delivery>span,.hpg-trust-encrypted{display:inline-flex;align-items:center;gap:6px;min-width:0}.hpg-trust-delivery svg,.hpg-trust-encrypted svg{flex:none}.hpg-trust-delivery strong{font-weight:750}
body.woocommerce-checkout .hpg-trust-payment{display:flex;flex-direction:column;align-items:center;gap:5px;margin:8px 0 10px;padding:7px 5px;border-radius:8px;background:#faf8fc;text-align:center;font-size:11px;line-height:1.25;color:#65576b}
.hpg-trust-methods{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:5px}.hpg-trust-accepted{font-weight:600}.hpg-trust-method{display:inline-block;background:#fff;border:1px solid #e6ddec;border-radius:5px;padding:4px 7px;white-space:nowrap;font-weight:700;color:#352b3d}.hpg-trust-phonepe{color:#5f259f}.hpg-trust-upi{color:#385845}.hpg-trust-encrypted{color:#486450}.hpg-trust-encrypted svg{width:13px;height:13px}
@media(max-width:400px){body.woocommerce-checkout .hpg-trust-delivery{padding:7px 8px;font-size:11.5px;gap:4px 9px}.hpg-trust-methods{gap:4px}.hpg-trust-method{padding:3px 5px}}

/* v1.8: low-height checkout only, with no change to payment or field validation. */
body.hpg-compact-checkout .woocommerce-billing-fields__field-wrapper{gap:6px 8px}
body.hpg-compact-checkout .woocommerce form .form-row label{margin:0 0 3px;line-height:1.2;font-size:12px}
body.hpg-compact-checkout .woocommerce form .form-row input.input-text,body.hpg-compact-checkout .woocommerce form .form-row input[type=date],body.hpg-compact-checkout .woocommerce form .form-row select{min-height:44px;height:44px;padding:6px 8px;font-size:16px;border-radius:7px}
body.hpg-compact-checkout .woocommerce form #billing_address_1{height:54px;min-height:54px;padding:6px 8px}
body.hpg-compact-checkout .woocommerce form #hpg_delivery_note{height:48px;min-height:48px;padding:6px 8px}
body.hpg-compact-checkout .woocommerce form #hpg_same_field{padding:3px 0!important;background:transparent}
body.hpg-compact-checkout #hpg_same_field label{min-height:32px;cursor:pointer}
body.hpg-compact-checkout .woocommerce form .hpg-sender-heading{padding:6px 0 0;margin:1px 0 0;font-size:14px}
body.hpg-compact-checkout .woocommerce form .hpg-sender-heading small{font-size:11px}
body.hpg-compact-checkout .hpg-local-head{margin:0 0 5px;font-size:12px}
body.hpg-compact-checkout .hpg-trust-delivery{padding:5px 7px;margin:0 0 7px;gap:3px 8px;font-size:11px;line-height:1.3;border-radius:6px}
body.hpg-compact-checkout .hpg-trust-delivery>span{gap:4px}
body.hpg-compact-checkout .hpg-trust-delivery svg{width:13px;height:13px}
body.hpg-compact-checkout .hpg-trust-payment{flex-direction:row;flex-wrap:wrap;justify-content:center;gap:4px 7px;margin:4px 0 7px;padding:4px 3px;font-size:11px;line-height:1.25}
body.hpg-compact-checkout .hpg-trust-methods{gap:3px}
body.hpg-compact-checkout .hpg-trust-method{padding:2px 4px;border-radius:4px}
body.hpg-compact-checkout .hpg-trust-encrypted{gap:3px}
body.hpg-compact-checkout .woocommerce-billing-fields>h3,body.hpg-compact-checkout #order_review_heading{font:650 17px/1.25 system-ui,sans-serif;margin:0 0 6px}
body.hpg-compact-checkout #customer_details{margin:0 0 10px}
body.hpg-compact-checkout .hpg-checkout-kicker{display:none}
body.hpg-compact-checkout .woocommerce-checkout-review-order{padding:8px;border-radius:9px}
body.hpg-compact-checkout table.shop_table{margin:0 0 6px}
body.hpg-compact-checkout table.shop_table td,body.hpg-compact-checkout table.shop_table th{padding:5px 4px;line-height:1.35}
body.hpg-compact-checkout #payment ul.payment_methods,body.hpg-compact-checkout #payment div.place-order{padding:7px}
body.hpg-compact-checkout #payment ul.payment_methods li{margin:0;line-height:1.5}
body.hpg-compact-checkout #payment .payment_box{margin:5px 0;padding:8px}
body.hpg-compact-checkout .woocommerce-info{margin:0 0 7px;padding-top:7px;padding-bottom:7px;font-size:13px}
body.hpg-compact-checkout .woocommerce-info::before{top:7px}
body.hpg-compact-checkout .woocommerce-form-coupon-toggle,body.hpg-compact-checkout .woocommerce-form-login-toggle{margin:0}
@media(min-width:360px){
 body.hpg-compact-checkout .woocommerce form #hpg_recipient_field,body.hpg-compact-checkout .woocommerce form #hpg_recipient_phone_field,body.hpg-compact-checkout .woocommerce form #hpg_sender_name_field,body.hpg-compact-checkout .woocommerce form #hpg_sender_phone_field{grid-column:auto}
}
@media(max-width:700px){
 body.hpg-compact-checkout .hm-top,body.hpg-compact-checkout .hm-search,body.hpg-compact-checkout .hm-bottom{display:none}
 body.hpg-compact-checkout .hm-header .hm-wrap{padding-top:7px;padding-bottom:7px;gap:6px}
 body.hpg-compact-checkout .hm-brand{font-size:24px}
 body.hpg-compact-checkout .hm-brand .custom-logo{max-height:38px;max-width:130px}
 body.hpg-compact-checkout main.hm-wrap{padding-top:10px;min-height:0}
 body.hpg-compact-checkout main.hm-wrap h1{font:650 21px/1.2 system-ui,sans-serif;margin:0 0 8px}
 body.hpg-compact-checkout .hm-footer{padding:12px 0 calc(12px + env(safe-area-inset-bottom));margin-top:14px;font-size:12px}
 body.hpg-compact-checkout .hm-footer h2,body.hpg-compact-checkout .hm-footer p:first-of-type{display:none}
 body.hpg-compact-checkout .hm-footer p{margin:2px 0 0}
 body.hpg-compact-checkout .woocommerce form #hpg_date,body.hpg-compact-checkout .woocommerce form #hpg_slot{font-size:16px;padding:5px 4px;min-width:0}
}
@media(max-width:359px){
 body.hpg-compact-checkout .woocommerce form #hpg_date_field,body.hpg-compact-checkout .woocommerce form #hpg_slot_field{grid-column:1/-1}
}

/* v1.9: real payment acceptance marks, local assets; compact wrapping strip. */
body.woocommerce-checkout .hpg-trust-payment{background:#fff;gap:3px 8px;padding:3px 2px;margin:3px 0 6px}
body.woocommerce-checkout .hpg-trust-methods{gap:0;flex-wrap:wrap}
body.woocommerce-checkout .hpg-trust-method.hpg-trust-has-logo{display:inline-flex;align-items:center;justify-content:center;background:#fff;border:0;padding:4px 8px;border-radius:0;box-shadow:none}
body.woocommerce-checkout .hpg-payment-logo{display:block;width:auto;height:24px;max-width:110px;object-fit:contain;margin:0;box-shadow:none;border:0}
body.woocommerce-checkout .hpg-trust-upi .hpg-payment-logo{height:36px;max-width:105px}
body.woocommerce-checkout .hpg-trust-phonepe .hpg-payment-logo{height:32px;max-width:100px}
body.hpg-compact-checkout .hpg-trust-payment{gap:2px 6px;padding:2px 0;margin:3px 0 6px;background:#fff}

/* v2.0 delivery: one selector and one contextual note. */
.hpg-delivery-product{font-size:12px;font-weight:650;color:#61358a;margin:5px 0}.hpg-delivery-product-note{font-size:12px;line-height:1.4;color:#665a70;margin:3px 0 8px}.hpg-delivery-help{margin:3px 0 0;padding:5px 7px;background:#f6effb;border-radius:6px;color:#573872;font-size:11.5px;line-height:1.35}.hpg-delivery-help p{margin:0}.hpg-delivery-help [hidden]{display:none!important}.hpg-delivery-confirmation p{margin:4px 0;font-size:13px}
.hpg-delivery-help{grid-column:1/-1}

/* v2.2: low-height native radio delivery selector. */
body.woocommerce-checkout .hpg-delivery-options{min-width:0;padding:0;margin:0;border:0;display:grid;gap:3px}
body.woocommerce-checkout .hpg-delivery-options legend{font-size:13px;font-weight:650;color:#41214f;padding:0;margin:0 0 4px}
body.woocommerce-checkout .woocommerce form .form-row label.hpg-delivery-option{display:grid;grid-template-columns:18px 18px minmax(0,1fr) auto;align-items:center;gap:7px;margin:0;padding:5px 8px;min-height:40px;box-sizing:border-box;border:1px solid #e8dfed;border-radius:7px;background:#fff;cursor:pointer;font-size:13px;line-height:1.25}
body.woocommerce-checkout .woocommerce form .form-row label.hpg-delivery-option.hpg-delivery-selected,body.woocommerce-checkout .woocommerce form .form-row label.hpg-delivery-option:has(input:checked){background:#f5edf9;border-color:#a77bc7;color:#4a136e}
.hpg-delivery-option input[type=radio]{accent-color:#7133a1;width:17px;height:17px;margin:0;flex:none;cursor:pointer}
.hpg-delivery-option svg{color:#7133a1;display:block;flex:none}.hpg-delivery-name{font-weight:650;overflow-wrap:anywhere}.hpg-delivery-amount{font-size:12px;font-weight:600;text-align:right;white-space:nowrap}.hpg-delivery-amount-pickup{color:#20764a}.hpg-delivery-amount-actual{color:#65576b;font-weight:500}.hpg-delivery-help{margin-top:4px}
@media(max-width:359px){body.woocommerce-checkout .woocommerce form .form-row label.hpg-delivery-option{grid-template-columns:17px 16px minmax(0,1fr) auto;gap:5px;padding:5px 6px;font-size:12px}.hpg-delivery-amount{font-size:11px}}

/* v2.4: final delivery section and compact payment marks. */
body.woocommerce-checkout .woocommerce form #hpg_delivery_method_field{grid-column:1/-1;border-top:1px solid #e8deed;padding-top:8px!important;margin-top:4px!important}
body.woocommerce-checkout .hpg-trust-method.hpg-trust-has-logo{padding:2px 5px}
body.woocommerce-checkout .hpg-trust-payment .hpg-payment-logo{height:22px;width:auto;max-width:76px;object-fit:contain}
body.woocommerce-checkout .hpg-trust-payment{gap:3px 6px;flex-direction:row;flex-wrap:wrap;justify-content:center}
