/* Adult Store Theme — WooCommerce Single Product (Daily ) */

.adult-store-pdp-page .site-main,
.adult-store-pdp-page .content-area,
.adult-store-pdp {
	background: var(--adult-store-bg);
	color: var(--adult-store-text);
}

.adult-store-pdp {
	max-width: 1500px;
	margin: 0 auto;
	padding: 32px 48px 64px;
	box-sizing: border-box;
}

/* Breadcrumb */
.adult-store-pdp__breadcrumb {
	margin: 0 0 20px;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.adult-store-pdp__breadcrumb .woocommerce-breadcrumb {
	margin: 0;
	padding: 0;
	font-size: 0.68rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--adult-store-text-faint);
	white-space: nowrap;
}

.adult-store-pdp__breadcrumb .woocommerce-breadcrumb a {
	color: var(--adult-store-text-muted);
	text-decoration: none;
}

.adult-store-pdp__breadcrumb .woocommerce-breadcrumb a:hover {
	color: var(--adult-store-accent);
}

/* Hero layout — single-product-overrides.css WC 48% float */
.adult-store-pdp__hero,
.adult-store-product-hero {
	margin-bottom: clamp(36px, 5vw, 72px);
}

.adult-store-pdp__gallery-col,
.adult-store-pdp__summary-col,
.adult-store-product-gallery-col,
.adult-store-product-summary-col {
	min-width: 0;
}

.adult-store-product-summary {
	width: 100%;
	max-width: 520px;
}

/* Gallery — + */
.adult-store-pdp__gallery,
.adult-store-product-gallery {
	position: relative;
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
	gap: 24px;
	width: 100%;
	min-height: 0;
	align-items: start;
	opacity: 1;
	background: transparent;
}

.adult-store-product-gallery__thumbs {
	display: flex;
	flex-direction: column;
	gap: 14px;
	width: 96px;
	z-index: 2;
}

