/*
 * Surgemint — main stylesheet.
 * Tokens, base, layout, header, drawers, bottom bar, footer, slider, product
 * sections, and the brand skin for the Surgemint product card.
 * Shop / product / cart / checkout live in woocommerce.css; login, My Account,
 * addresses, orders and wishlist in account.css.
 *
 * Mobile first. Breakpoints (same as PBD_BP_* in functions.php):
 *   mobile  <= 599px   tablet 600–1023px   desktop >= 1024px
 *
 * State classes used by assets/js/main.js: .is-open, .is-active, .is-visible,
 * .is-scrolled, .is-loading. Visibility of JS-toggled pieces uses [hidden].
 */

/* ==========================================================================
   1. Fonts (self-hosted, OFL — see assets/fonts/LICENSE-FONTS.txt)
   ========================================================================== */

@font-face {
	font-family: "DM Sans";
	font-style: normal;
	font-weight: 100 1000;
	font-display: swap;
	src: url("../fonts/dm-sans-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "DM Sans";
	font-style: italic;
	font-weight: 100 1000;
	font-display: swap;
	src: url("../fonts/dm-sans-italic-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* The rupee sign (₹) is not in the Latin subset. */
@font-face {
	font-family: "DM Sans";
	font-style: normal;
	font-weight: 100 1000;
	font-display: swap;
	src: url("../fonts/dm-sans-rupee.woff2") format("woff2");
	unicode-range: U+20B9;
}

@font-face {
	font-family: "Lora";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("../fonts/lora-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   2. Design tokens
   ========================================================================== */

:root {
	/* Colour: warm paper + ink, a deep library-red brand and a brass accent. */
	--pbd-ink: #1f1a17;
	--pbd-ink-soft: #4a423c;
	--pbd-muted: #6c635b;
	--pbd-paper: #fffdf9;
	--pbd-surface: #ffffff;
	--pbd-tint: #f7f2ea;
	--pbd-line: #e7dfd3;
	--pbd-line-strong: #cfc4b3;

	--pbd-brand: #7c1d2b;
	--pbd-brand-dark: #5f1420;
	--pbd-brand-soft: #f6e7e9;
	--pbd-accent: #b7791f;
	--pbd-accent-soft: #fbf1dd;

	--pbd-sale: #c4302b;
	--pbd-success: #1f7a4d;
	--pbd-success-soft: #e6f4ec;
	--pbd-warning-soft: #fdf3dc;
	--pbd-error: #b42318;
	--pbd-error-soft: #fdebe9;
	--pbd-info-soft: #e8f0fb;
	--pbd-focus: #1a5fd0;

	--pbd-on-brand: #ffffff;

	/* Footer palette (follows the text colour when one is set in the Design tab) */
	--pbd-footer-bg: #221b17;
	--pbd-footer-ink: #e9e1d6;
	--pbd-footer-ink-strong: #ffffff;
	--pbd-footer-ink-soft: #cfc5b8;
	--pbd-footer-ink-muted: #b9aea0;

	/* Type */
	--pbd-font-ui: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--pbd-font-display: "Lora", Georgia, "Times New Roman", serif;

	/* Space + shape */
	--pbd-gutter: 16px;
	--pbd-container: 1232px;
	--pbd-radius-sm: 6px;
	--pbd-radius: 10px;
	--pbd-radius-lg: 16px;
	--pbd-btn-radius: var(--pbd-radius);
	--pbd-btn-radius-sm: var(--pbd-radius-sm);
	--pbd-shadow-sm: 0 1px 2px rgba(31, 26, 23, 0.06);
	--pbd-shadow: 0 6px 20px rgba(31, 26, 23, 0.08);
	--pbd-shadow-lg: 0 16px 40px rgba(31, 26, 23, 0.16);

	/* Layout offsets (main.js updates --pbd-header-h; the bar height is fixed). */
	--pbd-header-h: 120px;
	--pbd-bottom-h: 0px;
	--pbd-z-header: 100;
	--pbd-z-drawer: 1000;
	--pbd-z-toast: 1100;

	--pbd-ease: cubic-bezier(0.2, 0.7, 0.2, 1);

	/*
	 * Optional tokens (no default here, so each rule below keeps its own
	 * fallback): Elementor → Site Settings sets them on <body> through
	 * inc/elementor-link.php. --pbd-heading, --pbd-heading-weight,
	 * --pbd-body-size, --pbd-body-weight, --pbd-link, --pbd-link-hover,
	 * --pbd-btn-bg, --pbd-btn-bg-hover, --pbd-btn-ink, --pbd-btn-ink-hover,
	 * --pbd-btn-border, --pbd-btn-font, --pbd-btn-weight, --pbd-btn-size,
	 * --pbd-field-ink, --pbd-field-bg, --pbd-field-border, --pbd-field-radius,
	 * --pbd-h1-color … --pbd-h6-color, --pbd-hN-font, --pbd-hN-weight, --pbd-hN-size.
	 */
}

@media (min-width: 600px) {
	:root {
		--pbd-gutter: 24px;
	}
}

@media (min-width: 1024px) {
	:root {
		--pbd-gutter: 32px;
	}
}

/* --pbd-bottom-h is set by assets/css/bottom-nav.css (only loaded when the bar is on). */

/* ==========================================================================
   3. Base
   ========================================================================== */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: calc(var(--pbd-header-h) + 8px);
}

body {
	margin: 0;
	background: var(--pbd-paper);
	color: var(--pbd-ink);
	font-family: var(--pbd-font-ui);
	font-size: var(--pbd-body-size, 16px);
	font-weight: var(--pbd-body-weight, 400);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-wrap: break-word;
	padding-bottom: var(--pbd-bottom-h);
}

img,
picture,
video,
svg {
	max-width: 100%;
	height: auto;
}

img {
	display: block;
}

svg {
	flex-shrink: 0;
}

a {
	color: var(--pbd-link, var(--pbd-brand));
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

a:hover {
	color: var(--pbd-link-hover, var(--pbd-brand-dark));
}

:focus-visible {
	outline: 3px solid var(--pbd-focus);
	outline-offset: 2px;
	border-radius: 2px;
}

:focus:not(:focus-visible) {
	outline: none;
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

button {
	cursor: pointer;
}

[hidden] {
	display: none !important;
}

hr {
	border: 0;
	border-top: 1px solid var(--pbd-line);
	margin: 24px 0;
}

table {
	border-collapse: collapse;
	width: 100%;
}

::selection {
	background: var(--pbd-brand);
	color: var(--pbd-on-brand);
}

/* ==========================================================================
   4. Typography
   ========================================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.5em;
	font-family: var(--pbd-font-display);
	font-weight: var(--pbd-heading-weight, 600);
	line-height: 1.25;
	color: var(--pbd-heading, var(--pbd-ink));
	text-wrap: balance;
}

h1 { font-size: var(--pbd-h1-size, clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem)); }
h2 { font-size: var(--pbd-h2-size, clamp(1.35rem, 1.1rem + 1vw, 1.75rem)); }
h3 { font-size: var(--pbd-h3-size, clamp(1.15rem, 1rem + 0.6vw, 1.35rem)); }
h4 { font-size: var(--pbd-h4-size, 1.1rem); }
h5 { font-size: var(--pbd-h5-size, 1rem); }
h6 { font-size: var(--pbd-h6-size, 1rem); }

/* Per-level Theme Style from Elementor (unset = the rule above). */
h1 { color: var(--pbd-h1-color, var(--pbd-heading, var(--pbd-ink))); font-family: var(--pbd-h1-font, var(--pbd-font-display)); font-weight: var(--pbd-h1-weight, var(--pbd-heading-weight, 600)); }
h2 { color: var(--pbd-h2-color, var(--pbd-heading, var(--pbd-ink))); font-family: var(--pbd-h2-font, var(--pbd-font-display)); font-weight: var(--pbd-h2-weight, var(--pbd-heading-weight, 600)); }
h3 { color: var(--pbd-h3-color, var(--pbd-heading, var(--pbd-ink))); font-family: var(--pbd-h3-font, var(--pbd-font-display)); font-weight: var(--pbd-h3-weight, var(--pbd-heading-weight, 600)); }
h4 { color: var(--pbd-h4-color, var(--pbd-heading, var(--pbd-ink))); font-family: var(--pbd-h4-font, var(--pbd-font-display)); font-weight: var(--pbd-h4-weight, var(--pbd-heading-weight, 600)); }
h5 { color: var(--pbd-h5-color, var(--pbd-heading, var(--pbd-ink))); font-family: var(--pbd-h5-font, var(--pbd-font-display)); font-weight: var(--pbd-h5-weight, var(--pbd-heading-weight, 600)); }
h6 { color: var(--pbd-h6-color, var(--pbd-heading, var(--pbd-ink))); font-family: var(--pbd-h6-font, var(--pbd-font-display)); font-weight: var(--pbd-h6-weight, var(--pbd-heading-weight, 600)); }

p {
	margin: 0 0 1em;
}

small,
.pbd-small {
	font-size: 0.875rem;
	color: var(--pbd-muted);
}

strong,
b {
	font-weight: 700;
}

.pbd-page-title {
	margin: 8px 0 20px;
}

/* ==========================================================================
   5. Layout + utilities
   ========================================================================== */

.pbd-container {
	width: 100%;
	max-width: calc(var(--pbd-container) + (var(--pbd-gutter) * 2));
	margin-inline: auto;
	padding-inline: var(--pbd-gutter);
}

.pbd-main {
	min-height: 40vh;
}

.pbd-main:focus {
	outline: none;
}

.pbd-content {
	padding-block: 16px 48px;
}

.pbd-content--narrow {
	max-width: calc(820px + (var(--pbd-gutter) * 2));
}

.pbd-full-width,
.pbd-elementor-content {
	width: 100%;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus,
.skip-link:focus {
	position: fixed !important;
	top: 8px;
	left: 8px;
	z-index: 100000;
	width: auto;
	height: auto;
	margin: 0;
	padding: 12px 20px;
	clip: auto;
	clip-path: none;
	background: var(--pbd-surface);
	color: var(--pbd-ink);
	font-weight: 600;
	border-radius: var(--pbd-radius-sm);
	box-shadow: var(--pbd-shadow-lg);
	text-decoration: none;
}

/* Honeypot fields (newsletter): off-screen, never display:none for bots. */
.pbd-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.pbd-icon {
	display: inline-block;
	vertical-align: middle;
	flex-shrink: 0;
}

.pbd-placeholder {
	display: grid;
	place-items: center;
	min-height: 160px;
	padding: 24px;
	border: 2px dashed var(--pbd-line-strong);
	border-radius: var(--pbd-radius);
	background: var(--pbd-tint);
	color: var(--pbd-muted);
	text-align: center;
}

.pbd-empty,
.pbd-empty-note {
	padding: 24px;
	border: 1px dashed var(--pbd-line-strong);
	border-radius: var(--pbd-radius);
	background: var(--pbd-tint);
	color: var(--pbd-ink-soft);
	text-align: center;
}

/* ==========================================================================
   6. Buttons
   ========================================================================== */

.pbd-btn,
.pbd-btn:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 10px 22px;
	border: 2px solid var(--pbd-btn-border, var(--pbd-btn-bg, var(--pbd-brand)));
	border-radius: var(--pbd-btn-radius);
	background: var(--pbd-btn-bg, var(--pbd-brand));
	color: var(--pbd-btn-ink, var(--pbd-on-brand));
	font-family: var(--pbd-btn-font, inherit);
	font-size: var(--pbd-btn-size, 0.9375rem);
	font-weight: var(--pbd-btn-weight, 600);
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s var(--pbd-ease), border-color 0.2s var(--pbd-ease), color 0.2s var(--pbd-ease), box-shadow 0.2s var(--pbd-ease);
}

.pbd-btn:hover {
	background: var(--pbd-btn-bg-hover, var(--pbd-brand-dark));
	border-color: var(--pbd-btn-bg-hover, var(--pbd-brand-dark));
	color: var(--pbd-btn-ink-hover, var(--pbd-btn-ink, var(--pbd-on-brand)));
}

.pbd-btn:active {
	transform: translateY(1px);
}

.pbd-btn[disabled],
.pbd-btn.disabled,
.pbd-btn.is-loading {
	opacity: 0.55;
	pointer-events: none;
}

.pbd-btn--secondary,
.pbd-btn--secondary:visited {
	background: transparent;
	color: var(--pbd-brand);
}

.pbd-btn--secondary:hover {
	background: var(--pbd-brand-soft);
	color: var(--pbd-brand-dark);
	border-color: var(--pbd-brand-dark);
}

.pbd-btn--sm {
	min-height: 36px;
	padding: 6px 14px;
	font-size: 0.875rem;
	border-radius: var(--pbd-btn-radius-sm);
}

.pbd-btn--block {
	display: flex;
	width: 100%;
}

.pbd-btn--buy-now {
	background: var(--pbd-ink);
	border-color: var(--pbd-ink);
}

.pbd-btn--buy-now:hover {
	background: var(--pbd-ink);
	border-color: var(--pbd-ink);
}

.pbd-icon-btn {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--pbd-ink);
	cursor: pointer;
	transition: background-color 0.2s var(--pbd-ease);
}

.pbd-icon-btn:hover {
	background: var(--pbd-tint);
}

.pbd-link-btn {
	padding: 4px 0;
	border: 0;
	background: none;
	color: var(--pbd-brand);
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 0.2em;
	cursor: pointer;
}

.pbd-link-btn:hover {
	color: var(--pbd-brand-dark);
}

.pbd-link-btn--danger {
	color: var(--pbd-error);
}

.pbd-link {
	font-weight: 600;
}

/* ==========================================================================
   7. Forms
   ========================================================================== */

label {
	display: inline-block;
	margin-bottom: 4px;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--pbd-ink-soft);
}

.required {
	color: var(--pbd-error);
	border: 0;
	text-decoration: none;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input.input-text,
select,
textarea {
	display: block;
	width: 100%;
	min-height: 46px;
	padding: 10px 14px;
	border: 1.5px solid var(--pbd-field-border, var(--pbd-line-strong));
	border-radius: var(--pbd-field-radius, var(--pbd-radius));
	background: var(--pbd-field-bg, var(--pbd-surface));
	color: var(--pbd-field-ink, var(--pbd-ink));
	font-size: 1rem; /* 16px stops iOS zooming on focus. */
	line-height: 1.4;
	transition: border-color 0.2s var(--pbd-ease), box-shadow 0.2s var(--pbd-ease);
}

textarea {
	min-height: 110px;
	resize: vertical;
}

select {
	appearance: none;
	padding-right: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236c635b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
}

input::placeholder,
textarea::placeholder {
	color: var(--pbd-muted);
	opacity: 1;
}

input:hover,
select:hover,
textarea:hover {
	border-color: var(--pbd-muted);
}

input:focus,
select:focus,
textarea:focus {
	outline: none;
	border-color: var(--pbd-focus);
	box-shadow: 0 0 0 3px rgba(26, 95, 208, 0.22);
}

input[aria-invalid="true"],
.woocommerce-invalid input,
.woocommerce-invalid select {
	border-color: var(--pbd-error);
}

input[type="checkbox"],
input[type="radio"] {
	width: 18px;
	height: 18px;
	margin: 0 8px 0 0;
	accent-color: var(--pbd-brand);
	vertical-align: -3px;
}

.form-row,
.woocommerce-form-row {
	margin: 0 0 16px;
}

.woocommerce-form__label-for-checkbox,
label.checkbox {
	display: inline-flex;
	align-items: flex-start;
	font-weight: 500;
	color: var(--pbd-ink);
}

.pbd-field-hint {
	display: block;
	margin-top: 4px;
	font-size: 0.8125rem;
	color: var(--pbd-muted);
}

/* +91 prefix input */
.pbd-input-prefix {
	display: flex;
	align-items: stretch;
}

.pbd-input-prefix__code {
	display: grid;
	place-items: center;
	padding: 0 12px;
	border: 1.5px solid var(--pbd-field-border, var(--pbd-line-strong));
	border-right: 0;
	border-radius: var(--pbd-radius) 0 0 var(--pbd-radius);
	background: var(--pbd-tint);
	color: var(--pbd-ink-soft);
	font-weight: 600;
}

.pbd-input-prefix input {
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}

/* Password show/hide */
.pbd-password {
	position: relative;
	display: block;
}

.pbd-password input {
	padding-right: 52px;
}

.pbd-password__toggle {
	position: absolute;
	top: 0;
	right: 0;
	display: grid;
	place-items: center;
	width: 46px;
	height: 100%;
	padding: 0;
	border: 0;
	background: none;
	color: var(--pbd-muted);
}

.pbd-password__toggle:hover {
	color: var(--pbd-ink);
}

.pbd-form__grid {
	display: grid;
	gap: 0 16px;
}

@media (min-width: 600px) {
	.pbd-form__grid {
		grid-template-columns: 1fr 1fr;
	}
}

/* ==========================================================================
   8. Notices, badges, chips, breadcrumb, pagination
   ========================================================================== */

.pbd-notice,
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0 0 20px;
	padding: 14px 16px;
	border: 1px solid var(--pbd-line);
	border-left-width: 4px;
	border-radius: var(--pbd-radius);
	background: var(--pbd-surface);
	color: var(--pbd-ink);
	list-style: none;
}

.woocommerce-error {
	flex-direction: column;
	gap: 4px;
	border-left-color: var(--pbd-error);
	background: var(--pbd-error-soft);
}

.woocommerce-message {
	border-left-color: var(--pbd-success);
	background: var(--pbd-success-soft);
}

.woocommerce-info,
.pbd-notice--info {
	border-left-color: var(--pbd-focus);
	background: var(--pbd-info-soft);
}

.pbd-notice--warning {
	border-left-color: var(--pbd-accent);
	background: var(--pbd-warning-soft);
}

.woocommerce-message .button,
.woocommerce-info .button {
	order: 2;
	margin-left: auto;
}

.woocommerce-error li {
	margin: 0;
}

.pbd-badge {
	position: absolute;
	top: 0;
	right: 0;
	display: grid;
	place-items: center;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--pbd-brand);
	color: var(--pbd-on-brand);
	font-size: 0.6875rem;
	font-weight: 700;
	line-height: 1;
}

.pbd-badge-soft {
	display: inline-block;
	padding: 2px 10px;
	border-radius: 999px;
	background: var(--pbd-brand-soft);
	color: var(--pbd-brand-dark);
	font-size: 0.75rem;
	font-weight: 700;
}

.pbd-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
}

.pbd-chip {
	display: inline-flex;
	align-items: center;
	min-height: 38px;
	padding: 6px 16px;
	border: 1.5px solid var(--pbd-line-strong);
	border-radius: 999px;
	background: var(--pbd-surface);
	color: var(--pbd-ink);
	font-size: 0.9rem;
	font-weight: 500;
	text-decoration: none;
	transition: border-color 0.2s var(--pbd-ease), background-color 0.2s var(--pbd-ease);
}

.pbd-chip:hover {
	border-color: var(--pbd-brand);
	background: var(--pbd-brand-soft);
	color: var(--pbd-brand-dark);
}

.pbd-breadcrumb,
.woocommerce-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin: 0 0 12px;
	font-size: 0.8125rem;
	color: var(--pbd-muted);
}

.woocommerce-breadcrumb a {
	color: var(--pbd-ink-soft);
	text-decoration: none;
}

.woocommerce-breadcrumb a:hover {
	color: var(--pbd-brand);
	text-decoration: underline;
}

.pbd-breadcrumb__sep {
	color: var(--pbd-line-strong);
}

.pagination,
.woocommerce-pagination {
	margin: 32px 0 0;
}

.pagination .nav-links,
.woocommerce-pagination ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	border: 1.5px solid var(--pbd-line-strong);
	border-radius: var(--pbd-radius);
	background: var(--pbd-surface);
	color: var(--pbd-ink);
	font-weight: 600;
	text-decoration: none;
}

