/* =========================================================================
   The Dam City Craft Shop - theme styles
   Only rules for markup without a source equivalent (WooCommerce, WordPress)
   and functional/animation rules live here. The design utilities come from
   app.css.
   ========================================================================= */

[hidden] {
	display: none !important;
}

.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;
	width: 1px;
	word-wrap: normal !important;
}

/* -------------------------------------------------------------------------
   WordPress admin bar + fixed header (Customizer preview and logged-in front)
   ---------------------------------------------------------------------- */
body.admin-bar .site-header {
	top: 32px;
}

body.admin-bar #theme-cart-drawer {
	top: 32px;
	height: calc(100% - 32px);
}

@media screen and (max-width: 782px) {
	body.admin-bar .site-header {
		top: 46px;
	}

	body.admin-bar #theme-cart-drawer {
		top: 46px;
		height: calc(100% - 46px);
	}
}

/* -------------------------------------------------------------------------
   Pointer cursor on interactive elements
   ---------------------------------------------------------------------- */
a[href],
button:not(:disabled),
input[type="button"]:not(:disabled),
input[type="submit"]:not(:disabled),
input[type="reset"]:not(:disabled),
label[for],
[role="button"]:not([aria-disabled="true"]),
.theme-product-card,
.theme-attr-pill,
.theme-variation-pill,
.theme-mobile-link,
[data-cart-open],
[data-cart-close],
[data-contact-open],
[data-contact-close],
[data-mobile-toggle],
.navigation.pagination .page-numbers {
	cursor: pointer;
}

button:disabled,
input:disabled,
[aria-disabled="true"] {
	cursor: not-allowed;
}

/* -------------------------------------------------------------------------
   Logo sizing (single definition, all contexts)
   ---------------------------------------------------------------------- */
.site-logo-img {
	height: var(--logo-height, 72px);
	width: auto;
	display: block;
}

.site-header .site-logo-img {
	transition: height 300ms ease;
}

.site-header:not(.is-solid) .site-logo-img {
	height: var(--logo-height, 72px);
}

.site-header.is-solid .site-logo-img {
	height: calc(var(--logo-height, 72px) * 0.8333333);
}

@media (min-width: 1024px) {
	.site-header:not(.is-solid) .site-logo-img {
		height: calc(var(--logo-height, 72px) * 1.3333333);
	}

	.site-header.is-solid .site-logo-img {
		height: calc(var(--logo-height, 72px) * 1.1111111);
	}
}

footer .site-logo-img {
	height: calc(var(--logo-height, 72px) * 1.6666667);
}

/* -------------------------------------------------------------------------
   Hero entrance + parallax hooks
   ---------------------------------------------------------------------- */
