/* ---------------------------------------------------------------
   Global mobile overflow prevention
   --------------------------------------------------------------- */
html {
	overflow-x: hidden;
}

body {
	overflow-x: hidden;
	max-width: 100vw;
}

/* Prevent any element from blowing past viewport width */
.cherubin-container,
.container,
#cherubin-site,
#cherubin-header,
#cherubin-footer,
.woocommerce,
.woocommerce-page,
.cherubin-footer__inner,
.cherubin-footer__bottom {
	max-width: 100%;
	min-width: 0;
}

.woocommerce,
.blog,
.archive,
.single-post {
	--cherubin-card-bg: rgba(255, 255, 255, 0.88);
	--cherubin-card-border: 1px solid rgba(35, 33, 33, 0.08);
	--cherubin-card-shadow: 0 20px 55px rgba(35, 33, 33, 0.08);
	--cherubin-card-radius: 28px;
	--cherubin-soft-bg: linear-gradient(180deg, #fffaf6 0%, #f7efe7 100%);
}

.woocommerce-page #main,
.blog #main,
.archive #main,
.single-post #main {
	padding-top: 24px;
	padding-bottom: 48px;
}

.woocommerce-page .main-title-section-wrapper {
	margin: 18px auto 14px;
	padding: 0 24px;
	background: transparent;
}

.woocommerce-page .main-title-section-wrapper > .main-title-section-bg,
.woocommerce-page .main-title-section-wrapper > .main-title-section-bg:after,
.woocommerce-page #header-wrapper .main-title-section-wrapper:after {
	display: none;
}

.woocommerce-page .main-title-section-container {
	min-height: auto;
	padding: 0;
	overflow: visible;
}

.woocommerce-page .main-title-section-wrapper .container {
	padding: 18px 22px 28px;
	background: rgba(255, 250, 246, 0.92);
	border: 1px solid rgba(35, 33, 33, 0.08);
	border-radius: 24px;
	box-shadow: 0 12px 28px rgba(35, 33, 33, 0.06);
}

.woocommerce-page .main-title-section {
	margin-bottom: 6px;
}

.woocommerce-page .main-title-section h1 {
	font-size: clamp(1.7rem, 2.8vw, 2.4rem);
	line-height: 1.08;
	margin: 0;
}

.woocommerce-page .breadcrumb {
	font-size: 0.92rem;
	line-height: 1.5;
	position: static;
	padding-bottom: 0;
}

.woocommerce-page .breadcrumb a,
.woocommerce-page .breadcrumb span.current,
.woocommerce-page .breadcrumb span:not(.current) {
	color: #6e5a4d;
}

.woocommerce-page .breadcrumb:after {
	display: none;
}

.single-product .main-title-section-wrapper {
	margin-bottom: 10px;
}

.single-product .main-title-section-wrapper .container {
	padding: 16px 20px 22px;
}

.single-product .main-title-section {
	margin-bottom: 4px;
}

.single-product .main-title-section h1 {
	font-size: clamp(1.55rem, 2.4vw, 2.15rem);
	line-height: 1.08;
}

.single-product .breadcrumb {
	font-size: 0.88rem;
	line-height: 1.45;
}

.cherubin-web-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
	gap: 24px;
	margin: 0 0 28px;
	padding: 30px;
	background:
		radial-gradient(circle at top right, rgba(221, 183, 141, 0.22), transparent 38%),
		linear-gradient(180deg, rgba(255, 250, 246, 0.96) 0%, rgba(246, 236, 226, 0.92) 100%);
	border: 1px solid rgba(35, 33, 33, 0.08);
	border-radius: 32px;
	box-shadow: 0 20px 55px rgba(35, 33, 33, 0.08);
	align-items: center;
}

.cherubin-web-hero--cart,
.cherubin-web-hero--checkout {
	padding: 22px 24px;
	border-radius: 26px;
}

.cherubin-web-hero--cart h1,
.cherubin-web-hero--checkout h1 {
	font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.cherubin-web-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 14px;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #8a5d7a;
}

.cherubin-web-hero h1 {
	margin: 0 0 14px;
	font-size: clamp(2rem, 4vw, 3.4rem);
	line-height: 1.02;
}

.cherubin-web-hero p {
	margin: 0;
	max-width: 62ch;
	font-size: 1.05rem;
	line-height: 1.7;
}

.cherubin-web-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 22px;
}

/* Icon spacing inside buttons */
.button i[class*="fa-"],
.cherubin-home__button i[class*="fa-"],
a.button i[class*="fa-"] {
	margin-right: 6px;
	font-size: 0.9em;
}

.cherubin-web-actions .button,
.cherubin-web-actions .button-secondary {
	border-radius: 999px;
	min-height: 46px;
	padding: 10px 20px;
	font-weight: 600;
}

.cherubin-web-actions .button-secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: 1px solid rgba(35, 33, 33, 0.12);
	color: #3a2d27;
}

.cherubin-web-hero__meta,
.cherubin-web-note-grid {
	display: grid;
	gap: 12px;
}

.cherubin-web-pill,
.cherubin-web-note {
	display: grid;
	gap: 6px;
	padding: 16px 18px;
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid rgba(35, 33, 33, 0.08);
	border-radius: 20px;
}

.cherubin-web-note strong,
.cherubin-web-pill {
	font-size: 0.95rem;
	font-weight: 700;
}

.cherubin-web-note span {
	font-size: 0.95rem;
	line-height: 1.55;
}

.cherubin-shop-sections {
	display: grid;
	gap: 30px;
	margin: 0 0 36px;
}

.cherubin-shop-sections__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.cherubin-shop-sections__chips a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 10px 16px;
	background: #fff;
	border: 1px solid rgba(35, 33, 33, 0.08);
	border-radius: 999px;
	color: #3a2d27;
	font-weight: 600;
}

.cherubin-shop-section {
	display: grid;
	gap: 18px;
	padding: 26px;
	background: rgba(255, 250, 246, 0.76);
	border: 1px solid rgba(35, 33, 33, 0.08);
	border-radius: 28px;
}

.cherubin-shop-section__head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 16px;
	align-items: end;
}

.cherubin-shop-section__head h2 {
	margin: 0 0 8px;
	font-size: clamp(1.45rem, 2.5vw, 2rem);
	line-height: 1.12;
}

.cherubin-shop-section__head p {
	margin: 0;
	max-width: 62ch;
}

.cherubin-product-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.cherubin-product-card {
	display: grid;
	background: rgba(255, 255, 255, 0.94);
	border: 1px solid rgba(35, 33, 33, 0.08);
	border-radius: 24px;
	overflow: hidden;
}

.cherubin-product-card__image img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.cherubin-product-card__body {
	display: grid;
	gap: 10px;
	padding: 18px;
}

.cherubin-product-card__meta,
.cherubin-product-card__meta a {
	font-size: 0.82rem;
	line-height: 1.5;
	color: #8a5d7a;
}

.cherubin-product-card h3 {
	margin: 0;
	font-size: 1.05rem;
	line-height: 1.28;
}

.cherubin-product-card__price {
	font-weight: 700;
}

.woocommerce .products li.product .product-wrapper,
.woocommerce .products li.product .product-details,
.woocommerce .products li.product .product-thumb,
.blog .tpl-blog-holder > div > article,
.archive .tpl-blog-holder > div > article,
.single-post .post-single-entry,
.single-post .commententries,
.woocommerce-cart .cart-collaterals,
.woocommerce-cart .woocommerce-cart-form,
.woocommerce-checkout form.checkout,
.woocommerce-checkout .woocommerce-checkout-header,
.woocommerce-checkout #payment,
.woocommerce div.product div.summary,
.woocommerce div.product div.images,
.woocommerce div.product .woocommerce-tabs,
.woocommerce div.product .related.products,
.woocommerce div.product .upsells.products {
	background: var(--cherubin-card-bg);
	border: var(--cherubin-card-border);
	box-shadow: var(--cherubin-card-shadow);
	border-radius: var(--cherubin-card-radius);
}

.woocommerce .products li.product .product-wrapper,
.blog .tpl-blog-holder > div > article,
.archive .tpl-blog-holder > div > article,
.single-post .post-single-entry,
.single-post .commententries,
.woocommerce div.product .woocommerce-tabs,
.woocommerce div.product .related.products,
.woocommerce div.product .upsells.products {
	overflow: hidden;
}

.woocommerce ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	column-gap: 24px;
	row-gap: 28px;
	margin-left: 0;
	margin-right: 0;
}

.woocommerce ul.products li.product,
.woocommerce ul.products:not([style*="height"]) li.product {
	display: block !important;
	float: none !important;
	width: 100% !important;
	margin: 0 !important;
}

.woocommerce ul.products li.product .wdt-col {
	width: 100% !important;
	padding: 0 !important;
}

.woocommerce ul.products li.isotope-grid-sizer {
	display: none !important;
}

.woocommerce-page #primary.content-full-width {
	width: 100%;
}

.woocommerce-page .product-loop-filters-area-group,
.woocommerce-page .product-loop-filters-area-content,
.woocommerce-page .product-display-controller,
.woocommerce-page .woocommerce-ordering,
.woocommerce-page .woocommerce-result-count {
	border-radius: 18px;
}

.woocommerce-page .product-loop-filters-area-group,
.woocommerce-page .product-loop-filters-area-content {
	margin-bottom: 16px;
	background: rgba(255, 250, 246, 0.86);
	border: 1px solid rgba(35, 33, 33, 0.08);
}

.woocommerce-page .product-loop-filters-area-title {
	padding: 14px 18px;
	font-size: 0.95rem;
	font-weight: 700;
}

.woocommerce-page .product-loop-filters-area-content-inner {
	padding: 0 18px 18px;
}

.woocommerce-page .widget_price_filter .price_slider_wrapper,
.woocommerce-page .widget_product_categories {
	padding: 0;
}

.woocommerce .products li.product .product-details {
	padding: 22px;
}

.woocommerce .products li.product .product-title h5,
.woocommerce .products li.product .product-title h5 a {
	font-size: 1.15rem;
	line-height: 1.35;
}

.woocommerce .products li.product .price {
	font-size: 1.05rem;
	font-weight: 700;
}

.woocommerce div.product {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(340px, 0.92fr);
	gap: 28px;
	align-items: start;
}

.single-product #primary.content-full-width {
	width: 100%;
}

.single-product .woocommerce-notices-wrapper {
	margin-bottom: 14px;
}

.woocommerce div.product div.images,
.woocommerce div.product div.summary {
	padding: 28px;
	align-self: start;
}

.woocommerce div.product div.summary {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 18px 22px;
}

.woocommerce div.product div.summary > .product_title,
.woocommerce div.product div.summary > .entry-title,
.woocommerce div.product div.summary > .price,
.woocommerce div.product div.summary > .woocommerce-product-details__short-description,
.woocommerce div.product div.summary > form.cart,
.woocommerce div.product div.summary > form.variations_form.cart {
	grid-column: 1 / -1;
}

.woocommerce div.product div.images img {
	border-radius: 22px;
}

.woocommerce div.product div.images {
	position: sticky;
	top: 24px;
}

.single-product .featured-tag {
	display: none;
}

.single-product .woocommerce-product-gallery .onsale {
	top: 16px;
	left: 16px;
	right: auto;
	border-radius: 999px;
	padding: 6px 12px;
	min-height: auto;
	line-height: 1.2;
}

.single-product .flex-control-thumbs {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	margin-top: 12px;
}

.single-product .flex-control-thumbs li {
	width: auto !important;
	float: none !important;
	margin: 0 !important;
}

.single-product .flex-control-thumbs img {
	border-radius: 14px;
	border: 1px solid rgba(35, 33, 33, 0.08);
}

.woocommerce div.product .summary .product_title {
	font-size: clamp(1.9rem, 2.8vw, 2.7rem);
	line-height: 1.02;
	margin-top: 30px;
	margin-bottom: 8px;
	overflow-wrap: anywhere;
}

.woocommerce div.product .summary .entry-title {
	font-size: clamp(1.9rem, 2.8vw, 2.7rem);
	line-height: 1.02;
}

.woocommerce div.product .summary .price {
	font-size: 1.3rem;
	margin-bottom: 12px;
	padding-bottom: 14px;
	border-bottom: 1px solid rgba(35, 33, 33, 0.08);
}

.woocommerce div.product div.summary .variations_form table.variations {
	margin-bottom: 18px;
}