a.page-numbers:hover {
	border-color: var(--pbd-brand);
	color: var(--pbd-brand);
}

.page-numbers.current {
	border-color: var(--pbd-brand);
	background: var(--pbd-brand);
	color: var(--pbd-on-brand);
}

.page-numbers.dots {
	border: 0;
	background: none;
}

/* ==========================================================================
   9. Header
   ========================================================================== */

.pbd-site-header {
	position: relative;
	z-index: var(--pbd-z-header);
}

body.pbd-sticky-header .pbd-site-header {
	position: sticky;
	top: 0;
}

.pbd-header {
	background: var(--pbd-surface);
	border-bottom: 1px solid var(--pbd-line);
	box-shadow: var(--pbd-shadow-sm);
}

/* Announcement bar */
.pbd-topbar {
	background: var(--pbd-brand-dark);
	color: var(--pbd-on-brand);
	font-size: 0.8125rem;
}

.pbd-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 24px;
	min-height: 36px;
	padding-block: 6px;
}

.pbd-topbar__text {
	margin: 0;
	text-align: center;
}

.pbd-topbar a {
	color: inherit;
	text-decoration: none;
}

.pbd-topbar a:hover {
	text-decoration: underline;
}

.pbd-topbar__links {
	display: none;
	align-items: center;
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pbd-topbar__links a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

@media (min-width: 1024px) {
	.pbd-topbar__inner {
		justify-content: space-between;
	}

	.pbd-topbar__links {
		display: flex;
	}
}

.pbd-header.is-scrolled .pbd-topbar,
.pbd-topbar.is-hidden {
	display: none;
}

/* Main row (mobile: menu | logo | actions, search below) */
.pbd-header__row {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	grid-template-areas:
		"menu logo actions"
		"search search search";
	align-items: center;
	gap: 4px 8px;
	padding-block: 8px 12px;
}

.pbd-header__menu-toggle {
	grid-area: menu;
	margin-left: -10px;
}

.pbd-header__logo {
	grid-area: logo;
	min-width: 0;
}

.pbd-header__search {
	grid-area: search;
	min-width: 0;
}

.pbd-header__actions {
	grid-area: actions;
}

.pbd-header__row--no-search {
	grid-template-areas: "menu logo actions";
	padding-bottom: 8px;
}

@media (min-width: 1024px) {
	.pbd-header__row {
		grid-template-columns: auto minmax(280px, 1fr) auto;
		grid-template-areas: "logo search actions";
		gap: 24px;
		padding-block: 16px;
	}

	.pbd-header__row--no-search {
		grid-template-columns: auto 1fr;
		grid-template-areas: "logo actions";
	}

	.pbd-header__row--no-search .pbd-header__actions {
		justify-self: end;
	}

	.pbd-header__menu-toggle {
		display: none;
	}
}

/* Logo */
.pbd-logo {
	display: flex;
	align-items: center;
	min-width: 0;
}

.pbd-logo img {
	width: auto;
	max-width: 100%;
	max-height: 44px;
}

.pbd-logo a {
	display: inline-flex;
}

.pbd-logo__heading {
	margin: 0;
	font-size: inherit;
	line-height: 0;
}

.pbd-logo__text {
	margin: 0;
	font-family: var(--pbd-font-display);
	font-size: clamp(1.15rem, 0.9rem + 1.2vw, 1.6rem);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.01em;
}

.pbd-logo__text a {
	color: var(--pbd-brand);
	text-decoration: none;
}

@media (min-width: 1024px) {
	.pbd-logo img {
		max-height: 56px;
	}
}

/* Search */
.pbd-search {
	position: relative;
	display: flex;
	align-items: stretch;
	width: 100%;
	border: 2px solid var(--pbd-field-border, var(--pbd-line-strong));
	border-radius: 999px;
	background: var(--pbd-surface);
	transition: border-color 0.2s var(--pbd-ease), box-shadow 0.2s var(--pbd-ease);
}

.pbd-search:focus-within {
	border-color: var(--pbd-brand);
	box-shadow: 0 0 0 3px var(--pbd-brand-soft);
}

.pbd-search__icon {
	display: grid;
	place-items: center;
	padding-left: 16px;
	color: var(--pbd-muted);
}

.pbd-search input.pbd-search__input {
	flex: 1;
	min-width: 0;
	min-height: 44px;
	padding: 8px 12px;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	font-size: 1rem;
}

.pbd-search input.pbd-search__input:focus {
	box-shadow: none;
}

.pbd-search__submit {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 3px;
	padding: 0 18px;
	border: 0;
	border-radius: 999px;
	background: var(--pbd-brand);
	color: var(--pbd-on-brand);
	font-weight: 600;
}

.pbd-search__submit:hover {
	background: var(--pbd-brand-dark);
}

.pbd-search__submit-label {
	display: none;
}

@media (min-width: 600px) {
	.pbd-search__submit-label {
		display: inline;
	}

	.pbd-search__submit-icon {
		display: none;
	}
}

.pbd-search__suggest {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	right: 0;
	z-index: 20;
	max-height: min(70vh, 480px);
	overflow-y: auto;
	padding: 8px;
	border: 1px solid var(--pbd-line);
	border-radius: var(--pbd-radius-lg);
	background: var(--pbd-surface);
	box-shadow: var(--pbd-shadow-lg);
}

/* Suggestion rows (built by main.js) */
.pbd-suggest__group + .pbd-suggest__group {
	margin-top: 8px;
	padding-top: 8px;
	border-top: 1px solid var(--pbd-line);
}

.pbd-suggest__title {
	margin: 4px 8px;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--pbd-muted);
}