@keyframes themeFadeDown {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes themeFadeUp30 {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes themeSlideUp60 {
	from {
		opacity: 0;
		transform: translateY(60px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.theme-hero-eyebrow {
	animation: themeFadeDown 0.8s ease 0.3s both;
}

.theme-hero-line-1 {
	animation: themeSlideUp60 1s var(--transition-smooth) 0.5s both;
}

.theme-hero-line-2 {
	animation: themeSlideUp60 1s var(--transition-smooth) 0.65s both;
}

.theme-hero-p {
	animation: themeFadeUp30 0.8s ease 0.95s both;
}

.theme-hero-cta {
	animation: themeFadeUp30 0.7s ease 1.15s both;
}

.theme-hero-media,
.theme-hero-content {
	will-change: transform, opacity;
}

/* -------------------------------------------------------------------------
   Scroll reveals (framer-motion whileInView equivalents)
   ---------------------------------------------------------------------- */
.theme-reveal {
	opacity: 0;
	transform: translateY(40px);
	transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth);
}

.theme-reveal-scale {
	opacity: 0;
	transform: scale(0.96);
	transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth);
}

.theme-reveal.is-visible,
.theme-reveal-scale.is-visible {
	opacity: 1;
	transform: none;
}

@media (scripting: none) {
	.theme-reveal,
	.theme-reveal-scale {
		opacity: 1;
		transform: none;
	}
}

body.is-customizer .theme-reveal,
body.is-customizer .theme-reveal-scale,
body.is-customizer .theme-hero-eyebrow,
body.is-customizer .theme-hero-line,
body.is-customizer .theme-hero-p,
body.is-customizer .theme-hero-cta {
	opacity: 1 !important;
	transform: none !important;
	animation: none !important;
	transition: none !important;
}

/* -------------------------------------------------------------------------
   Product cards (hover motion from the design's spring variants)
   ---------------------------------------------------------------------- */
.theme-product-card {
	display: block;
}

.theme-product-card__media {
	transition: transform 0.45s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.theme-product-card__img {
	transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.theme-product-card:hover .theme-product-card__media,
.theme-product-card:focus-visible .theme-product-card__media {
	transform: translateY(-6px);
}

.theme-product-card:hover .theme-product-card__img,
.theme-product-card:focus-visible .theme-product-card__img {
	transform: scale(1.06);
}

/* -------------------------------------------------------------------------
   Quantity control
   ---------------------------------------------------------------------- */
.theme-qty-input {
	width: 3rem;
	min-width: 48px;
	border: 0;
	background: transparent;
	color: inherit;
	-moz-appearance: textfield;
	appearance: textfield;
}

.theme-qty-input:focus {
	outline: none;
}

.theme-qty-input::-webkit-outer-spin-button,
.theme-qty-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* -------------------------------------------------------------------------
   Single product layout
   ---------------------------------------------------------------------- */
.single-product .theme-product-layout {
	min-width: 0;
}

.single-product .theme-product-gallery,
.single-product .theme-product-info {
	min-width: 0;
	max-width: 100%;
}

.single-product .theme-product-thumbnails {
	flex-wrap: wrap;
	max-width: 100%;
}

.single-product .theme-add-to-cart-area {
	display: flex;
	align-items: stretch;
	flex-wrap: wrap;
	gap: 1rem;
}

.single-product .single_add_to_cart_button {
	flex: 1 1 auto;
	min-width: 160px;
}

.single-product .woocommerce-product-details__short-description,
.single-product .woocommerce-variation-description,
.single-product .posted_in,
.single-product .theme-product-details-html {
	overflow-wrap: break-word;
	word-break: break-word;
}

.single-product .theme-product-details-html ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.single-product .theme-product-details-html li {
	display: flex;
	align-items: flex-start;
	margin-bottom: 0.625rem;
	font-size: 0.875rem;
	line-height: 1.25rem;
	color: hsl(var(--foreground) / 0.8);
	font-family: var(--font-body);
}

.single-product .theme-product-details-html li::before {
	content: "";
	width: 0.375rem;
	height: 0.375rem;
	margin: 0.5rem 0.75rem 0 0;
	background: hsl(var(--accent));
	flex-shrink: 0;
}

.single-product .theme-product-details-html p {
	margin-bottom: 0.625rem;
}

/* Variation table stays in the DOM for WooCommerce, pills are the UI. */
.theme-attr-select-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.single-product .variations_form .value {
	position: relative;
}

.single-product .variations.shop_attributes tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td {
	display: block;
	width: 100%;
}

.single-product .variations tbody td.label {
	padding-bottom: 0.25rem;
}

.single-product .variations tbody td.value {
	padding-top: 0;
}

.single-product .theme-variation-pills,
.variations_form.cart .theme-variation-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 0.25rem;
	margin-bottom: 1rem;
}

.single-product .theme-variation-pill,
.variations_form.cart .theme-variation-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.5rem 1rem;
	border-radius: 999px;
	border: 1px solid hsl(var(--border));
	background: hsl(var(--background));
	color: hsl(var(--foreground));
	font-family: var(--font-body);
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	line-height: 1.25rem;
	transition: background-color 300ms ease, border-color 300ms ease, color 300ms ease, opacity 300ms ease;
}

.single-product .theme-variation-pill:hover:not(:disabled),
.variations_form.cart .theme-variation-pill:hover:not(:disabled) {
	border-color: hsl(var(--primary));
	color: hsl(var(--primary));
}

.single-product .theme-variation-pill.is-selected,
.variations_form.cart .theme-variation-pill.is-selected {
	background: hsl(var(--primary));
	border-color: hsl(var(--primary));
	color: hsl(var(--primary-foreground));
}

.single-product .theme-variation-pill:disabled,
.variations_form.cart .theme-variation-pill:disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

.single-product .single_variation_wrap {
	margin-bottom: 1rem;
}

.single-product .woocommerce-variation-price {
	font-family: var(--font-body);
	font-weight: 600;
	color: hsl(var(--primary));
	margin-bottom: 0.75rem;
}

.single-product .woocommerce-variation-availability p {
	font-family: var(--font-body);
	font-size: 0.875rem;
	color: hsl(var(--muted-foreground));
	margin-bottom: 0.75rem;
}

/* Disabled add-to-cart buttons (variable, out of stock) */
.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 {
	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;
}

/* WooCommerce appends a "View cart" link that is not part of the design */
.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;
}

/* Theme loading state for AJAX add-to-cart */
.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;
}

/* -------------------------------------------------------------------------
   Side cart drawer + overlay
   ---------------------------------------------------------------------- */
#theme-cart-overlay {
	position: fixed;
	inset: 0;
	z-index: 50;
	background: hsl(var(--background) / 0.6);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: none;
}

