/* ==========================================================================
   PinkBlueMoms: product page, shop grids and WooCommerce basics
   ========================================================================== */

.pbm-visually-hidden {
	position: absolute !important;
	width: 1px; height: 1px; overflow: hidden;
	clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

/* Breadcrumb + notices ---------------------------------------------------- */
.woocommerce-breadcrumb { margin: 0 0 18px; font-size: 14px; color: var(--pbm-muted); }
.woocommerce-breadcrumb a { color: var(--pbm-muted); }
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	list-style: none;
	margin: 0 0 20px; padding: 14px 18px;
	border-radius: 14px;
	background: var(--pbm-white);
	border: 1px solid var(--pbm-line);
	border-left-width: 1px;
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px;
	font-weight: 600;
}
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { display: none; }
.woocommerce-message { background: #EAF6EF; border-color: #CDE9D8; }
.woocommerce-error { background: #FDECEF; border-color: #F6CAD6; color: #8A2346; }
.woocommerce-message .button, .woocommerce-info .button {
	order: 2; margin: 0;
	background: var(--pbm-ink); color: var(--pbm-white);
	border-radius: 999px; padding: 10px 18px; font-weight: 800; text-decoration: none;
}

/* Layout -------------------------------------------------------------------- */
.pbm-product__top {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
	gap: 40px;
	align-items: start;
}
@media (max-width: 900px) { .pbm-product__top { grid-template-columns: 1fr; gap: 24px; } }

.pbm-product__gallery { position: relative; min-width: 0; }
@media (min-width: 901px) { .pbm-product__gallery { position: sticky; top: 140px; } }
.pbm-product__gallery .woocommerce-product-gallery { margin: 0; position: relative; opacity: 1 !important; }
.pbm-product__gallery .woocommerce-product-gallery__wrapper { margin: 0; }
.pbm-product__gallery .woocommerce-product-gallery__image img {
	width: 100%; height: auto;
	border-radius: var(--pbm-radius-lg);
	background: var(--pbm-rose);
}
.pbm-product__gallery .flex-viewport { border-radius: var(--pbm-radius-lg); }
.pbm-product__gallery .flex-control-thumbs {
	list-style: none; margin: 12px 0 0; padding: 0;
	display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px;
}
.pbm-product__gallery .flex-control-thumbs img {
	border-radius: 12px; cursor: pointer; opacity: .7;
	border: 2px solid transparent;
}
.pbm-product__gallery .flex-control-thumbs img.flex-active,
.pbm-product__gallery .flex-control-thumbs img:hover { opacity: 1; border-color: var(--pbm-ink); }
.pbm-product__gallery .woocommerce-product-gallery__trigger {
	position: absolute; top: 14px; right: 14px; z-index: 3;
	width: 44px; height: 44px; border-radius: 50%;
	background: var(--pbm-white); display: grid; place-items: center;
	text-indent: -9999px; overflow: hidden;
}
.pbm-product__gallery .woocommerce-product-gallery__trigger::after {
	content: ""; position: absolute; inset: 0; text-indent: 0;
	background: center / 20px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23092A51' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5M11 8v6M8 11h6'/%3E%3C/svg%3E");
}
.onsale {
	position: absolute; left: 16px; top: 16px; z-index: 4;
	padding: 6px 12px; border-radius: 999px;
	background: var(--pbm-pink); color: var(--pbm-white);
	font-weight: 800; font-size: 13px;
}

/* Summary ------------------------------------------------------------------- */
.pbm-product__summary { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.pbm-product__eyebrow { text-decoration: none; }
.pbm-product__summary .product_title {
	margin: 0;
	font-family: var(--pbm-display);
	font-weight: 800;
	font-size: clamp(30px, 3.4vw, 42px);
	line-height: 1.06;
	letter-spacing: -0.02em;
	text-wrap: balance;
}
.pbm-product__summary .woocommerce-product-rating { display: flex; align-items: center; gap: 10px; font-size: 14px; margin: 0; }
.pbm-product__summary .price {
	margin: 0;
	font-family: var(--pbm-display);
	font-weight: 700;
	font-size: 28px;
	color: var(--pbm-ink);
}
.pbm-product__summary .price del { opacity: .5; font-size: 20px; margin-right: 6px; }
.pbm-product__summary .price ins { text-decoration: none; color: var(--pbm-pink-dark); }
.pbm-product__summary .woocommerce-product-details__short-description { color: var(--pbm-muted); font-size: 16px; }
.pbm-product__summary .woocommerce-product-details__short-description p { margin: 0; }

/* Variations as buttons ----------------------------------------------------- */
.pbm-product__summary form.cart { margin: 4px 0 0; display: flex; flex-direction: column; gap: 18px; }
.pbm-product__summary .variations { width: 100%; border: 0; margin: 0; border-collapse: collapse; }
.pbm-product__summary .variations tr { display: block; margin-bottom: 14px; }
.pbm-product__summary .variations th,
.pbm-product__summary .variations td { display: block; padding: 0; text-align: left; border: 0; }
.pbm-product__summary .variations th label { font-weight: 800; font-size: 15px; display: block; margin-bottom: 8px; }
.pbm-product__summary .reset_variations { display: inline-block; margin-top: 8px; font-size: 14px; color: var(--pbm-muted); }
.pbm-sizeguide { margin: 0 0 -6px; text-align: right; font-size: 14px; font-weight: 700; }

.pbm-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.pbm-swatch {
	display: inline-flex; align-items: center; gap: 8px;
	min-width: 52px; min-height: 46px; padding: 0 16px;
	border: 1.5px solid #D9CDD2; border-radius: 12px;
	background: var(--pbm-white); color: var(--pbm-ink);
	font: inherit; font-weight: 700; font-size: 15px;
	cursor: pointer; justify-content: center;
}
.pbm-swatch:hover { border-color: var(--pbm-ink); }
.pbm-swatch.is-selected { background: var(--pbm-ink); border-color: var(--pbm-ink); color: var(--pbm-white); }
.pbm-swatch:disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.pbm-swatch__dot { width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(9, 42, 81, .25); }
.pbm-swatches.is-color .pbm-swatch.is-selected .pbm-swatch__dot { box-shadow: 0 0 0 2px var(--pbm-white); }

.single_variation_wrap .woocommerce-variation-price .price { font-size: 22px; }
.single_variation_wrap .woocommerce-variation-availability p { margin: 0; font-size: 14px; color: var(--pbm-muted); }

/* Quantity + add to cart ------------------------------------------------------ */
.pbm-product__summary .woocommerce-variation-add-to-cart,
.pbm-product__summary form.cart:not(.variations_form) {
	display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch;
}
.pbm-product__summary .quantity { display: flex; }
.pbm-product__summary .quantity .qty {
	width: 76px; min-height: 56px;
	border: 1.5px solid #D9CDD2; border-radius: 999px;
	text-align: center; font-weight: 800; font-size: 17px;
	background: var(--pbm-white);
}
.pbm-product__summary .single_add_to_cart_button {
	flex: 1 1 220px;
	min-height: 56px;
	border: 0; border-radius: 999px;
	background: var(--pbm-pink); color: var(--pbm-white);
	font: inherit; font-weight: 800; font-size: 18px;
	cursor: pointer;
}
.pbm-product__summary .single_add_to_cart_button:hover { background: var(--pbm-pink-dark); }
.pbm-product__summary .single_add_to_cart_button.disabled { opacity: .55; cursor: not-allowed; }

/* Personalization ---------------------------------------------------------- */
.pbm-pz {
	flex-basis: 100%;
	display: flex; flex-direction: column; gap: 18px;
	padding: 20px;
	background: var(--pbm-white);
	border: 1px solid var(--pbm-line);
	border-radius: var(--pbm-radius);
}
.pbm-pz__preview { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; align-items: center; }
.pbm-pz__art {
	display: grid; place-items: center;
	aspect-ratio: 1 / 1;
	border-radius: 16px;
	background: linear-gradient(90deg, var(--pbm-rose) 50%, var(--pbm-sky) 50%);
}
.pbm-pz__art .pbm-tee { width: 90%; }
.pbm-pz__previewcopy p { margin: 6px 0 0; font-size: 14px; color: var(--pbm-muted); }
.pbm-pz__badge { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14px; }
.pbm-pz__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--pbm-green); box-shadow: 0 0 0 4px rgba(47, 143, 91, .15); }
@media (max-width: 420px) { .pbm-pz__preview { grid-template-columns: 120px minmax(0, 1fr); } }

.pbm-pz__group { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; position: relative; }
.pbm-pz__group legend, .pbm-pz__label { font-weight: 800; font-size: 15px; padding: 0; }
.pbm-pz__group legend { margin-bottom: 10px; }
.pbm-pz__group small { font-weight: 600; color: var(--pbm-muted); font-size: 13px; }
.pbm-pz input[type="text"] {
	width: 100%; min-width: 0;
	min-height: 50px;
	padding: 12px 14px;
	border: 1.5px solid #D9CDD2; border-radius: 12px;
	background: var(--pbm-ground);
	font-size: 16px;
}
.pbm-pz input[type="text"]:focus { border-color: var(--pbm-blue); outline: 0; box-shadow: 0 0 0 3px var(--pbm-sky); }
.pbm-pz__count { position: absolute; right: 12px; bottom: 14px; font-size: 12px; color: var(--pbm-muted); pointer-events: none; }
.pbm-pz__group:has(.pbm-pz__count) input[type="text"] { padding-right: 64px; }

.pbm-pz__names { display: flex; flex-direction: column; gap: 10px; }
.pbm-pz__name { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pbm-pz__name[hidden] { display: none; }
.pbm-pz__name input[type="text"] { flex: 1 1 160px; }
.pbm-pz__hearts { display: inline-flex; gap: 6px; }
.pbm-pz__heart { position: relative; cursor: pointer; }
.pbm-pz__heart input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pbm-pz__heart span {
	display: inline-flex; align-items: center; gap: 6px;
	min-height: 50px; padding: 0 14px;
	border-radius: 12px; border: 1.5px solid currentColor;
	font-weight: 800; font-size: 14px;
	background: var(--pbm-white);
}
.pbm-pz__heart.is-pink { color: var(--pbm-pink); }
.pbm-pz__heart.is-blue { color: var(--pbm-blue); }
.pbm-pz__heart input:checked + span { color: var(--pbm-white); }
.pbm-pz__heart.is-pink input:checked + span { background: var(--pbm-pink); border-color: var(--pbm-pink); }
.pbm-pz__heart.is-blue input:checked + span { background: var(--pbm-blue); border-color: var(--pbm-blue); }
.pbm-pz__heart input:focus-visible + span { outline: 3px solid var(--pbm-ink); outline-offset: 2px; }
.pbm-pz__remove {
	width: 50px; height: 50px; border-radius: 12px;
	border: 1.5px solid #D9CDD2; background: var(--pbm-white); color: var(--pbm-muted);
	display: grid; place-items: center; cursor: pointer;
}
.pbm-pz__add {
	align-self: flex-start;
	min-height: 44px; padding: 0 18px;
	border: 1.5px dashed var(--pbm-blue); border-radius: 999px;
	background: var(--pbm-white); color: var(--pbm-blue);
	font: inherit; font-weight: 800; font-size: 15px; cursor: pointer;
}
.pbm-pz__add[hidden] { display: none; }

.pbm-pz__drop {
	display: flex; gap: 14px; align-items: center;
	padding: 16px;
	border: 2px dashed #C5D9EE; border-radius: 16px;
	background: var(--pbm-ground);
	cursor: pointer;
}
.pbm-pz__drop:hover { border-color: var(--pbm-blue); }
.pbm-pz__dropicon { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--pbm-sky); color: var(--pbm-blue-dark); }
.pbm-pz__droptext { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 14px; color: var(--pbm-muted); }
.pbm-pz__droptext strong { color: var(--pbm-ink); font-size: 15px; overflow-wrap: anywhere; }
.pbm-pz__thumb { margin-left: auto; width: 56px; height: 56px; object-fit: cover; border-radius: 10px; }
.pbm-pz__thumb[hidden] { display: none; }
.pbm-pz__file { font-size: 14px; color: var(--pbm-muted); }
.pbm-pz__drop + .pbm-pz__file { position: absolute; width: 1px; height: 1px; opacity: 0; }
.pbm-pz__drop:focus-within, .pbm-pz__file:focus-visible { outline: 3px solid var(--pbm-blue); }
.pbm-pz__warn { margin: 0; padding: 10px 12px; border-radius: 10px; background: #FFF4E0; color: #7A4B00; font-size: 14px; font-weight: 600; }
.pbm-pz__warn[hidden] { display: none; }

.pbm-pz__addon {
	display: flex; gap: 14px; align-items: center;
	padding: 14px 16px;
	border-radius: 16px;
	background: var(--pbm-rose);
	cursor: pointer;
}
.pbm-pz__addon input { flex: none; width: 22px; height: 22px; accent-color: var(--pbm-pink); }
.pbm-pz__addonimg img { width: 52px; height: 52px; object-fit: cover; border-radius: 10px; display: block; }
.pbm-pz__addon > span:last-child { display: flex; flex-direction: column; gap: 2px; font-size: 14px; color: var(--pbm-muted); }
.pbm-pz__addon strong { color: var(--pbm-ink); font-size: 15px; }
.pbm-pz__addon .amount { font-weight: 800; }

/* Preview names on the garment art */
.pbm-tee__names { display: flex; flex-wrap: wrap; justify-content: center; gap: 2cqi 5cqi; padding-top: 2.5cqi; }
.pbm-tee__name { display: flex; flex-direction: column; align-items: center; gap: .6cqi; font-weight: 800; font-size: 4.2cqi; letter-spacing: .06em; }
.pbm-tee__name.is-empty { opacity: .45; }
.pbm-tee__heart {
	width: 7cqi; height: 6.4cqi;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 22'%3E%3Cpath d='M12 21C5 15 1 11 1 6.5 1 3.4 3.4 1 6.4 1c2.2 0 4.2 1.3 5.6 3.3C13.4 2.3 15.4 1 17.6 1 20.6 1 23 3.4 23 6.5 23 11 19 15 12 21z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 22'%3E%3Cpath d='M12 21C5 15 1 11 1 6.5 1 3.4 3.4 1 6.4 1c2.2 0 4.2 1.3 5.6 3.3C13.4 2.3 15.4 1 17.6 1 20.6 1 23 3.4 23 6.5 23 11 19 15 12 21z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.pbm-tee__heart.is-pink { background: var(--pbm-rose-brand); }
.pbm-tee__heart.is-blue { background: var(--pbm-blue); }
.pbm-tee.is-dark .pbm-tee__heart.is-pink { background: #F28BAA; }
.pbm-tee.is-dark .pbm-tee__heart.is-blue { background: #8DB4EA; }

/* Shipping bar + promises ---------------------------------------------------- */
.pbm-ship { display: flex; flex-direction: column; gap: 8px; }
.pbm-ship__bar { height: 10px; border-radius: 999px; background: #EDE3E7; overflow: hidden; }
.pbm-ship__bar span { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--pbm-blue); transition: width .3s ease; }
.pbm-ship.is-free .pbm-ship__bar span { background: var(--pbm-green); }
.pbm-ship__msg { margin: 0; font-size: 14px; font-weight: 800; }
.pbm-product__promises { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--pbm-muted); }
.pbm-product__promises li { display: flex; gap: 10px; align-items: flex-start; }
.pbm-product__promises .pbm-icon { color: var(--pbm-blue); margin-top: 1px; }
.pbm-product__promises strong { color: var(--pbm-ink); }
.pbm-product__cutoff {
	margin: 0; padding: 12px 14px;
	border-radius: 12px; background: var(--pbm-ink); color: var(--pbm-white);
	font-size: 14px; font-weight: 700;
}

/* Tabs as a clean band ---------------------------------------------------- */
.woocommerce-tabs { margin-top: 48px; }
.woocommerce-tabs ul.tabs {
	list-style: none; margin: 0 0 20px; padding: 0;
	display: flex; flex-wrap: wrap; gap: 8px;
	border-bottom: 1px solid var(--pbm-line);
}
.woocommerce-tabs ul.tabs::before, .woocommerce-tabs ul.tabs::after { display: none; }
.woocommerce-tabs ul.tabs li { margin: 0; border: 0; background: none; padding: 0; }
.woocommerce-tabs ul.tabs li::before, .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce-tabs ul.tabs li a {
	display: block; padding: 12px 6px; margin-right: 14px;
	font-weight: 800; color: var(--pbm-muted); text-decoration: none;
	border-bottom: 3px solid transparent;
}
.woocommerce-tabs ul.tabs li.active a { color: var(--pbm-ink); border-bottom-color: var(--pbm-pink); }
.woocommerce-tabs .panel { max-width: 760px; color: var(--pbm-muted); }
.woocommerce-tabs .panel h2:first-child { display: none; }
.pbm-care { margin: 0; padding-left: 20px; display: grid; gap: 8px; }

/* Reviews form */
#reviews .comment-form input[type="text"], #reviews .comment-form input[type="email"], #reviews textarea {
	width: 100%; padding: 12px 14px; border: 1.5px solid #D9CDD2; border-radius: 12px; background: var(--pbm-white);
}
#reviews .submit, .woocommerce button.button, .woocommerce a.button, .woocommerce input.button {
	background: var(--pbm-pink); color: var(--pbm-white);
	border: 0; border-radius: 999px; padding: 12px 22px;
	font: inherit; font-weight: 800; cursor: pointer; text-decoration: none; display: inline-block;
}
#reviews .submit:hover, .woocommerce button.button:hover, .woocommerce a.button:hover { background: var(--pbm-pink-dark); color: var(--pbm-white); }
.star-rating { color: var(--pbm-rose-brand); }

/* Product grids (shop, category, related, upsells) ------------------------ */
.related.products, .upsells.products { margin-top: 56px; }
.related.products > h2, .upsells.products > h2 {
	margin: 0 0 22px;
	font-family: var(--pbm-display); font-weight: 800; font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.02em;
}
ul.products {
	list-style: none; margin: 0; padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 26px 18px;
}
ul.products::before, ul.products::after { display: none !important; }
ul.products li.pbm-loop-item { margin: 0 !important; width: auto !important; float: none !important; padding: 0; }
@media (max-width: 1024px) { ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; } }

/* Mobile ------------------------------------------------------------------ */
@media (max-width: 480px) {
	.pbm-pz { padding: 16px; }
	.pbm-pz__name { gap: 6px; }
	.pbm-pz__heart span { padding: 0 10px; }
	.pbm-product__summary .single_add_to_cart_button { flex-basis: 100%; }
}

/* Beat WooCommerce's default price/stock colors */
.woocommerce div.product .pbm-product__summary p.price,
.woocommerce div.product .pbm-product__summary span.price { color: var(--pbm-ink); }
.woocommerce div.product .pbm-product__summary p.price ins,
.woocommerce div.product .pbm-product__summary span.price ins { color: var(--pbm-pink-dark); }
.woocommerce div.product .pbm-product__summary .stock { color: var(--pbm-green); font-weight: 700; }
.woocommerce div.product form.cart .variations select { min-width: 0; }
.woocommerce div.product form.cart div.quantity { float: none; margin: 0; }
.woocommerce div.product form.cart .button { float: none; }
.woocommerce div.product form.cart .single_add_to_cart_button.button.alt,
.woocommerce div.product form.cart .single_add_to_cart_button.button {
	background: var(--pbm-pink); color: var(--pbm-white);
	border-radius: 999px; min-height: 56px; font-size: 18px; font-weight: 800; padding: 0 28px;
}
.woocommerce div.product form.cart .single_add_to_cart_button.button:hover { background: var(--pbm-pink-dark); }
.woocommerce div.product form.cart .single_add_to_cart_button.button.disabled,
.woocommerce div.product form.cart .single_add_to_cart_button.button:disabled { background: var(--pbm-pink); opacity: .45; }
.pbm-pz { scroll-margin-top: 140px; }

/* ==========================================================================
   Cart & checkout (classic WooCommerce pages)
   ========================================================================== */
.woocommerce-cart .pbm-entry__title,
.woocommerce-checkout .pbm-entry__title { margin-bottom: 20px; }

.pbm-progress {
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px;
	margin: 0 0 24px;
}
.pbm-progress__row {
	display: flex; gap: 12px; align-items: flex-start;
	padding: 14px 16px; border-radius: 16px;
	background: var(--pbm-white); border: 1px solid var(--pbm-line);
}
.pbm-progress__row > div { flex: 1; min-width: 0; display: grid; gap: 8px; }
.pbm-progress__row p { margin: 0; font-size: 15px; }
.pbm-progress__row.is-bundle { background: var(--pbm-rose); border-color: var(--pbm-rose-strong); }
.pbm-progress__row.is-bundle .pbm-icon { color: var(--pbm-pink); }
.pbm-progress__row.is-ship .pbm-icon { color: var(--pbm-blue); }
.pbm-ship__bar.is-free span { background: var(--pbm-green); }
@media (max-width: 720px) { .pbm-progress { grid-template-columns: 1fr; } }

/* Cart table as cards */
.woocommerce-cart .woocommerce { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); gap: 28px; align-items: start; }
.woocommerce-cart .woocommerce > .woocommerce-notices-wrapper,
.woocommerce-cart .woocommerce > .pbm-progress,
.woocommerce-cart .woocommerce > .cart-empty,
.woocommerce-cart .woocommerce > .return-to-shop { grid-column: 1 / -1; }
.woocommerce-cart .woocommerce-cart-form { min-width: 0; }
.woocommerce-cart .cart-collaterals { width: auto !important; float: none; }
.woocommerce-cart .cart-collaterals .cart_totals { width: auto !important; float: none; }
@media (max-width: 900px) { .woocommerce-cart .woocommerce { grid-template-columns: 1fr; } }