.woocommerce div.product div.summary .variations_form table.variations td,
.woocommerce div.product div.summary .variations_form table.variations th {
	padding: 8px 0;
}

.woocommerce div.product .variations_form .reset_variations {
	font-size: 0.9rem;
}

.woocommerce div.product form.cart:not(.variations_form) {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	padding: 18px 0 0;
	border-top: 1px solid rgba(35, 33, 33, 0.08);
}

.woocommerce div.product form.cart:not(.variations_form) .quantity,
.woocommerce div.product form.cart:not(.variations_form) .single_add_to_cart_button {
	margin: 0;
}

/* Quantity widget: pill container with visible +/- buttons */
.woocommerce div.product form.cart .quantity {
	display: inline-grid;
	grid-template-columns: 38px auto 38px;
	align-items: center;
	border: 1px solid rgba(35, 33, 33, 0.14);
	border-radius: 999px;
	background: #fff;
	overflow: hidden;
}

.woocommerce div.product form.cart .quantity input.qty {
	margin: 0;
	border: 0;
	border-left: 1px solid rgba(35, 33, 33, 0.08);
	border-right: 1px solid rgba(35, 33, 33, 0.08);
	border-radius: 0;
	height: 46px;
	min-height: 46px;
	padding: 0;
	text-align: center;
	width: 56px;
	background: transparent;
	font-size: 1rem;
	font-weight: 600;
}

/* +/- buttons (WC native or plugin-added) */
.woocommerce div.product form.cart .quantity .plus,
.woocommerce div.product form.cart .quantity .minus,
.woocommerce div.product form.cart .quantity button.plus,
.woocommerce div.product form.cart .quantity button.minus {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 46px;
	width: 38px;
	border: 0;
	background: transparent;
	font-size: 1.2rem;
	line-height: 1;
	cursor: pointer;
	color: #7a5141;
	-webkit-appearance: none;
	appearance: none;
}

.woocommerce div.product form.variations_form.cart {
	display: grid;
	gap: 16px;
	padding: 18px 0 0;
	border-top: 1px solid rgba(35, 33, 33, 0.08);
}

.woocommerce div.product form.variations_form.cart table.variations {
	grid-column: 1 / -1;
	margin: 0;
}

.woocommerce div.product .single_variation_wrap {
	display: grid;
	gap: 14px;
}

.woocommerce div.product .variations_button {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
}

.woocommerce div.product .variations_button .quantity,
.woocommerce div.product .variations_button .single_add_to_cart_button {
	margin: 0;
}

.woocommerce div.product .woocommerce-product-details__short-description,
.woocommerce div.product .product_meta {
	font-size: 1rem;
	line-height: 1.7;
}

.woocommerce div.product .woocommerce-product-details__short-description > p:first-child {
	font-size: 1.08rem;
	font-weight: 700;
	color: #3a2d27;
}

.woocommerce div.product .woocommerce-product-details__short-description p,
.woocommerce div.product .woocommerce-product-details__short-description ul,
.woocommerce div.product .woocommerce-product-details__short-description ol,
.woocommerce div.product .woocommerce-Tabs-panel p,
.woocommerce div.product .woocommerce-Tabs-panel ul,
.woocommerce div.product .woocommerce-Tabs-panel ol {
	line-height: 1.75;
}

.woocommerce div.product .woocommerce-product-details__short-description ul,
.woocommerce div.product .woocommerce-Tabs-panel ul {
	padding-left: 1.2rem;
}

.woocommerce div.product .product_meta {
	display: grid;
	gap: 6px;
	/* Removed inner card (bg + border + radius) — already inside a padded summary card.
	   Using a simple top-border separator instead to reduce visual nesting depth. */
	padding: 16px 0 0;
	border-top: 1px solid rgba(35, 33, 33, 0.08);
	align-self: start;
	font-size: 0.9rem;
}

.woocommerce div.product .product_meta > span {
	margin: 0;
}

.cherubin-product-notes {
	display: grid;
	gap: 12px;
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
	align-self: start;
}

.cherubin-product-notes__item {
	display: grid;
	gap: 6px;
	padding: 15px 16px;
	background: rgba(246, 236, 226, 0.64);
	border-radius: 18px;
}

.cherubin-product-notes__item strong {
	font-size: 0.96rem;
}

.cherubin-product-notes__item span {
	font-size: 0.94rem;
	line-height: 1.55;
}

.woocommerce div.product .woocommerce-tabs,
.woocommerce div.product .related.products,
.woocommerce div.product .upsells.products {
	padding: 28px;
	grid-column: 1 / -1;
}

.single-product .wdt-product-tabs {
	margin-top: 28px;
}

.woocommerce-tabs ul.tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 18px;
}

.woocommerce-tabs ul.tabs li {
	border: 0 !important;
	background: #f6ece2 !important;
	border-radius: 999px !important;
	padding: 8px 18px !important;
}

.woocommerce-tabs ul.tabs li.active {
	background: var(--wdtPrimaryColor) !important;
}

.woocommerce div.product .woocommerce-Tabs-panel h2:first-child,
.woocommerce #reviews #comments h2,
.woocommerce #reviews #reply-title {
	font-size: 1.3rem;
	line-height: 1.2;
}

.woocommerce #reviews .comment-form-comment textarea {
	min-height: 140px;
}

.woocommerce-cart .woocommerce-cart-form,
.woocommerce-cart .cart-collaterals {
	padding: 0;
}

.woocommerce-cart table.shop_table thead th {
	font-size: 0.74rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(58, 45, 39, 0.64);
}

.woocommerce-cart table.shop_table td > label {
	display: none;
}

.cherubin-cart-tools {
	margin-bottom: 16px;
}

.cherubin-cart-tools--inline {
	display: inline-flex;
	align-items: center;
	margin: 0;
}

.cherubin-cart-coupon-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 10px 18px;
	background: #fff;
	border: 1px solid rgba(35, 33, 33, 0.12);
	border-radius: 999px;
	color: #3a2d27;
	font-weight: 600;
	cursor: pointer;
}

.woocommerce-cart table.shop_table,
.woocommerce-checkout table.shop_table {
	border: 0;
	margin: 0;
	background: transparent;
}

.woocommerce-cart table.shop_table thead th,
.woocommerce-checkout table.shop_table thead th,
.woocommerce-cart table.shop_table tbody td,
.woocommerce-checkout table.shop_table tbody td,
.woocommerce-cart table.shop_table tfoot th,
.woocommerce-checkout table.shop_table tfoot th,
.woocommerce-cart table.shop_table tfoot td,
.woocommerce-checkout table.shop_table tfoot td {
	border-color: rgba(35, 33, 33, 0.08);
	padding-top: 16px;
	padding-bottom: 16px;
}

.woocommerce-cart table.shop_table.cart {
	display: block;
}

.woocommerce-cart table.shop_table.cart thead {
	display: none;
}

.woocommerce-cart table.shop_table.cart tbody {
	display: grid;
	gap: 16px;
}

.woocommerce-cart table.shop_table.cart tbody tr.cart_item,
.woocommerce-cart table.shop_table.cart tbody tr.woocommerce-cart-form__cart-item {
	display: grid;
	grid-template-columns: 96px minmax(0, 1.7fr) minmax(92px, auto) minmax(128px, auto) minmax(110px, auto) 40px;
	grid-template-areas: "thumb name price qty subtotal remove";
	gap: 18px;
	align-items: center;
	padding: 18px;
	background: rgba(255, 250, 246, 0.82);
	border: 1px solid rgba(35, 33, 33, 0.08);
	border-radius: 24px;
}

.woocommerce-cart table.shop_table.cart tbody tr.cart_item td,
.woocommerce-cart table.shop_table.cart tbody tr.woocommerce-cart-form__cart-item td {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 0;
	border: 0;
	background: transparent;
}

.woocommerce-cart table.shop_table.cart td.product-thumbnail {
	grid-area: thumb;
}

.woocommerce-cart table.shop_table.cart td.product-name {
	grid-area: name;
	min-width: 0;
}

.woocommerce-cart table.shop_table.cart td.product-price {
	grid-area: price;
}

.woocommerce-cart table.shop_table.cart td.product-quantity {
	grid-area: qty;
	display: flex;
	justify-content: center;
}

.woocommerce-cart table.shop_table.cart td.product-subtotal {
	grid-area: subtotal;
}

.woocommerce-cart table.shop_table.cart td.product-remove {
	grid-area: remove;
	display: flex;
	justify-content: flex-end;
}

.woocommerce-cart table.shop_table.cart td.product-thumbnail a,
.woocommerce-cart table.shop_table.cart td.product-thumbnail img {
	display: block;
	width: 96px;
	height: 96px;
	object-fit: cover;
	border-radius: 20px;
}

.woocommerce-cart table.shop_table.cart td.product-name a {
	display: block;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.4;
	color: #2e231e;
}

.woocommerce-cart table.shop_table.cart td.product-name dl.variation,
.woocommerce-cart table.shop_table.cart td.product-name .wc-item-meta,
.woocommerce-cart table.shop_table.cart td.product-name .backorder_notification {
	margin-top: 8px;
	font-size: 0.88rem;
	color: rgba(58, 45, 39, 0.72);
}

.woocommerce-cart table.shop_table.cart td.product-price,
.woocommerce-cart table.shop_table.cart td.product-subtotal {
	font-size: 0.95rem;
	font-weight: 700;
	color: #2e231e;
}

.woocommerce-cart table.shop_table.cart td.product-price .amount,
.woocommerce-cart table.shop_table.cart td.product-subtotal .amount {
	font-size: 1rem;
}

.woocommerce-cart table.shop_table.cart td.product-price::before,
.woocommerce-cart table.shop_table.cart td.product-subtotal::before {
	display: block;
	margin-bottom: 6px;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(58, 45, 39, 0.58);
}

.woocommerce-cart table.shop_table.cart td.product-price::before {
	content: "Cena";
}

.woocommerce-cart table.shop_table.cart td.product-subtotal::before {
	content: "Spolu";
}

.woocommerce-cart table.shop_table.cart td.product-quantity .quantity,
.woocommerce-cart table.shop_table.cart td.product-quantity .qty {
	margin: 0;
}

.woocommerce-cart table.shop_table.cart td.product-quantity .quantity-with-plusminus {
	display: inline-grid;
	grid-template-columns: 36px 64px 36px;
	align-items: center;
	border: 1px solid rgba(35, 33, 33, 0.12);
	border-radius: 999px;
	background: #fff;
	overflow: hidden;
}

.woocommerce-cart table.shop_table.cart td.product-quantity input.minus,
.woocommerce-cart table.shop_table.cart td.product-quantity input.plus {
	height: 44px;
	border: 0;
	background: transparent;
	font-size: 1.1rem;
	line-height: 1;
	color: #7a5141;
}

.woocommerce-cart table.shop_table.cart td.product-quantity input.qty {
	width: 64px;
	height: 44px;
	min-height: 44px;
	padding-left: 0;
	padding-right: 0;
	border: 0;
	border-left: 1px solid rgba(35, 33, 33, 0.08);
	border-right: 1px solid rgba(35, 33, 33, 0.08);
	border-radius: 0;
	background: transparent;
	text-align: center;
}

.woocommerce-cart table.shop_table.cart td.product-remove .remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.88);
	border: 1px solid rgba(35, 33, 33, 0.08);
	color: #7a5141 !important;
	font-size: 1.2rem;
}

.woocommerce-cart .actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	align-items: center;
	margin-top: 22px;
}

.woocommerce-cart .actions.wdt-cart-coupon-holder {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-top: 12px;
	padding: 0;
	border: 0;
}

.woocommerce-cart .actions > .button,
.woocommerce-cart .actions > button.button,
.woocommerce-cart .actions > [type="submit"] {
	order: 3;
}

.woocommerce-cart .actions > .cherubin-cart-tools--inline {
	order: 2;
}

.woocommerce-cart .coupon {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}

.woocommerce-cart .wdt-cart-coupon-holder .coupon {
	order: 1;
}

body:not(.cherubin-coupon-open) .woocommerce-cart .wdt-cart-coupon-holder .coupon {
	display: none;
}

.woocommerce-cart .wdt-cart-coupon-holder {
	margin-top: 0;
}

.woocommerce-cart .wdt-cart-coupon-holder .coupon label {
	display: none;
}

.woocommerce-cart .wdt-cart-coupon-holder .coupon input.input-text {
	min-width: 180px;
	width: min(220px, 100%);
}

