/**
 * Southern Baked — theme styles.
 *
 * Only markup without a source equivalent (WooCommerce-generated markup, the
 * cart drawer shell, variation pills, checkout block) and functional rules are
 * declared here. Everything that exists in the source storefront is styled by
 * app.css through the source class names kept in the templates.
 */

[hidden] {
	display: none !important;
}

/* --------------------------------------------------------------------------
   Editable brand bar (the source paints the header/footer with a fixed colour;
   the token keeps it editable from the Customizer).
   -------------------------------------------------------------------------- */
.sb-header,
.sb-footer,
.sb-mobile-nav {
	background: hsl(var(--header-bar));
}

.sb-wordmark .site-logo-img {
	height: var(--logo-height, 58px);
	width: var(--logo-height, 58px);
	object-fit: contain;
	border-radius: 5px;
	display: block;
	flex-shrink: 0;
}

@media (max-width: 639px) {
	.sb-wordmark .site-logo-img {
		height: var(--logo-height-mobile, 52px);
		width: var(--logo-height-mobile, 52px);
	}
}

.site-logo-text {
	font-family: var(--font-display);
	font-size: 26px;
	font-weight: 500;
	line-height: 1.2;
}

.sb-header .sb-wordmark > .site-logo-text {
	min-width: 0;
	overflow-wrap: anywhere;
}

/* --------------------------------------------------------------------------
   Cart badge (the source cart control is an icon button; the count only shows
   once the cart holds something).
   -------------------------------------------------------------------------- */
.sb-header [data-cart-open] {
	position: relative;
}

.theme-cart-count:not(:empty) {
	position: absolute;
	top: -2px;
	right: -2px;
	display: grid;
	place-items: center;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	border-radius: 999px;
	background: hsl(var(--primary));
	color: hsl(var(--primary-foreground));
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 600;
	line-height: 1;
}

.sb-mobile-nav .theme-cart-count,
.sb-footer .theme-cart-count {
	display: none;
}

/* --------------------------------------------------------------------------
   Product cards: the whole card is the source link, so a hit-area overlay
   carries navigation while the add-to-cart control stays clickable above it.
   -------------------------------------------------------------------------- */
.theme-product-card {
	position: relative;
}

.theme-product-card > .theme-card-link {
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: auto;
}

.theme-product-card > *:not(.theme-card-link) {
	pointer-events: none;
}

.theme-product-card > .theme-card-link:focus-visible {
	outline: 2px solid hsl(var(--ring));
	outline-offset: 4px;
}

.theme-product-card .add_to_cart_button,
.theme-product-card .doce-btn {
	position: relative;
	z-index: 3;
	pointer-events: auto;
}

/* --------------------------------------------------------------------------
   Shop grid filtering
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   Motion: reveal fallbacks.
   The source hides [data-reveal] until observed; the Customizer preview and
   no-JS visits must never show a blank section.
   -------------------------------------------------------------------------- */
body.is-customizer [data-reveal] {
	opacity: 1 !important;
	transform: none !important;
}

/* Without scripting the observer never runs, so the source's initial-hidden
   state must not apply. Browsers that cannot evaluate the query keep the
   source behaviour. */
@media (scripting: none) {
	[data-reveal] {
		opacity: 1 !important;
		transform: none !important;
	}
}

/* --------------------------------------------------------------------------
   Add to cart: disabled + loading states.
   -------------------------------------------------------------------------- */
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled,
.theme-product-card .doce-btn.disabled {
	cursor: not-allowed !important;
	opacity: 0.4 !important;
	pointer-events: none !important;
}

.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
	opacity: 0.4 !important;
}

.ajax_add_to_cart.theme-btn-loading {
	opacity: 0.6 !important;
	pointer-events: none !important;
	cursor: wait !important;
}

.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after {
	display: none !important;
}

.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward {
	display: none !important;
}