table.shop_table {
	width: 100%; border-collapse: separate; border-spacing: 0;
	background: var(--pbm-white); border: 1px solid var(--pbm-line) !important; border-radius: var(--pbm-radius) !important;
	overflow: hidden; margin: 0 0 20px;
}
table.shop_table th { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--pbm-muted); text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--pbm-line); }
table.shop_table td { padding: 16px; border-top: 1px solid var(--pbm-line); vertical-align: middle; }
table.shop_table tr:first-child td { border-top: 0; }
table.cart td.product-thumbnail img { width: 84px; height: 84px; object-fit: cover; border-radius: 12px; }
table.cart td.product-name a { font-weight: 800; color: var(--pbm-ink); text-decoration: none; }
table.cart td.product-name a:hover { color: var(--pbm-pink-dark); }
table.cart td.product-name dl.variation { margin: 6px 0 0; font-size: 14px; color: var(--pbm-muted); display: grid; grid-template-columns: auto 1fr; gap: 2px 8px; }
table.cart td.product-name dl.variation dt { font-weight: 700; color: var(--pbm-ink); margin: 0; }
table.cart td.product-name dl.variation dd { margin: 0; }
table.cart td.product-name dl.variation dd p { margin: 0; }
table.cart td.product-remove a.remove {
	display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
	color: var(--pbm-muted) !important; font-size: 22px; text-decoration: none; background: var(--pbm-ground);
}
table.cart td.product-remove a.remove:hover { background: var(--pbm-rose); color: var(--pbm-pink-dark) !important; }
table.cart .quantity .qty { width: 70px; min-height: 44px; border: 1.5px solid #D9CDD2; border-radius: 999px; text-align: center; font-weight: 800; background: var(--pbm-white); }
table.cart td.actions { background: var(--pbm-ground); }
table.cart td.actions .coupon { display: inline-flex; gap: 8px; flex-wrap: wrap; }
table.cart td.actions .coupon .input-text {
	min-height: 44px; padding: 0 14px; border: 1.5px solid #D9CDD2; border-radius: 999px; background: var(--pbm-white); min-width: 160px;
}
table.cart td.actions button[name="update_cart"] { float: right; background: var(--pbm-white) !important; color: var(--pbm-ink) !important; border: 1.5px solid var(--pbm-ink) !important; }
table.cart td.actions button[name="update_cart"]:disabled { opacity: .45; }
@media (max-width: 768px) {
	table.shop_table_responsive tr { display: block; padding: 12px 0; border-top: 1px solid var(--pbm-line); }
	table.shop_table_responsive tr:first-child { border-top: 0; }
	table.shop_table_responsive td { display: flex; justify-content: space-between; gap: 12px; border: 0 !important; padding: 6px 16px; text-align: right !important; }
	table.shop_table_responsive td::before { content: attr(data-title); font-weight: 700; text-align: left; }
	table.shop_table_responsive td.product-thumbnail, table.shop_table_responsive td.product-remove { justify-content: flex-start; }
	table.shop_table_responsive td.product-thumbnail::before, table.shop_table_responsive td.product-remove::before, table.shop_table_responsive td.actions::before { display: none; }
	table.shop_table_responsive thead { display: none; }
	table.cart td.actions { display: block; text-align: left !important; }
	table.cart td.actions button[name="update_cart"] { float: none; width: 100%; margin-top: 10px; }
}

/* Totals */
.cart_totals, .woocommerce-checkout-review-order {
	padding: 22px; border-radius: var(--pbm-radius);
	background: var(--pbm-white); border: 1px solid var(--pbm-line);
}
.cart_totals h2 { margin: 0 0 12px; font-family: var(--pbm-display); font-size: 24px; }
.cart_totals table.shop_table { border: 0 !important; border-radius: 0 !important; margin: 0; }
.cart_totals table.shop_table th, .cart_totals table.shop_table td { padding: 12px 0; text-transform: none; letter-spacing: 0; font-size: 15px; color: var(--pbm-ink); border-top: 1px solid var(--pbm-line); border-bottom: 0; }
.cart_totals tr.fee td, .woocommerce-checkout-review-order-table tr.fee td { color: var(--pbm-green); font-weight: 800; }
.cart_totals tr.order-total th, .cart_totals tr.order-total td { font-size: 18px; font-weight: 800; }
.woocommerce-shipping-methods { list-style: none; margin: 0; padding: 0; }
.woocommerce-shipping-methods li { margin: 0 0 4px; }
.woocommerce-shipping-destination, .woocommerce-shipping-calculator { font-size: 14px; color: var(--pbm-muted); }
.wc-proceed-to-checkout { padding: 16px 0 0; }
.wc-proceed-to-checkout a.checkout-button,
#place_order {
	display: block; width: 100%; text-align: center;
	min-height: 58px; line-height: 58px; padding: 0 24px !important;
	background: var(--pbm-pink) !important; color: var(--pbm-white) !important;
	border-radius: 999px !important; font-size: 18px !important; font-weight: 800 !important;
}
.wc-proceed-to-checkout a.checkout-button:hover, #place_order:hover { background: var(--pbm-pink-dark) !important; }
.cross-sells { margin-top: 24px; }
.cross-sells > h2 { font-family: var(--pbm-display); font-size: 24px; margin: 0 0 14px; }
.cross-sells ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Checkout layout */
.woocommerce-checkout form.checkout {
	display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, 1fr);
	grid-template-areas: "details heading" "details review";
	gap: 0 32px; align-items: start;
}
.woocommerce-checkout form.checkout #customer_details { grid-area: details; }
.woocommerce-checkout form.checkout #order_review_heading { grid-area: heading; margin: 0 0 12px; font-family: var(--pbm-display); font-size: 24px; }
.woocommerce-checkout form.checkout #order_review { grid-area: review; position: sticky; top: 140px; }
@media (max-width: 900px) {
	.woocommerce-checkout form.checkout { grid-template-columns: 1fr; grid-template-areas: "details" "heading" "review"; }
	.woocommerce-checkout form.checkout #order_review { position: static; }
}
.woocommerce-checkout .col2-set { display: grid; gap: 20px; width: auto; }
.woocommerce-checkout .col2-set .col-1, .woocommerce-checkout .col2-set .col-2 { width: auto !important; float: none !important; }
.woocommerce-billing-fields, .woocommerce-shipping-fields, .woocommerce-additional-fields {
	padding: 22px; border-radius: var(--pbm-radius); background: var(--pbm-white); border: 1px solid var(--pbm-line);
}
.woocommerce-billing-fields h3, .woocommerce-additional-fields h3, #ship-to-different-address { margin: 0 0 14px; font-family: var(--pbm-display); font-size: 22px; }
.woocommerce form .form-row { padding: 0; margin: 0 0 14px; }
.woocommerce form .form-row label { font-weight: 700; font-size: 14px; margin-bottom: 6px; display: block; }
.woocommerce form .form-row .required { color: var(--pbm-pink); text-decoration: none; }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.select2-container .select2-selection--single {
	width: 100%; min-height: 50px; padding: 12px 14px;
	border: 1.5px solid #D9CDD2 !important; border-radius: 12px !important;
	background: var(--pbm-ground); font-size: 16px;
}
.select2-container .select2-selection--single { display: flex; align-items: center; padding: 0 8px; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 48px; }
.woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row textarea:focus { border-color: var(--pbm-blue) !important; outline: 0; box-shadow: 0 0 0 3px var(--pbm-sky); }
.woocommerce form .form-row-first, .woocommerce form .form-row-last { width: calc(50% - 8px); }
@media (max-width: 560px) { .woocommerce form .form-row-first, .woocommerce form .form-row-last { width: 100%; float: none; } }
.woocommerce-checkout-review-order-table { border: 0 !important; border-radius: 0 !important; }
.woocommerce-checkout-review-order-table th, .woocommerce-checkout-review-order-table td { padding: 12px 0 !important; border-top: 1px solid var(--pbm-line) !important; font-size: 15px; }
.woocommerce-checkout-review-order-table thead th { border-top: 0 !important; }
.woocommerce-checkout-review-order-table .product-name dl.variation { margin: 4px 0 0; font-size: 13px; color: var(--pbm-muted); }
.woocommerce-checkout-review-order-table .product-name dl.variation dt { font-weight: 700; }
.woocommerce-checkout-review-order-table .product-name dl.variation dd p { margin: 0; }
.woocommerce-checkout-review-order-table tr.order-total th, .woocommerce-checkout-review-order-table tr.order-total td { font-size: 18px; font-weight: 800; }
#payment { background: var(--pbm-ground) !important; border-radius: 16px !important; margin-top: 14px; }
#payment ul.payment_methods { border-bottom: 1px solid var(--pbm-line) !important; padding: 14px !important; }
#payment div.payment_box { background: var(--pbm-white) !important; border-radius: 12px; color: var(--pbm-muted) !important; }
#payment div.payment_box::before { border-bottom-color: var(--pbm-white) !important; }
#payment div.form-row.place-order { padding: 14px !important; }
.pbm-assure { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 6px; font-size: 14px; color: var(--pbm-muted); }
.pbm-assure li { display: flex; gap: 8px; align-items: center; }
.pbm-assure .pbm-icon { color: var(--pbm-blue); }
.pbm-spellcheck { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: #FFF4E0; color: #7A4B00; font-size: 14px; font-weight: 700; }
.woocommerce-form-coupon-toggle .woocommerce-info, .woocommerce-form-login-toggle .woocommerce-info { background: var(--pbm-white); }
.woocommerce-checkout .woocommerce-form-coupon { padding: 16px; border-radius: 16px; background: var(--pbm-white); border: 1px solid var(--pbm-line); margin-bottom: 20px; }
.woocommerce-cart .woocommerce > .pbm-progress, .woocommerce-checkout .woocommerce > .pbm-progress { grid-column: 1 / -1; }
.woocommerce-order { display: grid; gap: 18px; }
.woocommerce-thankyou-order-received { font-family: var(--pbm-display); font-size: 26px; font-weight: 800; color: var(--pbm-ink); }

/* Checkout refinements */
.woocommerce-checkout form.checkout { grid-template-rows: auto 1fr; }
.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper { display: flex; flex-wrap: wrap; gap: 0 16px; }
.woocommerce-billing-fields__field-wrapper .form-row,
.woocommerce-shipping-fields__field-wrapper .form-row { width: 100%; float: none !important; }
.woocommerce-billing-fields__field-wrapper .form-row-first,
.woocommerce-billing-fields__field-wrapper .form-row-last,
.woocommerce-shipping-fields__field-wrapper .form-row-first,
.woocommerce-shipping-fields__field-wrapper .form-row-last { width: calc(50% - 8px); }
@media (max-width: 560px) {
	.woocommerce-billing-fields__field-wrapper .form-row-first,
	.woocommerce-billing-fields__field-wrapper .form-row-last { width: 100%; }
}
.woocommerce-checkout-review-order table.shop_table { border: 0 !important; border-radius: 0 !important; background: transparent; margin: 0; }
.woocommerce-checkout-review-order-table th, .woocommerce-checkout-review-order-table td { padding-left: 0 !important; padding-right: 0 !important; }
.woocommerce-checkout-review-order-table thead th { padding-top: 0 !important; }

/* =========================================================================
 * Shop and collection pages
 * ====================================================================== */
.pbm-archive__head {
	display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px;
	padding: 36px 40px; margin-bottom: 20px;
	border-radius: var(--pbm-radius-lg);
	background: linear-gradient(120deg, var(--pbm-rose) 0%, #FFF3F6 55%, var(--pbm-sky) 100%);
	overflow: hidden;
}
.pbm-archive__head .pbm-eyebrow { margin: 0 0 8px; }
.pbm-archive__title {
	margin: 0; font-family: var(--pbm-display); font-weight: 800;
	font-size: clamp(32px, 4.4vw, 52px); line-height: 1.05; color: var(--pbm-ink); letter-spacing: -0.01em;
}
.pbm-archive__desc { max-width: 640px; margin-top: 12px; color: var(--pbm-muted); font-size: 17px; line-height: 1.55; }
.pbm-archive__desc p { margin: 0 0 8px; }
.pbm-archive__desc p:last-child { margin-bottom: 0; }
.pbm-archive__art img { display: block; width: 140px; height: auto; transform: rotate(-8deg); }

.pbm-chips {
	display: flex; gap: 8px; margin: 0 0 18px; padding: 2px 2px 8px;
	overflow-x: auto; scrollbar-width: thin; -webkit-overflow-scrolling: touch;
}
.pbm-chip {
	flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px;
	border: 1.5px solid var(--pbm-line); border-radius: 999px; background: var(--pbm-white);
	color: var(--pbm-ink); font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap;
	transition: border-color .15s ease, background .15s ease;
}
.pbm-chip:hover { border-color: var(--pbm-ink); color: var(--pbm-ink); }
.pbm-chip.is-active { background: var(--pbm-ink); border-color: var(--pbm-ink); color: var(--pbm-white); }

.pbm-archive__deal {
	display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px;
	padding: 14px 18px; margin: 0 0 28px;
	border: 1px dashed var(--pbm-rose-strong); border-radius: var(--pbm-radius);
	background: var(--pbm-white); font-size: 15px; color: var(--pbm-ink);
}
.pbm-archive__deal svg { flex: 0 0 auto; color: var(--pbm-rose-brand); }
.pbm-archive__deal p { margin: 0; flex: 1 1 320px; }
.pbm-archive__deal .pbm-archive__dealship { flex: 0 0 auto; color: var(--pbm-blue-dark); font-weight: 700; }

.pbm-archive { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 36px; align-items: start; }

.pbm-filters { position: sticky; top: 140px; }
.pbm-filters__box { border: 0; }
.pbm-filters__box > summary {
	list-style: none; cursor: pointer;
	font-family: var(--pbm-display); font-weight: 800; font-size: 20px; color: var(--pbm-ink);
	padding-bottom: 10px; border-bottom: 1px solid var(--pbm-line);
}
.pbm-filters__box > summary::-webkit-details-marker { display: none; }
.pbm-filters__group { padding: 16px 0; border-bottom: 1px solid var(--pbm-line); }
.pbm-filters__group h2 {
	margin: 0 0 10px; font-family: var(--pbm-body); font-size: 13px; font-weight: 800;
	letter-spacing: .08em; text-transform: uppercase; color: var(--pbm-muted);
}
.pbm-filters__group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.pbm-filters__group a {
	display: flex; align-items: center; gap: 10px; min-height: 36px; padding: 4px 10px; margin: 0 -10px;
	border-radius: 10px; color: var(--pbm-ink); text-decoration: none; font-size: 15px; font-weight: 600;
}
.pbm-filters__group a > span:not([class]) { flex: 1 1 auto; }
.pbm-filters__group a:hover { background: var(--pbm-rose); color: var(--pbm-ink); }
.pbm-filters__group a.is-active { background: var(--pbm-rose); color: var(--pbm-pink-dark); font-weight: 800; }
.pbm-filters__count {
	flex: 0 0 auto; min-width: 26px; padding: 1px 8px; border-radius: 999px;
	background: var(--pbm-ground); color: var(--pbm-muted); font-size: 12px; font-weight: 700; text-align: center;
}
.pbm-filters__radio {
	flex: 0 0 auto; width: 18px; height: 18px; border-radius: 50%;
	border: 2px solid #C9B9C0; background: var(--pbm-white);
}
.pbm-filters__group a.is-active .pbm-filters__radio { border-color: var(--pbm-pink); box-shadow: inset 0 0 0 4px var(--pbm-white); background: var(--pbm-pink); }
.pbm-filters__clear { display: inline-block; margin-top: 8px; font-size: 14px; color: var(--pbm-pink); font-weight: 700; }
.pbm-filters__help {
	margin-top: 18px; padding: 16px; border-radius: var(--pbm-radius);
	background: var(--pbm-sky); color: var(--pbm-ink); font-size: 14px; line-height: 1.5;
}
.pbm-filters__help strong { display: block; font-family: var(--pbm-display); font-size: 16px; }
.pbm-filters__help p { margin: 6px 0 0; color: var(--pbm-muted); }

.pbm-archive__toolbar {
	display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
	margin: 0 0 20px;
}
.pbm-archive__toolbar .woocommerce-result-count { margin: 0; float: none; color: var(--pbm-muted); font-size: 15px; }
.pbm-archive__toolbar .woocommerce-ordering { margin: 0; float: none; }
.pbm-archive__toolbar .woocommerce-ordering select {
	appearance: none; -webkit-appearance: none;
	min-height: 44px; padding: 0 40px 0 16px; border: 1.5px solid var(--pbm-line); border-radius: 999px;
	background: var(--pbm-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23092A51' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 16px center;
	color: var(--pbm-ink); font: 700 14px/1 var(--pbm-body); cursor: pointer;
}
.pbm-archive__toolbar .woocommerce-ordering select:hover { border-color: var(--pbm-ink); }

.pbm-archive__main ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.woocommerce nav.woocommerce-pagination { margin: 40px 0 0; text-align: center; }
.woocommerce nav.woocommerce-pagination ul { display: inline-flex; gap: 6px; border: 0; margin: 0; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; float: none; }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
	display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 10px;
	border-radius: 999px; border: 1.5px solid var(--pbm-line); background: var(--pbm-white);
	color: var(--pbm-ink); font-weight: 800; font-size: 15px;
}
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li a:focus { background: var(--pbm-rose); border-color: var(--pbm-rose-strong); color: var(--pbm-ink); }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--pbm-ink); border-color: var(--pbm-ink); color: var(--pbm-white); }

