/* ==========================================================================
   Avhoron single product page – everything scoped to body.avpp so the
   global header, footer and other pages are unaffected.
   ========================================================================== */
.avpp .site-content div.product,
.avpp .avpp-breadcrumb,
.avpp .avpp-below { --avpp-font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; --avpp-text: #252525; --avpp-muted: #777; --avpp-line: #ede7e3; --avpp-cream: #fff9f5; --avpp-gold: #d9ad35; font-family: var(--avpp-font); }
.avpp #primary { margin-top: 14px !important; }

/* Breadcrumb */
.avpp .avpp-breadcrumb { margin: 0 0 18px; font-size: 12px; line-height: 1.6; color: var(--avpp-muted); }
.avpp .avpp-breadcrumb a { color: #444; text-decoration: none; box-shadow: none; }
.avpp .avpp-breadcrumb a:hover { color: var(--avpp-buy-bg); }
.avpp .avpp-breadcrumb__sep { margin: 0 8px; color: #c9c0bb; }

/* ---------- Two-column layout ---------- */
.avpp .site-content div.product {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	column-gap: clamp(24px, 3.5vw, 56px);
	align-items: start;
	color: var(--avpp-text);
}
.avpp .site-content div.product > * { grid-column: 1 / -1; }
.avpp .site-content div.product > .woocommerce-product-gallery,
.avpp .site-content div.product > div.images {
	grid-column: 1;
	width: 100% !important;
	float: none !important;
	margin: 0 0 24px !important;
}
.avpp .site-content div.product > .summary {
	grid-column: 2;
	width: 100% !important;
	float: none !important;
	margin: 0 0 24px !important;
	padding: 0 !important;
}
.avpp .site-content div.product > .onsale,
.avpp .site-content div.product .onsale {
	position: absolute;
	top: 12px;
	left: 12px;
	right: auto;
	z-index: 5;
	grid-column: auto;
	min-width: 0 !important;
	min-height: 0 !important;
	width: auto !important;
	height: auto !important;
	margin: 0 !important;
	padding: 4px 11px !important;
	border-radius: 3px !important;
	background: var(--avpp-buy-bg) !important;
	color: #fff !important;
	font-family: var(--avpp-font);
	font-size: 11px !important;
	font-weight: 600;
	letter-spacing: .06em;
	line-height: 1.5 !important;
	text-transform: uppercase;
}

/* Gallery */
.avpp .woocommerce-product-gallery img { width: 100%; height: auto; border-radius: 4px; }
.avpp .woocommerce-product-gallery .flex-control-thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 0 !important; padding: 0; }
.avpp .woocommerce-product-gallery .flex-control-thumbs li { width: calc(20% - 8px) !important; margin: 0 !important; float: none !important; list-style: none; }
.avpp .woocommerce-product-gallery .flex-control-thumbs img { aspect-ratio: 1 / 1; object-fit: cover; opacity: .65; cursor: pointer; transition: opacity .2s ease; }
.avpp .woocommerce-product-gallery .flex-control-thumbs img.flex-active,
.avpp .woocommerce-product-gallery .flex-control-thumbs img:hover { opacity: 1; }
.avpp .woocommerce-product-gallery__trigger { z-index: 6; }

/* ---------- Summary ---------- */
.avpp .summary .product_title {
	margin: 0 0 12px !important;
	font-family: var(--avpp-font);
	font-size: clamp(17px, 1.35vw, 22px) !important;
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: .005em;
	color: var(--avpp-text);
}
.avpp .summary .woocommerce-product-rating { margin: 0 0 8px; font-size: 12px; }
.avpp .summary .price {
	margin: 0 0 4px !important;
	font-family: var(--avpp-font);
	font-size: clamp(16px, 1.15vw, 19px) !important;
	font-weight: 600;
	color: var(--avpp-text) !important;
}
.avpp .summary .price del { margin-right: 8px; font-size: .85em; font-weight: 400; color: #9a9a9a !important; opacity: 1; }
.avpp .summary .price ins { text-decoration: none; background: none; }
.avpp .avpp-note, .avpp .avpp-sku { margin: 0 0 14px; font-size: 12px; color: var(--avpp-muted); }
.avpp .avpp-actions { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0 0 18px; font-size: 12.5px; }
.avpp .avpp-action, .avpp .avpp-action a { display: inline-flex; align-items: center; gap: 6px; color: #555; text-decoration: none; box-shadow: none; }
.avpp .avpp-action:hover, .avpp .avpp-action a:hover { color: var(--avpp-buy-bg); }
.avpp .avpp-ico { width: 15px; height: 15px; flex: 0 0 auto; }

/* Cart form: quantity + Add to cart on one row, Buy it now below.
   Flex-wrap keeps this robust whatever extra elements the theme adds. */
.avpp .summary form.cart:not(.variations_form),
.avpp .summary .woocommerce-variation-add-to-cart {
	display: flex !important;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 12px;
	margin: 0 0 16px !important;
}
.avpp .summary form.cart:not(.variations_form) > *,
.avpp .summary .woocommerce-variation-add-to-cart > * { flex: 1 1 100%; min-width: 0; }
.avpp .summary form.cart .quantity { flex: 0 0 auto !important; width: auto !important; margin: 0 !important; float: none !important; }
.avpp .summary form.cart .single_add_to_cart_button { flex: 1 1 180px !important; width: auto !important; }
.avpp .summary form.cart .avpp-buy-now { flex: 1 1 100% !important; }
.avpp .summary form.cart > input[type="hidden"] { display: none; }

/* Quantity box – ours or the theme's own −/+ buttons, same look. */
.avpp .summary form.cart .quantity {
	display: inline-flex !important;
	align-items: stretch;
	height: var(--avpp-btn-h);
	border: 1px solid #d9d2cd;
	border-radius: var(--avpp-btn-r);
	overflow: hidden;
	background: #fff;
}
.avpp .summary form.cart .quantity input.qty {
	width: 46px !important;
	height: auto !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	font-size: 14px;
	text-align: center;
	-moz-appearance: textfield;
}
.avpp .summary form.cart .quantity input.qty::-webkit-outer-spin-button,
.avpp .summary form.cart .quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.avpp .summary form.cart .quantity .minus,
.avpp .summary form.cart .quantity .plus,
.avpp .summary .avpp-qty__btn,
.avpp .summary .avpp-qty__btn:hover,
.avpp .summary .avpp-qty__btn:focus {
	display: grid !important;
	place-items: center;
	width: 38px !important;
	height: auto !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: #333 !important;
	box-shadow: none !important;
	font-size: 16px;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
}
.avpp .summary form.cart .quantity .minus:hover,
.avpp .summary form.cart .quantity .plus:hover,
.avpp .summary .avpp-qty__btn:hover { background: #f6f1ed !important; }
.avpp .summary .avpp-qty__btn:disabled { color: #c9c0bb !important; cursor: not-allowed; }

.avpp .summary .single_add_to_cart_button,
.avpp .summary .avpp-buy-now {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: var(--avpp-btn-h) !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 18px !important;
	border: 0 !important;
	border-radius: var(--avpp-btn-r) !important;
	font-family: var(--avpp-font) !important;
	font-size: var(--avpp-btn-fs) !important;
	font-weight: 600 !important;
	letter-spacing: .08em !important;
	line-height: 1 !important;
	text-transform: uppercase;
	box-shadow: none !important;
	cursor: pointer;
	transition: filter .2s ease;
	float: none !important;
}
.avpp .summary .single_add_to_cart_button { background: var(--avpp-atc-bg) !important; color: var(--avpp-atc-c) !important; }
.avpp .summary .avpp-buy-now { background: var(--avpp-buy-bg) !important; color: var(--avpp-buy-c) !important; }
.avpp .summary .single_add_to_cart_button:hover,
.avpp .summary .avpp-buy-now:hover { filter: brightness(1.25); }
.avpp .summary .single_add_to_cart_button.disabled,
.avpp .summary .avpp-buy-now[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.avpp .summary table.variations { margin: 0 0 12px; font-size: 13px; }
.avpp .summary table.variations select { min-height: 38px; font-size: 13px; }
.avpp .summary .stock { font-size: 12.5px; margin: 0 0 10px; }

.avpp .avpp-delivery { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 20px; font-size: 12.5px; line-height: 1.5; color: #555; }
.avpp .avpp-delivery .avpp-ico { margin-top: 2px; }
.avpp .avpp-delivery strong { color: var(--avpp-text); font-weight: 600; }

/* Description accordion */
.avpp .avpp-desc { margin: 0 0 18px; border: 1px solid #ecd9a6; border-radius: 8px; background: #fffaf0; }
.avpp .avpp-desc__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 15px 18px;
	cursor: pointer;
	list-style: none;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--avpp-text);
}
.avpp .avpp-desc__head::-webkit-details-marker { display: none; }
.avpp .avpp-desc__icon { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--avpp-gold); color: #fff; transition: transform .25s ease; }
.avpp .avpp-desc__icon .avpp-ico { width: 14px; height: 14px; stroke-width: 2.2; }
.avpp .avpp-desc[open] .avpp-desc__icon { transform: rotate(45deg); }
.avpp .avpp-desc__body { padding: 0 18px 16px; font-size: 13.5px; line-height: 1.75; color: #444; }
.avpp .avpp-desc__body ul { margin: 0 0 0 1.1em; padding: 0; }
.avpp .avpp-desc__body li { margin: 0 0 4px; }

/* Benefits panel */
.avpp .avpp-benefits { margin: 0 0 16px; padding: 20px 18px 16px; border: 1px solid var(--avpp-line); border-radius: 8px; background: #fff; text-align: center; }
.avpp .avpp-benefits__heading { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 0 16px; font-size: 15px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--avpp-buy-bg); }
.avpp .avpp-benefits__heading .avpp-ico { width: 22px; height: 22px; color: var(--avpp-gold); }
.avpp .avpp-benefits__list { display: grid; grid-template-columns: repeat(var(--avpp-ben, 3), minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.avpp .avpp-benefits__list li { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 0; font-size: 12px; line-height: 1.45; color: #666; list-style: none; }
.avpp .avpp-benefits__list .avpp-ico { width: 24px; height: 24px; color: #333; }
.avpp .avpp-benefits__note { margin: 14px 0 0; font-size: 11px; line-height: 1.5; color: var(--avpp-buy-bg); }

/* Payment strip */
.avpp .avpp-pay { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 18px; padding: 14px 18px; border-radius: 8px; background: #f3faf3; }
.avpp .avpp-pay__heading { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 12.5px; font-weight: 600; color: #222; }
.avpp .avpp-pay__heading .avpp-ico { width: 22px; height: 22px; color: #2e9a48; }
.avpp .avpp-pay__list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.avpp .avpp-pay__list li { margin: 0; padding: 5px 10px; border: 1px solid #dbe9db; border-radius: 4px; background: #fff; font-size: 11.5px; font-weight: 600; color: #333; list-style: none; }

/* ---------- Below the product ---------- */
.avpp .avpp-below { display: flex; flex-direction: column; gap: clamp(36px, 4vw, 64px); margin: clamp(20px, 3vw, 40px) 0 0; }
.avpp .avpp-below .avhoron-reviews { border-radius: 4px; }
.avpp .avpp-related .avhoron-products__header { margin-bottom: 22px; }
.avpp .avpp-related .avhoron-products__title { font-size: 15px; letter-spacing: .06em; }
.avpp .avpp-related__rating { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0 0 4px; font-size: 12px; }
.avpp .avpp-related__rating .star-rating { margin: 0; font-size: 12px; color: #e8a317; }

/* FAQs */
.avpp .avpp-faqs { padding: clamp(28px, 3.5vw, 48px) clamp(16px, 8vw, 140px); border-radius: 4px; background: var(--avpp-cream); }
.avpp .avpp-faqs__title { margin: 0 0 22px; text-align: center; font-family: var(--avpp-font); font-size: 15px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--avpp-text); }
.avpp .avpp-faq { border-bottom: 1px solid var(--avpp-line); }
.avpp .avpp-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 2px; cursor: pointer; list-style: none; font-size: 13.5px; color: #333; }
.avpp .avpp-faq summary::-webkit-details-marker { display: none; }
.avpp .avpp-faq__icon { position: relative; flex: 0 0 12px; width: 12px; height: 12px; color: #888; }
.avpp .avpp-faq__icon::before,
.avpp .avpp-faq__icon::after { content: ""; position: absolute; top: 50%; left: 0; width: 12px; height: 1.4px; background: currentColor; transition: transform .25s ease; }
.avpp .avpp-faq__icon::after { transform: rotate(90deg); }
.avpp .avpp-faq[open] .avpp-faq__icon::after { transform: rotate(0); }
.avpp .avpp-faq__a { padding: 0 2px 16px; font-size: 13px; line-height: 1.75; color: #555; }
.avpp .avpp-faq__a p { margin: 0; }

/* Customer reviews (WooCommerce) */
.avpp .avpp-reviews { padding: 8px clamp(0px, 8vw, 140px) 10px; }
.avpp .avpp-reviews__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 18px; }
.avpp .avpp-reviews__head h2 { margin: 0; font-family: var(--avpp-font); font-size: clamp(18px, 1.5vw, 24px); font-weight: 500; color: var(--avpp-text); }
.avpp .avpp-reviews__btn,
.avpp .avpp-reviews__btn:hover,
.avpp .avpp-reviews__btn:focus { padding: 9px 16px; border: 1px solid #333; border-radius: 2px; background: #fff; color: #222; box-shadow: none; font-family: var(--avpp-font); font-size: 12.5px; cursor: pointer; }
.avpp .avpp-reviews__btn:hover { background: #222; color: #fff; }
.avpp .avpp-reviews .woocommerce-Reviews-title { display: none; }
.avpp .avpp-reviews .woocommerce-noreviews { text-align: center; font-size: 14px; color: #555; }
.avpp .avpp-reviews #review_form_wrapper { display: none; margin-top: 18px; padding: 20px; border: 1px solid var(--avpp-line); border-radius: 6px; }
.avpp .avpp-reviews #review_form_wrapper.is-open { display: block; }
.avpp .avpp-reviews .commentlist { margin: 0; padding: 0; }
.avpp .avpp-reviews .commentlist li { list-style: none; }
.avpp .avpp-reviews .comment-form input[type="text"],
.avpp .avpp-reviews .comment-form input[type="email"],
.avpp .avpp-reviews .comment-form textarea { width: 100%; font-size: 13px; }
.avpp .avpp-reviews .comment-form .submit { background: var(--avpp-buy-bg) !important; color: #fff !important; border-radius: 2px !important; font-size: 12.5px !important; letter-spacing: .06em; text-transform: uppercase; }

.avpp div.product a:focus-visible,
.avpp div.product button:focus-visible,
.avpp div.product summary:focus-visible { outline: 2px solid var(--avpp-buy-bg); outline-offset: 2px; }

/* ---------- Tablet / mobile ---------- */
@media (max-width: 921px) {
	.avpp .site-content div.product { grid-template-columns: minmax(0, 1fr); }
	.avpp .site-content div.product > .woocommerce-product-gallery,
	.avpp .site-content div.product > div.images,
	.avpp .site-content div.product > .summary { grid-column: 1; }
	.avpp .avpp-faqs, .avpp .avpp-reviews { padding-left: 16px; padding-right: 16px; }
}
@media (max-width: 544px) {
	.avpp .avpp-benefits__list { grid-template-columns: repeat(min(var(--avpp-ben, 3), 3), minmax(0, 1fr)); gap: 10px; }
	.avpp .avpp-benefits__list li { font-size: 11px; }
	.avpp .avpp-pay { flex-direction: column; align-items: flex-start; }
	.avpp .summary .single_add_to_cart_button,
	.avpp .summary .avpp-buy-now { height: max(var(--avpp-btn-h), 46px) !important; }
	.avpp .avpp-faq summary { font-size: 13px; }
	.avpp .summary form.cart .single_add_to_cart_button { flex-basis: 150px !important; }
}
@media (prefers-reduced-motion: reduce) {
	.avpp div.product *, .avpp .avpp-below * { transition: none !important; }
}