.woocommerce-cart .wdt-cart-coupon-holder .coupon .button {
	min-height: 44px;
	padding-left: 18px;
	padding-right: 18px;
}

.woocommerce-cart .coupon input.input-text {
	min-width: 220px;
}

.woocommerce-cart .cart-collaterals .cart_totals {
	padding: 18px;
	background: rgba(255, 250, 246, 0.82);
	border: 1px solid rgba(35, 33, 33, 0.08);
	border-radius: 24px;
}

.woocommerce-cart .cart_totals h2 {
	margin-bottom: 14px;
	font-size: 1.2rem;
	line-height: 1.2;
}

.woocommerce-cart .cart_totals table.shop_table tbody {
	display: table-row-group;
}

.woocommerce-cart .cart_totals table.shop_table tr {
	display: table-row;
	padding: 0;
	background: transparent;
	border: 0;
}

.woocommerce-cart .cart_totals table.shop_table td,
.woocommerce-cart .cart_totals table.shop_table th {
	padding-top: 12px;
	padding-bottom: 12px;
}

.woocommerce-cart .cart_totals .shipping-calculator-form {
	margin-top: 12px;
	padding: 16px 18px;
	background: rgba(255, 250, 246, 0.72);
	border: 1px solid rgba(35, 33, 33, 0.08);
	border-radius: 18px;
}

.woocommerce-cart .shipping-calculator-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 8px 16px;
	border-radius: 999px;
}

.woocommerce-checkout .woocommerce-checkout-header,
.woocommerce-checkout .woocommerce-notices-wrapper {
	margin-bottom: 20px;
}

.woocommerce-checkout .woocommerce-checkout-header-coupon {
	margin-top: 14px;
}

.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 8px;
	padding: 10px 14px;
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.45;
	border-radius: 16px;
	box-shadow: none;
}

.woocommerce-checkout .woocommerce-form-coupon-toggle .showcoupon {
	font-weight: 700;
}

.woocommerce-checkout .woocommerce-checkout-header {
	padding: 0;
	background: transparent;
	border: 0;
	box-shadow: none;
}

.woocommerce-checkout .woocommerce-checkout-header > .woocommerce-notices-wrapper:first-child:empty,
.woocommerce-checkout .woocommerce-notices-wrapper:empty {
	display: none;
}

.woocommerce-checkout form.checkout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(340px, 388px);
	gap: 24px;
	padding: 0;
	align-items: start;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
}

.woocommerce-checkout form.checkout > .col2-set,
.woocommerce-checkout form.checkout > .cherubin-checkout-review-col {
	min-width: 0;
	width: auto !important;
	float: none !important;
}

.woocommerce-checkout .col2-set,
.woocommerce-checkout .cherubin-checkout-review-col,
.woocommerce-checkout #payment {
	background: transparent;
	border: 0;
	box-shadow: none;
	padding: 0;
}

.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
	width: auto !important;
	float: none !important;
	min-width: 0;
}

.woocommerce-checkout .col2-set {
	display: grid !important;
	gap: 22px;
	grid-template-columns: minmax(0, 1fr);
}

.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-shipping-fields,
.woocommerce-checkout .woocommerce-additional-fields,
.woocommerce-checkout .woocommerce-checkout-review-order-table,
.woocommerce-checkout #payment {
	background: var(--cherubin-soft-bg);
	border: var(--cherubin-card-border);
	border-radius: 22px;
	padding: 14px;
}

.woocommerce-checkout h3,
.woocommerce-checkout .wc_payment_methods,
.woocommerce-checkout .woocommerce-checkout-review-order-table {
	margin-bottom: 0;
}

.woocommerce-checkout h3 {
	font-size: 1.08rem;
	line-height: 1.2;
}

.woocommerce-checkout .woocommerce-NoticeGroup-updateOrderReview .woocommerce-info {
	background: rgba(255, 246, 225, 0.92);
	border-left: 4px solid #ddb78d;
}

.woocommerce-checkout .form-row {
	margin-bottom: 12px;
}

.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-shipping-fields h3,
.woocommerce-checkout .woocommerce-additional-fields h3 {
	margin-bottom: 12px;
}

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 0 16px;
}

.woocommerce-checkout .woocommerce-additional-fields__field-wrapper {
	display: block;
}

.woocommerce-checkout .form-row label {
	font-weight: 600;
	margin-bottom: 5px;
	font-size: 0.9rem;
}

.woocommerce-checkout .form-row-first,
.woocommerce-checkout .form-row-last {
	width: calc(50% - 8px);
}

.woocommerce-checkout .form-row-wide {
	width: 100%;
}

.woocommerce-checkout input.input-text,
.woocommerce-checkout textarea,
.woocommerce-checkout select,
.woocommerce-cart input.input-text,
.woocommerce-cart select,
.woocommerce form .form-row .input-text,
.woocommerce form .form-row select,
.wc-stripe-elements-field,
.wc-stripe-iban-element-field {
	border: 1px solid rgba(35, 33, 33, 0.14);
	border-radius: 14px;
	background: #fff;
	padding: 12px 14px;
	min-height: 48px;
}

.woocommerce-checkout .select2-container .select2-selection--single {
	height: 48px;
	border: 1px solid rgba(35, 33, 33, 0.14);
	border-radius: 14px;
	background: #fff;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
	line-height: 46px;
	padding-left: 14px;
	padding-right: 38px;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 46px;
	right: 10px;
}

.woocommerce-checkout .cherubin-checkout-review-col {
	position: sticky;
	top: 24px;
	align-self: start;
}

.woocommerce-checkout #customer_details {
	width: auto !important;
	float: none !important;
}

.woocommerce-checkout #order_review_heading {
	margin-bottom: 14px;
	font-size: 1.2rem;
	line-height: 1.2;
}

.woocommerce-checkout .checkout-review-order-details {
	display: grid;
	gap: 4px;
	min-width: 0;
}

.woocommerce-checkout table.shop_table .product-name img {
	width: 60px;
	height: 60px;
	object-fit: cover;
	border-radius: 16px;
}

.woocommerce-checkout table.shop_table .product-name {
	display: flex;
	gap: 10px;
	align-items: start;
	font-size: 0.94rem;
}

.woocommerce-checkout .checkout-review-order-title {
	font-weight: 700;
	line-height: 1.35;
	overflow-wrap: anywhere;
}

.woocommerce-checkout .checkout-review-order-details .product-total {
	font-weight: 700;
}

.woocommerce-checkout #payment ul.payment_methods {
	border: 0;
	display: grid;
	gap: 0;
	margin: 0;
	padding: 0;
}

/* Single method: no visual card nesting — just the Stripe iframe directly */
.woocommerce-checkout #payment ul.payment_methods > li {
	margin: 0;
	padding: 0;
	background: transparent;
	border: none;
	border-radius: 0;
}

/* Only show a light separator if multiple payment methods exist */
.woocommerce-checkout #payment ul.payment_methods > li + li {
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px solid rgba(35, 33, 33, 0.08);
}

.woocommerce-checkout #payment div.payment_box {
	background: transparent;
	border-radius: 0;
	margin-top: 10px;
	padding: 0;
}

.woocommerce-checkout #payment .wc_payment_method > label {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
}

.woocommerce-checkout .packetery-widget-button-wrapper,
.woocommerce-checkout .packeta-widget,
.woocommerce-checkout .packeta-widget-button-row {
	display: grid;
	gap: 10px;
}

.woocommerce-checkout .packetery-widget-button-wrapper {
	margin-top: 12px;
}

.woocommerce-checkout .packeta-widget-selected-address,
.woocommerce-checkout .packeta-widget-place,
.woocommerce-checkout .packeta-widget-info {
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.5;
}

.woocommerce-checkout #payment div.payment_box:before {
	display: none;
}

.woocommerce-checkout #payment .place-order {
	padding-top: 10px;
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
	display: grid;
	gap: 14px;
}

.woocommerce-checkout .woocommerce-privacy-policy-text,
.woocommerce-checkout .woocommerce-terms-and-conditions {
	padding: 14px 16px;
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid rgba(35, 33, 33, 0.08);
	border-radius: 16px;
}

.woocommerce-checkout .woocommerce-terms-and-conditions {
	max-height: 240px !important;
}

/* ====================================================================
   BUTTON UNIFICATION — every action button on the site is a pill.
   Exclusions: .cherubin-nav__close (circle), .cherubin-menu-toggle (icon),
   quantity +/- buttons, and checkbox/radio inputs.
   ==================================================================== */

/* Base pill for anything WC calls a "button" */
.woocommerce .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce input[type="submit"],
.woocommerce #respond input#submit,
.woocommerce-cart input[type="submit"],
.woocommerce-checkout input[type="submit"],
.woocommerce-account input[type="submit"],
.woocommerce-page input[type="submit"],
/* Specific prominent buttons */
.woocommerce-checkout #payment .place-order .button,
.woocommerce-cart .wc-proceed-to-checkout .checkout-button,
.woocommerce div.product .single_add_to_cart_button,
/* Packeta / delivery widget */
.woocommerce-checkout .packetery-widget-button,
.woocommerce-checkout .packeta-widget-button-row button,
/* Cart coupon / shipping toggle */
.cherubin-cart-coupon-toggle,
.woocommerce-cart .shipping-calculator-button {
	border-radius: 999px !important;
	min-height: 48px;
	padding-left: 22px;
	padding-right: 22px;
	font-weight: 700;
	font-size: 0.92rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	cursor: pointer;
}

/* Full-width on key CTAs */
.woocommerce-checkout #payment .place-order .button,
.woocommerce-cart .wc-proceed-to-checkout .checkout-button,
.woocommerce div.product .single_add_to_cart_button {
	width: 100%;
}

.woocommerce-checkout #payment .place-order .button,
.woocommerce-cart .wc-proceed-to-checkout .checkout-button,
.woocommerce div.product .single_add_to_cart_button {
	width: 100%;
}

.woocommerce-checkout .woocommerce-shipping-methods {
	display: grid;
	gap: 10px;
}

.woocommerce-checkout .woocommerce-shipping-methods li {
	background: rgba(255, 255, 255, 0.74);
	border-radius: 14px;
	padding: 10px 12px;
}

.woocommerce-checkout .woocommerce-shipping-methods label {
	display: block;
	line-height: 1.5;
}

.woocommerce-checkout .woocommerce-shipping-totals.shipping th,
.woocommerce-checkout .woocommerce-shipping-totals.shipping td {
	display: block;
	width: 100%;
	padding-left: 0;
	padding-right: 0;
	text-align: left;
}

.woocommerce-checkout .woocommerce-shipping-totals.shipping th {
	padding-bottom: 8px;
}

.woocommerce-checkout .woocommerce-shipping-totals.shipping td {
	padding-top: 0;
}

.woocommerce-checkout .woocommerce-shipping-totals.shipping ul.woocommerce-shipping-methods {
	margin: 0;
	width: 100%;
}

.woocommerce-checkout .woocommerce-shipping-totals.shipping ul.woocommerce-shipping-methods li {
	display: grid;
	gap: 10px;
	width: 100%;
	padding: 14px;
}

.woocommerce-checkout .woocommerce-shipping-totals.shipping .packetery-widget-button-wrapper {
	margin-top: 0;
	width: 100%;
}

.woocommerce-checkout .woocommerce-shipping-totals.shipping .packeta-widget-button-row {
	grid-template-columns: 1fr;
	justify-items: start;
	align-items: stretch;
	width: 100%;
}

.woocommerce-checkout .woocommerce-shipping-totals.shipping .packetery-widget-button-logo {
	width: 24px;
	height: 24px;
}

.woocommerce-checkout .woocommerce-shipping-totals.shipping .packetery-widget-button,
.woocommerce-checkout .woocommerce-shipping-totals.shipping .packetery-widget-button-row button {
	width: 100%;
}

.woocommerce-checkout .woocommerce-shipping-totals.shipping .packeta-widget.after-rate {
	margin: 0;
}

.woocommerce-checkout .woocommerce-shipping-totals.shipping label {
	margin-bottom: 2px;
}

.woocommerce-checkout .shop_table tfoot th,
.woocommerce-checkout .shop_table tfoot td {
	font-size: 0.92rem;
}

.woocommerce-checkout .shop_table .order-total th,
.woocommerce-checkout .shop_table .order-total td {
	padding-top: 14px;
	font-size: 1rem;
}