.pbd-suggest__item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px;
	border-radius: var(--pbd-radius);
	color: var(--pbd-ink);
	text-decoration: none;
	cursor: pointer;
}

.pbd-suggest__item:hover,
.pbd-suggest__item[aria-selected="true"] {
	background: var(--pbd-tint);
	color: var(--pbd-ink);
}

.pbd-suggest__thumb {
	width: 40px;
	height: 52px;
	object-fit: contain;
	border-radius: 4px;
	background: var(--pbd-tint);
}

.pbd-suggest__text {
	flex: 1;
	min-width: 0;
	line-height: 1.3;
}

.pbd-suggest__name {
	display: block;
	overflow: hidden;
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.pbd-suggest__meta {
	display: block;
	font-size: 0.8125rem;
	color: var(--pbd-muted);
}

.pbd-suggest__price {
	font-weight: 700;
	white-space: nowrap;
}

.pbd-suggest__all,
.pbd-suggest__empty {
	display: block;
	padding: 10px 8px;
	font-size: 0.9rem;
	color: var(--pbd-brand);
	font-weight: 600;
	text-decoration: none;
}

.pbd-suggest__empty {
	color: var(--pbd-muted);
	font-weight: 400;
}

/* Header actions */
.pbd-actions {
	display: flex;
	align-items: center;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pbd-actions__item--wishlist {
	display: none;
}

@media (min-width: 600px) {
	.pbd-actions__item--wishlist {
		display: block;
	}
}

/* Account dropdown (disclosure). The panel is anchored to the trigger's
   right edge and never wider than the viewport minus the gutters, so it
   cannot clip or cause horizontal scroll at any width. */
.pbd-actions__item--account {
	position: relative;
}

.pbd-account-menu__toggle {
	border: 0;
	background: none;
	font-family: inherit;
	text-decoration: none;
	cursor: pointer;
}

.pbd-account-menu__toggle[aria-expanded="true"] {
	background: var(--pbd-tint);
	color: var(--pbd-brand);
}

.pbd-account-menu__panel {
	position: absolute;
	top: calc(100% + 6px);
	right: 0;
	z-index: calc(var(--pbd-z-header) + 10);
	width: min(272px, calc(100vw - (var(--pbd-gutter) * 2)));
	padding: 12px;
	border: 1px solid var(--pbd-line);
	border-radius: var(--pbd-radius-lg);
	background: var(--pbd-surface);
	box-shadow: var(--pbd-shadow-lg);
	color: var(--pbd-ink);
	text-align: left;
}

.pbd-account-menu__panel[hidden] {
	display: none;
}

/* Invisible bridge over the 6px gap, so moving the mouse from the trigger
   to the panel never counts as leaving. */
.pbd-account-menu__panel::before {
	content: "";
	position: absolute;
	right: 0;
	bottom: 100%;
	left: 0;
	height: 8px;
}

.pbd-account-menu__hello {
	margin: 2px 4px 10px;
	color: var(--pbd-ink-soft);
	font-size: 0.875rem;
	font-weight: 600;
}

.pbd-account-menu__list {
	display: grid;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pbd-account-menu__list a {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 40px;
	padding: 8px 10px;
	border-radius: var(--pbd-radius-sm);
	color: var(--pbd-ink);
	font-size: 0.9375rem;
	font-weight: 500;
	text-decoration: none;
}

.pbd-account-menu__list a:hover,
.pbd-account-menu__list a:focus-visible,
.pbd-account-menu__list a[aria-current="page"] {
	background: var(--pbd-brand-soft);
	color: var(--pbd-brand);
}

.pbd-account-menu__list .pbd-icon {
	color: var(--pbd-muted);
}

.pbd-account-menu__list a:hover .pbd-icon,
.pbd-account-menu__list a[aria-current="page"] .pbd-icon {
	color: inherit;
}

.pbd-account-menu__item--customer-logout {
	margin-top: 4px;
	padding-top: 4px;
	border-top: 1px solid var(--pbd-line);
}

.pbd-account-menu__auth {
	display: grid;
	gap: 8px;
}

@media (prefers-reduced-motion: no-preference) {
	.pbd-account-menu__panel:not([hidden]) {
		animation: pbd-pop 0.14s var(--pbd-ease);
	}
}

@keyframes pbd-pop {
	from {
		opacity: 0;
		transform: translateY(-4px);
	}
}

.pbd-action {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	min-width: 44px;
	min-height: 44px;
	padding: 4px 8px;
	border-radius: var(--pbd-radius);
	color: var(--pbd-ink);
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1.1;
	text-decoration: none;
}

.pbd-action:hover {
	background: var(--pbd-tint);
	color: var(--pbd-brand);
}

.pbd-action .pbd-icon {
	width: 24px;
	height: 24px;
}

.pbd-action .pbd-badge {
	top: 0;
	right: 2px;
}

.pbd-action__label {
	display: none;
}

@media (min-width: 1024px) {
	.pbd-action__label {
		display: block;
	}
}

/* Primary navigation + category menu (desktop only) */
.pbd-header__nav {
	display: none;
	border-top: 1px solid var(--pbd-line);
	background: var(--pbd-surface);
}

@media (min-width: 1024px) {
	.pbd-header__nav {
		display: block;
	}
}

.pbd-header__nav-inner {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 48px;
}

.pbd-nav__menu {
	display: flex;
	flex-wrap: wrap;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pbd-nav__menu > li {
	position: relative;
}

.pbd-nav__menu a {
	display: flex;
	align-items: center;
	min-height: 44px;
	padding: 0 14px;
	color: var(--pbd-ink);
	font-size: 0.9375rem;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.pbd-nav__menu a:hover,
.pbd-nav__menu .current-menu-item > a,
.pbd-nav__menu .current-menu-ancestor > a {
	color: var(--pbd-brand);
}

.pbd-nav__menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 30;
	min-width: 220px;
	margin: 0;
	padding: 8px;
	border: 1px solid var(--pbd-line);
	border-radius: var(--pbd-radius);
	background: var(--pbd-surface);
	box-shadow: var(--pbd-shadow);
	list-style: none;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.18s var(--pbd-ease), transform 0.18s var(--pbd-ease), visibility 0.18s;
}

.pbd-nav__menu li:hover > .sub-menu,
.pbd-nav__menu li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.pbd-nav__menu .sub-menu a {
	min-height: 38px;
	border-radius: var(--pbd-radius-sm);
	font-weight: 500;
	white-space: normal;
}

.pbd-nav__menu .sub-menu a:hover {
	background: var(--pbd-tint);
}

.pbd-catmenu {
	position: relative;
}

.pbd-catmenu__toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 40px;
	padding: 0 16px;
	border: 0;
	border-radius: var(--pbd-radius);
	background: var(--pbd-brand);
	color: var(--pbd-on-brand);
	font-size: 0.9375rem;
	font-weight: 600;
}

.pbd-catmenu__toggle:hover {
	background: var(--pbd-brand-dark);
}

.pbd-catmenu__chevron {
	transition: transform 0.2s var(--pbd-ease);
}

.pbd-catmenu__toggle[aria-expanded="true"] .pbd-catmenu__chevron {
	transform: rotate(180deg);
}

.pbd-catmenu__panel {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	z-index: 40;
	width: min(760px, 90vw);
	padding: 16px;
	border: 1px solid var(--pbd-line);
	border-radius: var(--pbd-radius-lg);
	background: var(--pbd-surface);
	box-shadow: var(--pbd-shadow-lg);
}

.pbd-catmenu__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px 24px;
	margin: 0 0 12px;
	padding: 0;
	list-style: none;
}

.pbd-catmenu__link {
	display: block;
	margin-bottom: 4px;
	font-weight: 700;
	color: var(--pbd-ink);
	text-decoration: none;
}

.pbd-catmenu__link:hover {
	color: var(--pbd-brand);
}

.pbd-catmenu__children {
	margin: 0;
	padding: 0;
	list-style: none;
}

.pbd-catmenu__children a {
	display: block;
	padding: 2px 0;
	color: var(--pbd-ink-soft);
	font-size: 0.875rem;
	text-decoration: none;
}

.pbd-catmenu__children a:hover {
	color: var(--pbd-brand);
	text-decoration: underline;
}

.pbd-catmenu__all {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding-top: 12px;
	border-top: 1px solid var(--pbd-line);
	font-weight: 700;
	text-decoration: none;
}

/* ==========================================================================
   10. Drawers (native <dialog>)
   ========================================================================== */

dialog.pbd-drawer {
	position: fixed;
	inset: 0;
	z-index: var(--pbd-z-drawer);
	width: 100%;
	max-width: none;
	height: 100%;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--pbd-ink);
	overflow: hidden;
}

dialog.pbd-drawer:not([open]) {
	display: none;
}

dialog.pbd-drawer::backdrop {
	background: rgba(31, 26, 23, 0.55);
}

.pbd-drawer__panel {
	display: flex;
	flex-direction: column;
	width: min(90vw, 380px);
	height: 100%;
	background: var(--pbd-surface);
	box-shadow: var(--pbd-shadow-lg);
	animation: pbd-drawer-left 0.28s var(--pbd-ease);
}

.pbd-drawer--right .pbd-drawer__panel {
	margin-left: auto;
	animation-name: pbd-drawer-right;
}

@keyframes pbd-drawer-left {
	from { transform: translateX(-100%); }
	to { transform: none; }
}

@keyframes pbd-drawer-right {
	from { transform: translateX(100%); }
	to { transform: none; }
}

.pbd-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 8px 8px 8px 20px;
	border-bottom: 1px solid var(--pbd-line);
}

