/* Diwali Special Deals: conversion-first product page, cart and COD checkout (dsd-storefront 1.3.7). */

/* ---- Product gallery (CSS scroll-snap, no slider script) ---- */
.dsd-shop-ux.single-product div.product .dsd-gallery { position: relative; margin: 0 0 1.5em; }
.dsd-gallery-track { display: flex; width: 100%; max-height: 72vh; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; background: #f6f1e8; border-radius: 12px; }
.dsd-gallery-track::-webkit-scrollbar { display: none; }
.dsd-gallery-slide { flex: 0 0 100%; width: 100%; height: 100%; margin: 0; scroll-snap-align: start; scroll-snap-stop: always; display: flex; align-items: center; justify-content: center; }
.dsd-gallery-slide img.dsd-gallery-img { display: block; width: 100%; height: 100%; max-height: 72vh; object-fit: contain; margin: 0; }
.dsd-gallery--empty img { width: 100%; height: auto; display: block; }
.dsd-gallery-thumbs { display: flex; gap: 8px; margin: 10px 0 0; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.dsd-gallery-thumbs::-webkit-scrollbar { display: none; }
.dsd-gallery-thumb { flex: 0 0 auto; width: 56px; height: 56px; padding: 0; border: 2px solid #e3d6c3; border-radius: 8px; background: #fff; overflow: hidden; cursor: pointer; }
.dsd-gallery-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; margin: 0; }
.dsd-gallery-thumb.is-active { border-color: #6f1834; }
@media (min-width: 768px) {
	.dsd-shop-ux.single-product div.product .dsd-gallery { float: left; width: 41.1764705882%; margin-right: 5.8823529412%; margin-bottom: 3.7em; }
	.dsd-gallery-track, .dsd-gallery-slide img.dsd-gallery-img { max-height: 80vh; }
}

/* ---- Product summary ---- */
.dsd-shop-ux.single-product div.product .summary { margin-bottom: 1.5em; }
.dsd-shop-ux.single-product .product_title { font-size: 1.35rem; line-height: 1.3; margin-bottom: .4em; }
.dsd-shop-ux.single-product .summary .price { font-size: 1.6rem; font-weight: 700; color: #5c0a14; margin-bottom: .5em; }
.dsd-shop-ux.single-product .summary .price del { font-size: 1rem; color: #8a7a68; opacity: 1; margin-right: 8px; }
.dsd-shop-ux.single-product .summary .price ins { text-decoration: none; }
.dsd-shop-ux.single-product .woocommerce-variation-price .price { font-size: 1.4rem; font-weight: 700; color: #5c0a14; }
.dsd-shop-ux.single-product .woocommerce-product-details__short-description { font-size: 1rem; line-height: 1.55; }
.dsd-shop-ux.single-product form.cart .quantity { display: none !important; }
.dsd-shop-ux.single-product form.cart table.variations { margin-bottom: 12px; }
.dsd-shop-ux.single-product form.cart table.variations td, .dsd-shop-ux.single-product form.cart table.variations th { display: block; padding: 0; border: 0; text-align: left; }
.dsd-shop-ux.single-product form.cart table.variations label { font-weight: 700; margin: 0 0 6px; display: block; }
.dsd-shop-ux.single-product form.cart select.dsd-has-pills { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.dsd-size-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.dsd-pill { min-width: 52px; min-height: 44px; padding: 8px 14px; border: 2px solid #d8cdbb; border-radius: 8px; background: #fff; color: #2b1d12; font-size: 15px; font-weight: 600; cursor: pointer; }
.dsd-pill:hover { border-color: #6f1834; }
.dsd-pill.is-selected { background: #6f1834; border-color: #6f1834; color: #fff; }
.dsd-pill[disabled] { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.dsd-shop-ux.single-product form.cart .reset_variations { display: none !important; }
.dsd-shop-ux.single-product form.cart .single_add_to_cart_button { display: block; width: 100%; padding: 16px; border-radius: 10px; background: #6f1834; color: #fff; font-size: 18px; font-weight: 700; min-height: 56px; margin: 8px 0 0; }
.dsd-shop-ux.single-product form.cart .single_add_to_cart_button:hover { background: #5c0a14; }
.dsd-shop-ux.single-product form.cart .single_add_to_cart_button.disabled, .dsd-shop-ux.single-product form.cart .single_add_to_cart_button:disabled { opacity: .5; }
.dsd-shop-ux.single-product .storefront-sticky-add-to-cart { display: none !important; }
.dsd-cart-cta { margin: 10px 0 0; }
.dsd-cart-cta.is-empty { display: none; }
.dsd-cart-cta-msg { margin: 0 0 8px; padding: 10px 12px; border-radius: 8px; background: #e9f7ec; color: #1d5a2c; font-weight: 600; }
.dsd-cart-cta .button.dsd-go-cart { display: block; width: 100%; padding: 14px; border: 2px solid #6f1834; border-radius: 10px; background: #fff; color: #6f1834; font-size: 17px; font-weight: 700; text-align: center; text-decoration: none; min-height: 52px; }
.dsd-cart-cta.is-added .button.dsd-go-cart { background: #6f1834; color: #fff; }
.dsd-cart-cta .button.dsd-go-cart:hover { background: #5c0a14; border-color: #5c0a14; color: #fff; }
.dsd-product-share { clear: both; margin: 12px 0 0; text-align: center; }
.dsd-product-share-link { color: #276b3a; font-size: .92rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.dsd-product-share-link:hover, .dsd-product-share-link:focus { color: #185229; }
.dsd-shop-ux.single-product .dsd-product-trust { margin: 14px 0 0; }
.dsd-details { clear: both; margin: 0 0 2em; border: 1px solid #eee3d3; border-radius: 10px; background: #fff; }
.dsd-details > h2 { margin: 0; padding: 14px 16px; border-bottom: 1px solid #eee3d3; font-size: 1.2rem; line-height: 1.35; }
.dsd-details-body { padding: 0 16px 16px; line-height: 1.6; }
.dsd-details-body > :first-child { margin-top: 14px; }
.dsd-details-body > :last-child { margin-bottom: 0; }
.dsd-product-specs { display: grid; gap: 8px; margin: 0; padding: 14px 16px 16px; border-top: 1px solid #eee3d3; }
.dsd-details > h2 + .dsd-product-specs { border-top: 0; }
.dsd-product-spec { display: grid; grid-template-columns: minmax(105px, 35%) minmax(0, 1fr); gap: 10px; margin: 0; font-size: .92rem; line-height: 1.4; }
.dsd-product-spec dt { color: #5c0a14; font-weight: 700; }
.dsd-product-spec dd { margin: 0; color: #3b3027; }

/* ---- Related: every product of the collection ---- */
.dsd-shop-ux.single-product .related.products { clear: both; }
.dsd-shop-ux.single-product .related.products > h2 { font-size: 1.2rem; margin: 0 0 16px; }
.dsd-related-loading { clear: both; margin: 16px 0; color: #6b5a48; font-size: .9rem; text-align: center; }
.dsd-related-sentinel { clear: both; width: 100%; height: 1px; }
/* Ad Inserter's header CSS owns all ul.products column/grid rules (4 desktop / 2 mobile). */

/* ---- Product cards (related grid and catalogue) ---- */
.dsd-shop-ux.home .woocommerce > .storefront-sorting:first-of-type { display: none; }
.dsd-shop-ux.home .woocommerce > .storefront-sorting:last-of-type .woocommerce-ordering,
.dsd-shop-ux.home .woocommerce > .storefront-sorting:last-of-type .woocommerce-result-count { display: none; }
.dsd-shop-ux ul.products li.product:not(.dsd-ad-card) { display: flex; flex-direction: column; text-align: left; background: #fff; border: 1px solid #eee3d3; border-radius: 10px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,.04); }
.dsd-shop-ux ul.products li.product .woocommerce-LoopProduct-link { display: flex; flex-direction: column; flex: 1 1 auto; text-decoration: none; color: inherit; }
.dsd-shop-ux ul.products li.product img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; margin: 0; display: block; background: #f6f1e8; }
.dsd-shop-ux ul.products li.product .woocommerce-loop-product__title { font-size: .95rem; line-height: 1.35; margin: 10px 12px 4px; padding: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; color: #2b1d12; }
.dsd-shop-ux ul.products li.product .price { display: block; margin: 0 12px 10px; font-size: 1.1rem; font-weight: 700; color: #5c0a14 !important; }
.dsd-shop-ux ul.products li.product .price del { display: inline; color: #8a7a68; font-weight: 400; font-size: .9rem; opacity: 1; margin-right: 6px; }
.dsd-shop-ux ul.products li.product .price ins { text-decoration: none; }
.dsd-shop-ux ul.products li.product .onsale { top: 8px; left: 8px; right: auto; padding: 4px 8px; border-radius: 6px; background: #5c0a14; border: 0; color: #fff; font-size: 12px; min-height: 0; min-width: 0; line-height: 1.4; }
.dsd-shop-ux ul.products li.product .button.dsd-add-to-cart { display: block; margin: auto 12px 12px; padding: 12px; border-radius: 8px; background: #6f1834; color: #fff; font-size: 15px; font-weight: 700; text-align: center; text-decoration: none; min-height: 44px; }
.dsd-shop-ux ul.products li.product .button.dsd-add-to-cart:hover, .dsd-shop-ux ul.products li.product .button.dsd-add-to-cart:focus { background: #5c0a14; color: #fff; }
.dsd-shop-ux ul.products li.product .added_to_cart { display: none; }
@media (max-width: 767px) {
	.dsd-shop-ux ul.products li.product .woocommerce-loop-product__title { font-size: .88rem; margin: 8px 8px 2px; }
	.dsd-shop-ux ul.products li.product .price { margin: 0 8px 8px; font-size: 1rem; }
	.dsd-shop-ux ul.products li.product .button.dsd-add-to-cart { margin: auto 8px 8px; padding: 10px; font-size: 14px; }
}

/* ---- Compact numbered catalogue pager ---- */
.dsd-shop-ux .woocommerce-pagination { clear: both; margin: 28px 0 8px; text-align: center; }
.dsd-shop-ux .woocommerce-pagination ul.page-numbers { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px; border: 0; margin: 0; padding: 0; }
.dsd-shop-ux .woocommerce-pagination ul.page-numbers li { border: 0; margin: 0; }
.dsd-shop-ux .woocommerce-pagination .page-numbers { display: inline-block; min-width: 36px; min-height: 36px; padding: 6px 9px; border: 1px solid #e3d6c3; border-radius: 6px; background: #fff; color: #3a2a1a; font-size: 14px; font-weight: 600; line-height: 22px; text-decoration: none; }
.dsd-shop-ux .woocommerce-pagination .page-numbers.current { background: #6f1834; border-color: #6f1834; color: #fff; }
.dsd-shop-ux .woocommerce-pagination .page-numbers.dots { border: 0; background: none; }

/* ---- Cart ---- */
.dsd-shop-ux.woocommerce-cart .cart-collaterals .cross-sells, .dsd-shop-ux.woocommerce-cart .woocommerce-shipping-calculator, .dsd-shop-ux.woocommerce-cart table.cart td.actions .coupon { display: none; }
.dsd-shop-ux.woocommerce-cart .cart_totals h2 { font-size: 1.1rem; }
.dsd-shop-ux.woocommerce-cart .cart_totals .order-total th, .dsd-shop-ux.woocommerce-cart .cart_totals .order-total td { font-size: 1.25rem; }
.dsd-shop-ux.woocommerce-cart .wc-proceed-to-checkout .checkout-button { display: block; width: 100%; padding: 16px; border-radius: 10px; background: #6f1834; color: #fff; font-size: 18px; font-weight: 700; min-height: 56px; }
.dsd-shop-ux.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover { background: #5c0a14; }
.dsd-shop-ux.woocommerce-cart table.cart td.product-remove a.remove { min-width: 44px; min-height: 44px; line-height: 44px; }
@media (max-width: 767px) {
	.dsd-shop-ux.woocommerce-cart table.cart td.product-thumbnail img { max-width: 72px; }
}

/* ---- Checkout ---- */
.dsd-shop-ux.woocommerce-checkout .woocommerce-form-login-toggle, .dsd-shop-ux.woocommerce-checkout .woocommerce-billing-fields > h3, .dsd-shop-ux.woocommerce-checkout .woocommerce-shipping-fields { display: none; }
.dsd-shop-ux.woocommerce-checkout .woocommerce-form-coupon-toggle { margin: 0 0 12px; }
.dsd-shop-ux.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info { padding: 0; border: 0; background: transparent; font-size: .92rem; }
.dsd-shop-ux.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info::before { display: none; }
.dsd-shop-ux.woocommerce-checkout .woocommerce-form-coupon-toggle .showcoupon { color: #6f1834; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.dsd-shop-ux.woocommerce-checkout form.checkout_coupon { margin: 0 0 20px; padding: 14px; border: 1px solid #e3d6c3; border-radius: 8px; background: #fffaf1; }
.dsd-shop-ux.woocommerce-checkout form.checkout_coupon .form-row { margin-bottom: 0; }
.dsd-shop-ux.woocommerce-checkout form.checkout .col2-set .col-1, .dsd-shop-ux.woocommerce-checkout form.checkout .col2-set .col-2 { float: none; width: 100%; margin: 0; }
.dsd-shop-ux.woocommerce-checkout form.checkout .form-row label { font-weight: 600; margin-bottom: 4px; }
.dsd-shop-ux.woocommerce-checkout form.checkout .form-row .input-text, .dsd-shop-ux.woocommerce-checkout form.checkout .form-row select, .dsd-shop-ux.woocommerce-checkout form.checkout .select2-container .select2-selection--single { min-height: 48px; font-size: 16px; border-radius: 8px; }
.dsd-shop-ux.woocommerce-checkout #billing_country_field { display: none; }
.dsd-shop-ux.woocommerce-checkout form.checkout textarea.input-text { min-height: 96px; }
.dsd-shop-ux.woocommerce-checkout .dsd-address-type .woocommerce-input-wrapper { display: flex; gap: 18px; padding-top: 6px; }
.dsd-shop-ux.woocommerce-checkout .dsd-address-type .woocommerce-input-wrapper label { display: inline-flex; align-items: center; min-height: 44px; margin: 0; }
.dsd-shop-ux.woocommerce-checkout .dsd-address-type input { width: 20px; height: 20px; margin-right: 7px; }
.dsd-shop-ux.woocommerce-checkout form.checkout .select2-container .select2-selection--single .select2-selection__rendered { line-height: 46px; }
.dsd-shop-ux.woocommerce-checkout form.checkout .select2-container .select2-selection--single .select2-selection__arrow { height: 46px; }
.dsd-shop-ux.woocommerce-checkout #order_review_heading { font-size: 1.1rem; margin-top: 24px; }
.dsd-shop-ux.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total th, .dsd-shop-ux.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total td { font-size: 1.35rem; color: #5c0a14; }
.dsd-shop-ux.woocommerce-checkout #payment .payment_methods li .payment_box { background: #fff8e7; }
.dsd-shop-ux.woocommerce-checkout #payment .payment_methods li label { font-weight: 700; }
.dsd-shop-ux.woocommerce-checkout #payment .place-order { padding-top: 12px; }
.dsd-shop-ux.woocommerce-checkout #place_order { display: block; width: 100%; padding: 16px; border-radius: 10px; background: #6f1834; color: #fff; font-size: 18px; font-weight: 700; min-height: 56px; }
.dsd-shop-ux.woocommerce-checkout #place_order:hover { background: #5c0a14; }
.dsd-shop-ux.woocommerce-checkout #place_order:disabled, .dsd-sticky-order .button:disabled { opacity: .45; cursor: not-allowed; }
.dsd-terms-note { font-size: .85rem; color: #6b5a48; margin: 0 0 8px; }
.dsd-address-confirm { margin: 8px 0 14px !important; padding: 12px; border: 1px solid #d9c8ae; border-radius: 8px; background: #fffaf1; }
.dsd-address-confirm label { display: flex !important; align-items: flex-start; gap: 9px; margin: 0 !important; font-size: .93rem; line-height: 1.45; cursor: pointer; }
.dsd-address-confirm input { flex: 0 0 auto; width: 22px; height: 22px; margin: 1px 0 0; }
.dsd-sticky-order { position: fixed; left: 0; right: 0; bottom: 0; z-index: 990; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -2px 10px rgba(0,0,0,.12); }
.dsd-sticky-order[hidden] { display: none; }
.dsd-sticky-order .button { display: block; width: 100%; padding: 14px; border-radius: 10px; background: #6f1834; color: #fff; font-size: 17px; font-weight: 700; min-height: 52px; }
body.dsd-sticky-order-on .dsd-whatsapp { bottom: 84px; }
body.dsd-sticky-order-on .dsd-cookie-banner { bottom: 76px; }

/* ---- Order confirmation sharing ---- */
.dsd-order-share { clear: both; margin: 28px 0 12px; padding: 20px 16px; border: 1px solid #e5d8c6; border-radius: 12px; background: #fffaf1; }
.dsd-order-share h2 { margin: 0 0 6px; color: #2b1d12; font-size: 1.35rem; line-height: 1.3; }
.dsd-order-share > p { margin: 0 0 16px; color: #675748; }
.dsd-order-share-actions { display: grid; gap: 10px; }
.dsd-order-share .dsd-share-action { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; margin: 0; padding: 12px 16px; border: 0; border-radius: 9px; color: #fff; font-size: 16px; font-weight: 700; line-height: 1.25; text-align: center; text-decoration: none; cursor: pointer; }
.dsd-order-share .dsd-share-whatsapp { background: #1f7a3f; }
.dsd-order-share .dsd-share-whatsapp:hover, .dsd-order-share .dsd-share-whatsapp:focus { background: #176331; color: #fff; }
.dsd-order-share .dsd-share-facebook { background: #315da8; }
.dsd-order-share .dsd-share-facebook:hover, .dsd-order-share .dsd-share-facebook:focus { background: #274d8c; color: #fff; }
.dsd-order-share .dsd-copy-share { background: #56374a; }
.dsd-order-share .dsd-copy-share:hover, .dsd-order-share .dsd-copy-share:focus { background: #432a39; color: #fff; }
.dsd-order-share .dsd-copy-status { min-height: 1.3em; margin: 8px 0 0; color: #276b3a; font-size: .9rem; font-weight: 600; }
.dsd-order-share .dsd-referral-status { padding: 9px 11px; border-radius: 7px; background: #edf7ef; color: #225f34; font-weight: 700; }
.dsd-order-share .dsd-referral-coupon { padding: 9px 11px; border: 1px dashed #6f1834; border-radius: 7px; color: #5c0a14; }
.dsd-order-confirmation { clear: both; margin: 28px 0 12px; padding: 20px 16px; border: 1px solid #e5d8c6; border-radius: 12px; background: #fff; }
.dsd-order-confirmation h2 { margin: 0 0 10px; font-size: 1.4rem; }
.dsd-order-confirmation h3 { margin: 18px 0 6px; font-size: 1.08rem; }
.dsd-order-confirmation address { margin: 0 0 16px; color: #3b3027; font-style: normal; line-height: 1.6; }
.dsd-order-confirmation p { margin: 0 0 10px; }
.dsd-order-return { margin: 18px 0 12px; padding: 16px; border-top: 1px solid #e5d8c6; text-align: center; }
.dsd-order-return .dsd-return-line { margin: 0 0 12px; }
.dsd-order-return .dsd-return-home { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; border-radius: 9px; background: #6f1834; color: #fff; font-weight: 700; }
.dsd-order-return .dsd-stay-here { display: inline-block; margin-top: 12px; color: #5c0a14; font-weight: 600; }
@media (min-width: 768px) {
	.dsd-shop-ux.woocommerce-checkout form.checkout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 0 40px; align-items: start; }
	.dsd-shop-ux.woocommerce-checkout form.checkout .col2-set { grid-column: 1; }
	.dsd-shop-ux.woocommerce-checkout form.checkout #order_review_heading, .dsd-shop-ux.woocommerce-checkout form.checkout #order_review { grid-column: 2; }
	.dsd-shop-ux.woocommerce-checkout form.checkout #order_review_heading { margin-top: 0; }
	.dsd-sticky-order { display: none !important; }
	.dsd-order-share-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
