/* WordPress / WooCommerce specific styles on top of site.css (the approved HTML design). */

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: #fff; color: var(--ink); padding: 10px 16px; }
.skip-link:focus { left: 12px; top: 12px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.cq-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cq-turnstile { margin: 4px 0; }

/* Form result messages */
.cq-notice { flex-basis: 100%; padding: 10px 14px; border-radius: 8px; font-size: 14.5px; font-weight: 600; margin: 0 0 6px; }
.cq-notice.ok { background: #e7f3e1; color: #2f6b22; }
.cq-notice.err { background: #fbe3df; color: #9d2b1c; }
.o-mail .cq-notice.ok { background: rgba(255,255,255,.12); color: #d9f2c9; }
.o-mail .cq-notice.err { background: rgba(255,255,255,.12); color: #ffd3cb; }

/* Quantity is a real input inside the buy form */
.qty input { width: 40px; border: 0; text-align: center; font: inherit; font-weight: 700; background: transparent; color: var(--ink); -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cq-buy { display: grid; gap: 14px; }
.notify-form .o-btn { min-height: 50px; }
.add.notify { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 18px; text-decoration: none; font-weight: 700; font-size: 14.5px; border-radius: 4px; }

/* Featured/gallery images from the media library */
.o-card-img img { height: auto; }
.combo-packs img { width: 64px; height: 64px; }
.mini-thumb img { width: auto; height: auto; }
.variant img { width: 38px; height: 38px; object-fit: contain; }
.pdp .variant img { width: 44px; height: 44px; }
.thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button.pack img { object-fit: contain; }

/* Footer FSSAI line */
.foot .fssai { margin-top: 10px; font-size: 13px; color: rgba(255,255,255,.65); }

/* Search form */
.search-form { display: flex; gap: 8px; width: 100%; max-width: 420px; }
.search-form label { flex: 1; }
.search-form .search-field { width: 100%; min-height: 46px; border: 1.5px solid var(--line); border-radius: 4px; padding: 0 14px; font: inherit; }
.search-form .search-submit { min-height: 46px; padding: 0 18px; border: 0; border-radius: 4px; background: var(--haldi); color: #fff; font-weight: 700; }
.results { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.results a { font-family: var(--font-display); font-size: 22px; color: var(--ink); text-decoration: none; }

/* WooCommerce notices */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { list-style: none; margin: 0 0 20px; padding: 14px 18px; border-radius: 8px; background: #fff8ea; border-left: 4px solid var(--haldi); color: var(--ink); }
.woocommerce-error { background: #fbe3df; border-left-color: #c0392b; }
.woocommerce-message .button, .woocommerce-info .button { float: right; color: var(--haldi-deep); font-weight: 700; text-decoration: none; }
/* WooCommerce's own CSS puts its icon at left:1.5em and expects 3.5em padding; give it room and our colours */
body .woocommerce-message, body .woocommerce-info, body .woocommerce-error { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 14px 18px 14px 50px; border-top: 0; border-left: 4px solid var(--haldi); background: #fff8ea; color: var(--ink); line-height: 1.5; }
body .woocommerce-error { display: block; background: #fbe3df; border-left-color: #c0392b; }
body .woocommerce-message::before, body .woocommerce-info::before, body .woocommerce-error::before { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); margin: 0; width: 20px; height: 20px; line-height: 20px; text-align: center; font-size: 18px; color: var(--haldi-deep); }
body .woocommerce-message::before { color: #2e7d32; }
body .woocommerce-error::before { top: 16px; transform: none; color: #c0392b; }
body .woocommerce-message::after, body .woocommerce-info::after { display: none; }
body .woocommerce-message a:not(.button), body .woocommerce-info a:not(.button) { color: var(--haldi-deep); font-weight: 700; }
body .woocommerce-message .button, body .woocommerce-info .button { order: 2; margin-left: auto; float: none; padding: 0; background: none; border: 0; }

/* Cart / checkout / account (block and classic) inside our container */
.wc-page { font-size: 15.5px; }
.wc-page .wc-block-components-button:not(.is-link), .wc-page .button, .wc-page button[type="submit"] { background: var(--haldi); color: #fff; border: 0; border-radius: 4px; font-weight: 700; min-height: 48px; }
.wc-page .wc-block-components-button:not(.is-link):hover, .wc-page .button:hover { background: #e8991a; }
.wc-page .wc-block-components-totals-wrapper, .wc-page .wc-block-cart__sidebar, .wc-page .wc-block-checkout__sidebar { background: #fff; }
.wc-page .wc-block-components-sidebar-layout { gap: 32px; }
.wc-page .wc-block-cart-items__row .wc-block-components-product-name { font-family: var(--font-display); font-size: 19px; color: var(--ink); text-decoration: none; }
.wc-page .wc-block-components-totals-fees { color: var(--veg); font-weight: 600; }
.wc-page h2, .wc-page .wc-block-components-title { font-family: var(--font-display); font-weight: 400; color: var(--ink); }
.wc-page input[type="text"], .wc-page input[type="email"], .wc-page input[type="tel"], .wc-page input[type="password"], .wc-page select, .wc-page textarea { border: 1.5px solid var(--line); border-radius: 8px; min-height: 46px; padding: 8px 12px; font: inherit; }
.wc-page .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.wc-page .woocommerce-MyAccount-navigation a { display: inline-block; padding: 8px 14px; border-radius: 4px; border: 1.5px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; }
.wc-page .woocommerce-MyAccount-navigation .is-active a { background: var(--haldi); border-color: var(--haldi); color: #fff; }
.wc-page form.login, .wc-page form.lost_reset_password { max-width: 460px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 28px; display: grid; gap: 14px; }
.wc-page form.login p, .wc-page form.lost_reset_password p { margin: 0; display: grid; gap: 6px; }
.wc-page table.shop_table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 8px; overflow: hidden; }
.wc-page table.shop_table th, .wc-page table.shop_table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.woocommerce-order-overview { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 28px; }

/* Fixes from the WordPress test pass */
.soon-chip { display: inline-flex; align-items: center; font-size: 12.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 3px 10px; border-radius: 6px; background: #c0392b; color: #fff; }
.wc-page form.login .form-row, .wc-page form.lost_reset_password .form-row { display: flex; flex-direction: column; align-items: stretch; gap: 6px; float: none; width: 100%; }
.wc-page form.login .form-row input.input-text, .wc-page form.lost_reset_password .form-row input.input-text { width: 100%; }
.wc-page form.login .woocommerce-form-login__rememberme { flex-direction: row; align-items: center; gap: 8px; }
.wc-page .password-input { display: flex; width: 100%; }
@media (max-width: 560px) {
  .card-img { aspect-ratio: 1 / 0.72; }
  .card h3 { font-size: 20px; }
}
/* Tap targets of at least 24px (WCAG 2.2 target size) */
.card h3 a { display: inline-block; padding: 2px 0; }
.announce a { display: inline-block; padding: 3px 2px; }

/* ===== Footer ===== */
.foot { position: relative; color: rgba(255,255,255,.75); }
.foot a { color: rgba(255,255,255,.85); }
.foot a:hover { color: var(--haldi); }
.foot .foot-help { background: var(--haldi); color: var(--roast); }
.foot .foot-help .inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; padding-block: 22px; }
.foot-help b { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(20px, 2.2vw, 26px); color: var(--roast); }
.foot-help span { font-size: 14.5px; }
.foot-help-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.foot-help-actions .o-btn { min-height: 46px; gap: 8px; }
.foot-help-actions .o-btn svg { width: 18px; height: 18px; }
.foot-help .o-btn.dark { color: #fff; }
.foot-help .o-btn.white { color: var(--roast); }
.foot .inner.foot-main { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr); gap: 40px; padding-block: 56px 40px; }
.foot-brand { display: grid; gap: 14px; align-content: start; }
.foot-brand .logo img { width: 150px; height: auto; margin: 0; }
.foot-brand p { font-size: 14.5px; line-height: 1.65; max-width: 340px; }
.foot-badges { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.foot-badges li { font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); color: #fff; }
.foot-social { display: flex; gap: 8px; }
.foot-social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); transition: background .2s, transform .2s; }
.foot-social a:hover { background: var(--haldi); color: var(--roast); transform: translateY(-2px); }
.foot-social svg { width: 18px; height: 18px; }
.foot-col h4 { margin: 0 0 14px; color: #fff; font-family: var(--font-display); font-weight: 400; font-size: 20px; letter-spacing: 0; text-transform: none; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.foot-col li a { display: inline-block; padding: 4px 0; font-size: 14.5px; text-decoration: none; }
.foot-contact li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 14.5px; padding: 3px 0; }
.foot-contact .fi { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(251,175,40,.15); color: var(--haldi); }
.foot-contact .fi svg { width: 16px; height: 16px; }
.foot-contact li > span:last-child { padding-top: 6px; overflow-wrap: anywhere; }
.foot .legal { border-top: 1px solid rgba(255,255,255,.1); }
.foot .legal .inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 18px 90px; font-size: 13px; }
.foot .legal .pay { color: rgba(255,255,255,.6); }
@media (max-width: 960px) { .foot .inner.foot-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .foot-brand, .foot-contact { grid-column: 1 / -1; } }
@media (max-width: 600px) {
  .foot .foot-help .inner { flex-direction: column; align-items: stretch; text-align: left; }
  .foot-help-actions .o-btn { flex: 1 1 140px; }
  .foot .inner.foot-main { gap: 28px 18px; padding-block: 40px 28px; }
  .foot .legal .inner { flex-direction: column; }
}

/* ===== Captcha ===== */
.cq-captcha { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 10px 12px; border: 1.5px dashed var(--line); border-radius: 8px; background: var(--atta-2); font-size: 14.5px; color: var(--ink); }
.cq-captcha label { font-weight: 600; }
.cq-captcha input[type="text"] { width: 72px; min-height: 42px; border: 1.5px solid var(--line); border-radius: 6px; padding: 0 10px; font: inherit; font-size: 16px; text-align: center; background: #fff; color: var(--ink); }
.o-mail-form .cq-captcha, .notify-form .cq-captcha, .o-mail-form .cq-turnstile, .notify-form .cq-turnstile { flex-basis: 100%; }
.o-mail-form .cq-captcha { background: #fff8ea; border-color: #f0dcb4; }
#loginform .cq-captcha { margin: 0 0 16px; }

/* ===== Mobile shopping ===== */
@media (max-width: 600px) {
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .products .card-img { aspect-ratio: 1 / 1.05; }
  .products .card-body { padding: 12px 12px 14px; gap: 6px; grid-template-rows: auto auto 1fr auto; }
  .products .card h3 { font-size: 17px; }
  .products .card .tag, .products .card .uses { display: none; }
  .products .card .meta span { font-size: 11.5px; padding: 2px 7px; }
  .products .card .buy { flex-direction: column; align-items: stretch; gap: 8px; padding-top: 8px; }
  .products .card .price { font-size: 19px; }
  .products .card .add { width: 100%; min-height: 44px; padding: 0 10px; font-size: 14px; }
  .products .card .badge { font-size: 10.5px; padding: 3px 8px; top: 8px; left: 8px; }
  .products .card .veg { top: 8px; right: 8px; }
  .products .combo-card { grid-column: 1 / -1; }
  .products .combo-card .card-body .tag, .products .combo-card .card-body .uses { display: block; }
}

/* Product page: sticky buy bar on phones */
.cq-sticky { display: none; }
@media (max-width: 760px) {
  .cq-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; display: flex; align-items: center; gap: 12px; padding: 10px max(14px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(14px, env(safe-area-inset-left, 0px)); background: #fff; box-shadow: 0 -8px 24px rgba(43,24,16,.12); transform: translateY(110%); transition: transform .25s; }
  .cq-sticky.on { transform: none; }
  .cq-sticky b { font-size: 15px; color: var(--ink); line-height: 1.2; }
  .cq-sticky small { display: block; color: var(--haldi-deep); font-weight: 700; font-size: 16px; }
  .cq-sticky .o-btn { margin-left: auto; min-height: 46px; padding: 0 22px; }
  body.has-sticky .wa { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) { .cq-sticky { transition: none; } }
.foot-help-actions .o-btn { white-space: nowrap; }
@media (max-width: 600px) { .foot-help-actions { flex-direction: column; } .foot-help-actions .o-btn { flex: none; width: 100%; } }
.o-mail-form .cq-captcha input[type="text"], .notify-form .cq-captcha input[type="text"] { flex: none; width: 72px; min-height: 42px; border: 1.5px solid var(--line); }
.o-mail-form .cq-captcha { margin-top: 2px; }
/* Captcha sits between email and button in the DOM (tab order), but shows on its own row below. */
.o-mail-form .cq-captcha, .o-mail-form .cq-turnstile, .notify-form .cq-captcha, .notify-form .cq-turnstile { order: 3; }
.foot .foot-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.wc-page .password-input { position: relative; display: block; }
.wc-page .password-input input { padding-right: 44px; }
.wc-page .show-password-input { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border: 0; border-radius: 6px; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M1 12s4-7 11-7 11 7 11 7-4 7-11 7S1 12 1 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / 18px no-repeat; cursor: pointer; }
.wc-page .show-password-input::after { display: none; }
.wc-page .show-password-input.display-password { background-color: var(--atta-2); }

/* ---------- Classic (shortcode) cart and checkout: live uses these pages ---------- */
.wc-page form.checkout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 0 40px; align-items: start; }
.wc-page form.checkout > .woocommerce-NoticeGroup, .wc-page form.checkout > .woocommerce-error, .wc-page form.checkout > .woocommerce-message { grid-column: 1 / -1; }
.wc-page form.checkout #customer_details { grid-column: 1; grid-row: 1 / span 2; }
.wc-page form.checkout #order_review_heading { grid-column: 2; grid-row: 1; margin: 0 0 12px; }
.wc-page form.checkout #order_review { grid-column: 2; grid-row: 2; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 20px 22px; position: sticky; top: 96px; }
.wc-page .col2-set .col-1, .wc-page .col2-set .col-2 { width: 100%; float: none; }
.wc-page .col2-set .col-2 { margin-top: 18px; }
.wc-page .woocommerce-billing-fields h3, .wc-page #order_review_heading, .wc-page .woocommerce-additional-fields h3, .wc-page .cart_totals h2 { font-family: var(--font-display); font-weight: 400; font-size: 24px; color: var(--ink); margin: 0 0 14px; }
.wc-page #ship-to-different-address { font-family: var(--font-body); font-size: 15px; font-weight: 600; margin: 0 0 10px; }
.wc-page form.checkout .col-2 h3#ship-to-different-address { float: none; width: auto; }
.wc-page #ship-to-different-address label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.wc-page .woocommerce-billing-fields__field-wrapper, .wc-page .woocommerce-shipping-fields__field-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.wc-page form .form-row { margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; grid-column: 1 / -1; }
.wc-page form .form-row.form-row-first { grid-column: 1; }
.wc-page form .form-row.form-row-last { grid-column: 2; }
.wc-page form .form-row label { font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.4; }
.wc-page form .form-row .required { color: var(--mirch); text-decoration: none; border: 0; }
.wc-page form .form-row .optional { font-weight: 400; color: var(--ink-soft); }
.wc-page .woocommerce-input-wrapper { display: block; width: 100%; }
.wc-page form .input-text, .wc-page form select { width: 100%; box-sizing: border-box; background: #fff; }
.wc-page form textarea.input-text { min-height: 96px; resize: vertical; }
.wc-page form .form-row.woocommerce-invalid .input-text, .wc-page form .form-row.woocommerce-invalid .select2-selection { border-color: var(--mirch); }
.wc-page .select2-container { width: 100% !important; }
.wc-page .select2-container .select2-selection--single { height: 46px; border: 1.5px solid var(--line); border-radius: 8px; display: flex; align-items: center; }
.wc-page .select2-container .select2-selection--single .select2-selection__rendered { padding: 0 34px 0 12px; line-height: 1.4; color: var(--ink); }
.wc-page .select2-container .select2-selection--single .select2-selection__arrow { height: 44px; right: 6px; }
.wc-page .woocommerce-additional-fields { margin-top: 18px; }
.wc-page table.shop_table { width: 100%; border-collapse: collapse; border: 0; margin: 0 0 8px; font-size: 15px; }
.wc-page table.shop_table th, .wc-page table.shop_table td { padding: 11px 0; border: 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; background: none; }
.wc-page table.shop_table th:last-child, .wc-page table.shop_table td:last-child { text-align: right; }
.wc-page table.shop_table thead th { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); }
.wc-page table.shop_table .product-name { padding-right: 12px; }
.wc-page table.shop_table tr.fee th, .wc-page table.shop_table tr.fee td { color: var(--veg); font-weight: 600; }
.wc-page table.shop_table tr.order-total th, .wc-page table.shop_table tr.order-total td { font-size: 18px; font-weight: 700; border-bottom: 0; }
.wc-page #shipping_method { list-style: none; margin: 0; padding: 0; }
.wc-page #payment { background: none; border-radius: 0; margin-top: 10px; }
.wc-page #payment ul.payment_methods { list-style: none; margin: 0 0 14px; padding: 0; border: 0; display: block; width: 100%; }
.wc-page #payment ul.payment_methods li { width: auto; float: none; }
.wc-page #payment .woocommerce-info { float: none; width: auto; }
.wc-page #payment ul.payment_methods li { padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.wc-page #payment ul.payment_methods li .woocommerce-info { font-weight: 400; margin: 0; }
.wc-page #payment .payment_box { background: var(--cream, #fff8ea); color: var(--ink); border-radius: 8px; padding: 10px 14px; margin: 8px 0 0; font-size: 14px; font-weight: 400; }
.wc-page #payment .payment_box::before { display: none; }
.wc-page #payment .form-row.place-order { padding: 0; margin-top: 8px; gap: 12px; }
.wc-page .woocommerce-terms-and-conditions-wrapper, .wc-page .woocommerce-privacy-policy-text { font-size: 13.5px; color: var(--ink-soft); }
.wc-page .woocommerce-terms-and-conditions-wrapper label { font-weight: 500; display: flex; gap: 8px; align-items: flex-start; }
body .wc-page #payment #place_order, body .wc-page .wc-proceed-to-checkout a.checkout-button.button.alt { width: 100%; min-height: 54px; font-size: 17px; background: var(--haldi); color: #111; border-radius: 6px; }
body .wc-page #payment #place_order:hover, body .wc-page .wc-proceed-to-checkout a.checkout-button.button.alt:hover { background: #e8991a; }
.wc-page .woocommerce-form-coupon-toggle .woocommerce-info { margin-bottom: 16px; }
.wc-page form.checkout_coupon { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 20px; }
.wc-page form.checkout_coupon .form-row { flex: 1 1 200px; }
.wc-page form.checkout_coupon p:first-child { flex-basis: 100%; margin: 0; }
/* Classic cart (site.css has a .cart grid for the static design; WooCommerce's table also has class "cart") */
.wc-page table.shop_table.cart { display: table; grid-template-columns: none; gap: 0; padding: 0; background: none; border: 0; box-shadow: none; }
body .wc-page .wc-proceed-to-checkout a.checkout-button.button.alt { display: flex; align-items: center; justify-content: center; text-decoration: none; }
body .wc-page .woocommerce button.button:disabled, body .wc-page .woocommerce button.button:disabled[disabled] { background: #eee; color: #888; padding: 0 18px; }
.wc-page .woocommerce-cart-form table.shop_table td.product-thumbnail img { width: 64px; height: auto; border-radius: 8px; }
.wc-page .woocommerce-cart-form table.shop_table td.product-name a { font-family: var(--font-display); font-size: 18px; color: var(--ink); text-decoration: none; }
.wc-page .woocommerce-cart-form table.shop_table td.product-quantity .qty { width: 72px; min-height: 40px; text-align: center; }
.wc-page .woocommerce-cart-form td.actions { text-align: right; }
.wc-page .woocommerce-cart-form td.actions .coupon { display: inline-flex; gap: 8px; float: left; }
.wc-page .woocommerce-cart-form td.actions .coupon label { position: absolute; left: -9999px; }
.wc-page .cart-collaterals { display: flex; justify-content: flex-end; margin-top: 24px; }
.wc-page .cart-collaterals .cart_totals { width: 100%; max-width: 440px; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 20px 22px; }
@media (max-width: 900px) {
	.wc-page form.checkout { grid-template-columns: 1fr; }
	.wc-page form.checkout #customer_details, .wc-page form.checkout #order_review_heading, .wc-page form.checkout #order_review { grid-column: 1; grid-row: auto; }
	.wc-page form.checkout #order_review_heading { margin-top: 26px; }
	.wc-page form.checkout #order_review { position: static; }
}
@media (max-width: 600px) {
	.wc-page .woocommerce-billing-fields__field-wrapper, .wc-page .woocommerce-shipping-fields__field-wrapper { grid-template-columns: 1fr; }
	.wc-page form .form-row.form-row-first, .wc-page form .form-row.form-row-last { grid-column: 1; }
	.wc-page .woocommerce-cart-form table.shop_table thead { display: none; }
	.wc-page .woocommerce-cart-form td.actions .coupon { float: none; display: flex; margin-bottom: 10px; }
}
.wc-page .woocommerce-cart-form td.actions .coupon .button { white-space: nowrap; padding: 0 16px; }

/* Mini cart remove: small round outline button with an SVG cross */
.mini-cart .mini-x { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--ink-soft); text-decoration: none; transition: border-color .15s, color .15s, background .15s; }
.mini-cart .mini-x:hover, .mini-cart .mini-x:focus-visible { border-color: var(--mirch); background: #fdecea; color: var(--mirch); }
.mini-cart .mini-x svg { display: block; }

/* Classic cart page: items in a card on the left, totals card on the right */
body.woocommerce-cart .wc-page > .woocommerce { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
body.woocommerce-cart .wc-page > .woocommerce > * { grid-column: 1 / -1; min-width: 0; }
body.woocommerce-cart .wc-page > .woocommerce > .woocommerce-cart-form { grid-column: 1; margin: 0; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 6px 22px 18px; }
body.woocommerce-cart .wc-page > .woocommerce > .cart-collaterals { grid-column: 2; margin: 0; display: block; position: sticky; top: 100px; }
body.woocommerce-cart .wc-page .cart-collaterals .cart_totals { float: none; width: 100%; max-width: none; }
body.woocommerce-cart .wc-page .cart-collaterals .cross-sells { display: none; }
.wc-page .woocommerce-cart-form table.shop_table td { vertical-align: middle; padding: 16px 0; }
.wc-page .woocommerce-cart-form table.shop_table thead th { padding: 14px 0 12px; }
.wc-page .woocommerce-cart-form table.shop_table td.product-remove { width: 40px; }
.wc-page .woocommerce-cart-form table.shop_table td.product-thumbnail { width: 88px; }
.wc-page .woocommerce-cart-form table.shop_table td.product-thumbnail img { width: 72px; display: block; }
.wc-page .woocommerce-cart-form table.shop_table td.product-name a:hover { color: var(--haldi-deep); }
.wc-page .woocommerce-cart-form table.shop_table td.product-price, .wc-page .woocommerce-cart-form table.shop_table td.product-subtotal { white-space: nowrap; color: var(--ink-soft); }
.wc-page .woocommerce-cart-form table.shop_table td.product-subtotal { color: var(--ink); font-weight: 700; }
body .wc-page .woocommerce-cart-form a.remove { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--ink-soft) !important; font-size: 0; line-height: 0; text-decoration: none; transition: border-color .15s, color .15s, background .15s; }
body .wc-page .woocommerce-cart-form a.remove::before { content: ""; flex: 0 0 12px; width: 12px; height: 12px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E") center / contain no-repeat; }
body .wc-page .woocommerce-cart-form a.remove:hover, body .wc-page .woocommerce-cart-form a.remove:focus-visible { border-color: var(--mirch); background: #fdecea; color: var(--mirch) !important; }
.wc-page .woocommerce-cart-form td.actions { padding: 18px 0 0; border-bottom: 0; }
.wc-page .woocommerce-cart-form td.actions .coupon .input-text { width: 180px; min-height: 44px; }
.wc-page .woocommerce-cart-form td.actions > .button { min-height: 44px; }
@media (max-width: 1000px) {
	body.woocommerce-cart .wc-page > .woocommerce { grid-template-columns: 1fr; }
	body.woocommerce-cart .wc-page > .woocommerce > .woocommerce-cart-form, body.woocommerce-cart .wc-page > .woocommerce > .cart-collaterals { grid-column: 1; position: static; }
}
@media (max-width: 768px) {
	body.woocommerce-cart .wc-page > .woocommerce > .woocommerce-cart-form { padding: 4px 16px 16px; }
	.wc-page .woocommerce-cart-form table.shop_table_responsive tr.cart_item { display: grid; grid-template-columns: 72px 1fr auto; column-gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); position: relative; }
	.wc-page .woocommerce-cart-form table.shop_table_responsive tr.cart_item td { display: block; padding: 2px 0; border: 0; text-align: left; }
	.wc-page .woocommerce-cart-form table.shop_table_responsive tr.cart_item td::before { display: none; }
	.wc-page .woocommerce-cart-form tr.cart_item td.product-thumbnail { display: block !important; grid-column: 1; grid-row: 1 / span 3; width: auto; }
	.wc-page .woocommerce-cart-form tr.cart_item td.product-thumbnail img { width: 72px; }
	.wc-page .woocommerce-cart-form tr.cart_item td.product-name { grid-column: 2; grid-row: 1; padding-right: 36px; }
	.wc-page .woocommerce-cart-form tr.cart_item td.product-price { grid-column: 2; grid-row: 2; font-size: 14px; }
	.wc-page .woocommerce-cart-form tr.cart_item td.product-quantity { grid-column: 2; grid-row: 3; }
	.wc-page .woocommerce-cart-form tr.cart_item td.product-subtotal { grid-column: 3; grid-row: 3; text-align: right; }
	.wc-page .woocommerce-cart-form tr.cart_item td.product-remove { position: absolute; top: 12px; right: 0; width: auto; padding: 0; }
	.wc-page .woocommerce-cart-form table.shop_table_responsive td.actions { display: block; text-align: left; }
	.wc-page .woocommerce-cart-form td.actions .coupon { display: flex; float: none; width: 100%; margin-bottom: 10px; }
	.wc-page .woocommerce-cart-form td.actions .coupon .input-text { flex: 1; width: auto; }
	.wc-page .woocommerce-cart-form td.actions > .button { width: 100%; }
}
