/* ==========================================================================
   PRISTORA — WooCommerce presentation layer

   This file styles WooCommerce's OWN markup. It deliberately contains no
   layout that replaces a WooCommerce template, and no rule that hides a price,
   a tax line, a shipping line or a total — those belong to WooCommerce and must
   render whatever WooCommerce calculates.

   Loaded only when WooCommerce is active (see pristora_enqueue_assets()).
   ========================================================================== */

/* --------------------------------------------------------------------------
   Buttons — map WooCommerce's button classes onto the Pristora button
   -------------------------------------------------------------------------- */

.woocommerce .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 15px 30px;
	border: 1px solid transparent;
	border-radius: 12px;
	background: var(--pr-forest);
	color: var(--pr-cream);
	font-family: var(--pr-font-body);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.3px;
	line-height: 1.2;
	text-decoration: none;
	text-transform: none;
	transition: transform 0.25s var(--pr-ease), background 0.25s, box-shadow 0.25s;
}

.woocommerce .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
	background: var(--pr-forest-soft);
	color: var(--pr-cream);
	transform: translateY(-3px);
	box-shadow: 0 16px 34px rgba(23, 63, 53, 0.3);
}

.woocommerce .button.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #place_order {
	background: var(--pr-lime);
	color: var(--pr-ink);
	box-shadow: 0 14px 34px rgba(183, 227, 59, 0.26);
}

.woocommerce .button.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce #place_order:hover {
	background: #c4ec55;
	color: var(--pr-ink);
	box-shadow: 0 18px 40px rgba(183, 227, 59, 0.36);
}

.woocommerce .button:disabled,
.woocommerce .button.disabled {
	opacity: 0.55;
	transform: none;
	box-shadow: none;
	cursor: not-allowed;
}

/* --------------------------------------------------------------------------
   Form controls
   -------------------------------------------------------------------------- */

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce .select2-container .select2-selection--single,
.woocommerce-page form .form-row input.input-text {
	width: 100%;
	padding: 14px 16px;
	border: 1px solid rgba(23, 63, 53, 0.22);
	border-radius: 12px;
	background: var(--pr-white);
	color: var(--pr-ink);
	font-family: inherit;
	font-size: 15px;
	line-height: 1.4;
	height: auto;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
	outline: none;
	border-color: var(--pr-leaf);
	box-shadow: 0 0 0 3px rgba(111, 143, 61, 0.18);
}

.woocommerce form .form-row label,
.woocommerce-page form .form-row label {
	margin-bottom: 7px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--pr-forest);
}

.woocommerce form .form-row .required {
	color: var(--pr-coral);
	text-decoration: none;
}

.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register {
	padding: clamp(24px, 3.4vw, 36px);
	border: 1px solid rgba(23, 63, 53, 0.1);
	border-radius: 22px;
	background: var(--pr-white);
	box-shadow: 0 18px 40px rgba(23, 63, 53, 0.06);
}

/* --------------------------------------------------------------------------
   Notices
   -------------------------------------------------------------------------- */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-notice {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin: 0 0 24px;
	padding: 16px 20px;
	border-radius: 14px;
	border-top: none;
	background: rgba(23, 63, 53, 0.06);
	color: var(--pr-forest);
	font-size: 14.5px;
	line-height: 1.55;
	list-style: none;
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
	display: none;
}

.woocommerce-message {
	background: rgba(111, 143, 61, 0.12);
	border: 1px solid rgba(111, 143, 61, 0.35);
	color: var(--pr-leaf-deep);
}

.woocommerce-error {
	background: rgba(240, 111, 82, 0.12);
	border: 1px solid rgba(240, 111, 82, 0.35);
	color: var(--pr-coral-deep);
}

.woocommerce-info {
	border: 1px solid rgba(23, 63, 53, 0.16);
}

.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button {
	margin-left: auto;
	padding: 10px 20px;
	font-size: 14px;
}

