/**
 * Shop / taxonomy archives (archive-product.php)
 */

.hp-shop-page {
	box-sizing: border-box;
	max-width: 100%;
	width: 100%;
}

.hp-shop-hero {
	background-color: var(--green-dark, #1c3a28);
	color: #fff;
	padding: 52px clamp(24px, 6vw, 72px);
}

.hp-shop-hero__eyebrow {
	font-family: "DM Sans", sans-serif;
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	margin: 0 0 12px;
	color: rgba(255, 255, 255, 0.72);
}

.hp-shop-hero__heading {
	font-family: "Cormorant Garamond", serif;
	font-size: clamp(36px, 5vw, 52px);
	font-weight: 400;
	line-height: 1.08;
	margin: 0 0 16px;
	color: #fff;
}

.hp-shop-hero__text {
	font-family: "DM Sans", sans-serif;
	font-size: 15px;
	line-height: 1.65;
	max-width: 42em;
	margin: 0;
	color: rgba(255, 255, 255, 0.78);
}

.hp-shop__layout {
	display: grid;
	grid-template-columns: 200px minmax(0, 1fr);
	gap: clamp(24px, 4vw, 48px);
	padding: clamp(24px, 4vw, 48px);
	align-items: start;
	box-sizing: border-box;
	max-width: 100%;
	width: 100%;
}

.hp-shop-sidebar {
	width: 200px;
	flex-shrink: 0;
	box-sizing: border-box;
}

.hp-shop-sidebar__filter {
	margin-bottom: 28px;
}

.hp-shop-sidebar__filter:last-child {
	margin-bottom: 0;
}

/* ── Sidebar checkboxes ── */
.hp-sidebar-check {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 5px 0;
    width: 100%;
    margin: 0;
}

.hp-sidebar-check input[type="checkbox"] {
    width: 13px;
    height: 13px;
    margin: 0;
    flex-shrink: 0;
    accent-color: #1c3a28;
    cursor: pointer;
}

.hp-sidebar-check__label {
    flex: 1;
    font-family: "DM Sans", sans-serif;
    font-size: 12px;
    color: #555;
    line-height: 1.4;
}

.hp-sidebar-check__count {
    font-size: 10px;
    color: #bbb;
    margin-left: auto;
    flex-shrink: 0;
}

.hp-sidebar-active .hp-sidebar-check__label {
    color: #1c3a28;
    font-weight: 500;
}

.hp-shop-sidebar__filter ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hp-shop-sidebar__filter ul li {
    margin: 0;
    padding: 0;
}

.hp-shop-sidebar__widget-title {
    display: block;
    font-family: "DM Sans", sans-serif;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #111;
    margin: 0 0 10px;
    padding-bottom: 6px;
    border-bottom: 0.5px solid rgba(0,0,0,0.08);
}

.hp-shop-sidebar__filter {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 0.5px solid rgba(0,0,0,0.06);
}

.hp-shop-sidebar__filter:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* ── Price range filter ── */
.hp-price-filter {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hp-price-filter__track {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hp-price-filter__range {
    width: 100%;
    accent-color: #1c3a28;
    cursor: pointer;
    height: 2px;
}

.hp-price-filter__labels {
    display: flex;
    justify-content: space-between;
    font-family: "DM Sans", sans-serif;
    font-size: 11px;
    color: #555;
}

.hp-price-filter__btn {
    align-self: flex-start;
    padding: 5px 14px;
    font-family: "DM Sans", sans-serif;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    background: #1c3a28;
    border: none;
    cursor: pointer;
}

.hp-price-filter__btn:hover {
    background: #2e5c3e;
}

/* Hide WC default page title */
.hp-shop-main h1.page-title,
.hp-shop-main .woocommerce-products-header,
.hp-shop-main .woocommerce-products-header__title,
.woocommerce-page .hp-shop-main h1,
.hp-shop-main > h1 {
    display: none !important;
}

/* Hide Storefront breadcrumb above shop layout */
.storefront-breadcrumb {
    display: none !important;
}

/* Sidebar section title — green uppercase with toggle */
.hp-shop__layout aside > div > div:first-child {
    font-size: 9px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #1c3a28 !important;
    margin-bottom: 10px;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
}

/* Remove gap between filter strip and layout */
.hp-shop-page .hp-shop__layout {
    margin-top: 0 !important;
}

/* Sort by select styling */
.hp-shop-main .woocommerce-ordering select {
    font-family: "DM Sans", sans-serif;
    font-size: 10px;
    border: 0.5px solid rgba(0,0,0,0.12);
    border-radius: 1px;
    padding: 5px 9px;
    color: #555;
    background: #fff;
    font-family: "DM Sans", sans-serif;
    box-shadow: none;
}

.hp-shop-page .hp-price-handle,
.hp-shop-page .hp-price-handle:before,
.hp-shop-page .hp-price-handle:after {
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
    -webkit-border-radius: 50% !important;
    background: #1c3a28 !important;
    position: absolute !important;
    top: -4.5px !important;
    cursor: pointer !important;
    display: block !important;
}

