/**
 * Podxmas UI overrides — child theme (replaces Code Snippets inline CSS + wp-custom-css fragments).
 * Design tokens: DESIGN.md in theme root.
 */

:root {
	--podxmas-primary: #121212;
	--podxmas-accent: #f7921f;
	--podxmas-accent-bold: #f36621;
	--podxmas-accent-soft: #fff9f4;
	--podxmas-accent-ink: #ffffff;
	--podxmas-ink: #121212;
	--podxmas-muted: #5c5c5c;
	--podxmas-success: #53b03b;
	--podxmas-link: #121212;
	--podxmas-price: #121212;
	--podxmas-border: #e8e8e8;
	--podxmas-surface: #f3f3f3;
	--podxmas-radius: 8px;
	--podxmas-atc-height: 48px;
}

/* -------------------------------------------------------------------------- */
/* Global typography & contrast                                                 */
/* -------------------------------------------------------------------------- */

body {
	color: #1a1a1a;
	text-wrap: pretty;
}

.woocommerce-Price-amount {
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--podxmas-price);
}

.product-small .box-text .price,
.product-info .price {
	line-height: 1.3;
}

/* -------------------------------------------------------------------------- */
/* Header                                                                       */
/* -------------------------------------------------------------------------- */

.header-bg-color,
.header-wrapper {
	border-bottom: 1px solid var(--podxmas-border);
}

@media (max-width: 849px) {
	.header-main {
		min-height: 70px;
	}

	.header-main .search-form {
		max-width: 100%;
	}
}

/* -------------------------------------------------------------------------- */
/* Shop / category grid                                                         */
/* -------------------------------------------------------------------------- */

.products .product-small .box-text .product-title,
.products .product-small .box-text .woocommerce-loop-product__title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 2.6em;
	line-height: 1.3;
	font-size: 0.95rem;
}

.products .product-small .box-text {
	padding-top: 0.65rem;
	padding-bottom: 0.85rem;
}

.products .product-small .box-image {
	border-radius: var(--podxmas-radius);
	overflow: hidden;
}

.woocommerce .product .add_to_cart_button.button,
.woocommerce a.added_to_cart {
	background-color: var(--podxmas-accent);
	color: var(--podxmas-accent-ink);
	border-radius: var(--podxmas-radius);
	font-weight: 700;
	min-height: 40px;
	line-height: 1.2;
}

.woocommerce .product .add_to_cart_button.button:hover,
.woocommerce a.added_to_cart:hover {
	filter: brightness(0.96);
	color: var(--podxmas-accent-ink);
}

/* -------------------------------------------------------------------------- */
/* PDP — UX Builder layout (col-content, not default product-summary)           */
/* -------------------------------------------------------------------------- */

.single-product .custom-product-page .product-title-container .product_title,
.single-product .product-title-container .product_title {
	color: #1a1a1a !important;
}

.single-product .product-breadcrumb-container {
	margin-bottom: 0.75rem;
	font-size: 0.8rem;
}

.single-product .product-breadcrumb-container .breadcrumbs {
	color: #5c5c5c;
}

.single-product .product-price-container .product-page-price .woocommerce-Price-amount {
	font-size: 1.35rem;
}

.single-product .wcpa_form_outer::before {
	content: "Choose your options";
	display: block;
	margin: 0 0 0.85rem;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #666;
}

.single-product .wcpa_form_outer .wcpa_type_textarea,
.single-product .wcpa_form_outer .wcpa_type_file {
	position: relative;
}

.single-product .wcpa_form_outer .wcpa_type_textarea::before,
.single-product .wcpa_form_outer .wcpa_type_file::before {
	content: "Personalized";
	display: block;
	margin: 0 0 0.65rem;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #666;
}

/* -------------------------------------------------------------------------- */
/* PDP — social proof (Macorner demand + Wanderprints rating row)             */
/* -------------------------------------------------------------------------- */

.single-product .podxmas-pdp-social-proof {
	margin: 0.35rem 0 0.65rem;
}

.single-product .podxmas-pdp-meta-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.35rem 0.75rem;
	margin-bottom: 0.35rem;
}

.single-product .podxmas-pdp-meta-left {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 0.5rem;
}

.single-product .podxmas-pdp-rating {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.875rem;
	font-weight: 700;
	color: #1a1a1a;
	text-decoration: none;
}

.single-product .podxmas-pdp-rating .star-rating {
	margin: 0;
	position: relative;
	font-size: 0.8125rem;
}

.single-product .podxmas-pdp-rating-score {
	font-weight: 700;
}