body.cart-open #theme-cart-overlay {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transition: opacity 0.6s var(--transition-smooth);
}

#theme-cart-drawer {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(20px);
	transition: none;
}

body.cart-open #theme-cart-drawer {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0);
	transition: opacity 0.6s var(--transition-smooth), transform 0.6s var(--transition-smooth);
}

#theme-cart-drawer.is-updating > * {
	opacity: 0.6;
	pointer-events: none;
}

.theme-cart-count:empty {
	display: none;
}

/* -------------------------------------------------------------------------
   Contact modal
   ---------------------------------------------------------------------- */
#theme-contact-modal {
	overflow: hidden;
}

#theme-contact-modal .theme-modal-overlay {
	opacity: 0;
	transition: opacity 0.3s ease;
}

#theme-contact-modal .theme-modal-panel {
	opacity: 0;
	transform: scale(0.92) translateY(30px);
	transition: opacity 0.45s var(--transition-smooth), transform 0.45s var(--transition-smooth);
	overflow: hidden;
	max-width: min(100%, 36rem);
}

#theme-contact-modal.is-open .theme-modal-overlay {
	opacity: 1;
}

#theme-contact-modal.is-open .theme-modal-panel {
	opacity: 1;
	transform: none;
}

#theme-contact-modal.is-closing .theme-modal-overlay {
	opacity: 0;
}

#theme-contact-modal.is-closing .theme-modal-panel {
	opacity: 0;
	transform: scale(0.95) translateY(20px);
}

@keyframes themeIconPop {
	from {
		opacity: 0;
		transform: scale(0) rotate(-90deg);
	}
	to {
		opacity: 1;
		transform: scale(1) rotate(0deg);
	}
}

