/**
 * My Store Theme – WooCommerce styles.
 *
 * Targets WooCommerce's public block class names (wc-block-*, wp-block-woocommerce-*)
 * and classic form markup. No templates are overridden, so WooCommerce updates
 * keep working; at worst a renamed class loses polish, never functionality.
 */

/* ---------------------------------------------------------------------------
 * Product grid & cards
 * ------------------------------------------------------------------------ */

.my-store-products .wc-block-product-template {
	gap: clamp(1.75rem, 3vw, 2.75rem) clamp(0.85rem, 2vw, 1.5rem);
}

/* Explicit, predictable columns: 2 on phones, 3 on tablets, block setting on desktop. */
.my-store-products .wc-block-product-template {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

@media (min-width: 782px) {
	.my-store-products .wc-block-product-template {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}
}

@media (min-width: 1100px) {
	.my-store-products .wc-block-product-template.columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
	.my-store-products .wc-block-product-template.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
	.my-store-products .wc-block-product-template.columns-5 { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; }
}

.my-store-products .wc-block-product {
	display: flex;
	flex-direction: column;
	text-align: left;
	position: relative;
	margin: 0;
}

.my-store-products .wc-block-product > * {
	margin-block: 0;
}

/*
 * Card layout: a one-column grid where the image and the quick-add button
 * share the first cell, so the button floats over the image's bottom-right
 * corner whatever the image ratio (Shopify-style "+" quick add).
 */
.my-store-products .wc-block-product {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	grid-template-rows: auto 1fr;
	align-content: start;
}

.my-store-products .wc-block-product > .my-store-card__media {
	grid-area: 1 / 1;
}

.my-store-products .wc-block-product > .my-store-card__body {
	grid-area: 2 / 1;
}

.my-store-products .wc-block-product > .my-store-card__button {
	grid-area: 1 / 1;
	align-self: end;
	justify-self: end;
}

/* Media */
.my-store-card__media.wc-block-components-product-image {
	position: relative;
	overflow: hidden;
	border-radius: var(--wp--custom--radius--card);
	background: var(--wp--preset--color--surface);
	margin: 0;
}

.my-store-card__media.wc-block-components-product-image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: var(--wp--custom--card--image-ratio, 4 / 5) !important;
	object-fit: cover !important;
	transition: opacity 0.45s ease;
}

.my-store-card__media .my-store-card__alt-image {
	position: absolute;
	inset: 0;
	height: 100% !important;
	opacity: 0;
}

@media (hover: hover) {
	.wc-block-product:hover .my-store-card__media .my-store-card__alt-image {
		opacity: 1;
	}
}

/* Badges: small, square, black. */
.my-store-card__media .wc-block-components-product-sale-badge,
.my-store-badge {
	position: absolute;
	top: 0.6rem;
	left: 0.6rem;
	z-index: 2;
	margin: 0;
	padding: 0.25rem 0.5rem;
	border: 0;
	border-radius: var(--wp--custom--radius--badge, 0);
	background: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
	font-size: 0.6875rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	line-height: 1.3;
}

.my-store-badge--soldout {
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--contrast);
	border: 1px solid var(--wp--preset--color--contrast);
}

.my-store-card__media:has(.wc-block-components-product-sale-badge) .my-store-badge {
	top: 2.4rem;
}

.wc-block-product.outofstock .my-store-card__media img {
	opacity: 0.55;
}

/* Body */
.my-store-card__body {
	gap: 0.2rem;
	padding-top: 0.75rem;
}

.my-store-card__title.wp-block-post-title {
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.4;
	margin: 0;
}

.my-store-card__title a {
	text-decoration: none;
}

.my-store-card__title a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.my-store-card__title a::after {
	/* Make the image + text clickable without nesting links. */
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.my-store-card__price,
.my-store-card__price .wc-block-components-product-price {
	font-size: var(--wp--preset--font-size--small);
	text-align: left;
}

.my-store-card__rating .wc-block-components-product-rating__container {
	justify-content: flex-start;
}

.my-store-card__rating .wc-block-components-product-rating__stars {
	font-size: 0.75rem;
	margin: 0;
}

/* Quick add: a small square "+" floating on the image. */
.my-store-products .my-store-card__button {
	position: relative;
	z-index: 3;
	margin: 0 0.6rem 0.6rem 0 !important;
	width: auto;
}

.my-store-products .my-store-card__button.wc-block-components-product-button .wc-block-components-product-button__button {
	position: relative;
	display: grid;
	place-items: center;
	width: 2.25rem;
	height: 2.25rem;
	min-height: 0;
	padding: 0;
	margin: 0;
	border: 1px solid var(--wp--preset--color--contrast);
	border-radius: var(--wp--custom--radius--button);
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--contrast);
	font-size: 0;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
	transition: background-color var(--my-store-ease), color var(--my-store-ease), opacity var(--my-store-ease), transform var(--my-store-ease);
}

/* Label stays available to screen readers; the icon is drawn with a mask. */
.my-store-products .my-store-card__button .wc-block-components-product-button__button > span {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.my-store-products .my-store-card__button .wc-block-components-product-button__button::before {
	content: "";
	width: 0.9rem;
	height: 0.9rem;
	background: currentColor;
	-webkit-mask: var(--my-store-icon-plus) center / contain no-repeat;
	mask: var(--my-store-icon-plus) center / contain no-repeat;
}

.my-store-products .my-store-card__button .wc-block-components-product-button__button.added::before,
.my-store-products .my-store-card__button .wc-block-components-product-button__button:not(.loading)[aria-label*="in cart"]::before {
	-webkit-mask-image: var(--my-store-icon-check-thin);
	mask-image: var(--my-store-icon-check-thin);
}

.my-store-products .my-store-card__button .wc-block-components-product-button__button.loading::before {
	animation: my-store-spin 0.8s linear infinite;
}

/* Hide WooCommerce's own spinner/check overlays on the small button. */
.my-store-products .my-store-card__button .wc-block-components-product-button__button.loading::after,
.my-store-products .my-store-card__button .wc-block-components-product-button__button.added::after {
	content: none;
	display: none;
}

.my-store-products .my-store-card__button.wc-block-components-product-button .wc-block-components-product-button__button:hover,
.my-store-products .my-store-card__button.wc-block-components-product-button .wc-block-components-product-button__button:focus-visible {
	background: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
}

@media (hover: hover) and (min-width: 782px) {
	.my-store-products .my-store-card__button .wc-block-components-product-button__button {
		opacity: 0;
		transform: translateY(4px);
	}

	.my-store-products .wc-block-product:hover .my-store-card__button .wc-block-components-product-button__button,
	.my-store-products .my-store-card__button .wc-block-components-product-button__button:focus-visible,
	.my-store-products .my-store-card__button .wc-block-components-product-button__button.loading,
	.my-store-products .my-store-card__button .wc-block-components-product-button__button.added {
		opacity: 1;
		transform: none;
	}
}

/* Never show WooCommerce's "View cart" link: the mini-cart drawer opens instead. */
.my-store-products .added_to_cart,
.my-store-products .wc-block-components-product-button a.added_to_cart {
	display: none !important;
}

@keyframes my-store-spin {
	to {
		transform: rotate(360deg);
	}
}

/* Prices everywhere */
.wc-block-components-product-price del,
.price del {
	color: var(--wp--preset--color--muted);
	opacity: 1;
	font-weight: 400;
}

.wc-block-components-product-price ins,
.price ins {
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
	font-weight: 500;
}

.star-rating span::before,
.wc-block-components-product-rating__stars span::before {
	color: var(--wp--preset--color--contrast);
}

/* Pagination */
.my-store-pagination {
	margin-top: var(--wp--preset--spacing--50) !important;
	gap: 0.35rem;
	font-size: var(--wp--preset--font-size--small);
}

.my-store-pagination .page-numbers,
.my-store-pagination a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	height: 2.5rem;
	padding: 0 0.75rem;
	border-radius: var(--wp--custom--radius--button);
	text-decoration: none;
	border: 1px solid transparent;
}

.my-store-pagination a:hover {
	border-color: var(--wp--preset--color--border);
}

.my-store-pagination .page-numbers.current {
	background: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
}

/* ---------------------------------------------------------------------------
 * Category tiles (Product Categories block, "Tiles" style)
 * ------------------------------------------------------------------------ */

.wp-block-woocommerce-product-categories.is-style-tiles .wc-block-product-categories-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(45%, 180px), 1fr));
	gap: clamp(0.75rem, 2vw, 1.5rem);
	list-style: none;
	margin: 0;
	padding: 0;
}