.woocommerce-checkout .checkout_coupon.woocommerce-form-coupon,
.woocommerce-checkout .woocommerce-form-login {
	margin-bottom: 18px;
	padding: 16px 18px;
	background: rgba(255, 250, 246, 0.72);
	border: 1px solid rgba(35, 33, 33, 0.08);
	border-radius: 20px;
}

.woocommerce-checkout .checkout_coupon {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 10px;
}

.woocommerce-checkout .checkout_coupon .form-row {
	float: none;
	width: 100%;
	margin: 0;
}

.woocommerce-checkout .checkout_coupon .form-row-last {
	display: flex;
	align-items: stretch;
}

[class*="packeta"],
[class*="packetery"] {
	border-radius: 16px;
}

.woocommerce-checkout [class*="packeta"] button,
.woocommerce-checkout [class*="packetery"] button,
.woocommerce-cart [class*="packeta"] button,
.woocommerce-cart [class*="packetery"] button {
	border-radius: 999px;
}

.blog .tpl-blog-holder,
.archive .tpl-blog-holder {
	display: grid;
	gap: 28px;
}

.blog .tpl-blog-holder > div > article,
.archive .tpl-blog-holder > div > article {
	padding: 0;
}

.blog .entry-thumb,
.archive .entry-thumb,
.single-post .entry-thumb {
	overflow: hidden;
	border-radius: 24px;
}

.blog .entry-title h4,
.archive .entry-title h4,
.single-post .entry-title h4,
.single-post .entry-title h1 {
	line-height: 1.15;
}

.blog .entry-body,
.archive .entry-body,
.single-post .entry-body,
.single-post .entry-details {
	padding: 24px 28px;
}

.blog .entry-button a,
.archive .entry-button a,
.single-post .post-nav-container a {
	border-radius: 999px;
}

.single-post .post-single-entry,
.single-post .commententries {
	padding: 28px;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	border: 0;
	border-radius: 18px;
	box-shadow: 0 12px 28px rgba(35, 33, 33, 0.08);
}

.woocommerce .widget_shopping_cart .buttons,
.woocommerce.widget_shopping_cart .buttons,
.woocommerce-mini-cart__buttons.buttons {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.woocommerce .widget_shopping_cart .buttons .button,
.woocommerce.widget_shopping_cart .buttons .button,
.woocommerce-mini-cart__buttons.buttons .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 10px 16px;
	border-radius: 999px;
	background: #ffbf00 !important;
	color: #2f2622 !important;
	border: 0 !important;
	box-shadow: none;
	text-align: center;
}

.woocommerce .widget_shopping_cart .buttons .button.checkout,
.woocommerce.widget_shopping_cart .buttons .button.checkout,
.woocommerce-mini-cart__buttons.buttons .button.checkout {
	background: #2f2622 !important;
	color: #fff7ec !important;
}

.woocommerce-account #primary.content-full-width {
	width: 100%;
}

.woocommerce-account .woocommerce {
	display: grid;
	grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
	gap: 28px;
	align-items: start;
}

/*
 * WooCommerce's woocommerce-layout.css uses a float-based layout for My Account:
 *   nav  { float: left;  width: 30% }
 *   content { float: right; width: 68% }
 *   .woocommerce::before/::after { display: table } (clearfix)
 *
 * The clearfix pseudo-elements become GRID ITEMS and displace nav/content to
 * wrong columns. The width: 30%/68% also fights the grid column sizing.
 * Neutralise all of WC's float layout so our grid takes full control.
 */
