/* =====================================================================
   Piper Cigars — premium header & product page (matches design mockup)
   Loaded AFTER theme.css, so overrides apply. Light theme only for the
   cream styling; dark theme keeps the theme.css palette.
   ===================================================================== */

:root {
	--piper-brand: #852519;
	--piper-brand-dark: #5c1c12;
	--piper-breadcrumb: #4f1b11;
	--piper-cream: #ffffff;
	--piper-cream-2: #ffffff;
	--piper-panel: #ffffff;
	--piper-line: #e6e0d6;
	--piper-text: #2b2b2b;
	--piper-muted: #7a756e;
	--piper-green: #2f8a4f;
	--piper-star: #d8a534;
}

/* ---------- Page background (light theme only) ---------- */
html[data-bs-theme="light"] body,
html:not([data-bs-theme="dark"]) body {
	background-color: var(--piper-cream) !important;
}

/* =====================================================================
   HEADER
   ===================================================================== */
.topbar,
.site-topbar {
	background: #fff !important;
	
	font-size: 13px;
	color: var(--piper-muted);
	padding: 1px 0;
}

.site-topbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.site-topbar-left {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.5rem;
}

.site-topbar-left span,
.site-topbar-right > span {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	white-space: nowrap;
}

.site-topbar-left i {
	color: var(--piper-brand);
	font-size: 15px;
}

.site-topbar-right {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-shrink: 0;
}

.site-topbar-tagline {
	font-size: 13px;
	color: var(--piper-muted);
	white-space: nowrap;
}

.site-theme-toggle {
	color: var(--piper-text) !important;
	font-size: 19px;
	line-height: 1;
	text-decoration: none;
	border: none;
	box-shadow: none !important;
}
.site-theme-toggle:hover { color: var(--piper-brand) !important; }
.site-theme-toggle .theme-ico-dark { display: none; }
[data-bs-theme="dark"] .site-theme-toggle .theme-ico-light { display: none; }
[data-bs-theme="dark"] .site-theme-toggle .theme-ico-dark { display: inline-block; }

/* Theme toggle as a bordered icon button inside the header icons box */
.piper-header-icons .site-theme-toggle { color: #2b2b2b !important; }
[data-bs-theme="dark"] .piper-header-icons .site-theme-toggle { color: #e6e6e6 !important; }
.piper-header-icons .site-theme-toggle:hover,
.piper-header-icons .site-theme-toggle:focus { color: var(--piper-brand) !important; }

.site-topbar-lang .form-select {
	font-size: 13px;
	border: 1px solid var(--piper-line);
	border-radius: 6px;
	min-width: 116px;
	height: 34px;
	padding: 4px 30px 4px 12px;
	color: var(--piper-text);
	background-color: #fff;
}

/* ---------- Main nav (white) ---------- */
.site-main-nav {
	background: #ffffff !important;
	border-bottom: 1px solid var(--piper-line);
	box-shadow: none;
}

.site-main-nav .container,
.site-main-nav .container-xxl { position: relative; }

/* Logo row (centered, desktop) */
.site-logo-row {
	justify-content: center;
	padding: 16px 0 4px;
}

.site-logo-top { display: inline-block; line-height: 0; }

.site-logo-top img {
	height: 86px;
	width: auto;
	max-width: 200px;
	object-fit: contain;
	transition: height .25s ease;
}

/* Nav row: hamburger | categories | icons */
.site-nav-row {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	min-height: 54px;
	padding-bottom: 12px;
	gap: 1rem;
}

.site-nav-left { display: flex; align-items: center; justify-self: start; gap: .75rem; min-width: 0; }
.site-nav-center { justify-self: center; }
.site-nav-right { display: flex; align-items: center; justify-content: flex-end; gap: 20px; justify-self: end; }

.site-nav-hamburger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px; height: 40px;
	color: var(--piper-text);
	font-size: 24px; line-height: 1;
	text-decoration: none;
}
.site-nav-hamburger:hover { color: var(--piper-brand); }

.site-nav-center .navbar-nav {
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	gap: 2.25rem;
	margin: 0;
}

.site-nav-center .nav-item { padding: 0 !important; margin: 0 !important; }

.site-nav-center .nav-link {
	color: var(--piper-text) !important;
	text-transform: uppercase;
	letter-spacing: .07em;
	font-size: 13px;
	font-weight: 600;
	padding: 6px 0 !important;
	white-space: nowrap;
	display: inline-flex !important;
	align-items: center;
	gap: 5px;
}
.site-nav-center .nav-link:hover { color: var(--piper-brand) !important; }
.site-nav-center .dropdown-toggle::after {
	font-size: 9px;
	margin-left: 2px;
	vertical-align: middle;
}

.site-nav-action {
	display: inline-flex; align-items: center; justify-content: center;
	color: var(--piper-text); text-decoration: none; position: relative; line-height: 1;
}
.site-nav-action i { font-size: 21px; }
.site-nav-action:hover { color: var(--piper-brand); }

.site-nav-cart-badge {
	position: absolute; top: -7px; right: -11px;
	min-width: 18px; height: 18px; padding: 0 4px;
	border-radius: 999px; background: #1a1a1a; color: #fff;
	font-size: 10px; font-weight: 700; line-height: 18px; text-align: center;
}

/* Header icon buttons — bordered rounded squares (mockup style) */
.piper-header-icons {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.piper-icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border: 1px solid #e5e5e5;
	border-radius: 10px;
	background: #fff;
	color: #2b2b2b;
	text-decoration: none !important;
	position: relative;
	padding: 0;
	line-height: 1;
	flex-shrink: 0;
	transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.piper-icon-btn i {
	font-size: 18px;
	line-height: 1;
}

.piper-icon-btn:hover,
.piper-icon-btn:focus {
	border-color: #cfcfcf;
	color: var(--piper-brand);
	background: #fff;
}

button.piper-icon-btn {
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
}

.piper-mobile-nav-toggle.piper-icon-btn {
	border: 1px solid #e5e5e5;
	border-radius: 10px;
	box-shadow: none;
}

.piper-icon-btn-badge,
#cart-badge.piper-icon-btn-badge {
	position: absolute;
	top: -6px;
	right: -6px;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 50%;
	background: #1a1a1a !important;
	color: #fff !important;
	font-size: 10px;
	font-weight: 700;
	line-height: 18px;
	text-align: center;
	transform: none;
	margin: 0 !important;
}

.piper-icon-btn-badge:empty,
#cart-badge.piper-icon-btn-badge[data-count="0"] {
	display: none;
}

.site-nav-mobile-logo img { height: 50px; width: auto; }
.site-nav-mobile-toggle { border: 0; background: transparent; padding: 0; color: var(--piper-text); font-size: 28px; line-height: 1; }

/* Shrink logo when scrolled */
body.scrolled .site-logo-top img,
.sticky .site-logo-top img,
#header.scrolled .site-logo-top img { height: 58px; }

@media (max-width: 1199.98px) {
	.site-nav-row { grid-template-columns: auto 1fr; min-height: 60px; padding-bottom: 0; }
	.site-nav-center { display: none !important; }
}