.wp-block-woocommerce-product-categories.is-style-tiles .wc-block-product-categories-list-item {
	position: relative;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}

.wp-block-woocommerce-product-categories.is-style-tiles .wc-block-product-categories-list-item > a {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	text-decoration: none;
	font-weight: 600;
}

.wp-block-woocommerce-product-categories.is-style-tiles .wc-block-product-categories-list-item__image {
	display: block;
	width: 100%;
	max-width: none;
	margin: 0;
	border: 0;
	border-radius: var(--wp--custom--radius--card);
	overflow: hidden;
	background: var(--wp--preset--color--surface);
}

.wp-block-woocommerce-product-categories.is-style-tiles .wc-block-product-categories-list-item__image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	object-fit: cover;
	transition: transform 0.8s cubic-bezier(.2, .7, .2, 1);
}

.wp-block-woocommerce-product-categories.is-style-tiles .wc-block-product-categories-list-item:hover img {
	transform: scale(1.05);
}

.wp-block-woocommerce-product-categories.is-style-tiles .wc-block-product-categories-list-item-count {
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--x-small);
}

.wp-block-woocommerce-product-categories.is-style-tiles .wc-block-product-categories-list-item-count::before,
.wp-block-woocommerce-product-categories.is-style-tiles .wc-block-product-categories-list-item-count::after {
	content: none;
}

/* Nested lists (if "show hierarchy" is enabled) are hidden in tile mode. */
.wp-block-woocommerce-product-categories.is-style-tiles .wc-block-product-categories-list--depth-1 {
	display: none;
}

/* ---------------------------------------------------------------------------
 * Catalogue (shop / category / search)
 * ------------------------------------------------------------------------ */

.my-store-archive__header {
	margin-bottom: var(--wp--preset--spacing--40);
}

.my-store-archive__header .wp-block-query-title {
	margin: 0.75rem 0 0;
	font-size: var(--wp--preset--font-size--xx-large);
}

.my-store-archive__description {
	color: var(--wp--preset--color--muted);
	max-width: 60ch;
}

.my-store-archive__layout {
	gap: var(--wp--preset--spacing--50);
	align-items: flex-start !important;
}

@media (min-width: 782px) {
	.my-store-archive__sidebar {
		position: sticky;
		top: var(--my-store-header-offset);
		max-height: calc(100vh - var(--my-store-header-offset));
		overflow-y: auto;
		padding-right: 0.5rem;
		scrollbar-width: thin;
	}
}

.my-store-toolbar {
	padding-bottom: 1rem;
	margin-bottom: var(--wp--preset--spacing--40);
	border-bottom: 1px solid var(--wp--preset--color--border);
	align-items: center;
	font-size: var(--wp--preset--font-size--small);
}

.my-store-toolbar > * {
	margin: 0 !important;
}

.my-store-toolbar .woocommerce-result-count {
	color: var(--wp--preset--color--muted);
	margin: 0;
}

.my-store-toolbar .woocommerce-ordering {
	margin: 0;
}

.my-store-toolbar select.orderby {
	padding: 0.55rem 2.25rem 0.55rem 1rem;
	border-radius: var(--wp--custom--radius--button);
	background-color: var(--wp--preset--color--base);
	font-size: var(--wp--preset--font-size--small);
}

/* Filters */
.my-store-filters {
	font-size: var(--wp--preset--font-size--small);
}

.my-store-filters .wc-block-product-filters__overlay-content {
	gap: 0;
}

.my-store-filters .wc-block-product-filters__overlay-content > * {
	margin: 0;
	padding: 1.25rem 0;
	border-top: 1px solid var(--wp--preset--color--border);
}

.my-store-filters .wc-block-product-filters__overlay-content > :first-child {
	border-top: 0;
	padding-top: 0;
}

.my-store-filters .wp-block-woocommerce-product-filter-active:not(:has(.wc-block-product-filter-removable-chips__item)) {
	display: none;
}

.my-store-filters .wp-block-woocommerce-product-filter-active:not(:has(.wc-block-product-filter-removable-chips__item)) + * {
	border-top: 0;
	padding-top: 0;
}

.my-store-filter-title.wp-block-heading {
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 600;
	letter-spacing: var(--wp--custom--eyebrow--letter-spacing);
	text-transform: uppercase;
	margin: 0 0 0.75rem;
}

.my-store-filters .wc-block-product-filter-chips__item {
	border-radius: var(--wp--custom--radius--button);
	border-color: var(--wp--preset--color--border);
	background: var(--wp--preset--color--base);
}

.my-store-filters .wc-block-product-filter-chips__item[aria-checked="true"] {
	background: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
	border-color: var(--wp--preset--color--contrast);
}

.my-store-filters .wc-block-product-filter-removable-chips__item {
	border-radius: var(--wp--custom--radius--button);
}

/* Mobile "Filter products" button opens WooCommerce's overlay. */
.my-store-filters .wc-block-product-filters__open-overlay {
	width: 100%;
	justify-content: center;
	padding: 0.7rem 1rem;
	border: 1px solid var(--wp--preset--color--contrast);
	border-radius: var(--wp--custom--radius--button);
	background: transparent;
	color: var(--wp--preset--color--contrast);
	font-weight: 600;
}

.my-store-filters .wc-block-product-filters__overlay-footer .wc-block-product-filters__apply {
	border-radius: var(--wp--custom--radius--button);
}

@media (max-width: 781px) {
	.my-store-archive__layout {
		gap: 1rem;
	}

	.my-store-archive__sidebar {
		flex-basis: 100% !important;
	}
}

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

.my-store-product .wp-block-woocommerce-breadcrumbs {
	margin-bottom: var(--wp--preset--spacing--30);
}

.my-store-product__layout {
	gap: var(--wp--preset--spacing--60) !important;
	align-items: flex-start !important;
}

@media (min-width: 782px) {
	/* The gallery is a tall stack of images; only the summary sticks. */
	.my-store-product__summary {
		position: sticky;
		top: var(--my-store-header-offset);
	}
}

/* Gallery (WooCommerce's classic gallery: zoom + lightbox + slider). */
.my-store-product__gallery .wp-block-woocommerce-product-image-gallery {
	max-width: none;
	width: 100%;
}

.my-store-product__gallery .woocommerce-product-gallery {
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
	position: relative;
}

.my-store-product__gallery .woocommerce-product-gallery__wrapper,
.my-store-product__gallery .flex-viewport {
	border-radius: var(--wp--custom--radius--media);
	overflow: hidden;
	background: var(--wp--preset--color--surface);
}

.my-store-product__gallery .flex-viewport .woocommerce-product-gallery__wrapper {
	border-radius: 0;
}

.my-store-product__gallery .woocommerce-product-gallery__image img {
	width: 100%;
	height: auto;
	display: block;
}

.my-store-product__gallery .flex-control-thumbs {
	display: grid !important;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 0.6rem;
	margin: 0.75rem 0 0 !important;
	padding: 0;
	list-style: none;
}

.my-store-product__gallery .flex-control-thumbs li {
	width: auto !important;
	float: none !important;
	margin: 0 !important;
}

.my-store-product__gallery .flex-control-thumbs img {
	border-radius: var(--wp--custom--radius--control);
	opacity: 0.55;
	cursor: pointer;
	transition: opacity var(--my-store-ease);
	border: 1px solid transparent;
}

.my-store-product__gallery .flex-control-thumbs img.flex-active,
.my-store-product__gallery .flex-control-thumbs img:hover {
	opacity: 1;
	border-color: var(--wp--preset--color--contrast);
}

.my-store-product__gallery .woocommerce-product-gallery__trigger {
	position: absolute;
	top: 1rem;
	right: 1rem;
	z-index: 9;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 0;
	background: var(--wp--preset--color--base);
	box-shadow: none;
	border: 1px solid var(--wp--preset--color--border);
}

.woocommerce .my-store-product .my-store-product__gallery span.onsale {
	position: absolute;
	top: 1rem;
	left: 1rem;
	z-index: 9;
	padding: 0.3rem 0.75rem;
	border-radius: var(--wp--custom--radius--badge, 0);
	background: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
	font-size: 0.6875rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	min-height: 0;
	min-width: 0;
	line-height: 1.4;
}

/* Summary */
.my-store-product__summary > * {
	margin-block: 0 !important;
}

.my-store-product__summary > * + * {
	margin-top: 1rem !important;
}