/* --------------------------------------------------------------------------
   Quantity control (shared by simple and variable products).
   -------------------------------------------------------------------------- */
.theme-quantity-wrapper {
	display: inline-flex;
	align-items: center;
	border: 1px solid hsl(var(--primary) / 0.15);
	border-radius: 9999px;
}

.theme-quantity-wrapper .theme-qty-minus,
.theme-quantity-wrapper .theme-qty-plus {
	padding: 0.75rem;
	background: transparent;
	border: 0;
	color: inherit;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
}

.theme-qty-input {
	width: 29px;
	padding: 0;
	border: 0;
	background: transparent;
	text-align: center;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1;
	box-sizing: content-box;
	min-height: 21px;
	-moz-appearance: textfield;
	appearance: textfield;
}

.theme-qty-input::-webkit-outer-spin-button,
.theme-qty-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.theme-add-to-cart-area {
	display: flex;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
}

.theme-add-to-cart-area .single_add_to_cart_button {
	flex: 1 1 auto;
	min-width: 160px;
}

.single-product .theme-add-to-cart-area {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem;
}

/* --------------------------------------------------------------------------
   Variable products: native selects stay in the DOM for the variation script
   but are replaced visually by pills.
   -------------------------------------------------------------------------- */
.theme-attr-select-hidden {
	display: none !important;
}

.theme-attr-group + .theme-attr-group {
	margin-top: 1rem;
}

.theme-attr-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 0.5rem;
}

.theme-attr-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 3rem;
	height: 2.75rem;
	padding: 0 1.25rem;
	border: 1px solid hsl(var(--foreground) / 0.3);
	border-radius: 6px;
	background: transparent;
	color: hsl(var(--foreground));
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: color 0.2s, background-color 0.2s, border-color 0.2s;
}

.theme-attr-pill:hover {
	border-color: hsl(var(--primary));
	color: hsl(var(--primary));
}

.theme-attr-pill.is-active {
	background: hsl(var(--primary));
	border-color: hsl(var(--primary));
	color: hsl(var(--primary-foreground));
}

.single-product .variations {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 1.25rem;
}

.single-product .variations tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td {
	display: block;
	width: 100%;
}

.single-product .variations tbody td.label {
	padding: 0 0 0.25rem 0;
}

.single-product .variations tbody td.value {
	padding: 0;
}

.single-product .variations td.label label {
	font-size: 14px;
	text-transform: uppercase;
	color: hsl(var(--primary));
}

.single-product .variations td.value .theme-attr-select-hidden + .theme-attr-pills {
	margin-top: 0.5rem;
}

.single-product .woocommerce-variation-price {
	margin-bottom: 0.75rem;
}

/* --------------------------------------------------------------------------
   Single product page plumbing for WooCommerce-generated markup.
   -------------------------------------------------------------------------- */
.single-product .theme-product-layout,
.single-product .theme-product-gallery,
.single-product .theme-product-info {
	min-width: 0;
	max-width: 100%;
}

.single-product .theme-product-main-img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: 32px;
	background: hsl(var(--secondary));
	padding: 0;
	border: 0;
	cursor: zoom-in;
}

.single-product .theme-product-main-img img,
.single-product .theme-product-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.single-product .theme-product-thumbnails {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 0.75rem;
	margin-top: 1rem;
	max-width: 100%;
}

.single-product .theme-product-thumbnail {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: 12px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.single-product .theme-product-thumbnail.is-active {
	box-shadow: 0 0 0 2px hsl(var(--ochre));
}

.single-product .woocommerce-product-details__short-description,
.single-product .woocommerce-variation-description,
.single-product .posted_in {
	overflow-wrap: break-word;
	word-break: break-word;
}

.single-product .posted_in a {
	color: hsl(var(--primary));
}

.single-product .stock.out-of-stock {
	display: inline-block;
	margin-top: 0.75rem;
	padding: 0.25rem 0.75rem;
	border-radius: 999px;
	background: hsl(var(--secondary));
	color: hsl(var(--primary));
	font-size: 14px;
	font-weight: 600;
}

.theme-product-lightbox-open {
	overflow: hidden;
}

.theme-product-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100;
	display: grid;
	place-items: center;
	padding: 1.25rem;
	background: hsl(var(--foreground) / 0.9);
}