.adult-store-product-gallery__thumb {
	display: block;
	width: 88px;
	height: 88px;
	padding: 6px;
	border: 1px solid var(--adult-store-border);
	background: #f2eee7;
	overflow: hidden;
	cursor: pointer;
	box-sizing: border-box;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.adult-store-product-gallery__thumb:hover {
	border-color: rgba(255, 255, 255, 0.45);
}

.adult-store-product-gallery__thumb.is-active {
	border-color: var(--adult-store-accent, #c9a86a);
	box-shadow: inset 0 0 0 1px var(--adult-store-accent, #c9a86a);
}

.adult-store-product-gallery__thumb.is-thumb-hidden {
	display: none;
}

.adult-store-product-gallery__thumb-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	background: #f2eee7;
}

.adult-store-pdp__thumb-more {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 88px;
	height: 88px;
	padding: 0;
	border: 1px solid var(--adult-store-border);
	background: color-mix(in srgb, var(--adult-store-bg-card) 90%, transparent);
	color: var(--adult-store-text-muted);
	font-size: 0.78rem;
	letter-spacing: 0.08em;
	pointer-events: none;
}

/* 360° */
.adult-store-product-gallery__360 {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 88px;
	height: 56px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #fff;
	text-decoration: none;
	cursor: pointer;
	flex-shrink: 0;
	appearance: none;
	-webkit-appearance: none;
}

.adult-store-product-gallery__360:hover,
.adult-store-product-gallery__360:focus-visible {
	color: var(--adult-store-accent, #c9a86a);
	outline: none;
}

.adult-store-product-gallery__360-ring {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(255, 255, 255, 0.72);
	border-radius: 50%;
	font-size: 0.56rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	line-height: 1;
	transition: border-color 0.2s ease;
}

.adult-store-product-gallery__360:hover .adult-store-product-gallery__360-ring,
.adult-store-product-gallery__360:focus-visible .adult-store-product-gallery__360-ring {
	border-color: var(--adult-store-accent, #c9a86a);
}

/* — 1: 1 img */
.adult-store-product-gallery__main {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	height: auto;
	min-height: 0;
	max-width: 100%;
	flex-shrink: 0;
	overflow: hidden;
	isolation: isolate;
	contain: layout paint;
	background: #f2eee7;
	border: 1px solid rgba(255, 255, 255, 0.06);
	box-sizing: border-box;
	transform: none;
}

.adult-store-product-gallery__main.is-loading::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 3;
	pointer-events: none;
	background: #f2eee7;
	opacity: 0.18;
}

.adult-store-product-gallery__lightbox {
	position: absolute;
	inset: 0;
	display: block;
	z-index: 1;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	background: #f2eee7;
	overflow: hidden;
}

.adult-store-product-gallery__stage {
	position: absolute;
	inset: 0;
	display: block;
	background: #f2eee7;
	overflow: hidden;
}

.adult-store-product-gallery__image {
	position: absolute !important;
	inset: 0 !important;
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	margin: 0;
	padding: clamp(12px, 2.5vw, 24px);
	box-sizing: border-box;
	object-fit: contain !important;
	object-position: center center !important;
	aspect-ratio: auto !important;
	background: #f2eee7 !important;
	filter: none !important;
	box-shadow: none !important;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	z-index: 1;
	transition: none;
}

.adult-store-product-gallery__image.is-active {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	z-index: 2;
}

.adult-store-product-gallery__image.is-buffer {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	z-index: 1;
}

.adult-store-product-gallery__main.is-fit-cover .adult-store-product-gallery__image,
.adult-store-product-gallery__main.is-fit-contain .adult-store-product-gallery__image {
	object-fit: contain !important;
	width: 100% !important;
	height: 100% !important;
}

.adult-store-product-gallery__zoom,
.adult-store-pdp__zoom-hint {
	position: absolute;
	right: 24px;
	bottom: 24px;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 8px 12px;
	border: 1px solid var(--adult-store-border);
	border-radius: 999px;
	background: color-mix(in srgb, var(--adult-store-bg) 78%, transparent);
	color: var(--adult-store-text-muted);
	font-size: 0.62rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	cursor: pointer;
	backdrop-filter: blur(6px);
	transition: color 0.2s ease, border-color 0.2s ease;
}

.adult-store-product-gallery__zoom:hover,
.adult-store-product-gallery__zoom:focus-visible {
	color: var(--adult-store-accent, #c9a86a);
	border-color: color-mix(in srgb, var(--adult-store-accent, #c9a86a) 55%, transparent);
	outline: none;
}

/* WooCommerce Gallery */
.adult-store-pdp__gallery-col > .woocommerce-product-gallery:not(.adult-store-product-gallery),
.adult-store-pdp__gallery-col > .woocommerce-product-gallery__wrapper,
.adult-store-pdp__gallery-col > .flex-viewport {
	display: none !important;
}

.adult-store-pdp__zoom-icon {
	width: 14px;
	height: 14px;
	border: 1px solid currentColor;
	border-radius: 50%;
	position: relative;
}

.adult-store-pdp__zoom-icon::after {
	content: '';
	position: absolute;
	right: -4px;
	bottom: -4px;
	width: 6px;
	height: 1px;
	background: currentColor;
	transform: rotate(45deg);
}

/* Summary */
.adult-store-pdp__summary .product_title {
	margin: 0 0 12px;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: clamp(1.45rem, 2.4vw, 2.1rem);
	font-weight: 400;
	letter-spacing: 0.02em;
	text-transform: none;
	line-height: 1.18;
	color: var(--adult-store-text);
}

.adult-store-pdp__summary .woocommerce-product-details__short-description {
	margin: 0 0 22px;
	font-size: 0.92rem;
	line-height: 1.55;
	font-style: italic;
	color: color-mix(in srgb, var(--adult-store-text) 72%, transparent);
}

.adult-store-pdp__summary .woocommerce-product-details__short-description:empty {
	display: none;
}

.adult-store-pdp__summary .price {
	margin: 0 0 14px;
	font-size: clamp(1.35rem, 2vw, 1.75rem);
	font-weight: 500;
	color: var(--adult-store-text);
}

.adult-store-pdp__summary .price del {
	color: var(--adult-store-text-faint);
	font-size: 0.82em;
	opacity: 0.55;
	margin-right: 8px;
}

.adult-store-pdp__summary .price ins {
	text-decoration: none;
	color: var(--adult-store-accent);
}

.adult-store-pdp__payment-note {
	margin: 0 0 22px;
	font-size: 0.78rem;
	line-height: 1.5;
	color: var(--adult-store-text-faint);
}

/* Variations */
.adult-store-pdp__variations {
	width: 100%;
	margin: 0 0 18px;
	border: 0;
}

.adult-store-pdp__variation-row th,
.adult-store-pdp__variation-row td {
	display: block;
	padding: 0;
	border: 0;
	text-align: left;
}

.adult-store-pdp__variation-row th {
	margin-bottom: 8px;
}

.adult-store-pdp__variation-row th label {
	font-size: 0.68rem;
	letter-spacing: 0.12em;
	color: var(--adult-store-text-muted);
}

.adult-store-pdp__variation-row {
	margin-bottom: 16px;
}

.adult-store-pdp__variation-select,
.adult-store-pdp__summary select {
	width: 100%;
	min-height: 42px;
	padding: 8px 12px;
	border: 1px solid var(--adult-store-border-strong);
	border-radius: var(--adult-store-radius);
	background: var(--adult-store-bg-card);
	color: var(--adult-store-text);
	font-size: 0.82rem;
}

.adult-store-pdp .reset_variations {
	display: inline-block;
	margin-top: 8px;
	font-size: 0.72rem;
	color: var(--adult-store-text-faint);
}

.adult-store-pdp .single_variation_wrap .woocommerce-variation-price {
	margin-bottom: 14px;
}

/* Quantity */
.adult-store-pdp__qty-row {
	display: inline-flex;
	align-items: stretch;
	width: auto;
	max-width: 100%;
	margin: 0 0 14px;
	border: 1px solid var(--adult-store-border-strong);
	border-radius: var(--adult-store-radius);
	overflow: hidden;
	box-sizing: border-box;
}

.adult-store-pdp__qty-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 44px;
	width: 44px;
	min-height: 46px;
	padding: 0;
	border: 0;
	border-right: 1px solid var(--adult-store-border);
	background: var(--adult-store-bg-card);
	color: var(--adult-store-text);
	font-size: 1rem;
	line-height: 1;
	cursor: pointer;
	box-sizing: border-box;
}

.adult-store-pdp__qty-btn--plus {
	border-right: 0;
	border-left: 1px solid var(--adult-store-border);
}

.adult-store-pdp__qty-input {
	flex: 0 0 56px;
	width: 56px !important;
	min-width: 56px !important;
	min-height: 46px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: var(--adult-store-text) !important;
	text-align: center;
	font-size: 0.9rem !important;
	-moz-appearance: textfield;
	box-sizing: border-box;
}

.adult-store-pdp__qty-input::-webkit-outer-spin-button,
.adult-store-pdp__qty-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* Buttons */
.adult-store-pdp__add-btn,
.adult-store-pdp__cart-form .single_add_to_cart_button {
	width: 100%;
	margin: 0 0 12px;
	min-height: 54px;
	border: 0 !important;
	border-radius: 0 !important;
	background: linear-gradient(90deg, #9f7d4f 0%, #c9a86a 28%, #e8d4a8 52%, #c9a86a 78%, #a88654 100%) !important;
	color: #111 !important;
	font-size: 0.72rem !important;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
	box-sizing: border-box;
}

.adult-store-pdp__add-btn:hover,
.adult-store-pdp__cart-form .single_add_to_cart_button:hover {
	filter: brightness(1.04);
	color: #111 !important;
}

.adult-store-pdp__add-btn:disabled,
.adult-store-pdp__add-btn.disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

/* BUY NOW — secondary black/gold CTA under ADD TO BAG */
.adult-store-pdp__buy-now-wrap {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	box-sizing: border-box !important;
}

.single-product .adult-store-pdp__summary .adult-store-pdp__buy-now,
.adult-store-pdp__buy-panel .adult-store-pdp__buy-now,
.adult-store-pdp__buy-now {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	min-height: 54px !important;
	margin: 0 !important;
	padding: 0 18px !important;
	border: 1px solid #c9a86a !important;
	border-radius: 0 !important;
	background: #0a0a0a !important;
	background-image: none !important;
	color: #c9a86a !important;
	font-size: 0.72rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.16em !important;
	text-transform: uppercase !important;
	line-height: 1.2 !important;
	text-decoration: none !important;
	cursor: pointer !important;
	box-shadow: none !important;
	box-sizing: border-box !important;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, filter 0.2s ease !important;
}

.single-product .adult-store-pdp__summary .adult-store-pdp__buy-now:hover,
.single-product .adult-store-pdp__summary .adult-store-pdp__buy-now:focus-visible,
.adult-store-pdp__buy-now:hover,
.adult-store-pdp__buy-now:focus-visible {
	background: linear-gradient(90deg, #9f7d4f 0%, #c9a86a 28%, #e8d4a8 52%, #c9a86a 78%, #a88654 100%) !important;
	border-color: #c9a86a !important;
	color: #111 !important;
	outline: none !important;
}

.adult-store-pdp__buy-now:active {
	filter: brightness(0.94) !important;
}

.single-product .adult-store-pdp__summary .adult-store-pdp__buy-now:disabled,
.single-product .adult-store-pdp__summary .adult-store-pdp__buy-now.is-disabled,
.adult-store-pdp__buy-now:disabled,
.adult-store-pdp__buy-now.is-disabled {
	opacity: 0.45 !important;
	cursor: not-allowed !important;
	filter: none !important;
	background: #0a0a0a !important;
	background-image: none !important;
	border-color: rgba(201, 168, 106, 0.35) !important;
	color: rgba(201, 168, 106, 0.55) !important;
	pointer-events: none !important;
}

.adult-store-pdp__buy-now-msg {
	margin: 10px 0 0 !important;
	padding: 0 !important;
	color: #e8b4b4 !important;
	font-size: 0.72rem !important;
	letter-spacing: 0.04em !important;
	line-height: 1.4 !important;
}

.adult-store-pdp__buy-now-msg[hidden] {
	display: none !important;
}

/* Hide leftover express / payment-request widgets on PDP */
.single-product .wcpay-payment-request-wrapper,
.single-product #wcpay-payment-request-wrapper,
.single-product .wc-stripe-payment-request-wrapper,
.single-product #wc-stripe-payment-request-wrapper,
.single-product .payment-request-button,
.single-product .express-one-click-checkout,
.single-product .woocommerce-payment-request-button {
	display: none !important;
}

/* Fulfillment */
.adult-store-pdp__fulfillment {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px 10px;
	margin: 0 0 16px;
	font-size: 0.68rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--adult-store-text-faint);
	line-height: 1.45;
	box-sizing: border-box;
}

.adult-store-pdp__stock {
	color: var(--adult-store-text-muted);
	font-weight: 600;
}

.adult-store-pdp__discreet {
	color: var(--adult-store-text-faint);
}

.adult-store-pdp__discreet::before {
	content: '•';
	margin-right: 10px;
	opacity: 0.7;
}

/* Trust bar */
.adult-store-pdp__trust {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin: 20px 0 0;
	padding: 20px 0 0;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	list-style: none;
	box-sizing: border-box;
}

.adult-store-pdp__trust-item {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
	padding: 0;
	border: 0;
	background: transparent;
	text-align: center;
}

.adult-store-pdp__trust-item + .adult-store-pdp__trust-item {
	border-left: 0;
}

.adult-store-pdp__trust-icon {
	width: 36px;
	height: 36px;
	border: 1px solid var(--adult-store-accent, #c8ad72);
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--adult-store-accent, #c8ad72);
	background: rgba(200, 173, 114, 0.04);
	box-shadow: none;
	position: relative;
	flex-shrink: 0;
}

.adult-store-pdp__trust-icon::before,
.adult-store-pdp__trust-icon::after {
	content: none !important;
	display: none !important;
}

.adult-store-pdp__trust-svg {
	width: 18px;
	height: 18px;
	display: block;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.45;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.adult-store-pdp__trust-label {
	display: block;
	max-width: 140px;
	color: var(--adult-store-text-muted, rgba(255, 255, 255, 0.68));
	font-size: 11px;
	font-weight: 500;
	line-height: 1.45;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.adult-store-pdp__trust-item:hover .adult-store-pdp__trust-icon {
	color: var(--adult-store-primary, #ead29a);
	border-color: var(--adult-store-primary, #ead29a);
}

@media (max-width: 768px) {
	.adult-store-pdp__trust {
		grid-template-columns: 1fr;
		gap: 14px;
		margin-top: 18px;
		padding-top: 18px;
	}

	.adult-store-pdp__trust-item {
		flex-direction: row;
		justify-content: flex-start;
		align-items: center;
		gap: 12px;
		padding: 0;
		text-align: left;
	}

	.adult-store-pdp__trust-icon {
		width: 34px;
		height: 34px;
	}

	.adult-store-pdp__trust-svg {
		width: 16px;
		height: 16px;
	}

	.adult-store-pdp__trust-label {
		max-width: none;
		font-size: 11px;
		letter-spacing: 0.08em;
		text-align: left;
	}
}

/* Legacy CSS-drawn trust icons disabled — SVG icons are used in markup */
.adult-store-pdp__trust-icon--lock::before,
.adult-store-pdp__trust-icon--shield::before,
.adult-store-pdp__trust-icon--leaf::before {
	content: none !important;
	display: none !important;
}

/* Tabs layout moved to assets/css/woocommerce/single-product-tabs.css */

.adult-store-pdp__spec-list,
.adult-store-pdp__care-list,
.adult-store-pdp__box-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.adult-store-pdp__spec-item,
.adult-store-pdp__care-item {
	display: flex;
	gap: 10px;
	padding: 10px 0;
	border-bottom: 1px solid var(--adult-store-border);
}

.adult-store-pdp__spec-item:last-child,
.adult-store-pdp__care-item:last-child {
	border-bottom: 0;
}

.adult-store-pdp__spec-icon,
.adult-store-pdp__care-icon {
	flex-shrink: 0;
	width: 14px;
	height: 14px;
	margin-top: 3px;
	border: 1px solid var(--adult-store-accent);
	border-radius: 50%;
}

.adult-store-pdp__spec-body {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.adult-store-pdp__spec-label,
.adult-store-pdp__care-text {
	font-size: 0.76rem;
	line-height: 1.5;
	color: var(--adult-store-text-muted);
}

.adult-store-pdp__spec-value {
	font-size: 0.72rem;
	color: var(--adult-store-text-faint);
}

.adult-store-pdp__box-list li {
	position: relative;
	padding: 8px 0 8px 14px;
	font-size: 0.78rem;
	line-height: 1.5;
	color: var(--adult-store-text-muted);
	border-bottom: 1px solid var(--adult-store-border);
}

.adult-store-pdp__box-list li::before {
	content: '•';
	position: absolute;
	left: 0;
	color: var(--adult-store-accent);
}

.adult-store-pdp__box-media {
	margin-top: 16px;
}

.adult-store-pdp__care-link {
	margin: 16px 0 0;
	font-size: 0.72rem;
}

.adult-store-pdp__care-link a {
	color: var(--adult-store-accent);
	text-decoration: none;
}

.adult-store-pdp__care-link a:hover {
	text-decoration: underline;
}

/* Media / tutorials sections on PDP */
.adult-store-pdp .adult-store-product-tutorials {
	margin: 0 0 48px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
}

/* Clear floats from legacy WC */
.adult-store-pdp::after,
.adult-store-pdp__hero::after {
	content: '';
	display: table;
	clear: both;
}

/* Mobile */
@media (max-width: 1024px) {
	.adult-store-pdp {
		padding: 24px 24px 0;
	}

	.adult-store-pdp__hero,
	.adult-store-product-hero {
		gap: 40px;
	}

	.adult-store-product-summary {
		max-width: none;
	}
}

@media (max-width: 767px) {
	.adult-store-pdp {
		padding: 16px 14px 48px;
	}

	.adult-store-product-gallery {
		display: flex;
		flex-direction: column;
		min-height: auto;
		gap: 14px;
	}

	.adult-store-product-gallery__main {
		order: 1;
		width: 100%;
		aspect-ratio: 1 / 1;
		height: auto;
		min-height: 0;
		background: #f2eee7;
	}

	.adult-store-product-gallery__thumbs {
		order: 2;
		flex-direction: row;
		width: 100%;
		overflow-x: auto;
		gap: 10px;
		padding-bottom: 4px;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.adult-store-product-gallery__thumbs::-webkit-scrollbar {
		display: none;
	}

	.adult-store-product-gallery__thumb,
	.adult-store-pdp__thumb-more {
		flex: 0 0 76px;
		width: 76px;
		height: 76px;
	}

	.adult-store-product-gallery__360 {
		flex: 0 0 76px;
		width: 76px;
		height: 76px;
	}

	.adult-store-product-gallery__zoom {
		right: 16px;
		bottom: 16px;
	}
}