/* --------------------------------------------------------------------------
   Product grid (archives)

   ONE CARD, ONE SURFACE — AND WHO OWNS IT.

   woocommerce/content-product.php replaced WooCommerce's own loop card with the
   shared PRISTORA card, which brings its own grid track, surface, border,
   radius, hover lift, media box and action button from assets/css/catalogue.css.
   The rules below were written for WooCommerce's OWN card parts, and once the
   override landed they started arriving on top of the PRISTORA card instead:

     grid track      0,2,0 beat `.pr-pgrid` 0,1,0, so an archive laid the same
                     card out on a 230px/26px grid while the Products landing,
                     Search and the homepage used 200px/24px;
     li surface      a second border, radius and white fill behind the card's
                     own, and a second -6px hover lift on top of the card's;
     a img           `padding: 10%` and `background: var(--pr-cream)` behind the
                     artwork, so the same product's image sat on cream here and
                     on the card's own surface everywhere else;
     .button         `margin: 0 18px` on a button already at `width: 100%`,
                     pushing the card's Add to Cart 36px wider than its slot.

   So each of them is now scoped to the loop item that actually holds
   WooCommerce's parts — content-product.php's own fallback branch, which marks
   itself `pr-prodcard-item--woo`, and any loop template that is not this one.
   No value below is changed; the PRISTORA card simply stops receiving them.
   -------------------------------------------------------------------------- */

.woocommerce ul.products:not(.pr-pgrid) {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: clamp(16px, 2.2vw, 26px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
	display: none;
}

/* The grid-item reset belongs to every loop item, PRISTORA card or not. */
.woocommerce ul.products li.product {
	width: auto !important;
	margin: 0 !important;
	float: none !important;
}

.woocommerce ul.products li.product:not(.pr-prodcard-item),
.woocommerce ul.products li.product.pr-prodcard-item--woo {
	padding: 0 0 24px;
	overflow: hidden;
	border: 1px solid rgba(23, 63, 53, 0.1);
	border-radius: 20px;
	background: var(--pr-white);
	text-align: center;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.woocommerce ul.products li.product:not(.pr-prodcard-item):hover,
.woocommerce ul.products li.product.pr-prodcard-item--woo:hover {
	transform: translateY(-6px);
	box-shadow: 0 26px 46px rgba(23, 63, 53, 0.14);
}

.woocommerce ul.products li.product:not(.pr-prodcard-item) a img,
.woocommerce ul.products li.product.pr-prodcard-item--woo a img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	margin: 0 0 14px;
	padding: 10%;
	background: var(--pr-cream);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	padding: 0 18px;
	font-family: var(--pr-font-display);
	font-size: 1.15rem;
	line-height: 1.3;
	color: var(--pr-forest);
}

.woocommerce ul.products li.product .price {
	display: block;
	margin: 8px 0 14px;
	padding: 0 18px;
	color: var(--pr-forest);
	font-family: var(--pr-font-body);
	font-size: 1.05rem;
	font-weight: 700;
}

.woocommerce ul.products li.product .price del {
	opacity: 0.55;
	font-weight: 500;
}

.woocommerce ul.products li.product .price ins {
	text-decoration: none;
}

.woocommerce ul.products li.product:not(.pr-prodcard-item) .button,
.woocommerce ul.products li.product.pr-prodcard-item--woo .button {
	margin: 0 18px;
	padding: 12px 22px;
	font-size: 14px;
}

.woocommerce span.onsale {
	top: 12px;
	left: 12px;
	right: auto;
	min-height: 0;
	min-width: 0;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--pr-coral);
	color: var(--pr-white);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	line-height: 1.4;
}

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
	margin-bottom: 22px;
	font-size: 14px;
	color: #6b756f;
}

.woocommerce .woocommerce-ordering select {
	padding: 10px 14px;
	border: 1px solid rgba(23, 63, 53, 0.2);
	border-radius: 10px;
	background: var(--pr-white);
	font-family: inherit;
	font-size: 14px;
}

/* --------------------------------------------------------------------------
   Single product
   -------------------------------------------------------------------------- */

.woocommerce div.product .product_title {
	margin: 0 0 12px;
	font-family: var(--pr-font-display);
	font-weight: 700;
	font-size: clamp(2rem, 4.4vw, 3.2rem);
	line-height: 1.1;
	letter-spacing: -0.4px;
	color: var(--pr-forest);
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
	margin: 0 0 20px;
	color: var(--pr-forest);
	font-family: var(--pr-font-body);
	font-size: 1.6rem;
	font-weight: 700;
}

.woocommerce div.product .woocommerce-product-details__short-description {
	font-size: clamp(1rem, 1.3vw, 1.12rem);
	line-height: 1.65;
	color: var(--pr-slate);
}

.woocommerce div.product form.cart {
	margin-top: 26px;
}