.pbd-drawer__title {
	margin: 0;
	font-family: var(--pbd-font-display);
	font-size: 1.15rem;
	font-weight: 700;
}

.pbd-drawer__body {
	flex: 1;
	padding: 16px 20px 32px;
	overflow-y: auto;
	overscroll-behavior: contain;
}

.pbd-drawer__account {
	margin-bottom: 20px;
	padding: 16px;
	border-radius: var(--pbd-radius);
	background: var(--pbd-tint);
}

.pbd-drawer__hello {
	margin: 0 0 10px;
	font-weight: 600;
}

.pbd-drawer__quick {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pbd-drawer__quick a {
	font-weight: 600;
	text-decoration: none;
}

.pbd-drawer__section-title {
	margin: 24px 0 8px;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--pbd-muted);
}

.pbd-drawer-menu,
.pbd-drawer-menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.pbd-drawer-menu a,
.pbd-cat-accordion a,
.pbd-cat-accordion summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 48px;
	padding: 0 4px;
	border-bottom: 1px solid var(--pbd-line);
	color: var(--pbd-ink);
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
}

.pbd-drawer-menu .sub-menu a {
	padding-left: 20px;
	font-weight: 500;
}

.pbd-cat-accordion {
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
}

.pbd-cat-accordion summary {
	list-style: none;
}