@keyframes themeSuccessIn {
	from {
		opacity: 0;
		transform: scale(0.9);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

[data-contact-success]:not([hidden]) {
	animation: themeSuccessIn 0.5s var(--transition-smooth) both;
}

[data-contact-success]:not([hidden]) .theme-success-icon {
	animation: themeIconPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s both;
}

/* -------------------------------------------------------------------------
   WooCommerce notices / generic store markup
   ---------------------------------------------------------------------- */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.wc-block-components-notice-banner {
	font-family: var(--font-body);
	font-size: 0.875rem;
	line-height: 1.5rem;
	color: hsl(var(--foreground));
	background: hsl(var(--muted));
	border: 1px solid hsl(var(--border));
	border-radius: var(--radius);
	padding: 1rem 1.25rem;
	margin: 0 0 1.5rem;
	list-style: none;
}

.woocommerce-error {
	border-color: hsl(var(--destructive));
	color: hsl(var(--destructive));
	background: hsl(var(--background));
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
	display: none;
}

.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button {
	font-family: var(--font-body);
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	font-weight: 600;
	background: hsl(var(--primary));
	color: hsl(var(--primary-foreground));
	padding: 0.5rem 1rem;
	margin-left: 0.75rem;
}

.single-product .woocommerce-message,
.single-product .woocommerce-info {
	display: none;
}

#theme-cart-drawer .woocommerce-message {
	display: none;
}

.woocommerce-Price-amount {
	font-family: var(--font-body);
}

.woocommerce-Price-currencySymbol {
	font-family: var(--font-body);
}

del .woocommerce-Price-amount {
	color: hsl(var(--muted-foreground));
	font-weight: 400;
}

ins .woocommerce-Price-amount {
	text-decoration: none;
}

/* -------------------------------------------------------------------------
   Checkout: native WooCommerce Blocks, restyled to the design
   ---------------------------------------------------------------------- */
body.woocommerce-checkout .site-main {
	padding-bottom: 4rem;
}

body.woocommerce-checkout .entry-content {
	max-width: 100%;
}

body.woocommerce-checkout .wc-block-checkout {
	display: block;
}

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__main {
	padding-right: 0;
}

@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout,
	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__sidebar {
	background-color: hsl(var(--card));
	border: 1px solid hsl(var(--border));
	border-radius: var(--radius);
	padding: 2rem;
}

body.woocommerce-checkout .wc-block-components-checkout-step__title,
body.woocommerce-checkout .wc-block-components-title,
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-title,
body.woocommerce-checkout .wc-block-components-checkout-step__heading h2,
body.woocommerce-checkout .wc-block-components-checkout-step__heading h3 {
	font-family: var(--font-display);
	font-weight: 600;
	letter-spacing: -0.015em;
	color: hsl(var(--foreground));
	font-size: 1.5rem;
	line-height: 2rem;
	text-transform: none;
	margin-bottom: 1rem;
}

body.woocommerce-checkout .wc-block-components-checkout-step__description,
body.woocommerce-checkout .wc-block-components-text-input label,
body.woocommerce-checkout .wc-block-components-select label,
body.woocommerce-checkout .wc-block-components-radio-control__label,
body.woocommerce-checkout .wc-block-components-checkbox__label {
	font-family: var(--font-body);
	color: hsl(var(--muted-foreground));
	font-size: 0.875rem;
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-blocks-components-select__select,
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,
body.woocommerce-checkout .woocommerce-checkout .form-row .input-text,
body.woocommerce-checkout .woocommerce-checkout .form-row select {
	font-family: var(--font-body) !important;
	font-size: 0.875rem !important;
	line-height: 1.25rem !important;
	color: hsl(var(--foreground)) !important;
	background-color: hsl(var(--background)) !important;
	border: 1px solid hsl(var(--border)) !important;
	border-radius: var(--radius) !important;
	box-shadow: none !important;
	transition: border-color 300ms ease, box-shadow 300ms ease !important;
}

body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout .wc-blocks-components-select__select:focus,
body.woocommerce-checkout .wc-block-components-textarea textarea:focus,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input:focus,
body.woocommerce-checkout .woocommerce-checkout .form-row .input-text:focus,
body.woocommerce-checkout .woocommerce-checkout .form-row select:focus {
	border-color: hsl(var(--primary)) !important;
	outline: none !important;
	box-shadow: none !important;
}

body.woocommerce-checkout .wc-block-components-text-input input::placeholder,
body.woocommerce-checkout .wc-block-components-textarea textarea::placeholder {
	color: hsl(var(--muted-foreground)) !important;
}

body.woocommerce-checkout .wc-block-components-text-input.is-active label,
body.woocommerce-checkout .wc-block-components-select.is-active label {
	color: hsl(var(--muted-foreground)) !important;
	background: transparent !important;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-checkout .wc-block-components-button.wc-block-components-checkout-place-order-button {
	font-family: var(--font-body) !important;
	font-size: 0.75rem !important;
	line-height: 1rem !important;
	text-transform: uppercase !important;
	letter-spacing: 0.2em !important;
	font-weight: 600 !important;
	background-color: hsl(var(--primary)) !important;
	color: hsl(var(--primary-foreground)) !important;
	border-radius: var(--radius) !important;
	padding: 1rem 2rem !important;
	transition: background-color 300ms ease !important;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover {
	background-color: hsl(var(--primary) / 0.9) !important;
	color: hsl(var(--primary-foreground)) !important;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button .wc-block-components-button__text {
	font-family: var(--font-body) !important;
}

body.woocommerce-checkout .wc-block-cart-items,
body.woocommerce-checkout .wc-block-components-order-summary,
body.woocommerce-checkout .wc-block-components-totals-item {
	font-family: var(--font-body);
	font-size: 0.875rem;
	color: hsl(var(--foreground));
}

body.woocommerce-checkout .wc-block-components-product-name {
	font-family: var(--font-display);
	font-weight: 600;
	color: hsl(var(--foreground));
}

body.woocommerce-checkout .wc-block-components-totals-item__value,
body.woocommerce-checkout .wc-block-components-totals-item__label {
	font-family: var(--font-body);
}

body.woocommerce-checkout .wc-block-components-notice-banner {
	background: hsl(var(--muted)) !important;
	border: 1px solid hsl(var(--border)) !important;
	color: hsl(var(--foreground)) !important;
	border-radius: var(--radius) !important;
	font-family: var(--font-body) !important;
}

body.woocommerce-checkout .wc-block-components-notice-banner.is-error {
	border-color: hsl(var(--destructive)) !important;
	color: hsl(var(--destructive)) !important;
	background: hsl(var(--background)) !important;
}

body.woocommerce-checkout .wc-block-components-notice-banner > .wc-block-components-notice-banner__content {
	font-family: var(--font-body) !important;
}

/* Cart and account pages share the checkout container width. */
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main {
	padding-bottom: 4rem;
}

body.woocommerce-cart .entry-content,
body.woocommerce-account .entry-content {
	max-width: 100%;
}

body.woocommerce-cart .wc-block-cart,
body.woocommerce-account .wc-block-account {
	font-family: var(--font-body);
	color: hsl(var(--foreground));
}

body.woocommerce-cart .wc-block-components-button,
body.woocommerce-account .wc-block-components-button {
	font-family: var(--font-body);
	background-color: hsl(var(--primary));
	color: hsl(var(--primary-foreground));
	border-radius: var(--radius);
	text-transform: uppercase;
	letter-spacing: 0.2em;
	font-size: 0.75rem;
	font-weight: 600;
}

/* -------------------------------------------------------------------------
   Order received page
   ---------------------------------------------------------------------- */
body.theme-thankyou-page {
	overflow-x: hidden;
}

body.theme-thankyou-page .woocommerce-order {
	font-family: var(--font-body);
	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: 1.5rem;
	line-height: 2rem;
	font-weight: 600;
	padding: 0 0 1rem 0;
	color: hsl(var(--foreground));
}

body.theme-thankyou-page .woocommerce-order-overview {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	list-style: none;
	margin: 0 0 2rem;
	padding: 1.5rem;
	border: 1px solid hsl(var(--border));
	background: hsl(var(--card));
}

body.theme-thankyou-page .woocommerce-order-overview li {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: hsl(var(--muted-foreground));
	margin: 0;
}

body.theme-thankyou-page .woocommerce-order-overview li strong {
	display: block;
	margin-top: 0.5rem;
	font-family: var(--font-display);
	font-size: 1.125rem;
	letter-spacing: 0;
	text-transform: none;
	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: 0.875rem;
	text-align: left;
	overflow-wrap: break-word;
}

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: 0.875rem;
	line-height: 1.6;
}

/* -------------------------------------------------------------------------
   WordPress pagination
   ---------------------------------------------------------------------- */
.navigation.pagination .nav-links {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
	margin-top: 2.5rem;
}

.navigation.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	height: 2.5rem;
	padding: 0 0.75rem;
	border: 1px solid hsl(var(--border));
	font-family: var(--font-body);
	font-size: 0.875rem;
	color: hsl(var(--foreground));
	transition: background-color 300ms ease, color 300ms ease;
}

.navigation.pagination .page-numbers.current,
.navigation.pagination .page-numbers:hover {
	background: hsl(var(--primary));
	color: hsl(var(--primary-foreground));
	border-color: hsl(var(--primary));
}

/* -------------------------------------------------------------------------
   Small screen safety
   ---------------------------------------------------------------------- */
@media (max-width: 767px) {
	.theme-hero-video {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.theme-reveal,
	.theme-reveal-scale {
		transition-duration: 0.01ms;
	}

	.theme-product-card__media,
	.theme-product-card__img {
		transition: none;
	}
}
