/* Posh Atelier — WooCommerce screens: grids, product page, bag, checkout, account. */

.posh-wc { padding-top: 32px; padding-bottom: clamp(56px, 8vw, 112px); }
.posh-wc--sidebar { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; }
@media (max-width: 1024px) { .posh-wc--sidebar { grid-template-columns: minmax(0, 1fr); } }
.posh-wc__sidebar .posh-widget { margin-bottom: 32px; }
.posh-widget__title { font-family: var(--posh-sans); font-size: 14px; font-weight: 500; margin-bottom: 12px; }
.posh-shop-head { padding: 24px 0 8px; }
.posh-shop-head__title { font-size: clamp(42px, 6vw, 64px); margin: 0; }
.term-description, .woocommerce-products-header__description { max-width: 40em; color: var(--posh-stone); }

/* Breadcrumb */
.woocommerce .posh-crumbs, .posh-crumbs { font-size: 13px; color: var(--posh-stone); margin: 0 0 24px; }
.posh-crumbs a { color: var(--posh-stone); text-decoration: none; }
.posh-crumbs a:hover { color: var(--posh-ink); }
.posh-crumb-sep { margin: 0 8px; opacity: .6; }

/* ------------------------------------------------------------------ Grid */

.woocommerce ul.products,
.woocommerce-page ul.products,
ul.products {
	--posh-cols: 4;
	display: grid !important;
	grid-template-columns: repeat(var(--posh-cols), minmax(0, 1fr));
	column-gap: 24px; row-gap: 48px;
	margin: 0 !important; padding: 0; list-style: none;
}
ul.products.columns-1 { --posh-cols: 1; }
ul.products.columns-2 { --posh-cols: 2; }
ul.products.columns-3 { --posh-cols: 3; }
ul.products.columns-5 { --posh-cols: 5; }
ul.products.columns-6 { --posh-cols: 6; }
@media (max-width: 1024px) { .posh-wc ul.products, .related ul.products, .upsells ul.products, .cross-sells ul.products { --posh-cols: 3; } }
@media (max-width: 767px) {
	.posh-wc ul.products, .related ul.products, .upsells ul.products, .cross-sells ul.products { --posh-cols: 2; }
	ul.products { column-gap: 12px !important; row-gap: 32px !important; }
}
.woocommerce ul.products::before, .woocommerce ul.products::after,
.woocommerce-page ul.products::before, .woocommerce-page ul.products::after { display: none !important; }

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
ul.products li.product {
	position: relative; width: auto !important; float: none !important; margin: 0 !important; padding: 0;
	display: flex; flex-direction: column; text-align: left;
}
ul.products li.product .woocommerce-LoopProduct-link { display: block; text-decoration: none; color: inherit; }

.posh-card__media {
	--posh-ratio: 4 / 5;
	position: relative; display: block; overflow: hidden; aspect-ratio: var(--posh-ratio); background: var(--posh-veil); margin-bottom: 14px;
}
.woocommerce ul.products li.product .posh-card__media img,
.posh-card__media img {
	position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; margin: 0 !important;
	transition: opacity .5s var(--posh-ease), transform 1s var(--posh-ease);
}
.posh-card__media .posh-card__alt { opacity: 0; }
@media (hover: hover) {
	li.product:hover .posh-card__media .posh-card__alt { opacity: 1; }
	li.product:hover .posh-card__media img:first-child { transform: scale(1.02); }
}