.woocommerce-account .woocommerce::before,
.woocommerce-account .woocommerce::after {
	content: none !important;
	display: none !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content {
	float: none !important;
	width: auto !important;
}

.woocommerce-account .woocommerce > .u-columns.col2-set {
	display: grid;
	grid-column: 1 / -1;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

.woocommerce-account .woocommerce > .column,
.woocommerce-account .woocommerce > [class*="wdt-one-"],
.woocommerce-account .woocommerce > [class*="wdt-three-"],
.woocommerce-account .woocommerce > [class*="wdt-four-"] {
	float: none !important;
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.woocommerce-account .woocommerce > .u-columns.col2-set > .u-column1,
.woocommerce-account .woocommerce > .u-columns.col2-set > .u-column2,
.woocommerce-account .woocommerce > .u-columns.col2-set > .col-1,
.woocommerce-account .woocommerce > .u-columns.col2-set > .col-2 {
	float: none !important;
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content,
.woocommerce-account .woocommerce form.login,
.woocommerce-account .woocommerce form.register {
	background: rgba(255, 255, 255, 0.88);
	border: 1px solid rgba(35, 33, 33, 0.08);
	box-shadow: 0 20px 55px rgba(35, 33, 33, 0.08);
	border-radius: 28px;
	padding: 24px;
}

.woocommerce-account .woocommerce > .u-columns.col2-set h2 {
	margin: 0 0 16px;
	font-size: 1.35rem;
	line-height: 1.15;
}

.woocommerce-account .woocommerce form.login,
.woocommerce-account .woocommerce form.register {
	width: 100%;
}

.woocommerce-account .woocommerce form.login p,
.woocommerce-account .woocommerce form.register p {
	line-height: 1.65;
}

.woocommerce-account .woocommerce form .form-row:last-child,
.woocommerce-account .woocommerce form .woocommerce-LostPassword {
	margin-bottom: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation > ul {
	margin: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation > ul li {
	border-bottom-color: rgba(35, 33, 33, 0.08);
	line-height: 1.4;
	padding: 10px 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation > ul li a {
	display: block;
	font-weight: 600;
}

.woocommerce-account .woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link.is-active a {
	color: #8a5d7a;
}

.woocommerce-account .woocommerce-MyAccount-content > :first-child {
	margin-top: 0;
}

.woocommerce-account .woocommerce-MyAccount-content p {
	line-height: 1.75;
}

.woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table,
.woocommerce-account .woocommerce .woocommerce-MyAccount-content .woocommerce-Addresses,
.woocommerce-account .woocommerce .woocommerce-MyAccount-content fieldset {
	background: rgba(255, 250, 246, 0.78);
	border: 1px solid rgba(35, 33, 33, 0.08);
	border-radius: 22px;
	padding: 18px;
}

.woocommerce-account .woocommerce-form-login,
.woocommerce-account .woocommerce-form-register {
	left: auto;
	width: min(100%, 720px);
	transform: none;
}

@media (max-width: 1024px) {
	.cherubin-product-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cherubin-web-hero {
		grid-template-columns: 1fr;
	}

	.woocommerce div.product {
		grid-template-columns: 1fr;
	}

	.woocommerce div.product div.images {
		position: static;
	}

	.woocommerce div.product div.summary {
		grid-template-columns: 1fr;
	}

	.woocommerce-checkout form.checkout {
		grid-template-columns: 1fr;
	}

	.woocommerce-checkout form.checkout > .col2-set,
	.woocommerce-checkout form.checkout > #customer_details,
	.woocommerce-checkout form.checkout > .cherubin-checkout-review-col {
		grid-column: 1 !important;
	}

	.woocommerce-checkout .cherubin-checkout-review-col {
		position: static;
	}

	.woocommerce ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.woocommerce-account .woocommerce {
		grid-template-columns: 1fr;
	}

	.woocommerce-account .woocommerce > .u-columns.col2-set {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 767px) {
	.woocommerce-page .main-title-section-wrapper {
		padding: 0 16px;
	}

	.woocommerce-page .main-title-section-wrapper .container {
		padding: 16px 18px;
		border-radius: 20px;
	}

	.single-product .main-title-section-wrapper .container {
		padding: 14px 16px 18px;
	}

	.single-product .main-title-section h1 {
		font-size: 1.35rem;
	}

	.woocommerce div.product div.images,
	.woocommerce div.product div.summary,
	.woocommerce div.product .woocommerce-tabs,
	.woocommerce div.product .related.products,
	.woocommerce div.product .upsells.products,
	.woocommerce-cart .woocommerce-cart-form,
	.woocommerce-cart .cart-collaterals,
	.woocommerce-checkout form.checkout,
	.woocommerce-checkout .woocommerce-billing-fields,
	.woocommerce-checkout .woocommerce-shipping-fields,
	.woocommerce-checkout .woocommerce-additional-fields,
	.woocommerce-checkout .woocommerce-checkout-review-order-table,
	.woocommerce-checkout #payment,
	.blog .tpl-blog-holder > div > article,
	.archive .tpl-blog-holder > div > article,
	.single-post .post-single-entry,
	.single-post .commententries,
	.cherubin-web-hero {
		padding: 20px !important;
		border-radius: 22px;
	}

	.cherubin-shop-section {
		padding: 20px;
		border-radius: 22px;
	}

	/* Single product — summary content spacing */
	.woocommerce div.product .product_title,
	.woocommerce div.product .summary .price,
	.woocommerce div.product .summary .woocommerce-product-details__short-description {
		margin: 10px 0;
	}

	/* Quantity input comfortable margin */
	.woocommerce div.product form.cart .quantity {
		margin: 10px 0;
	}

	/* Variations table width */
	.woocommerce div.product form.cart .variations,
	.woocommerce div.product form.cart table.variations {
		width: 90%;
	}

	/* Product notes: 2 per row on mobile */
	.cherubin-product-notes {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	/* Product meta: 2 per row on mobile */
	.woocommerce div.product .product_meta {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		font-size: 0.88rem;
	}

	/* Shop sections: 2-column compact cards */
	.cherubin-product-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	/* Show only first 2 products per section on mobile */
	.cherubin-product-grid .cherubin-product-card:nth-child(n+3) {
		display: none;
	}

	/* Compact cherubin-product-card on mobile */
	.cherubin-product-card {
		border-radius: 16px !important;
	}

	.cherubin-product-card__image {
		aspect-ratio: 1 / 1;
		display: block;
		overflow: hidden;
		border-radius: 14px 14px 0 0;
	}

	.cherubin-product-card__image img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		display: block;
	}

	.cherubin-product-card__body {
		padding: 8px 10px 10px;
	}

	/* Hide category meta on mobile */
	.cherubin-product-card__meta {
		display: none;
	}

	.cherubin-product-card__body h3 {
		font-size: 0.82rem;
		line-height: 1.25;
		margin: 0 0 4px;
	}

	.cherubin-product-card__body h3 a {
		color: #3a2d27;
	}

	.cherubin-product-card__price {
		font-size: 0.82rem;
		font-weight: 700;
		margin-bottom: 8px;
	}

	.cherubin-product-card .button {
		min-height: 32px !important;
		padding: 5px 10px !important;
		font-size: 0.78rem !important;
		width: 100%;
		text-align: center;
		border-radius: 999px !important;
	}

	/* Section head: stack title above "View all" button */
	.cherubin-shop-section__head {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
		margin-bottom: 12px;
	}

	.cherubin-shop-section__head h2 {
		font-size: 1.1rem;
		margin: 0;
	}

	.cherubin-shop-section__head p {
		font-size: 0.85rem;
		margin: 2px 0 0;
	}

	.cherubin-shop-section__head .button {
		align-self: flex-start;
		min-height: 34px !important;
		padding: 6px 14px !important;
		font-size: 0.82rem !important;
	}

	.woocommerce ul.products,
	.woocommerce-mini-cart__buttons.buttons {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.woocommerce-cart .coupon,
	.woocommerce-cart .actions {
		align-items: stretch;
	}

	.woocommerce-cart .actions > .cherubin-cart-tools--inline {
		width: 100%;
	}

	.woocommerce-cart .actions > .cherubin-cart-tools--inline .cherubin-cart-coupon-toggle {
		width: 100%;
	}

	.woocommerce-cart .wdt-cart-coupon-holder .coupon {
		width: 100%;
		display: grid;
		grid-template-columns: 1fr;
	}

	body:not(.cherubin-coupon-open) .woocommerce-cart .wdt-cart-coupon-holder .coupon {
		display: none;
	}

	.woocommerce-cart table.shop_table.cart tbody tr.cart_item,
	.woocommerce-cart table.shop_table.cart tbody tr.woocommerce-cart-form__cart-item {
		grid-template-columns: 80px minmax(0, 1fr);
		grid-template-areas:
			"thumb name"
			"thumb price"
			"thumb qty"
			"thumb subtotal"
			"thumb remove";
		gap: 10px 14px;
		padding: 16px;
	}

	.woocommerce-cart table.shop_table.cart td.product-thumbnail a,
	.woocommerce-cart table.shop_table.cart td.product-thumbnail img {
		width: 80px;
		height: 80px;
		border-radius: 18px;
	}

	.woocommerce-cart table.shop_table.cart td.product-price,
	.woocommerce-cart table.shop_table.cart td.product-subtotal,
	.woocommerce-cart table.shop_table.cart td.product-quantity,
	.woocommerce-cart table.shop_table.cart td.product-remove {
		grid-column: 2;
		justify-content: flex-start;
	}

	.woocommerce-cart table.shop_table.cart td.product-quantity {
		align-items: flex-start;
	}

	.woocommerce-cart table.shop_table.cart td.product-remove {
		margin-top: 2px;
	}

	.woocommerce-cart table.shop_table td > label {
		display: inline-flex;
		margin-bottom: 6px;
		font-size: 0.82rem;
		font-weight: 700;
		text-transform: uppercase;
		letter-spacing: 0.04em;
	}

	.woocommerce-cart .coupon input.input-text,
	.woocommerce-cart .coupon .button {
		width: 100%;
	}

	.woocommerce-checkout .cherubin-web-hero {
		grid-template-columns: 1fr;
		gap: 14px;
		padding: 18px;
		border-radius: 22px;
	}

	.woocommerce-checkout .cherubin-web-hero--checkout h1 {
		font-size: 1.45rem;
		line-height: 1.08;
	}

	.woocommerce-checkout .cherubin-web-note-grid {
		grid-template-columns: 1fr;
	}

	.woocommerce-checkout form.checkout {
		padding: 18px;
	}

	.woocommerce-checkout .form-row-first,
	.woocommerce-checkout .form-row-last {
		width: 100%;
		float: none;
	}

	.woocommerce-checkout .checkout_coupon {
		grid-template-columns: 1fr;
	}

	.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
		display: grid;
	}

	.woocommerce-checkout #payment ul.payment_methods > li,
	.woocommerce-checkout .woocommerce-shipping-methods li,
	.woocommerce-checkout .woocommerce-privacy-policy-text,
	.woocommerce-checkout .woocommerce-terms-and-conditions {
		padding: 12px;
	}

	.woocommerce-checkout table.shop_table .product-name {
		display: grid;
		grid-template-columns: 54px minmax(0, 1fr);
		gap: 10px;
	}

	.woocommerce-checkout table.shop_table .product-name img {
		width: 54px;
		height: 54px;
	}

	.woocommerce-checkout #order_review_heading {
		font-size: 1.08rem;
	}

	/* Blog hero: roll-out → only heading + buttons on mobile */
	.cherubin-web-hero--blog .cherubin-web-eyebrow,
	.cherubin-web-hero--blog .cherubin-web-hero__copy > p,
	.cherubin-web-hero--blog > .cherubin-web-note-grid {
		display: none;
	}

	.cherubin-web-hero--blog h1 {
		font-size: clamp(1.2rem, 5vw, 1.6rem);
		margin-bottom: 10px;
	}

	.cherubin-web-hero--blog .cherubin-web-actions {
		flex-direction: row;
		flex-wrap: nowrap;
		gap: 8px;
		margin-top: 10px;
	}

	.cherubin-web-hero--blog .cherubin-web-actions .button {
		flex: 1;
		min-height: 38px;
		font-size: 0.8rem;
		padding: 6px 10px;
		width: auto;
	}

	/* Default: other hero action buttons full-width */
	.cherubin-web-actions .button,
	.cherubin-web-actions .button-secondary {
		width: 100%;
		text-align: center;
	}
}

/* ---------------------------------------------------------------
   Global: remove oversized gap below navigation
   --------------------------------------------------------------- */

#header-wrapper {
	margin-bottom: 0 !important;
}

/* ---------------------------------------------------------------
   Single product: ensure images fill grid column (Petty sets 36%)
   --------------------------------------------------------------- */

.woocommerce div.product.type-product > div.images,
.woocommerce div.product div.images,
.woocommerce div.product div.summary {
	width: auto !important;
	float: none !important;
}

/* ---------------------------------------------------------------
   Checkout grid: correct column placement
   Notice group spans both columns.
   Billing (#customer_details) → column 1.
   Order review → column 2.
   --------------------------------------------------------------- */

.woocommerce-checkout form.checkout > .woocommerce-NoticeGroup,
.woocommerce-checkout form.checkout > .woocommerce-NoticeGroup-updateOrderReview,
.woocommerce-checkout form.checkout > .woocommerce-NoticeGroup-checkout {
	grid-column: 1 / -1;
}

.woocommerce-checkout form.checkout > .col2-set,
.woocommerce-checkout form.checkout > #customer_details {
	grid-column: 1;
	width: auto !important;
	float: none !important;
	margin-top: 0 !important;
}

.woocommerce-checkout form.checkout > .cherubin-checkout-review-col {
	grid-column: 2;
	width: auto !important;
	float: none !important;
}

/* Hide duplicate cart notice inside form — the hero section already shows it */
.woocommerce-checkout form.checkout > .woocommerce-NoticeGroup-updateOrderReview:empty,
.woocommerce-checkout form.checkout > .woocommerce-NoticeGroup-updateOrderReview:not(:has(*)) {
	display: none;
}

/* ---------------------------------------------------------------
   Checkout: reduce privacy policy block size
   --------------------------------------------------------------- */

.woocommerce-checkout .woocommerce-privacy-policy-text p {
	font-size: 0.88rem !important;
	line-height: 1.55;
}

.woocommerce-checkout .woocommerce-privacy-policy-text {
	max-height: 80px;
	overflow-y: auto;
}

/* ---------------------------------------------------------------
   Checkout: remove Petty margin-top on #customer_details
   --------------------------------------------------------------- */

.woocommerce-checkout #customer_details {
	margin-top: 0 !important;
}

/* ================================================================
   MOBILE-FIRST OVERRIDES — v2
   These rules are appended last and take precedence over all
   earlier desktop-first declarations above.
   ================================================================ */

/* ---------------------------------------------------------------
   Product grid — mobile first
   2 cols mobile · 3 cols tablet · 4 cols desktop
   --------------------------------------------------------------- */

.woocommerce ul.products {
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

@media (min-width: 768px) {
	.woocommerce ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}
}

@media (min-width: 1200px) {
	.woocommerce ul.products {
		grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	}
}

/* cherubin-product-grid breakpoints are defined above (desktop-first).
   Do NOT add a bare .cherubin-product-grid { grid-template-columns: 1fr }
   here — it would override the max-width: 767px two-column rule. */

/* ---------------------------------------------------------------
   Hero sections — mobile first (single column → two columns)
   --------------------------------------------------------------- */

.cherubin-web-hero {
	grid-template-columns: 1fr;
}

@media (min-width: 768px) {
	.cherubin-web-hero {
		grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
	}
}

/* ---------------------------------------------------------------
   Single product — mobile first
   --------------------------------------------------------------- */

.woocommerce div.product {
	grid-template-columns: 1fr;
}

.woocommerce div.product div.images,
.woocommerce div.product div.summary {
	grid-template-columns: minmax(0, 1fr);
}

.woocommerce div.product div.images {
	position: static;
}

@media (min-width: 768px) {
	.woocommerce div.product {
		grid-template-columns: minmax(0, 1fr) minmax(300px, 0.92fr);
	}

	.woocommerce div.product div.images {
		position: sticky;
		top: 24px;
	}

	.woocommerce div.product div.summary {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}
}

/* ---------------------------------------------------------------
   Checkout — mobile first
   --------------------------------------------------------------- */

.woocommerce-checkout form.checkout {
	grid-template-columns: 1fr;
}

.woocommerce-checkout form.checkout > .col2-set,
.woocommerce-checkout form.checkout > #customer_details,
.woocommerce-checkout form.checkout > .cherubin-checkout-review-col {
	grid-column: 1 !important;
}

.woocommerce-checkout .cherubin-checkout-review-col {
	position: static;
}

@media (min-width: 1024px) {
	.woocommerce-checkout form.checkout {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.woocommerce-checkout form.checkout > .col2-set,
	.woocommerce-checkout form.checkout > #customer_details {
		grid-column: 1 !important;
	}

	.woocommerce-checkout form.checkout > .cherubin-checkout-review-col {
		grid-column: 2 !important;
		position: sticky;
		top: 24px;
	}
}

/* ---------------------------------------------------------------
   BUTTONS — consistent system, touch-friendly
   --------------------------------------------------------------- */

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce-account a.button,
.woocommerce-account button.button,
.woocommerce-account input.button,
.cherubin-web-actions .button,
.cherubin-web-actions .button-secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 22px;
	border-radius: 999px;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
	text-decoration: none;
	transition:
		background 0.18s ease,
		color 0.18s ease,
		border-color 0.18s ease,
		box-shadow 0.18s ease;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce-account a.button:hover,
.woocommerce-account button.button:hover {
	box-shadow: 0 6px 18px rgba(35, 33, 33, 0.14);
}

.woocommerce a.button.alt,
.woocommerce button.button.alt {
	background: #2e231e;
	color: #fff7ec;
}

.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
	background: #3a2d27;
}

.woocommerce a.button.button-secondary,
.woocommerce button.button.button-secondary,
.cherubin-web-actions .button-secondary {
	background: transparent;
	border: 1.5px solid rgba(35, 33, 33, 0.16);
	color: #3a2d27;
}

.woocommerce a.button.button-secondary:hover,
.woocommerce button.button.button-secondary:hover,
.cherubin-web-actions .button-secondary:hover {
	background: rgba(35, 33, 33, 0.05);
	box-shadow: none;
}

/* Small button variant */
.woocommerce a.button.button-sm,
.woocommerce button.button.button-sm,
.woocommerce-account a.button.button-sm {
	min-height: 40px;
	padding: 8px 16px;
	font-size: 0.88rem;
}

/* Full-width on mobile */
@media (max-width: 479px) {
	.cherubin-web-actions .button,
	.cherubin-web-actions .button-secondary {
		width: 100%;
		text-align: center;
	}
}

/* ---------------------------------------------------------------
   FORMS — consistent inputs, focus, validation
   (applies to My Account + everywhere Woo renders forms)
   --------------------------------------------------------------- */

.woocommerce .woocommerce-MyAccount-content input[type="text"],
.woocommerce .woocommerce-MyAccount-content input[type="email"],
.woocommerce .woocommerce-MyAccount-content input[type="tel"],
.woocommerce .woocommerce-MyAccount-content input[type="password"],
.woocommerce .woocommerce-MyAccount-content input[type="number"],
.woocommerce .woocommerce-MyAccount-content textarea,
.woocommerce .woocommerce-MyAccount-content select,
.woocommerce-account .woocommerce form.login input[type="text"],
.woocommerce-account .woocommerce form.login input[type="email"],
.woocommerce-account .woocommerce form.login input[type="password"],
.woocommerce-account .woocommerce form.register input[type="text"],
.woocommerce-account .woocommerce form.register input[type="email"],
.woocommerce-account .woocommerce form.register input[type="password"] {
	width: 100%;
	padding: 12px 14px;
	min-height: 48px;
	border: 1.5px solid rgba(35, 33, 33, 0.14);
	border-radius: 14px;
	background: #fff;
	font-size: 1rem;
	line-height: 1.4;
	color: #2e231e;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
	-webkit-appearance: none;
	appearance: none;
	box-sizing: border-box;
}

.woocommerce .woocommerce-MyAccount-content input:focus,
.woocommerce .woocommerce-MyAccount-content textarea:focus,
.woocommerce .woocommerce-MyAccount-content select:focus,
.woocommerce-account .woocommerce form.login input:focus,
.woocommerce-account .woocommerce form.register input:focus {
	outline: none;
	border-color: #8a5d7a;
	box-shadow: 0 0 0 3px rgba(138, 93, 122, 0.15);
}

.woocommerce-checkout input.input-text:focus,
.woocommerce-checkout textarea:focus,
.woocommerce-checkout select:focus,
.woocommerce-cart input.input-text:focus {
	outline: none;
	border-color: #8a5d7a;
	box-shadow: 0 0 0 3px rgba(138, 93, 122, 0.15);
}

.woocommerce form .form-row.woocommerce-invalid .input-text,
.woocommerce form .form-row.woocommerce-invalid select {
	border-color: #c0392b;
}

.woocommerce form .form-row.woocommerce-validated .input-text,
.woocommerce form .form-row.woocommerce-validated select {
	border-color: #5a9642;
}

.woocommerce form .form-row label,
.woocommerce-account .woocommerce form label {
	display: block;
	margin-bottom: 6px;
	font-weight: 600;
	font-size: 0.9rem;
	color: #3a2d27;
}

.woocommerce-account .woocommerce form .form-row {
	margin-bottom: 14px;
}

/* ---------------------------------------------------------------
   MY ACCOUNT — responsive layout
   Desktop (≥1024px): sidebar nav + content (2-column grid) via
   the rules above (lines ~1657). Mobile/tablet (<1024px):
   single-column stack with horizontal chips navigation.
   --------------------------------------------------------------- */

@media (max-width: 1023px) {

/* Single-column stack on tablet + mobile */
.woocommerce-account .woocommerce {
	grid-template-columns: 1fr;
	gap: 20px;
	align-items: start;
}

/* Guest login/register: stack on tablet + mobile */
.woocommerce-account .woocommerce > .u-columns.col2-set {
	grid-column: 1;
	grid-template-columns: 1fr;
	gap: 20px;
}

/* Navigation: horizontal chips on tablet + mobile */
.woocommerce-account .woocommerce-MyAccount-navigation {
	padding: 16px 20px;
}

.woocommerce-account .woocommerce-MyAccount-navigation > ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 0;
	list-style: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation > ul li {
	border-bottom: 0 !important;
	padding: 0 !important;
	line-height: 1 !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation > ul li a {
	display: inline-flex !important;
	align-items: center;
	min-height: 44px;
	padding: 8px 16px !important;
	background: rgba(255, 250, 246, 0.72);
	border: 1px solid rgba(35, 33, 33, 0.08) !important;
	border-radius: 999px !important;
	font-weight: 600;
	font-size: 0.88rem;
	color: #3a2d27;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.woocommerce-account .woocommerce-MyAccount-navigation > ul li a:hover {
	background: rgba(138, 93, 122, 0.08);
	border-color: rgba(138, 93, 122, 0.22) !important;
	color: var(--ch-accent);
}

.woocommerce-account .woocommerce-MyAccount-navigation-link.is-active > a,
.woocommerce-account .woocommerce-MyAccount-navigation > ul li.is-active > a {
	background: #8a5d7a !important;
	color: #fff !important;
	border-color: #8a5d7a !important;
}

} /* end @media (max-width: 1023px) */

/* Content area: common to all screen sizes */
.woocommerce-account .woocommerce-MyAccount-content > :first-child {
	margin-top: 0;
}

.woocommerce-account .woocommerce-MyAccount-content p {
	line-height: 1.75;
}

/* ---------------------------------------------------------------
   Orders table — card-based responsive layout
   --------------------------------------------------------------- */
.woocommerce-orders-table {
	width: 100%;
	border-collapse: collapse;
	background: transparent;
	border: 0;
	box-shadow: none;
}

.woocommerce-orders-table thead th {
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(58, 45, 39, 0.55);
	padding: 10px 14px;
	border-bottom: 1px solid rgba(35, 33, 33, 0.08);
	text-align: left;
	white-space: nowrap;
}

.woocommerce-orders-table tbody tr {
	border-bottom: 1px solid rgba(35, 33, 33, 0.06);
	transition: background 0.12s;
}

.woocommerce-orders-table tbody tr:hover {
	background: rgba(255, 250, 246, 0.6);
}

.woocommerce-orders-table tbody td,
.woocommerce-orders-table tbody th {
	padding: 14px;
	font-size: 0.92rem;
	vertical-align: middle;
	border: 0;
	background: transparent;
	color: #3a2d27;
}

/* Mobile: each row becomes a card */
@media (max-width: 640px) {
	.woocommerce-orders-table {
		display: block;
	}

	.woocommerce-orders-table thead {
		display: none;
	}

	.woocommerce-orders-table tbody {
		display: grid;
		gap: 10px;
	}

	.woocommerce-orders-table tbody tr {
		display: grid;
		grid-template-columns: 1fr 1fr;
		padding: 14px;
		background: rgba(255, 250, 246, 0.82);
		border: 1px solid rgba(35, 33, 33, 0.08);
		border-radius: 18px;
		border-bottom: none;
		gap: 10px;
	}

	.woocommerce-orders-table tbody td,
	.woocommerce-orders-table tbody th {
		display: flex;
		flex-direction: column;
		padding: 0;
		border: 0;
		font-size: 0.88rem;
	}

	/* Label from data-title attribute */
	.woocommerce-orders-table tbody td[data-title]::before {
		content: attr(data-title);
		font-size: 0.7rem;
		font-weight: 700;
		text-transform: uppercase;
		letter-spacing: 0.08em;
		color: rgba(58, 45, 39, 0.45);
		margin-bottom: 4px;
	}

	/* Order number — spans full width, prominent */
	.woocommerce-orders-table tbody th[scope="row"] {
		grid-column: 1 / -1;
		font-size: 1rem;
		font-weight: 700;
	}

	/* Actions span full width */
	.woocommerce-orders-table__cell-order-actions {
		grid-column: 1 / -1;
	}
}

/* View/action buttons in table */
.woocommerce-orders-table__cell-order-actions a,
.woocommerce-button.view {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	padding: 6px 16px;
	border-radius: 999px;
	font-size: 0.84rem;
	font-weight: 600;
	border: 1.5px solid rgba(35, 33, 33, 0.14);
	color: #3a2d27;
	transition: background 0.15s ease;
}

.woocommerce-orders-table__cell-order-actions a:hover,
.woocommerce-button.view:hover {
	background: rgba(143, 93, 66, 0.08);
}

/* Order status badges */
.woocommerce-account .woocommerce-MyAccount-content mark.order-status {
	display: inline-flex;
	align-items: center;
	padding: 4px 12px;
	background: rgba(255, 250, 246, 0.86);
	border: 1px solid rgba(35, 33, 33, 0.08);
	border-radius: 999px;
	font-size: 0.82rem;
	font-weight: 700;
	color: #3a2d27;
}

/* Addresses */
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	border-radius: 0 !important;
}

@media (min-width: 640px) {
	.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address {
	background: rgba(255, 250, 246, 0.78);
	border: 1px solid rgba(35, 33, 33, 0.08);
	border-radius: 22px;
	padding: 20px;
}

.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 12px;
}

.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title h3 {
	margin: 0;
	font-size: 1rem;
	font-weight: 700;
}

.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title a.edit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	padding: 6px 14px;
	border-radius: 999px;
	font-size: 0.84rem;
	font-weight: 700;
	border: 1.5px solid rgba(35, 33, 33, 0.14);
	color: #3a2d27;
	transition: background 0.15s ease;
}

.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title a.edit:hover {
	background: rgba(143, 93, 66, 0.08);
}

/* fieldset in edit address */
.woocommerce-account .woocommerce-MyAccount-content fieldset {
	background: rgba(255, 250, 246, 0.78);
	border: 1px solid rgba(35, 33, 33, 0.08);
	border-radius: 22px;
	padding: 20px;
	margin-top: 16px;
}

.woocommerce-account .woocommerce-MyAccount-content fieldset legend {
	font-weight: 700;
	font-size: 1rem;
	padding: 0 8px;
}

/* Login/register forms */
.woocommerce-account .woocommerce form.login,
.woocommerce-account .woocommerce form.register {
	background: rgba(255, 255, 255, 0.88);
	border: 1px solid rgba(35, 33, 33, 0.08);
	box-shadow: 0 20px 55px rgba(35, 33, 33, 0.06);
	border-radius: 28px;
	padding: 28px;
	width: 100%;
}

.woocommerce-account .woocommerce form.login h2,
.woocommerce-account .woocommerce form.register h2 {
	margin: 0 0 18px;
	font-size: 1.35rem;
	line-height: 1.15;
}

.woocommerce-account .woocommerce form .form-row:last-child,
.woocommerce-account .woocommerce form .woocommerce-LostPassword {
	margin-bottom: 0;
}

/* Tablet+: sidebar layout */
@media (min-width: 768px) {
	.woocommerce-account .woocommerce {
		grid-template-columns: minmax(200px, 260px) minmax(0, 1fr);
		gap: 28px;
	}

	.woocommerce-account .woocommerce-MyAccount-navigation {
		grid-column: 1;
		padding: 20px 22px;
		align-self: start;
		position: sticky;
		top: 24px;
	}

	.woocommerce-account .woocommerce-MyAccount-navigation > ul {
		display: block;
	}

	.woocommerce-account .woocommerce-MyAccount-navigation > ul li {
		border-bottom: 1px solid rgba(35, 33, 33, 0.08) !important;
		padding: 10px 0 !important;
		line-height: 1.4 !important;
	}

	.woocommerce-account .woocommerce-MyAccount-navigation > ul li:last-child {
		border-bottom: 0 !important;
	}

	.woocommerce-account .woocommerce-MyAccount-navigation > ul li a {
		display: block !important;
		min-height: auto;
		padding: 0 !important;
		background: transparent;
		border: 0 !important;
		border-radius: 0 !important;
		font-size: 0.95rem;
	}

	.woocommerce-account .woocommerce-MyAccount-navigation > ul li a:hover {
		background: transparent;
		box-shadow: none;
		border-color: transparent !important;
		color: #8a5d7a;
	}

	.woocommerce-account .woocommerce-MyAccount-navigation-link.is-active > a,
	.woocommerce-account .woocommerce-MyAccount-navigation > ul li.is-active > a {
		background: transparent !important;
		color: #8a5d7a !important;
		border-color: transparent !important;
	}

	.woocommerce-account .woocommerce-MyAccount-content {
		grid-column: 2;
	}

	/* Guest: login+register side by side */
	.woocommerce-account .woocommerce > .u-columns.col2-set {
		grid-column: 1 / -1;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px;
	}
}

/* ---------------------------------------------------------------
   MY ACCOUNT — intro banner (rendered via PHP hook)
   --------------------------------------------------------------- */

.cherubin-account-intro {
	margin-bottom: 0;
}

.woocommerce-account .woocommerce > .cherubin-account-intro {
	grid-column: 1 / -1;
}

/* ---------------------------------------------------------------
   Woo form row pairs on tablet (edit account / address)
   --------------------------------------------------------------- */

@media (min-width: 640px) {
	.woocommerce-account .woocommerce-MyAccount-content .woocommerce-address-fields__field-wrapper,
	.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm {
		display: flow-root;
	}

	.woocommerce-account .woocommerce-MyAccount-content .form-row-first {
		float: left;
		width: calc(50% - 8px);
		margin-right: 8px;
	}

	.woocommerce-account .woocommerce-MyAccount-content .form-row-last {
		float: right;
		width: calc(50% - 8px);
		margin-left: 8px;
	}

	.woocommerce-account .woocommerce-MyAccount-content .form-row-wide {
		clear: both;
		width: 100%;
		float: none;
	}
}

/* ================================================================
   TARGETED FIXES v3 — based on live HTML inspection
   ================================================================ */

/* ---------------------------------------------------------------
   Cart coupon: ensure hidden by default even on mobile
   The mobile rule (display: grid) was overriding the hide rule.
   --------------------------------------------------------------- */

body:not(.cherubin-coupon-open) .woocommerce-cart .wdt-cart-coupon-holder .coupon,
body:not(.cherubin-coupon-open) .woocommerce-cart .wdt-cart-coupon-holder > .coupon {
	display: none !important;
}

/* Coupon toggle button — compact */
.cherubin-cart-coupon-toggle {
	min-height: 40px !important;
	padding: 8px 16px !important;
	font-size: 0.88rem;
}

/* Remove margin-bottom from the cart tools wrapper */
.cherubin-cart-tools.cherubin-cart-tools--inline {
	margin: 0 !important;
}

/* Container — tighter */
.woocommerce-cart .actions.wdt-cart-coupon-holder {
	margin-top: 6px;
	gap: 8px;
}

/* ---------------------------------------------------------------
   Cart cross-sells: compact, controlled layout
   --------------------------------------------------------------- */

.woocommerce-cart .cross-sells {
	margin-top: 32px;
	padding: 20px;
	background: rgba(255, 250, 246, 0.76);
	border: 1px solid rgba(35, 33, 33, 0.08);
	border-radius: 24px;
}

.woocommerce-cart .cross-sells h2 {
	margin: 0 0 16px;
	font-size: 1.1rem;
	font-weight: 700;
	line-height: 1.2;
}

/* Hide Petty's isotope ghost item */
.woocommerce-cart .cross-sells ul.products li.isotope-grid-sizer,
.woocommerce-cart .cross-sells ul.products li.product.isotope-grid-sizer {
	display: none !important;
}

/* Cross-sell product list — grid override */
.woocommerce-cart .cross-sells ul.products {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 14px !important;
	margin: 0 !important;
}

@media (min-width: 1024px) {
	.woocommerce-cart .cross-sells ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}
}

/* Reset Petty column wrappers inside cross-sells */
.woocommerce-cart .cross-sells .wdt-col {
	width: 100% !important;
	padding: 0 !important;
	float: none !important;
	margin: 0 !important;
}

.woocommerce-cart .cross-sells li.product {
	display: block !important;
	float: none !important;
	width: 100% !important;
	margin: 0 !important;
}

/* Product card in cross-sells */
.woocommerce-cart .cross-sells .product-wrapper {
	background: rgba(255, 255, 255, 0.88);
	border: 1px solid rgba(35, 33, 33, 0.08);
	border-radius: 18px;
	overflow: hidden;
}

.woocommerce-cart .cross-sells .product-thumb img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.woocommerce-cart .cross-sells .product-details {
	padding: 12px 14px !important;
}

.woocommerce-cart .cross-sells .product-title h5,
.woocommerce-cart .cross-sells .product-title h5 a {
	font-size: 0.92rem !important;
	line-height: 1.3;
	margin-bottom: 4px;
}

.woocommerce-cart .cross-sells .product-price {
	font-size: 0.88rem !important;
	margin-bottom: 8px;
}

.woocommerce-cart .cross-sells .product-category-wrapper {
	display: none;
}

.woocommerce-cart .cross-sells .product-buttons-wrapper a,
.woocommerce-cart .cross-sells .product-buttons-wrapper .button,
.woocommerce-cart .cross-sells .wdt-button {
	min-height: 36px !important;
	padding: 6px 12px !important;
	font-size: 0.82rem !important;
	border-radius: 999px !important;
}

/* ---------------------------------------------------------------
   My Account — fix for Petty's actual column structure
   Petty wraps nav in .column.wdt-one-fourth
   and content in .column.wdt-three-fourth
   (not direct children as WooCommerce standard)
   --------------------------------------------------------------- */

/* Reset Petty float columns */
.woocommerce-account .woocommerce > .column {
	float: none !important;
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	clear: none !important;
}

/* Mobile: single column */
.woocommerce-account .woocommerce {
	display: grid !important;
	grid-template-columns: 1fr !important;
	gap: 20px;
	align-items: start;
}

/* Tablet+: sidebar layout via actual column wrappers */
@media (min-width: 768px) {
	.woocommerce-account .woocommerce {
		grid-template-columns: minmax(200px, 260px) minmax(0, 1fr) !important;
		gap: 28px;
	}

	.woocommerce-account .woocommerce > .column.wdt-one-fourth,
	.woocommerce-account .woocommerce > .column.first {
		grid-column: 1;
		grid-row: 1;
		position: sticky;
		top: 24px;
		align-self: start;
	}

	.woocommerce-account .woocommerce > .column.wdt-three-fourth {
		grid-column: 2;
		grid-row: 1;
	}
}

/* Guest col2-set (login + register) */
.woocommerce-account .woocommerce > .u-columns.col2-set {
	grid-column: 1 / -1 !important;
	display: grid !important;
	grid-template-columns: 1fr !important;
	gap: 20px;
}

@media (min-width: 768px) {
	.woocommerce-account .woocommerce > .u-columns.col2-set {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 24px;
	}
}

/* My Account nav — mobile chips */
.woocommerce-account .woocommerce-MyAccount-navigation {
	background: rgba(255, 255, 255, 0.88);
	border: 1px solid rgba(35, 33, 33, 0.08);
	box-shadow: 0 12px 32px rgba(35, 33, 33, 0.06);
	border-radius: 24px;
	padding: 16px 18px;
}

.woocommerce-account .woocommerce-MyAccount-navigation > ul {
	display: flex !important;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation > ul li {
	border: 0 !important;
	padding: 0 !important;
	line-height: 1 !important;
	margin: 0 !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation > ul li a {
	display: inline-flex !important;
	align-items: center;
	min-height: 38px;
	padding: 7px 15px !important;
	background: rgba(255, 250, 246, 0.72);
	border: 1px solid rgba(35, 33, 33, 0.08) !important;
	border-radius: 999px !important;
	font-size: 0.88rem;
	font-weight: 600;
	color: #3a2d27;
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease;
}

.woocommerce-account .woocommerce-MyAccount-navigation > ul li a:hover {
	background: rgba(143, 93, 66, 0.09);
	color: #7a4e30;
}

.woocommerce-account .woocommerce-MyAccount-navigation-link.is-active > a {
	background: #8a5d7a !important;
	color: #fff !important;
	border-color: #8a5d7a !important;
}

/* Tablet+: nav as vertical list */
@media (min-width: 768px) {
	.woocommerce-account .woocommerce-MyAccount-navigation {
		padding: 18px 22px;
	}

	.woocommerce-account .woocommerce-MyAccount-navigation > ul {
		display: block !important;
	}

	.woocommerce-account .woocommerce-MyAccount-navigation > ul li {
		border-bottom: 1px solid rgba(35, 33, 33, 0.07) !important;
		padding: 9px 0 !important;
		line-height: 1.4 !important;
	}

	.woocommerce-account .woocommerce-MyAccount-navigation > ul li:last-child {
		border-bottom: 0 !important;
	}

	.woocommerce-account .woocommerce-MyAccount-navigation > ul li a {
		display: block !important;
		min-height: auto;
		padding: 0 !important;
		background: transparent;
		border: 0 !important;
		border-radius: 0 !important;
		font-size: 0.95rem;
	}

	.woocommerce-account .woocommerce-MyAccount-navigation > ul li a:hover {
		background: transparent;
		color: #8a5d7a;
	}

	.woocommerce-account .woocommerce-MyAccount-navigation-link.is-active > a {
		background: transparent !important;
		border-color: transparent !important;
		color: #8a5d7a !important;
	}
}

/* ---------------------------------------------------------------
   My Account dashboard: reduce verbose WooCommerce greeting text
   Our intro hero replaces the need for the full paragraph
   --------------------------------------------------------------- */

.woocommerce-account .woocommerce-MyAccount-content > p:first-of-type {
	font-size: 0.88rem;
	color: rgba(58, 45, 39, 0.65);
	margin-bottom: 4px;
}

.woocommerce-account .woocommerce-MyAccount-content > p:nth-of-type(2) {
	font-size: 0.9rem;
	color: rgba(58, 45, 39, 0.65);
	line-height: 1.6;
	margin-bottom: 20px;
}

/* ===============================================================
   CHERUBIN STANDALONE THEME FIXES v1
   =============================================================== */

/* ---------------------------------------------------------------
   HOMEPAGE — boxed sections (max-width centered)
   --------------------------------------------------------------- */

.cherubin-home {
	padding-left: 0;
	padding-right: 0;
}

.cherubin-home__hero,
.cherubin-home__section,
.cherubin-home__closing-grid {
	max-width: 1220px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 20px;
	padding-right: 20px;
}

/* ---------------------------------------------------------------
   CART — native WooCommerce coupon: compact inline style
   No more custom toggle — coupon always visible, styled nicely
   --------------------------------------------------------------- */

.woocommerce-cart td.actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	border: 0 !important;
	padding: 14px 0 !important;
	background: transparent !important;
}

.woocommerce-cart td.actions .coupon {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 1;
	min-width: 0;
}

.woocommerce-cart td.actions .coupon label {
	display: none;
}

.woocommerce-cart td.actions .coupon input.input-text {
	flex: 1;
	min-width: 140px;
	max-width: 220px;
	min-height: 42px;
	padding: 10px 14px;
	border: 1px solid rgba(35, 33, 33, 0.14);
	border-radius: 12px;
	font-size: 0.88rem;
	background: #fff;
}

.woocommerce-cart td.actions .coupon .button {
	min-height: 42px;
	padding: 10px 16px;
	font-size: 0.88rem;
	border-radius: 12px;
}

.woocommerce-cart td.actions button[name="update_cart"] {
	min-height: 42px;
	padding: 10px 16px;
	font-size: 0.88rem;
	border-radius: 12px;
	margin-left: auto;
	background: transparent;
	border: 1px solid rgba(35, 33, 33, 0.15);
	color: #3a2d27;
}

.woocommerce-cart td.actions button[name="update_cart"]:hover {
	background: rgba(35, 33, 33, 0.06);
}

/* Hide the stray cherubin-cart-tools if it somehow still renders */
.woocommerce-cart td.actions .cherubin-cart-tools {
	display: none !important;
}

/* ---------------------------------------------------------------
   CHECKOUT — 2-column billing fields (first + last side by side)
   --------------------------------------------------------------- */

/* All fields full-width by default */
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper .form-row {
	flex: 1 1 100%;
	min-width: 0;
}

/* First + Last name side by side on tablet+ */
@media (min-width: 600px) {
	.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row-first,
	.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row-last,
	.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper .form-row-first,
	.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper .form-row-last {
		flex: 1 1 calc(50% - 8px) !important;
		width: auto !important;
		float: none !important;
		min-width: 0;
	}
}

/* ---------------------------------------------------------------
   PRODUCT SINGLE — wider container, better notes grid
   --------------------------------------------------------------- */

/* Give product single more breathing room */
.single-product .container,
.single-product .cherubin-container {
	max-width: 1320px;
}

/* Product notes — 3 items in a row on desktop */
.cherubin-product-notes {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	grid-column: 1 / -1;
	margin-top: 8px;
}

.cherubin-product-notes__item {
	display: grid;
	gap: 4px;
	padding: 12px 14px;
	background: rgba(255, 250, 246, 0.85);
	border: 1px solid rgba(35, 33, 33, 0.08);
	border-radius: 14px;
}

.cherubin-product-notes__item strong {
	font-size: 0.85rem;
	font-weight: 700;
	color: #3a2d27;
}

.cherubin-product-notes__item span {
	font-size: 0.82rem;
	line-height: 1.45;
	color: #6e5a4d;
}

/* Product single — standard WooCommerce-like layout */

/* Full-width container */
.single-product .container,
.single-product .cherubin-container {
	max-width: 1320px;
}

/* Reduce top space on product pages (breadcrumb already provides spacing) */
.single-product.woocommerce-page #main {
	padding-top: 4px;
}

/* Balanced 2-column grid */
.woocommerce div.product {
	grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
	gap: 40px;
}

/* Remove inner padding — let the grid handle spacing */
.woocommerce div.product div.images,
.woocommerce div.product div.summary {
	padding: 0;
}

/* Sticky image column */
.woocommerce div.product div.images {
	position: sticky;
	top: 80px;
	align-self: start;
}

/* Summary: simple stacked layout, no sub-grid */
.woocommerce div.product div.summary {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 0;
}

/* Keep span rules for sub-items that had grid-column: 1/-1 — safe to keep */
.woocommerce div.product div.summary > .product_title,
.woocommerce div.product div.summary > .entry-title,
.woocommerce div.product div.summary > .price,
.woocommerce div.product div.summary > .woocommerce-product-details__short-description,
.woocommerce div.product div.summary > form.cart,
.woocommerce div.product div.summary > form.variations_form.cart {
	grid-column: unset;
}

@media (max-width: 900px) {
	.cherubin-product-notes {
		grid-template-columns: 1fr;
	}

	.woocommerce div.product {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.woocommerce div.product div.images {
		position: static;
	}
}

/* ---------------------------------------------------------------
   ANNOUNCEMENT BAR — thin info strip above header
   --------------------------------------------------------------- */

#cherubin-announcement {
	background: #3a2d27;
	color: rgba(255, 247, 236, 0.82);
	font-size: 0.8rem;
	line-height: 1.3;
	padding: 6px 0;
}

.cherubin-announcement__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.cherubin-announcement__left,
.cherubin-announcement__right {
	display: flex;
	align-items: center;
	gap: 16px;
}

.cherubin-announcement__center {
	flex: 1;
	text-align: center;
}

#cherubin-announcement a {
	color: rgba(255, 247, 236, 0.82);
	text-decoration: none;
}