.theme-product-lightbox img {
	max-height: 90vh;
	max-width: 100%;
	border-radius: 1rem;
	object-fit: contain;
}

.theme-product-lightbox-close {
	position: absolute;
	top: 1.25rem;
	right: 1.25rem;
	color: hsl(var(--background));
	background: transparent;
	border: 0;
	cursor: pointer;
}

.theme-product-details-toggle {
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: space-between;
	padding: 1.25rem 0;
	background: transparent;
	border: 0;
	cursor: pointer;
	color: inherit;
}

.theme-product-details-list {
	padding-bottom: 1.25rem;
	margin: 0;
	list-style: none;
}

.theme-product-details-list li + li {
	margin-top: 0.5rem;
}

/* --------------------------------------------------------------------------
   Side cart drawer shell.
   -------------------------------------------------------------------------- */
#theme-cart-drawer {
	position: fixed;
	top: 0;
	right: 0;
	z-index: 60;
	display: flex;
	height: 100%;
	width: 100%;
	max-width: 28rem;
	flex-direction: column;
	background: hsl(var(--background));
	box-shadow: var(--shadow-elevated);
	transform: translateX(100%);
	transition: transform 0.3s ease;
	visibility: hidden;
}

body.cart-open #theme-cart-drawer {
	transform: translateX(0);
	visibility: visible;
}

#theme-cart-overlay {
	position: fixed;
	inset: 0;
	z-index: 55;
	background: hsl(var(--foreground) / 0.55);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

body.cart-open #theme-cart-overlay {
	opacity: 1;
	visibility: visible;
}

#theme-cart-drawer.is-updating > * {
	opacity: 0.6;
	pointer-events: none;
}

#theme-cart-drawer .theme-cart-items {
	flex: 1;
	overflow: auto;
}

#theme-cart-drawer .theme-cart-item-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

#theme-cart-drawer .theme-cart-item-title {
	overflow-wrap: anywhere;
}

#theme-cart-drawer .theme-cart-qty {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
}

#theme-cart-drawer .theme-cart-qty button {
	background: transparent;
	border: 0;
	padding: 0;
	cursor: pointer;
	color: inherit;
	display: inline-flex;
	align-items: center;
}

/* --------------------------------------------------------------------------
   WooCommerce notices (kept visible where the theme has no other feedback).
   -------------------------------------------------------------------------- */
.woocommerce-notices-wrapper {
	margin-bottom: 1.5rem;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	list-style: none;
	margin: 0 0 1rem;
	padding: 1rem 1.25rem;
	border: 1px solid hsl(var(--border));
	border-left: 4px solid hsl(var(--primary));
	border-radius: 8px;
	background: hsl(var(--card));
	color: hsl(var(--foreground));
	font-size: 15px;
}

.woocommerce-error {
	border-left-color: hsl(var(--destructive));
}

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

.single-product .woocommerce-message,
.single-product .woocommerce-info {
	display: none;
}

#theme-cart-drawer .woocommerce-message {
	display: none;
}

/* --------------------------------------------------------------------------
   Shop archive grid.
   -------------------------------------------------------------------------- */
.theme-shop-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.5rem;
}

@media (min-width: 640px) {
	.theme-shop-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 768px) {
	.theme-shop-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.theme-shop-grid > li {
	list-style: none;
	min-width: 0;
}

.theme-woocommerce-pagination .page-numbers {
	display: inline-flex;
	gap: 0.5rem;
	padding: 0;
	margin: 2rem 0 0;
	list-style: none;
}

.theme-woocommerce-pagination .page-numbers li a,
.theme-woocommerce-pagination .page-numbers li span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.75rem;
	height: 2.75rem;
	padding: 0 0.75rem;
	border: 1px solid hsl(var(--border));
	border-radius: 6px;
	color: hsl(var(--foreground));
}