.pbd-cat-accordion summary::-webkit-details-marker {
	display: none;
}

.pbd-cat-accordion details[open] > summary svg {
	transform: rotate(180deg);
}

.pbd-cat-accordion details ul {
	margin: 0;
	padding: 0 0 0 16px;
	list-style: none;
}

.pbd-cat-accordion details ul a {
	font-weight: 500;
}

.pbd-drawer__contact {
	margin-top: 24px;
}

/* ==========================================================================
   11. Toasts (the mobile bottom bar lives in bottom-nav.css)
   ========================================================================== */

.pbd-toasts {
	position: fixed;
	right: 12px;
	bottom: calc(max(var(--pbd-bottom-h), env(safe-area-inset-bottom, 0px)) + 12px);
	left: 12px;
	z-index: var(--pbd-z-toast);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	pointer-events: none;
}

@media (min-width: 600px) {
	.pbd-toasts {
		left: auto;
		width: 360px;
		align-items: stretch;
	}
}

.pbd-toast {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 12px 16px;
	border-radius: var(--pbd-radius);
	background: var(--pbd-ink);
	color: #fff;
	font-size: 0.9rem;
	box-shadow: var(--pbd-shadow-lg);
	pointer-events: auto;
	animation: pbd-toast-in 0.25s var(--pbd-ease);
}

.pbd-toast a {
	margin-left: auto;
	color: #ffd98a;
	font-weight: 700;
	white-space: nowrap;
}

.pbd-toast--error {
	background: var(--pbd-error);
}

@keyframes pbd-toast-in {
	from { opacity: 0; transform: translateY(12px); }
	to { opacity: 1; transform: none; }
}

/* ==========================================================================
   12. Footer
   ========================================================================== */

.pbd-site-footer {
	margin-top: 48px;
}

.pbd-footer {
	background: var(--pbd-footer-bg);
	color: var(--pbd-footer-ink);
	font-size: 0.9375rem;
}

.pbd-footer a {
	color: var(--pbd-footer-ink);
	text-decoration: none;
}

.pbd-footer a:hover {
	color: var(--pbd-footer-ink-strong);
	text-decoration: underline;
}

.pbd-footer__newsletter {
	background: var(--pbd-brand);
	color: var(--pbd-on-brand);
}

.pbd-footer__newsletter-inner {
	display: grid;
	gap: 16px;
	padding-block: 28px;
}

@media (min-width: 1024px) {
	.pbd-footer__newsletter-inner {
		grid-template-columns: 1fr minmax(360px, 480px);
		align-items: center;
		gap: 40px;
	}
}

.pbd-footer__newsletter-title {
	margin: 0 0 4px;
	color: inherit;
	font-size: 1.35rem;
}

.pbd-footer__newsletter-copy p {
	margin: 0;
	opacity: 0.92;
}

.pbd-newsletter__row {
	display: flex;
	gap: 8px;
}

.pbd-newsletter input[type="email"] {
	flex: 1;
	min-width: 0;
}

.pbd-newsletter--dark .pbd-btn {
	background: #fff;
	border-color: #fff;
	color: var(--pbd-brand-dark);
}

.pbd-newsletter--dark .pbd-btn:hover {
	background: var(--pbd-accent-soft);
	border-color: var(--pbd-accent-soft);
}

.pbd-newsletter__msg {
	min-height: 1.4em;
	margin: 8px 0 0;
	font-size: 0.875rem;
}

.pbd-newsletter__msg.is-error {
	color: #ffd0cc;
}

.pbd-footer__grid {
	display: grid;
	gap: 0 40px;
	padding-block: 32px 16px;
}

@media (min-width: 600px) {
	.pbd-footer__grid {
		grid-template-columns: 1fr 1fr;
		gap: 24px 40px;
	}
}

@media (min-width: 1024px) {
	.pbd-footer__grid {
		/* 1024–1279px: the brand takes its own row, the columns share the next one. */
		grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
		padding-block: 48px 24px;
	}

	.pbd-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (min-width: 1280px) {
	.pbd-footer__grid {
		/* brand + N menu columns (N = --pbd-footer-menus) + contact */
		grid-template-columns: 1.4fr repeat(var(--pbd-footer-menus, 2), minmax(0, 1fr)) 1.2fr;
	}

	.pbd-footer__brand {
		grid-column: auto;
	}
}

/* ==========================================================================
   Contact page (templates/contact.php)
   ========================================================================== */

.pbd-notice--success {
	border-left-color: var(--pbd-success);
	background: var(--pbd-success-soft);
}

.pbd-notice--error {
	border-left-color: var(--pbd-error);
	background: var(--pbd-error-soft);
}

.pbd-notice p,
.pbd-contact-msg .pbd-notice {
	margin: 0;
}

.pbd-contact-hero {
	max-width: 720px;
	margin-bottom: 8px;
}

.pbd-contact-hero__intro {
	color: var(--pbd-ink-soft);
	font-size: 1.0625rem;
}

.pbd-contact-page {
	display: grid;
	gap: 24px;
	margin-top: 8px;
}

@media (min-width: 900px) {
	.pbd-contact-page {
		grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
		gap: 32px;
		align-items: start;
	}
}

.pbd-contact-side {
	display: grid;
	gap: 24px;
	min-width: 0;
}

.pbd-contact-card {
	min-width: 0;
	padding: clamp(18px, 3vw, 28px);
	border: 1px solid var(--pbd-line);
	border-radius: var(--pbd-radius-lg);
	background: var(--pbd-surface);
}

.pbd-contact-card h2 {
	margin-bottom: 16px;
	font-size: 1.25rem;
}

/* Status messages get their room up front: nothing jumps when one appears. */
.pbd-contact-msg {
	min-height: 4.5rem; /* room for one or two lines of message */
	margin-top: 14px;
}

.pbd-field {
	margin: 0 0 16px;
}

.pbd-field label {
	display: block;
	margin-bottom: 6px;
	font-weight: 600;
	color: var(--pbd-ink);
}

.pbd-req {
	color: var(--pbd-error);
}

.pbd-field.has-error input,
.pbd-field.has-error textarea {
	border-color: var(--pbd-error);
}

/* One line is always reserved for the error text (no layout shift). */
.pbd-field__error {
	min-height: 1.25em;
	margin: 4px 0 0;
	color: var(--pbd-error);
	font-size: 0.8125rem;
	line-height: 1.25;
}

.pbd-contact--page {
	display: grid;
	gap: 12px;
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
}

.pbd-contact--page li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	color: var(--pbd-ink);
}