/* Dark theme header */
html[data-bs-theme="dark"] .topbar,
html[data-bs-theme="dark"] .site-topbar { background: #1c1e21 !important; border-color: #2d3238; }
html[data-bs-theme="dark"] .topbar,
html[data-bs-theme="dark"] .topbar span,
[data-bs-theme="dark"] .site-topbar,
[data-bs-theme="dark"] .site-topbar .site-topbar-tagline,
[data-bs-theme="dark"] .site-topbar-left span { color: #adb3ba !important; }
[data-bs-theme="dark"] .site-topbar .bd-theme,
[data-bs-theme="dark"] .site-topbar .site-theme-toggle,
html[data-bs-theme="dark"] .topbar .site-theme-toggle { color: #e6e6e6 !important; }
[data-bs-theme="dark"] .site-topbar-lang .form-select { background-color: #23272c; border-color: #2d3238; color: #e6e6e6; }

[data-bs-theme="dark"] .piper-icon-btn,
html[data-bs-theme="dark"] .piper-icon-btn {
	background: #23272c;
	border-color: #3a4047;
	color: #e6e6e6;
}
[data-bs-theme="dark"] .piper-icon-btn:hover,
[data-bs-theme="dark"] .piper-icon-btn:focus,
html[data-bs-theme="dark"] .piper-icon-btn:hover,
html[data-bs-theme="dark"] .piper-icon-btn:focus {
	border-color: #4a5159;
	color: #fff;
	background: #2b3036;
}

html[data-bs-theme="dark"] .main-header,
html[data-bs-theme="dark"] .sticky-area,
html[data-bs-theme="dark"] .site-main-nav { background: #1c1e21 !important; border-color: #2d3238; }
[data-bs-theme="dark"] .site-nav-center .nav-link,
[data-bs-theme="dark"] .site-nav-action,
[data-bs-theme="dark"] .site-nav-hamburger { color: #e6e6e6 !important; }

/* =====================================================================
   BREADCRUMB BAR (full-width dark brown)
   ===================================================================== */
.product-breadcrumb-bar {
	background: var(--piper-breadcrumb);
	padding: 11px 0;
}
.product-breadcrumb-bar .breadcrumb { margin: 0; font-size: 13px; }
.product-breadcrumb-bar .breadcrumb-item,
.product-breadcrumb-bar .breadcrumb-item a { color: rgba(255,255,255,.82) !important; text-decoration: none; }
.product-breadcrumb-bar .breadcrumb-item a:hover { color: #fff !important; }
.product-breadcrumb-bar .breadcrumb-item.active { color: #fff !important; }
.product-breadcrumb-bar .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.5); }

/* =====================================================================
   PRODUCT DETAIL
   ===================================================================== */
.product-detail-section { padding: 2.25rem 0 3rem; }

.product-detail-card {
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 6px 28px rgba(0,0,0,.06);
	padding: 2.25rem;
}
[data-bs-theme="dark"] .product-detail-card { background: #23272c; box-shadow: none; border: 1px solid #2d3238; }

/* Gallery */
.product-gallery-main {
	background: #fff;
	border: 1px solid var(--piper-line);
	border-radius: 12px;
	padding: 1.25rem;
	overflow: hidden;
}
[data-bs-theme="dark"] .product-gallery-main { background: #1f2329; border-color: #2d3238; }

.product-gallery-link {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 420px;
	background: #fff;
}
[data-bs-theme="dark"] .product-gallery-link { background: #1f2329; }
.product-gallery-link--wide {
	background: #fff;
}
[data-bs-theme="dark"] .product-gallery-link--wide { background: #1f2329; }

.product-gallery-img {
	max-height: 540px;
	object-fit: contain;
}

@media (min-width: 992px) and (hover: hover) and (pointer: fine) {
	.product-gallery-link {
		overflow: hidden;
		cursor: zoom-in;
	}
	.product-gallery-link .product-gallery-img {
		transition: transform 0.1s ease-out;
		will-change: transform;
	}
}
.product-gallery-img--wide {
	width: 100%;
	max-height: 540px;
	height: auto;
	object-fit: contain;
	object-position: center center;
}

.product-gallery-thumb {
	height: 84px;
	object-fit: contain;
	object-position: center center;
	border-radius: 8px;
	border: 2px solid transparent;
	cursor: pointer;
	transition: border-color .15s;
	background: #fff;
}
[data-bs-theme="dark"] .product-gallery-thumb { background: #1f2329; }
.product-gallery-thumb--wide {
	object-fit: contain;
	object-position: center center;
	background: #fff;
}
[data-bs-theme="dark"] .product-gallery-thumb--wide { background: #1f2329; }
.product-gallery-thumb:hover,
.product-gallery-thumb.active { border-color: var(--piper-brand); }

/* Gallery arrows (circular, like quick view) */
.product-gallery-main { position: relative; }
#productCarousel .carousel-item:not(.active) .product-gallery-link {
	pointer-events: none;
}
.product-gallery-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: var(--piper-text);
	box-shadow: 0 2px 12px rgba(0,0,0,.16);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	opacity: 1;
	z-index: 3;
}
.product-gallery-nav.carousel-control-prev { left: 16px; }
.product-gallery-nav.carousel-control-next { right: 16px; }
.product-gallery-nav:hover { color: var(--piper-brand); background: #fff; }
[data-bs-theme="dark"] .product-gallery-nav { background: #2b3036; color: #e6e6e6; }
[data-bs-theme="dark"] .product-gallery-nav:hover { color: #fff; }

/* Product lightbox – match in-page gallery (white in light theme, dark panel in dark theme) */
.lg-container.piper-product-lightbox .lg-backdrop,
.lg-container.piper-product-lightbox .lg-outer,
.lg-container.piper-product-lightbox .lg-content,
.lg-container.piper-product-lightbox .lg-item,
.lg-container.piper-product-lightbox .lg-img-wrap,
.lg-container.piper-product-lightbox .lg-image {
	background-color: #fff !important;
}
.lg-container.piper-product-lightbox .lg-next,
.lg-container.piper-product-lightbox .lg-prev {
	background-color: rgba(255, 255, 255, 0.95) !important;
	color: var(--piper-text, #2b2b2b) !important;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}
.lg-container.piper-product-lightbox .lg-next:hover,
.lg-container.piper-product-lightbox .lg-prev:hover {
	color: var(--piper-brand, #852519) !important;
}
.lg-container.piper-product-lightbox .lg-close {
	color: var(--piper-text, #2b2b2b);
}
.lg-container.piper-product-lightbox .lg-toolbar .lg-icon {
	color: var(--piper-text, #2b2b2b);
}
.lg-container.piper-product-lightbox .lg-sub-html {
	background: linear-gradient(to top, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0));
	color: var(--piper-text, #2b2b2b);
}
.lg-container.piper-product-lightbox .lg-thumb-outer {
	background-color: #fff !important;
}
.lg-container.piper-product-lightbox .lg-thumb-item.active,
.lg-container.piper-product-lightbox .lg-thumb-item:hover {
	border-color: var(--piper-brand, #852519);
}

html[data-bs-theme="dark"] .lg-container.piper-product-lightbox .lg-backdrop,
html[data-bs-theme="dark"] .lg-container.piper-product-lightbox .lg-outer,
html[data-bs-theme="dark"] .lg-container.piper-product-lightbox .lg-content,
html[data-bs-theme="dark"] .lg-container.piper-product-lightbox .lg-item,
html[data-bs-theme="dark"] .lg-container.piper-product-lightbox .lg-img-wrap,
html[data-bs-theme="dark"] .lg-container.piper-product-lightbox .lg-image {
	background-color: #1f2329 !important;
}
html[data-bs-theme="dark"] .lg-container.piper-product-lightbox .lg-next,
html[data-bs-theme="dark"] .lg-container.piper-product-lightbox .lg-prev {
	background-color: rgba(43, 48, 54, 0.95) !important;
	color: #e6e6e6 !important;
}
html[data-bs-theme="dark"] .lg-container.piper-product-lightbox .lg-close,
html[data-bs-theme="dark"] .lg-container.piper-product-lightbox .lg-toolbar .lg-icon {
	color: #e6e6e6;
}
html[data-bs-theme="dark"] .lg-container.piper-product-lightbox .lg-thumb-outer {
	background-color: #1f2329 !important;
}

/* Badge + price + title */
.product-sale-badge {
	display: inline-block;
	background: var(--piper-green);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	padding: 5px 13px;
	border-radius: 5px;
}
.product-price-old { text-decoration: line-through; color: var(--piper-muted); font-size: 1.15rem; margin-right: .75rem; }
.product-price-current { font-size: 1.9rem; font-weight: 700; color: var(--piper-brand); }
[data-bs-theme="dark"] .product-price-current { color: #e8b4ac; }

.product-detail-title {
	font-size: 1.85rem;
	font-weight: 700;
	color: var(--piper-text);
	line-height: 1.2;
	margin: .65rem 0 .85rem;
}
[data-bs-theme="dark"] .product-detail-title { color: #f1f1f1; }

.product-short-desc { color: var(--piper-muted); font-size: 14px; line-height: 1.65; margin-bottom: 1.25rem; }

/* Spec bar */
.product-spec-bar {
	display: flex;
	background: #f6f4f0;
	border-radius: 8px;
	overflow: hidden;
	margin-bottom: 1.25rem;
}
[data-bs-theme="dark"] .product-spec-bar { background: #2b3036; }
.product-spec-bar .spec-cell { flex: 1; padding: 13px 18px; font-size: 14px; color: var(--piper-text); }
[data-bs-theme="dark"] .product-spec-bar .spec-cell { color: #e6e6e6; }
.product-spec-bar .spec-cell + .spec-cell { border-left: 1px solid var(--piper-line); }
[data-bs-theme="dark"] .product-spec-bar .spec-cell + .spec-cell { border-color: #3a4047; }
.product-spec-bar .spec-cell strong { font-weight: 600; }

/* Ratings */
.product-rating-row { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.product-rating-row .rating-label { font-weight: 600; color: var(--piper-text); min-width: 64px; }
[data-bs-theme="dark"] .product-rating-row .rating-label { color: #e6e6e6; }
.product-rating-row .bi-star-fill { color: var(--piper-star); }
.product-rating-row .bi-star { color: #cfc8bd; }

/* Info cards */
.product-info-card {
	background: #fff;
	border: 1px solid var(--piper-line);
	border-radius: 10px;
	padding: 13px 12px;
	text-align: center;
	height: 100%;
	display: flex;
	align-items: center;
	gap: 10px;
	justify-content: center;
}
[data-bs-theme="dark"] .product-info-card { background: #1f2329; border-color: #2d3238; }
.product-info-card .info-ico { font-size: 20px; color: var(--piper-brand); }
.product-info-card .info-ico img { width: 24px; height: 24px; object-fit: cover; border-radius: 3px; }
.product-info-card .info-label { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--piper-muted); }
.product-info-card .info-value { font-size: 14px; font-weight: 600; color: var(--piper-text); line-height: 1.2; }
[data-bs-theme="dark"] .product-info-card .info-value { color: #ececec; }

/* Purchase panel */
.product-purchase-panel {
	background: var(--piper-panel);
	border: 1px solid var(--piper-line);
	border-radius: 12px;
	padding: 1.25rem 1.4rem;
}
[data-bs-theme="dark"] .product-purchase-panel { background: #23272c; border-color: #2d3238; }

.product-stock-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; font-size: 14px; margin-bottom: 1rem; }
.product-stock-row .stock-ok { color: var(--piper-green); font-weight: 600; display: inline-flex; align-items: center; gap: 7px; }
.product-stock-row .stock-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--piper-green); display: inline-block; }
.product-stock-row .delivery { color: var(--piper-muted); }

/* Variant option boxes inside panel */
.product-purchase-option {
	background: transparent !important;
	border: none !important;
	border-bottom: 1px solid var(--piper-line) !important;
	border-radius: 0 !important;
}
.product-purchase-option:last-child { border-bottom: none !important; }
[data-bs-theme="dark"] .product-purchase-option { border-bottom-color: #2d3238 !important; }
.product-purchase-option .form-check-input:checked { background-color: var(--piper-brand); border-color: var(--piper-brand); }

.qty-stepper .btn { border-color: var(--piper-line); color: var(--piper-text); }
[data-bs-theme="dark"] .qty-stepper .btn { color: #e6e6e6; }
.qty-stepper .qty-input { max-width: 64px; }

.btn-piper-cart {
	background: var(--piper-brand);
	border: 1px solid var(--piper-brand);
	color: #fff;
	font-weight: 600;
	padding: 11px 22px;
	border-radius: 8px;
}
.btn-piper-cart:hover,
.btn-piper-cart:focus { background: var(--piper-brand-dark); border-color: var(--piper-brand-dark); color: #fff; }

.btn-piper-wish {
	width: 48px; height: 48px;
	flex: 0 0 48px;
	display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid var(--piper-line);
	border-radius: 8px;
	background: #fff;
	color: var(--piper-brand);
	font-size: 18px;
}
.btn-piper-wish:hover { background: var(--piper-brand); color: #fff; border-color: var(--piper-brand); }
[data-bs-theme="dark"] .btn-piper-wish { background: #1f2329; border-color: #2d3238; }

/* Trust row */
.product-trust-row {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
	margin-top: 1.5rem;
	padding-top: 1.4rem;
	border-top: 1px solid var(--piper-line);
}
[data-bs-theme="dark"] .product-trust-row { border-color: #2d3238; }
.product-trust-item { display: flex; align-items: center; gap: 11px; font-size: 12.5px; color: var(--piper-muted); }
.product-trust-item i { font-size: 22px; color: var(--piper-brand); flex-shrink: 0; }
.product-trust-item .tt { display: block; }
.product-trust-item .tt strong { display: block; color: var(--piper-text); font-weight: 600; font-size: 13px; }
[data-bs-theme="dark"] .product-trust-item .tt strong { color: #ececec; }

/* Tabs */
.product-detail-tabs { border-bottom: 2px solid var(--piper-line); margin-top: 2.75rem; gap: 0; flex-wrap: wrap; }
.product-detail-tabs .nav-link {
	border: 0;
	border-bottom: 3px solid transparent;
	margin-bottom: -2px;
	color: var(--piper-muted);
	font-weight: 600;
	font-size: 14px;
	padding: 12px 22px;
	border-radius: 0;
	background: transparent;
}
.product-detail-tabs .nav-link.active { color: var(--piper-brand); border-bottom-color: var(--piper-brand); background: transparent; }
[data-bs-theme="dark"] .product-detail-tabs { border-color: #2d3238; }

.product-tab-content { padding: 1.75rem 0 0; }
.product-tab-content .product-full-description { color: var(--piper-text); font-size: 15px; line-height: 1.7; }
[data-bs-theme="dark"] .product-tab-content .product-full-description { color: #d7d7d7; }

@media (max-width: 767px) {
	.product-detail-card { padding: 1.25rem; }
	.product-trust-row { grid-template-columns: 1fr; }
	.product-detail-title { font-size: 1.45rem; }
	.product-price-current { font-size: 1.55rem; }
}

/* =====================================================================
   CATEGORY / PRODUCT LISTING CARDS
   ===================================================================== */
.piper-product-card {
	background: #ffffff;
	border: 1px solid var(--piper-line);
	border-radius: 12px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.piper-product-card:hover {
	box-shadow: 0 12px 30px rgba(0,0,0,.09);
	transform: translateY(-3px);
	border-color: #ddd4c6;
}
[data-bs-theme="dark"] .piper-product-card { background: #1f2329; border-color: #2d3238; }
[data-bs-theme="dark"] .piper-product-card:hover { box-shadow: 0 12px 30px rgba(0,0,0,.4); border-color: #3a4047; }

.piper-card-media {
	position: relative;
	padding: 22px 18px 6px;
	background: #ffffff;
}
[data-bs-theme="dark"] .piper-card-media { background: #1f2329; }

.piper-card-imglink {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 180px;
	overflow: hidden;
	line-height: 0;
}
.piper-card-imglink--wide { background: #0a0a0a; }
[data-bs-theme="dark"] .piper-card-imglink--wide { background: #000; }

.piper-card-img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center center;
	transition: transform .3s ease;
}
.piper-card-img--wide {
	object-fit: cover;
	object-position: 30% center;
}
.piper-product-card:hover .piper-card-img { transform: scale(1.05); }

/* Badges */
.piper-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .3px;
	padding: 4px 12px;
	border-radius: 6px;
	color: #fff;
	text-transform: capitalize;
}
.piper-badge-sale { background: var(--piper-green); }
.piper-badge-new { background: var(--piper-star); }

/* Wishlist heart */
.piper-wish {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 2;
	width: 34px;
	height: 34px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	color: var(--piper-muted);
	background: rgba(255,255,255,.7);
	font-size: 16px;
	transition: color .15s ease, background .15s ease;
}
.piper-wish:hover { color: var(--piper-brand); background: #fff; }
[data-bs-theme="dark"] .piper-wish { background: rgba(0,0,0,.25); color: #c7ccd2; }

/* Quick view */
.piper-card-quick {
	position: absolute;
	top: auto !important;
	bottom: 10px;
	right: 10px;
	left: auto;
	z-index: 2;
	width: 34px;
	height: 34px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	color: var(--piper-text);
	background: #fff;
	box-shadow: 0 2px 8px rgba(0,0,0,.12);
	font-size: 15px;
	opacity: 0;
	transition: opacity .2s ease, color .15s ease;
}
.piper-product-card:hover .piper-card-quick { opacity: 1; }
.piper-card-quick:hover { color: var(--piper-brand); }
[data-bs-theme="dark"] .piper-card-quick { background: #2b3036; color: #e6e6e6; }

/* Body */
.piper-card-body { padding: 6px 18px 20px; text-align: center; }
.piper-card-price {
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 8px;
	margin-bottom: 6px;
	flex-wrap: wrap;
}
.piper-card-price del { color: var(--piper-muted); font-size: 13px; }
.piper-card-price ins {
	text-decoration: none;
	font-weight: 700;
	font-size: 16px;
	color: var(--piper-text);
}
[data-bs-theme="dark"] .piper-card-price ins { color: #f1f1f1; }

.piper-card-title {
	font-size: 15px;
	font-weight: 600;
	margin: 0 0 8px;
	line-height: 1.35;
}
.piper-card-title a { color: var(--piper-text); text-decoration: none; }
.piper-card-title a:hover { color: var(--piper-brand); }
[data-bs-theme="dark"] .piper-card-title a { color: #ececec; }

.piper-card-specs { font-size: 13px; color: var(--piper-muted); margin-bottom: 8px; }

.piper-card-rating { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; }
.piper-card-rating .rating-label { color: var(--piper-muted); }
.piper-card-rating .rating-stars .bi-star-fill { color: var(--piper-star); }
.piper-card-rating .rating-stars .bi-star { color: #d8d2c6; }
[data-bs-theme="dark"] .piper-card-rating .rating-stars .bi-star { color: #4a4f56; }

/* =====================================================================
   CATEGORY SIDEBAR FILTERS
   ===================================================================== */
.piper-filter-box {
	background: #f6f4f0;
	border: none;
	border-radius: 12px;
	padding: 20px 20px 22px;
}
.piper-filter-box .widget:last-child { margin-bottom: 0 !important; }
[data-bs-theme="dark"] .piper-filter-box { background: #1f2329; }

.piper-filter-toggle {
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	color: inherit;
	text-align: left;
}
.piper-filter-toggle:focus-visible {
	outline: 2px solid var(--piper-brand);
	outline-offset: 2px;
}
.piper-filter-toggle-icon {
	flex-shrink: 0;
	margin-left: 12px;
	font-size: 14px;
	color: var(--piper-muted);
	transition: transform .2s ease;
}
.piper-filter-toggle[aria-expanded="true"] .piper-filter-toggle-icon {
	transform: rotate(180deg);
}
.piper-filter-group .navbar-nav-cate .nav-item + .nav-item,
.piper-filter-group .list-unstyled li + li {
	margin-top: .35rem;
}

.primary-sidebar .widget-title {
	text-transform: uppercase;
	letter-spacing: .6px;
	font-size: 14px !important;
	font-weight: 700;
	color: var(--piper-text);
}
[data-bs-theme="dark"] .primary-sidebar .widget-title { color: #ececec; }

/* noUiSlider brand colors */
#price-slider .noUi-connect,
#length-slider .noUi-connect,
#ring-slider .noUi-connect,
.offcanvas-body .noUi-connect { background: var(--piper-brand); }
.noUi-target { border: none; box-shadow: none; background: #e6e0d6; }
[data-bs-theme="dark"] .noUi-target { background: #3a4047; }
.noUi-horizontal .noUi-handle {
	width: 18px; height: 18px;
	border-radius: 50%;
	border: none;
	background: var(--piper-brand);
	box-shadow: 0 1px 4px rgba(0,0,0,.25);
	right: -9px !important;
	top: -6px;
	cursor: pointer;
}
.noUi-handle::before, .noUi-handle::after { display: none; }

/* Apply filters button */
.primary-sidebar .btn-dark,
.offcanvas-body .btn-dark {
	background: var(--piper-breadcrumb) !important;
	border-color: var(--piper-breadcrumb) !important;
	border-radius: 8px;
	padding: 11px 16px;
	font-weight: 600;
	letter-spacing: .3px;
}
.primary-sidebar .btn-dark:hover,
.offcanvas-body .btn-dark:hover { background: var(--piper-brand) !important; border-color: var(--piper-brand) !important; }

/* Brand / filter list as checkbox rows */
.primary-sidebar .navbar-nav-cate .nav-item { margin-bottom: 4px; }
.primary-sidebar .navbar-nav-cate .nav-item a {
	padding: 5px 0;
	font-size: 14px;
	color: var(--piper-text);
}
.primary-sidebar .navbar-nav-cate .nav-item a::before {
	content: "";
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin-right: 10px;
	border: 1.5px solid var(--piper-line);
	border-radius: 4px;
	background: #fff no-repeat center center;
	background-size: 12px;
}
.primary-sidebar .navbar-nav-cate .nav-item a.fw-semibold::before,
.primary-sidebar .navbar-nav-cate .nav-item a.text-body-emphasis::before {
	background-color: var(--piper-brand);
	border-color: var(--piper-brand);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3E%3Cpath d='M13.485 1.929a1 1 0 0 1 0 1.414l-7.07 7.071a1 1 0 0 1-1.415 0L1.515 7.93A1 1 0 1 1 2.93 6.515l2.343 2.343 6.364-6.364a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E");
}
[data-bs-theme="dark"] .primary-sidebar .navbar-nav-cate .nav-item a { color: #d7d7d7; }
[data-bs-theme="dark"] .primary-sidebar .navbar-nav-cate .nav-item a::before { background-color: #2b3036; border-color: #3a4047; }

/* =====================================================================
   QUICK VIEW MODAL
   ===================================================================== */
.qv-modal .modal-content {
	border: 0;
	border-radius: 18px;
	overflow: hidden;
	position: relative;
}
.qv-close {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 10;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background-color: #eee9e1;
	opacity: 1;
	background-position: center;
	background-size: 14px;
}
[data-bs-theme="dark"] .qv-close { background-color: #2b3036; }

.qv-wrap { display: flex; flex-wrap: wrap; }
.qv-media,
.qv-info { flex: 1 1 50%; min-width: 0; }

/* LEFT media */
.qv-media {
	position: relative;
	background: #f3f0eb;
	padding: 40px 36px 24px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
[data-bs-theme="dark"] .qv-media { background: #23272c; }

.qv-zoom {
	position: absolute;
	top: 18px;
	left: 18px;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #fff;
	color: var(--piper-text);
	border-radius: 20px;
	padding: 7px 14px;
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
	box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.qv-zoom:hover { color: var(--piper-brand); }
[data-bs-theme="dark"] .qv-zoom { background: #2b3036; color: #e6e6e6; }

.qv-nav {
	position: absolute;
	top: 45%;
	z-index: 3;
	width: 42px;
	height: 42px;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: var(--piper-text);
	box-shadow: 0 2px 10px rgba(0,0,0,.12);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
}
.qv-nav:hover { color: var(--piper-brand); }
.qv-nav-prev { left: 18px; }
.qv-nav-next { right: 18px; }
[data-bs-theme="dark"] .qv-nav { background: #2b3036; color: #e6e6e6; }

.qv-main {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 340px;
}
.qv-main img { max-width: 100%; max-height: 420px; object-fit: contain; }

.qv-thumbs { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.qv-thumb {
	width: 64px;
	height: 64px;
	border: 1px solid transparent;
	border-radius: 8px;
	background: #fff;
	padding: 4px;
	cursor: pointer;
	overflow: hidden;
}
.qv-thumb img { width: 100%; height: 100%; object-fit: contain; }
.qv-thumb.active { border-color: var(--piper-brand); }
[data-bs-theme="dark"] .qv-thumb { background: #2b3036; }

/* RIGHT info */
.qv-info { padding: 44px 40px; }

.qv-stock {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	background: #eef6f0;
	color: var(--piper-green);
	border-radius: 20px;
	padding: 4px 12px;
	font-size: 12px;
	font-weight: 600;
	margin-bottom: 16px;
}
.qv-stock-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--piper-green); }
[data-bs-theme="dark"] .qv-stock { background: rgba(47,138,79,.16); }

.qv-title { font-size: 1.7rem; font-weight: 600; margin: 0 0 14px; line-height: 1.2; }
.qv-title a { color: var(--piper-text); text-decoration: none; }
.qv-title a:hover { color: var(--piper-brand); }
[data-bs-theme="dark"] .qv-title a { color: #f1f1f1; }

.qv-price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.qv-price-now { font-size: 1.6rem; font-weight: 700; color: var(--piper-text); }
[data-bs-theme="dark"] .qv-price-now { color: #f1f1f1; }
.qv-price-old { font-size: 1rem; color: var(--piper-muted); text-decoration: line-through; }
.qv-sale-badge { background: var(--piper-green); color: #fff; border-radius: 6px; padding: 3px 10px; font-size: 12px; font-weight: 600; }

.qv-desc { color: var(--piper-muted); font-size: 14px; line-height: 1.6; margin-bottom: 16px; }

.qv-specs { display: flex; align-items: center; gap: 16px; font-size: 14px; color: var(--piper-text); margin-bottom: 12px; }
[data-bs-theme="dark"] .qv-specs { color: #d7d7d7; }
.qv-spec-k { color: var(--piper-muted); }
.qv-spec-sep { width: 1px; height: 16px; background: var(--piper-line); }
[data-bs-theme="dark"] .qv-spec-sep { background: #3a4047; }

.qv-ratings { display: flex; align-items: center; gap: 36px; font-size: 14px; margin-bottom: 22px; flex-wrap: wrap; }
.qv-rating { display: inline-flex; align-items: center; gap: 8px; }
.qv-rating-k { color: var(--piper-muted); }
.qv-stars .bi-star-fill { color: var(--piper-star); }
.qv-stars .bi-star { color: #cfc8bd; }
[data-bs-theme="dark"] .qv-stars .bi-star { color: #4a4f56; }

.qv-attrs { border-top: 1px solid var(--piper-line); padding-top: 18px; margin-bottom: 24px; }
[data-bs-theme="dark"] .qv-attrs { border-color: #2d3238; }
.qv-attr { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; font-size: 14px; }
.qv-attr-label { color: var(--piper-muted); display: inline-flex; align-items: center; gap: 9px; }
.qv-attr-label i { color: var(--piper-brand); font-size: 16px; }
.qv-attr-value { font-weight: 600; color: var(--piper-text); }
[data-bs-theme="dark"] .qv-attr-value { color: #ececec; }

.qv-actions { display: flex; gap: 12px; }
.qv-details-btn { flex: 1 1 auto; padding: 14px 20px; font-size: 15px; border-radius: 10px; }

@media (max-width: 767.98px) {
	.qv-media, .qv-info { flex: 1 1 100%; }
	.qv-info { padding: 28px 22px; }
	.qv-main { min-height: 240px; }
	.qv-main img { max-height: 280px; }
}

/* =====================================================================
   SEARCH PANEL
   ===================================================================== */
.search-panel {
	border: 0;
	border-bottom-left-radius: 18px;
	border-bottom-right-radius: 18px;
	box-shadow: 0 20px 50px rgba(0,0,0,.15);
}
.search-panel .container { max-width: 1100px; }

.search-input-row {
	display: flex;
	align-items: center;
	gap: 12px;
	background: #f3f0eb;
	border-radius: 12px;
	padding: 10px 14px;
}
[data-bs-theme="dark"] .search-input-row { background: #23272c; }
.search-input-icon { color: var(--piper-muted); font-size: 18px; display: flex; }
.search-input {
	flex: 1 1 auto;
	border: 0;
	background: transparent;
	font-size: 16px;
	color: var(--piper-text);
	outline: none;
	min-width: 0;
}
[data-bs-theme="dark"] .search-input { color: #ececec; }
.search-input::placeholder { color: var(--piper-muted); }
.search-esc {
	font-size: 11px;
	font-weight: 600;
	color: var(--piper-muted);
	border: 1px solid var(--piper-line);
	border-radius: 5px;
	padding: 2px 7px;
	cursor: pointer;
	background: #fff;
}
[data-bs-theme="dark"] .search-esc { background: #2b3036; border-color: #3a4047; }
.search-close {
	width: 34px; height: 34px;
	border: 0;
	border-radius: 50%;
	background: #e7e1d7;
	color: var(--piper-text);
	display: flex; align-items: center; justify-content: center;
	font-size: 14px;
}
.search-close:hover { color: var(--piper-brand); }
[data-bs-theme="dark"] .search-close { background: #2b3036; color: #e6e6e6; }

.search-section-label {
	text-transform: uppercase;
	letter-spacing: .6px;
	font-size: 12px;
	font-weight: 700;
	color: var(--piper-muted);
	margin-bottom: 12px;
}

.search-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.search-pill {
	border: 1px solid var(--piper-line);
	background: #fff;
	color: var(--piper-text);
	border-radius: 20px;
	padding: 6px 14px;
	font-size: 13px;
	cursor: pointer;
	transition: all .15s ease;
}
.search-pill:hover { border-color: var(--piper-brand); color: var(--piper-brand); }
[data-bs-theme="dark"] .search-pill { background: #2b3036; border-color: #3a4047; color: #d7d7d7; }

.search-recent { display: flex; flex-direction: column; gap: 4px; }
.search-recent-item { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.search-recent-term {
	flex: 1 1 auto;
	text-align: left;
	border: 0;
	background: transparent;
	color: var(--piper-text);
	font-size: 14px;
	padding: 6px 4px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 10px;
}
.search-recent-term i { color: var(--piper-muted); }
.search-recent-term:hover { color: var(--piper-brand); }
[data-bs-theme="dark"] .search-recent-term { color: #d7d7d7; }
.search-recent-remove {
	border: 0; background: transparent; color: var(--piper-muted);
	cursor: pointer; padding: 4px 6px; border-radius: 6px; font-size: 13px;
}
.search-recent-remove:hover { color: var(--piper-brand); background: rgba(0,0,0,.04); }
.search-recent-empty { font-size: 14px; padding: 6px 4px; }

.search-suggest-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 14px;
}
.search-prod {
	display: block;
	border: 1px solid var(--piper-line);
	border-radius: 12px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	background: #fff;
	transition: box-shadow .15s ease, transform .15s ease;
}
.search-prod:hover { box-shadow: 0 10px 24px rgba(0,0,0,.08); transform: translateY(-2px); }
[data-bs-theme="dark"] .search-prod { background: #1f2329; border-color: #2d3238; }
.search-prod-media { position: relative; background: #f3f0eb; padding: 14px; height: 120px; display: flex; align-items: center; justify-content: center; }
[data-bs-theme="dark"] .search-prod-media { background: #23272c; }
.search-prod-media img { max-width: 100%; max-height: 100%; object-fit: contain; }
.search-prod-badge {
	position: absolute; top: 8px; left: 8px;
	font-size: 10px; font-weight: 600; color: #fff;
	border-radius: 5px; padding: 2px 8px;
}
.search-prod-badge.badge-sale { background: var(--piper-green); }
.search-prod-badge.badge-new { background: var(--piper-star); }
.search-prod-body { padding: 10px 12px 14px; }
.search-prod-title { font-size: 13px; font-weight: 600; color: var(--piper-text); margin-bottom: 4px; line-height: 1.3; }
[data-bs-theme="dark"] .search-prod-title { color: #ececec; }
.search-prod-specs { font-size: 11px; color: var(--piper-muted); margin-bottom: 6px; }
.search-prod-price { font-size: 13px; }
.search-prod-price del { color: var(--piper-muted); margin-right: 6px; font-size: 11px; }
.search-prod-price ins { text-decoration: none; font-weight: 700; color: var(--piper-text); }
[data-bs-theme="dark"] .search-prod-price ins { color: #f1f1f1; }
.search-empty { padding: 30px; text-align: center; color: var(--piper-muted); width: 100%; }

.search-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	background: #f7f4ef;
	border-radius: 12px;
	padding: 16px 20px;
	margin-top: 22px;
	flex-wrap: wrap;
}
[data-bs-theme="dark"] .search-foot { background: #23272c; }
.search-foot-left { display: flex; align-items: center; gap: 14px; }
.search-foot-left > i { font-size: 20px; color: var(--piper-muted); }
.search-foot-q { font-size: 14px; color: var(--piper-text); }
[data-bs-theme="dark"] .search-foot-q { color: #d7d7d7; }
.search-foot-link { font-size: 13px; color: var(--piper-brand); text-decoration: none; font-weight: 600; }
.search-foot-link:hover { text-decoration: underline; }
.search-foot-btn {
	display: inline-flex; align-items: center;
	border: 1px solid var(--piper-line);
	background: #fff;
	color: var(--piper-text);
	border-radius: 10px;
	padding: 11px 18px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}
.search-foot-btn:hover { border-color: var(--piper-brand); color: var(--piper-brand); }
[data-bs-theme="dark"] .search-foot-btn { background: #2b3036; border-color: #3a4047; color: #e6e6e6; }

@media (max-width: 991.98px) {
	.search-suggest-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 575.98px) {
	.search-suggest-grid { grid-template-columns: repeat(2, 1fr); }
	.search-foot { flex-direction: column; align-items: stretch; }
	.search-foot-btn { justify-content: center; }
}

/* =====================================================================
   CATEGORIES DRAWER (modern filters style)
   ===================================================================== */
.cd-drawer { border: 0; }
.cd-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 22px;
	border-bottom: 1px solid var(--piper-line);
}
[data-bs-theme="dark"] .cd-head { border-color: #2d3238; }
.cd-title {
	margin: 0;
	font-size: 17px;
	font-weight: 700;
	letter-spacing: .4px;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--piper-text);
}
.cd-title i { color: var(--piper-brand); }
[data-bs-theme="dark"] .cd-title { color: #f1f1f1; }
.cd-close {
	width: 34px; height: 34px;
	border: 0; border-radius: 50%;
	background: #f0ece5;
	color: var(--piper-text);
	display: flex; align-items: center; justify-content: center;
	font-size: 14px;
}
.cd-close:hover { color: var(--piper-brand); }
[data-bs-theme="dark"] .cd-close { background: #2b3036; color: #e6e6e6; }

.cd-body { padding: 14px 22px 24px; }

.cd-section { padding: 14px 0; border-bottom: 1px solid var(--piper-line); }
.cd-section:last-child { border-bottom: 0; }
[data-bs-theme="dark"] .cd-section { border-color: #2d3238; }

.cd-section-title,
.cd-section-head {
	text-transform: uppercase;
	letter-spacing: .6px;
	font-size: 12px;
	font-weight: 700;
	color: var(--piper-muted);
	margin-bottom: 12px;
}
.cd-section-head {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: transparent;
	border: 0;
	padding: 0;
	cursor: pointer;
}
.cd-chevron { transition: transform .2s ease; font-size: 13px; }
.cd-section-head[aria-expanded="false"] .cd-chevron { transform: rotate(-90deg); }

.cd-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.cd-pill {
	border: 1px solid var(--piper-line);
	background: #fff;
	color: var(--piper-text);
	border-radius: 20px;
	padding: 7px 15px;
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
	transition: all .15s ease;
}
.cd-pill:hover,
.cd-pill.active { background: var(--piper-brand); border-color: var(--piper-brand); color: #fff; }
[data-bs-theme="dark"] .cd-pill { background: #2b3036; border-color: #3a4047; color: #d7d7d7; }

.cd-list { list-style: none; margin: 0; padding: 0; }
.cd-item.cd-hidden { display: none; }
.cd-item a {
	display: flex;
	align-items: center;
	gap: 11px;
	padding: 9px 8px;
	border-radius: 8px;
	text-decoration: none;
	color: var(--piper-text);
	font-size: 14px;
	transition: background .12s ease;
}
.cd-item a:hover { background: #f6f4f0; color: var(--piper-brand); }
[data-bs-theme="dark"] .cd-item a { color: #d7d7d7; }
[data-bs-theme="dark"] .cd-item a:hover { background: #23272c; }
.cd-item-logo { width: 26px; height: 26px; object-fit: contain; border-radius: 5px; flex: 0 0 auto; }
.cd-item-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--piper-brand); flex: 0 0 auto; margin: 0 9px; }
.cd-item-name { flex: 1 1 auto; }
.cd-item-arrow { font-size: 12px; color: var(--piper-muted); opacity: 0; transition: opacity .12s ease; }
.cd-item a:hover .cd-item-arrow { opacity: 1; }

.cd-showmore {
	border: 0;
	background: transparent;
	color: var(--piper-brand);
	font-size: 13px;
	font-weight: 600;
	padding: 8px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.cd-showmore:hover { text-decoration: underline; }

/* =====================================================================
   LOGIN MODAL (matches mockup)
   ===================================================================== */
.piper-login-modal .modal-dialog { max-width: 880px; }
.piper-login-content {
	position: relative;
	border: 0;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}

.piper-login-close {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 5;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .85);
	color: #2b2b2b;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	transition: background .15s, color .15s;
}
.piper-login-close:hover { background: #fff; color: var(--piper-brand); }

/* Left aside */
.piper-login-aside {
	background: #f6f1ea;
	position: relative;
}
.piper-login-aside-inner {
	padding: 48px 38px;
	height: 100%;
	display: flex;
	flex-direction: column;
}
.piper-login-logo { margin-bottom: 64px; }
.piper-login-logo img { height: 92px; width: auto; }

.piper-login-eyebrow {
	text-transform: uppercase;
	letter-spacing: .18em;
	font-size: 11px;
	font-weight: 700;
	color: var(--piper-brand);
	margin-bottom: 14px;
}
.piper-login-welcome {
	font-size: 30px;
	line-height: 1.2;
	font-weight: 700;
	color: #2b2b2b;
	margin: 0 0 10px;
	position: relative;
	padding-bottom: 16px;
}
.piper-login-welcome::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 46px;
	height: 3px;
	background: var(--piper-star);
	border-radius: 3px;
}
.piper-login-welcome-text {
	font-size: 14px;
	color: var(--piper-muted);
	line-height: 1.6;
	margin: 8px 0 0;
}
.piper-login-secure {
	margin-top: auto;
	display: flex;
	align-items: center;
	gap: 12px;
	padding-top: 28px;
}
.piper-login-secure-icon {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: rgba(133, 37, 25, .1);
	color: var(--piper-brand);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 17px;
	flex-shrink: 0;
}
.piper-login-secure strong { display: block; font-size: 13px; color: #2b2b2b; }
.piper-login-secure small { display: block; font-size: 12px; color: var(--piper-muted); }

/* Right form */
.piper-login-main { background: #fff; }
.piper-login-main-inner { padding: 48px 44px; }
.piper-login-title {
	font-size: 30px;
	font-weight: 700;
	color: #2b2b2b;
	margin: 0 0 28px;
	position: relative;
	padding-bottom: 14px;
}
.piper-login-title::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 40px;
	height: 3px;
	background: var(--piper-star);
	border-radius: 3px;
}

.piper-login-field { margin-bottom: 18px; }
.piper-login-field > label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #3a3a3a;
	margin-bottom: 7px;
}
.piper-login-input {
	display: flex;
	align-items: center;
	border: 1px solid #e2ddd4;
	border-radius: 10px;
	background: #fbfaf8;
	transition: border-color .15s, box-shadow .15s;
}
.piper-login-input:focus-within {
	border-color: var(--piper-brand);
	box-shadow: 0 0 0 3px rgba(133, 37, 25, .08);
	background: #fff;
}
.piper-login-input-icon {
	padding: 0 12px;
	color: var(--piper-muted);
	font-size: 16px;
	display: flex;
}
.piper-login-input input {
	flex: 1;
	border: 0;
	background: transparent;
	padding: 12px 6px;
	font-size: 14px;
	color: #2b2b2b;
	outline: none;
}
.piper-login-input input::placeholder { color: #a8a29a; }
.piper-login-eye {
	border: 0;
	background: transparent;
	color: var(--piper-muted);
	padding: 0 14px;
	font-size: 16px;
	cursor: pointer;
}
.piper-login-eye:hover { color: var(--piper-brand); }

.piper-login-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 4px 0 22px;
}
.piper-login-remember {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: #555;
	margin: 0;
	cursor: pointer;
}
.piper-login-remember input { width: 15px; height: 15px; accent-color: var(--piper-brand); }
.piper-login-forgot {
	font-size: 13px;
	color: var(--piper-brand);
	text-decoration: none;
}
.piper-login-forgot:hover { text-decoration: underline; }

.piper-login-submit {
	width: 100%;
	border: 0;
	border-radius: 10px;
	background: var(--piper-breadcrumb);
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	padding: 13px;
	transition: background .15s;
}
.piper-login-submit:hover { background: var(--piper-brand-dark); }

.piper-login-divider {
	display: flex;
	align-items: center;
	text-align: center;
	margin: 22px 0;
	color: var(--piper-muted);
	font-size: 13px;
}
.piper-login-divider::before,
.piper-login-divider::after {
	content: '';
	flex: 1;
	height: 1px;
	background: #e7e2d9;
}
.piper-login-divider span { padding: 0 14px; }

.piper-login-social {
	display: flex;
	gap: 12px;
}
.piper-login-social-btn {
	flex: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	border: 1px solid #e2ddd4;
	border-radius: 10px;
	background: #fff;
	padding: 11px;
	font-size: 13.5px;
	font-weight: 500;
	color: #2b2b2b;
	text-decoration: none;
	transition: border-color .15s, background .15s;
}
.piper-login-social-btn:hover { border-color: #c9c2b6; background: #fbfaf8; color: #2b2b2b; }
.piper-login-social-btn i { font-size: 17px; }

.piper-login-signup {
	text-align: center;
	font-size: 13.5px;
	color: #555;
	margin: 22px 0 0;
	font-weight: 600;
}
.piper-login-signup a {
	color: var(--piper-brand);
	text-decoration: none;
	margin-left: 4px;
}
.piper-login-signup a:hover { text-decoration: underline; }

/* Dark theme */
[data-bs-theme="dark"] .piper-login-main { background: #1f2329; }
[data-bs-theme="dark"] .piper-login-aside { background: #23272c; }
[data-bs-theme="dark"] .piper-login-title,
[data-bs-theme="dark"] .piper-login-welcome,
[data-bs-theme="dark"] .piper-login-secure strong { color: #f1f1f1; }
[data-bs-theme="dark"] .piper-login-field > label { color: #d7d7d7; }
[data-bs-theme="dark"] .piper-login-input { background: #2b3036; border-color: #3a4047; }
[data-bs-theme="dark"] .piper-login-input:focus-within { background: #2b3036; }
[data-bs-theme="dark"] .piper-login-input input { color: #ececec; }
[data-bs-theme="dark"] .piper-login-social-btn { background: #2b3036; border-color: #3a4047; color: #ececec; }
[data-bs-theme="dark"] .piper-login-social-btn:hover { background: #313841; }
[data-bs-theme="dark"] .piper-login-divider::before,
[data-bs-theme="dark"] .piper-login-divider::after { background: #3a4047; }
[data-bs-theme="dark"] .piper-login-close { background: rgba(43, 48, 54, .9); color: #ececec; }

/* Mobile: stack columns, hide aside visuals to keep it compact */
@media (max-width: 767.98px) {
	.piper-login-aside-inner { padding: 32px 28px; }
	.piper-login-logo { margin-bottom: 24px; }
	.piper-login-logo img { height: 70px; }
	.piper-login-welcome { font-size: 24px; }
	.piper-login-secure { padding-top: 22px; }
	.piper-login-main-inner { padding: 32px 28px; }
}

/* Single-column auth/contact modals (same style as login) */
.piper-auth-modal .modal-dialog { max-width: 480px; }
.piper-auth-card { padding: 44px 40px 38px; background: #fff; }
.piper-auth-card .alert { margin-bottom: 16px; }

.piper-auth-icon {
	width: 54px;
	height: 54px;
	border-radius: 14px;
	background: rgba(133, 37, 25, .08);
	color: var(--piper-brand);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	margin-bottom: 18px;
}
.piper-auth-card .piper-login-title { margin-bottom: 14px; }
.piper-auth-sub {
	font-size: 14px;
	color: var(--piper-muted);
	line-height: 1.6;
	margin: 0 0 24px;
}

/* Textarea variant of the bordered input */
.piper-login-input.is-textarea { align-items: flex-start; }
.piper-login-input.is-textarea .piper-login-input-icon { padding-top: 12px; }
.piper-login-input.is-textarea textarea {
	flex: 1;
	border: 0;
	background: transparent;
	padding: 12px 6px;
	font-size: 14px;
	color: #2b2b2b;
	outline: none;
	resize: vertical;
	min-height: 110px;
}
.piper-login-input.is-textarea textarea::placeholder { color: #a8a29a; }

/* Dark theme for single-column auth modals */
[data-bs-theme="dark"] .piper-auth-card { background: #1f2329; }
[data-bs-theme="dark"] .piper-auth-sub { color: #9aa0a6; }
[data-bs-theme="dark"] .piper-login-input.is-textarea textarea { color: #ececec; }

@media (max-width: 575.98px) {
	.piper-auth-card { padding: 36px 26px 30px; }
}

/* =====================================================================
   CART DRAWER (modernized, matches mockup)
   ===================================================================== */
.piper-cart-drawer {
	width: 440px !important;
	max-width: 92vw;
	background: #fbfaf8;
}
.piper-cart-header {
	align-items: center;
	padding: 22px 26px 14px;
	border: 0;
}
.piper-cart-title {
	font-size: 26px;
	font-weight: 700;
	letter-spacing: .01em;
	color: #2b2b2b;
	margin: 0;
}
.piper-cart-close {
	width: 38px;
	height: 38px;
	border: 0;
	background: transparent;
	color: #2b2b2b;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	transition: background .15s, color .15s;
}
.piper-cart-close:hover { background: rgba(0,0,0,.06); color: var(--piper-brand); }

.piper-cart-body { padding: 8px 22px 0; overflow-y: auto; }

/* Free shipping progress card */
.piper-cart-ship {
	background: #f1ece4;
	border: 1px solid #e7e0d5;
	border-radius: 14px;
	padding: 16px 18px;
	margin-bottom: 22px;
}
.piper-cart-ship-top { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.piper-cart-ship-icon {
	width: 40px; height: 40px;
	border-radius: 10px;
	background: #fff;
	color: var(--piper-brand);
	display: inline-flex; align-items: center; justify-content: center;
	font-size: 18px; flex-shrink: 0;
}
.piper-cart-ship-text strong { display: block; font-size: 14px; color: #2b2b2b; }
.piper-cart-ship-text small { display: block; font-size: 12.5px; color: var(--piper-muted); line-height: 1.4; }
.piper-cart-ship-bar {
	height: 7px;
	background: #e2dacd;
	border-radius: 99px;
	overflow: hidden;
}
.piper-cart-ship-bar > span {
	display: block;
	height: 100%;
	background: linear-gradient(90deg, #6f2417, var(--piper-brand));
	border-radius: 99px;
	transition: width .4s ease;
}
.piper-cart-ship-scale {
	display: flex; justify-content: space-between;
	margin-top: 7px;
	font-size: 11.5px; color: var(--piper-muted);
}

/* Items */
.piper-cart-items { display: flex; flex-direction: column; }
.piper-cart-item {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 18px 0;
	border-bottom: 1px solid #ece5da;
	position: relative;
}
.piper-cart-item:last-child { border-bottom: 0; }
.piper-cart-remove {
	order: -1;
	width: 26px; height: 26px;
	border: 0;
	background: transparent;
	color: #b9b2a7;
	border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	font-size: 15px; flex-shrink: 0;
	transition: background .15s, color .15s;
}
.piper-cart-remove:hover { background: rgba(133,37,25,.08); color: var(--piper-brand); }
.piper-cart-thumb {
	width: 74px; height: 74px;
	border: 1px solid #ece5da;
	border-radius: 10px;
	background: #fff;
	display: flex; align-items: center; justify-content: center;
	padding: 6px; flex-shrink: 0;
}
.piper-cart-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.piper-cart-info { flex: 1; min-width: 0; }
.piper-cart-name {
	font-size: 14.5px; font-weight: 600; color: #2b2b2b;
	margin: 0 0 3px; line-height: 1.3;
}
.piper-cart-variant { font-size: 12px; color: var(--piper-muted); margin: 0 0 3px; }
.piper-cart-price { font-size: 14px; color: var(--piper-brand); font-weight: 600; margin: 0; }

/* Quantity stepper */
.piper-cart-qty {
	display: inline-flex;
	align-items: center;
	border: 1px solid #e2dacd;
	border-radius: 99px;
	background: #fff;
	flex-shrink: 0;
}
.piper-cart-qty button {
	width: 32px; height: 32px;
	border: 0; background: transparent;
	color: #2b2b2b; font-size: 13px;
	display: inline-flex; align-items: center; justify-content: center;
	cursor: pointer; border-radius: 50%;
	transition: color .15s;
}
.piper-cart-qty button:hover { color: var(--piper-brand); }
.piper-cart-qty .cart-qty-input {
	width: 30px; border: 0; background: transparent;
	text-align: center; font-size: 14px; font-weight: 600; color: #2b2b2b;
	-moz-appearance: textfield; padding: 0;
}
.piper-cart-qty .cart-qty-input::-webkit-outer-spin-button,
.piper-cart-qty .cart-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Footer */
.piper-cart-footer {
	display: block;
	padding: 18px 22px 22px;
	border-top: 0;
	background: #fbfaf8;
}
.piper-cart-summary {
	background: #f1ece4;
	border: 1px solid #e7e0d5;
	border-radius: 14px;
	padding: 16px 18px;
	margin-bottom: 14px;
}
.piper-cart-summary-row {
	display: flex; justify-content: space-between; align-items: center;
	font-size: 14px; color: var(--piper-muted);
	margin-bottom: 8px;
}
.piper-cart-summary-val { color: #2b2b2b; font-weight: 600; }
.piper-cart-summary-val.is-free { color: var(--piper-green); }
.piper-cart-summary-grand {
	display: flex; justify-content: space-between; align-items: center;
	border-top: 1px solid #e2dacd;
	margin-top: 12px; padding-top: 12px;
}
.piper-cart-summary-grand > span:first-child { font-size: 15px; font-weight: 700; color: #2b2b2b; }
.piper-cart-summary-grand .cart-total { font-size: 22px; font-weight: 700; color: var(--piper-brand); }

.piper-cart-actions { display: flex; gap: 10px; }
.piper-cart-checkout {
	display: flex; align-items: center; justify-content: center; gap: 9px;
	flex: 1;
	background: var(--piper-breadcrumb);
	color: #fff !important;
	border: 0; border-radius: 11px;
	padding: 14px;
	font-size: 15px; font-weight: 600;
	text-decoration: none !important;
	transition: background .15s;
}
.piper-cart-checkout:hover { background: var(--piper-brand-dark); }
.piper-cart-viewcart {
	display: flex; align-items: center; justify-content: center;
	flex: 1; text-align: center;
	background: #fff;
	color: #2b2b2b !important;
	border: 1px solid #e2dacd; border-radius: 11px;
	padding: 12px;
	font-size: 14px; font-weight: 600;
	text-decoration: none !important;
	transition: border-color .15s, background .15s;
}
.piper-cart-viewcart:hover { border-color: #c9c0b0; background: #faf7f2; }

/* Inline remove confirmation */
.piper-cart-confirm {
	position: absolute;
	inset: 0;
	display: none;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 0 6px 0 4px;
	background: rgba(251, 250, 248, .96);
	border-radius: 8px;
	z-index: 2;
}
.piper-cart-item.is-confirming .piper-cart-confirm { display: flex; }
.piper-cart-confirm-text { font-size: 14px; font-weight: 600; color: #2b2b2b; }
.piper-cart-confirm-actions { display: flex; gap: 8px; flex-shrink: 0; }
.piper-cart-confirm-yes {
	border: 0; border-radius: 8px;
	background: var(--piper-brand);
	color: #fff;
	font-size: 12.5px; font-weight: 600;
	padding: 7px 12px; cursor: pointer;
	transition: background .15s;
}
.piper-cart-confirm-yes:hover { background: var(--piper-brand-dark); }
.piper-cart-confirm-no {
	border: 1px solid #e2dacd; border-radius: 8px;
	background: #fff;
	color: #2b2b2b;
	font-size: 12.5px; font-weight: 600;
	padding: 7px 12px; cursor: pointer;
	transition: border-color .15s, background .15s;
}
.piper-cart-confirm-no:hover { border-color: #c9c0b0; background: #faf7f2; }

[data-bs-theme="dark"] .piper-cart-confirm { background: rgba(27, 30, 35, .96); }
[data-bs-theme="dark"] .piper-cart-confirm-text { color: #ececec; }
[data-bs-theme="dark"] .piper-cart-confirm-no { background: #23272c; border-color: #2d3238; color: #ececec; }

/* =====================================================================
   AGE VERIFICATION MODAL (matches mockup, brand-colored button)
   ===================================================================== */
.piper-age-modal .modal-dialog { max-width: 560px; }
.piper-age-content {
	border: 0;
	border-radius: 20px;
	overflow: hidden;
	background: #fbf8f3;
	box-shadow: 0 30px 80px rgba(0,0,0,.35);
}
.piper-age-body { padding: 44px 48px 36px; }

.piper-age-icon {
	width: 90px; height: 90px;
	border-radius: 50%;
	background: #efe7da;
	color: var(--piper-brand);
	display: inline-flex; align-items: center; justify-content: center;
	font-size: 40px;
	margin-bottom: 22px;
}
.piper-age-title {
	font-size: 34px;
	font-weight: 700;
	line-height: 1.15;
	color: #2b2b2b;
	margin: 0 auto 18px;
	position: relative;
	padding-bottom: 18px;
	max-width: 420px;
}
.piper-age-title::after {
	content: '';
	position: absolute;
	left: 50%; bottom: 0;
	transform: translateX(-50%);
	width: 52px; height: 3px;
	background: var(--piper-star);
	border-radius: 3px;
}
.piper-age-message {
	font-size: 15px;
	color: var(--piper-muted);
	line-height: 1.6;
	margin: 0 auto 28px;
	max-width: 460px;
}

.piper-age-actions { display: flex; flex-direction: column; gap: 12px; }
.piper-age-btn-yes,
.piper-age-btn-no {
	display: flex; align-items: center; justify-content: center; gap: 12px;
	width: 100%;
	border-radius: 12px;
	padding: 15px;
	font-size: 15px; font-weight: 600;
	cursor: pointer;
	transition: background .15s, border-color .15s, color .15s;
}
.piper-age-btn-yes {
	border: 0;
	background: var(--piper-breadcrumb);
	color: #fff;
}
.piper-age-btn-yes:hover { background: var(--piper-brand-dark); }
.piper-age-btn-no {
	border: 1px solid #ddd4c6;
	background: #fff;
	color: #2b2b2b;
}
.piper-age-btn-no:hover { border-color: var(--piper-brand); color: var(--piper-brand); }

.piper-age-badge {
	display: inline-flex; align-items: center; justify-content: center;
	width: 30px; height: 30px;
	border-radius: 50%;
	border: 1.5px solid currentColor;
	font-size: 11px; font-weight: 700;
	flex-shrink: 0;
}

.piper-age-error {
	margin: 18px 0 0;
	font-size: 13.5px;
	font-weight: 600;
	color: #c0392b;
}

.piper-age-disclaimer {
	display: flex; align-items: flex-start; gap: 10px;
	text-align: left;
	margin-top: 26px;
	padding-top: 22px;
	border-top: 1px solid #ece4d6;
	font-size: 12.5px;
	color: var(--piper-muted);
	line-height: 1.5;
}
.piper-age-disclaimer i { font-size: 15px; color: #a99a82; margin-top: 1px; flex-shrink: 0; }

[data-bs-theme="dark"] .piper-age-content { background: #1f2329; }
[data-bs-theme="dark"] .piper-age-title { color: #f1f1f1; }
[data-bs-theme="dark"] .piper-age-icon { background: #2b3036; }
[data-bs-theme="dark"] .piper-age-btn-no { background: #23272c; border-color: #3a4047; color: #ececec; }
[data-bs-theme="dark"] .piper-age-disclaimer { border-color: #2d3238; }

@media (max-width: 575.98px) {
	.piper-age-body { padding: 34px 26px 28px; }
	.piper-age-title { font-size: 27px; }
	.piper-age-icon { width: 76px; height: 76px; font-size: 33px; }
}

/* =====================================================================
   REGISTER PAGE (matches mockup)
   ===================================================================== */
.piper-reg-card {
	display: flex;
	background: #fff;
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 20px 60px rgba(0,0,0,.08);
	border: 1px solid #efe9df;
}

/* Left aside */
.piper-reg-aside {
	width: 38%;
	flex-shrink: 0;
	background: linear-gradient(180deg, rgba(40,18,12,.92), rgba(40,18,12,.92)), url('../footer2.jpg') center/cover no-repeat;
	background-color: #2a120c;
	color: #fff;
	position: relative;
}
.piper-reg-aside-inner { padding: 48px 40px; }
.piper-reg-aside-title {
	font-size: 32px;
	font-weight: 700;
	margin: 0 0 14px;
	position: relative;
	padding-bottom: 16px;
}
.piper-reg-aside-title::after {
	content: '';
	position: absolute;
	left: 0; bottom: 0;
	width: 48px; height: 3px;
	background: var(--piper-star);
	border-radius: 3px;
}
.piper-reg-aside-text {
	font-size: 14px;
	line-height: 1.65;
	color: rgba(255,255,255,.72);
	margin: 0 0 34px;
}
.piper-reg-benefits { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.piper-reg-benefits > li { display: flex; align-items: flex-start; gap: 14px; }
.piper-reg-benefit-icon {
	width: 44px; height: 44px;
	border-radius: 12px;
	background: rgba(255,255,255,.1);
	color: var(--piper-star);
	display: inline-flex; align-items: center; justify-content: center;
	font-size: 18px; flex-shrink: 0;
}
.piper-reg-benefit-text strong { display: block; font-size: 14.5px; color: #fff; margin-bottom: 3px; }
.piper-reg-benefit-text small { display: block; font-size: 12.5px; color: rgba(255,255,255,.6); line-height: 1.5; }

/* Right form */
.piper-reg-main { flex: 1; min-width: 0; padding: 44px 44px 40px; }
.piper-reg-section-title {
	display: flex; align-items: center; gap: 9px;
	font-size: 16px; font-weight: 700; color: #2b2b2b;
	margin: 0 0 18px;
	padding-bottom: 12px;
	border-bottom: 1px solid #ece5da;
}
.piper-reg-section-title i { color: var(--piper-brand); font-size: 16px; }

.piper-reg-field { margin-bottom: 6px; }
.piper-reg-field > label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #3a3a3a;
	margin-bottom: 7px;
}
.piper-reg-field .piper-login-input input,
.piper-reg-field .piper-login-input select { width: 100%; }
.piper-reg-select {
	flex: 1;
	border: 0;
	background: transparent;
	padding: 12px 10px;
	font-size: 14px;
	color: #2b2b2b;
	outline: none;
	cursor: pointer;
}

.piper-reg-check {
	display: flex; align-items: flex-start; gap: 9px;
	font-size: 13.5px; color: #555;
	cursor: pointer;
}
.piper-reg-check input { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--piper-brand); flex-shrink: 0; }
.piper-reg-check a {
	color: var(--piper-brand);
	font-weight: 600;
	text-decoration: underline;
}
.piper-reg-check a:hover { color: var(--piper-brand-dark); }

.piper-reg-submit:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}
.piper-reg-submit:disabled:hover { background: var(--piper-breadcrumb); }

.piper-checkout-legal-checks {
	padding-top: 4px;
	border-top: 1px solid var(--piper-line);
}

.piper-reg-submit {
	display: flex; align-items: center; justify-content: center; gap: 9px;
	width: 100%;
	border: 0; border-radius: 11px;
	background: var(--piper-breadcrumb);
	color: #fff !important;
	padding: 15px;
	font-size: 15px; font-weight: 600;
	text-decoration: none !important;
	transition: background .15s;
}
.piper-reg-submit:hover { background: var(--piper-brand-dark); }
.piper-reg-login-link {
	text-align: center;
	font-size: 14px;
	color: #555;
	margin: 18px 0 0;
}
.piper-reg-login-link a { color: var(--piper-brand); text-decoration: none; font-weight: 600; }
.piper-reg-login-link a:hover { text-decoration: underline; }

/* Dark theme */
[data-bs-theme="dark"] .piper-reg-card { background: #1f2329; border-color: #2d3238; }
[data-bs-theme="dark"] .piper-reg-section-title { color: #f1f1f1; border-color: #2d3238; }
[data-bs-theme="dark"] .piper-reg-field > label { color: #d7d7d7; }
[data-bs-theme="dark"] .piper-reg-select { color: #ececec; }
[data-bs-theme="dark"] .piper-reg-login-link { color: #aeb4ba; }

@media (max-width: 991.98px) {
	.piper-reg-card { flex-direction: column; }
	.piper-reg-aside { width: 100%; }
	.piper-reg-aside-inner { padding: 36px 32px; }
	.piper-reg-main { padding: 34px 28px 30px; }
}

/* =====================================================================
   CHECKOUT PAGE (register-style inputs)
   ===================================================================== */
.piper-checkout-guest-banner {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	width: 100%;
	padding: 18px 22px;
	background: #f6f1ea;
	border: 1px solid #e7e0d5;
	border-radius: 14px;
}
.piper-checkout-guest-icon {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: #fff;
	border: 1px solid #e7e0d5;
	color: var(--piper-brand);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	flex-shrink: 0;
}
.piper-checkout-guest-content { flex: 1; min-width: 0; }
.piper-checkout-guest-text {
	margin: 0;
	font-size: 14.5px;
	line-height: 1.65;
	color: #3a3a3a;
}
.piper-checkout-guest-link {
	color: var(--piper-brand) !important;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
	transition: color .15s;
}
.piper-checkout-guest-link:hover {
	color: var(--piper-brand-dark) !important;
	text-decoration: underline;
}

.piper-checkout-panel,
.piper-checkout-summary {
	background: #fff;
	border: 1px solid #efe9df;
	border-radius: 16px;
	padding: 32px 34px;
	box-shadow: 0 12px 40px rgba(0,0,0,.04);
}
.piper-checkout-summary { position: sticky; top: 100px; }

.piper-checkout-payments {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
}
.piper-checkout-pay { margin: 0; cursor: pointer; }
.piper-checkout-pay input { position: absolute; opacity: 0; pointer-events: none; }
.piper-checkout-pay-box {
	display: block;
	padding: 12px 14px;
	border: 1px solid #e2ddd4;
	border-radius: 10px;
	background: #fbfaf8;
	font-size: 13.5px;
	font-weight: 500;
	color: #2b2b2b;
	transition: border-color .15s, background .15s, box-shadow .15s;
}
.piper-checkout-pay input:checked + .piper-checkout-pay-box {
	border-color: var(--piper-brand);
	background: #fff;
	box-shadow: 0 0 0 3px rgba(133, 37, 25, .08);
	color: var(--piper-brand);
	font-weight: 600;
}
.piper-checkout-pay:hover .piper-checkout-pay-box { border-color: #cfcfcf; }

.piper-checkout-voucher { display: flex; gap: 10px; align-items: stretch; }
.piper-checkout-voucher .piper-login-input { flex: 1; min-width: 0; }
.piper-checkout-voucher-btn {
	border: 0;
	border-radius: 10px;
	background: var(--piper-breadcrumb);
	color: #fff;
	font-size: 13.5px;
	font-weight: 600;
	padding: 0 18px;
	white-space: nowrap;
	transition: background .15s;
}
.piper-checkout-voucher-btn:hover { background: var(--piper-brand-dark); }
.piper-checkout-voucher-btn:disabled { opacity: .7; }

.piper-checkout-items {
	border: 1px solid #ece5da;
	border-radius: 12px;
	overflow: hidden;
}
.piper-checkout-item {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 12px;
	padding: 14px 16px;
	border-bottom: 1px solid #ece5da;
	font-size: 14px;
}
.piper-checkout-item:last-child { border-bottom: 0; }
.piper-checkout-item strong { display: block; font-size: 14px; color: #2b2b2b; margin-bottom: 3px; }
.piper-checkout-item small { display: block; font-size: 12px; color: var(--piper-muted); }
.piper-checkout-item > span { font-weight: 600; color: var(--piper-brand); white-space: nowrap; }

[data-bs-theme="dark"] .piper-checkout-panel,
[data-bs-theme="dark"] .piper-checkout-summary { background: #1f2329; border-color: #2d3238; box-shadow: none; }
[data-bs-theme="dark"] .piper-checkout-guest-banner { background: #23272c; border-color: #2d3238; }
[data-bs-theme="dark"] .piper-checkout-guest-icon { background: #2b3036; border-color: #3a4047; }
[data-bs-theme="dark"] .piper-checkout-guest-text { color: #d7d7d7; }
[data-bs-theme="dark"] .piper-checkout-pay-box { background: #23272c; border-color: #3a4047; color: #ececec; }
[data-bs-theme="dark"] .piper-checkout-items { border-color: #2d3238; }
[data-bs-theme="dark"] .piper-checkout-item { border-color: #2d3238; }
[data-bs-theme="dark"] .piper-checkout-item strong { color: #f1f1f1; }

@media (max-width: 575.98px) {
	.piper-checkout-payments { grid-template-columns: 1fr; }
	.piper-checkout-panel,
	.piper-checkout-summary { padding: 24px 20px; }
	.piper-checkout-summary { position: static; }
}

.piper-cart-trust {
	display: flex; justify-content: space-between; gap: 8px;
	margin-top: 20px;
	border-top: 1px solid #ece5da;
	padding-top: 18px;
}
.piper-cart-trust-item {
	flex: 1; text-align: center;
	display: flex; flex-direction: column; align-items: center; gap: 3px;
}
.piper-cart-trust-item i { font-size: 19px; color: #5b5852; margin-bottom: 2px; }
.piper-cart-trust-item strong { font-size: 11.5px; font-weight: 600; color: #2b2b2b; line-height: 1.2; }
.piper-cart-trust-item small { font-size: 10.5px; color: var(--piper-muted); }

/* Empty state */
.piper-cart-empty-icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 72px; height: 72px; border-radius: 50%;
	background: #f1ece4; color: var(--piper-brand);
	font-size: 30px; margin-bottom: 16px;
}
.piper-cart-empty-text { font-size: 15px; color: var(--piper-muted); margin-bottom: 20px; }
.piper-cart-empty .piper-cart-checkout { max-width: 240px; margin: 0 auto; }

/* Dark theme */
[data-bs-theme="dark"] .piper-cart-drawer { background: #1b1e23; }
[data-bs-theme="dark"] .piper-cart-title { color: #f1f1f1; }
[data-bs-theme="dark"] .piper-cart-close { color: #e6e6e6; }
[data-bs-theme="dark"] .piper-cart-ship,
[data-bs-theme="dark"] .piper-cart-summary { background: #23272c; border-color: #2d3238; }
[data-bs-theme="dark"] .piper-cart-ship-icon { background: #2b3036; }
[data-bs-theme="dark"] .piper-cart-ship-text strong,
[data-bs-theme="dark"] .piper-cart-name,
[data-bs-theme="dark"] .piper-cart-summary-val,
[data-bs-theme="dark"] .piper-cart-summary-grand > span:first-child { color: #ececec; }
[data-bs-theme="dark"] .piper-cart-thumb,
[data-bs-theme="dark"] .piper-cart-qty { background: #23272c; border-color: #2d3238; }
[data-bs-theme="dark"] .piper-cart-qty button,
[data-bs-theme="dark"] .piper-cart-qty .cart-qty-input { color: #ececec; }
[data-bs-theme="dark"] .piper-cart-item { border-color: #2d3238; }
[data-bs-theme="dark"] .piper-cart-footer { background: #1b1e23; }
[data-bs-theme="dark"] .piper-cart-viewcart { background: #23272c; border-color: #2d3238; color: #ececec !important; }
[data-bs-theme="dark"] .piper-cart-trust { border-color: #2d3238; }
[data-bs-theme="dark"] .piper-cart-trust-item strong { color: #ececec; }
[data-bs-theme="dark"] .piper-cart-trust-item i { color: #aeb4ba; }

/* ==========================================================================
   Homepage Hero Slider
   ========================================================================== */
.piper-hero { position: relative; overflow: hidden; }
.piper-hero-slide {
	position: relative;
	min-height: 560px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	display: flex;
	align-items: center;
}
.piper-hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(100deg, rgba(20,14,10,0.92) 0%, rgba(28,20,14,0.82) 38%, rgba(28,20,14,0.45) 70%, rgba(28,20,14,0.55) 100%);
	z-index: 1;
}
.piper-hero-inner { position: relative; z-index: 2; width: 100%; }
.piper-hero-grid {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	align-items: center;
	gap: 40px;
	padding: 56px 0;
}

/* Left text */
.piper-hero-text { color: #fff; max-width: 560px; }
.piper-hero-branding { margin-bottom: 22px; }
.piper-hero-motto {
	font-family: 'Cormorant Garamond', 'Butler', Georgia, 'Times New Roman', serif;
	font-style: italic;
	font-weight: 600;
	font-size: clamp(1.45rem, 4.2vw, 2.35rem);
	line-height: 1.12;
	color: #c8a86a;
	letter-spacing: 0.015em;
	margin: 0 0 10px;
	text-wrap: balance;
}
.piper-hero-eyebrow {
	display: block;
	font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-size: clamp(10px, 1.6vw, 12px);
	font-weight: 600;
	font-style: normal;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: #c8a86a;
	margin: 0;
	line-height: 1.5;
}
.piper-hero-eyebrow::before,
.piper-hero-eyebrow::after {
	content: '—';
	font-weight: 400;
	opacity: 0.9;
}
.piper-hero-eyebrow::before { margin-right: 0.55em; }
.piper-hero-eyebrow::after { margin-left: 0.55em; }
.piper-hero-title {
	color: #fff;
	font-size: clamp(2.2rem, 4vw, 3.6rem);
	font-weight: 700;
	line-height: 1.08;
	margin: 0 0 20px;
}
.piper-hero-sub {
	color: rgba(255,255,255,0.82);
	font-size: 1.05rem;
	line-height: 1.6;
	margin: 0 0 30px;
	max-width: 460px;
}
.piper-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.piper-hero-btn-primary,
.piper-hero-btn-secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 30px;
	border-radius: 6px;
	font-weight: 600;
	font-size: 15px;
	text-decoration: none !important;
	transition: all 0.18s ease;
	cursor: pointer;
}
.piper-hero-btn-primary {
	background: #7c8a6c;
	color: #fff;
	border: 1px solid #7c8a6c;
}
.piper-hero-btn-primary:hover { background: #6b7a5c; border-color: #6b7a5c; color: #fff; }
.piper-hero-btn-secondary {
	background: transparent;
	color: #fff;
	border: 1px solid rgba(255,255,255,0.6);
}
.piper-hero-btn-secondary:hover { background: rgba(255,255,255,0.12); border-color: #fff; color: #fff; }

/* Right visual */
.piper-hero-visual {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: flex-end;
}
.piper-hero-features {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 26px;
}
.piper-hero-features li { display: flex; align-items: center; gap: 14px; }
.piper-hero-feat-icon {
	flex-shrink: 0;
	width: 26px;
	color: #c8a86a;
	font-size: 22px;
	line-height: 1;
}
.piper-hero-feat-text { display: flex; flex-direction: column; line-height: 1.3; }
.piper-hero-feat-text strong { color: #fff; font-size: 15px; font-weight: 600; }
.piper-hero-feat-text small { color: rgba(255,255,255,0.6); font-size: 13px; }

/* No-text variant */
.piper-hero--no-text .piper-hero-grid { grid-template-columns: 1fr; }
.piper-hero--no-text .piper-hero-visual { justify-content: center; }

/* Bare slider – no overlay content at all */
.piper-hero--bare .piper-hero-slide { min-height: 420px; }

/* Dots */
.piper-hero-dots { margin-bottom: 26px; z-index: 3; }
.piper-hero-dots button {
	width: 34px;
	height: 4px;
	border-radius: 3px;
	background: rgba(255,255,255,0.4);
	border: 0;
	opacity: 1;
	transition: background 0.18s ease;
}
.piper-hero-dots button.active { background: #c8a86a; }

/* Arrows */
.piper-hero-arrow {
	width: 48px;
	height: 48px;
	top: 50%;
	transform: translateY(-50%);
	bottom: auto;
	background: rgba(255,255,255,0.12);
	border: 1px solid rgba(255,255,255,0.3);
	border-radius: 50%;
	color: #fff;
	font-size: 20px;
	opacity: 0;
	transition: opacity 0.2s ease, background 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}
.piper-hero:hover .piper-hero-arrow { opacity: 1; }
.piper-hero-arrow.carousel-control-prev { left: 18px; }
.piper-hero-arrow.carousel-control-next { right: 18px; }
.piper-hero-arrow:hover { background: rgba(255,255,255,0.25); }

/* Trust bar */
.piper-hero-trustbar-wrap { background: #fff; padding: 26px 0; }
.piper-hero-trustbar {
	background: #faf8f5;
	border: 1px solid var(--piper-line);
	border-radius: 12px;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	padding: 26px 30px;
}
.piper-hero-trust-item { display: flex; align-items: center; gap: 14px; }
.piper-hero-trust-icon {
	flex-shrink: 0;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: #fff;
	border: 1px solid var(--piper-line);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	color: var(--piper-brand);
}
.piper-hero-trust-text { display: flex; flex-direction: column; line-height: 1.3; }
.piper-hero-trust-text strong { color: var(--piper-text); font-size: 15px; font-weight: 600; }
.piper-hero-trust-text small { color: var(--piper-muted); font-size: 13px; }

[data-bs-theme="dark"] .piper-hero-trustbar-wrap { background: #15171a; }
[data-bs-theme="dark"] .piper-hero-trustbar { background: #1b1e23; border-color: #2d3238; }
[data-bs-theme="dark"] .piper-hero-trust-icon { background: #23272c; border-color: #2d3238; }
[data-bs-theme="dark"] .piper-hero-trust-text strong { color: #ececec; }

/* Responsive */
@media (max-width: 991px) {
	.piper-hero-grid { grid-template-columns: 1fr; gap: 28px; padding: 44px 0; }
	.piper-hero-visual { order: 2; justify-content: flex-start; }
	.piper-hero-features { gap: 16px; }
	.piper-hero-trustbar { grid-template-columns: repeat(2, 1fr); }
}
/* ==========================================================================
   Footer Type 2 (modern light footer)
   ========================================================================== */
.piper-footer2 {
	background: #faf8f5;
	color: var(--piper-text);
	border-top: 1px solid var(--piper-line);
}
.piper-footer2-top {
	padding: 60px 0 44px;
}
.piper-footer2-about {
	margin-bottom: 32px;
}
.piper-footer2-col {
	margin-bottom: 32px;
}
@media (min-width: 992px) {
	.piper-footer2-about,
	.piper-footer2-col {
		margin-bottom: 0;
	}
}
.piper-footer2-heading {
	font-size: 18px;
	font-weight: 700;
	color: var(--piper-text);
	margin: 0 0 18px;
}
.piper-footer2-text,
.piper-footer2-address {
	color: var(--piper-muted);
	font-size: 14px;
	line-height: 1.75;
	font-style: normal;
	margin: 0 0 14px;
}
.piper-footer2-text p { margin-bottom: 0; }
.piper-footer2-about-teaser p + p,
.piper-footer2-about-more p + p {
	margin-top: 0.85em;
}
.piper-footer2-readmore {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: var(--piper-brand);
	font-size: inherit;
	font-weight: 600;
	text-decoration: underline;
	cursor: pointer;
	vertical-align: baseline;
}
.piper-footer2-readmore--inline {
	display: inline;
}
.piper-footer2-readmore--bottom {
	display: inline-block;
	margin-top: 14px;
}
.piper-footer2-readmore:hover {
	color: var(--piper-brand-dark);
}
.piper-footer2-about-more {
	display: block;
}
.piper-footer2-about-more[hidden] {
	display: none !important;
}
.piper-footer2-about-more p {
	margin: 0.85em 0 0;
}
.piper-footer2-about-more p:first-child {
	margin-top: 0.85em;
}

.piper-footer2-contact-line {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--piper-muted);
	font-size: 14px;
	text-decoration: none;
	margin-bottom: 8px;
}
.piper-footer2-contact-line i { color: var(--piper-brand); }
.piper-footer2-contact-line:hover { color: var(--piper-brand); }
.piper-footer2-contact-btn {
	display: inline-block;
	margin-top: 14px;
	padding: 10px 20px;
	background: var(--piper-brand);
	color: #fff !important;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.18s ease;
}
.piper-footer2-contact-btn:hover { background: var(--piper-brand-dark); }

/* Trust bar */
.piper-footer2-trust {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	background: #faf8f5;
	border: 1px solid var(--piper-line);
	border-radius: 12px;
	padding: 24px 28px;
	margin-bottom: 48px;
}
.piper-footer2-trust-item { display: flex; align-items: center; gap: 14px; }
.piper-footer2-trust-icon {
	flex-shrink: 0;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: #fff;
	border: 1px solid var(--piper-line);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	color: var(--piper-brand);
}
.piper-footer2-trust-text { display: flex; flex-direction: column; line-height: 1.3; }
.piper-footer2-trust-text strong { font-size: 15px; font-weight: 600; color: var(--piper-text); }
.piper-footer2-trust-text small { font-size: 13px; color: var(--piper-muted); }

/* Bottom bar */
.piper-footer2-bottom { background: #2b1d16; padding: 18px 0; }
.piper-footer2-bottom-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
}
.piper-footer2-legal { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; color: rgba(255,255,255,0.7); font-size: 13px; }
.piper-footer2-legal a { color: rgba(255,255,255,0.7); text-decoration: none; }
.piper-footer2-legal a:hover { color: #fff; }
.piper-footer2-pay { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.piper-footer2-pay-label { color: rgba(255,255,255,0.7); font-size: 13px; margin-right: 4px; }
.piper-footer2-pay-badge {
	background: #fff;
	color: #2b2b2b;
	font-size: 12px;
	font-weight: 700;
	padding: 5px 10px;
	border-radius: 5px;
	line-height: 1;
}

[data-bs-theme="dark"] .piper-footer2 { background: #15171a; border-color: #2d3238; }
[data-bs-theme="dark"] .piper-footer2-heading,
[data-bs-theme="dark"] .piper-footer2-trust-text strong { color: #ececec; }
[data-bs-theme="dark"] .piper-footer2-trust { background: #1b1e23; border-color: #2d3238; }
[data-bs-theme="dark"] .piper-footer2-trust-icon { background: #23272c; border-color: #2d3238; }

@media (max-width: 991px) {
	.piper-footer2-trust { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
	.piper-footer2-top { padding: 44px 0 32px; }
	.piper-footer2-trust { grid-template-columns: 1fr; }
	.piper-footer2-bottom-inner { flex-direction: column; align-items: flex-start; }
	.piper-footer2-legal a { font-weight: 700; color: rgba(255, 255, 255, 0.92); }
}

@media (max-width: 575px) {
	.piper-hero-slide { min-height: 520px; }
	.piper-hero-grid { gap: 22px; padding: 36px 0 44px; }
	.piper-hero-branding { margin-bottom: 18px; }
	.piper-hero-motto {
		font-size: clamp(1.3rem, 5.8vw, 1.85rem);
		margin-bottom: 8px;
	}
	.piper-hero-eyebrow { letter-spacing: 0.18em; }
	.piper-hero-features { gap: 14px; width: 100%; }
	.piper-hero-features li { align-items: flex-start; gap: 12px; }
	.piper-hero-feat-icon { font-size: 20px; width: 24px; margin-top: 1px; }
	.piper-hero-feat-text { min-width: 0; }
	.piper-hero-feat-text strong { font-size: 14px; line-height: 1.3; }
	.piper-hero-feat-text small {
		display: block;
		font-size: 12px;
		line-height: 1.35;
		margin-top: 2px;
		color: rgba(255, 255, 255, 0.72);
	}
	.piper-hero-actions { gap: 10px; }
	.piper-hero-btn-primary, .piper-hero-btn-secondary { padding: 12px 20px; font-size: 14px; flex: 1; }
	.piper-hero-trustbar { grid-template-columns: 1fr; gap: 14px; padding: 20px; }
}

/* Mega menu – homepage filter box (rows + 8-col grid) */
.piper-mega-filter-group + .piper-mega-filter-group {
	margin-top: 1.75rem;
	padding-top: 1.75rem;
	border-top: 1px solid var(--piper-line, #ece5da);
}
.piper-mega-filter-title {
	margin: 0 0 14px;
	font-size: 1rem;
	font-weight: 700;
	color: var(--piper-text, #1a1a1a);
	letter-spacing: 0.02em;
}
.piper-mega-filter-grid {
	display: grid;
	grid-template-columns: repeat(8, minmax(0, 1fr));
	gap: 6px 10px;
}

/* Mega menu – desktop nav: columns side by side */
#header .mega-menu .piper-mega-filters-columns {
	display: flex;
	flex-wrap: nowrap;
	align-items: flex-start;
	gap: 32px;
	overflow-x: auto;
	padding-bottom: 6px;
	scrollbar-width: thin;
}
#header .mega-menu .piper-mega-filter-column {
	flex: 1 1 0;
	min-width: 160px;
	max-width: 240px;
}
#header .mega-menu .piper-mega-filter-column-title {
	margin: 0 0 12px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--piper-line, #ece5da);
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--piper-text, #1a1a1a);
	letter-spacing: 0.02em;
	line-height: 1.3;
}
#header .mega-menu .piper-mega-filter-column-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}
#header .mega-menu .piper-mega-filter-column-list li {
	min-width: 0;
}
#header .mega-menu .piper-mega-filter-column-more {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	margin-top: 12px;
	font-size: 12px;
	font-weight: 600;
	color: var(--piper-brand, #852519);
	text-decoration: none;
	transition: color 0.15s ease;
}
#header .mega-menu .piper-mega-filter-column-more:hover {
	color: var(--piper-brand-dark, #5c1c12);
	text-decoration: underline;
}
#header .mega-menu .piper-mega-filter-column-more i {
	font-size: 16px;
	line-height: 1;
}
.piper-mega-filter-link {
	display: block;
	min-width: 0;
	padding: 7px 8px;
	border-radius: 6px;
	text-decoration: none;
	color: var(--piper-muted, #5c5c5c);
	font-size: 13px;
	line-height: 1.35;
	transition: background 0.15s ease, color 0.15s ease;
}
.piper-mega-filter-link:hover {
	background: rgba(133, 37, 25, 0.06);
	color: var(--piper-brand, #852519);
	text-decoration: none;
}
.piper-mega-filter-link-inner {
	display: flex;
	align-items: center;
	gap: 7px;
	min-width: 0;
}
.piper-mega-filter-logo {
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	object-fit: contain;
	border-radius: 3px;
}
.piper-mega-filter-name {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	word-break: break-word;
}
#header .nav-item .dropdown-menu.mega-menu {
	max-height: calc(100vh - 68px);
	overflow-y: auto;
	overflow-x: hidden;
	overscroll-behavior: contain;
	scroll-padding-bottom: 16px;
}
#header .nav-item .dropdown-menu.mega-menu .megamenu-home {
	padding-bottom: 1.5rem !important;
}
@media (max-width: 1599px) {
	.piper-mega-filter-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); }
}
@media (max-width: 1399px) {
	.piper-mega-filter-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (max-width: 1199px) {
	.piper-mega-filter-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
[data-bs-theme="dark"] .piper-mega-filter-group + .piper-mega-filter-group {
	border-top-color: #2d3238;
}
[data-bs-theme="dark"] .piper-mega-filter-title {
	color: #ececec;
}
[data-bs-theme="dark"] .piper-mega-filter-link {
	color: #b8bcc2;
}
[data-bs-theme="dark"] .piper-mega-filter-link:hover {
	background: rgba(255, 255, 255, 0.06);
	color: #f0ebe4;
}
[data-bs-theme="dark"] #header .mega-menu .piper-mega-filter-column-title {
	color: #ececec;
	border-bottom-color: #2d3238;
}
[data-bs-theme="dark"] #header .mega-menu .piper-mega-filter-column-more {
	color: #d4a574;
}
[data-bs-theme="dark"] #header .mega-menu .piper-mega-filter-column-more:hover {
	color: #e8c08a;
}

/* Homepage filter box – dark overlay section */
.piper-home-filter-box .piper-mega-filter-group + .piper-mega-filter-group {
	border-top-color: rgba(255, 255, 255, 0.18);
}
.piper-home-filter-box .piper-mega-filter-title {
	color: #fff;
}
.piper-home-filter-box .piper-mega-filter-link {
	color: rgba(255, 255, 255, 0.88);
}
.piper-home-filter-box .piper-mega-filter-link:hover {
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	text-decoration: none;
}
.piper-home-filter-box .piper-mega-filter-column-more {
	color: #c8a86a;
}
.piper-home-filter-box .piper-mega-filter-column-more:hover {
	color: #e8d4a8;
}
@media (max-width: 767px) {
	.piper-home-filter-box .piper-mega-filter-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Mobile category toolbar – prominent Filter button */
@media (max-width: 991.98px) {
	.tool-bar {
		flex-direction: column;
		align-items: stretch !important;
		gap: 0.75rem;
	}
	.tool-bar-right {
		width: 100%;
		justify-content: space-between;
		gap: 0.5rem;
	}
	.tool-bar-right .form-select {
		flex: 1 1 auto;
		min-width: 0;
		font-size: 0.875rem;
	}
}

.piper-mobile-filter-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	min-height: 44px;
	min-width: 44px;
	padding: 0.5rem 1rem;
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.02em;
	border: none;
	border-radius: 10px;
	background: var(--piper-brand, #852519);
	color: #fff !important;
	box-shadow: 0 3px 12px rgba(133, 37, 25, 0.38);
	transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
	flex-shrink: 0;
}
.piper-mobile-filter-btn i {
	font-size: 1rem;
	line-height: 1;
}
.piper-mobile-filter-btn:hover,
.piper-mobile-filter-btn:focus-visible {
	background: var(--piper-brand-dark, #5c1c12);
	color: #fff !important;
	box-shadow: 0 4px 14px rgba(133, 37, 25, 0.45);
}
.piper-mobile-filter-btn:active {
	transform: scale(0.97);
	box-shadow: 0 1px 6px rgba(133, 37, 25, 0.3);
}

html[data-bs-theme="dark"] .piper-mobile-filter-btn {
	background: #c8a86a;
	color: #2b1d16 !important;
	box-shadow: 0 3px 14px rgba(0, 0, 0, 0.45);
}
html[data-bs-theme="dark"] .piper-mobile-filter-btn:hover,
html[data-bs-theme="dark"] .piper-mobile-filter-btn:focus-visible {
	background: #e0c48a;
	color: #1a120e !important;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}
html[data-bs-theme="dark"] .piper-mobile-filter-btn:active {
	background: #b89458;
}