.pbm-empty {
	padding: 48px 24px; text-align: center; border-radius: var(--pbm-radius-lg);
	background: var(--pbm-white); border: 1px solid var(--pbm-line);
}
.pbm-empty h2 { margin: 0 0 8px; font-family: var(--pbm-display); font-size: 26px; color: var(--pbm-ink); }
.pbm-empty p { margin: 0 0 20px; color: var(--pbm-muted); }

@media (max-width: 1100px) {
	.pbm-archive { grid-template-columns: 210px minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 900px) {
	.pbm-archive { grid-template-columns: 1fr; gap: 16px; }
	.pbm-filters { position: static; }
	.pbm-filters__box {
		border: 1px solid var(--pbm-line); border-radius: var(--pbm-radius); background: var(--pbm-white); padding: 0 16px;
	}
	.pbm-filters__box > summary {
		display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0;
		border-bottom: 0; font-size: 17px;
	}
	.pbm-filters__box > summary::after { content: "+"; font-size: 22px; font-weight: 700; }
	.pbm-filters__box[open] > summary { border-bottom: 1px solid var(--pbm-line); }
	.pbm-filters__box[open] > summary::after { content: "\2212"; }
	.pbm-filters__group:last-of-type { border-bottom: 0; }
	.pbm-filters__help { margin: 0 0 16px; }
	.pbm-archive__main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
}
@media (max-width: 720px) {
	.pbm-archive__head { grid-template-columns: 1fr; padding: 24px 20px; }
	.pbm-archive__art { display: none; }
	.pbm-archive__desc { font-size: 15px; }
}

/* Terms checkbox: readable, not a wall of bold */
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .woocommerce-form__label-for-checkbox { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; font-size: 14px; line-height: 1.5; }
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper input[type="checkbox"] { width: 18px; height: 18px; margin-top: 2px; flex: 0 0 auto; accent-color: var(--pbm-pink); }
.woocommerce-checkout .woocommerce-privacy-policy-text p { font-size: 13px; color: var(--pbm-muted); }

/* Design options (family member picker) */
.pbm-options { margin: 0 0 18px; padding: 0; border: 0; }
.pbm-options__label { padding: 0; margin: 0 0 10px; font-weight: 800; font-size: 15px; color: var(--pbm-ink); }
.pbm-options__current { font-weight: 600; color: var(--pbm-muted); }
.pbm-options__list { display: flex; flex-wrap: wrap; gap: 8px; }
.pbm-options__item { position: relative; cursor: pointer; }
.pbm-options__item input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pbm-options__item:has(input:focus-visible) { outline: 2px solid var(--pbm-blue); outline-offset: 2px; }
.pbm-options__item.is-selected, .pbm-options__item:has(input:checked) { background: var(--pbm-ink); border-color: var(--pbm-ink); color: var(--pbm-white); }
.pbm-options__hint { margin: 10px 0 0; font-size: 13px; color: var(--pbm-muted); }