.my-store-product__title {
	font-size: var(--wp--preset--font-size--x-large);
	margin-top: 0.5rem !important;
}

.my-store-product__price {
	font-family: var(--wp--preset--font-family--body);
}

.my-store-product__excerpt {
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--small);
	padding-top: 0.5rem;
}

.my-store-product__price {
	padding-bottom: 1.25rem;
	border-bottom: 1px solid var(--wp--preset--color--border);
}

.my-store-product__excerpt p:last-child {
	margin-bottom: 0;
}

/* Add to cart form (simple, variable, grouped, external). */
.my-store-product__cart form.cart {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: stretch;
	margin: 0;
}

.my-store-product__cart form.variations_form,
.my-store-product__cart form.grouped_form {
	display: block;
}

.my-store-product__cart table.variations {
	width: 100%;
	border: 0;
	border-collapse: collapse;
	margin: 0 0 0.5rem;
}

.my-store-product__cart table.variations,
.my-store-product__cart table.variations tbody {
	display: block;
}

.my-store-product__cart table.variations tr {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin-bottom: 1.1rem;
}

.my-store-product__cart table.variations th,
.my-store-product__cart table.variations td {
	display: block;
	padding: 0;
	border: 0;
	text-align: left;
	line-height: 1.3;
}

.my-store-product__cart table.variations label {
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 600;
	letter-spacing: var(--wp--custom--eyebrow--letter-spacing);
	text-transform: uppercase;
}

.woocommerce .my-store-product__cart table.variations td select {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	height: 3rem;
	margin: 0;
	padding: 0 3rem 0 1rem;
	line-height: 1.3;
	font-size: var(--wp--preset--font-size--small);
	cursor: pointer;
}

.my-store-product__cart .reset_variations {
	display: inline-block;
	margin-top: 0.5rem;
	font-size: var(--wp--preset--font-size--x-small);
	color: var(--wp--preset--color--muted);
}

.my-store-product__cart .woocommerce-variation-add-to-cart {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.my-store-product__cart .single_variation_wrap .woocommerce-variation:not(:empty) {
	margin-bottom: 1rem;
}

.my-store-product__cart .woocommerce-variation-price .price {
	font-size: var(--wp--preset--font-size--large);
}

/* Quantity stepper (WooCommerce's "stepper" style) + add to cart, one row. */
.my-store-product__cart .woocommerce-variation-add-to-cart,
.my-store-product__cart form.cart:not(.variations_form):not(.grouped_form) {
	display: flex;
	flex-wrap: nowrap;
	gap: 0.6rem;
	align-items: stretch;
}

.woocommerce .my-store-product__cart .quantity {
	display: inline-flex;
	align-items: stretch;
	flex: 0 0 auto;
	width: auto;
	height: 3rem;
	margin: 0 !important;
	border: 1px solid var(--wp--preset--color--contrast);
	border-radius: var(--wp--custom--radius--control);
	background: var(--wp--preset--color--base);
	overflow: hidden;
}

.woocommerce .my-store-product__cart .quantity::after {
	content: none;
}

.woocommerce .my-store-product__cart .quantity .wc-block-components-quantity-selector__button {
	flex: 0 0 2.75rem;
	width: 2.75rem;
	min-width: 0;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--wp--preset--color--contrast);
	font-family: var(--wp--preset--font-family--body);
	font-size: 1.25rem;
	font-weight: 300;
	line-height: 1;
	opacity: 1;
	cursor: pointer;
	box-shadow: none;
}

.woocommerce .my-store-product__cart .quantity .wc-block-components-quantity-selector__button:hover {
	background: var(--wp--preset--color--surface);
}

.woocommerce .my-store-product__cart .quantity .wc-block-components-quantity-selector__button:disabled {
	opacity: 0.3;
	cursor: default;
}

.woocommerce .my-store-product__cart .quantity input.qty {
	width: 2.75rem;
	min-width: 0;
	height: 100%;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	text-align: center;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 500;
	-moz-appearance: textfield;
	appearance: textfield;
}

.woocommerce .my-store-product__cart .quantity input.qty::-webkit-inner-spin-button,
.woocommerce .my-store-product__cart .quantity input.qty::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.woocommerce .my-store-product__cart .single_add_to_cart_button {
	flex: 1 1 auto;
	height: 3rem;
	min-height: 0;
	margin: 0;
	padding: 0 1.5rem;
	border: 1px solid var(--wp--preset--color--contrast) !important;
	border-radius: var(--wp--custom--radius--button) !important;
	background: var(--wp--preset--color--contrast) !important;
	color: var(--wp--preset--color--base) !important;
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color var(--my-store-ease), color var(--my-store-ease);
}

.woocommerce .my-store-product__cart .single_add_to_cart_button:hover {
	background: var(--wp--preset--color--base) !important;
	color: var(--wp--preset--color--contrast) !important;
}

.woocommerce .my-store-product__cart .single_add_to_cart_button.is-loading {
	color: transparent !important;
	position: relative;
	pointer-events: none;
}

.woocommerce .my-store-product__cart .single_add_to_cart_button.is-loading::after {
	content: "";
	position: absolute;
	inset: 0;
	margin: auto;
	width: 1rem;
	height: 1rem;
	border: 2px solid var(--wp--preset--color--base);
	border-right-color: transparent;
	border-radius: 50%;
	animation: my-store-spin 0.7s linear infinite;
}

.woocommerce .my-store-product__cart .single_add_to_cart_button.disabled,
.woocommerce .my-store-product__cart .single_add_to_cart_button:disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

.my-store-cart-error {
	flex-basis: 100%;
	margin: 0.75rem 0 0;
	color: var(--wp--preset--color--highlight);
	font-size: var(--wp--preset--font-size--small);
}

/* External / affiliate products: full-width button. */
.my-store-product__cart form.cart:not(.variations_form):not(.grouped_form):not(:has(.quantity)) .single_add_to_cart_button {
	width: 100%;
}

/* Grouped products */
.my-store-product__cart .group_table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 1rem;
}

.my-store-product__cart .group_table td {
	padding: 0.75rem 0.5rem 0.75rem 0;
	border-bottom: 1px solid var(--wp--preset--color--border);
	vertical-align: middle;
}

.my-store-product__cart .group_table .quantity .qty {
	min-height: 2.5rem;
	width: 4rem;
}

/* Stock */
.my-store-product .stock {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 500;
	margin: 0 0 1rem;
}

.my-store-product .stock::before {
	content: "";
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	background: currentColor;
}

.my-store-product .stock.in-stock {
	color: var(--wp--preset--color--success);
}

.my-store-product .stock.out-of-stock {
	color: var(--wp--preset--color--highlight);
}

.my-store-product .stock.available-on-backorder {
	color: var(--wp--preset--color--muted);
}

.my-store-product__trust {
	font-size: var(--wp--preset--font-size--small);
	padding: 1.25rem 0 0;
	border-top: 1px solid var(--wp--preset--color--border);
	margin-top: 1.5rem !important;
}

.my-store-product__meta {
	gap: 0.25rem;
	font-size: var(--wp--preset--font-size--x-small);
	color: var(--wp--preset--color--muted);
}

.my-store-product__meta a {
	color: inherit;
}

/* Details tabs */
.my-store-product__details {
	margin-top: var(--wp--preset--spacing--60) !important;
}

.woocommerce .my-store-product .my-store-product__details div.woocommerce-tabs ul.tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0 2rem;
	margin: 0 0 var(--wp--preset--spacing--40);
	padding: 0;
	list-style: none;
	border-bottom: 1px solid var(--wp--preset--color--border);
}

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

.woocommerce .my-store-product .my-store-product__details div.woocommerce-tabs ul.tabs li {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	border-radius: 0;
}

.woocommerce .my-store-product .my-store-product__details div.woocommerce-tabs ul.tabs li a {
	display: block;
	padding: 0.9rem 0;
	margin-bottom: -1px;
	border-bottom: 2px solid transparent;
	color: var(--wp--preset--color--muted);
	font-weight: 600;
	text-decoration: none;
}

.woocommerce .my-store-product .my-store-product__details div.woocommerce-tabs ul.tabs li.active a,
.woocommerce .my-store-product .my-store-product__details div.woocommerce-tabs ul.tabs li a:hover {
	color: var(--wp--preset--color--contrast);
	border-bottom-color: var(--wp--preset--color--contrast);
}

.my-store-product__details .woocommerce-Tabs-panel {
	max-width: 760px;
}