.theme-woocommerce-pagination .page-numbers li span.current {
	background: hsl(var(--primary));
	border-color: hsl(var(--primary));
	color: hsl(var(--primary-foreground));
}

/* --------------------------------------------------------------------------
   Cart / checkout / account widths, matching the site container.
   -------------------------------------------------------------------------- */
.woocommerce-cart .entry-content,
.woocommerce-account .entry-content,
body.woocommerce-checkout .entry-content {
	max-width: none;
}

.page-title {
	font-family: var(--font-display);
	font-size: 36px;
	font-weight: 500;
	line-height: 1.12;
	margin: 0 0 1.5rem;
	color: hsl(var(--foreground));
}

@media (min-width: 768px) {
	.page-title {
		font-size: 46px;
	}
}

/* --------------------------------------------------------------------------
   Checkout: native WooCommerce Checkout Block, restyled to the design system.
   -------------------------------------------------------------------------- */
body.woocommerce-checkout .wc-block-checkout {
	display: block;
}

@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout,
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large,
	body.woocommerce-checkout .wc-block-checkout.wc-block-components-sidebar-layout {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 2rem;
		align-items: start;
	}
}

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
	min-width: 0;
	width: 100%;
	max-width: none;
}

body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: hsl(var(--secondary));
	border-radius: 8px;
	padding: 2rem;
}