.posh-badge {
	position: absolute; top: 12px; left: 12px; z-index: 2; padding: 5px 10px; font-size: 12px; font-weight: 500; line-height: 1;
	background: var(--posh-porc); color: var(--posh-ink); font-family: var(--posh-sans);
}
.posh-badge--sale { background: var(--posh-merlot); color: #fff; }
.posh-badge--muted { background: var(--posh-ink); color: #fff; }

.posh .posh-wish {
	position: absolute; top: 8px; right: 8px; z-index: 3; width: 38px; height: 38px; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 0; cursor: pointer;
	background: rgba(251, 249, 248, .9); color: var(--posh-ink); transition: color .2s, background-color .2s, transform .2s;
}
.posh .posh-wish:hover, .posh .posh-wish:focus { color: var(--posh-merlot); background: rgba(251, 249, 248, .95); }
.posh-wish.is-active { color: var(--posh-merlot); }
.posh-wish.is-active svg path { fill: currentColor; }
.posh-wish:active { transform: scale(.92); }
.posh-products-wish-yes .posh-wish, .posh-wish { display: inline-flex; }
.elementor-widget-posh-products:not(.posh-products-wish-yes) .posh-wish { display: none; }
.posh .posh-wish--label {
	position: static; width: auto; height: auto; border-radius: 0; background: none; gap: 8px; padding: 12px 0;
	font-size: 14px; font-weight: 400; color: var(--posh-ink);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--posh-display); font-weight: 400; font-size: 22px; line-height: 1.15; color: var(--posh-ink);
	padding: 0; margin: 0 0 4px;
}
.woocommerce ul.products li.product .price,
ul.products li.product .price { color: var(--posh-text); font-size: 14px; font-weight: 400; margin: 0 0 12px; display: block; }
.woocommerce ul.products li.product .price del { opacity: .55; margin-right: 6px; font-weight: 300; }
.woocommerce ul.products li.product .price ins { text-decoration: none; color: var(--posh-merlot); font-weight: 500; }

.woocommerce ul.products li.product .button {
	margin-top: auto; align-self: flex-start; padding: 10px 18px; font-size: 13px; background: transparent;
	color: var(--posh-ink); border: 1px solid var(--posh-line-strong);
}
.woocommerce ul.products li.product .button:hover { background: var(--posh-ink); border-color: var(--posh-ink); color: #fff; }
.woocommerce ul.products li.product .button.loading { opacity: .6; }
.woocommerce ul.products li.product .added_to_cart { font-size: 13px; margin-top: 8px; color: var(--posh-merlot); }
.elementor-widget-posh-products:not(.posh-products-btn-yes) li.product .button,
.elementor-widget-posh-products:not(.posh-products-btn-yes) li.product .added_to_cart { display: none !important; }

/* Toolbar */
.posh-products .woocommerce-result-count,
.posh-wc .woocommerce-result-count { float: none; margin: 0; font-size: 13px; color: var(--posh-stone); }
.posh-products .woocommerce-ordering,
.posh-wc .woocommerce-ordering { float: none; margin: 0; }
.posh-products .woocommerce, .posh-wc__main { display: block; }
.woocommerce .woocommerce-ordering select, .woocommerce-ordering select {
	appearance: none; -webkit-appearance: none; border: 1px solid var(--posh-line-strong); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23221A1D' d='m1 1 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 14px center;
	padding: 10px 40px 10px 14px; font-size: 14px; border-radius: 0; color: var(--posh-ink);
}
.posh-products .woocommerce > .woocommerce-notices-wrapper + .woocommerce-result-count,
.posh-toolbar { display: flex; }
.posh-products .woocommerce { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; row-gap: 20px; }
.posh-products .woocommerce > ul.products,
.posh-products .woocommerce > nav,
.posh-products .woocommerce > .woocommerce-notices-wrapper { flex: 0 0 100%; }
.posh-products .woocommerce > .woocommerce-notices-wrapper:empty { display: none; }
.posh-products--no-toolbar .woocommerce-result-count,
.posh-products--no-toolbar .woocommerce-ordering { display: none !important; }
.posh-wc .woocommerce-result-count { display: inline-block; margin-bottom: 24px; }
.posh-wc .woocommerce-ordering { float: right; margin-bottom: 24px; }
.posh-products__empty { color: var(--posh-stone); padding: 32px 0; }

/* Category nav pills */
.posh-catnav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.posh-catnav a {
	padding: 9px 18px; border: 1px solid var(--posh-line-strong); color: var(--posh-ink); text-decoration: none;
	font-size: 13px; font-weight: 500; transition: background-color .2s, color .2s, border-color .2s;
}
.posh-catnav a:hover, .posh-catnav a.is-current { background: var(--posh-ink); border-color: var(--posh-ink); color: #fff; }

/* Pagination */
.woocommerce nav.woocommerce-pagination { margin-top: 56px; text-align: center; }
.woocommerce nav.woocommerce-pagination ul { border: 0; display: inline-flex; gap: 6px; margin: 0; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; overflow: visible; }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
	min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px;
	border: 1px solid var(--posh-line); color: var(--posh-ink); font-size: 14px;
}
.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover { background: var(--posh-ink); color: #fff; border-color: var(--posh-ink); }

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

.woocommerce-message, .woocommerce-info, .woocommerce-error,
.woocommerce-notices-wrapper .wc-block-components-notice-banner {
	border: 0 !important; border-left: 2px solid var(--posh-merlot) !important; background: var(--posh-veil) !important;
	color: var(--posh-ink) !important; padding: 16px 20px 16px 52px !important; margin: 0 0 24px !important; border-radius: 0 !important;
	font-size: 14px; list-style: none;
}
.woocommerce-message::before, .woocommerce-info::before { color: var(--posh-merlot) !important; top: 16px !important; left: 20px !important; }
.woocommerce-error { border-left-color: #A12A2A !important; }
.woocommerce-error::before { color: #A12A2A !important; top: 16px !important; left: 20px !important; }
.woocommerce-message .button, .woocommerce-info .button {
	float: right; padding: 8px 16px !important; font-size: 13px !important; background: var(--posh-ink) !important; color: #fff !important;
}
.woocommerce-message a:not(.button), .woocommerce-info a:not(.button) { color: var(--posh-merlot); }

/* ------------------------------------------------------------------ Forms (shared) */

.woocommerce form .form-row { padding: 0; margin: 0 0 18px; }
.woocommerce form .form-row label { font-size: 13px; font-weight: 500; color: var(--posh-ink); margin-bottom: 6px; line-height: 1.4; }
.woocommerce form .form-row .required { color: var(--posh-merlot); text-decoration: none; }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce .quantity .qty,
.woocommerce-page .select2-container .select2-selection--single,
.woocommerce table.cart td.actions .coupon .input-text,
.woocommerce form .input-text {
	border: 1px solid var(--posh-line-strong); background: #fff; border-radius: 0; padding: 12px 14px; min-height: 48px;
	font-size: 15px; color: var(--posh-ink); box-shadow: none; outline: none; transition: border-color .2s;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus { border-color: var(--posh-ink); }
.select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 22px; padding: 0; color: var(--posh-ink); }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 46px; right: 8px; }
.select2-dropdown { border-color: var(--posh-line-strong); border-radius: 0; }
.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[data-selected] { background: var(--posh-merlot); }
.woocommerce form .form-row.woocommerce-invalid input.input-text { border-color: #A12A2A; }

.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt {
	background: var(--posh-merlot); color: #fff; border: 1px solid var(--posh-merlot); border-radius: 0;
	padding: 14px 28px; font-weight: 500; font-size: 14px; line-height: 1.2; letter-spacing: .02em;
	transition: background-color .25s, border-color .25s, color .25s;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover { background: var(--posh-ink); border-color: var(--posh-ink); color: #fff; }
.woocommerce button.button:disabled, .woocommerce button.button:disabled[disabled],
.woocommerce button.button.alt.disabled { background: var(--posh-merlot); color: #fff; opacity: .45; padding: 14px 28px; }

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

.woocommerce div.product { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); column-gap: clamp(32px, 5vw, 80px); align-items: start; }
.woocommerce div.product > * { grid-column: 1 / -1; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { width: auto !important; float: none !important; margin: 0 !important; grid-column: auto; }
.woocommerce div.product div.images { position: relative; }
.woocommerce div.product div.images .woocommerce-product-gallery__image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.woocommerce div.product div.images .flex-control-thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 10px !important; }
.woocommerce div.product div.images .flex-control-thumbs li { width: auto !important; margin: 0 !important; }
.woocommerce div.product div.images .flex-control-thumbs li img { aspect-ratio: 4 / 5; object-fit: cover; opacity: .55; transition: opacity .2s; }
.woocommerce div.product div.images .flex-control-thumbs li img.flex-active,
.woocommerce div.product div.images .flex-control-thumbs li img:hover { opacity: 1; }
.woocommerce div.product div.images .woocommerce-product-gallery__trigger { background: var(--posh-porc); top: 14px; right: 14px; }

.woocommerce div.product div.summary { position: sticky; top: 120px; padding-top: 8px; }
.woocommerce div.product .product_title { font-size: clamp(40px, 4.2vw, 56px); line-height: 1; margin-bottom: 12px; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--posh-ink); font-size: 20px; font-weight: 400; margin-bottom: 20px; }
.woocommerce div.product p.price ins { text-decoration: none; color: var(--posh-merlot); font-weight: 500; }
.woocommerce div.product p.price del { opacity: .5; }
.woocommerce-product-details__short-description { margin-bottom: 24px; }
.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 8px; }
.woocommerce div.product form.cart.variations_form { display: block; }
.woocommerce div.product form.cart div.quantity { float: none; margin: 0; }
.woocommerce .quantity .qty { width: 76px; text-align: center; height: 52px; }
.woocommerce div.product form.cart .button { flex: 1; min-height: 52px; float: none; }
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart { display: flex; gap: 12px; }
.woocommerce div.product form.cart .variations { margin-bottom: 16px; }
.woocommerce div.product form.cart .variations th, .woocommerce div.product form.cart .variations td { display: block; padding: 0; text-align: left; line-height: 1.4; }
.woocommerce div.product form.cart .variations label { font-weight: 500; color: var(--posh-ink); font-size: 13px; margin-bottom: 6px; display: block; }
.woocommerce div.product form.cart .variations select { min-width: 100%; height: 50px; border: 1px solid var(--posh-line-strong); padding: 0 14px; background: #fff; border-radius: 0; margin-bottom: 8px; }
.woocommerce div.product form.cart .reset_variations { font-size: 13px; color: var(--posh-stone); }
.woocommerce div.product .stock { font-size: 13px; color: var(--posh-stone) !important; }
.woocommerce div.product .product_meta { font-size: 13px; color: var(--posh-stone); border-top: 1px solid var(--posh-line); padding-top: 16px; margin-top: 20px; }
.woocommerce div.product .product_meta > span { display: block; }
.woocommerce div.product .product_meta a { color: var(--posh-text); }

.woocommerce div.product .woocommerce-tabs { margin-top: clamp(56px, 8vw, 96px); }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 28px; border-bottom: 1px solid var(--posh-line); display: flex; gap: 32px; overflow-x: auto; }
.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 { background: none; border: 0; margin: 0; padding: 0; border-radius: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 14px 0; font-weight: 500; font-size: 14px; color: var(--posh-stone); white-space: nowrap; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--posh-ink); box-shadow: inset 0 -2px 0 var(--posh-merlot); }
.woocommerce div.product .woocommerce-tabs .panel { max-width: 760px; }
.woocommerce div.product .woocommerce-tabs .panel > h2:first-child { display: none; }
.woocommerce table.shop_attributes { border-top-color: var(--posh-line); }
.woocommerce table.shop_attributes th, .woocommerce table.shop_attributes td { border-bottom-color: var(--posh-line); padding: 12px; font-style: normal; }

.posh-product-extras { margin-top: 48px; }
.posh-product-extras:empty { display: none; }
.related.products, .upsells.products { margin-top: clamp(56px, 8vw, 96px); }
.related.products > h2, .upsells.products > h2, .cross-sells > h2 { font-size: clamp(34px, 3.6vw, 44px); margin-bottom: 28px; }

@media (max-width: 900px) {
	.woocommerce div.product { grid-template-columns: minmax(0, 1fr); }
	.woocommerce div.product div.summary { position: static; padding-top: 28px; }
}

/* ------------------------------------------------------------------ Mini cart */

.posh-mini-cart { padding: 8px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.posh-mini-cart .widget_shopping_cart_content { display: flex; flex-direction: column; flex: 1; }
.posh-mini-cart ul.woocommerce-mini-cart { list-style: none; margin: 0; padding: 0; }
.posh-mini-cart .woocommerce-mini-cart-item {
	position: relative; display: block; padding: 18px 28px 18px 88px !important; min-height: 116px; border-bottom: 1px solid var(--posh-line); font-size: 14px;
}
.posh-mini-cart .woocommerce-mini-cart-item a:not(.remove) { color: var(--posh-ink); text-decoration: none; font-family: var(--posh-display); font-size: 20px; line-height: 1.3; display: block; }
.posh-mini-cart .woocommerce-mini-cart-item img { position: absolute; left: 0; top: 18px; width: 72px !important; height: 90px; object-fit: cover; margin: 0 !important; float: none !important; }
.posh-mini-cart .woocommerce-mini-cart-item .remove { position: absolute; right: 0; top: 18px; left: auto !important; color: var(--posh-stone) !important; font-size: 20px; width: 20px; height: 20px; line-height: 18px; }
.posh-mini-cart .woocommerce-mini-cart-item .remove:hover { background: none !important; color: var(--posh-merlot) !important; }
.posh-mini-cart .woocommerce-mini-cart-item .quantity { color: var(--posh-stone); font-size: 13px; }
.posh-mini-cart .woocommerce-mini-cart__total { display: flex; justify-content: space-between; padding: 20px 0 16px; margin: 0; font-size: 15px; color: var(--posh-ink); }
.posh-mini-cart .woocommerce-mini-cart__buttons { display: grid; gap: 10px; margin: 0; }
.posh-mini-cart .woocommerce-mini-cart__buttons .button { width: 100%; margin: 0 !important; text-align: center; }
.posh-mini-cart .woocommerce-mini-cart__buttons .button:not(.checkout) { background: transparent; color: var(--posh-ink); border-color: var(--posh-line-strong); }
.posh-mini-cart .woocommerce-mini-cart__buttons .button:not(.checkout):hover { background: var(--posh-ink); color: #fff; }
.posh-mini-cart .woocommerce-mini-cart__empty-message, .posh-mini-cart__empty { padding: 32px 0; color: var(--posh-stone); text-align: center; }

/* Free delivery bar */
.posh-free-bar { padding: 16px 0 18px; border-bottom: 1px solid var(--posh-line); margin-bottom: 4px; }
.posh-free-bar p { margin: 0 0 8px; font-size: 13px; color: var(--posh-ink); }
.posh-free-bar__track { display: block; height: 3px; background: var(--posh-veil); }
.posh-free-bar__track span { display: block; height: 100%; background: var(--posh-merlot); transition: width .5s var(--posh-ease); }
.woocommerce-cart-form .posh-free-bar, .woocommerce .posh-free-bar { max-width: 480px; border: 0; }

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

.woocommerce-cart .woocommerce { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: start; }
.woocommerce-cart .woocommerce > .woocommerce-notices-wrapper,
.woocommerce-cart .woocommerce > .posh-free-bar,
.woocommerce-cart .woocommerce > .cart-empty,
.woocommerce-cart .woocommerce > .return-to-shop,
.woocommerce-cart .woocommerce > .wc-empty-cart-message { grid-column: 1 / -1; }
.woocommerce-cart .cart-collaterals { width: auto; }
.woocommerce-cart .cart-collaterals .cart_totals { width: 100% !important; float: none; background: var(--posh-veil); padding: 28px; }
.woocommerce-cart .cart-collaterals .cross-sells { display: none; }
@media (max-width: 1024px) { .woocommerce-cart .woocommerce { grid-template-columns: minmax(0, 1fr); } }

.woocommerce table.shop_table { border: 0; border-radius: 0; border-collapse: collapse; margin: 0 0 24px; }
.woocommerce table.shop_table th { font-weight: 500; font-size: 13px; color: var(--posh-stone); padding: 12px 10px; border-bottom: 1px solid var(--posh-line); }
.woocommerce table.shop_table td { border-top: 0; border-bottom: 1px solid var(--posh-line); padding: 20px 10px; color: var(--posh-ink); }
.woocommerce table.cart img { width: 84px; aspect-ratio: 4 / 5; object-fit: cover; }
.woocommerce table.cart .product-name a { color: var(--posh-ink); font-family: var(--posh-display); font-size: 22px; text-decoration: none; }
.woocommerce table.cart .product-name .variation { font-size: 13px; color: var(--posh-stone); }
.woocommerce a.remove { color: var(--posh-stone) !important; font-weight: 300; font-size: 22px; }
.woocommerce a.remove:hover { background: none; color: var(--posh-merlot) !important; }
.woocommerce table.cart td.actions { padding-top: 24px; }
.woocommerce table.cart td.actions .coupon { display: flex; gap: 8px; }
.woocommerce table.cart td.actions .coupon .input-text { width: 200px; margin: 0; }
.woocommerce table.cart td.actions .button { padding: 13px 22px; white-space: nowrap; }
.woocommerce table.cart td.actions > .button { background: transparent; color: var(--posh-ink); border-color: var(--posh-line-strong); }
.woocommerce table.cart td.actions > .button:hover { background: var(--posh-ink); color: #fff; }
.cart_totals h2 { font-size: 32px; margin-bottom: 12px; }
.cart_totals table.shop_table th, .cart_totals table.shop_table td { padding: 14px 0; background: none; }
.cart_totals .order-total td, .cart_totals .order-total th { font-size: 17px; color: var(--posh-ink); }
.wc-proceed-to-checkout { padding: 20px 0 0 !important; }
.wc-proceed-to-checkout .checkout-button { width: 100%; font-size: 15px !important; padding: 18px !important; margin: 0 !important; }
.woocommerce-shipping-calculator .shipping-calculator-button { color: var(--posh-merlot); font-size: 13px; }
.woocommerce ul#shipping_method li { font-size: 14px; }
.cart-empty.woocommerce-info { font-family: var(--posh-display); font-size: 26px !important; }
.return-to-shop .button { margin-top: 8px; }

@media (max-width: 767px) {
	.woocommerce table.shop_table_responsive tr, .woocommerce-page table.shop_table_responsive tr { border-bottom: 1px solid var(--posh-line); }
	.woocommerce table.shop_table_responsive tr td { border: 0; padding: 8px 0; background: none !important; }
	.woocommerce table.cart td.actions .coupon { flex-direction: column; }
	.woocommerce table.cart td.actions .coupon .input-text { width: 100% !important; }
}

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

.woocommerce-checkout form.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 440px; column-gap: 56px; align-items: start; }
.woocommerce-checkout form.checkout > * { grid-column: 1; }
.woocommerce-checkout form.checkout > #order_review_heading,
.woocommerce-checkout form.checkout > #order_review { grid-column: 2; }
.woocommerce-checkout form.checkout > #order_review_heading { grid-row: 1; margin: 0; padding: 28px 28px 0; background: var(--posh-veil); font-size: 32px; }
.woocommerce-checkout form.checkout > #order_review { grid-row: 2 / span 20; background: var(--posh-veil); padding: 12px 28px 28px; position: sticky; top: 120px; }
.woocommerce-checkout form.checkout > #customer_details { grid-row: 1 / span 30; }
.woocommerce-checkout .col2-set { width: 100%; }
.woocommerce-checkout .col2-set .col-1, .woocommerce-checkout .col2-set .col-2 { float: none; width: 100%; }
.woocommerce-checkout h3 { font-size: 32px; margin: 8px 0 20px; }
.woocommerce-checkout #order_review table.shop_table td, .woocommerce-checkout #order_review table.shop_table th { padding: 12px 0; background: none; }
.woocommerce-checkout #order_review .order-total { font-size: 17px; }
.woocommerce-checkout #payment { background: transparent !important; border-radius: 0 !important; }
.woocommerce-checkout #payment ul.payment_methods { padding: 0 0 16px !important; border-bottom: 1px solid var(--posh-line) !important; }
.woocommerce-checkout #payment ul.payment_methods li { padding: 8px 0; font-size: 14px; }
.woocommerce-checkout #payment div.payment_box { background: #fff !important; color: var(--posh-text) !important; border-radius: 0; font-size: 13px; }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: #fff !important; }
.woocommerce-checkout #payment div.form-row { padding: 16px 0 0 !important; }
.woocommerce-checkout #place_order { width: 100%; float: none; padding: 18px; font-size: 15px; }
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper { font-size: 13px; }
.woocommerce-checkout .posh-secure, .posh-secure { width: 100% !important; clear: both; flex-wrap: nowrap; display: flex; align-items: center; justify-content: center; gap: 8px; margin: 14px 0 0; font-size: 12px; color: var(--posh-stone); }
.woocommerce-form-coupon-toggle, .woocommerce-form-login-toggle { grid-column: 1 / -1; }
.woocommerce form.checkout_coupon, .woocommerce form.login, .woocommerce form.register {
	border: 1px solid var(--posh-line); border-radius: 0; padding: 24px; margin: 0 0 24px;
}
@media (max-width: 1024px) {
	.woocommerce-checkout form.checkout { grid-template-columns: minmax(0, 1fr); }
	.woocommerce-checkout form.checkout > #order_review_heading,
	.woocommerce-checkout form.checkout > #order_review,
	.woocommerce-checkout form.checkout > #customer_details { grid-column: 1; grid-row: auto; position: static; }
}

/* Order received */
.woocommerce-order .woocommerce-thankyou-order-received { font-family: var(--posh-display); font-size: 34px; color: var(--posh-ink); margin-bottom: 24px; }
.woocommerce ul.order_details { display: flex; flex-wrap: wrap; gap: 0; margin: 0 0 40px; padding: 0; }
.woocommerce ul.order_details li { border-right: 1px solid var(--posh-line); padding: 12px 24px 12px 0; margin-right: 24px; font-size: 12px; color: var(--posh-stone); }
.woocommerce ul.order_details li strong { font-size: 15px; color: var(--posh-ink); margin-top: 4px; }
.woocommerce .woocommerce-customer-details address { border: 1px solid var(--posh-line); border-radius: 0; padding: 20px; font-style: normal; }

/* ------------------------------------------------------------------ My account */

.woocommerce-account .woocommerce { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start; }
.woocommerce-account .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.woocommerce-account:not(.logged-in) .woocommerce { display: block; max-width: 980px; margin: 0 auto; }
.woocommerce-account .woocommerce-MyAccount-navigation, .woocommerce-account .woocommerce-MyAccount-content { width: auto; float: none; }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--posh-line); }
.woocommerce-MyAccount-navigation li { border-bottom: 1px solid var(--posh-line); }
.woocommerce-MyAccount-navigation li a { display: block; padding: 14px 0; color: var(--posh-text); text-decoration: none; font-size: 14px; }
.woocommerce-MyAccount-navigation li.is-active a, .woocommerce-MyAccount-navigation li a:hover { color: var(--posh-merlot); font-weight: 500; }
.woocommerce-account .u-columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.woocommerce-account .u-columns .col-1, .woocommerce-account .u-columns .col-2 { width: auto; float: none; }
.woocommerce-account .u-columns h2 { font-size: 34px; }
.woocommerce form.login, .woocommerce form.register { background: #fff; }
.woocommerce-LostPassword a, .lost_password a { font-size: 13px; color: var(--posh-merlot); }
@media (max-width: 900px) {
	.woocommerce-account .woocommerce, .woocommerce-account .u-columns { grid-template-columns: minmax(0, 1fr); }
}

/* Order tracking */
.woocommerce form.track_order { border: 1px solid var(--posh-line); padding: 28px; background: #fff; }
.woocommerce form.track_order p:first-child { margin-top: 0; }
.woocommerce form.track_order .form-row-first, .woocommerce form.track_order .form-row-last { width: 100%; float: none; }

/* Wishlist */
.posh-wishlist__empty { text-align: center; padding: 48px 0; }
.posh-wishlist__empty p { font-family: var(--posh-display); font-size: 28px; color: var(--posh-ink); max-width: 22em; margin: 0 auto 20px; }

/* Star ratings */
.woocommerce .star-rating span, .woocommerce p.stars a { color: var(--posh-merlot); }

/* Password strength meter: reserve its space so the Register / Save button never
   jumps when the meter appears (the jump made the first click miss the button). */
.woocommerce form .form-row:has(> .password-input),
.woocommerce form .form-row:has(input[type="password"]#reg_password),
.woocommerce form .form-row:has(input[type="password"]#account_password),
.woocommerce form .form-row:has(input[type="password"]#password_1) { position: relative; padding-bottom: 40px; }
.woocommerce .woocommerce-password-strength {
	position: absolute; left: 0; right: 0; bottom: 4px; margin: 0; padding: 6px 10px;
	font-size: 12px; font-weight: 500; line-height: 1.4; text-align: left; border: 0;
}
.woocommerce .woocommerce-password-strength.strong { background: #e6f2ea; color: #1b5e33; }
.woocommerce .woocommerce-password-strength.good { background: #fdf3dc; color: #7a5300; }
.woocommerce .woocommerce-password-strength.short,
.woocommerce .woocommerce-password-strength.bad { background: #fbe7e7; color: #8f1d1d; }
.woocommerce .woocommerce-password-hint { display: block; margin-top: 6px; font-size: 12px; color: var(--posh-stone); }

/* WooCommerce adds clearfix ::before/::after boxes to these wrappers. In a CSS grid
   they become real grid cells and push the content into the wrong columns
   (seen on My Account when logged in). The theme's layouts don't use floats. */
.woocommerce-account .woocommerce::before, .woocommerce-account .woocommerce::after,
.woocommerce-cart .woocommerce::before, .woocommerce-cart .woocommerce::after,
.woocommerce-checkout form.checkout::before, .woocommerce-checkout form.checkout::after,
.woocommerce div.product::before, .woocommerce div.product::after,
.woocommerce-account .u-columns::before, .woocommerce-account .u-columns::after { content: none !important; display: none !important; }

/* "Ship to a different address?" is a checkbox, not a section title. */
.woocommerce-checkout #ship-to-different-address { margin: 8px 0 18px; font-family: var(--posh-sans); font-size: 15px; font-weight: 500; line-height: 1.4; letter-spacing: 0; color: var(--posh-ink); }
.woocommerce-checkout #ship-to-different-address label { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.woocommerce-checkout #ship-to-different-address input[type="checkbox"],
.woocommerce form .form-row input[type="checkbox"] { width: 18px; height: 18px; margin: 0; accent-color: var(--posh-merlot); flex: 0 0 auto; }
.woocommerce-checkout .woocommerce-terms-and-conditions-checkbox-text { vertical-align: middle; }

/* Pay for order (order-pay endpoint) — same look as the checkout summary. */
.woocommerce-order-pay form#order_review { max-width: 760px; margin: 0 auto; background: var(--posh-veil); padding: 28px clamp(18px, 4vw, 36px) 32px; }
.woocommerce-order-pay form#order_review table.shop_table th, .woocommerce-order-pay form#order_review table.shop_table td { background: none; padding: 12px 0; }
.woocommerce-order-pay #payment { background: transparent !important; }
.woocommerce-order-pay #payment div.payment_box { background: #fff !important; color: var(--posh-text) !important; font-size: 13px; }
.woocommerce-order-pay #payment div.payment_box::before { border-bottom-color: #fff !important; }
.woocommerce-order-pay #place_order { width: 100%; }
.woocommerce input[type="radio"], .woocommerce-page input[type="radio"] { accent-color: var(--posh-merlot); }

/* ==================================================================
 * Responsive pass (2.2.4)
 * ================================================================== */

/* Shop headings: sized here, not by Elementor's site-wide H1/H2 sizes. */
body.posh .posh-shop-head__title { font-size: clamp(42px, 6vw, 64px); line-height: 1.02; }
body.posh.woocommerce div.product .product_title { font-size: clamp(40px, 4.2vw, 56px); line-height: 1.02; }
body.posh .related.products > h2, body.posh .upsells.products > h2, body.posh .cross-sells > h2 { font-size: clamp(34px, 3.6vw, 44px); }
body.posh .cart_totals h2, body.posh.woocommerce-checkout form.checkout > #order_review_heading, body.posh.woocommerce-checkout h3 { font-size: 32px; line-height: 1.1; }
body.posh.woocommerce-account .u-columns h2, body.posh .woocommerce-order-details__title, body.posh .woocommerce-column__title, body.posh .woocommerce-customer-details h2 { font-size: 30px; line-height: 1.1; }
body.posh .woocommerce-order .woocommerce-thankyou-order-received { font-size: 34px; line-height: 1.15; }

@media (max-width: 1024px) {
	/* Filters come after the products on tablets and phones. */
	.posh-wc--sidebar { gap: 40px; }
	.posh-wc--sidebar > .posh-wc__main { order: 1; }
	.posh-wc--sidebar > .posh-wc__sidebar { order: 2; border-top: 1px solid var(--posh-line); padding-top: 32px; }
	.posh-wc__sidebar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
	.posh-wc__sidebar h2, .posh-wc__sidebar .wp-block-heading { font-family: var(--posh-sans); font-size: 14px !important; font-weight: 500; margin-bottom: 12px; }
	body.posh.woocommerce div.product .product_title { font-size: 40px; }
	.woocommerce div.product div.summary { padding-top: 28px; }
}

@media (max-width: 767px) {
	.posh-wc { padding-top: 20px; }
	.posh-wc__sidebar { grid-template-columns: minmax(0, 1fr); }
	body.posh .posh-shop-head__title { font-size: clamp(34px, 10vw, 42px); }
	.posh-shop-head { padding: 12px 0 4px; }
	/* Count and sorting on one tidy row */
	.posh-wc .woocommerce-result-count { margin-bottom: 18px; line-height: 42px; }
	.posh-wc .woocommerce-ordering { margin-bottom: 18px; max-width: 58%; }
	.posh-wc .woocommerce-ordering select { width: 100%; font-size: 14px !important; }
	.posh-wc ul.products, .related ul.products, .upsells ul.products { gap: 28px 12px !important; }
	.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 18px; }
	.woocommerce ul.products li.product .button { padding: 10px 12px; font-size: 12.5px; white-space: normal; text-align: center; }

	/* Product page */
	body.posh.woocommerce div.product .product_title { font-size: clamp(30px, 8.6vw, 36px); line-height: 1.08; }
	.woocommerce div.product p.price, .woocommerce div.product span.price { font-size: 19px; margin-bottom: 14px; }
	.woocommerce div.product div.images .flex-control-thumbs { gap: 6px; }
	.woocommerce div.product .woocommerce-tabs ul.tabs { display: flex; flex-wrap: wrap; gap: 0 20px; overflow: visible; }
	.woocommerce div.product .woocommerce-tabs ul.tabs li { margin: 0 !important; }
	body.posh .related.products > h2, body.posh .upsells.products > h2 { font-size: 30px; margin-bottom: 20px; }
	.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; gap: 10px; }
	.woocommerce div.product form.cart .single_add_to_cart_button { flex: 1 1 160px; }

	/* Bag: each item becomes a card (picture | name, price, quantity, total). */
	body.posh .cart_totals h2, body.posh.woocommerce-checkout form.checkout > #order_review_heading, body.posh.woocommerce-checkout h3 { font-size: 26px; }
	.woocommerce-cart .woocommerce { gap: 32px; }
	.woocommerce-cart .cart-collaterals .cart_totals { padding: 22px 18px; }
	.woocommerce-cart-form table.shop_table.cart { display: block; }
	.woocommerce-cart-form table.shop_table.cart thead { display: none; }
	.woocommerce-cart-form table.shop_table.cart tbody { display: block; }
	.woocommerce-cart-form table.shop_table.cart tr.cart_item {
		display: grid; grid-template-columns: 84px minmax(0, 1fr) 28px; column-gap: 14px; row-gap: 4px;
		padding: 18px 0; border-bottom: 1px solid var(--posh-line);
	}
	.woocommerce-cart-form table.shop_table.cart tr.cart_item td { display: block; padding: 0 !important; border: 0 !important; text-align: left !important; background: none !important; }
	.woocommerce-cart-form table.shop_table.cart tr.cart_item td::before { display: none; }
	.woocommerce-cart-form table.shop_table.cart td.product-thumbnail { grid-column: 1; grid-row: 1 / span 4; display: block !important; }
	.woocommerce-cart-form table.shop_table.cart td.product-thumbnail img { width: 84px; height: auto; }
	.woocommerce-cart-form table.shop_table.cart td.product-remove { grid-column: 3; grid-row: 1; text-align: right !important; }
	.woocommerce-cart-form table.shop_table.cart td.product-name { grid-column: 2; grid-row: 1; }
	.woocommerce-cart-form table.shop_table.cart td.product-name a { font-size: 20px; line-height: 1.2; }
	.woocommerce-cart-form table.shop_table.cart td.product-price,
	.woocommerce-cart-form table.shop_table.cart td.product-quantity,
	.woocommerce-cart-form table.shop_table.cart td.product-subtotal { grid-column: 2 / span 2; display: flex !important; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; }
	.woocommerce-cart-form table.shop_table.cart tr.cart_item td.product-price::before,
	.woocommerce-cart-form table.shop_table.cart tr.cart_item td.product-quantity::before,
	.woocommerce-cart-form table.shop_table.cart tr.cart_item td.product-subtotal::before { content: attr(data-title); display: block; float: none; font-size: 12px; font-weight: 500; color: var(--posh-stone); }
	.woocommerce-cart-form table.shop_table.cart td.product-quantity { margin: 6px 0; }
	.woocommerce-cart-form table.shop_table.cart td.product-quantity .quantity .qty { width: 64px; height: 40px; }
	.woocommerce-cart-form table.shop_table.cart td.product-subtotal { color: var(--posh-ink); font-weight: 500; }
	.woocommerce-cart-form table.shop_table.cart tr:not(.cart_item) { display: block; }
	.woocommerce-cart-form table.shop_table.cart td.actions { display: block; padding: 20px 0 0 !important; border: 0; }
	.woocommerce table.cart td.actions .coupon { float: none; width: 100%; margin-bottom: 10px; }
	.woocommerce table.cart td.actions .coupon .button { width: 100%; }
	.woocommerce table.cart td.actions > .button { width: 100%; float: none; }
	.woocommerce-cart .posh-free-bar { max-width: none; }

	/* Checkout */
	.woocommerce-checkout form.checkout > #order_review_heading { padding: 22px 18px 0; }
	.woocommerce-checkout form.checkout > #order_review { padding: 8px 18px 22px; }
	.woocommerce-checkout #order_review table.shop_table td.product-name { padding-right: 12px; }
	.woocommerce-checkout #order_review table.shop_table td.product-total { text-align: right; white-space: nowrap; }
	.woocommerce-checkout #order_review table.shop_table tfoot td { text-align: right; }
	.woocommerce form.checkout_coupon, .woocommerce form.login, .woocommerce form.register { padding: 18px; }

	/* Account and order pages */
	body.posh.woocommerce-account .u-columns h2, body.posh .woocommerce-order-details__title, body.posh .woocommerce-column__title, body.posh .woocommerce-customer-details h2 { font-size: 24px; }
	body.posh .woocommerce-order .woocommerce-thankyou-order-received { font-size: 26px; }
	.woocommerce ul.order_details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
	.woocommerce ul.order_details li { border: 0; margin: 0; padding: 0; float: none; }
	.woocommerce-account table.shop_table, .woocommerce-order table.shop_table { font-size: 14px; }
}

/* Related / you-may-also-like: 2 × 2 on tablets instead of 3 + 1. */
@media (max-width: 1024px) and (min-width: 768px) {
	.related ul.products, .upsells ul.products { --posh-cols: 2; }
}