.my-store-product__details .woocommerce-Tabs-panel > h2:first-child {
	display: none;
}

.my-store-product__details .woocommerce-product-attributes {
	width: 100%;
	border-collapse: collapse;
}

.my-store-product__details .woocommerce-product-attributes th,
.my-store-product__details .woocommerce-product-attributes td {
	text-align: left;
	padding: 0.85rem 0;
	border-bottom: 1px solid var(--wp--preset--color--border);
	font-weight: 400;
}

.my-store-product__details .woocommerce-product-attributes th {
	width: 30%;
	font-weight: 600;
}

.my-store-product__details .woocommerce-product-attributes td p {
	margin: 0;
}

#reviews .comment-form-rating .stars a {
	color: var(--wp--preset--color--contrast);
}

#reviews .form-submit input[type="submit"] {
	border-radius: var(--wp--custom--radius--button);
	background: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
	border: 0;
	padding: 0.8rem 1.6rem;
	font-weight: 600;
	cursor: pointer;
}

.my-store-related {
	margin-top: var(--wp--preset--spacing--60) !important;
}

.my-store-related .my-store-section-title {
	margin-bottom: var(--wp--preset--spacing--40);
}

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

.wc-block-components-notice-banner {
	border-radius: var(--wp--custom--radius--card);
	font-size: var(--wp--preset--font-size--small);
}

/* ---------------------------------------------------------------------------
 * Cart & Checkout blocks
 * ------------------------------------------------------------------------ */

.my-store-cart .my-store-page-title,
.my-store-checkout .my-store-page-title {
	font-size: var(--wp--preset--font-size--xx-large);
}

.wc-block-cart .wc-block-cart__sidebar > .wp-block-woocommerce-cart-order-summary-block,
.wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block {
	background: var(--wp--preset--color--surface);
	border-radius: var(--wp--custom--radius--card);
	border: 0 !important;
	padding: 0.25rem 1.25rem 1rem;
}

.wc-block-cart .wc-block-cart__totals-title,
.wc-block-components-checkout-order-summary__title-text {
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--x-small) !important;
	font-weight: 600;
	letter-spacing: var(--wp--custom--eyebrow--letter-spacing);
	text-transform: uppercase !important;
}

.wc-block-cart table.wc-block-cart-items {
	table-layout: fixed;
	width: 100%;
}

/* WooCommerce uses a fixed 80px/132px grid on narrow carts; make it fluid. */
.wc-block-cart.is-mobile table.wc-block-cart-items .wc-block-cart-items__row,
.wc-block-cart.is-small table.wc-block-cart-items .wc-block-cart-items__row {
	grid-template-columns: 64px minmax(0, 1fr) auto;
	column-gap: 12px;
}

@media (max-width: 600px) {
	.wc-block-cart .wc-block-cart-items .wc-block-cart-item__total .wc-block-components-product-price {
		white-space: normal;
	}

	.wc-block-cart .wc-block-cart-items .wc-block-cart-item__total-price-and-sale-badge-wrapper {
		align-items: flex-end;
		min-width: 0;
	}
}

.wc-block-cart-items .wc-block-cart-item__image img,
.wc-block-components-order-summary-item__image img {
	border-radius: var(--wp--custom--radius--control);
}

.wc-block-cart-items .wc-block-components-product-name {
	font-weight: 600;
	text-decoration: none;
}

/* Compact, square, black primary actions (cart, checkout, mini-cart). */
.wc-block-components-button.wc-block-cart__submit-button,
.wc-block-components-button.wc-block-components-checkout-place-order-button,
.wc-block-components-button.wc-block-mini-cart__footer-checkout,
.wc-block-components-button.wc-block-mini-cart__footer-cart,
.wc-block-components-button.wc-block-mini-cart__shopping-button {
	min-height: 0 !important;
	height: 2.875rem;
	padding: 0 1.25rem !important;
	border: 1px solid var(--wp--preset--color--contrast) !important;
	border-radius: var(--wp--custom--radius--button) !important;
	background: var(--wp--preset--color--contrast) !important;
	color: var(--wp--preset--color--base) !important;
	font-size: 0.8125rem !important;
	font-weight: 500 !important;
	letter-spacing: 0.06em !important;
	line-height: 1 !important;
	text-transform: uppercase;
	box-shadow: none !important;
}

.wc-block-components-button.wc-block-mini-cart__footer-cart {
	background: var(--wp--preset--color--base) !important;
	color: var(--wp--preset--color--contrast) !important;
}

.wc-block-components-button.wc-block-cart__submit-button:hover,
.wc-block-components-button.wc-block-components-checkout-place-order-button:hover,
.wc-block-components-button.wc-block-mini-cart__footer-checkout:hover {
	background: var(--wp--preset--color--base) !important;
	color: var(--wp--preset--color--contrast) !important;
}

.wc-block-components-button.wc-block-mini-cart__footer-cart:hover {
	background: var(--wp--preset--color--contrast) !important;
	color: var(--wp--preset--color--base) !important;
}

.wc-block-components-button.wc-block-cart__submit-button .wc-block-components-button__text,
.wc-block-components-button.wc-block-components-checkout-place-order-button .wc-block-components-button__text {
	font-size: inherit;
}

.wc-block-components-quantity-selector,
.wc-block-components-quantity-selector::after {
	border-radius: var(--wp--custom--radius--control) !important;
}

/* Inputs in blocks */
.wc-block-components-text-input input,
.wc-block-components-combobox .wc-block-components-combobox-control input,
.wc-blocks-components-select .wc-blocks-components-select__select,
.wc-block-components-textarea {
	border-radius: var(--wp--custom--radius--control) !important;
	border-color: var(--wp--preset--color--border) !important;
	background-color: var(--wp--preset--color--base) !important;
}

.wc-block-components-text-input input:focus,
.wc-block-components-combobox .wc-block-components-combobox-control input:focus,
.wc-blocks-components-select .wc-blocks-components-select__select:focus {
	border-color: var(--wp--preset--color--contrast) !important;
	box-shadow: 0 0 0 1px var(--wp--preset--color--contrast) !important;
}

.wc-block-checkout__form .wc-block-components-checkout-step__title {
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--large);
	font-weight: var(--wp--custom--heading--weight);
}

.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
.wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted {
	box-shadow: inset 0 0 0 2px var(--wp--preset--color--contrast);
	border-radius: var(--wp--custom--radius--control);
}

.wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:checked {
	background: var(--wp--preset--color--contrast);
	border-color: var(--wp--preset--color--contrast);
}

.wc-block-components-checkbox .wc-block-components-checkbox__mark {
	fill: var(--wp--preset--color--base);
}

.wc-block-components-totals-coupon__button,
.wc-block-components-button:not(.is-link).outlined {
	border-radius: var(--wp--custom--radius--button) !important;
}

.wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title {
	font-size: var(--wp--preset--font-size--x-large);
}

.my-store-checkout-footer {
	padding-top: var(--wp--preset--spacing--40);
	padding-bottom: var(--wp--preset--spacing--40);
	border-top: 1px solid var(--wp--preset--color--border);
}

/* Order confirmation */
.wc-block-order-confirmation-summary {
	background: var(--wp--preset--color--surface);
	border-radius: var(--wp--custom--radius--card);
	padding: 1.5rem;
}

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