#cherubin-announcement a:hover {
	color: #fff7ec;
}

.cherubin-announcement__promo {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.cherubin-announcement__code {
	display: inline-flex;
	align-items: center;
	padding: 2px 10px;
	background: rgba(255, 247, 236, 0.12);
	border: 1px dashed rgba(255, 247, 236, 0.35);
	border-radius: 6px;
	font-family: 'Courier New', monospace;
	font-weight: 700;
	font-size: 0.82rem;
	letter-spacing: 0.06em;
	color: #fff7ec;
	cursor: pointer;
	transition: background 0.15s;
}

.cherubin-announcement__code:hover {
	background: rgba(255, 247, 236, 0.2);
}

@media (max-width: 600px) {
	.cherubin-announcement__left,
	.cherubin-announcement__right {
		display: none;
	}

	.cherubin-announcement__center {
		text-align: center;
		width: 100%;
	}
}

/* ---------------------------------------------------------------
   PRODUCT SINGLE — white card background on gallery + summary
   --------------------------------------------------------------- */

.single-product .woocommerce div.product div.images,
.single-product .woocommerce div.product div.summary {
	background: rgba(255, 255, 255, 0.96);
	border-radius: 20px;
	padding: 24px;
	border: 1px solid rgba(35, 33, 33, 0.07);
	box-shadow: 0 4px 24px rgba(35, 33, 33, 0.06);
}

/* Ensure image border-radius doesn't double with card */
.single-product .woocommerce div.product div.images img {
	border-radius: 14px;
}

/* ---------------------------------------------------------------
   RELATED & UPSELL — compact shop-style display (5 cols on desktop)
   --------------------------------------------------------------- */

.woocommerce div.product .related.products,
.woocommerce div.product .upsells.products {
	padding: 0;
	margin-top: 48px;
}

.woocommerce div.product .related.products > h2,
.woocommerce div.product .upsells.products > h2 {
	font-size: 1.15rem;
	font-weight: 700;
	margin-bottom: 16px;
	color: #3a2d27;
}

/* 3 cols on tablet, 5 cols on desktop — compact cards */
.woocommerce div.product .related.products ul.products,
.woocommerce div.product .upsells.products ul.products {
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 12px !important;
}

@media (min-width: 1024px) {
	.woocommerce div.product .related.products ul.products,
	.woocommerce div.product .upsells.products ul.products {
		grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
		gap: 10px !important;
	}
}

/* Compact product card inside related/upsell */
.woocommerce div.product .related.products li.product,
.woocommerce div.product .upsells.products li.product {
	font-size: 0.88rem;
}

.woocommerce div.product .related.products li.product a img,
.woocommerce div.product .upsells.products li.product a img {
	max-height: 160px;
	object-fit: cover;
}

.woocommerce div.product .related.products li.product .price,
.woocommerce div.product .upsells.products li.product .price {
	font-size: 0.92rem;
}

/* ---------------------------------------------------------------
   BLOG SINGLE — hero with side-by-side text + thumbnail (1:2)
   --------------------------------------------------------------- */

.cherubin-web-hero--single-post.has-thumbnail {
	grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
	align-items: stretch;
	gap: 0;
	padding: 0;
	overflow: hidden;
}

/* Text column: keep padding inside */
.cherubin-web-hero--single-post.has-thumbnail .cherubin-web-hero__copy {
	padding: 28px 28px 28px 28px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 14px;
}

.cherubin-web-hero--single-post.has-thumbnail .cherubin-web-hero__copy h1 {
	font-size: clamp(1.25rem, 2.2vw, 1.9rem);
	line-height: 1.1;
	margin: 0;
}

.cherubin-web-hero--single-post.has-thumbnail .cherubin-web-hero__copy p {
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.6;
}

.cherubin-web-hero--single-post.has-thumbnail .cherubin-web-note-grid {
	margin-top: 4px;
}

/* Image column: fills height, no radius on left (card already has it) */
.cherubin-web-hero__media {
	position: relative;
	overflow: hidden;
	border-radius: 0 22px 22px 0;
}

.cherubin-web-hero__media-img {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	margin: 0 !important;
}

/* Margin below the whole hero */
.cherubin-single .cherubin-web-hero--single-post {
	margin-bottom: 24px;
}

/* Mobile: stack vertically, image above text */
@media (max-width: 767px) {
	.cherubin-web-hero--single-post.has-thumbnail {
		grid-template-columns: 1fr;
		padding: 0;
	}

	.cherubin-web-hero--single-post.has-thumbnail .cherubin-web-hero__copy {
		padding: 20px 18px;
		order: 2;
	}

	.cherubin-web-hero__media {
		order: 1;
		border-radius: 22px 22px 0 0;
		max-height: 240px;
	}
}

.cherubin-single__thumbnail {
	margin-bottom: 24px;
}

/* ---------------------------------------------------------------
   PRODUCT SINGLE — summary inner padding (inside white card)
   --------------------------------------------------------------- */

.single-product .woocommerce div.product div.summary {
	padding: 20px !important;
}

/* ---------------------------------------------------------------
   SHOP — standard WooCommerce product cards (no Petty template)
   Each li.product is a self-contained white card
   --------------------------------------------------------------- */

/* Hide ghost isotope sizer + any truly empty li */
.woocommerce ul.products li.isotope-grid-sizer,
.woocommerce ul.products li.product.isotope-grid-sizer {
	display: none !important;
	position: absolute !important;
}

/* Card container */
.woocommerce ul.products li.product {
	background: rgba(255, 255, 255, 0.94) !important;
	border: 1px solid rgba(35, 33, 33, 0.08) !important;
	border-radius: 20px !important;
	overflow: hidden !important;
	display: flex !important;
	flex-direction: column !important;
	box-shadow: 0 6px 20px rgba(35, 33, 33, 0.07) !important;
}

/* Inner link (image + title + price) stacks vertically */
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: inherit;
	flex: 1;
}

