/* BD COD Storefront. Red and white theme layered over Astra + WooCommerce. */
:root {
	--bdcs-red: #d0190f;
	--bdcs-red-dark: #9a0f08;
	--bdcs-red-tint: #fdecea;
	--bdcs-ink: #1a1a1a;
	--bdcs-muted: #5c5c5c;
	--bdcs-line: #e6e6e6;
	--bdcs-green: #1d8a4a;
	--bdcs-font: "Jost", "Hind Siliguri", system-ui, -apple-system, "Segoe UI", sans-serif;
	--bdcs-font-bn: "Hind Siliguri", "Jost", system-ui, sans-serif;
	--bdcs-gap: 20px;
	--bdcs-cols: 5;
}

/* Visually hidden helper text (WooCommerce price accessibility text). */
body.bdcs-active .bdcs-card .screen-reader-text, body.bdcs-active .bdcs-order .screen-reader-text, body.bdcs-active .summary .price .screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Hide Astra's own header/footer; the plugin prints its own. */
body.bdcs-active #masthead,
body.bdcs-active #colophon { display: none !important; }

body.bdcs-active { font-family: var(--bdcs-font-bn); color: var(--bdcs-ink); }
body.bdcs-active a { text-underline-offset: 3px; }
.bdcs-icon { display: block; flex: none; }
.bdcs-header :focus-visible, .bdcs-footer :focus-visible, .bdcs-section :focus-visible,
.bdcs-order :focus-visible, .bdcs-modal :focus-visible, .bdcs-wa :focus-visible { outline: 2px solid var(--bdcs-ink); outline-offset: 2px; }