.wc-block-mini-cart__drawer .components-modal__content,
.wc-block-mini-cart__drawer .wp-block-woocommerce-mini-cart-contents {
	background: var(--wp--preset--color--base);
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__title {
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 500;
	letter-spacing: var(--wp--custom--eyebrow--letter-spacing);
	text-transform: uppercase;
	margin: 1.25rem 1.25rem 0.5rem;
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__footer {
	padding: 1rem 1.25rem 1.25rem;
	border-top: 1px solid var(--wp--preset--color--border);
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__footer-subtotal {
	font-size: var(--wp--preset--font-size--small);
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__footer .wc-block-components-totals-item__description,
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer-subtotal .wc-block-components-totals-item__description {
	font-size: 0.75rem;
	color: var(--wp--preset--color--muted);
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__footer-actions {
	gap: 0.5rem;
	margin-top: 0.85rem;
}

.wc-block-mini-cart__drawer .wc-block-components-product-name {
	font-size: var(--wp--preset--font-size--small);
	font-weight: 500;
	text-decoration: none;
}

.wc-block-mini-cart__drawer .wc-block-components-product-metadata {
	font-size: 0.75rem;
	color: var(--wp--preset--color--muted);
}

.wc-block-mini-cart__drawer .wc-block-components-product-metadata__description {
	display: none;
}

.wc-block-components-sale-badge,
.wc-block-components-product-badge {
	border-radius: 0 !important;
	border: 1px solid var(--wp--preset--color--contrast) !important;
	background: transparent !important;
	color: var(--wp--preset--color--contrast) !important;
	font-size: 0.6875rem !important;
	font-weight: 500 !important;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

/* ---------------------------------------------------------------------------
 * My account (classic shortcode)
 * ------------------------------------------------------------------------ */

.woocommerce-account .woocommerce {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--wp--preset--spacing--50);
}

.woocommerce-account .woocommerce::before,
.woocommerce-account .woocommerce::after {
	content: none;
}

@media (min-width: 782px) {
	.woocommerce-account.logged-in .woocommerce {
		grid-template-columns: 240px minmax(0, 1fr);
	}

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

.woocommerce-account .woocommerce > .woocommerce-notices-wrapper {
	grid-column: 1 / -1;
}

.woocommerce-account .woocommerce > .woocommerce-notices-wrapper:empty {
	display: none;
}

.woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.woocommerce-MyAccount-navigation a {
	display: block;
	padding: 0.65rem 1rem;
	border-radius: var(--wp--custom--radius--control);
	text-decoration: none;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 500;
}

.woocommerce-MyAccount-navigation a:hover {
	background: var(--wp--preset--color--surface);
}

.woocommerce-MyAccount-navigation .is-active a {
	background: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
}

.woocommerce-account #customer_login {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
	gap: var(--wp--preset--spacing--50);
}

.woocommerce-account #customer_login > div {
	width: auto !important;
	float: none !important;
	padding: var(--wp--preset--spacing--40);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--card);
}

.woocommerce-account #customer_login::before,
.woocommerce-account #customer_login::after {
	content: none;
}

.woocommerce form .form-row {
	margin-bottom: 1rem;
}

.woocommerce form .form-row label {
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	margin-bottom: 0.35rem;
	display: block;
}

.woocommerce form .form-row label.woocommerce-form__label-for-checkbox {
	display: inline-flex;
	gap: 0.5rem;
	font-weight: 400;
}

.woocommerce form .form-row .input-text,
.woocommerce form .form-row select {
	width: 100%;
}

.woocommerce-account .woocommerce-button,
.woocommerce-account .woocommerce-Button,
.woocommerce-account button.button,
.woocommerce-account a.button {
	border-radius: var(--wp--custom--radius--button) !important;
	background: var(--wp--preset--color--contrast) !important;
	color: var(--wp--preset--color--base) !important;
	padding: 0.8rem 1.6rem !important;
	font-weight: 600 !important;
	border: 0 !important;
}

.woocommerce-account .woocommerce-orders-table,
.woocommerce-account .shop_table {
	border-collapse: collapse;
	width: 100%;
	font-size: var(--wp--preset--font-size--small);
}

.woocommerce-account .woocommerce-orders-table th,
.woocommerce-account .woocommerce-orders-table td {
	padding: 0.85rem 0.5rem;
	border-bottom: 1px solid var(--wp--preset--color--border);
	text-align: left;
}

/* ---------------------------------------------------------------------------
 * Product form spacing & controls (beats WooCommerce's classic defaults,
 * which use selectors like `.woocommerce div.product form.cart`).
 * ------------------------------------------------------------------------ */

.woocommerce .my-store-product__cart form.cart {
	margin: 0 !important;
}

.woocommerce .my-store-product__cart table.variations {
	margin: 0 !important;
}

.woocommerce .my-store-product__cart table.variations th,
.woocommerce .my-store-product__cart table.variations td {
	padding: 0 !important;
	line-height: 1.3 !important;
	margin: 0 !important;
}

.woocommerce .my-store-product__cart table.variations label {
	display: block;
	margin: 0;
}

.woocommerce .my-store-product__cart table.variations tr:last-child {
	margin-bottom: 1.25rem;
}

.woocommerce .my-store-product__cart .reset_variations {
	margin-top: 0.4rem;
}

.woocommerce .my-store-product__cart .reset_variations[style*="hidden"] {
	display: none !important;
}

.woocommerce .my-store-product__cart .single_variation_wrap .woocommerce-variation {
	margin: 0 !important;
}

.woocommerce .my-store-product__cart .woocommerce-variation > div:not(:empty) {
	margin-bottom: 1rem;
}

.woocommerce .my-store-product__cart .woocommerce-variation-description {
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--small);
}

.woocommerce .my-store-product__cart .woocommerce-variation-description p {
	margin: 0;
}

.woocommerce .my-store-product__cart .quantity input.qty,
.woocommerce .my-store-product__cart .wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input {
	align-self: stretch;
	height: auto !important;
	padding: 0 !important;
	line-height: 1 !important;
	box-sizing: border-box;
}

.woocommerce .my-store-product .my-store-product__gallery .woocommerce-product-gallery__trigger {
	border-radius: 0;
	box-shadow: none;
	border: 1px solid var(--wp--preset--color--border);
	background: var(--wp--preset--color--base);
}

/* ---------------------------------------------------------------------------
 * Variation swatches (built by theme.js from the attribute selects)
 * ------------------------------------------------------------------------ */

.my-store-product__cart .my-store-swatches__select {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden;
	clip: rect(0 0 0 0);
	opacity: 0;
	pointer-events: none;
}

.my-store-swatches {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.my-store-swatches__current {
	margin-left: 0.5rem;
	color: var(--wp--preset--color--muted);
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
	font-size: var(--wp--preset--font-size--small);
}

.my-store-swatches__current:empty {
	display: none;
}

.my-store-swatch__input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

/* Text options (sizes, materials…): square buttons. */
.my-store-swatch {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 3rem;
	height: 2.75rem;
	padding: 0 1rem;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--control);
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--contrast);
	font-size: var(--wp--preset--font-size--small);
	line-height: 1;
	cursor: pointer;
	user-select: none;
	transition: border-color var(--my-store-ease), background-color var(--my-store-ease), color var(--my-store-ease);
}

.my-store-swatch:hover {
	border-color: var(--wp--preset--color--contrast);
}

.my-store-swatch__input:checked + .my-store-swatch {
	background: var(--wp--preset--color--contrast);
	border-color: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
}

.my-store-swatch__input:focus-visible + .my-store-swatch {
	outline: 2px solid var(--wp--preset--color--contrast);
	outline-offset: 2px;
}

/* Unavailable with the current selection: struck through; clicking it
 * clears the conflicting choices. */
.my-store-swatch.is-unavailable {
	color: var(--wp--preset--color--muted);
	background-image: linear-gradient(to top left, transparent calc(50% - 0.5px), var(--wp--preset--color--border) 50%, transparent calc(50% + 0.5px));
}

/* Colour options: a colour chip with a ring when selected. */
.my-store-swatch--color {
	width: 2.75rem;
	min-width: 0;
	padding: 0;
	border-color: var(--wp--preset--color--border);
}

.my-store-swatch__chip {
	display: block;
	width: calc(100% - 8px);
	height: calc(100% - 8px);
	background: var(--swatch);
	box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.08);
}

.my-store-swatch__input:checked + .my-store-swatch--color {
	background: var(--wp--preset--color--base);
	border: 2px solid var(--wp--preset--color--contrast);
}

.my-store-swatch--color.is-unavailable {
	opacity: 0.35;
}

.my-store-swatch--color.is-unavailable::after {
	content: "";
	position: absolute;
	inset: 50% -2px auto;
	height: 1px;
	background: var(--wp--preset--color--contrast);
	transform: rotate(-45deg);
}

/* Swatch labels live inside table.variations: undo the attribute-label styles. */
.woocommerce .my-store-product__cart table.variations label.my-store-swatch {
	display: inline-flex;
	margin: 0;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
	line-height: 1;
}

.woocommerce .my-store-product__cart table.variations td.value {
	position: relative;
}


/* ---------------------------------------------------------------------------
 * Product gallery: stacked images + thumbnail rail (desktop), swipe + dots
 * (mobile). Markup is WooCommerce's gallery; the rail/dots come from theme.js.
 * ------------------------------------------------------------------------ */

.my-store-product__gallery .my-store-gallery .woocommerce-product-gallery__wrapper {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	border-radius: 0;
	background: none;
	overflow: visible;
}

.my-store-product__gallery .my-store-gallery .woocommerce-product-gallery__image {
	width: 100% !important;
	margin: 0 !important;
	background: var(--wp--preset--color--surface);
}