.pbd-contact--page a {
	color: var(--pbd-link, var(--pbd-brand));
	overflow-wrap: anywhere;
}

.pbd-contact-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 16px;
}

.pbd-contact-card .pbd-social a {
	color: var(--pbd-ink);
}

.pbd-contact-map {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border: 1px solid var(--pbd-line);
	border-radius: var(--pbd-radius-lg);
	background: var(--pbd-tint);
}

.pbd-contact-map iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.pbd-contact-faq {
	max-width: 820px;
	margin-top: 40px;
}

.pbd-faq__item {
	border-bottom: 1px solid var(--pbd-line);
}

.pbd-faq__item summary {
	padding: 14px 4px;
	font-weight: 600;
	cursor: pointer;
}

.pbd-faq__item p {
	margin: 0 0 14px;
	padding: 0 4px;
	color: var(--pbd-ink-soft);
}

.pbd-footer__legal ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 1024px) {
	.pbd-footer__legal ul {
		justify-content: flex-end;
	}
}

.pbd-footer__legal a {
	color: var(--pbd-footer-link, var(--pbd-footer-ink-soft));
	font-size: 0.875rem;
	text-decoration: none;
}

.pbd-footer__legal a:hover {
	color: var(--pbd-footer-ink-strong);
	text-decoration: underline;
}

/* HTML sitemap ([pbd_sitemap], widget, Elementor widget). */
.pbd-sitemap {
	--pbd-sitemap-link: var(--pbd-link, var(--pbd-brand));
	--pbd-sitemap-heading: var(--pbd-heading, var(--pbd-ink));
	display: grid;
	gap: 8px 32px;
}