/* Product image — square, top corners match card radius */
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link img {
	display: block !important;
	width: 100% !important;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 18px 18px 0 0;
	margin: 0 !important;
}

/* Product title */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-size: 0.88rem !important;
	font-weight: 700 !important;
	line-height: 1.3;
	color: #3a2d27;
	padding: 10px 12px 3px !important;
	margin: 0 !important;
}

/* Price */
.woocommerce ul.products li.product .price {
	display: block !important;
	font-size: 0.85rem !important;
	font-weight: 700 !important;
	padding: 0 12px 8px !important;
	margin: 0 !important;
}

/* Add to cart / View button */
.woocommerce ul.products li.product > a.button {
	display: block !important;
	margin: auto 12px 12px !important;
	border-radius: 999px !important;
	font-size: 0.82rem !important;
	text-align: center;
	min-height: 34px !important;
	padding: 6px 12px !important;
	line-height: 1.2;
}

/* ---------------------------------------------------------------
   RELATED & UPSELL — also apply card styling to compact cards
   --------------------------------------------------------------- */

.woocommerce div.product .related.products li.product,
.woocommerce div.product .upsells.products li.product {
	box-shadow: 0 4px 12px rgba(35, 33, 33, 0.06) !important;
}

.woocommerce div.product .related.products li.product a.woocommerce-LoopProduct-link img,
.woocommerce div.product .upsells.products li.product a.woocommerce-LoopProduct-link img {
	border-radius: 16px 16px 0 0;
}