.my-store-product__gallery .my-store-gallery .woocommerce-product-gallery__image a {
	display: block;
	cursor: zoom-in;
}

.my-store-product__gallery .my-store-gallery .woocommerce-product-gallery__image img {
	display: block;
	width: 100%;
	height: auto;
}

.my-store-gallery__thumbs {
	display: none;
}

.my-store-gallery__thumb {
	display: block;
	width: 100%;
	padding: 0;
	border: 1px solid transparent;
	background: var(--wp--preset--color--surface);
	cursor: pointer;
	opacity: 0.55;
	transition: opacity var(--my-store-ease), border-color var(--my-store-ease);
}

.my-store-gallery__thumb img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

.my-store-gallery__thumb:hover,
.my-store-gallery__thumb.is-active {
	opacity: 1;
}

.my-store-gallery__thumb.is-active {
	border-color: var(--wp--preset--color--contrast);
}

.my-store-gallery__dots {
	display: none;
}

@media (min-width: 782px) {
	.my-store-product__gallery .my-store-gallery.has-rail {
		display: grid;
		grid-template-columns: 64px minmax(0, 1fr);
		gap: 12px;
		align-items: start;
	}

	.my-store-gallery.has-rail .my-store-gallery__thumbs {
		display: flex;
		flex-direction: column;
		gap: 8px;
		position: sticky;
		top: var(--my-store-header-offset);
		grid-column: 1;
		grid-row: 1;
	}

	.my-store-gallery.has-rail .woocommerce-product-gallery__wrapper {
		grid-column: 2;
		grid-row: 1;
	}

	/* Keep the lightbox button and sale badge over the image column. */
	.my-store-gallery.has-rail .woocommerce-product-gallery__trigger {
		right: 1rem;
	}

	.woocommerce .my-store-product .my-store-product__gallery .my-store-gallery.has-rail span.onsale {
		left: calc(64px + 12px + 1rem);
	}
}

@media (max-width: 781px) {
	/* Full-bleed swipe slider with dots. */
	.my-store-product__gallery {
		margin-inline: calc(var(--wp--style--root--padding-left, 1rem) * -1) calc(var(--wp--style--root--padding-right, 1rem) * -1);
	}

	.my-store-product__gallery .my-store-gallery .woocommerce-product-gallery__wrapper {
		flex-direction: row;
		align-items: flex-start;
		gap: 0;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-behavior: smooth;
		overscroll-behavior-x: contain;
		scrollbar-width: none;
	}

	.my-store-product__gallery .my-store-gallery .woocommerce-product-gallery__wrapper::-webkit-scrollbar {
		display: none;
	}

	.my-store-product__gallery .my-store-gallery .woocommerce-product-gallery__image {
		flex: 0 0 100%;
		scroll-snap-align: start;
	}

	.my-store-gallery.has-rail .my-store-gallery__dots {
		display: flex;
		justify-content: center;
		gap: 8px;
		padding: 12px 0 0;
	}

	.my-store-gallery__dots span {
		width: 6px;
		height: 6px;
		border-radius: 50%;
		background: var(--wp--preset--color--border);
		transition: background-color var(--my-store-ease), transform var(--my-store-ease);
	}

	.my-store-gallery__dots span.is-active {
		background: var(--wp--preset--color--contrast);
		transform: scale(1.2);
	}
}

/* ---------------------------------------------------------------------------
 * Collapsible rows (Description / Additional information / Shipping)
 * ------------------------------------------------------------------------ */

.my-store-accordion {
	margin-top: 1.75rem !important;
	border-top: 1px solid var(--wp--preset--color--border);
}

.my-store-accordion > .wp-block-details {
	margin: 0;
	border-bottom: 1px solid var(--wp--preset--color--border);
}

.my-store-accordion > .wp-block-details > summary {
	position: relative;
	display: block;
	padding: 1.1rem 2rem 1.1rem 0;
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 600;
	letter-spacing: var(--wp--custom--eyebrow--letter-spacing);
	text-transform: uppercase;
	list-style: none;
	cursor: pointer;
}

.my-store-accordion > .wp-block-details > summary::-webkit-details-marker {
	display: none;
}

/* Plus that turns into a minus. */
.my-store-accordion > .wp-block-details > summary::before,
.my-store-accordion > .wp-block-details > summary::after {
	content: "";
	position: absolute;
	right: 0.25rem;
	top: 50%;
	width: 12px;
	height: 1px;
	background: currentColor;
	transition: transform var(--my-store-ease), opacity var(--my-store-ease);
}

.my-store-accordion > .wp-block-details > summary::after {
	transform: rotate(90deg);
}

.my-store-accordion > .wp-block-details[open] > summary::after {
	transform: rotate(90deg) scaleX(0);
	opacity: 0;
}

.my-store-accordion > .wp-block-details > :not(summary) {
	margin: 0 0 1.25rem;
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--muted);
}

.my-store-accordion .wp-block-woocommerce-product-description h2,
.my-store-accordion .wp-block-woocommerce-product-description h3 {
	margin: 1.25rem 0 0.5rem;
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	color: var(--wp--preset--color--contrast);
	letter-spacing: 0;
}

.my-store-accordion .wp-block-woocommerce-product-description > :first-child {
	margin-top: 0;
}

.my-store-accordion .wp-block-woocommerce-product-description ul {
	padding-left: 1.1rem;
	margin: 0.5rem 0;
}

.my-store-accordion .wp-block-woocommerce-product-description li + li {
	margin-top: 0.25rem;
}

.my-store-accordion .wp-block-woocommerce-product-specifications table {
	width: 100%;
	border-collapse: collapse;
}

.my-store-accordion .wp-block-woocommerce-product-specifications :is(th, td) {
	padding: 0.6rem 0;
	border: 0;
	border-bottom: 1px solid var(--wp--preset--color--border);
	text-align: left;
	font-weight: 400;
	vertical-align: top;
}

.my-store-accordion .wp-block-woocommerce-product-specifications th {
	width: 40%;
	color: var(--wp--preset--color--contrast);
	font-weight: 500;
}

.my-store-accordion .wp-block-woocommerce-product-specifications tr:last-child :is(th, td) {
	border-bottom: 0;
}

/* ---------------------------------------------------------------------------
 * Reviews section (full width, below the product)
 * ------------------------------------------------------------------------ */

.my-store-reviews-section {
	margin-top: var(--wp--preset--spacing--60) !important;
	padding-top: var(--wp--preset--spacing--50);
	border-top: 1px solid var(--wp--preset--color--border);
}

.my-store-reviews .wp-block-woocommerce-product-reviews-title {
	font-size: var(--wp--preset--font-size--large);
	font-weight: 500;
	text-align: center;
	margin-bottom: var(--wp--preset--spacing--40);
}

.my-store-review {
	padding: 1.25rem 0;
	border-bottom: 1px solid var(--wp--preset--color--border);
}

.my-store-review > * {
	margin-block: 0 !important;
}

.my-store-review > * + * {
	margin-top: 0.4rem !important;
}

.my-store-reviews .wp-block-woocommerce-product-review-date {
	color: var(--wp--preset--color--muted);
}

.my-store-reviews .wp-block-woocommerce-product-review-form {
	margin-top: var(--wp--preset--spacing--40);
}

.my-store-reviews .comment-reply-title {
	display: block;
	font-size: var(--wp--preset--font-size--medium);
	font-weight: 500;
	margin-bottom: 1rem;
}

.my-store-reviews .comment-form :is(input[type="text"], input[type="email"], textarea) {
	width: 100%;
	box-sizing: border-box;
}

.my-store-reviews .comment-form .form-submit input[type="submit"],
.my-store-reviews .comment-form .submit {
	height: 2.875rem;
	padding: 0 1.5rem;
	border: 1px solid var(--wp--preset--color--contrast);
	border-radius: 0;
	background: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
}

.my-store-reviews .stars a {
	color: var(--wp--preset--color--contrast);
}

.my-store-reviews .comment-form textarea {
	height: 8.5rem;
	min-height: 6rem;
	resize: vertical;
}

.my-store-reviews .comment-form :is(p, .comment-form-rating) {
	margin: 0 0 1rem;
}

/* ===========================================================================
 * Checkout – clean, Shopify-style
 * ======================================================================== */

/* Header: centered logo, thin rule, small cart link on the right. */
.my-store-header--checkout {
	border-bottom: 1px solid var(--wp--preset--color--border) !important;
}