@media (min-width: 768px) {
	.pbd-sitemap {
		grid-template-columns: repeat(min(var(--pbd-sitemap-cols, 3), 2), minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.pbd-sitemap {
		grid-template-columns: repeat(var(--pbd-sitemap-cols, 3), minmax(0, 1fr));
	}
}

.pbd-sitemap__title {
	grid-column: 1 / -1;
	margin: 0;
}

.pbd-sitemap__heading {
	margin: 16px 0 8px;
	color: var(--pbd-sitemap-heading);
	font-size: 1.0625rem;
}

.pbd-sitemap__list,
.pbd-sitemap__list ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.pbd-sitemap__list ul {
	padding-inline-start: 16px;
	border-inline-start: 1px solid var(--pbd-line);
}

.pbd-sitemap__list li {
	margin: 0;
	padding: 3px 0;
	overflow-wrap: anywhere;
}

.pbd-sitemap__list a {
	color: var(--pbd-sitemap-link);
}

/* In the footer the sitemap uses the footer colours. */
.pbd-footer .pbd-sitemap {
	--pbd-sitemap-link: var(--pbd-footer-link, var(--pbd-footer-ink));
	--pbd-sitemap-heading: var(--pbd-footer-ink-strong);
}

/* Footer widget areas (Appearance → Widgets or Elementor). */
.pbd-footer__widgets {
	display: grid;
	gap: 24px 40px;
	padding-block: 8px 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@media (min-width: 768px) {
	.pbd-footer__widgets {
		grid-template-columns: repeat(min(var(--pbd-footer-widget-cols, 1), 2), minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.pbd-footer__widgets {
		grid-template-columns: repeat(var(--pbd-footer-widget-cols, 1), minmax(0, 1fr));
	}
}

.pbd-footer__widgets .pbd-footer__heading {
	margin-top: 16px;
}

.pbd-footer__widgets a {
	color: var(--pbd-footer-link, var(--pbd-footer-ink));
}

.pbd-footer__brand {
	margin-bottom: 16px;
}

.pbd-footer__name {
	margin: 0 0 8px;
	font-family: var(--pbd-font-display);
	font-size: 1.5rem;
	font-weight: 700;
}

.pbd-footer__about {
	max-width: 36ch;
	margin: 0 0 16px;
	color: var(--pbd-footer-ink-soft);
}

.pbd-footer__heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 0 0 12px;
	color: var(--pbd-footer-ink-strong);
	font-family: var(--pbd-font-ui);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	list-style: none;
	cursor: pointer;
}

.pbd-footer__heading::-webkit-details-marker {
	display: none;
}

.pbd-footer__col {
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	padding-bottom: 12px;
	margin-bottom: 12px;
}

.pbd-footer__col[open] > .pbd-footer__heading svg {
	transform: rotate(180deg);
}

@media (min-width: 1024px) {
	.pbd-footer__col {
		border-bottom: 0;
		margin-bottom: 0;
		padding-bottom: 0;
	}

	.pbd-footer__heading {
		cursor: default;
		pointer-events: none;
	}

	.pbd-footer__heading svg {
		display: none;
	}
}

.pbd-footer__links,
.pbd-footer__links ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.pbd-footer__links li {
	margin: 0;
}

.pbd-footer__links a {
	display: inline-block;
	padding: 5px 0;
}

.pbd-contact {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pbd-contact li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.pbd-contact .pbd-icon {
	margin-top: 3px;
	color: var(--pbd-accent);
}

.pbd-social {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pbd-social a {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 50%;
}

.pbd-social a:hover {
	background: rgba(255, 255, 255, 0.12);
	text-decoration: none;
}

.pbd-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 0.8125rem;
	color: var(--pbd-footer-ink-muted);
}

.pbd-footer__bottom-inner {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding-block: 16px;
	text-align: center;
}

@media (min-width: 1024px) {
	.pbd-footer__bottom-inner {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		text-align: left;
	}
}

.pbd-footer__copyright,
.pbd-footer__payments {
	margin: 0;
}

/* ==========================================================================
   13. Hero slider + banners
   ========================================================================== */

.pbd-picture,
.pbd-picture img {
	display: block;
	width: 100%;
}

.pbd-slider {
	position: relative;
	overflow: hidden;
	background: var(--pbd-tint);
}

.pbd-slider--bleed {
	width: 100%;
}

.pbd-slider__track {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	overscroll-behavior-x: contain;
	scrollbar-width: none;
}

.pbd-slider__track::-webkit-scrollbar {
	display: none;
}

.pbd-slider__slide {
	position: relative;
	flex: 0 0 100%;
	scroll-snap-align: start;
	aspect-ratio: var(--pbd-slide-ratio-mobile, 4 / 5);
}

@media (min-width: 600px) {
	.pbd-slider__slide {
		aspect-ratio: var(--pbd-slide-ratio, 1920 / 600);
	}
}

.pbd-slider__link {
	display: block;
	width: 100%;
	height: 100%;
}

.pbd-slider__slide .pbd-picture,
.pbd-slider__slide .pbd-picture img {
	height: 100%;
	object-fit: cover;
}

.pbd-slider__copy {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	background: linear-gradient(90deg, rgba(31, 26, 23, 0.6), rgba(31, 26, 23, 0) 70%);
	color: #fff;
	pointer-events: none;
}

.pbd-slider__copy > .pbd-container > * {
	max-width: 32rem;
	pointer-events: auto;
}

.pbd-slider__title {
	margin: 0 0 8px;
	font-family: var(--pbd-font-display);
	font-size: clamp(1.4rem, 1rem + 2.4vw, 3rem);
	font-weight: 700;
	line-height: 1.15;
}

.pbd-slider__text {
	margin: 0 0 16px;
	font-size: clamp(0.95rem, 0.9rem + 0.4vw, 1.2rem);
}

.pbd-slider__arrow {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: none;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.9);
	color: var(--pbd-ink);
	box-shadow: var(--pbd-shadow);
	transform: translateY(-50%);
}

.pbd-slider__arrow:hover {
	background: #fff;
	color: var(--pbd-brand);
}

.pbd-slider__arrow--prev { left: 16px; }
.pbd-slider__arrow--next { right: 16px; }

@media (min-width: 1024px) {
	.pbd-slider__arrow {
		display: grid;
	}
}

.pbd-slider__dots {
	position: absolute;
	right: 0;
	bottom: 12px;
	left: 0;
	z-index: 2;
	display: flex;
	justify-content: center;
	gap: 2px;
}

.pbd-slider__dot {
	position: relative;
	width: 24px;
	height: 24px;
	padding: 0;
	border: 0;
	background: none;
}

.pbd-slider__dot::before {
	content: "";
	position: absolute;
	inset: 8px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.7);
	box-shadow: 0 0 0 1px rgba(31, 26, 23, 0.25);
	transition: inset 0.2s var(--pbd-ease), background-color 0.2s;
}

.pbd-slider__dot[aria-current="true"]::before {
	inset: 7px -2px;
	border-radius: 999px;
	background: #fff;
}

.pbd-banner {
	position: relative;
	display: block;
	margin-block: 24px;
	overflow: hidden;
	color: inherit;
	text-decoration: none;
}

.pbd-banner--rounded {
	border-radius: var(--pbd-radius-lg);
}

.pbd-banner--bleed {
	border-radius: 0;
}

.pbd-banner__copy {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	gap: 8px;
	padding: 24px clamp(20px, 5vw, 64px);
	background: linear-gradient(90deg, rgba(31, 26, 23, 0.55), rgba(31, 26, 23, 0) 70%);
	color: #fff;
}

.pbd-banner--center .pbd-banner__copy {
	align-items: center;
	background: rgba(31, 26, 23, 0.35);
	text-align: center;
}

.pbd-banner__title {
	font-family: var(--pbd-font-display);
	font-size: clamp(1.25rem, 1rem + 1.6vw, 2.25rem);
	font-weight: 700;
	line-height: 1.15;
}

.pbd-banner__text {
	font-size: clamp(0.9rem, 0.85rem + 0.3vw, 1.1rem);
}

/* ==========================================================================
   14. Home sections: heads, product rails, features, category tiles
   ========================================================================== */

.pbd-home > * + * {
	margin-top: 40px;
}

.pbd-home {
	padding-block: 24px 8px;
}

.pbd-product-section,
.pbd-cat-tiles {
	margin-block: 32px;
}

.surgemint-widget-header.pbd-section-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
}

.pbd-section-title {
	margin: 0;
	font-family: var(--pbd-font-display);
	font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
	font-weight: 700;
}

.pbd-section-head__end {
	display: flex;
	align-items: center;
	gap: 12px;
}

.pbd-view-all {
	font-size: 0.875rem;
	font-weight: 700;
}

.pbd-rail-nav {
	display: none;
	gap: 8px;
}

@media (min-width: 1024px) {
	.pbd-rail-nav {
		display: flex;
	}
}

.pbd-rail-nav__btn {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 1.5px solid var(--pbd-line-strong);
	border-radius: 50%;
	background: var(--pbd-surface);
	color: var(--pbd-ink);
}

.pbd-rail-nav__btn:hover:not([disabled]) {
	border-color: var(--pbd-brand);
	color: var(--pbd-brand);
}

.pbd-rail-nav[hidden] {
	display: none;
}

.pbd-rail-nav__btn[disabled] {
	opacity: 0.35;
	cursor: default;
}

/* Product grid (Surgemint columns come from the --pbd-cols* custom props) */
.pbd-grid {
	--surgemint-columns: var(--pbd-cols-m, 2);
	display: grid;
	grid-template-columns: repeat(var(--pbd-cols-m, 2), minmax(0, 1fr));
	gap: 12px;
}

@media (min-width: 600px) {
	.pbd-grid {
		--surgemint-columns: var(--pbd-cols-t, 3);
		grid-template-columns: repeat(var(--pbd-cols-t, 3), minmax(0, 1fr));
		gap: 16px;
	}
}

@media (min-width: 1024px) {
	.pbd-grid {
		--surgemint-columns: var(--pbd-cols, 5);
		grid-template-columns: repeat(var(--pbd-cols, 5), minmax(0, 1fr));
		gap: 20px;
	}
}

/* Swipeable row: cards are a fixed fraction of the row on every device.
   No inline padding, so the first card sits exactly on the container edge
   (same line as the heading); scroll-padding keeps snapping aligned to it. */
.pbd-grid--rail {
	display: flex;
	gap: 12px;
	padding: 4px 0 12px;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-padding-inline: 0;
	scroll-snap-type: x mandatory;
	scrollbar-width: thin;
	-webkit-overflow-scrolling: touch;
}

.pbd-grid--rail {
	align-items: stretch;
}

.pbd-grid--rail > .surgemint-product-card {
	flex: 0 0 calc((100% - 12px) / 2.2);
	height: auto;
	scroll-snap-align: start;
}

@media (min-width: 600px) {
	.pbd-grid--rail > .surgemint-product-card {
		flex-basis: calc((100% - 32px) / 3.3);
	}
}

@media (min-width: 1024px) {
	.pbd-grid--rail {
		gap: 20px;
	}

	.pbd-grid--rail > .surgemint-product-card {
		flex-basis: calc((100% - (20px * (var(--pbd-cols, 5) - 1))) / var(--pbd-cols, 5));
	}
}

/* Rail page dots (built by main.js; one per "page" of cards). */
.pbd-rail-dots {
	display: flex;
	justify-content: center;
	gap: 6px;
	margin: 4px 0 0;
	padding: 0;
	list-style: none;
}

.pbd-rail-dots[hidden] {
	display: none;
}

.pbd-rail-dots button {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: var(--pbd-line-strong);
	cursor: pointer;
	transition: width 0.2s var(--pbd-ease), background-color 0.2s var(--pbd-ease);
}

.pbd-rail-dots button[aria-current="true"] {
	width: 22px;
	background: var(--pbd-brand);
}

/* Bigger hit area without changing the dot size. */
.pbd-rail-dots li {
	display: grid;
	place-items: center;
	min-width: 24px;
	min-height: 24px;
}

/* Feature strip */
.pbd-features {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 1024px) {
	.pbd-features {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 20px;
	}
}

.pbd-features__item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px;
	border: 1px solid var(--pbd-line);
	border-radius: var(--pbd-radius);
	background: var(--pbd-surface);
}

.pbd-features__icon {
	display: grid;
	place-items: center;
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--pbd-brand-soft);
	color: var(--pbd-brand);
}

.pbd-features__copy {
	display: grid;
	min-width: 0;
	line-height: 1.3;
}

.pbd-features__title {
	font-size: 0.9rem;
	font-weight: 700;
}

.pbd-features__text {
	font-size: 0.8125rem;
	color: var(--pbd-muted);
}

/* Category tiles: swipe row on phones, grid from tablet */
.pbd-cat-tiles__list {
	display: flex;
	gap: 12px;
	margin: 0;
	padding: 4px 2px 12px;
	overflow-x: auto;
	list-style: none;
	scroll-snap-type: x proximity;
	scrollbar-width: none;
}

.pbd-cat-tiles__list::-webkit-scrollbar {
	display: none;
}

.pbd-cat-tiles__item {
	flex: 0 0 96px;
	scroll-snap-align: start;
}

@media (min-width: 600px) {
	.pbd-cat-tiles__list {
		display: grid;
		grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
		gap: 16px;
		overflow: visible;
	}

	.pbd-cat-tiles__item {
		flex: none;
	}
}

.pbd-cat-tile {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	color: var(--pbd-ink);
	text-align: center;
	text-decoration: none;
}

.pbd-cat-tile__media {
	display: grid;
	place-items: center;
	width: 88px;
	height: 88px;
	overflow: hidden;
	border: 2px solid var(--pbd-line);
	border-radius: 50%;
	background: var(--pbd-tint);
	color: var(--pbd-brand);
	transition: border-color 0.2s var(--pbd-ease), transform 0.2s var(--pbd-ease);
}

