/*
Theme Name: BD Store
Description: Custom WooCommerce theme: category-coloured navigation, hero slider, manufacturer carousel, hot products by category and quote-ready product pages.
Version: 1.25.1
Requires at least: 6.3
Requires PHP: 7.4
Text Domain: bd-store
*/

:root {
	--ink: #222;
	--muted: #666;
	--bar: #555;
	--bar-dark: #3a3a3a;
	--panel: #eeeeef;
	--line: #dcdcdc;
	--link: #234a91;
	--ok: #7cc544;
	--green: #3fae5a;
	--green-dark: #2f9449;
	--sale: #f26a21; /* color de la etiqueta "Oferta" */
	--drawer: #f2f3f5; /* color de fondo del menú lateral desplegable (blanco un poco más oscuro que el de la página) */
	--drawer-ink: #000000; /* color de las letras del menú lateral */
	--accent: #555;
	--on-accent: #fff;
	--font: "Open Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 400 15px/1.6 var(--font); color: var(--ink); background: #fff; }
/* Sticky footer: when a page has little content the footer stays at the bottom of the screen,
   so no white area is left under the grey band. */
body { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
body > main { flex: 1 0 auto; }
img { max-width: 100%; height: auto; }
a { color: var(--link); }
:focus-visible { outline: 3px solid #234a91; outline-offset: 2px; }
.screen-reader-text { position: absolute !important; clip: rect(1px, 1px, 1px, 1px); width: 1px; height: 1px; overflow: hidden; white-space: nowrap; }
.skip-link:focus { clip: auto; width: auto; height: auto; background: #fff; padding: 8px 12px; z-index: 100; left: 8px; top: 8px; }
.bd-wrap { width: min(1280px, 100% - 32px); margin-inline: auto; }
.bd-main { padding-bottom: 48px; }
.bd-title { font-size: 32px; font-weight: 400; margin: 24px 0; }
.bd-hint { background: #fff8d6; padding: 12px 16px; }

.bd-icon { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Header (sticky): top strip, bar, search panel and side menu */
.bd-header { position: sticky; top: 0; z-index: 100; background: #fff; }
body.admin-bar .bd-header { top: 32px; }
.bd-announce { position: relative; z-index: 4; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2px 10px; padding: 4px 16px; background: var(--bar-dark); color: #fff; font-size: 13px; font-weight: 600; line-height: 1.5; text-align: center; }
.bd-announce__wa { display: inline-flex; align-items: center; gap: 6px; padding: 0 12px 0 8px; border-radius: 999px; background: linear-gradient(135deg, var(--green), var(--green-dark)); color: #fff; font-size: 13px; font-weight: 700; line-height: 1.6; text-decoration: none; transition: background .15s, transform .15s; }
.bd-announce__wa:hover, .bd-announce__wa:focus-visible { background: linear-gradient(135deg, #46b863, var(--green-dark)); color: #fff; transform: translateY(-1px); }
.bd-announce__wa .bd-wa-logo { width: 14px; height: 14px; }
.bd-bar { position: relative; z-index: 4; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 10px clamp(12px, 3vw, 32px); background: #fff; border-bottom: 1px solid var(--line); }
.bd-bar__side { display: flex; align-items: center; gap: 4px; }
.bd-bar__right { justify-content: flex-end; }
.bd-bar__logo { min-width: 0; text-align: center; line-height: 0; }
.bd-bar__logo img { max-width: 100%; max-height: 72px; width: auto; transition: max-height .2s; }
.bd-header.is-stuck .bd-bar__logo img { max-height: 48px; }
.bd-sitename { font-size: 26px; font-weight: 800; line-height: 1.1; color: var(--ink); text-decoration: none; }
.bd-iconbtn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--ink); text-decoration: none; cursor: pointer; }
.bd-iconbtn:hover { background: var(--panel); }
.bd-ico { display: grid; place-items: center; }
.bd-svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bd-count { position: absolute; top: 1px; right: -1px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: #f05537; color: #fff; font-size: 11px; font-weight: 700; line-height: 19px; text-align: center; }
.bd-count.is-empty { display: none; }
.bd-menu-toggle .bd-ico--close { display: none; }
.bd-menu-toggle[aria-expanded="true"] .bd-ico--open { display: none; }
.bd-menu-toggle[aria-expanded="true"] .bd-ico--close { display: grid; }

.bd-searchpanel { position: absolute; z-index: 3; top: 100%; left: 0; right: 0; padding: 22px clamp(12px, 3vw, 32px); background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 10px 20px rgba(0, 0, 0, .08); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .2s, transform .2s, visibility .2s; }
.bd-searchpanel.is-open { opacity: 1; visibility: visible; transform: none; }
.bd-searchform { display: flex; align-items: center; justify-content: center; gap: 12px; }
.bd-searchfield { position: relative; flex: 0 1 960px; width: 100%; }
.bd-searchfield input { width: 100%; height: 60px; padding: 24px 60px 6px 16px; border: 2px solid var(--ink); border-radius: 0; background: #fff; color: var(--ink); font: inherit; font-size: 17px; }
.bd-searchfield label { position: absolute; top: 18px; left: 18px; color: var(--muted); font-size: 16px; pointer-events: none; transition: top .15s, font-size .15s; }
.bd-searchfield input:focus + label, .bd-searchfield input:not(:placeholder-shown) + label { top: 8px; font-size: 12px; }
.bd-searchfield button { position: absolute; top: 8px; right: 6px; }

.bd-overlay { position: fixed; z-index: 1; inset: 0; background: rgba(0, 0, 0, .5); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.bd-overlay.is-open { opacity: 1; visibility: visible; }
html.bd-lock { overflow: hidden; }

.bd-drawer { position: fixed; z-index: 2; top: 120px; bottom: 0; left: 0; width: min(520px, 100%); overflow: hidden; background: var(--drawer); color: var(--drawer-ink); visibility: hidden; transform: translateX(-100%); transition: transform .3s, visibility .3s; }
.bd-drawer.is-open { visibility: visible; transform: none; }
.bd-drawer__scroll { height: 100%; overflow-y: auto; padding: 20px 0 32px; }
.bd-list { list-style: none; margin: 0; padding: 0; }
.bd-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 16px 36px; border: 0; background: transparent; color: inherit; font: inherit; font-size: 20px; letter-spacing: .04em; text-align: left; text-decoration: none; text-transform: uppercase; cursor: pointer; }
.bd-row:hover, .bd-row:focus-visible { background: rgba(0, 0, 0, .08); }
.bd-row .bd-svg { flex: none; width: 20px; height: 20px; }
.bd-list--pages { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(0, 0, 0, .2); }
.bd-list--pages .bd-row { font-size: 17px; }
.bd-panel { position: absolute; z-index: 1; inset: 0; display: flex; flex-direction: column; background: var(--drawer); visibility: hidden; transform: translateX(100%); transition: transform .3s, visibility .3s; }
.has-children.is-open > .bd-panel { visibility: visible; transform: none; }
.bd-back { display: flex; align-items: center; gap: 12px; width: 100%; padding: 18px 36px; border: 0; border-bottom: 1px solid rgba(0, 0, 0, .2); background: rgba(0, 0, 0, .08); color: inherit; font: inherit; font-size: 16px; letter-spacing: .04em; text-align: left; text-transform: uppercase; cursor: pointer; }
.bd-back .bd-svg { flex: none; width: 18px; height: 18px; }
.bd-panel__scroll { flex: 1; overflow-y: auto; padding: 8px 0 32px; }
.bd-panel .bd-row { font-size: 18px; text-transform: none; }
.bd-panel .bd-all { font-weight: 700; }
.bd-drawer__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 28px; padding: 20px 36px 0; border-top: 1px solid rgba(0, 0, 0, .2); }
.bd-drawer__foot a { display: inline-grid; place-items: center; min-width: 40px; height: 40px; color: var(--drawer-ink); text-decoration: none; }
.bd-drawer__foot .bd-link { padding: 0 6px; font-size: 15px; text-decoration: underline; }

/* Hero */
.bd-hero { position: relative; background: #234a91; color: #fff; }
.bd-slide { position: relative; display: none; align-items: center; min-height: clamp(260px, 42vw, 525px); background-size: cover; background-position: center; padding-inline: clamp(16px, 5vw, 48px); }
.bd-slide.is-active { display: flex; }
.bd-slide__in { padding: 32px 0; max-width: 60ch; }
.bd-slide h2 { font-size: clamp(28px, 5vw, 58px); line-height: 1.05; margin: 0 0 12px; font-weight: 800; }
.bd-slide p { font-size: clamp(16px, 2vw, 24px); margin: 0; }
.bd-slide__cover { position: absolute; inset: 0; }
.bd-hero__dots { position: absolute; inset: auto 0 12px; display: flex; justify-content: center; gap: 12px; pointer-events: none; }
.bd-hero__dots button { pointer-events: auto; width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; background: transparent; padding: 0; cursor: pointer; }
.bd-hero__dots button[aria-current="true"] { background: #fff; }

/* Manufacturers */
.bd-brands { margin-block: 32px; }
.bd-brands__title { display: flex; align-items: center; gap: 16px; font-size: 16px; font-weight: 400; margin: 0 0 20px; }
.bd-brands__title::before, .bd-brands__title::after { content: ""; flex: 1; border-top: 1px solid var(--ink); }
.bd-brands__row { display: flex; align-items: center; gap: 8px; }
.bd-brands__track { display: flex; flex: 1; min-width: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0; padding: 0; list-style: none; }
.bd-brands__track::-webkit-scrollbar { display: none; }
.bd-brands__track li { flex: 0 0 calc(100% / 7); scroll-snap-align: start; display: flex; justify-content: center; align-items: center; min-height: 56px; padding: 6px 12px; border-left: 1px solid var(--line); }
.bd-brands__track li:first-child { border-left: 0; }
.bd-brands__track a { color: var(--ink); text-decoration: none; font-weight: 600; text-align: center; }
.bd-brands__track img { max-height: 40px; width: auto; object-fit: contain; }
.bd-brands__nav { background: none; border: 0; font-size: 36px; line-height: 1; color: #999; cursor: pointer; padding: 4px 8px; }
.bd-brands__nav:hover { color: var(--ink); }

/* Category band (category and product pages) */
.bd-band { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 20px 40px; align-items: center; padding: 28px 40px; background: var(--accent); color: var(--on-accent); font-family: "Poppins", "Segoe UI", system-ui, sans-serif; }
.bd-band__name { display: grid; justify-items: center; gap: 8px; color: inherit; text-align: center; text-decoration: none; }
.bd-band__icon { display: block; width: 88px; height: 88px; }
.bd-band__kicker { font-size: 12px; font-weight: 500; letter-spacing: .1em; opacity: .75; text-transform: uppercase; }
.bd-band__title { font-size: 24px; font-weight: 600; line-height: 1.2; }
.bd-band__subs { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 4px 18px; margin: 0; padding: 0; list-style: none; }
.bd-band__subs a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; color: inherit; font-size: 15.5px; font-weight: 500; line-height: 1.3; text-decoration: none; transition: background-color .15s, transform .15s; }
.bd-band__subs a::before { content: ""; flex: none; width: 7px; height: 7px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; opacity: .6; transform: rotate(45deg); }
.bd-band__subs a:hover, .bd-band__subs a:focus-visible { background: rgba(0, 0, 0, .1); transform: translateX(3px); }

/* Product cards */
.bd-card { display: flex; flex-direction: column; overflow: hidden; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 1px 2px rgba(16, 24, 40, .04); transition: transform .2s, box-shadow .2s, border-color .2s; }
.bd-card:hover { transform: translateY(-4px); border-color: #c9cfd8; box-shadow: 0 14px 30px rgba(16, 24, 40, .13); }
.bd-card__link { display: flex; flex: 1; flex-direction: column; color: var(--ink); text-decoration: none; }
.bd-card__img { position: relative; display: block; aspect-ratio: 1 / 1; background: #f5f6f8; overflow: hidden; }
.bd-card__img img { position: absolute !important; inset: 18px; width: calc(100% - 36px) !important; height: calc(100% - 36px) !important; margin: 0 !important; object-fit: contain; mix-blend-mode: multiply; box-shadow: none !important; transition: transform .35s; }
.bd-card:hover .bd-card__img img { transform: scale(1.06); }
/* Etiqueta redonda "Top de Ventas" (campo personalizado "top" = 1), esquina superior izquierda de la imagen */
.bd-top { position: absolute; top: 10px; left: 10px; z-index: 2; display: grid; place-items: center; width: 64px; height: 64px; padding: 6px; border-radius: 50%; background: #2e9e4f; box-shadow: 0 4px 10px rgba(0, 0, 0, .2); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .02em; line-height: 1.15; text-align: center; text-transform: uppercase; }
.bd-badge { position: absolute; top: 10px; right: 10px; z-index: 2; display: grid; place-items: center; width: 64px; height: 64px; padding: 3px; border-radius: 50%; background: #d32f2f; box-shadow: 0 4px 10px rgba(0, 0, 0, .2); color: #fff; font-size: 11px; font-weight: 700; line-height: 1.1; text-align: center; text-transform: uppercase; }
.bd-sale { position: absolute; top: 10px; right: 10px; z-index: 2; display: grid; place-items: center; width: 64px; height: 64px; padding: 3px; border-radius: 50%; background: var(--sale); box-shadow: 0 4px 10px rgba(0, 0, 0, .2); color: #fff; font-size: 11px; font-weight: 700; line-height: 1.1; text-align: center; text-transform: uppercase; }
.bd-sale ~ .bd-badge { top: 82px; }
.bd-card__body { display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 16px 18px 10px; }
.bd-card__cat { min-height: 1.3em; overflow: hidden; color: var(--muted); font-size: 12px; letter-spacing: .06em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.bd-card__title { display: -webkit-box; min-height: 2.6em; overflow: hidden; font-size: 17px; font-weight: 700; line-height: 1.3; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.bd-card__link:hover .bd-card__title { color: var(--link); }
.bd-card__price { min-height: 1.7em; margin-top: auto; padding-top: 4px; font-size: 19px; font-weight: 700; }
.bd-card__actions { display: grid; gap: 10px; padding: 8px 18px 18px; }
.bd-pill, .bd-btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; font: inherit; font-size: 14px; font-weight: 600; line-height: 1.2; text-align: center; text-decoration: none; transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s; }
.bd-pill--quote { border: 1px solid #d5def0; background: #eef2f9; color: #234a91; }
.bd-pill--sold { border: 1px solid var(--line); background: #f1f2f4; color: var(--muted); }
.bd-pill--buy { background: linear-gradient(135deg, #234a91, #2d63b8); color: #fff; box-shadow: 0 6px 14px rgba(35, 74, 145, .25); }
.bd-pill--buy:hover, .bd-pill--buy:focus-visible, .bd-card:hover .bd-pill--buy { background: var(--green); box-shadow: 0 8px 18px rgba(47, 148, 73, .35); }
.bd-pill--buy:hover { transform: translateY(-1px); }
.bd-btn { border: 2px solid var(--ink); background: #fff; color: var(--ink); }
.bd-btn .bd-svg { width: 18px; height: 18px; transition: transform .2s; }
.bd-btn:hover, .bd-btn:focus-visible { border-color: var(--green); background: var(--green); color: #fff; box-shadow: 0 8px 18px rgba(47, 148, 73, .3); }
.bd-btn:hover .bd-svg { transform: translateX(3px); }

/* Home: product list with progressive loading */
.bd-shop { margin-block: 40px 16px; }
.bd-shop__title { margin: 0 0 34px; color: var(--ink); font-family: "Poppins", "Montserrat", "Segoe UI", system-ui, sans-serif; font-size: clamp(26px, 4vw, 40px); font-weight: 700; letter-spacing: -.01em; line-height: 1.15; text-align: center; }
.bd-shop__title::after { content: ""; display: block; width: 72px; height: 4px; margin: 14px auto 0; border-radius: 4px; background: linear-gradient(90deg, #f5b335, #f05537); }
.bd-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); grid-auto-rows: 1fr; gap: 24px; margin: 0; padding: 0; list-style: none; }
.bd-products .bd-card { animation: bd-in .45s ease both; }
@keyframes bd-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.bd-more { display: grid; justify-items: center; gap: 14px; margin: 36px 0 8px; }
.bd-more [hidden] { display: none !important; }
.bd-more__count { margin: 0; color: var(--muted); font-size: 14px; }
.bd-more__btn { min-width: 280px; padding: 15px 32px; border: 0; border-radius: 999px; background: #234a91; color: #fff; font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; box-shadow: 0 8px 20px rgba(35, 74, 145, .28); transition: transform .15s, filter .15s; }
.bd-more__btn:hover { transform: translateY(-2px); filter: brightness(1.1); }
.bd-more__btn:disabled { cursor: progress; opacity: .85; transform: none; }
.bd-more__btn.is-loading::before { content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 10px; border: 2px solid rgba(255, 255, 255, .45); border-top-color: #fff; border-radius: 50%; vertical-align: -2px; animation: bd-spin .7s linear infinite; }
@keyframes bd-spin { to { transform: rotate(360deg); } }
.bd-more__end { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 14px 26px; border-radius: 999px; background: #eaf6df; color: #2b5d10; font-weight: 600; }
.bd-more__end .bd-svg { width: 22px; height: 22px; }

body ul.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); grid-auto-rows: 1fr; gap: 24px; list-style: none; margin: 24px 0; padding: 0; }
body ul.products::before, body ul.products::after { display: none !important; }
.woocommerce ul.products li.product, body ul.products li.product { float: none !important; width: auto !important; margin: 0 !important; border: 1px solid var(--line); background: #fff; }

/* Events and ticker */
.bd-events { display: flex; align-items: center; flex-wrap: wrap; gap: 24px 40px; margin-block: 24px 32px; }
.bd-events__title { display: grid; justify-items: center; gap: 8px; max-width: 300px; margin: 0; font-size: 26px; font-weight: 300; text-align: center; }
.bd-events__title svg { stroke-width: 2; }
.bd-ticker { margin-bottom: 48px; display: block; overflow: hidden; background: #0a5ba6; color: #fff; text-decoration: none; white-space: nowrap; font-size: 20px; font-weight: 600; padding: 8px 0; }
.bd-ticker__track { display: inline-block; animation: bd-marquee 40s linear infinite; }
.bd-ticker__track span { padding-right: 28px; margin-right: 28px; border-right: 2px solid #f4e500; }
@keyframes bd-marquee { to { transform: translateX(-50%); } }

/* Footer: full-width grey band, links on one centred line, copyright below */
.bd-footer { width: 100%; margin-top: 0; padding: 30px 16px 26px; background: #d0d1d3; color: #333; font-size: 14px; text-align: center; }
.bd-footer__links, .bd-footer__menu { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px clamp(20px, 4vw, 44px); margin: 0; padding: 0; list-style: none; }
.bd-footer__links a { color: var(--ink); font-size: 16px; font-weight: 600; text-decoration: none; }
.bd-footer__links a:hover, .bd-footer__links a:focus-visible { color: var(--link); text-decoration: underline; }
.bd-footer__text { width: min(640px, 100%); margin: 18px auto 0; padding-top: 16px; border-top: 1px solid rgba(0, 0, 0, .14); color: #444; }
.bd-footer__text p { margin: 0 0 4px; }
.bd-totop { position: fixed; right: 16px; bottom: 16px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #234a91; color: #fff; font-size: 20px; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .2s; }
.bd-totop.is-visible { opacity: 1; pointer-events: auto; }

/* 404 page */
.bd-404 { padding-block: 40px 56px; text-align: center; }
.bd-404__code { margin: 0; color: var(--link); font-family: "Poppins", "Segoe UI", system-ui, sans-serif; font-size: clamp(72px, 14vw, 140px); font-weight: 700; line-height: 1; }
.bd-404__text { max-width: 52ch; margin: 0 auto 24px; color: var(--muted); }
.bd-404__search { display: flex; gap: 8px; width: min(520px, 100%); margin: 0 auto 24px; }
.bd-404__search input { flex: 1; min-width: 0; padding: 12px 16px; border: 2px solid var(--ink); border-radius: 999px; font: inherit; }
.bd-404__search button { padding: 0 24px; border: 0; border-radius: 999px; background: var(--link); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.bd-404__home { display: inline-flex; }

/* Listing toolbar: sort select, grid/list switch, count */
.bd-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px; margin: 6px 0 26px; font-family: "Poppins", "Segoe UI", system-ui, sans-serif; }
.bd-toolbar__sort form, .bd-toolbar .woocommerce-ordering { margin: 0 !important; float: none !important; }
.bd-toolbar select { appearance: none; -webkit-appearance: none; min-width: 230px; height: 46px; padding: 0 44px 0 16px; border: 1px solid #d0d5dd; border-radius: 12px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23222' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 15px; box-shadow: 0 1px 2px rgba(16, 24, 40, .05); color: var(--ink); font: 500 14px "Poppins", "Segoe UI", system-ui, sans-serif; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.bd-toolbar select:hover { border-color: #98a2b3; }
.bd-toolbar select:focus-visible { border-color: var(--link); box-shadow: 0 0 0 3px rgba(35, 74, 145, .18); outline: none; }
.bd-view { display: inline-flex; gap: 8px; }
.bd-view__btn { display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 1px solid #d0d5dd; border-radius: 12px; background: #fff; color: #667085; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.bd-view__btn:hover { border-color: #98a2b3; color: var(--ink); }
.bd-view__btn.is-active { border-color: var(--ink); background: var(--ink); color: #fff; }
.bd-view__btn .bd-svg { width: 20px; height: 20px; }
.bd-toolbar__count { margin: 0 0 0 6px; font-size: 14px; font-weight: 600; }

/* List view (lines) for shop listings */
body ul.products.bd-list-view { grid-template-columns: 1fr; gap: 16px; }
.bd-list-view .bd-card { flex-direction: row; }
.bd-list-view .bd-card__link { flex-direction: row; }
.bd-list-view .bd-card__img { flex: 0 0 240px; width: 240px; min-height: 240px; aspect-ratio: auto; }
.bd-list-view .bd-card__body { justify-content: center; gap: 8px; padding: 22px 26px; }
.bd-list-view .bd-card__title { min-height: 0; font-size: 20px; -webkit-line-clamp: 3; }
.bd-list-view .bd-card__price { margin-top: 6px; }
.bd-list-view .bd-card__actions { flex: 0 0 290px; align-content: center; padding: 22px 26px; border-left: 1px solid var(--line); }
@media (max-width: 760px) {
	.bd-list-view .bd-card, .bd-list-view .bd-card__link { flex-direction: column; }
	.bd-list-view .bd-card__img { flex: none; width: 100%; min-height: 0; aspect-ratio: 1 / 1; }
	.bd-list-view .bd-card__actions { flex: none; padding: 8px 18px 18px; border-left: 0; }
	.bd-toolbar select { min-width: 0; width: 100%; }
	.bd-toolbar__sort { width: 100%; }
}

/* Breadcrumb and archive headings */
.bd-breadcrumb { margin: 24px 0 14px; color: var(--ink); font-family: "Poppins", "Segoe UI", system-ui, sans-serif; font-size: 14px; }
.bd-breadcrumb a { color: var(--link); text-decoration: none; }
.bd-breadcrumb a:hover { text-decoration: underline; }
.bd-sep { margin: 0 6px; }
body .woocommerce-products-header__title { font-size: 32px; font-weight: 400; margin: 8px 0 16px; }

/* Single product */
body.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 0 56px; align-items: start; margin: 8px 0 24px; }
body.single-product div.product > .bd-tabs, body.single-product div.product > .related, body.single-product div.product > .upsells { grid-column: 1 / -1; }
body.single-product div.product .summary { float: none !important; width: auto !important; margin: 0; padding: 4px 0 0; }
body.single-product div.product .summary .product_title { margin: 0 0 14px; font-family: "Poppins", "Segoe UI", system-ui, sans-serif; font-size: clamp(26px, 3.2vw, 36px); font-weight: 700; letter-spacing: -.01em; line-height: 1.15; }
body.single-product div.product .summary .price { margin: 0 0 14px; color: var(--ink); font-size: 26px; font-weight: 700; }
body.single-product div.product .summary .price del { opacity: .55; font-size: .7em; }
body.single-product div.product .summary [itemprop="description"], body.single-product div.product .summary .woocommerce-product-details__short-description { margin: 0 0 22px; color: #344054; font-size: 16px; line-height: 1.65; }
body.single-product div.product .summary [itemprop="description"] p:last-child { margin-bottom: 0; }

/* Product buttons: large and green (also the quote plugin's) */
body.single-product div.product .summary form.cart { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 18px; }
body.single-product div.product .summary form.cart > * { float: none !important; margin-top: 0 !important; margin-bottom: 0 !important; }
body.single-product div.product .summary .quantity { display: flex; align-items: center; float: none !important; height: 58px; margin: 0 !important; padding: 0; border: 0; background: none; }
body.single-product div.product .summary .quantity input.qty { box-sizing: border-box; width: 84px; height: 58px; margin: 0; padding: 0 8px; border: 2px solid #d0d5dd; border-radius: 14px; background: #fff; color: var(--ink); font: 600 17px "Poppins", "Segoe UI", system-ui, sans-serif; text-align: center; }
body.single-product div.product .summary .quantity input.qty:focus-visible { border-color: var(--green); box-shadow: 0 0 0 3px rgba(63, 174, 90, .2); outline: none; }
body.single-product div.product .summary button.button, body.single-product div.product .summary input.button, body.single-product div.product .summary .single_add_to_cart_button { display: inline-flex; align-items: center; justify-content: center; flex: 1 1 220px; box-sizing: border-box; height: 58px; min-height: 58px; margin: 0 !important; padding: 0 34px; border: 0; border-radius: 14px; background: linear-gradient(135deg, var(--green), var(--green-dark)); box-shadow: 0 10px 22px rgba(47, 148, 73, .3); color: #fff; font: 600 16px/1.2 "Poppins", "Segoe UI", system-ui, sans-serif; letter-spacing: .01em; text-align: center; text-shadow: none; text-transform: none; cursor: pointer; transition: transform .15s, box-shadow .15s, filter .15s; }
body.single-product div.product .summary button.button:hover, body.single-product div.product .summary input.button:hover, body.single-product div.product .summary .single_add_to_cart_button:hover { background: linear-gradient(135deg, #46b863, var(--green-dark)); box-shadow: 0 14px 26px rgba(47, 148, 73, .38); color: #fff; transform: translateY(-2px); }
body.single-product div.product .summary a.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border: 2px solid var(--green); border-radius: 14px; background: #fff; color: var(--green-dark); font: 600 15px/1.2 "Poppins", "Segoe UI", system-ui, sans-serif; text-shadow: none; transition: background-color .15s, color .15s; }
body.single-product div.product .summary a.button:hover { background: var(--green); color: #fff; }

.bd-call { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 18px; margin: 0 0 20px; padding: 14px 18px; border-radius: 14px; background: #eef8f0; color: #1f6b34; font-size: 15px; font-weight: 600; line-height: 1.5; }
.bd-call a:not(.bd-wa-btn) { margin-left: 4px; color: #124a22; font-size: 20px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.bd-call a:not(.bd-wa-btn):hover { text-decoration: underline; }
.bd-wa-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; box-sizing: border-box; min-height: 52px; padding: 0 26px; border-radius: 14px; background: linear-gradient(135deg, var(--green), var(--green-dark)); box-shadow: 0 10px 22px rgba(47, 148, 73, .3); color: #fff; font: 600 18px/1.2 "Poppins", "Segoe UI", system-ui, sans-serif; letter-spacing: .01em; text-decoration: none; white-space: nowrap; transition: transform .15s, box-shadow .15s, background .15s; }
.bd-wa-btn:hover, .bd-wa-btn:focus-visible { background: linear-gradient(135deg, #46b863, var(--green-dark)); box-shadow: 0 14px 26px rgba(47, 148, 73, .38); color: #fff; text-decoration: none; transform: translateY(-2px); }
.bd-wa-logo { flex: none; width: 26px; height: 26px; }
@media (max-width: 560px) {
	.bd-wa-btn { width: 100%; }
}

/* Minimal product meta (SKU, categories, tags) */
body.single-product div.product .summary .product_meta { margin: 22px 0 0; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 1.5; }
.product_meta > span { display: block; margin-bottom: 8px; }
.product_meta .sku { color: var(--ink); font-weight: 500; }
.product_meta a { display: inline-block; margin: 2px 4px 2px 0; padding: 2px 10px; border-radius: 999px; background: #eef2f9; color: #234a91; font-size: 12px; text-decoration: none; transition: background-color .15s, color .15s; }
.product_meta .tagged_as a { border: 1px solid #e4e7ec; background: transparent; color: #667085; }
.product_meta a:hover { background: #dfe6f3; color: var(--ink); }
.product_meta .tagged_as a:hover { background: #f2f4f7; }
.bd-ship { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 14px 0 0; color: var(--muted); font-size: 13px; }
.bd-ship dt, .bd-ship dd { display: inline; margin: 0; }
.bd-ship dd { margin-right: 6px; color: var(--ink); font-weight: 500; }

/* Gallery: large main image, thumbnails scroller, full-size viewer */
.bd-gallery { min-width: 0; }
.bd-gallery__stage { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #f5f6f8; }
.bd-gallery__main { display: grid; place-items: center; width: 100%; height: 100%; padding: 18px; cursor: zoom-in; }
.bd-gallery__img { display: block; width: auto !important; max-width: 100%; height: auto !important; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.bd-gallery__nav, .bd-gallery__zoom { position: absolute; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .94); box-shadow: 0 4px 12px rgba(16, 24, 40, .18); color: var(--ink); cursor: pointer; transition: background-color .15s, box-shadow .15s; }
.bd-gallery__nav { top: 50%; margin-top: -22px; }
.bd-gallery__prev { left: 12px; }
.bd-gallery__next { right: 12px; }
.bd-gallery__zoom { right: 12px; bottom: 12px; }
.bd-gallery__nav:hover, .bd-gallery__zoom:hover { background: #fff; box-shadow: 0 6px 16px rgba(16, 24, 40, .28); }
.bd-gallery__nav .bd-svg, .bd-gallery__zoom .bd-svg { width: 22px; height: 22px; }
.bd-gallery__thumbs { display: flex; gap: 10px; margin-top: 14px; padding: 4px 2px 8px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; }
.bd-thumb { flex: 0 0 92px; width: 92px; height: 92px; padding: 6px; border: 2px solid var(--line); border-radius: 12px; background: #f5f6f8; cursor: pointer; scroll-snap-align: start; transition: border-color .15s, box-shadow .15s; }
.bd-thumb img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.bd-thumb:hover { border-color: #98a2b3; }
.bd-thumb.is-active { border-color: var(--green); box-shadow: 0 0 0 3px rgba(63, 174, 90, .18); }

.bd-lightbox { position: fixed; z-index: 1000; inset: 0; background: rgba(10, 14, 20, .93); }
.bd-lightbox[hidden] { display: none; }
.bd-lightbox__stage { display: flex; width: 100%; height: 100%; padding: 64px 80px; overflow: auto; }
.bd-lightbox__img { display: block; flex: none; max-width: 100%; max-height: 100%; width: auto; height: auto; margin: auto; border-radius: 6px; background: #fff; object-fit: contain; cursor: zoom-in; }
.bd-lightbox__img.is-actual { max-width: none; max-height: none; cursor: zoom-out; }
.bd-lightbox__close, .bd-lightbox__nav { position: absolute; z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .16); color: #fff; cursor: pointer; transition: background-color .15s; }
.bd-lightbox__close:hover, .bd-lightbox__nav:hover { background: rgba(255, 255, 255, .3); }
.bd-lightbox__close { top: 14px; right: 14px; }
.bd-lightbox__nav { top: 50%; margin-top: -24px; }
.bd-lightbox__prev { left: 14px; }
.bd-lightbox__next { right: 14px; }
.bd-lightbox .bd-svg { width: 24px; height: 24px; }
.bd-lightbox__count { position: absolute; bottom: 14px; left: 50%; margin: 0; color: #fff; font-size: 14px; transform: translateX(-50%); }

/* Tabs: Description / Data sheet / Purchase and shipping */
.bd-tabs { margin-top: 44px; }
.bd-tabs__list { display: flex; flex-wrap: wrap; gap: 4px 30px; border-bottom: 1px solid var(--line); }
.bd-tabs__tab { position: relative; padding: 14px 2px; border: 0; background: none; color: #667085; font: 600 15px/1.2 "Poppins", "Segoe UI", system-ui, sans-serif; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; transition: color .15s; }
.bd-tabs__tab::after { content: ""; position: absolute; right: 0; bottom: -1px; left: 0; height: 3px; border-radius: 3px 3px 0 0; background: transparent; transition: background-color .15s; }
.bd-tabs__tab:hover, .bd-tabs__tab[aria-selected="true"] { color: var(--ink); }
.bd-tabs__tab[aria-selected="true"]::after { background: var(--green); }
.bd-tabs__panel { padding: 30px 0 8px; }
.bd-tabs__panel[hidden] { display: none; }
.bd-details__text { max-width: none; color: #344054; line-height: 1.75; }
.bd-details__text img { max-width: 100%; height: auto; }
.bd-extra { margin-top: 34px; }
.bd-extra__img { display: block; max-width: min(100%, 460px); height: auto; margin: 0 auto; border-radius: 12px; }
.bd-reasons { margin-top: 26px; }
.bd-reasons__title { margin: 0 0 14px; font-family: "Poppins", "Segoe UI", system-ui, sans-serif; font-size: 18px; }
.bd-reasons__list { margin: 0; padding: 0; list-style: none; counter-reset: bd-reason; }
.bd-reasons__list li { position: relative; min-height: 28px; margin-bottom: 12px; padding-left: 40px; color: #344054; line-height: 1.6; counter-increment: bd-reason; }
.bd-reasons__list li::before { content: counter(bd-reason); position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: #fff; font-size: 13px; font-weight: 700; }
.bd-features { max-width: 620px; margin-top: 28px; padding: 18px 22px; border-radius: 14px; background: var(--panel); }
.bd-features h2 { margin: 0 0 10px; font-size: 18px; font-weight: 600; }
.bd-features table { width: 100%; border-collapse: collapse; }
.bd-features th { padding: 4px 12px 4px 0; text-align: left; font-weight: 600; white-space: nowrap; }
.bd-features td { padding: 4px 0; }
.bd-features td p { margin: 0; }
.bd-ship-info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 56px; color: #475467; line-height: 1.7; }
.bd-ship-info h3 { margin: 0 0 12px; color: var(--ink); font: 700 17px "Poppins", "Segoe UI", system-ui, sans-serif; letter-spacing: .02em; text-transform: uppercase; }
.bd-ship-info p { margin: 0 0 14px; }
.bd-arrows { margin: 16px 0 0; padding: 0; list-style: none; }
.bd-arrows li { position: relative; padding: 0 0 12px 26px; }
.bd-arrows li::before { content: ""; position: absolute; top: .62em; left: 4px; width: 7px; height: 7px; border-top: 2px solid var(--green); border-right: 2px solid var(--green); transform: rotate(45deg); }

/* Related products */
body.single-product .related > h2, body.single-product .upsells > h2 { margin: 52px 0 22px; font: 700 clamp(22px, 3vw, 30px) "Poppins", "Segoe UI", system-ui, sans-serif; text-align: center; }

/* Buttons (quote plugin buttons inherit these when they use WooCommerce classes) */
body a.button, body button.button, body input.button, body #respond input#submit { background: #2b3a5a; color: #fff; border-radius: 6px; padding: 9px 16px; font-weight: 600; }
body .single_add_to_cart_button, body a.button.alt, body button.button.alt, body input.button.alt { background: var(--ok); color: #fff; }
body a.button:hover, body button.button:hover { filter: brightness(1.1); }

/* ================= Pages: account, cart, quote list, blog ================= */
.bd-page { max-width: 1100px; padding-block: 8px 56px; }
body.woocommerce-cart .bd-page, body.page-slug-quote-list .bd-page { max-width: 1200px; }
body.woocommerce-account:not(.logged-in) .bd-page, body.woocommerce-lost-password .bd-page { max-width: 1000px; }
body.woocommerce-account.logged-in .bd-page { max-width: 1200px; }
.bd-page__head { margin: 30px 0 34px; text-align: center; }
.bd-page__title { margin: 0; color: var(--ink); font-family: "Poppins", "Segoe UI", system-ui, sans-serif; font-size: clamp(28px, 4vw, 42px); font-weight: 700; letter-spacing: -.01em; line-height: 1.15; }
.bd-page__title::after { content: ""; display: block; width: 72px; height: 4px; margin: 14px auto 0; border-radius: 4px; background: linear-gradient(90deg, #f5b335, #f05537); }
.bd-page__body { color: #344054; line-height: 1.75; }
.bd-page__body img { max-width: 100%; height: auto; }

/* Notices (added to cart, errors, info) */
.woocommerce-message, .woocommerce-info, .woocommerce-error { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; margin: 0 0 24px !important; padding: 16px 20px !important; border: 0 !important; border-left: 4px solid var(--link) !important; border-radius: 12px; background: #eef2f9 !important; color: #1d2939 !important; font-size: 15px; line-height: 1.5; list-style: none; }
.woocommerce-message { border-left-color: var(--green) !important; background: #eaf6ee !important; }
.woocommerce-error { border-left-color: #d32f2f !important; background: #fdeceb !important; }
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { display: none !important; }
.woocommerce-message a.button { order: 2; float: none !important; margin: 0 !important; }
.woocommerce-error li { margin: 0; list-style: none; }

/* Forms (WooCommerce and the quote plugin) */
body .bd-page label { display: block; margin: 0 0 6px; color: #344054; font-size: 14px; font-weight: 600; }
body .bd-page label.inline, body .bd-page label.checkbox { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
body .bd-page input[type="text"], body .bd-page input[type="email"], body .bd-page input[type="password"], body .bd-page input[type="tel"], body .bd-page input[type="number"], body .bd-page input[type="search"], body .bd-page input[type="url"], body .bd-page select, body .bd-page textarea { box-sizing: border-box; width: 100%; height: 50px; padding: 0 14px; border: 1.5px solid #d0d5dd; border-radius: 12px; background: #fff; color: var(--ink); font-family: inherit; font-size: 16px; font-weight: 400; line-height: 1.4; transition: border-color .15s, box-shadow .15s; }
body .bd-page textarea { height: auto; min-height: 120px; padding: 12px 14px; }
body .bd-page input:focus-visible, body .bd-page select:focus-visible, body .bd-page textarea:focus-visible { border-color: var(--green); box-shadow: 0 0 0 3px rgba(63, 174, 90, .18); outline: none; }
body .bd-page .form-row { margin: 0 0 18px; padding: 0; }
body .bd-page .required { color: #d32f2f; text-decoration: none; }
body .bd-page input[type="checkbox"], body .bd-page input[type="radio"] { width: auto; height: auto; accent-color: var(--green); }

/* Buttons on these pages */
body .bd-page .button, body .bd-page input.button, body .bd-page button.button, body .bd-page a.button, body .bd-page input[type="submit"] { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; min-height: 52px; padding: 0 28px; border: 0; border-radius: 14px; background: linear-gradient(135deg, var(--green), var(--green-dark)); box-shadow: 0 10px 22px rgba(47, 148, 73, .28); color: #fff; font: 600 15px/1.2 "Poppins", "Segoe UI", system-ui, sans-serif; text-decoration: none; text-shadow: none; cursor: pointer; transition: transform .15s, box-shadow .15s; }
body .bd-page .button:hover, body .bd-page input.button:hover, body .bd-page button.button:hover, body .bd-page a.button:hover, body .bd-page input[type="submit"]:hover { background: linear-gradient(135deg, #46b863, var(--green-dark)); box-shadow: 0 14px 26px rgba(47, 148, 73, .36); color: #fff; transform: translateY(-2px); }
body .bd-page input[name="update_cart"], body .bd-page input[name="apply_coupon"], body .bd-page a.button.wc-backward { border: 2px solid var(--ink); background: #fff; box-shadow: none; color: var(--ink); }
body .bd-page input[name="update_cart"]:hover, body .bd-page input[name="apply_coupon"]:hover, body .bd-page a.button.wc-backward:hover { border-color: var(--green); background: var(--green); box-shadow: none; color: #fff; }
body .bd-page .button[disabled], body .bd-page input[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

/* Tables (cart, quote list, orders, totals) */
body .bd-page table.shop_table { width: 100%; margin: 0 0 28px; border: 1px solid var(--line); border-radius: 16px; border-collapse: separate; border-spacing: 0; background: #fff; overflow: hidden; }
body .bd-page table.shop_table th { padding: 14px 16px; border: 0; background: #f5f6f8; color: #475467; font: 600 12.5px "Poppins", "Segoe UI", system-ui, sans-serif; letter-spacing: .05em; text-align: left; text-transform: uppercase; }
body .bd-page table.shop_table td { padding: 16px; border: 0; border-top: 1px solid var(--line); background: transparent; vertical-align: middle; }
body .bd-page table.shop_table > tbody:first-child > tr:first-child > th, body .bd-page table.shop_table > tbody:first-child > tr:first-child > td { border-top: 0; }
body .bd-page table.shop_table th.product-name, body .bd-page table.shop_table td.product-name { text-align: left; }
body .bd-page table.shop_table .product-thumbnail img { display: block; width: 84px; height: auto; border-radius: 10px; background: #f5f6f8; }
body .bd-page table.shop_table .product-name a { color: var(--ink); font-weight: 600; text-decoration: none; }
body .bd-page table.shop_table .product-name a:hover { color: var(--link); }
body .bd-page table.shop_table a.remove { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fef3f2; color: #d32f2f !important; font-size: 20px; line-height: 1; text-decoration: none; transition: background-color .15s, color .15s; }
body .bd-page table.shop_table a.remove:hover { background: #d32f2f; color: #fff !important; }
body .bd-page table.shop_table .quantity input.qty { width: 76px; height: 46px; padding: 0 6px; text-align: center; }
body .bd-page table.shop_table td.actions { padding: 18px 16px; background: #fafbfc; }
body .bd-page table.shop_table td.actions .coupon { display: flex; flex-wrap: wrap; gap: 10px; float: left; }
body .bd-page table.shop_table td.actions .coupon input#coupon_code { width: 220px; }
body .bd-page table.shop_table td.actions > input[name="update_cart"] { float: right; }
.cart-collaterals { display: flex; justify-content: flex-end; }
.cart-collaterals .cart_totals { float: none; width: min(480px, 100%); padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 10px 30px rgba(16, 24, 40, .06); }
.cart-collaterals .cart_totals h2 { margin: 0 0 18px; font: 700 22px "Poppins", "Segoe UI", system-ui, sans-serif; }
.cart-collaterals .cart_totals table.shop_table { margin-bottom: 18px; border: 0; border-radius: 0; }
.cart-collaterals .cart_totals table.shop_table th, .cart-collaterals .cart_totals table.shop_table td { padding: 12px 0; background: transparent; }
.cart-collaterals .cart_totals table.shop_table th { color: #475467; font-size: 13px; }
.wc-proceed-to-checkout { padding: 0; }
body .bd-page .wc-proceed-to-checkout a.checkout-button { display: flex; width: 100%; min-height: 58px; margin: 0; font-size: 17px; }
p.cart-empty { margin: 0 0 24px; padding: 56px 20px; border: 2px dashed #d0d5dd; border-radius: 20px; color: var(--muted); font-size: 18px; text-align: center; }
.return-to-shop { text-align: center; }

/* My account: login / register and lost password */
body .bd-page .col2-set { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
body .bd-page .col2-set::before, body .bd-page .col2-set::after { display: none; }
body .bd-page .col2-set .col-1, body .bd-page .col2-set .col-2 { float: none; width: auto; padding: 34px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 10px 30px rgba(16, 24, 40, .06); }
body .bd-page .col2-set h2, body .bd-page .woocommerce > h2 { margin: 0 0 22px; font: 700 24px "Poppins", "Segoe UI", system-ui, sans-serif; }
body .bd-page form.login, body .bd-page form.register, body .bd-page form.lost_reset_password, body .bd-page form.checkout_coupon { margin: 0; padding: 0; border: 0; border-radius: 0; background: none; }
body .bd-page .woocommerce > h2 { text-align: center; }
body .bd-page .woocommerce > form.login, body .bd-page .woocommerce > form.lost_reset_password { max-width: 500px; margin: 0 auto; padding: 34px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 10px 30px rgba(16, 24, 40, .06); }
body .bd-page form.login input.button, body .bd-page form.register input.button, body .bd-page form.lost_reset_password input.button { width: 100%; }
body .bd-page form.login .inline { margin-top: 14px; }
body .bd-page .lost_password { margin: 16px 0 0; text-align: center; }
body .bd-page .lost_password a, body .bd-page .woocommerce-LostPassword a { color: var(--link); font-weight: 500; }
body .bd-page form.lost_reset_password > p:first-child { margin: 0 0 20px; color: var(--muted); line-height: 1.6; }
body .bd-page form.lost_reset_password .form-row-first, body .bd-page form.lost_reset_password .form-row-last { float: none; width: 100%; }
body .bd-page form.lost_reset_password .clear { display: none; }

/* My account: logged-in area */
/* Layout: horizontal menu on top, content below, both full width. Anything else inside .woocommerce (notices, stray wrappers) goes first. */
body.logged-in.woocommerce-account .bd-page .woocommerce { display: flex; flex-direction: column; gap: 26px; }
body.logged-in.woocommerce-account .bd-page .woocommerce > * { order: 0; margin-top: 0; margin-bottom: 0; }
body.logged-in.woocommerce-account .bd-page .woocommerce > *:empty { display: none; }
body.logged-in.woocommerce-account .bd-page .woocommerce > .woocommerce-MyAccount-navigation { order: 1; }
body.logged-in.woocommerce-account .bd-page .woocommerce > .woocommerce-MyAccount-content { order: 2; min-width: 0; }
body.logged-in.woocommerce-account .bd-page .woocommerce > .woocommerce-message, body.logged-in.woocommerce-account .bd-page .woocommerce > .woocommerce-info, body.logged-in.woocommerce-account .bd-page .woocommerce > .woocommerce-error { margin-bottom: 0 !important; }
body .bd-page .woocommerce-MyAccount-navigation, body .bd-page .woocommerce-MyAccount-content { float: none; width: auto; margin: 0; }
/* Account menu: horizontal pill bar with icons */
.woocommerce-MyAccount-navigation ul { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; padding: 8px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 12px 32px rgba(16, 24, 40, .08); list-style: none; }
.woocommerce-MyAccount-navigation li { margin: 0; padding: 0; border: 0; }
.woocommerce-MyAccount-navigation li a { display: flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 14px; color: #344054; font: 600 15px/1.2 "Poppins", "Segoe UI", system-ui, sans-serif; text-decoration: none; white-space: nowrap; transition: background-color .15s, color .15s, box-shadow .15s; }
.woocommerce-MyAccount-navigation li a:hover { background: #f2f4f7; color: var(--ink); }
.woocommerce-MyAccount-navigation li.is-active a { background: linear-gradient(135deg, var(--green), var(--green-dark)); box-shadow: 0 8px 18px rgba(47, 148, 73, .3); color: #fff; }
.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout { margin-left: auto; }
.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a { color: #b42318; }
.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a:hover { background: #fef3f2; color: #b42318; }
.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--dashboard { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11l9-8 9 8M5 10v10h5v-6h4v6h5V10'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--orders { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1 12H6L5 8zM9 8V6a3 3 0 0 1 6 0v2'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation li[class*="-link--quote"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h9l4 4v14H6zM15 3v4h4M9 12h6M9 16h6'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--downloads { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11m0 0-4-4m4 4 4-4M5 20h14'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--edit-address { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-6.2 7-11a7 7 0 0 0-14 0c0 4.8 7 11 7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--edit-account { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4.4 3.6-8 8-8s8 3.6 8 8'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 4H5v16h5M16 8l4 4-4 4M20 12H9'/%3E%3C/svg%3E"); }
@supports ((-webkit-mask-image: url("x")) or (mask-image: url("x"))) {
	.woocommerce-MyAccount-navigation li a::before { content: ""; flex: none; width: 20px; height: 20px; background: currentColor; -webkit-mask: var(--ico, none) center / contain no-repeat; mask: var(--ico, none) center / contain no-repeat; }
}
body .bd-page .woocommerce-MyAccount-content { display: flow-root; padding: 32px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.woocommerce-MyAccount-content > p:first-child { font-size: 18px; }
.woocommerce-MyAccount-content > :first-child { margin-top: 0; }
.woocommerce-MyAccount-content h2, .woocommerce-MyAccount-content h3 { font-family: "Poppins", "Segoe UI", system-ui, sans-serif; }

/* My account: order and quote lists, addresses, forms */
body .bd-page table.shop_table td.order-number a, body .bd-page table.shop_table td.order-number a:visited { color: var(--link); font-weight: 600; text-decoration: none; }
body .bd-page table.shop_table td.order-number a:hover { text-decoration: underline; }
body .bd-page table.shop_table td.order-date { white-space: nowrap; }
body .bd-page table.shop_table td.order-actions { text-align: right; white-space: nowrap; }
body .bd-page table.shop_table td.order-actions .button { min-height: 38px; margin: 2px 0 2px 6px; padding: 0 18px; border-radius: 10px; box-shadow: none; font-size: 13px; }
body .bd-page table.shop_table td.order-actions .button:hover { box-shadow: 0 8px 16px rgba(47, 148, 73, .28); transform: none; }
body .bd-page table.shop_table td.order-actions .button.cancel { border: 2px solid #d32f2f; background: #fff; color: #d32f2f; }
body .bd-page table.shop_table td.order-actions .button.cancel:hover { background: #d32f2f; color: #fff; }
.woocommerce-MyAccount-content h2 { margin: 34px 0 16px; font-size: 22px; }
.woocommerce-MyAccount-content > h2:first-child { margin-top: 0; }
.woocommerce-MyAccount-content mark { padding: 2px 10px; border-radius: 999px; background: #eaf6ee; color: #1f6b34; font-weight: 600; }
.woocommerce-MyAccount-content .col2-set .col-1, .woocommerce-MyAccount-content .col2-set .col-2 { padding: 22px; border-radius: 16px; background: #fafbfc; box-shadow: none; }
.woocommerce-MyAccount-content .col2-set h3 { margin: 0 0 12px; font: 700 18px "Poppins", "Segoe UI", system-ui, sans-serif; }
.woocommerce-MyAccount-content .col2-set a.edit { float: right; color: var(--link); font-size: 14px; font-weight: 600; text-decoration: none; }
.woocommerce-MyAccount-content .col2-set a.edit:hover { text-decoration: underline; }
.woocommerce-MyAccount-content address { color: #475467; font-style: normal; line-height: 1.7; }
.woocommerce-MyAccount-content fieldset { margin: 26px 0 0; padding: 0; border: 0; }
.woocommerce-MyAccount-content legend { margin: 0 0 14px; padding: 0; font: 700 18px "Poppins", "Segoe UI", system-ui, sans-serif; }

/* Quote list: same look as the cart (the plugin reuses WooCommerce markup) */
body.page-slug-quote-list .bd-page form.checkout { margin-top: 12px; }
body.page-slug-quote-list .bd-page h3 { margin: 0 0 18px; font: 700 22px "Poppins", "Segoe UI", system-ui, sans-serif; }

/* Quote list: "Ya soy cliente" toggle and login card */
.bd-login-toggle { justify-content: center !important; padding: 18px 20px !important; border-left-color: var(--green) !important; background: #eaf6ee !important; }
.bd-login-toggle a.showlogin, .bd-login-toggle a.showcoupon { display: inline-flex; align-items: center; gap: 10px; padding: 12px 26px; border-radius: 999px; background: var(--green); box-shadow: 0 8px 18px rgba(47, 148, 73, .28); color: #fff !important; font: 600 15px/1.2 "Poppins", "Segoe UI", system-ui, sans-serif; text-decoration: none !important; transition: background-color .15s, transform .15s, box-shadow .15s; }
.bd-login-toggle a.showlogin:hover, .bd-login-toggle a.showcoupon:hover { background: var(--green-dark); box-shadow: 0 12px 22px rgba(47, 148, 73, .36); transform: translateY(-2px); }
.bd-login-toggle a.showlogin::after, .bd-login-toggle a.showcoupon::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.bd-login-toggle.is-open a.showlogin::after, .bd-login-toggle.is-open a.showcoupon::after { transform: rotate(-135deg) translateY(-2px); }
body.page-slug-quote-list .bd-page form.login { max-width: 500px; margin: 0 auto 28px; padding: 30px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 10px 30px rgba(16, 24, 40, .06); }

/* Contact page */
.bd-contact { max-width: 1160px; }
.bd-contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 28px; align-items: start; }
.bd-contact__card { padding: 34px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 10px 30px rgba(16, 24, 40, .06); }
.bd-contact__card h2 { margin: 0 0 20px; font: 700 22px "Poppins", "Segoe UI", system-ui, sans-serif; }
.bd-contact__map { display: block; width: 100%; max-width: 420px; height: auto; margin: 0 auto 22px; border-radius: 14px; box-shadow: 0 6px 18px rgba(16, 24, 40, .12); }
.bd-cta { display: flex; align-items: center; justify-content: center; gap: 10px; box-sizing: border-box; width: fit-content; min-height: 52px; margin: 0 auto 28px; padding: 0 30px; border-radius: 14px; background: linear-gradient(135deg, var(--green), var(--green-dark)); box-shadow: 0 10px 22px rgba(47, 148, 73, .28); color: #fff; font: 600 15px/1.2 "Poppins", "Segoe UI", system-ui, sans-serif; text-decoration: none; transition: transform .15s, box-shadow .15s, background .15s; }
.bd-cta:hover, .bd-cta:focus-visible { background: linear-gradient(135deg, #46b863, var(--green-dark)); box-shadow: 0 14px 26px rgba(47, 148, 73, .36); color: #fff; transform: translateY(-2px); }
.bd-cta .bd-svg { width: 22px; height: 22px; }
.bd-contact__list { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.bd-contact__list li { display: flex; align-items: center; gap: 14px; }
.bd-contact__ico { display: grid; flex: none; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #eef2f9; color: #234a91; }
.bd-contact__ico .bd-svg { width: 22px; height: 22px; }
.bd-contact__list small { display: block; color: var(--muted); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.bd-contact__list strong { display: block; color: var(--ink); font-size: 16px; font-weight: 600; }
.bd-contact__list a { color: inherit; text-decoration: none; }
.bd-contact__list a:hover { color: var(--link); text-decoration: underline; }
.bd-contact__intro { margin: -6px 0 22px; color: var(--muted); line-height: 1.6; }
.wpcf7 p { margin: 0 0 18px; color: #344054; font-size: 14px; font-weight: 600; }
.wpcf7-form-control-wrap { display: block; margin-top: 6px; }
.wpcf7 .wpcf7-not-valid-tip { margin-top: 6px; color: #d32f2f; font-size: 13px; font-weight: 500; }
.wpcf7 .wpcf7-response-output { margin: 20px 0 0 !important; padding: 14px 18px !important; border: 0 !important; border-left: 4px solid var(--link) !important; border-radius: 12px; background: #eef2f9; color: #1d2939; font-size: 15px; }
.wpcf7 .wpcf7-mail-sent-ok { border-left-color: var(--green) !important; background: #eaf6ee; }
.wpcf7 .wpcf7-validation-errors, .wpcf7 .wpcf7-mail-sent-ng, .wpcf7 .wpcf7-spam-blocked { border-left-color: #d32f2f !important; background: #fdeceb; }
@media (max-width: 900px) {
	.bd-contact__grid { grid-template-columns: 1fr; }
	.bd-contact__card { padding: 26px 22px; }
}

/* Checkout: login and coupon forms (shown by the buttons above) and payment box */
body.woocommerce-checkout .bd-page form.login, body.woocommerce-checkout .bd-page form.checkout_coupon { max-width: 520px; margin: 0 auto 28px; padding: 30px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 10px 30px rgba(16, 24, 40, .06); }
body.woocommerce-checkout .bd-page form.checkout_coupon .form-row-first { float: left; width: calc(100% - 170px); margin: 0; }
body.woocommerce-checkout .bd-page form.checkout_coupon .form-row-last { float: right; width: 150px; margin: 0; }
body.woocommerce-checkout .bd-page form.checkout_coupon .clear { display: block; clear: both; }
body.woocommerce-checkout .bd-page form.checkout_coupon input.button { width: 100%; }
body .bd-page #payment { border-radius: 16px; background: #f5f6f8; }
body .bd-page #payment ul.payment_methods { padding: 18px 20px; border-bottom: 1px solid var(--line); }
body .bd-page #payment div.payment_box { border-radius: 12px; background: #fff; color: #475467; }
body .bd-page #payment div.payment_box::before { display: none; }
body .bd-page #payment .place-order { padding: 20px; }
body .bd-page #place_order { width: 100%; min-height: 58px; font-size: 17px; }
@media (max-width: 600px) {
	body.woocommerce-checkout .bd-page form.checkout_coupon .form-row-first, body.woocommerce-checkout .bd-page form.checkout_coupon .form-row-last { float: none; width: 100%; margin-bottom: 12px; }
}

/* Pagination (blog and product lists) */
.bd-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 44px 0 0; }
.woocommerce-pagination ul.page-numbers { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 44px 0 0 !important; padding: 0 !important; border: 0 !important; list-style: none; }
.woocommerce-pagination ul.page-numbers li { float: none !important; margin: 0 !important; border: 0 !important; overflow: visible !important; }
.bd-pagination .page-numbers, .woocommerce-pagination li a.page-numbers, .woocommerce-pagination li span.page-numbers { display: grid !important; place-items: center; box-sizing: border-box; min-width: 44px; height: 44px; padding: 0 14px !important; border: 1px solid var(--line) !important; border-radius: 12px; background: #fff !important; color: #344054 !important; font-size: 15px; font-weight: 600; line-height: 1; text-decoration: none; transition: border-color .15s, background-color .15s; }
.bd-pagination a.page-numbers:hover, .woocommerce-pagination li a.page-numbers:hover { border-color: #98a2b3 !important; background: #f9fafb !important; }
.bd-pagination .page-numbers.current, .woocommerce-pagination li span.page-numbers.current { border-color: var(--green) !important; background: var(--green) !important; color: #fff !important; }
.bd-pagination .page-numbers.dots { border: 0 !important; background: none !important; }

/* Shop page (/inicio) only: pagination as one even, centred row */
body.bd-shop-home nav.woocommerce-pagination { display: block; text-align: center; }
body.bd-shop-home nav.woocommerce-pagination ul.page-numbers { display: flex !important; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; width: fit-content; margin: 44px auto 0 !important; padding: 0 !important; border: 0 !important; list-style: none; white-space: normal !important; }
body.bd-shop-home nav.woocommerce-pagination ul.page-numbers li { display: block; float: none !important; margin: 0 !important; padding: 0 !important; border: 0 !important; overflow: visible !important; }

/* Blog list */
.bd-blog__desc { max-width: 60ch; margin: 16px auto 0; color: var(--muted); line-height: 1.6; }
.bd-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.bd-post-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 1px 2px rgba(16, 24, 40, .04); transition: transform .2s, box-shadow .2s, border-color .2s; }
.bd-post-card:hover { transform: translateY(-4px); border-color: #c9cfd8; box-shadow: 0 14px 30px rgba(16, 24, 40, .13); }
.bd-post-card__img { display: block; aspect-ratio: 16 / 10; background: #f5f6f8; overflow: hidden; }
.bd-post-card__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.bd-post-card:hover .bd-post-card__img img { transform: scale(1.05); }
.bd-post-card__ph { display: grid; place-items: center; width: 100%; height: 100%; background: linear-gradient(135deg, #eef2f9, #f5f6f8); color: #98a2b3; }
.bd-post-card__ph .bd-icon { width: 64px; height: 64px; }
.bd-post-card__body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 22px 24px 24px; }
.bd-post-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0; color: var(--muted); font-size: 13px; }
.bd-chip { display: inline-block; padding: 3px 11px; border-radius: 999px; background: #eef2f9; color: #234a91; font-size: 12px; font-weight: 600; text-decoration: none; transition: background-color .15s; }
a.bd-chip:hover { background: #dfe6f3; }
.bd-post-card__title { margin: 0; font: 700 21px/1.3 "Poppins", "Segoe UI", system-ui, sans-serif; }
.bd-post-card__title a { color: var(--ink); text-decoration: none; }
.bd-post-card__title a:hover { color: var(--link); }
.bd-post-card__excerpt { flex: 1; margin: 0; color: #475467; line-height: 1.65; }
.bd-post-card__more { align-self: flex-start; margin-top: 6px; }
.bd-post-card.is-featured { grid-column: 1 / -1; flex-direction: row; }
.bd-post-card.is-featured .bd-post-card__img { flex: 0 0 52%; min-height: 340px; aspect-ratio: auto; }
.bd-post-card.is-featured .bd-post-card__body { justify-content: center; gap: 14px; padding: 36px 40px; }
.bd-post-card.is-featured .bd-post-card__title { font-size: 30px; }
.bd-empty { padding: 56px 20px; border: 2px dashed #d0d5dd; border-radius: 20px; color: var(--muted); font-size: 18px; text-align: center; }

/* Single post */
.bd-article { max-width: 820px; padding-block: 8px 56px; }
.bd-article__head { margin: 34px 0 28px; text-align: center; }
.bd-article__cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; }
.bd-article__title { margin: 16px 0 12px; font: 700 clamp(28px, 4.4vw, 44px)/1.15 "Poppins", "Segoe UI", system-ui, sans-serif; letter-spacing: -.015em; }
.bd-article__meta { margin: 0; color: var(--muted); font-size: 14px; }
.bd-article__hero { margin: 0 0 34px; }
.bd-article__hero img { display: block; width: 100%; height: auto; border-radius: 20px; }
.bd-article__content { color: #344054; font-size: 17.5px; line-height: 1.8; }
.bd-article__content h2, .bd-article__content h3, .bd-article__content h4 { margin: 1.8em 0 .6em; color: var(--ink); font-family: "Poppins", "Segoe UI", system-ui, sans-serif; line-height: 1.3; }
.bd-article__content a { color: var(--link); }
.bd-article__content img { max-width: 100%; height: auto; border-radius: 12px; }
.bd-article__content iframe, .bd-article__content video { max-width: 100%; }
.bd-article__content blockquote { margin: 1.6em 0; padding: 6px 0 6px 22px; border-left: 4px solid var(--green); color: #475467; }
.bd-article__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.bd-article__tags a { display: inline-block; padding: 3px 12px; border: 1px solid #e4e7ec; border-radius: 999px; color: #667085; font-size: 13px; text-decoration: none; transition: background-color .15s; }
.bd-article__tags a:hover { background: #f2f4f7; }
.post-navigation .nav-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 44px; }
.post-navigation .nav-previous a, .post-navigation .nav-next a { display: block; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.post-navigation .nav-next { grid-column: 2; text-align: right; }
.post-navigation a:hover { border-color: #98a2b3; box-shadow: 0 8px 20px rgba(16, 24, 40, .08); }
.bd-nav-label { display: block; margin-bottom: 4px; color: var(--muted); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; }
.bd-nav-title { display: block; font-weight: 600; line-height: 1.35; }
.bd-comments { margin-top: 56px; }
.bd-comments__title, .comment-reply-title { margin: 0 0 20px; font: 700 22px "Poppins", "Segoe UI", system-ui, sans-serif; }
.bd-comments__list { margin: 0 0 36px; padding: 0; list-style: none; }
.bd-comments__list .comment-body { margin-bottom: 18px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.bd-comments__list .children { margin: 0 0 0 28px; padding: 0; list-style: none; }
.bd-comments__list .comment-author { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.bd-comments__list .avatar { border-radius: 50%; }
.bd-comments__list .comment-metadata { margin: 2px 0 10px; font-size: 12px; }
.bd-comments__list .comment-metadata a { color: var(--muted); text-decoration: none; }
.comment-form label { display: block; margin: 0 0 6px; font-size: 14px; font-weight: 600; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { box-sizing: border-box; width: 100%; padding: 12px 14px; border: 1.5px solid #d0d5dd; border-radius: 12px; font: inherit; }
.comment-form input:focus-visible, .comment-form textarea:focus-visible { border-color: var(--green); box-shadow: 0 0 0 3px rgba(63, 174, 90, .18); outline: none; }
.comment-form .submit { min-height: 52px; padding: 0 28px; border: 0; border-radius: 14px; background: linear-gradient(135deg, var(--green), var(--green-dark)); color: #fff; font: 600 15px "Poppins", "Segoe UI", system-ui, sans-serif; cursor: pointer; }

/* "Added to cart" pop-up */
.bd-cartpop { position: fixed; z-index: 1100; inset: 0; display: grid; place-items: center; padding: 16px; background: rgba(16, 24, 40, .55); animation: bd-fade .2s ease both; }
.bd-cartpop__box { position: relative; display: flex; align-items: center; gap: 22px; width: min(600px, 100%); padding: 28px; border-radius: 20px; background: #fff; box-shadow: 0 24px 60px rgba(16, 24, 40, .35); animation: bd-pop .25s ease both; }
.bd-cartpop__img { flex: none; width: 140px; height: 140px; padding: 8px; border-radius: 14px; background: #f5f6f8; object-fit: contain; mix-blend-mode: multiply; }
.bd-cartpop__body { min-width: 0; }
.bd-cartpop__name { margin: 0 0 8px; font: 700 18px/1.3 "Poppins", "Segoe UI", system-ui, sans-serif; }
.bd-cartpop__msg { display: flex; align-items: center; gap: 8px; margin: 0 0 18px; color: #1f6b34; font-size: 15px; font-weight: 500; }
.bd-cartpop__msg .bd-svg { flex: none; width: 22px; height: 22px; }
.bd-cartpop__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.bd-cartpop__continue, .bd-cartpop__pay { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; min-height: 48px; padding: 0 22px; border-radius: 12px; font: 600 14px/1.2 "Poppins", "Segoe UI", system-ui, sans-serif; text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, background-color .15s, color .15s; }
.bd-cartpop__continue { border: 2px solid var(--ink); background: #fff; color: var(--ink); }
.bd-cartpop__continue:hover { background: var(--ink); color: #fff; }
.bd-cartpop__pay { border: 0; background: linear-gradient(135deg, var(--green), var(--green-dark)); box-shadow: 0 8px 18px rgba(47, 148, 73, .3); color: #fff; }
.bd-cartpop__pay:hover, .bd-cartpop__pay:focus-visible { background: linear-gradient(135deg, #46b863, var(--green-dark)); box-shadow: 0 12px 24px rgba(47, 148, 73, .38); color: #fff; transform: translateY(-2px); }
.bd-cartpop__close { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: #f2f4f7; color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; }
.bd-cartpop__close:hover { background: #e4e7ec; }
@keyframes bd-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes bd-pop { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
@media (max-width: 560px) {
	.bd-cartpop__box { flex-direction: column; padding: 24px 20px; text-align: center; }
	.bd-cartpop__msg { justify-content: center; }
	.bd-cartpop__actions { justify-content: center; }
	.bd-cartpop__continue, .bd-cartpop__pay { flex: 1 1 100%; }
}

/* Responsive */
@media (max-width: 1000px) {
	.bd-band { grid-template-columns: 1fr; padding: 22px 18px; gap: 16px; }
	.bd-brands__track li { flex-basis: 25%; }
}
@media (max-width: 900px) {
	body.single-product div.product { grid-template-columns: 1fr; gap: 28px; }
	.bd-ship-info { grid-template-columns: 1fr; }
	.bd-lightbox__stage { padding: 64px 12px; }
}
@media (max-width: 900px) {
	body .bd-page .col2-set { grid-template-columns: 1fr; }
	.woocommerce-MyAccount-navigation ul { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
	.woocommerce-MyAccount-navigation ul::-webkit-scrollbar { display: none; }
	.woocommerce-MyAccount-navigation li { flex: none; scroll-snap-align: start; }
	.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout { margin-left: 0; }
	.woocommerce-MyAccount-navigation li a { padding: 12px 18px; }
	.bd-post-card.is-featured { flex-direction: column; }
	.bd-post-card.is-featured .bd-post-card__img { flex: none; min-height: 0; aspect-ratio: 16 / 10; }
	.bd-post-card.is-featured .bd-post-card__body { padding: 24px; }
	.bd-post-card.is-featured .bd-post-card__title { font-size: 24px; }
	body .bd-page table.shop_table td.actions .coupon, body .bd-page table.shop_table td.actions > input[name="update_cart"] { float: none; width: 100%; }
	body .bd-page table.shop_table td.actions .coupon input#coupon_code { flex: 1; width: auto; }
	body .bd-page table.shop_table td.actions > input[name="update_cart"] { margin-top: 10px; }
}
@media (max-width: 782px) {
	body.admin-bar .bd-header { top: 46px; }
}
@media (max-width: 800px) {
	.bd-bar { grid-template-columns: auto minmax(0, 1fr) auto; gap: 6px; }
	.bd-bar__logo img { max-height: 44px; }
	.bd-header.is-stuck .bd-bar__logo img { max-height: 38px; }
	.bd-sitename { font-size: 20px; }
	.bd-iconbtn { width: 40px; height: 40px; }
	.bd-svg { width: 24px; height: 24px; }
	.bd-row { padding-inline: 24px; font-size: 18px; }
	.bd-back, .bd-drawer__foot { padding-inline: 24px; }
	.bd-searchpanel { padding-block: 14px; }
}
@media (max-width: 420px) {
	.bd-account { display: none; }
	.bd-bar__side { gap: 0; }
}
@media (max-width: 600px) {
	.bd-products { grid-template-columns: 1fr; }
	.bd-more__btn { width: 100%; min-width: 0; }
	.bd-posts { grid-template-columns: 1fr; }
	.post-navigation .nav-links { grid-template-columns: 1fr; }
	.post-navigation .nav-next { grid-column: auto; }
	body .bd-page .col2-set .col-1, body .bd-page .col2-set .col-2, body .bd-page .woocommerce > form.login, body .bd-page .woocommerce > form.lost_reset_password { padding: 24px 20px; }
	.bd-brands__track li { flex-basis: 50%; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.bd-ticker__track { animation: none; }
	.bd-products .bd-card, .bd-more__btn.is-loading::before { animation: none; }
	.bd-post-card, .bd-post-card__img img, .bd-login-toggle a.showlogin, .bd-login-toggle a.showlogin::after, .bd-login-toggle a.showcoupon, .bd-login-toggle a.showcoupon::after, .bd-cta, .bd-wa-btn, .bd-announce__wa { transition: none; }
	.bd-cartpop, .bd-cartpop__box { animation: none; }
	.bd-thumb, .bd-tabs__tab, body.single-product div.product .summary button.button { transition: none; }
	.bd-card, .bd-card__img img, .bd-pill, .bd-btn, .bd-btn .bd-svg { transition: none; }
	.bd-totop { transition: none; }
}