.single-product .podxmas-pdp-rating:hover {
	color: var(--podxmas-link, #f7921f);
}

.single-product .podxmas-pdp-rating-count {
	font-weight: 600;
	color: #555;
}

.single-product .podxmas-pdp-badge-new,
.single-product .podxmas-loop-new {
	display: inline-flex;
	align-items: center;
	padding: 0.12rem 0.45rem;
	font-size: 0.6875rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #fff;
	background: #2e9b44;
	border-radius: 4px;
	line-height: 1.3;
}

.single-product .podxmas-pdp-category {
	font-size: 0.8125rem;
	font-weight: 600;
	color: #666;
	text-align: right;
}

.single-product .people-demand,
.single-product .podxmas-people-demand {
	margin: 0.25rem 0 0.5rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: #e53935;
	line-height: 1.35;
}

/* Catalog / category product cards */
.product-small .podxmas-loop-rating,
.products .podxmas-loop-rating {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.25rem 0.4rem;
	margin: 0.2rem 0 0.35rem;
	min-height: 1.25rem;
}

.product-small .podxmas-loop-rating .star-rating,
.products .podxmas-loop-rating .star-rating {
	margin: 0;
	float: none;
	position: relative;
	font-size: 0.8125rem;
}

.product-small .podxmas-loop-rating .star-rating span,
.products .podxmas-loop-rating .star-rating span {
	position: absolute;
	left: 0;
	top: 0;
	overflow: hidden;
	padding-top: 1.618em;
	line-height: 1;
}

.single-product .podxmas-pdp-rating .star-rating span {
	position: absolute;
	left: 0;
	top: 0;
	overflow: hidden;
	padding-top: 1.618em;
	line-height: 1;
}

.product-small .podxmas-loop-rating-text,
.products .podxmas-loop-rating-text {
	font-size: 0.75rem;
	font-weight: 600;
	color: #444;
	line-height: 1.2;
}

.product-small .podxmas-loop-rating--new,
.products .podxmas-loop-rating--new {
	justify-content: center;
}

/* -------------------------------------------------------------------------- */
/* PDP — Macorner-inspired trust + price                                      */
/* -------------------------------------------------------------------------- */

.single-product .product-price-container .price {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 0.65rem;
}

.single-product .product-price-container .price del {
	opacity: 0.55;
	font-size: 1rem;
	font-weight: 400;
	order: 1;
}

.single-product .product-price-container .price ins {
	text-decoration: none;
	order: 0;
}

.single-product .podxmas-save-badge {
	display: inline-flex;
	align-items: center;
	padding: 0.2rem 0.55rem;
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1.3;
	color: #1a6b2e;
	background: #e8f5e9;
	border-radius: 4px;
	order: 2;
}

.single-product .podxmas-trust-strip {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	margin: 0.65rem 0 1rem;
	padding: 0.75rem 0;
	border-top: 1px solid var(--podxmas-border);
	border-bottom: 1px solid var(--podxmas-border);
}

.single-product .podxmas-trust-reviews {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 0.5rem;
	color: #1a1a1a;
	text-decoration: none;
	font-size: 0.875rem;
}

.single-product .podxmas-trust-reviews:hover {
	color: var(--podxmas-link);
}

.single-product .podxmas-trust-reviews .star-rating {
	margin: 0;
}

.single-product .podxmas-trust-review-count {
	color: #555;
}

.single-product .podxmas-trust-delivery .wpced,
.single-product .podxmas-trust-delivery .wpced-inner {
	margin: 0;
	font-size: 0.875rem;
	color: #1a1a1a;
}

.single-product .podxmas-trust-delivery .wpced-inner::before {
	content: "🚚 ";
}

.single-product .podxmas-trust-delivery.podxmas-trust-delivery--fallback {
	font-size: 0.875rem;
	color: #444;
}

.single-product .podxmas-trust-delivery.podxmas-trust-delivery--fallback a {
	color: var(--podxmas-link);
	text-decoration: underline;
}

/* -------------------------------------------------------------------------- */
/* PDP — estimated delivery (picturestees parity)                             */
/* -------------------------------------------------------------------------- */

.single-product .podxmas-pdp-shipping {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.35rem 0.65rem;
	margin-bottom: 0.85rem;
	padding: 0.55rem 0.75rem 0;
	font-size: 0.84rem;
	background: #fff;
	border: 1px solid var(--podxmas-border);
	border-radius: var(--podxmas-radius);
	overflow: hidden;
}

.single-product .podxmas-pdp-shipping__method {
	font-weight: 700;
	color: #1a1a1a;
	padding-bottom: 0.55rem;
}

.single-product .podxmas-pdp-shipping__eta {
	font-weight: 600;
	color: #666;
	padding-bottom: 0.55rem;
}

.single-product .podxmas-pdp-shipping__stat {
	flex: 1 1 100%;
	margin: 0;
	padding: 0.45rem 0.75rem;
	margin-left: -0.75rem;
	margin-right: -0.75rem;
	font-size: 0.8rem;
	line-height: 1.35;
	color: #1a5c5c;
	background: rgba(26, 160, 160, 0.1);
}

.single-product .podxmas-pdp-shipping__stat strong {
	font-weight: 700;
	color: #0f6b6b;
}

.single-product .podxmas-pdp-timeline {
	margin-bottom: 1rem;
}

.single-product .podxmas-pdp-timeline__steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0;
	list-style: none;
	margin: 0;
	padding: 0;
	position: relative;
}

.single-product .podxmas-pdp-timeline__steps::before {
	content: "";
	position: absolute;
	top: 9px;
	left: 12%;
	right: 12%;
	height: 2px;
	background: #e8e8e8;
	z-index: 0;
}

.single-product .podxmas-pdp-timeline__step {
	position: relative;
	z-index: 1;
	text-align: center;
}

.single-product .podxmas-pdp-timeline__dot {
	display: block;
	width: 18px;
	height: 18px;
	margin: 0 auto 0.45rem;
	border: 2px solid #e8e8e8;
	border-radius: 50%;
	background: #fff;
	box-sizing: border-box;
}