body.woocommerce-checkout .wc-block-checkout__sidebar h2,
body.woocommerce-checkout .wc-block-checkout__main h2,
body.woocommerce-checkout .wc-block-components-title,
body.woocommerce-checkout .wc-block-components-checkout-step__title {
	font-family: var(--font-display);
	font-size: 25px;
	font-weight: 500;
	line-height: 1.12;
	letter-spacing: 0;
	color: hsl(var(--foreground));
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-textarea textarea,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-blocks-components-select__select,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input {
	width: 100% !important;
	max-width: none !important;
	border: 1px solid hsl(var(--border)) !important;
	border-radius: 4px !important;
	background-color: hsl(var(--background)) !important;
	color: hsl(var(--foreground)) !important;
	font-family: var(--font-body) !important;
	font-size: 15px !important;
	font-weight: 400 !important;
	box-shadow: none !important;
}

body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-textarea textarea:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout .wc-blocks-components-select__select:focus {
	outline: 2px solid hsl(var(--ring)) !important;
	outline-offset: 2px !important;
	border-color: hsl(var(--primary)) !important;
}

body.woocommerce-checkout .wc-block-components-text-input label,
body.woocommerce-checkout .wc-block-components-select label,
body.woocommerce-checkout .wc-block-components-checkbox label,
body.woocommerce-checkout .wc-block-components-radio-control__label {
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 500;
	color: hsl(var(--foreground));
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background-color: hsl(var(--primary)) !important;
	color: hsl(var(--primary-foreground)) !important;
	border: 1px solid hsl(var(--primary)) !important;
	border-radius: 6px !important;
	font-family: var(--font-body) !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	letter-spacing: normal !important;
	text-transform: none !important;
	padding: 0.9rem 1.5rem !important;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover {
	background-color: hsl(var(--background)) !important;
	color: hsl(var(--primary)) !important;
}

body.woocommerce-checkout .wc-block-components-notice-banner {
	border-radius: 8px !important;
	border: 1px solid hsl(var(--border)) !important;
	background-color: hsl(var(--card)) !important;
	font-family: var(--font-body) !important;
	font-size: 15px !important;
	color: hsl(var(--foreground)) !important;
}

body.woocommerce-checkout .wc-block-cart-items td,
body.woocommerce-checkout .wc-block-components-order-summary-item {
	font-family: var(--font-body);
	font-size: 15px;
	color: hsl(var(--foreground));
}

body.woocommerce-checkout .wc-block-components-totals-item__label,
body.woocommerce-checkout .wc-block-components-totals-item__value {
	font-family: var(--font-body);
}

body.woocommerce-checkout .site-main {
	padding-top: 2.5rem;
	padding-bottom: 4rem;
}

body.woocommerce-checkout .entry-content > .wp-block-woocommerce-checkout {
	margin: 0;
}

/* --------------------------------------------------------------------------
   Order received (thank you) page.
   -------------------------------------------------------------------------- */
body.theme-thankyou-page {
	overflow-x: hidden;
}

body.theme-thankyou-page .woocommerce-order {
	font-family: var(--font-body);
}

body.theme-thankyou-page .woocommerce-order > p:first-child,
body.theme-thankyou-page .woocommerce-order > .woocommerce-thankyou-order-received {
	font-family: var(--font-display);
	font-size: 25px;
	font-weight: 500;
	line-height: 1.12;
	color: hsl(var(--foreground));
}

body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title,
body.theme-thankyou-page .woocommerce-column__title {
	font-family: var(--font-display);
	font-size: 25px;
	font-weight: 500;
	line-height: 1.12;
	margin: 0;
	padding: 0 0 1rem;
}

body.theme-thankyou-page .woocommerce-order-overview {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	margin: 1.5rem 0 2rem;
	padding: 0;
	list-style: none;
}

body.theme-thankyou-page .woocommerce-order-overview li {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: hsl(var(--muted-foreground));
}

body.theme-thankyou-page .woocommerce-order-overview li strong {
	display: block;
	margin-top: 0.35rem;
	font-family: var(--font-body);
	font-size: 16px;
	text-transform: none;
	letter-spacing: 0;
	color: hsl(var(--foreground));
}

body.theme-thankyou-page .woocommerce-order-details table {
	width: 100%;
	table-layout: fixed;
	border-collapse: collapse;
	margin-bottom: 2rem;
}

body.theme-thankyou-page .woocommerce-order-details th,
body.theme-thankyou-page .woocommerce-order-details td {
	padding: 0.75rem 0;
	border-bottom: 1px solid hsl(var(--border));
	font-size: 15px;
	text-align: left;
	overflow-wrap: anywhere;
}

body.theme-thankyou-page .woocommerce-order-details tfoot th {
	text-align: left;
}

body.theme-thankyou-page .woocommerce-order-details tfoot td {
	text-align: right;
}

body.theme-thankyou-page .woocommerce-customer-details {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

body.theme-thankyou-page .woocommerce-customer-details address {
	max-width: 480px;
	overflow-wrap: break-word;
	font-style: normal;
	font-size: 15px;
	line-height: 1.7;
}

/* --------------------------------------------------------------------------
   WordPress core helper classes.
   -------------------------------------------------------------------------- */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: hsl(var(--background));
	border-radius: 3px;
	box-shadow: 0 0 2px 2px hsl(var(--foreground) / 0.6);
	clip: auto !important;
	clip-path: none;
	color: hsl(var(--primary));
	display: block;
	font-size: 14px;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* --------------------------------------------------------------------------
   Simple page content (WordPress pages without a dedicated template).
   -------------------------------------------------------------------------- */
.theme-page-main {
	padding: 2.5rem 0 4rem;
}

.theme-page-main .entry-content > * + * {
	margin-top: 1rem;
}

.theme-page-main .entry-content h2 {
	margin-top: 2rem;
}

.theme-page-main .entry-content a {
	color: hsl(var(--primary));
	text-decoration: underline;
	text-underline-offset: 4px;
}

/* --------------------------------------------------------------------------
   Section anchors, scroll margins, and content-visibility stability.
   -------------------------------------------------------------------------- */
.sb-main > section[id],
.theme-page-main[id] {
	scroll-margin-top: calc(var(--header-height, 80px) + 20px);
}

@supports (content-visibility: auto) {
	.sb-main > section[id] {
		content-visibility: auto;
		contain-intrinsic-size: auto 720px;
	}
}

/* --------------------------------------------------------------------------
   Header / hero tweaks.
   -------------------------------------------------------------------------- */
@media (min-width: 1280px) {
	.sb-header [data-cart-open] {
		margin-left: 4px;
	}
}

.sb-hero .sb-hero-video {
	object-position: 64% center;
}

/* --------------------------------------------------------------------------
   Product grid cards: equal height and click targets.
   -------------------------------------------------------------------------- */
[data-shop-grid],
.theme-shop-grid {
	align-items: stretch;
}

.theme-shop-grid > li {
	display: flex;
	min-height: 100%;
}

.theme-product-card {
	min-height: 100%;
}

.theme-product-card > .flex.flex-1.flex-col {
	flex: 1 1 auto;
}

/* --------------------------------------------------------------------------
   Cart drawer quantity row.
   -------------------------------------------------------------------------- */
.theme-cart-qty {
	width: 100%;
}

/* --------------------------------------------------------------------------
   Checkout page shell (block + empty cart).
   -------------------------------------------------------------------------- */
body.woocommerce-checkout.theme-no-hero .page-title,
body.woocommerce-checkout .theme-checkout-content > .wp-block-post-title {
	display: none;
}

body.theme-checkout-empty .theme-checkout-back,
body.theme-checkout-empty .theme-checkout-title,
body.theme-checkout-empty .theme-checkout-intro,
body.theme-checkout-empty .theme-checkout-content,
body.theme-checkout-empty .wc-block-checkout,
body.theme-checkout-empty .woocommerce-notices-wrapper {
	display: none !important;
}

body.theme-cart-empty .woocommerce-cart-form,
body.theme-cart-empty .cart-collaterals,
body.theme-cart-empty .wp-block-woocommerce-cart,
body.theme-cart-empty .wc-block-cart,
body.theme-cart-empty .woocommerce-notices-wrapper {
	display: none !important;
}

body.theme-cart-empty .theme-cart-empty-shell {
	padding-top: 3rem;
	padding-bottom: 3rem;
}

body.woocommerce-checkout .wc-block-checkout__main .wc-block-checkout__actions {
	display: none !important;
}

body.woocommerce-checkout .wc-block-components-checkout-step.theme-checkout-step--no-title {
	padding-top: 0;
	margin-top: -0.5rem;
}

body.woocommerce-checkout .wc-block-components-checkout-step.theme-checkout-step--no-title .wc-block-components-checkout-step__container {
	padding-top: 0;
}

body.woocommerce-checkout .wc-block-components-product-metadata,
body.woocommerce-checkout .wc-block-components-product-details,
body.woocommerce-checkout .wc-block-components-order-summary-item__individual-prices .wc-block-components-product-badge {
	display: none !important;
}

body.theme-coupons-off .wc-block-components-totals-coupon,
body.theme-coupons-off .wc-block-components-totals-coupon-link,
body.theme-coupons-off .wc-block-components-totals-coupon-link-button,
body.theme-coupons-off .wc-block-components-panel__button[aria-label*="coupon" i],
body.theme-coupons-off .wp-block-woocommerce-checkout-order-summary-coupon-form-block,
body.theme-coupons-off .woocommerce-form-coupon-toggle,
body.theme-coupons-off .checkout_coupon {
	display: none !important;
}

body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wc-block-components-sidebar {
	background-color: hsl(var(--blue-deep)) !important;
	border-radius: 32px !important;
	padding: 1.5rem !important;
	color: hsl(var(--cream, 42 33% 97%));
}

@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-checkout__sidebar,
	body.woocommerce-checkout .wc-block-components-sidebar {
		padding: 2rem !important;
	}
}

body.woocommerce-checkout .wc-block-checkout__sidebar h2,
body.woocommerce-checkout .wc-block-components-sidebar .wc-block-components-title,
body.woocommerce-checkout .wc-block-components-sidebar .wc-block-cart__totals-title {
	font-family: var(--font-display);
	color: hsl(var(--ochre));
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.12em;
}

body.woocommerce-checkout .wc-block-components-sidebar,
body.woocommerce-checkout .wc-block-components-sidebar .wc-block-components-totals-item__label,
body.woocommerce-checkout .wc-block-components-sidebar .wc-block-components-totals-item__value {
	color: rgba(255, 255, 255, 0.92);
}

body.woocommerce-checkout .wc-block-components-sidebar .wc-block-components-order-summary-item,
body.woocommerce-checkout .wc-block-components-sidebar .wc-block-cart-items__row,
body.woocommerce-checkout .wc-block-components-sidebar .wc-block-components-order-summary-item__description,
body.woocommerce-checkout .wc-block-components-sidebar .wc-block-components-product-name,
body.woocommerce-checkout .wc-block-components-sidebar .wc-block-components-order-summary-item__product-name {
	color: rgba(255, 255, 255, 0.95) !important;
}

body.woocommerce-checkout .wc-block-components-sidebar .wc-block-components-order-summary-item__quantity,
body.woocommerce-checkout .wc-block-components-sidebar .wc-block-cart-item__quantity,
body.woocommerce-checkout .wc-block-components-sidebar .wc-block-components-order-summary-item__quantity span,
body.woocommerce-checkout .wc-block-components-sidebar .wc-block-components-chip {
	color: rgba(255, 255, 255, 0.92) !important;
	background-color: rgba(255, 255, 255, 0.14) !important;
	border: 0 !important;
}

body.woocommerce-checkout .wc-block-components-sidebar .wc-block-components-formatted-money-amount,
body.woocommerce-checkout .wc-block-components-sidebar .wc-block-components-order-summary-item__individual-prices {
	color: rgba(255, 255, 255, 0.92) !important;
}

body.woocommerce-checkout .wc-block-components-sidebar .wc-block-components-totals-footer-item .wc-block-components-formatted-money-amount {
	color: hsl(var(--ochre)) !important;
	font-family: var(--font-display);
	font-size: 1.75rem;
}

body.woocommerce-checkout .wc-block-components-sidebar .wc-block-components-order-summary-item__image img {
	border-radius: 0.75rem;
}

body.woocommerce-checkout .wc-block-components-sidebar .wc-block-checkout__actions {
	margin-top: 1.25rem;
}

@media (max-width: 389px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout {
		display: flex;
		flex-direction: column;
		gap: 1.5rem;
	}

	body.woocommerce-checkout .theme-checkout-shell {
		width: 100%;
	}

	body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
		width: 100%;
	}
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background-color: hsl(var(--ochre)) !important;
	border-color: hsl(var(--ochre)) !important;
	color: hsl(var(--cream)) !important;
	border-radius: 9999px !important;
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-textarea textarea,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input {
	border-radius: 9999px !important;
	background-color: hsl(var(--secondary)) !important;
	border-color: hsl(var(--primary) / 0.15) !important;
}

body.woocommerce-checkout .wc-block-components-textarea textarea {
	border-radius: 1rem !important;
}

body.woocommerce-checkout .wc-block-components-checkout-step {
	background: hsl(var(--card));
	border: 1px solid hsl(var(--border));
	border-radius: 8px;
	padding: 1.5rem;
	margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-checkout-step {
		padding: 2rem;
	}
}

body.woocommerce-checkout .wc-block-components-checkout-step__title {
	color: hsl(var(--primary));
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

body.woocommerce-checkout .theme-checkout-title {
	color: hsl(var(--primary));
}

.theme-checkout-back {
	font-weight: 600;
	text-decoration: none;
}

.theme-checkout-back:hover {
	text-decoration: underline;
	text-underline-offset: 4px;
}