.my-store-header--checkout .my-store-header__inner {
	position: relative;
	min-height: 0;
	padding-block: 1.5rem;
}

.my-store-header--checkout .my-store-checkout-logo img {
	width: 112px;
	height: auto;
}

.my-store-checkout-cart {
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	margin: 0;
}

.my-store-checkout-cart a {
	display: block;
	width: 24px;
	height: 24px;
	overflow: hidden;
	text-indent: -999px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1 13H6L5 8z'/%3E%3Cpath d='M9 8V6a3 3 0 0 1 6 0v2'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1 13H6L5 8z'/%3E%3Cpath d='M9 8V6a3 3 0 0 1 6 0v2'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Page */
.my-store-checkout {
	padding-top: 2.5rem !important;
	font-size: 0.9375rem;
}

.my-store-checkout .wc-block-checkout {
	margin: 0;
}

.my-store-checkout .wc-block-components-sidebar-layout {
	margin: 0;
	gap: 0;
}

@media (min-width: 782px) {
	.my-store-checkout .wc-block-components-sidebar-layout .wc-block-components-main {
		width: 54%;
		padding-right: 3.5rem;
		box-sizing: border-box;
	}

	.my-store-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar {
		width: 46%;
		padding-left: 3.5rem;
		box-sizing: border-box;
	}
}

/* Steps: plain bold headings, no numbering/lines. */
.my-store-checkout .wc-block-components-checkout-step {
	margin: 0 0 2.25rem !important;
	padding: 0 !important;
	border: 0 !important;
}

.my-store-checkout .wc-block-components-checkout-step::before,
.my-store-checkout .wc-block-components-checkout-step::after,
.my-store-checkout .wc-block-components-checkout-step__heading::before {
	content: none !important;
	display: none !important;
}

.my-store-checkout .wc-block-components-checkout-step__heading {
	margin: 0 0 0.85rem !important;
}

.woocommerce-checkout .my-store-checkout .wc-block-components-checkout-step__title,
.my-store-checkout .wc-block-components-checkout-step__title {
	font-family: var(--wp--preset--font-family--body) !important;
	font-size: 1.3125rem !important;
	font-weight: 600 !important;
	letter-spacing: -0.01em;
	line-height: 1.3;
	text-transform: none;
}

.my-store-checkout .wc-block-components-checkout-step__description {
	margin: -0.5rem 0 1rem;
	font-size: 0.8125rem;
	color: var(--wp--preset--color--muted);
}

.my-store-checkout .wc-block-components-checkout-step__container {
	padding: 0 !important;
}

/* Fields */
.my-store-checkout .wc-block-components-text-input input,
.my-store-checkout .wc-block-components-text-input textarea,
.my-store-checkout .wc-blocks-components-select .wc-blocks-components-select__select,
.my-store-checkout .wc-block-components-combobox .wc-block-components-combobox-control input,
.my-store-checkout .wc-block-components-textarea {
	min-height: 3.125rem;
	border: 1px solid #d9d9d9 !important;
	border-radius: var(--wp--custom--radius--control) !important;
	background: #fff !important;
	font-size: 0.9375rem !important;
	box-shadow: none !important;
}

.my-store-checkout .wc-block-components-text-input input:focus,
.my-store-checkout .wc-blocks-components-select .wc-blocks-components-select__select:focus,
.my-store-checkout .wc-block-components-combobox .wc-block-components-combobox-control input:focus,
.my-store-checkout .wc-block-components-textarea:focus {
	border-color: var(--wp--preset--color--contrast) !important;
	box-shadow: 0 0 0 1px var(--wp--preset--color--contrast) !important;
}

.my-store-checkout .wc-block-components-text-input label,
.my-store-checkout .wc-blocks-components-select__label {
	color: #707070;
}

.my-store-checkout .wc-block-components-address-form {
	gap: 0;
}

.my-store-checkout .wc-block-components-address-form__address_2-toggle {
	font-size: 0.8125rem;
	color: var(--wp--preset--color--muted);
}

/* Checkboxes */
.my-store-checkout .wc-block-components-checkbox {
	margin-top: 0.75rem;
	font-size: 0.875rem;
}

.my-store-checkout .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"] {
	width: 1.125rem;
	height: 1.125rem;
	border-color: #c4c4c4;
	border-radius: 2px;
}

/* Shipping & payment options: grey boxes, selected one outlined in black. */
.my-store-checkout .wc-block-components-radio-control--highlight-checked,
.my-store-checkout .wc-block-checkout__payment-method .wc-block-components-radio-control {
	border: 1px solid #d9d9d9;
	border-radius: var(--wp--custom--radius--control);
	overflow: hidden;
}

.my-store-checkout .wc-block-components-radio-control--highlight-checked::after {
	content: none !important;
}

.my-store-checkout .wc-block-components-radio-control__option,
.my-store-checkout .wc-block-components-radio-control-accordion-option {
	margin: 0 !important;
	padding-top: 1rem !important;
	padding-bottom: 1rem !important;
	box-shadow: none !important;
	border-bottom: 1px solid #e6e6e6;
}

.my-store-checkout .wc-block-components-radio-control__option:last-child,
.my-store-checkout .wc-block-components-radio-control-accordion-option:last-child {
	border-bottom: 0;
}

.my-store-checkout .wc-block-components-radio-control__option--checked-option-highlighted,
.my-store-checkout .wc-block-components-radio-control-accordion-option--checked-option-highlighted {
	background: #f5f5f5;
	box-shadow: inset 0 0 0 1px var(--wp--preset--color--contrast) !important;
	border-radius: var(--wp--custom--radius--control);
}

.my-store-checkout .wc-block-components-radio-control__label,
.my-store-checkout .wc-block-components-radio-control__secondary-label {
	font-weight: 500;
}

.my-store-checkout .wc-block-components-radio-control__description,
.my-store-checkout .wc-block-components-radio-control__secondary-description {
	font-size: 0.8125rem;
	color: var(--wp--preset--color--muted);
}

.my-store-checkout .wc-block-components-radio-control__input {
	border-color: #c4c4c4 !important;
}

.my-store-checkout .wc-block-components-radio-control__input:checked {
	border: 5px solid var(--wp--preset--color--contrast) !important;
	background: #fff !important;
}

.my-store-checkout .wc-block-components-radio-control__input:checked::before {
	content: none !important;
}

/* Notes / terms / actions */
.my-store-checkout .wc-block-checkout__add-note,
.my-store-checkout .wc-block-checkout__order-notes {
	margin-bottom: 1.5rem !important;
	border: 0 !important;
	padding: 0 !important;
}

.my-store-checkout .wc-block-checkout__terms {
	margin: 0 0 1.25rem !important;
	padding: 0 !important;
	border: 0 !important;
	font-size: 0.8125rem;
	color: var(--wp--preset--color--muted);
}

.my-store-checkout .wc-block-checkout__actions {
	padding: 0 !important;
	border: 0 !important;
}

.my-store-checkout .wc-block-checkout__actions_row {
	display: flex;
	flex-direction: column-reverse;
	align-items: stretch;
	gap: 1rem;
}

.my-store-checkout .wc-block-components-button.wc-block-components-checkout-place-order-button {
	width: 100% !important;
	height: 3.25rem !important;
	font-size: 0.875rem !important;
	letter-spacing: 0.04em !important;
}

.my-store-checkout .wc-block-components-checkout-return-to-cart-button {
	align-self: center;
	padding: 0 !important;
	font-size: 0.8125rem;
	color: var(--wp--preset--color--muted) !important;
	text-decoration: underline;
}

.my-store-checkout .wc-block-components-checkout-return-to-cart-button svg {
	display: none;
}

/* Order summary (right) */
.my-store-checkout .wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block {
	background: transparent !important;
	border: 0 !important;
	padding: 0 !important;
}

.my-store-checkout .wc-block-checkout__sidebar {
	top: calc(var(--wp-admin--admin-bar--height, 0px) + 2rem) !important;
}

.my-store-checkout .wc-block-components-checkout-order-summary__title {
	display: none;
}

.my-store-checkout .wc-block-components-order-summary {
	padding: 0 !important;
}

.my-store-checkout .wc-block-components-order-summary .wc-block-components-panel__content {
	padding-bottom: 0;
}

.my-store-checkout .wc-block-components-order-summary-item {
	padding: 0 0 1rem !important;
	border: 0 !important;
	align-items: center;
}