.pbd-cat-tile__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (min-width: 1024px) {
	.pbd-cat-tile__media {
		width: 112px;
		height: 112px;
	}
}

.pbd-cat-tile:hover .pbd-cat-tile__media {
	border-color: var(--pbd-brand);
	transform: translateY(-2px);
}

.pbd-cat-tile__name {
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.25;
}

/* ==========================================================================
   15. Surgemint product card: brand skin
   The plugin ships neutral colours (#111 buttons, #2f6fed hover). The theme
   re-skins the SAME markup so every card on the site matches the brand.
   ========================================================================== */

.surgemint-product-card {
	border-color: var(--pbd-line);
	border-radius: var(--pbd-radius-lg);
	background: var(--pbd-surface);
	font-family: var(--pbd-font-ui);
	color: var(--pbd-ink);
}

.surgemint-product-card:hover {
	border-color: var(--pbd-line-strong);
	box-shadow: var(--pbd-shadow);
}

.surgemint-product-thumb {
	background: var(--pbd-tint);
}

.surgemint-product-title {
	font-family: var(--pbd-font-ui);
	font-weight: 600;
	color: var(--pbd-ink);
}

.surgemint-product-title a {
	color: inherit;
}

.surgemint-product-title a:hover {
	color: var(--pbd-brand);
}

.surgemint-product-category {
	color: var(--pbd-muted);
}

.surgemint-product-price {
	color: var(--pbd-ink);
	font-weight: 700;
}

.surgemint-product-price ins {
	color: var(--pbd-brand);
	text-decoration: none;
}

.surgemint-sale-badge {
	background: var(--pbd-sale);
}

.surgemint-featured-badge {
	background: var(--pbd-accent);
}

.surgemint-add-to-cart-btn:hover,
.surgemint-add-to-cart-btn.added {
	background: var(--pbd-brand);
	border-color: var(--pbd-brand);
	color: var(--pbd-on-brand);
}

.surgemint-wishlist-btn:hover,
.surgemint-wishlist-btn.in-wishlist {
	color: var(--pbd-sale);
	border-color: var(--pbd-sale);
}

.surgemint-buy-now-full {
	background: var(--pbd-brand);
	border-radius: var(--pbd-radius);
}

.surgemint-buy-now-full:hover {
	background: var(--pbd-brand-dark);
	color: var(--pbd-on-brand);
	opacity: 1;
}

.surgemint-view-all-btn {
	border-radius: var(--pbd-radius-sm);
	background: transparent;
	border: 1.5px solid var(--pbd-brand);
	color: var(--pbd-brand);
	padding: 6px 16px;
}

.surgemint-view-all-btn:hover {
	background: var(--pbd-brand);
	color: var(--pbd-on-brand);
}

.surgemint-widget-heading {
	font-family: var(--pbd-font-display);
}

/* ==========================================================================
   16. Posts and pages
   ========================================================================== */

/* Post cards + grid (blog, archives, search, related posts). Every image box
   has an aspect ratio, so nothing shifts while images load. */
.pbd-post-grid,
.pbd-post-list {
	display: grid;
	gap: 20px;
	margin: 0 0 32px;
}

@media (min-width: 600px) {
	.pbd-post-grid,
	.pbd-post-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.pbd-post-grid,
	.pbd-post-list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 24px;
	}
}

.pbd-post-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--pbd-line);
	border-radius: var(--pbd-radius-lg);
	background: var(--pbd-surface);
	transition: box-shadow 0.2s var(--pbd-ease), border-color 0.2s var(--pbd-ease);
}

.pbd-post-card:hover {
	border-color: var(--pbd-line-strong);
	box-shadow: var(--pbd-shadow);
}

.pbd-post-card__media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--pbd-tint);
}

.pbd-post-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pbd-post-card__placeholder {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	color: var(--pbd-line-strong);
}

.pbd-post-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 16px;
}

.pbd-post-card__cat {
	margin: 0 0 6px;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.pbd-post-card__cat a {
	color: var(--pbd-brand);
	text-decoration: none;
}

.pbd-post-card__title {
	margin: 0 0 6px;
	font-size: 1.15rem;
	line-height: 1.3;
}

.pbd-post-card__title a {
	color: var(--pbd-ink);
	text-decoration: none;
}

.pbd-post-card__title a:hover {
	color: var(--pbd-brand);
}

.pbd-post-card__excerpt {
	flex: 1;
	margin: 0 0 10px;
	color: var(--pbd-ink-soft);
	font-size: 0.9375rem;
}

/* Featured (first) post: image beside text from 900px up. */
.pbd-post-featured {
	margin-bottom: 24px;
}

.pbd-post-card--featured .pbd-post-card__title {
	font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem);
}

@media (min-width: 900px) {
	.pbd-post-card--featured {
		display: grid;
		grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
	}

	.pbd-post-card--featured .pbd-post-card__media {
		aspect-ratio: auto;
		min-height: 320px;
	}

	.pbd-post-card--featured .pbd-post-card__body {
		justify-content: center;
		padding: 32px;
	}
}

.pbd-entry-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 2px 14px;
	margin: 0 0 8px;
	font-size: 0.8125rem;
	color: var(--pbd-muted);
}

.pbd-entry-meta a {
	color: inherit;
}

.pbd-archive-header {
	margin-bottom: 20px;
}

.pbd-archive-description {
	color: var(--pbd-ink-soft);
}

.pbd-entry__content {
	font-size: 1.0625rem;
	line-height: 1.75;
}

.pbd-entry__content img {
	border-radius: var(--pbd-radius);
}

.pbd-entry__content a {
	text-decoration: underline;
}

.pbd-entry__media {
	margin: 0 0 20px;
}

.pbd-entry__media img {
	width: 100%;
	border-radius: var(--pbd-radius-lg);
}

.pbd-searchform {
	display: flex;
	gap: 8px;
	max-width: 520px;
	margin-block: 16px;
}

.pbd-searchform__input {
	flex: 1;
	min-width: 0;
}

.pbd-comments {
	margin-top: 40px;
}

.pbd-comments__list {
	padding: 0;
	list-style: none;
}

.pbd-comments__list .comment-body {
	margin-bottom: 16px;
	padding: 16px;
	border: 1px solid var(--pbd-line);
	border-radius: var(--pbd-radius);
	background: var(--pbd-surface);
}

.pbd-comments .avatar {
	float: left;
	margin-right: 12px;
	border-radius: 50%;
}

.pbd-404 {
	text-align: center;
	padding-block: 56px;
}

.pbd-404 .pbd-searchform {
	margin-inline: auto;
}

.alignwide {
	max-width: 1100px;
}

.alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-inline: calc(50% - 50vw);
}

/* ==========================================================================
   17. Elementor compatibility
   ========================================================================== */

.elementor-widget-container .pbd-header,
.elementor-widget-container .pbd-footer {
	width: 100%;
}

.elementor-widget-container .pbd-header {
	border-bottom: 0;
	box-shadow: none;
}

.pbd-elementor-page .pbd-main {
	padding: 0;
}

.elementor-editor-active .pbd-bottom-nav,
.elementor-editor-active .pbd-toasts {
	display: none;
}

/* ==========================================================================
   18. Motion + print
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}

@media print {
	.pbd-topbar,
	.pbd-header__nav,
	.pbd-bottom-nav,
	.pbd-toasts,
	.pbd-footer__newsletter,
	.pbd-slider__arrow,
	.pbd-slider__dots,
	dialog {
		display: none !important;
	}

	body {
		padding: 0;
		background: #fff;
	}
}

/* Body scroll lock while a drawer is open (set by main.js) */
html.pbd-scroll-lock {
	overflow: hidden;
}

/* Checkout recovery promo (Elementor widget) */
.pbd-promo { padding: clamp(1.5rem, 4vw, 3rem); border-radius: 14px; background: var(--pbd-brand, #7c1d2b); color: #fff; }
.pbd-promo__title { margin: 0 0 .5rem; color: inherit; font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.2; }
.pbd-promo__text { max-width: 60ch; margin: 0 0 1rem; opacity: .92; }
.pbd-promo__points { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin: 0 0 1.25rem; padding: 0; list-style: none; }
.pbd-promo__points li { display: inline-flex; align-items: center; gap: .4rem; }
.pbd-promo .pbd-btn { background: #fff; color: var(--pbd-brand, #7c1d2b); }