.woocommerce div.product form.cart .variations {
	margin-bottom: 20px;
}

.woocommerce div.product form.cart .variations td,
.woocommerce div.product form.cart .variations th {
	padding: 8px 0;
	border: none;
	vertical-align: middle;
}

.woocommerce div.product form.cart .variations label {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--pr-leaf-deep);
}

.woocommerce .quantity .qty {
	width: 84px;
	padding: 13px 10px;
	border: 1px solid rgba(23, 63, 53, 0.22);
	border-radius: 12px;
	background: var(--pr-white);
	font-family: inherit;
	font-size: 15px;
	text-align: center;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 24px;
	padding: 0;
	border: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
	display: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
	margin: 0;
	padding: 0;
	border: 1px solid rgba(23, 63, 53, 0.18);
	border-radius: 999px;
	background: var(--pr-white);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
	border-color: var(--pr-forest);
	background: var(--pr-forest);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	display: block;
	padding: 10px 20px;
	color: var(--pr-forest);
	font-weight: 600;
	font-size: 14px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
	color: var(--pr-cream);
}

.woocommerce div.product .woocommerce-tabs .panel {
	font-size: 15.5px;
	line-height: 1.7;
	color: var(--pr-slate);
}

.woocommerce .related > h2,
.woocommerce .upsells > h2,
.woocommerce section.related > h2 {
	margin: 0 0 22px;
	font-family: var(--pr-font-display);
	font-size: clamp(1.5rem, 3vw, 2.1rem);
	color: var(--pr-forest);
}

/* --------------------------------------------------------------------------
   Cart
   -------------------------------------------------------------------------- */

.woocommerce table.shop_table {
	border: 1px solid rgba(23, 63, 53, 0.1);
	border-radius: 18px;
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
	background: var(--pr-white);
}

.woocommerce table.shop_table th {
	padding: 16px 18px;
	background: rgba(23, 63, 53, 0.04);
	color: var(--pr-forest);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.woocommerce table.shop_table td {
	padding: 18px;
	border-top: 1px solid rgba(23, 63, 53, 0.08);
	font-size: 15px;
	color: var(--pr-ink);
}

.woocommerce table.shop_table img {
	width: 72px;
	height: auto;
	border-radius: 10px;
	background: var(--pr-cream);
}

.woocommerce a.remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: rgba(23, 63, 53, 0.08);
	color: var(--pr-forest) !important;
	font-size: 16px;
	line-height: 1;
}

.woocommerce a.remove:hover {
	background: var(--pr-coral);
	color: var(--pr-white) !important;
}

.woocommerce .cart-collaterals .cart_totals > h2,
.woocommerce-checkout #order_review_heading {
	margin: 0 0 18px;
	font-family: var(--pr-font-display);
	font-size: clamp(1.35rem, 2.6vw, 1.8rem);
	color: var(--pr-forest);
}

.woocommerce .cart_totals table.shop_table td,
.woocommerce .cart_totals table.shop_table th {
	padding: 14px 18px;
}

.woocommerce .cart-collaterals .cart_totals {
	padding: clamp(20px, 3vw, 30px);
	border: 1px solid rgba(23, 63, 53, 0.1);
	border-radius: 22px;
	background: var(--pr-white);
	box-shadow: 0 18px 40px rgba(23, 63, 53, 0.06);
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
	width: 100%;
}

/* --------------------------------------------------------------------------
   Checkout
   -------------------------------------------------------------------------- */

.woocommerce-checkout #customer_details {
	margin-bottom: 30px;
}

.woocommerce-checkout #order_review {
	padding: clamp(20px, 3vw, 32px);
	border: 1px solid rgba(23, 63, 53, 0.1);
	border-radius: 22px;
	background: var(--pr-white);
	box-shadow: 0 18px 40px rgba(23, 63, 53, 0.06);
}

.woocommerce-checkout #payment {
	border-radius: 18px;
	background: rgba(23, 63, 53, 0.04);
}

.woocommerce-checkout #payment ul.payment_methods {
	border-bottom: 1px solid rgba(23, 63, 53, 0.1);
}

.woocommerce-checkout #payment div.form-row {
	padding: 18px;
}

/* WooCommerce's optional account form on the Order Received page. */
.wp-block-woocommerce-order-confirmation-create-account .wc-block-order-confirmation-create-account-form-wrapper,
.wp-block-woocommerce-order-confirmation-create-account .wc-block-order-confirmation-create-account-form,
.wp-block-woocommerce-order-confirmation-create-account form {
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
}