/* ---------------------------------------------------------------
   CHECKOUT HERO — collapsible on mobile
   --------------------------------------------------------------- */

@media (max-width: 767px) {
	.cherubin-web-hero--checkout {
		cursor: pointer;
	}

	/* Collapsed state: show only eyebrow + h1, hide body text and note grid */
	.cherubin-web-hero--checkout.is-collapsed .cherubin-web-hero__copy > p,
	.cherubin-web-hero--checkout.is-collapsed .cherubin-web-note-grid {
		display: none;
	}

	/* Toggle arrow after h1 */
	.cherubin-web-hero--checkout .cherubin-web-hero__copy h1 {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 10px;
	}

	.cherubin-web-hero--checkout .cherubin-web-hero__copy h1::after {
		content: '▲';
		font-size: 0.7rem;
		opacity: 0.45;
		flex-shrink: 0;
		transition: transform 0.25s;
	}

	.cherubin-web-hero--checkout.is-collapsed .cherubin-web-hero__copy h1::after {
		transform: rotate(180deg);
	}
}

/* ---------------------------------------------------------------
   SHOP — compact product cards on mobile
   --------------------------------------------------------------- */

@media (max-width: 767px) {
	/* Tighter image — 4:5 ratio saves vertical space */
	.woocommerce ul.products li.product a.woocommerce-LoopProduct-link img {
		aspect-ratio: 4 / 5 !important;
	}

	/* Less card padding on mobile */
	.woocommerce ul.products li.product .woocommerce-loop-product__title {
		font-size: 0.8rem !important;
		padding: 8px 10px 2px !important;
	}

	.woocommerce ul.products li.product .price {
		font-size: 0.8rem !important;
		padding: 0 10px 6px !important;
	}

	.woocommerce ul.products li.product > a.button {
		min-height: 30px !important;
		padding: 5px 10px !important;
		font-size: 0.78rem !important;
		margin: auto 10px 10px !important;
	}

	/* Tighter gap between cards */
	.woocommerce ul.products {
		column-gap: 10px !important;
		row-gap: 12px !important;
	}

	/* Shop section container breathing room from edges */
	.cherubin-shop-section,
	.woocommerce-page .main-title-section-wrapper {
		margin-left: 4px;
		margin-right: 4px;
	}
}

/* ---------------------------------------------------------------
   PRODUCT SINGLE — mobile fixes (iPhone portrait)
   --------------------------------------------------------------- */

@media (max-width: 767px) {
	/* Ensure title section doesn't overlap gallery */
	.single-product .woocommerce div.product {
		margin-top: 0;
	}

	/* Images card padding */
	.single-product .woocommerce div.product div.images {
		padding: 14px !important;
	}

	/* Summary: proper inner padding */
	.single-product .woocommerce div.product div.summary {
		padding: 16px !important;
	}

	/* Quantity input: make +/- visible and not clipped */
	.woocommerce div.product form.cart .quantity {
		display: flex;
		align-items: center;
		gap: 6px;
	}

	.woocommerce div.product form.cart .quantity input.qty {
		width: 52px !important;
		min-width: 52px;
		text-align: center;
		padding: 8px 4px;
	}

	/* Related + upsells: proper padding from edge */
	.woocommerce div.product .related.products,
	.woocommerce div.product .upsells.products {
		padding: 0 2px !important;
	}

	/* Stronger isotope ghost removal for related/upsells and cross-sells */
	.woocommerce ul.products > li:first-child:not([class*="product_cat"]):not([class*="type-product"]),
	.woocommerce ul.products li.isotope-grid-sizer,
	.woocommerce ul.products li[class*="isotope-grid-sizer"],
	.woocommerce-cart .cross-sells ul.products li.isotope-grid-sizer,
	.woocommerce-cart .cross-sells ul.products li.product.isotope-grid-sizer,
	.woocommerce div.product .related ul.products li.isotope-grid-sizer,
	.woocommerce div.product .upsells ul.products li.isotope-grid-sizer {
		display: none !important;
		visibility: hidden !important;
		width: 0 !important;
		height: 0 !important;
		padding: 0 !important;
		margin: 0 !important;
		overflow: hidden !important;
		position: absolute !important;
		pointer-events: none !important;
	}
}

/* ---------------------------------------------------------------
   CHECKOUT — shipping + payment full-width inside review col (mobile)
   --------------------------------------------------------------- */

@media (max-width: 767px) {
	/* Remove inner padding constraints that make Stripe cramped */
	.woocommerce-checkout .cherubin-checkout-review-col {
		padding: 0 !important;
		border: none !important;
		background: transparent !important;
		box-shadow: none !important;
	}

	/* Each card inside gets its own card styling instead */
	.woocommerce-checkout #order_review_heading {
		padding: 16px 16px 0;
	}

	.woocommerce-checkout table.woocommerce-checkout-review-order-table {
		border-radius: 18px;
		overflow: hidden;
	}

	/* Payment: full width, no nesting visual */
	.woocommerce-checkout .woocommerce-billing-fields,
	.woocommerce-checkout .woocommerce-shipping-fields,
	.woocommerce-checkout .woocommerce-additional-fields,
	.woocommerce-checkout .woocommerce-checkout-review-order-table,
	.woocommerce-checkout #payment {
		border-radius: 18px !important;
	}
}