/* ---------- Landing pages (pages that use the plugin shortcodes): full width, no Astra box ---------- */
body.bdcs-landing, body.bdcs-landing .site-content { background: #fff !important; overflow-x: clip; }
body.bdcs-landing .site-content > .ast-container { max-width: none !important; width: 100% !important; padding: 0 !important; display: block !important; }
body.bdcs-landing #primary { width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; border: 0 !important; }
body.bdcs-landing #secondary { display: none !important; }
body.bdcs-landing .site-main, body.bdcs-landing .ast-article-single, body.bdcs-landing .ast-article-post, body.bdcs-landing .entry-content { max-width: none !important; margin: 0 !important; padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; }
body.bdcs-landing .entry-header { display: none !important; }

/* ---------- Header ---------- */
.bdcs-header { position: sticky; top: 0; z-index: 999; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .08); font-family: var(--bdcs-font); }
.admin-bar .bdcs-header { top: 32px; }
.bdcs-header__inner { display: flex; align-items: center; gap: 20px; min-height: 84px; padding: 0 24px; }
.bdcs-logo { display: inline-flex; align-items: center; order: 1; color: var(--bdcs-ink); text-decoration: none; }
.bdcs-logo__img { display: block; height: 48px; width: auto; max-width: 220px; }
.bdcs-logo__text { font-size: 24px; font-weight: 700; }
.bdcs-collapse { display: contents; }
.bdcs-nav { order: 2; flex: 1; }
.bdcs-menu, .bdcs-nav ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin: 0; padding: 0; list-style: none; }
.bdcs-menu a, .bdcs-nav a { color: var(--bdcs-ink); font-size: 18px; text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.bdcs-menu a:hover, .bdcs-nav .current-menu-item > a, .bdcs-nav a:hover { color: var(--bdcs-red); border-bottom-color: var(--bdcs-red); }
.bdcs-socials { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }
.bdcs-socials a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: #fff; background: var(--bdcs-red); transition: background .2s; }
.bdcs-socials a:hover { background: var(--bdcs-red-dark); }
.bdcs-socials--header { order: 3; }
.bdcs-search { order: 4; position: relative; width: 250px; }
.bdcs-search input[type="search"] { box-shadow: none; width: 100%; height: 46px; padding: 0 46px 0 18px; border: 1px solid var(--bdcs-line); border-radius: 999px; font: 16px var(--bdcs-font-bn); background: #fff; }
.bdcs-search input[type="search"]:focus { border-color: var(--bdcs-red); outline: none; }
.bdcs-search button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0 !important; border-radius: 50%; background: transparent !important; box-shadow: none !important; color: var(--bdcs-muted) !important; cursor: pointer; }
.bdcs-search button:hover { color: var(--bdcs-red) !important; }
.bdcs-cart { order: 5; position: relative; display: grid; place-items: center; color: var(--bdcs-ink); }
.bdcs-cart .bdcs-icon { width: 28px; height: 28px; }
.bdcs-cart-count { position: absolute; top: -9px; right: -11px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--bdcs-red); color: #fff; font: 600 11px/18px var(--bdcs-font); text-align: center; }
.bdcs-phone { order: 6; display: inline-flex; align-items: center; gap: 6px; color: var(--bdcs-ink); font-size: 20px; text-decoration: none; white-space: nowrap; }
.bdcs-burger { display: none; order: 7; border: 0; background: transparent; color: var(--bdcs-ink); padding: 6px; cursor: pointer; }
.bdcs-burger .bdcs-icon { width: 28px; height: 28px; }

@media (max-width: 1280px) { .bdcs-menu a, .bdcs-nav a { font-size: 16px; } .bdcs-menu, .bdcs-nav ul { gap: 6px 14px; } .bdcs-search { width: 200px; } }
@media (max-width: 1180px) {
	.bdcs-header__inner { min-height: 68px; padding: 0 16px; position: relative; }
	.bdcs-logo__img { height: 40px; }
	.bdcs-cart { margin-left: auto; }
	.bdcs-burger { display: block; }
	.bdcs-collapse { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 16px; padding: 16px; background: #fff; box-shadow: 0 8px 16px rgba(0, 0, 0, .1); max-height: calc(100vh - 68px); overflow-y: auto; }
	.bdcs-collapse.is-open { display: flex; }
	.bdcs-nav, .bdcs-socials--header, .bdcs-search, .bdcs-phone { order: initial; }
	.bdcs-menu, .bdcs-nav ul { flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 2px; }
	.bdcs-menu a, .bdcs-nav a { display: block; font-size: 18px; padding: 10px 4px; border-bottom: 1px solid var(--bdcs-line); }
	.bdcs-search { width: 100%; }
	.bdcs-socials--header { justify-content: flex-start; }
}
@media (max-width: 782px) { .admin-bar .bdcs-header { top: 46px; } }

/* ---------- Home sections ---------- */
.bdcs-hero img { display: block; width: 100%; height: auto; }
.bdcs-section { padding: 0 10px; box-sizing: border-box; font-family: var(--bdcs-font); }

.bdcs-cats__title { margin: 48px 0 24px; text-align: center; font: 600 clamp(26px, 3vw, 36px)/1.2 var(--bdcs-font); text-transform: uppercase; }
.bdcs-cats__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.bdcs-cat { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--bdcs-line); border-radius: 6px; background: #fff; color: var(--bdcs-ink); text-decoration: none; }
.bdcs-cat img { display: block; width: 100%; height: auto; aspect-ratio: 6 / 5; object-fit: cover; background: #f3f3f3; }
.bdcs-cat__label { display: block; padding: 12px 10px; background: #fff; color: var(--bdcs-ink); font: 500 18px/1.3 var(--bdcs-font); text-align: center; transition: background .2s, color .2s; }
.bdcs-cat:hover .bdcs-cat__label, .bdcs-cat:focus-visible .bdcs-cat__label { background: var(--bdcs-red); color: #fff; }

/* Slider sections */
.bdcs-slider-section { margin: 56px 0; }
.bdcs-section__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.bdcs-section__title { margin: 0; font-family: var(--bdcs-font); }
.bdcs-slider { position: relative; }
.bdcs-track { display: flex; gap: var(--bdcs-gap); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px; }
.bdcs-track::-webkit-scrollbar { display: none; }
.bdcs-track > .bdcs-card { flex: 0 0 calc((100% - (var(--bdcs-cols) - 1) * var(--bdcs-gap)) / var(--bdcs-cols)); scroll-snap-align: start; }

.bdcs-slider-section--plain .bdcs-section__head { margin-bottom: 28px; }
.bdcs-slider-section--plain .bdcs-section__title { display: inline-block; padding-bottom: 14px; border-bottom: 2px solid var(--bdcs-ink); font-weight: 300; font-size: clamp(26px, 3vw, 40px); text-transform: uppercase; letter-spacing: .02em; }
.bdcs-section__ctrl { display: flex; align-items: center; gap: 12px; }
.bdcs-arrow { display: grid; place-items: center; border: 0; cursor: pointer; color: var(--bdcs-ink); }
.bdcs-arrow .bdcs-icon { width: 28px; height: 28px; }
.bdcs-arrow--round { width: 50px; height: 50px; border-radius: 50%; background: #f1f1f1; }
.bdcs-arrow--round:hover { background: var(--bdcs-red); color: #fff; }
.bdcs-viewall { display: inline-block; padding: 14px 28px; background: var(--bdcs-ink); color: #fff; font: 600 16px var(--bdcs-font); text-decoration: none; }
.bdcs-viewall:hover { background: var(--bdcs-red); color: #fff; }

.bdcs-slider-section--band { margin: 48px 10px; padding: 36px clamp(16px, 4.5vw, 96px) 56px; border-radius: 16px; color: #fff;
	background: repeating-conic-gradient(from 0deg at 50% 130%, rgba(255, 255, 255, .07) 0 4deg, transparent 4deg 8deg), linear-gradient(135deg, #7d0a0a 0%, #c8102e 55%, #e03a2f 100%); }
.bdcs-slider-section--band .bdcs-section__title { margin-bottom: 24px; color: #fff; font-weight: 700; font-size: clamp(26px, 3vw, 36px); }
.bdcs-arrow--side { position: absolute; top: 50%; z-index: 2; width: 56px; height: 56px; margin-top: -28px; border-radius: 10px; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .25); }
.bdcs-arrow--prev { left: -62px; }
.bdcs-arrow--next { right: -62px; }
.bdcs-slider-section--band .bdcs-card { border-color: transparent; border-radius: 12px; }
.bdcs-slider-section--band .bdcs-card__body { background: var(--bdcs-red-tint); }
.bdcs-slider-section--band .bdcs-card__btn { background: var(--bdcs-red-dark); }

/* ---------- Product card ---------- */
.bdcs-card { display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid var(--bdcs-line); border-radius: 6px; overflow: hidden; color: var(--bdcs-ink); font-family: var(--bdcs-font-bn); }
.bdcs-card__img { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: #f3f3f3; }
.bdcs-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bdcs-card__body { padding: 14px 12px; text-align: center; }
.bdcs-card__title { margin: 0 0 8px; font-size: 17px; font-weight: 600; line-height: 1.4; min-height: 2.8em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bdcs-card__title a { color: inherit; text-decoration: none; }
.bdcs-card__title a:hover { color: var(--bdcs-red); }
.bdcs-card__price { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 10px; font: 600 20px var(--bdcs-font); }
.bdcs-card__price del { margin-right: 10px; color: var(--bdcs-ink); font-weight: 500; opacity: 1; }
.bdcs-card__price ins { text-decoration: none; background: none; }
.bdcs-card__btn { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: auto; padding: 14px 10px; background: var(--bdcs-red); color: #fff; font: 700 clamp(15px, 1.3vw, 18px) var(--bdcs-font-bn); text-decoration: none; white-space: nowrap; }
.bdcs-card__btn:hover { background: var(--bdcs-red-dark); color: #fff; }

/* ---------- Brand assurance ---------- */
.bdcs-brand { margin: 48px 0; padding: 48px 16px; background: #f3f1f1; font-family: var(--bdcs-font); }
.bdcs-brand__title { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 0 0 24px; color: var(--bdcs-red); font-size: 22px; font-weight: 700; letter-spacing: .25em; text-transform: uppercase; }
.bdcs-brand__title::before, .bdcs-brand__title::after { content: ""; width: 36px; height: 2px; background: var(--bdcs-red); }
.bdcs-brand__card { max-width: 830px; margin: 0 auto; padding: 36px 24px; background: #fff; border-radius: 16px; box-shadow: 0 8px 24px rgba(0, 0, 0, .08); text-align: center; }
.bdcs-brand__card p { margin: 0 0 14px; font-size: 18px; }
.bdcs-brand__card p:last-child { margin-bottom: 0; }

/* ---------- WhatsApp bar ---------- */
.bdcs-wa { background: var(--bdcs-red); color: #fff; font-family: var(--bdcs-font-bn); }
.bdcs-wa__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 20px; max-width: 1200px; margin: 0 auto; padding: 22px 16px; }
.bdcs-wa__icon .bdcs-icon { width: 38px; height: 38px; }
.bdcs-wa__text { margin: 0; font-size: 20px; font-weight: 600; }
.bdcs-wa__btn { display: inline-block; padding: 10px 26px; border-radius: 999px; background: #fff; color: var(--bdcs-red); font: 700 20px var(--bdcs-font); text-decoration: none; }
.bdcs-wa__btn:hover { background: var(--bdcs-ink); color: #fff; }

/* ---------- Footer ---------- */
.bdcs-footer { background: #1a1a1a; color: #eee; font-family: var(--bdcs-font); }
.bdcs-footer a { color: #fff; text-decoration: none; }
.bdcs-footer a:hover { color: #ff8a82; }
.bdcs-footer__inner { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding: 48px 24px; }
.bdcs-footer__col p { margin: 12px 0 0; font-size: 15px; line-height: 1.6; }
.bdcs-logo--footer { padding: 8px; background: #fff; border-radius: 4px; }
.bdcs-logo--footer .bdcs-logo__img { height: 80px; }
.bdcs-footer__menu { margin: 0; padding: 0; list-style: none; }
.bdcs-footer__menu li { margin: 0 0 16px; }
.bdcs-footer__menu a { font-size: 18px; }
.bdcs-footer__title { margin: 0 0 16px; color: #fff; font-size: 20px; font-weight: 700; }
.bdcs-socials--footer a { background: #333; }
.bdcs-socials--footer a:hover { background: var(--bdcs-red); color: #fff; }
.bdcs-footer__copy { margin: 0; padding: 16px; border-top: 1px solid #333; color: #aaa; font-size: 14px; text-align: center; }

/* ---------- Single product ---------- */
body.bdcs-active.single-product .ast-container { max-width: 1420px; }
body.bdcs-active.single-product div.product.type-product { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 36px; align-items: start; }
body.bdcs-active.single-product div.product .woocommerce-product-gallery { width: 100% !important; float: none !important; margin: 0; }
body.bdcs-active.single-product div.product .summary { width: 100% !important; float: none !important; margin: 0; padding: 0; }
body.bdcs-active.single-product div.product .bdcs-related { grid-column: 1 / -1; }
.bdcs-breadcrumb { margin: 18px 0 14px; color: var(--bdcs-muted); font: 13px var(--bdcs-font); }
.bdcs-breadcrumb a { color: var(--bdcs-muted); text-decoration: none; }
.bdcs-breadcrumb a:hover { color: var(--bdcs-red); }
.woocommerce-product-gallery .flex-control-thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin: 10px 0 0; padding: 0; list-style: none; }
.woocommerce-product-gallery .flex-control-thumbs li { width: 92px; margin: 0; }
.woocommerce-product-gallery .flex-control-thumbs img { display: block; width: 100%; border: 2px solid transparent; opacity: 1; cursor: pointer; }
.woocommerce-product-gallery .flex-control-thumbs img.flex-active { border-color: var(--bdcs-red); }

.bdcs-stock { display: inline-block; padding: 4px 10px; border-radius: 12px; color: #fff; font: 600 12px var(--bdcs-font); }
.bdcs-stock--in { background: var(--bdcs-green); }
.bdcs-stock--out { background: var(--bdcs-red-dark); }
body.bdcs-active.single-product .summary .product_title { margin: 12px 0 6px; font: 700 clamp(22px, 2.4vw, 30px)/1.25 var(--bdcs-font); }
body.bdcs-active.single-product .summary .price { margin: 0 0 8px; color: var(--bdcs-ink); font: 500 24px var(--bdcs-font); }
body.bdcs-active.single-product .summary .price del { margin-right: 10px; opacity: 1; }
body.bdcs-active.single-product .summary .price ins { text-decoration: none; background: none; }

.bdcs-attr { margin: 18px 0 0; padding: 0; border: 0; }
.bdcs-attr legend, .bdcs-label { display: block; margin: 0 0 8px; padding: 0; font: 600 20px var(--bdcs-font-bn); }
.bdcs-attr__options { display: flex; flex-wrap: wrap; gap: 10px; }
.bdcs-chip { position: relative; cursor: pointer; }
.bdcs-chip input { position: absolute; opacity: 0; inset: 0; }
.bdcs-chip span { display: block; min-width: 44px; padding: 7px 16px; border: 1px solid #c9c9c9; border-radius: 4px; text-align: center; font: 15px var(--bdcs-font); }
.bdcs-chip:hover span { border-color: var(--bdcs-red); }
.bdcs-chip input:checked + span { border-color: var(--bdcs-red); background: var(--bdcs-red); color: #fff; }
.bdcs-chip input:focus-visible + span { outline: 2px solid var(--bdcs-ink); outline-offset: 2px; }
.bdcs-attr.is-error .bdcs-chip span { border-color: var(--bdcs-red); }

.bdcs-qty-wrap { margin-top: 18px; }
.bdcs-qty { display: inline-flex; align-items: center; gap: 6px; padding: 5px; border: 1px solid #c9c9c9; border-radius: 999px; }
.bdcs-qty button { width: 32px; height: 32px; border: 0; border-radius: 50%; background: #f0f0f0; font-size: 20px; line-height: 1; cursor: pointer; }
.bdcs-qty button:hover { background: var(--bdcs-red); color: #fff; }
.bdcs-qty input { width: 48px; padding: 0; border: 0; background: transparent; text-align: center; font: 16px var(--bdcs-font); -moz-appearance: textfield; }
.bdcs-qty input::-webkit-outer-spin-button, .bdcs-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.bdcs-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 12px; padding: 12px 16px; border: 2px solid transparent; border-radius: 4px; font: 700 17px var(--bdcs-font-bn); text-decoration: none; cursor: pointer; transition: background .2s, color .2s; box-sizing: border-box; }
.bdcs-btn--red { background: var(--bdcs-red); color: #fff; }
.bdcs-btn--red:hover { background: var(--bdcs-red-dark); color: #fff; }
.bdcs-btn--outline { background: #fff; border-color: var(--bdcs-red); color: var(--bdcs-red); }
.bdcs-btn--outline:hover { background: var(--bdcs-red-tint); color: var(--bdcs-red-dark); }
.bdcs-btn:disabled { opacity: .5; cursor: not-allowed; }
.bdcs-msg { margin: 12px 0 0; font-size: 15px; }
.bdcs-msg.is-error { color: #b00020; }
.bdcs-msg:empty { display: none; }

.bdcs-delivery { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 12px 14px; border-radius: 4px; background: var(--bdcs-red-tint); color: var(--bdcs-red-dark); }
.bdcs-delivery .bdcs-icon { width: 30px; height: 30px; }
.bdcs-delivery p { margin: 2px 0; font-size: 18px; }

.bdcs-details { margin-top: 22px; font-size: 16px; line-height: 1.6; }
.bdcs-details p { margin: 0 0 10px; }
.bdcs-share { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.bdcs-share ul { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }
.bdcs-share a { color: var(--bdcs-ink); }
.bdcs-share a:hover { color: var(--bdcs-red); }
.bdcs-share .bdcs-icon { width: 18px; height: 18px; }

.bdcs-related { margin: 40px 0 24px; }
.bdcs-related__title { margin: 0 0 20px; font: 600 26px var(--bdcs-font); }
.bdcs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ---------- Order modal ---------- */
body.bdcs-modal-open { overflow: hidden; }
.bdcs-modal[hidden] { display: none; }
.bdcs-modal { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 16px; font-family: var(--bdcs-font-bn); color: var(--bdcs-ink); }
.bdcs-modal__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); }
.bdcs-modal__dialog { position: relative; width: 100%; max-width: 520px; max-height: 92vh; overflow-y: auto; padding: 24px; background: #fff; border-radius: 12px; box-sizing: border-box; }
.bdcs-modal__dialog h2 { margin: 0 40px 14px 0; font-size: 22px; }
.bdcs-modal__close { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #f1f1f1; cursor: pointer; }
.bdcs-modal__close:hover { background: var(--bdcs-red); color: #fff; }
.bdcs-summary { display: flex; flex-direction: column; gap: 2px; margin-bottom: 16px; padding: 12px; border-radius: 6px; background: var(--bdcs-red-tint); font-size: 15px; }
.bdcs-field { display: block; margin-bottom: 14px; font-weight: 600; font-size: 15px; }
.bdcs-field input, .bdcs-field textarea { display: block; width: 100%; margin-top: 6px; padding: 10px 12px; border: 1px solid #c9c9c9; border-radius: 6px; font: 16px var(--bdcs-font-bn); box-sizing: border-box; }
.bdcs-field input:focus, .bdcs-field textarea:focus { border-color: var(--bdcs-red); outline: none; }
.bdcs-area { margin: 0 0 14px; padding: 0; border: 0; }
.bdcs-area legend { margin-bottom: 6px; padding: 0; font-weight: 600; font-size: 15px; }
.bdcs-area label { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-size: 16px; }
.bdcs-area input { accent-color: var(--bdcs-red); }
.bdcs-totals { margin: 0 0 12px; padding: 12px 0; border-top: 1px solid var(--bdcs-line); border-bottom: 1px solid var(--bdcs-line); }
.bdcs-totals div { display: flex; justify-content: space-between; margin: 4px 0; }
.bdcs-totals dt, .bdcs-totals dd { margin: 0; }
.bdcs-totals__sum { font-weight: 700; font-size: 18px; color: var(--bdcs-red); }
.bdcs-pay { margin: 0; font-size: 14px; color: var(--bdcs-muted); }
.bdcs-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bdcs-success p { margin: 0 0 8px; padding: 14px; border-radius: 6px; background: var(--bdcs-red-tint); font-size: 17px; line-height: 1.6; }

/* ---------- Responsive ---------- */
@media (max-width: 1399px) {
	.bdcs-arrow--prev { left: -14px; }
	.bdcs-arrow--next { right: -14px; }
	.bdcs-arrow--side { width: 44px; height: 44px; margin-top: -22px; }
	.bdcs-slider-section--band { padding-left: 32px; padding-right: 32px; }
}
@media (max-width: 1200px) {
	:root { --bdcs-cols: 4; }
}
@media (max-width: 1024px) {
	:root { --bdcs-cols: 3; }
	.bdcs-cats__grid { grid-template-columns: repeat(3, 1fr); }
	.bdcs-footer__inner { grid-template-columns: 1fr 1fr; }
	.bdcs-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
	body.bdcs-active.single-product div.product.type-product { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 640px) {
	:root { --bdcs-cols: 2; --bdcs-gap: 12px; }
	.bdcs-cats__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.bdcs-section__head { align-items: flex-start; }
	.bdcs-arrow--round { width: 40px; height: 40px; }
	.bdcs-viewall { padding: 10px 16px; }
	.bdcs-card__title { font-size: 15px; }
	.bdcs-card__price { font-size: 17px; }
	.bdcs-card__btn { font-size: 16px; padding: 12px 6px; }
	.bdcs-slider-section--band { padding: 24px 14px 32px; margin: 32px 6px; }
	.bdcs-footer__inner { grid-template-columns: 1fr; gap: 28px; padding: 36px 16px; }
	.bdcs-brand__title { letter-spacing: .12em; font-size: 18px; }
	.bdcs-grid { gap: 12px; }
	.bdcs-modal { align-items: flex-end; padding: 0; }
	.bdcs-modal__dialog { max-width: none; max-height: 94vh; border-radius: 16px 16px 0 0; }
}
/* ---------- Icon buttons: beat the theme's global button styles (Astra adds wide padding and white text) ---------- */
.bdcs-arrow, .bdcs-qty button, .bdcs-modal__close { box-sizing: border-box; display: flex; align-items: center; justify-content: center; min-width: 0; padding: 0 !important; border: 0 !important; line-height: 1; cursor: pointer; }
.bdcs-arrow .bdcs-icon, .bdcs-qty .bdcs-icon, .bdcs-modal__close .bdcs-icon { display: block; flex: none; margin: 0; }
.bdcs-arrow--round { background: #f1f1f1 !important; color: var(--bdcs-ink) !important; }
.bdcs-arrow--side { background: #fff !important; color: var(--bdcs-ink) !important; }
.bdcs-arrow--round:hover, .bdcs-arrow--side:hover, .bdcs-arrow:focus-visible { background: var(--bdcs-red) !important; color: #fff !important; }
.bdcs-qty { gap: 10px; padding: 5px; }
.bdcs-qty button { width: 38px; height: 38px; border-radius: 50%; background: var(--bdcs-red-tint) !important; color: var(--bdcs-red) !important; }
.bdcs-qty button .bdcs-icon { width: 18px; height: 18px; }
.bdcs-qty button:hover, .bdcs-qty button:focus-visible { background: var(--bdcs-red) !important; color: #fff !important; }
.bdcs-qty input { width: 54px; font-weight: 600; font-size: 17px; }
.bdcs-modal__close { background: #f1f1f1 !important; color: var(--bdcs-ink) !important; }
.bdcs-modal__close:hover { background: var(--bdcs-red) !important; color: #fff !important; }

/* ---------- Logo size (change the two numbers to make it bigger or smaller) ---------- */
:root { --bdcs-logo-h: 68px; --bdcs-logo-h-mobile: 52px; }
.bdcs-header__inner { min-height: 92px; padding-top: 8px; padding-bottom: 8px; }
.bdcs-logo__img { height: var(--bdcs-logo-h); width: auto; max-width: 280px; object-fit: contain; }
@media (max-width: 1180px) {
	.bdcs-header__inner { min-height: 72px; }
	.bdcs-logo__img { height: var(--bdcs-logo-h-mobile); max-width: 55vw; }
}

/* ---------- FIXED HEADER: same size on every page ----------
   WooCommerce/Astra pages (shop, category, product, cart...) add rules like
   ".woocommerce-page img { height:auto }" which beat the single-class logo rule
   above, so the logo showed at its full original size and blew the header up.
   The rules below use higher specificity + !important so the header looks the
   same on the home page and on every other page. */
.bdcs-header { position: sticky; top: 0; z-index: 999; width: 100%; box-sizing: border-box; }
.bdcs-header .bdcs-header__inner { box-sizing: border-box; height: 92px; min-height: 92px; max-height: 92px; padding-top: 8px; padding-bottom: 8px; }
.bdcs-header .bdcs-logo { flex: 0 0 auto; height: var(--bdcs-logo-h); max-height: var(--bdcs-logo-h); margin: 0; padding: 0; }
.bdcs-header .bdcs-logo img,
.bdcs-header .bdcs-logo .bdcs-logo__img,
body .bdcs-header img.bdcs-logo__img {
	height: var(--bdcs-logo-h) !important;
	max-height: var(--bdcs-logo-h) !important;
	width: auto !important;
	max-width: 280px !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	object-fit: contain !important;
	border: 0 !important;
	box-shadow: none !important;
}
.bdcs-header .bdcs-nav { min-width: 0; }
.bdcs-header .bdcs-menu, .bdcs-header .bdcs-nav ul { flex-wrap: nowrap; margin: 0 !important; padding: 0 !important; }
.bdcs-header .bdcs-menu li, .bdcs-header .bdcs-nav li { margin: 0 !important; padding: 0 !important; white-space: nowrap; }
.bdcs-header .bdcs-menu a, .bdcs-header .bdcs-nav a { white-space: nowrap; }
@media (max-width: 1180px) {
	.bdcs-header .bdcs-header__inner { height: 72px; min-height: 72px; max-height: 72px; }
	.bdcs-header .bdcs-logo, .bdcs-header .bdcs-logo img, .bdcs-header .bdcs-logo .bdcs-logo__img, body .bdcs-header img.bdcs-logo__img { height: var(--bdcs-logo-h-mobile) !important; max-height: var(--bdcs-logo-h-mobile) !important; max-width: 55vw !important; }
	.bdcs-header .bdcs-menu, .bdcs-header .bdcs-nav ul { flex-wrap: wrap; }
	.bdcs-header .bdcs-menu li, .bdcs-header .bdcs-nav li { white-space: normal; }
}

/* ---------- Image picker (customer chooses one of the product's images) ---------- */
.bdcs-imgpick { margin: 18px 0 0; padding: 0; border: 0; min-width: 0; }
.bdcs-imgpick legend { display: block; margin: 0 0 8px; padding: 0; font: 600 20px var(--bdcs-font-bn); }
.bdcs-imgpick__options { display: flex; flex-wrap: wrap; gap: 10px; }
.bdcs-order .bdcs-imgchip { position: relative; display: block; width: 76px; height: 76px; margin: 0; padding: 0; border: 2px solid var(--bdcs-line); border-radius: 6px; overflow: hidden; cursor: pointer; background: #fff; }
.bdcs-order .bdcs-imgchip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.bdcs-order .bdcs-imgchip img { display: block !important; width: 100% !important; height: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; object-fit: cover !important; border: 0 !important; box-shadow: none !important; }
.bdcs-order .bdcs-imgchip:hover { border-color: var(--bdcs-red); }
.bdcs-order .bdcs-imgchip input:checked + img { outline: 4px solid var(--bdcs-red); outline-offset: -4px; }
.bdcs-order .bdcs-imgchip:has(input:checked) { border-color: var(--bdcs-red); }
.bdcs-order .bdcs-imgchip input:focus-visible + img { outline: 3px solid var(--bdcs-ink); outline-offset: -3px; }
.bdcs-imgpick.is-error .bdcs-imgchip { border-color: var(--bdcs-red); }
.bdcs-summary .bdcs-summary__img { display: flex; align-items: center; gap: 8px; }
.bdcs-summary .bdcs-summary__img img { width: 56px !important; height: 56px !important; max-width: none !important; object-fit: cover; border-radius: 4px; margin: 0 !important; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