.wp-block-woocommerce-order-confirmation-create-account input[type="password"],
.wp-block-woocommerce-order-confirmation-create-account input[type="tel"],
.wp-block-woocommerce-order-confirmation-create-account .wc-block-components-text-input {
	box-sizing: border-box;
	display: block;
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

.wp-block-woocommerce-order-confirmation-create-account .pr-ac-consent {
	display: flex;
	align-items: flex-start;
	gap: 11px;
	padding: 13px 15px;
	border: 1px solid rgba(23, 63, 53, 0.16);
	border-radius: 12px;
	background: rgba(23, 63, 53, 0.04);
	cursor: pointer;
}

.wp-block-woocommerce-order-confirmation-create-account .pr-ac-consent__box {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin-top: 1px;
	accent-color: var(--pr-forest);
}

.wp-block-woocommerce-order-confirmation-create-account .pr-ac-consent__copy {
	font-size: 13px;
	line-height: 1.5;
	color: #33403a;
}

.wp-block-woocommerce-order-confirmation-create-account .pr-ac-consent__hint {
	display: block;
	margin-top: 3px;
	font-size: 11.5px;
	color: #6b756f;
}

.wp-block-woocommerce-order-confirmation-create-account .woocommerce-password-strength,
.wp-block-woocommerce-order-confirmation-create-account [class*="password-strength"] {
	box-sizing: border-box;
	position: static;
	display: block;
	width: 100%;
	max-width: 100%;
	margin: 8px 0 12px;
	text-align: left;
}

/* The live Order Received page renders WooCommerce Order Confirmation blocks. */
.woocommerce-order-received .wc-block-order-confirmation-status h1,
.woocommerce-order-received .wc-block-order-confirmation-totals-wrapper > h2,
.woocommerce-order-received .wc-block-order-confirmation-shipping-wrapper > h2,
.woocommerce-order-received .wc-block-order-confirmation-billing-wrapper > h2 {
	font-family: var(--pr-font-display);
	color: var(--pr-forest);
}

.woocommerce-order-received .wc-block-order-confirmation-status h1 {
	font-size: clamp(2.4rem, 5vw, 3.5rem);
	line-height: 1.1;
}

.woocommerce-order-received .wc-block-order-confirmation-status p {
	color: var(--pr-slate);
	font-family: var(--pr-font-body);
}

.woocommerce-order-received .wc-block-order-confirmation-summary,
.woocommerce-order-received .wc-block-order-confirmation-totals,
.woocommerce-order-received .wc-block-order-confirmation-shipping-address,
.woocommerce-order-received .wc-block-order-confirmation-billing-address {
	box-sizing: border-box;
	min-width: 0;
	border: 1px solid rgba(23, 63, 53, 0.12);
	border-radius: 20px;
	background: var(--pr-white);
	box-shadow: 0 18px 40px rgba(23, 63, 53, 0.06);
}

.woocommerce-order-received .wc-block-order-confirmation-summary,
.woocommerce-order-received .wc-block-order-confirmation-shipping-address,
.woocommerce-order-received .wc-block-order-confirmation-billing-address {
	padding: clamp(18px, 2.5vw, 28px);
}

.woocommerce-order-received .wc-block-order-confirmation-totals {
	overflow: hidden;
}

.woocommerce-order-received .wc-block-order-confirmation-create-account {
	box-sizing: border-box;
	align-items: start;
	gap: clamp(22px, 4vw, 48px);
	padding: clamp(24px, 3.5vw, 40px);
	border-radius: 22px;
	background: linear-gradient(165deg, var(--pr-forest), #123029);
	color: var(--pr-cream);
	box-shadow: 0 20px 44px rgba(23, 63, 53, 0.16);
}

.woocommerce-order-received .wc-block-order-confirmation-create-account-content {
	align-self: center;
}

.woocommerce-order-received .wc-block-order-confirmation-create-account-content h3 {
	font-family: var(--pr-font-display);
	font-size: clamp(1.7rem, 2.7vw, 2.2rem);
	line-height: 1.15;
	color: var(--pr-cream);
}

.woocommerce-order-received .wc-block-order-confirmation-create-account-content li,
.woocommerce-order-received .pristora-order-confirmation-account-form > p:first-child {
	color: rgba(247, 242, 231, 0.86);
}

.woocommerce-order-received .pristora-order-confirmation-account-form label:not(.pr-ac-consent) {
	color: var(--pr-cream);
	font-family: var(--pr-font-body);
	font-size: 13px;
	font-weight: 600;
}

.woocommerce-order-received .pristora-order-confirmation-account-form input[type="tel"],
.woocommerce-order-received .pristora-order-confirmation-account-form input[type="password"] {
	padding: 14px 16px;
	border: 1px solid rgba(23, 63, 53, 0.28);
	border-radius: 12px;
	background: var(--pr-white);
	color: var(--pr-ink);
	font-family: var(--pr-font-body);
	font-size: 15px;
}

.woocommerce-order-received .pristora-order-confirmation-account-form input:focus-visible {
	outline: 2px solid var(--pr-lime);
	outline-offset: 2px;
}

.woocommerce-order-received .pristora-order-confirmation-account-form .pr-ac-consent {
	border-color: rgba(247, 242, 231, 0.3);
	background: rgba(247, 242, 231, 0.08);
}

.woocommerce-order-received .pristora-order-confirmation-account-form .pr-ac-consent__copy,
.woocommerce-order-received .pristora-order-confirmation-account-form .pr-ac-consent__hint {
	color: var(--pr-cream);
}

.woocommerce-order-received .pristora-order-confirmation-account-form .pr-ac-consent__hint {
	opacity: 0.72;
}

.woocommerce-order-received .pristora-order-confirmation-account-form .wc-block-order-confirmation-create-account-button {
	border-radius: 12px;
	background: var(--pr-lime);
	color: var(--pr-ink);
	font-family: var(--pr-font-body);
	font-weight: 700;
}

.woocommerce-order-received .pristora-order-confirmation-account-form .wc-block-order-confirmation-create-account-button:hover,
.woocommerce-order-received .pristora-order-confirmation-account-form .wc-block-order-confirmation-create-account-button:focus-visible {
	background: #c7ed60;
	color: var(--pr-ink);
}

@media (max-width: 700px) {
	.woocommerce-order-received .wc-block-order-confirmation-create-account {
		flex-direction: column;
	}

	.woocommerce-order-received .wc-block-order-confirmation-create-account-content,
	.woocommerce-order-received .wc-block-order-confirmation-create-account-form-wrapper {
		width: 100%;
	}
}

/* --------------------------------------------------------------------------
   My Account
   -------------------------------------------------------------------------- */

.woocommerce-account .woocommerce-MyAccount-navigation {
	width: 26%;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
	display: grid;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
	border-radius: 12px;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a {
	display: block;
	padding: 12px 16px;
	border-radius: 12px;
	color: var(--pr-forest);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.2s, color 0.2s;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
	background: rgba(23, 63, 53, 0.06);
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
	background: var(--pr-forest);
	color: var(--pr-cream);
}

.woocommerce-account .woocommerce-MyAccount-content {
	width: 70%;
	padding: clamp(22px, 3.2vw, 36px);
	border: 1px solid rgba(23, 63, 53, 0.1);
	border-radius: 22px;
	background: var(--pr-white);
	box-shadow: 0 18px 40px rgba(23, 63, 53, 0.06);
}

.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3 {
	font-family: var(--pr-font-display);
	color: var(--pr-forest);
}

@media (max-width: 860px) {
	.woocommerce-account .woocommerce-MyAccount-navigation,
	.woocommerce-account .woocommerce-MyAccount-content {
		float: none;
		width: 100%;
	}

	.woocommerce-account .woocommerce-MyAccount-content {
		margin-top: 20px;
	}
}

/* --------------------------------------------------------------------------
   Breadcrumb + page title suppression
   WooCommerce's own breadcrumb is hidden because the Pristora templates supply
   one. The page title is hidden only on archives, where the Pristora hero
   already states it — never on the product page itself.
   -------------------------------------------------------------------------- */

.pr-woo .woocommerce-breadcrumb {
	display: none;
}

.pr-woo--archive .woocommerce-products-header__title,
.pr-woo--archive .page-title {
	display: none;
}

/* --------------------------------------------------------------------------
   Pagination
   -------------------------------------------------------------------------- */

.woocommerce nav.woocommerce-pagination ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	border: none;
}

.woocommerce nav.woocommerce-pagination ul li {
	border: none;
	overflow: visible;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border: 1px solid rgba(23, 63, 53, 0.18);
	border-radius: 12px;
	background: var(--pr-white);
	color: var(--pr-forest);
	font-size: 14px;
	font-weight: 600;
}

.woocommerce nav.woocommerce-pagination ul li span.current {
	background: var(--pr-forest);
	border-color: var(--pr-forest);
	color: var(--pr-cream);
}

/* --------------------------------------------------------------------------
   The header cart badge, the drawer, and the card's basket state

   The drawer's geometry is the approved design's own: a fixed panel on the
   right, min(420px, 92vw) wide, sliding in over a dimmed page.
   -------------------------------------------------------------------------- */

.pr-cartbtn {
	position: relative;
	width: auto;
	min-width: 94px;
	gap: 8px;
	padding: 7px 11px;
	border: 1px solid rgba(22, 66, 49, .2);
	border-radius: 12px;
	text-decoration: none;
}

.pr-cartbtn--empty { opacity: .58; }
.pr-cartbtn--empty:hover, .pr-cartbtn--empty:focus-visible { opacity: 1; }
.pr-cartbtn--active { background: var(--pr-forest); color: var(--pr-cream); border-color: var(--pr-forest); }
.pr-cartbtn--active:hover, .pr-cartbtn--active:focus-visible { color: #fff; }
.pr-cartbtn__summary { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; white-space: nowrap; }
.pr-cartbtn__name { font-size: 12px; font-weight: 800; line-height: 1.15; }
.pr-cartbtn__detail { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; line-height: 1.2; }
.pr-cartbtn__amount { font-variant-numeric: tabular-nums; }

.pr-cartbtn__badge {
	position: absolute;
	top: 2px;
	right: 2px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 17px;
	height: 17px;
	padding: 0 4px;
	border-radius: 999px;
	background: var(--pr-forest);
	color: var(--pr-cream);
	font-size: 10px;
	font-weight: 800;
	line-height: 1;
}

/* The drawer ---------------------------------------------------------------- */

.pr-drawer[hidden] {
	display: none;
}

.pr-drawer__scrim {
	position: fixed;
	inset: 0;
	z-index: 200;
	background: rgba(14, 18, 16, 0.42);
}

.pr-drawer__panel {
	position: fixed;
	top: 0;
	right: 0;
	z-index: 201;
	display: flex;
	flex-direction: column;
	width: min(420px, 92vw);
	height: 100%;
	background: #fbf8f0;
	box-shadow: -20px 0 50px rgba(0, 0, 0, 0.25);
	animation: pr-drawer-in 0.28s cubic-bezier(0.2, 0.7, 0.2, 1);
}

@keyframes pr-drawer-in {
	from {
		transform: translateX(100%);
	}

	to {
		transform: translateX(0);
	}
}

.pr-drawer__head {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: space-between;
	padding: 20px 22px;
	border-bottom: 1px solid rgba(23, 63, 53, 0.1);
}

.pr-drawer__title {
	margin: 0;
	font-family: var(--pr-font-display);
	font-size: 1.25rem;
	color: var(--pr-forest);
}

.pr-drawer__close {
	display: inline-flex;
	padding: 6px;
	border: 0;
	border-radius: 10px;
	background: none;
	color: var(--pr-forest);
	cursor: pointer;
}

.pr-drawer__body {
	flex: 1 1 auto;
	overflow-y: auto;
	padding: 8px 22px;
}

.pr-drawer__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.pr-drawer__item {
	display: flex;
	gap: 14px;
	padding: 18px 0;
	border-bottom: 1px solid rgba(23, 63, 53, 0.08);
}

.pr-drawer__img {
	flex: 0 0 auto;
	width: 62px;
	height: 72px;
	object-fit: contain;
}

.pr-drawer__copy {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.pr-drawer__name {
	font-weight: 700;
	font-size: 14.5px;
	line-height: 1.3;
	color: var(--pr-forest);
}

.pr-drawer__meta {
	margin: 0;
	font-size: 12.5px;
	color: var(--pr-slate);
}

.pr-drawer__row {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 8px;
	flex-wrap: wrap;
}

.pr-drawer__price {
	margin-left: auto;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
	font-weight: 700;
	font-size: 14px;
	color: var(--pr-forest);
}

.pr-drawer__remove {
	border: 0;
	background: none;
	color: var(--pr-slate);
	font-size: 12.5px;
	text-decoration: underline;
	cursor: pointer;
}

/*
 * A pack line. Its quantity belongs to the offer it was priced in, so it is
 * stated rather than offered as a control.
 */
.pr-drawer__offer {
	padding: 5px 11px;
	border-radius: 999px;
	background: rgba(23, 63, 53, 0.07);
	font-size: 12px;
	font-weight: 700;
	color: var(--pr-forest);
}

.pr-drawer__empty {
	padding: 48px 0;
	text-align: center;
}

.pr-drawer__emptytitle {
	margin: 0;
	font-family: var(--pr-font-display);
	font-size: 1.15rem;
	color: var(--pr-forest);
}

.pr-drawer__emptylede {
	margin: 8px 0 0;
	font-size: 14px;
	color: var(--pr-slate);
}

.pr-drawer__foot {
	flex: 0 0 auto;
	padding: 18px 22px;
	border-top: 1px solid rgba(23, 63, 53, 0.1);
}

.pr-drawer__note:empty {
	display: none;
}

.pr-drawer__note {
	margin: 0 0 12px;
	font-size: 13px;
	color: #a3341f;
}

.pr-drawer__cta {
	width: 100%;
	justify-content: center;
}

body.pr-drawer-open {
	overflow: hidden;
}

/* The quantity control, shared by the drawer and the card ------------------- */

.pr-qty {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	border: 1px solid rgba(23, 63, 53, 0.14);
	border-radius: 999px;
}

.pr-qty__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border: 0;
	border-radius: 50%;
	background: none;
	color: var(--pr-forest);
	font-size: 15px;
	line-height: 1;
	cursor: pointer;
}

.pr-qty__btn:disabled {
	opacity: 0.45;
	cursor: default;
}

.pr-qty__value {
	min-width: 20px;
	font-size: 13.5px;
	font-weight: 700;
	text-align: center;
	color: var(--pr-forest);
}

/*
 * The card's confirmed basket state. Empty and hidden until the server says the
 * product really is in the basket.
 */
.pr-prodcard__incart[hidden] {
	display: none;
}

.pr-prodcard__incart {
	display: flex;
	width: 100%;
	margin-top: 0;
}

.pr-prodcard__incart .pr-qty {
	box-sizing: border-box;
	width: 100%;
	min-height: 44px;
	justify-content: space-between;
	padding: 4px 8px;
	border-color: var(--pr-forest);
	border-radius: 11px;
	background: var(--pr-forest);
}
.pr-prodcard__incart .pr-qty__btn,
.pr-prodcard__incart .pr-qty__value {
	color: #fff;
	font-weight: 800;
}
.pr-prodcard__incart .pr-qty__btn { width: 36px; height: 34px; font-size: 21px; }
.pr-prodcard__incart .pr-qty__btn:hover,
.pr-prodcard__incart .pr-qty__btn:focus-visible { background: rgba(255,255,255,.15); }
/* `display: block` here used to beat the control's own centred flex (0,1,0), so
 * VIEW CART sat at the top of the slot with the rest of its height empty. It
 * keeps the flex centring and fills the slot like every other card control. */
.pr-prodcard__incart .pr-prodcard__offer-cart { display: flex; align-items: center; justify-content: center; width: 100%; padding: 6px; color: #fff; text-align: center; }

/* WooCommerce appends this legacy link after AJAX adds; the card uses its
 * confirmed physical-unit control in that space. */
.pr-prodcard__action > a.added_to_cart.wc-forward:not(.pr-prodcard__add) {
	display: none;
}

@media (prefers-reduced-motion: reduce) {
	.pr-drawer__panel {
		animation: none;
	}
}

/* The drawer's item count, beside its heading. */
.pr-drawer__count {
	font-family: var(--pr-font-body);
	font-size: 13px;
	font-weight: 600;
	color: var(--pr-slate);
}

/*
 * The approved secondary action. It closes the drawer, so it is a button rather
 * than a link and is styled as the quiet half of the pair beneath the primary.
 */
.pr-drawer__continue {
	display: block;
	width: 100%;
	margin-top: 10px;
	padding: 12px;
	border: 0;
	background: none;
	color: var(--pr-forest);
	font-size: 14px;
	font-weight: 600;
	text-decoration: underline;
	cursor: pointer;
}