.my-store-checkout .wc-block-components-order-summary-item__image {
	width: 64px !important;
	padding-bottom: 0 !important;
}

.my-store-checkout .wc-block-components-order-summary-item__image > img {
	width: 64px !important;
	height: 64px;
	max-width: none;
	object-fit: cover;
	border: 1px solid #e6e6e6;
	border-radius: 8px !important;
	background: #fff;
}

.my-store-checkout .wc-block-components-order-summary-item__quantity {
	min-width: 1.35rem;
	height: 1.35rem;
	padding: 0 0.35rem;
	border: 0 !important;
	border-radius: 999px;
	background: #666 !important;
	color: #fff !important;
	box-shadow: none !important;
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1.35rem;
	top: -0.5rem;
	right: -0.5rem;
}

.my-store-checkout .wc-block-components-order-summary-item__description {
	padding-left: 0.85rem !important;
}

.my-store-checkout .wc-block-components-order-summary-item .wc-block-components-product-name {
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--wp--preset--color--contrast);
}

.my-store-checkout .wc-block-components-order-summary-item__individual-prices,
.my-store-checkout .wc-block-components-order-summary-item .wc-block-components-product-metadata__description {
	display: none;
}

.my-store-checkout .wc-block-components-order-summary-item .wc-block-components-product-details {
	margin: 0.15rem 0 0;
	font-size: 0.8125rem;
	color: var(--wp--preset--color--muted);
}

.my-store-checkout .wc-block-components-order-summary-item__total-price {
	font-size: 0.875rem;
	font-weight: 400;
}

/* Totals */
.my-store-checkout .wc-block-checkout__sidebar .wc-block-components-totals-wrapper {
	padding: 1rem 0 !important;
	border-top: 0 !important;
}

.my-store-checkout .wc-block-components-totals-coupon .wc-block-components-panel__button {
	font-size: 0.875rem;
}

.my-store-checkout .wc-block-components-totals-item {
	padding: 0.2rem 0 !important;
	font-size: 0.875rem;
}

.my-store-checkout .wc-block-components-totals-footer-item {
	padding-top: 0.75rem !important;
}

.my-store-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
	font-size: 1.1875rem;
	font-weight: 600;
}

.my-store-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
	font-size: 1.3125rem;
	font-weight: 600;
}

/* Express checkout ("OR" divider, Shopify style). */
.my-store-checkout .wc-block-components-express-payment__title-container {
	text-align: center;
}

.my-store-checkout .wc-block-components-express-payment-continue-rule {
	text-transform: uppercase;
	font-size: 0.8125rem;
	color: var(--wp--preset--color--muted);
}

@media (max-width: 781px) {
	.my-store-header--checkout .my-store-header__inner {
		padding-block: 1rem;
	}

	.my-store-header--checkout .my-store-checkout-logo img {
		width: 88px;
	}

	.my-store-checkout {
		padding-top: 1rem !important;
	}
}

/* Checkout refinements */
@media (min-width: 782px) {
	.my-store-checkout .wc-block-components-sidebar-layout.is-large .wc-block-components-main,
	.my-store-checkout .wc-block-components-sidebar-layout.is-medium .wc-block-components-main {
		width: 55% !important;
		padding-right: 3.5rem !important;
	}

	.my-store-checkout .wc-block-components-sidebar-layout.is-large .wc-block-components-sidebar,
	.my-store-checkout .wc-block-components-sidebar-layout.is-medium .wc-block-components-sidebar {
		width: 45% !important;
		padding-left: 3.5rem !important;
		border-left: 1px solid var(--wp--preset--color--border);
		padding-top: 0.25rem;
	}
}

.my-store-checkout {
	padding-top: 2rem !important;
}

/* Quantity badge on the image corner. */
.my-store-checkout .wc-block-components-order-summary-item__image {
	position: relative;
	flex: 0 0 64px;
}

.my-store-checkout .wc-block-components-order-summary-item__quantity {
	position: absolute;
	top: -0.55rem !important;
	right: -0.55rem !important;
	left: auto !important;
	transform: none !important;
	margin: 0 !important;
}

.my-store-checkout .wc-block-components-order-summary-item__description {
	padding-left: 1.1rem !important;
	padding-right: 1rem !important;
}

.my-store-checkout .wc-block-components-order-summary-item .wc-block-components-product-name {
	margin: 0;
	line-height: 1.35;
}

/* Totals: no padded empty rows. */
.my-store-checkout .wc-block-components-totals-wrapper {
	padding: 0 !important;
	border: 0 !important;
}

.my-store-checkout .wc-block-components-totals-wrapper:has(.wc-block-components-totals-coupon) {
	padding: 0.5rem 0 1rem !important;
	border-top: 1px solid var(--wp--preset--color--border) !important;
	border-bottom: 1px solid var(--wp--preset--color--border) !important;
	margin-bottom: 1rem;
}

.my-store-checkout .wc-block-components-totals-coupon .wc-block-components-panel__button {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.my-store-checkout .wc-block-components-totals-item {
	padding: 0.3rem 0 !important;
}

.my-store-checkout .wc-block-components-totals-footer-item {
	margin-top: 0.5rem;
	padding-top: 0.75rem !important;
}

/* Mobile: centered logo, padded summary box. */
@media (max-width: 781px) {
	.my-store-header--checkout .my-store-header__brand {
		flex: 0 0 auto !important;
	}

	.my-store-checkout .wc-block-components-checkout-order-summary__content,
	.my-store-checkout .wp-block-woocommerce-checkout-order-summary-block {
		padding: 1rem !important;
	}

	.my-store-checkout .wc-block-components-checkout-order-summary__title {
		display: flex;
		padding: 1rem;
	}
}

/* Totals rows: compact; hide empty discount/fee rows. */
.my-store-checkout .wp-block-woocommerce-checkout-order-summary-totals-block {
	padding: 0 !important;
}

.my-store-checkout .wp-block-woocommerce-checkout-order-summary-totals-block > .wc-block-components-totals-wrapper,
.my-store-checkout .wc-block-checkout__sidebar .wc-block-components-totals-wrapper {
	padding: 0 !important;
}

.my-store-checkout .wp-block-woocommerce-checkout-order-summary-totals-block > :not(:has(*)) {
	display: none !important;
}

.my-store-checkout .wp-block-woocommerce-checkout-order-summary-cart-items-block {
	padding-top: 0 !important;
}

.my-store-checkout .wc-block-components-totals-footer-item {
	margin-top: 0.75rem !important;
	border-top: 1px solid var(--wp--preset--color--border);
	padding-top: 1rem !important;
}

@media (min-width: 782px) {
	.my-store-checkout .wc-block-components-sidebar-layout.is-large .wc-block-components-main,
	.my-store-checkout .wc-block-components-sidebar-layout.is-medium .wc-block-components-main {
		flex: 0 0 56% !important;
		max-width: 56% !important;
	}

	.my-store-checkout .wc-block-components-sidebar-layout.is-large .wc-block-components-sidebar,
	.my-store-checkout .wc-block-components-sidebar-layout.is-medium .wc-block-components-sidebar {
		flex: 0 0 44% !important;
		max-width: 44% !important;
	}
}

.my-store-checkout .wp-block-woocommerce-checkout-order-summary-coupon-form-block,
.my-store-checkout .wc-block-components-totals-wrapper:has(.wc-block-components-totals-coupon) {
	margin: 0.25rem 0 1rem !important;
	padding: 0.35rem 0 !important;
	border-top: 1px solid var(--wp--preset--color--border) !important;
	border-bottom: 1px solid var(--wp--preset--color--border) !important;
}

.my-store-checkout .wc-block-components-totals-coupon .wc-block-components-panel__button {
	margin: 0 !important;
	padding-top: 0.75rem !important;
	padding-bottom: 0.75rem !important;
}

.my-store-checkout .wp-block-post-content > .wp-block-woocommerce-checkout {
	margin-top: 0 !important;
}

/* Cart: "You may also like" */
.my-store-cart-upsell {
	margin-top: var(--wp--preset--spacing--60) !important;
	padding-top: var(--wp--preset--spacing--50);
	border-top: 1px solid var(--wp--preset--color--border);
}

.my-store-cart-upsell .my-store-section-title {
	margin-bottom: var(--wp--preset--spacing--40);
}

/* Cart title lines up with the cart table (WooCommerce caps .alignwide at 1000px here). */
.my-store-cart > .my-store-page-title.alignwide {
	max-width: var(--wp--style--global--wide-size) !important;
}