.single-product .podxmas-pdp-timeline__step.is-done .podxmas-pdp-timeline__dot,
.single-product .podxmas-pdp-timeline__step.is-active .podxmas-pdp-timeline__dot {
	border-color: var(--podxmas-accent, #f7921f);
	background: var(--podxmas-accent, #f7921f);
	box-shadow: 0 0 0 3px rgba(247, 146, 31, 0.18);
}

.single-product .podxmas-pdp-timeline__date {
	display: block;
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1.2;
	color: #1a1a1a;
}

.single-product .podxmas-pdp-timeline__label {
	display: block;
	margin-top: 0.15rem;
	font-size: 0.72rem;
	line-height: 1.25;
	color: #666;
}

.single-product .podxmas-pdp-arrival-note {
	display: block;
	width: 100%;
	margin: 0.75rem 0 0;
	padding: 0.55rem 0.85rem;
	font-size: 0.86rem;
	line-height: 1.35;
	color: #444;
	text-align: left;
	background: rgba(247, 146, 31, 0.12);
	border-radius: var(--podxmas-radius);
}

.single-product .podxmas-atc-row .podxmas-pdp-arrival-note,
body > .podxmas-atc-row .podxmas-pdp-arrival-note {
	display: none !important;
}

.single-product .podxmas-pdp-arrival-note strong {
	color: #c56a00;
}

/* -------------------------------------------------------------------------- */
/* PDP — quantity bulk discount                                                 */
/* -------------------------------------------------------------------------- */

.single-product .podxmas-qty-applied {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 0.75rem;
	margin: 0.65rem 0 0.75rem;
	padding: 0.55rem 0.75rem;
	background: #edf9f0;
	border: 1px solid #b8e6c1;
	border-radius: var(--podxmas-radius);
}

.single-product .podxmas-qty-applied[hidden] {
	display: none !important;
}

.single-product .podxmas-qty-applied-badge {
	display: inline-flex;
	align-items: center;
	padding: 0.25rem 0.55rem;
	font-size: 0.6875rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #fff;
	background: #2e9b44;
	border-radius: 999px;
	white-space: nowrap;
}

.single-product .podxmas-qty-applied-detail {
	font-size: 0.8125rem;
	font-weight: 600;
	color: #1a1a1a;
	line-height: 1.35;
}

.single-product .podxmas-qty-discount {
	margin: 1rem 0 0;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
}

.single-product .podxmas-qty-discount-title {
	margin: 0 0 0.65rem;
	font-size: 1rem;
	font-weight: 700;
	color: #1a1a1a;
	text-transform: none;
	letter-spacing: 0;
}

.single-product .podxmas-qty-discount-tiers {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.55rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.single-product .podxmas-qty-discount-tier {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	padding: 0.75rem 0.85rem;
	background: #f3f3f3;
	border: 1px solid #e0e0e0;
	border-radius: 10px;
	font-size: 0.875rem;
	cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.single-product .podxmas-qty-discount-tier.is-active {
	background: var(--podxmas-accent-soft, #fff9f4);
	border-color: var(--podxmas-accent, #f7921f);
	box-shadow: 0 0 0 2px rgba(247, 146, 31, 0.14);
}

.single-product .podxmas-qty-discount-qty {
	font-weight: 700;
	color: #444;
}

.single-product .podxmas-qty-discount-tier.is-active .podxmas-qty-discount-qty {
	color: #1a1a1a;
}

.single-product .podxmas-qty-discount-badge {
	display: inline-flex;
	align-items: center;
	padding: 0.2rem 0.55rem;
	font-size: 0.6875rem;
	font-weight: 800;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: #fff;
	background: #c9c9c9;
	border-radius: 999px;
	white-space: nowrap;
}

.single-product .podxmas-qty-discount-tier.is-active .podxmas-qty-discount-badge {
	background: var(--podxmas-accent, #f7921f);
}

@media (max-width: 549px) {
	.single-product .podxmas-qty-discount-tiers {
		grid-template-columns: 1fr;
	}
}

/* -------------------------------------------------------------------------- */
/* PDP — related products                                                       */
/* -------------------------------------------------------------------------- */

/* UX Builder custom PDP layouts float the gallery/summary columns without
   clearing them, so injected after-product blocks overlap the gallery. Clear
   both and establish a block formatting context on the product wrapper. */
.single-product div.product::after {
	content: "";
	display: table;
	clear: both;
}

/* Contain the UX Builder PDP layout so its floated columns reserve height
   instead of leaking into the injected after-product blocks. */
.single-product div.product > .custom-product-page {
	display: flow-root;
}

.single-product .podxmas-pdp-related-wrap,
.single-product .podxmas-pdp-reviews-wrap {
	clear: both;
	width: 100%;
	position: relative;
}

.single-product .podxmas-pdp-related-wrap {
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--podxmas-border);
}

.single-product .podxmas-pdp-reviews-wrap {
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--podxmas-border);
}

.single-product .podxmas-related-products .podxmas-related-title,
.single-product .podxmas-pdp-related-wrap .podxmas-related-title {
	font-size: 1.25rem;
	font-weight: 700;
	text-transform: none;
	letter-spacing: 0;
	color: #1a1a1a;
	padding: 0 0 1rem;
	margin: 0;
}

.single-product .podxmas-preview-btn {
	display: none !important;
}

@media (min-width: 850px) {
	.single-product .col-content .is-sticky-column__inner {
		position: sticky;
		top: 100px;
		align-self: flex-start;
	}
}

.single-product .wcpa_form_outer .wcpa_file_outer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	padding: 0.65rem 0.75rem;
	border: 1px dashed #c8c8c8;
	border-radius: 4px;
	background: #fff;
	cursor: pointer;
}

.single-product .wcpa_form_outer .wcpa_file_wrap {
	display: inline-flex;
	align-items: center;
	padding: 0.4rem 0.85rem;
	background: var(--podxmas-accent);
	color: var(--podxmas-accent-ink);
	border-radius: 4px;
	font-weight: 600;
	font-size: 0.875rem;
}

.single-product .wcpa_form_outer textarea {
	min-height: 96px;
	padding: 0.65rem 0.75rem !important;
	resize: vertical;
}

.single-product .wcpa_form_outer .SumoSelect > .optWrapper {
	z-index: 10060;
}

@media (max-width: 849px) {
	.single-product .col-gallery .is-sticky-column,
	.single-product .col-gallery .is-sticky-column__inner {
		position: relative !important;
		top: auto !important;
		transform: none !important;
	}

	.single-product .product-breadcrumb-container {
		order: -1;
		width: 100%;
	}

	.single-product .col-gallery .col-inner {
		display: flex;
		flex-direction: column;
	}
}

@media (min-width: 850px) {
	/* ponytail: no nested scroll here — max-height + overflow-y stacked a 2nd
	   scrollbar beside the page and broke sticky ATC (sticky fails inside overflow). */
	.single-product .col-content .add-to-cart-container {
		max-height: none;
		overflow: visible;
		padding-right: 0;
	}
}

/* -------------------------------------------------------------------------- */
/* PDP — title, price, summary spacing                                          */
/* -------------------------------------------------------------------------- */

.single-product .product-title-container .product_title,
.single-product .product-summary .product-title {
	font-size: clamp(1.15rem, 2.4vw, 1.65rem);
	line-height: 1.3;
	margin-bottom: 0.5rem;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.single-product .product-summary .price,
.single-product .product-price-container .price {
	margin-bottom: 0.75rem;
}

.single-product .add-to-cart-container {
	margin-top: 0.5rem;
}

.single-product .add-to-cart-container form.cart {
	display: block;
}

/* -------------------------------------------------------------------------- */
/* PDP gallery — picturestees: main image + one thumb row below                 */
/* -------------------------------------------------------------------------- */

.single-product.podxmas-pdp .col-gallery .col-inner,
.single-product.podxmas-pdp .product-gallery .col-inner {
	display: flex;
	flex-direction: column;
}

.single-product.podxmas-pdp .col-gallery .product-images,
.single-product.podxmas-pdp .product-gallery .product-images,
.single-product.podxmas-pdp .col-gallery .product-gallery,
.single-product.podxmas-pdp .podxmas-product-gallery {
	background: #fff;
	border: 1px solid var(--podxmas-border, #eee);
	border-radius: var(--podxmas-radius, 8px);
	overflow: hidden;
	padding-bottom: 0.35rem;
}

.single-product.podxmas-pdp .product-gallery-slider.podxmas-gallery-main {
	margin-bottom: 0 !important;
	overflow: hidden !important;
}

.single-product.podxmas-pdp .product-gallery-slider.podxmas-gallery-main .woocommerce-product-gallery__image {
	width: 100%;
}

.single-product.podxmas-pdp .product-gallery-slider.podxmas-gallery-main .woocommerce-product-gallery__image[hidden] {
	display: none !important;
}

.single-product .podxmas-product-gallery .product-gallery-slider.podxmas-gallery-main .woocommerce-product-gallery__image a,
.single-product .podxmas-product-gallery .product-gallery-slider.podxmas-gallery-main .woocommerce-product-gallery__image .podxmas-gallery-img-wrap {
	display: block;
	line-height: 0;
	cursor: default;
}

.single-product .podxmas-product-gallery .product-gallery-slider.podxmas-gallery-main.flickity-enabled .woocommerce-product-gallery__image {
	display: block !important;
}

.single-product .podxmas-product-gallery .product-gallery-slider.podxmas-gallery-main.flickity-enabled .woocommerce-product-gallery__image[hidden] {
	display: block !important;
}

.single-product.podxmas-pdp .product-gallery-slider.podxmas-gallery-main .woocommerce-product-gallery__image img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: contain;
}

/* Before flickity: never flash all slides as a grid */
.single-product.podxmas-pdp .product-gallery-slider.podxmas-gallery-main:not(.flickity-enabled) > .woocommerce-product-gallery__image:not(:first-child) {
	display: none !important;
}

.single-product.podxmas-pdp .product-thumbnails.podxmas-gallery-thumbs {
	margin: 0.5rem 0 0;
	padding: 0 0.35rem;
}

.single-product.podxmas-pdp .product-thumbnails.podxmas-gallery-thumbs.row {
	flex-wrap: nowrap !important;
	overflow-x: auto;
	overflow-y: hidden;
	margin-left: 0 !important;
	margin-right: 0 !important;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
}

.single-product.podxmas-pdp .product-thumbnails.podxmas-gallery-thumbs > .col {
	flex: 0 0 20% !important;
	max-width: 20% !important;
	width: 20% !important;
	min-width: 56px;
	padding: 0 0.2rem;
}

.single-product.podxmas-pdp .product-thumbnails.podxmas-gallery-thumbs > .col a {
	display: block;
	line-height: 0;
}

.single-product.podxmas-pdp .product-thumbnails.podxmas-gallery-thumbs > .col img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 4px;
	border: 2px solid transparent;
	background: #fff;
	transition: border-color 0.15s ease;
}

.single-product.podxmas-pdp .product-thumbnails.podxmas-gallery-thumbs > .col.is-nav-selected img {
	border-color: #121212;
}

.single-product.podxmas-pdp .product-thumbnails.podxmas-gallery-thumbs .flickity-prev-next-button {
	display: none;
}

.single-product.podxmas-pdp .flex-control-nav.flex-control-thumbs {
	display: none !important;
}

@media (max-width: 549px) {
	.single-product.podxmas-pdp .product-thumbnails.podxmas-gallery-thumbs > .col {
		flex: 0 0 22% !important;
		max-width: 22% !important;
		width: 22% !important;
	}
}

/* -------------------------------------------------------------------------- */
/* PDP — WCPA options form (heavy POD products)                                 */
/* -------------------------------------------------------------------------- */

.single-product .wcpa_form_outer {
	box-sizing: border-box;
	margin: 0.35rem 0 1rem;
	max-width: 100%;
	min-width: 0;
	overflow: hidden;
	width: 100%;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	max-height: none;
}

.single-product .wcpa_form_outer .wcpa_row {
	display: flex;
	flex-direction: column;
	margin-left: 0;
	margin-right: 0;
}

.single-product .wcpa_form_outer .wcpa_row::before,
.single-product .wcpa_form_outer .wcpa_row::after {
	display: none;
}

.single-product .wcpa_form_outer .wcpa-col-1,
.single-product .wcpa_form_outer .wcpa-col-2,
.single-product .wcpa_form_outer .wcpa-col-3,
.single-product .wcpa_form_outer .wcpa-col-4,
.single-product .wcpa_form_outer .wcpa-col-5 {
	float: none;
	width: 100%;
	flex: 1 1 100%;
	max-width: 100%;
}

.single-product .wcpa_form_outer .wcpa_form_item {
	box-sizing: border-box;
	max-width: 100%;
	min-width: 0;
	margin-bottom: 0.85rem;
	padding-left: 0;
	padding-right: 0;
}

.single-product .wcpa_form_outer .wcpa_form_item[style*="display: none"],
.single-product .wcpa_form_outer .wcpa_form_item[style*="display:none"] {
	display: none !important;
	margin: 0 !important;
	padding: 0 !important;
	height: 0 !important;
	overflow: hidden !important;
}

.single-product .wcpa_form_outer .wcpa_type_separator {
	margin-bottom: 0.25rem !important;
	min-height: 0 !important;
}

.single-product .wcpa_form_outer label,
.single-product .wcpa_form_outer .wcpa_form_item > label,
.single-product .wcpa_form_outer .wcpa_label {
	display: block;
	font-weight: 700;
	font-size: 0.88rem;
	color: #1a1a1a;
	margin-bottom: 0.4rem;
	line-height: 1.3;
	padding-right: 0;
}

.single-product .wcpa_form_outer .wcpa_required,
.single-product .wcpa_form_outer .required_ast {
	color: #c56a00;
}

.single-product .wcpa_form_outer .wcpa_helptext {
	display: inline-block;
	margin: 0 0 0.5rem;
	padding: 0.25rem 0.7rem;
	font-size: 0.8rem;
	font-weight: 600;
	line-height: 1.35;
	color: #c56a00;
	background: rgba(247, 146, 31, 0.12);
	border-radius: 999px;
}

.single-product .wcpa_type_select .select {
	position: relative;
	width: 100%;
}

.single-product .wcpa_form_outer input[type="text"],
.single-product .wcpa_form_outer input[type="email"],
.single-product .wcpa_form_outer input[type="number"],
.single-product .wcpa_form_outer input[type="tel"],
.single-product .wcpa_form_outer input[type="file"],
.single-product .wcpa_form_outer select,
.single-product .wcpa_form_outer textarea,
.single-product .wcpa_form_outer .SumoSelect > .CaptionCont {
	background: #fff;
	border: 1px solid var(--podxmas-border, #e8e8e8);
	border-radius: var(--podxmas-radius, 6px);
	box-shadow: none;
	color: #1a1a1a;
	font-size: 0.92rem;
	font-weight: 600;
	min-height: 46px;
	outline: none;
	padding: 0.6rem 0.85rem;
	width: 100%;
}

.single-product .wcpa_type_select select,
.single-product .wcpa_form_outer .wcpa_type_select select {
	appearance: none;
	padding-right: 3rem;
	cursor: pointer;
}

.single-product .wcpa_form_outer .select_arrow {
	display: block !important;
	border-color: #888 transparent transparent;
	border-style: solid;
	border-width: 6px 5px 0;
	height: 0;
	pointer-events: none;
	position: absolute;
	right: 0.95rem;
	top: 50%;
	transform: translateY(-35%);
	width: 0;
}

.single-product .wcpa_form_outer .SumoSelect {
	width: 100% !important;
	max-width: 100% !important;
}

.single-product .wcpa_form_outer .select {
	width: 100%;
}

.single-product .wcpa_form_outer input:focus,
.single-product .wcpa_form_outer select:focus,
.single-product .wcpa_form_outer textarea:focus,
.single-product .wcpa_form_outer .SumoSelect:focus > .CaptionCont,
.single-product .wcpa_form_outer .SumoSelect.open > .CaptionCont {
	border-color: var(--podxmas-accent, #f7921f) !important;
	box-shadow: 0 0 0 3px rgba(247, 146, 31, 0.18);
	outline: none;
}

.single-product .wcpa_type_select select:hover,
.single-product .wcpa_form_outer select:hover,
.single-product .wcpa_form_outer .SumoSelect > .CaptionCont:hover {
	border-color: #bbb !important;
}

/* Filled / selected field emphasis */
.single-product .wcpa_form_item.podxmas-wcpa-filled > label {
	color: #b85c00;
}

.single-product .wcpa_form_item.podxmas-wcpa-filled > label::after {
	content: " ✓";
	font-weight: 700;
	color: var(--podxmas-accent, #f7921f);
}

.single-product .wcpa_form_item.podxmas-wcpa-filled .SumoSelect > .CaptionCont,
.single-product .wcpa_form_item.podxmas-wcpa-filled select {
	border-color: var(--podxmas-accent, #f7921f) !important;
	background: var(--podxmas-accent-soft, #fff9f4) !important;
	font-weight: 600;
	color: #1a1a1a;
}

.single-product .wcpa_form_item.podxmas-wcpa-filled .SumoSelect > .CaptionCont > span {
	color: #1a1a1a;
	font-weight: 600;
}

/* Radio groups — picturestees-style pill grid */
.single-product .wcpa_type_radio-group .radio-group,
.single-product .wcpa_type_radio-group .radio-inline,
.single-product .wcpa_form_item.podxmas-wcpa-hybrid_parent .podxmas-wcpa-hybrid.radio-group,
.single-product .wcpa_form_item.podxmas-wcpa-hybrid_parent .podxmas-wcpa-hybrid.radio-inline,
.single-product .wcpa_form_item .podxmas-wcpa-hybrid.radio-group,
.single-product .wcpa_form_item .podxmas-wcpa-hybrid.radio-inline {
	display: grid;
	gap: 0.45rem;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 6.75rem), 1fr));
	margin-left: 0 !important;
	max-width: 100%;
	width: 100%;
}

.single-product .wcpa_type_radio-group .wcpa_radio,
.single-product .wcpa_form_item.podxmas-wcpa-hybrid_parent .wcpa_radio,
.single-product .wcpa_form_item .podxmas-wcpa-hybrid .wcpa_radio {
	display: block;
	position: relative;
	margin: 0 !important;
	max-width: 100%;
	min-width: 0;
}

.single-product .wcpa_type_radio-group .wcpa_radio input[type="radio"],
.single-product .wcpa_form_item.podxmas-wcpa-hybrid_parent .wcpa_radio input[type="radio"],
.single-product .wcpa_form_item .podxmas-wcpa-hybrid .wcpa_radio input[type="radio"] {
	height: 1px;
	margin: 0;
	opacity: 0;
	position: absolute;
	width: 1px;
	pointer-events: none;
}

.single-product .wcpa_type_radio-group .wcpa_radio label,
.single-product .wcpa_form_item.podxmas-wcpa-hybrid_parent .wcpa_radio label,
.single-product .wcpa_form_item .podxmas-wcpa-hybrid .wcpa_radio label {
	align-items: center;
	background: #fff;
	border: 1px solid var(--podxmas-border, #e8e8e8);
	border-radius: var(--podxmas-radius, 6px);
	box-sizing: border-box;
	cursor: pointer;
	display: flex;
	font-size: 0.86rem;
	font-weight: 600;
	gap: 0;
	justify-content: center;
	line-height: 1.25;
	margin: 0 !important;
	max-width: 100%;
	min-height: 42px;
	padding: 0.5rem 0.65rem;
	text-align: center;
	transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
	white-space: normal;
	width: 100%;
	word-break: break-word;
	color: #444;
}

.single-product .wcpa_type_radio-group .wcpa_radio .wcpa_check,
.single-product .wcpa_form_item .podxmas-wcpa-hybrid .wcpa_radio label .wcpa_check {
	display: none;
}

.single-product .wcpa_type_radio-group .wcpa_radio label:hover,
.single-product .wcpa_form_item .podxmas-wcpa-hybrid .wcpa_radio label:hover {
	border-color: #bbb;
	background: #fafafa;
	color: #1a1a1a;
}

.single-product .wcpa_type_radio-group .wcpa_radio input[type="radio"]:checked + label,
.single-product .wcpa_form_item .podxmas-wcpa-hybrid .wcpa_radio input[type="radio"]:checked + label {
	border-color: var(--podxmas-accent, #f7921f);
	background: rgba(247, 146, 31, 0.12);
	color: #c56a00;
	box-shadow: none;
}

.single-product .wcpa_type_radio-group .wcpa_radio input[type="radio"]:focus-visible + label,
.single-product .wcpa_form_item .podxmas-wcpa-hybrid .wcpa_radio input[type="radio"]:focus-visible + label {
	box-shadow: 0 0 0 3px rgba(247, 146, 31, 0.18);
	outline: none;
}

/* SumoSelect dropdown list highlight */
.single-product .wcpa_form_outer .SumoSelect > .optWrapper > ul.options li.opt.selected {
	background: var(--podxmas-accent-soft, #fff9f4);
	color: #b85c00;
	font-weight: 600;
}

.single-product .wcpa_form_outer .SumoSelect > .optWrapper > ul.options li.opt:hover {
	background: #fff3e6;
}

.single-product .wcpa_price_summary {
	margin: 0.5rem 0 1rem;
	padding: 0.75rem 1rem;
	background: #fff;
	border: 1px solid var(--podxmas-border);
	border-radius: var(--podxmas-radius);
}

.single-product .wcpa_price_summary .wcpa_total {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.single-product .wcpa_price_summary .wcpa_total .wcpa_price,
.single-product .wcpa_price_summary .wcpa_total .wcpa_price_outer {
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--podxmas-price);
}

.single-product .wcpa_price_summary ul {
	margin: 0;
	padding: 0;
}

.single-product .wcpa_price_summary .wcpa_total {
	font-size: 1.05rem;
	font-weight: 700;
	border-top: 0;
	padding: 0;
}

.single-product .wcpa_validation_summary {
	margin-bottom: 1rem;
	padding: 0.65rem 0.75rem;
	background: #fff5f5;
	border: 1px solid #f5c2c2;
	border-radius: 4px;
}

/* -------------------------------------------------------------------------- */
/* PDP — quantity + Add to Cart (child theme + legacy snippet class)            */
/* -------------------------------------------------------------------------- */

.single-product .podxmas-atc-row,
.single-product .sg_wrapper_add_to_cart_quantity,
.product-quick-view-container .podxmas-atc-row,
.product-quick-view-container .sg_wrapper_add_to_cart_quantity {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 12px;
	margin-top: 0.75rem;
	margin-bottom: 0;
}

.single-product form.cart .quantity,
.single-product .add-to-cart-container .quantity,
.product-quick-view-container .quantity {
	position: relative;
	display: inline-flex;
	align-items: stretch;
	margin: 0;
	height: var(--podxmas-atc-height);
	border: 1px solid var(--podxmas-border);
	border-radius: var(--podxmas-radius);
	background: #fff;
	overflow: hidden;
}

.single-product form.cart .input-text.qty,
.single-product .add-to-cart-container .input-text.qty,
.product-quick-view-container .input-text.qty {
	width: 72px !important;
	max-width: 72px !important;
	min-height: var(--podxmas-atc-height) !important;
	height: 100% !important;
	margin: 0 !important;
	padding: 0 28px 0 10px !important;
	text-align: center;
	font-size: 1rem;
	font-weight: 600;
	border: 0 !important;
	box-shadow: none !important;
	appearance: textfield;
	-moz-appearance: textfield;
}

.single-product form.cart .quantity .minus,
.single-product form.cart .quantity .plus,
.single-product .add-to-cart-container .quantity .minus,
.single-product .add-to-cart-container .quantity .plus,
.product-quick-view-container .quantity .minus,
.product-quick-view-container .quantity .plus {
	position: absolute !important;
	right: 0;
	width: 26px !important;
	min-height: 26px !important;
	height: 26px !important;
	padding: 0 !important;
	line-height: 26px !important;
	border: 0 !important;
	border-left: 1px solid var(--podxmas-border) !important;
	background: #f3f3f3 !important;
	font-size: 1rem;
}

.single-product form.cart .quantity .plus,
.single-product .add-to-cart-container .quantity .plus,
.product-quick-view-container .quantity .plus {
	top: 0;
}

.single-product form.cart .quantity .minus,
.single-product .add-to-cart-container .quantity .minus,
.product-quick-view-container .quantity .minus {
	bottom: 0;
	border-top: 1px solid var(--podxmas-border) !important;
}

.single-product .single_add_to_cart_button,
.product-quick-view-container .single_add_to_cart_button {
	flex: 1 1 220px;
	min-height: var(--podxmas-atc-height) !important;
	height: auto !important;
	margin: 0 !important;
	padding: 0 1.25rem !important;
	border-radius: var(--podxmas-radius) !important;
	font-size: 1.05rem !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	white-space: nowrap;
	background-color: var(--podxmas-accent) !important;
	color: var(--podxmas-accent-ink) !important;
	border: 1px solid rgba(0, 0, 0, 0.12) !important;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.single-product .single_add_to_cart_button:hover,
.product-quick-view-container .single_add_to_cart_button:hover {
	filter: brightness(0.97);
	color: var(--podxmas-accent-ink) !important;
}

/* -------------------------------------------------------------------------- */
/* Cart & checkout                                                              */
/* -------------------------------------------------------------------------- */

button[name="update_cart"] {
	display: none;
}

.woocommerce-cart .cart-collaterals,
.woocommerce-checkout .checkout-sidebar {
	position: relative;
}

.woocommerce-cart .checkout-button,
.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
	background-color: var(--podxmas-success) !important;
	font-weight: 700;
	min-height: 48px;
}

.woocommerce-cart-form .shop_table td,
.woocommerce-cart-form .shop_table th {
	vertical-align: middle;
}

.single-product .podxmas-atc-total {
	display: none;
}

/* -------------------------------------------------------------------------- */
/* Product tabs (accordion) + description blocks                                */
/* -------------------------------------------------------------------------- */

.single-product .product-page-accordian {
	margin-top: 1.25rem;
}

.single-product .accordion-inner [style*="display:flex"] {
	max-width: 100%;
}

.single-product .accordion-inner [style*="flex:1 1 220px"] {
	min-width: 0;
}

.single-product .accordion-inner br {
	display: none;
}

.single-product .accordion-inner strong[style*="flex:0 0 180px"] {
	flex: 1 1 100% !important;
	min-width: 0 !important;
	display: block;
	margin-bottom: 0.15rem;
}

.single-product .accordion .accordion-item {
	border-color: var(--podxmas-border);
}

.single-product .accordion .accordion-title {
	font-weight: 700;
	padding-top: 0.85rem;
	padding-bottom: 0.85rem;
}

/* Override Flatsome customizer green ATC on PDP — keep brand orange */
.single-product .product .single_add_to_cart_button.button,
.single-product .single_add_to_cart_button,
.single-product button.single_add_to_cart_button.button.alt {
	background-color: var(--podxmas-accent) !important;
	color: var(--podxmas-accent-ink) !important;
}

/* -------------------------------------------------------------------------- */
/* Sticky ATC dock (mobile + desktop) — CVR bar pinned to viewport bottom     */
/* -------------------------------------------------------------------------- */

body > .podxmas-atc-row.podxmas-atc-dock {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 100100;
	margin: 0;
	padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
	background: rgba(255, 255, 255, 0.97);
	border-top: 1px solid var(--podxmas-border);
	box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.12);
	backdrop-filter: blur(8px);
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 12px !important;
	max-width: 100%;
}

body > .podxmas-atc-row.podxmas-atc-dock .podxmas-atc-total {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.95rem;
	font-weight: 600;
	color: #1a1a1a;
	margin: 0;
}

body > .podxmas-atc-row.podxmas-atc-dock .quantity {
	margin: 0;
}

body > .podxmas-atc-row.podxmas-atc-dock .single_add_to_cart_button {
	flex: 1 1 200px;
	margin: 0 !important;
}

@media (min-width: 850px) {
	body > .podxmas-atc-row.podxmas-atc-dock {
		padding-left: max(16px, calc((100vw - 1080px) / 2 + 16px));
		padding-right: max(16px, calc((100vw - 1080px) / 2 + 16px));
	}

	body.single-product {
		padding-bottom: var(--podxmas-atc-dock-pad, calc(var(--podxmas-atc-height, 112px) + 16px));
	}
}

@media (max-width: 849px) {
	.single-product .col-content .is-sticky-column,
	.single-product .col-content .is-sticky-column__inner {
		position: relative !important;
		top: auto !important;
		transform: none !important;
	}

	.single-product .product-summary.col,
	.single-product .product-gallery.col,
	.single-product .col-content.col,
	.single-product .col-gallery.col {
		flex-basis: 100%;
		max-width: 100%;
	}

	.single-product .podxmas-atc-row,
	.single-product .sg_wrapper_add_to_cart_quantity,
	body > .podxmas-atc-row.podxmas-atc-dock {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 100100;
		margin: 0;
		padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
		background: rgba(255, 255, 255, 0.97);
		border-top: 1px solid var(--podxmas-border);
		box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.12);
		backdrop-filter: blur(8px);
		display: grid !important;
		grid-template-columns: 118px 1fr;
		grid-template-areas:
			"total total"
			"applied applied"
			"qty btn";
		gap: 8px 10px !important;
		align-items: stretch !important;
	}

	body > .podxmas-atc-row.podxmas-atc-dock .podxmas-qty-applied {
		grid-area: applied;
		margin: 0;
		padding: 0.4rem 0.55rem;
		flex-direction: column;
		align-items: flex-start;
		gap: 0.25rem;
	}

	body > .podxmas-atc-row.podxmas-atc-dock .podxmas-qty-applied-detail {
		font-size: 0.72rem;
		line-height: 1.3;
	}

	.single-product .podxmas-pdp-related-wrap,
	.single-product .podxmas-pdp-reviews-wrap {
		z-index: auto;
	}

	body.single-product {
		padding-bottom: var(--podxmas-atc-dock-pad, calc(var(--podxmas-atc-height, 112px) + 16px));
	}

	.single-product .podxmas-atc-total {
		display: flex;
		align-items: center;
		justify-content: space-between;
		grid-area: total;
		padding: 0 2px 2px;
		font-size: 0.95rem;
		font-weight: 600;
		color: #1a1a1a;
		border-bottom: 1px solid var(--podxmas-border);
		margin-bottom: 2px;
	}

	.single-product .podxmas-atc-total-price {
		font-size: 1.05rem;
		font-weight: 700;
		color: var(--podxmas-price);
	}

	.single-product .podxmas-atc-row .quantity,
	.single-product .sg_wrapper_add_to_cart_quantity .quantity {
		grid-area: qty;
		flex: none;
		max-width: none;
		width: 100%;
	}

	.single-product .podxmas-atc-row .single_add_to_cart_button,
	.single-product .sg_wrapper_add_to_cart_quantity .single_add_to_cart_button {
		grid-area: btn;
		flex: none;
		width: 100% !important;
		min-width: 0;
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
		white-space: nowrap;
		font-size: 0.98rem !important;
		padding: 0 0.75rem !important;
	}
}

@media (max-width: 549px) {
	:root {
		--podxmas-atc-height: 46px;
	}

	.single-product .wcpa_type_radio-group .radio-group,
	.single-product .wcpa_form_item .podxmas-wcpa-hybrid.radio-group {
		grid-template-columns: repeat(auto-fit, minmax(min(100%, 5.5rem), 1fr));
	}
}

/* -------------------------------------------------------------------------- */
/* Newsletter block (from legacy wp-custom-css)                                   */
/* -------------------------------------------------------------------------- */

.mailing-list .wpcf7-form-control-wrap.your-email {
	display: inline-block;
	margin-right: 14px;
}

.mailing-list form {
	margin-bottom: 0;
}

@media (prefers-reduced-motion: reduce) {
	* {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}
