/* ==========================================================================
   Velora — single product
   ========================================================================== */
.v-wc--product { padding-bottom: var(--v-space-section); }
.v-wc--product > .v-breadcrumb { padding-top: 1.25rem; }
.single-product div.product { position: relative; }
@media (min-width: 1024px) {
	.v-pdp { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); column-gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
}

/* Gallery */
.v-gallery { position: relative; margin: 0 calc(-1 * var(--v-gutter)) 1.5rem; }
@media (min-width: 1024px) {
	.v-gallery { margin: 0; display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 1rem; position: sticky; top: calc(var(--v-header-h) + 1.5rem); }
	.v-gallery__viewport { grid-column: 2; grid-row: 1; }
	.v-gallery__thumbs { grid-column: 1; grid-row: 1; }
}
.v-gallery__viewport { position: relative; }
.v-gallery__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; outline: none; background: var(--v-surface); }
.v-gallery__track::-webkit-scrollbar { display: none; }
.v-gallery__track:focus-visible { box-shadow: inset 0 0 0 2px var(--v-accent); }
.v-gallery__slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; aspect-ratio: 4 / 5; position: relative; overflow: hidden; }
.v-gallery__zoom { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.v-gallery__img, .v-gallery__slide > img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s var(--v-ease); }
.v-gallery__zoom.is-zoomed .v-gallery__img { transform: scale(1.8); }
.v-gallery__video, .v-gallery__embed, .v-gallery__embed iframe { width: 100%; height: 100%; object-fit: cover; border: 0; }
.v-gallery__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(250, 248, 245, .9); color: var(--v-text); opacity: 0; transition: opacity .2s; }
.v-gallery__nav--prev { left: .75rem; }
.v-gallery__nav--next { right: .75rem; }
.v-gallery:hover .v-gallery__nav, .v-gallery__nav:focus-visible { opacity: 1; }
@media (hover: none) { .v-gallery__nav { display: none; } }
.v-gallery__counter { position: absolute; right: var(--v-gutter); bottom: .75rem; margin: 0; padding: .2rem .55rem; background: rgba(250, 248, 245, .9); font-size: var(--v-fs-xs); letter-spacing: .08em; }
@media (min-width: 1024px) { .v-gallery__counter { display: none; } }
.v-gallery__thumbs { display: none; }
@media (min-width: 1024px) {
	.v-gallery__thumbs { display: flex; flex-direction: column; gap: .6rem; max-height: calc(100vh - var(--v-header-h) - 3rem); overflow-y: auto; scrollbar-width: none; }
}
.v-gallery__thumb { padding: 0; border: 1px solid transparent; background: var(--v-surface); aspect-ratio: 4 / 5; opacity: .6; transition: opacity .2s, border-color .2s; display: grid; place-items: center; }
.v-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.v-gallery__thumb:hover, .v-gallery__thumb.is-active { opacity: 1; }
.v-gallery__thumb.is-active { border-color: var(--v-text); }

/* Lightbox */
.v-lightbox { position: fixed; inset: 0; z-index: 1200; background: var(--v-bg); }
.v-lightbox[hidden] { display: none; }
.v-lightbox__stage { position: absolute; inset: 0; display: grid; place-items: center; padding: 3.5rem 1rem; outline: none; overflow: auto; }
.v-lightbox__stage img { max-width: 100%; max-height: 100%; object-fit: contain; }
.v-lightbox__close { position: absolute; top: .75rem; right: .75rem; }
.v-lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); }
.v-lightbox__prev { left: .5rem; }
.v-lightbox__next { right: .5rem; }
.v-lightbox__count { position: absolute; bottom: 1rem; left: 0; right: 0; text-align: center; font-size: var(--v-fs-xs); margin: 0; }

/* Summary */
.single-product .summary { padding-top: .25rem; }
@media (min-width: 1024px) { .single-product .summary { position: sticky; top: calc(var(--v-header-h) + 1.5rem); padding-top: 1rem; } }
.single-product .summary .v-badges { position: static; margin-bottom: .75rem; }
.single-product .summary .v-badge:not(.v-badge--sale):not(.v-badge--soldout) { border: 1px solid var(--v-border-strong); }
.single-product .product_title { font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.6rem); margin: 0 0 .5rem; }
.v-single__rating { display: flex; width: fit-content; align-items: center; gap: .5rem; font-size: var(--v-fs-sm); text-decoration: none; margin-bottom: .75rem; }
.v-single__rating-count { color: var(--v-muted); text-decoration: underline; text-underline-offset: .2em; }
.v-sale-end { margin: -.75rem 0 1.25rem; font-size: var(--v-fs-xs); color: var(--v-accent-dark); letter-spacing: .04em; }
.single-product .summary > .price { display: flex; font-size: 1.25rem; margin-bottom: 1.25rem; }
.single-product .summary .woocommerce-product-details__short-description { color: var(--v-muted); margin-bottom: 1.5rem; }
.single-product .summary .woocommerce-product-details__short-description p:last-child { margin: 0; }

/* Cart form */
form.cart { margin: 0 0 1.5rem; }
form.cart:not(.variations_form), .woocommerce-variation-add-to-cart { display: grid; grid-template-columns: auto 1fr; gap: .75rem; }
form.cart .v-buy-now { grid-column: 1 / -1; }
form.cart .single_add_to_cart_button { width: 100%; background: var(--v-text); color: var(--v-on-text); }
form.cart .single_add_to_cart_button:hover { background: var(--v-accent-dark); }
form.cart .single_add_to_cart_button.disabled, form.cart .v-buy-now.disabled {
	opacity: 1; background: transparent; color: var(--v-muted); border: 1px dashed var(--v-border-strong); cursor: not-allowed;
}
table.variations { border: 0; margin-bottom: 1.25rem; }
table.variations tr { display: block; margin-bottom: 1.1rem; }
table.variations th, table.variations td { display: block; padding: 0; text-align: left; border: 0; }
table.variations th.label { margin-bottom: .5rem; }
table.variations label { font-size: var(--v-fs-sm); font-weight: 500; margin: 0; }
.v-chosen { font-weight: 400; color: var(--v-muted); margin-left: .35rem; }
.v-chosen:not(:empty)::before { content: "· "; }
.v-visually-hidden-select { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0; pointer-events: none; overflow: hidden; clip: rect(0 0 0 0); }
.reset_variations { display: inline-block; margin-top: .5rem; font-size: var(--v-fs-xs); color: var(--v-muted); }
.single_variation_wrap .woocommerce-variation { margin-bottom: 1rem; }
.woocommerce-variation-price .price { font-size: 1.15rem; }
.woocommerce-variation-availability p, .single-product .summary > .stock { font-size: var(--v-fs-sm); margin: .25rem 0 1rem; }
.stock.in-stock { color: var(--v-success); }
.stock.out-of-stock { color: var(--v-error); }
.stock.available-on-backorder { color: var(--v-warning); }

/* Quantity */
.quantity { margin: 0; }
.v-qty { display: inline-flex; align-items: stretch; height: 48px; border: 1px solid var(--v-border-strong); border-radius: var(--v-radius); background: #fff; }
.v-qty .qty, .v-qty input.qty { width: 3.25rem; min-height: 0; height: 100%; border: 0; padding: 0; text-align: center; -moz-appearance: textfield; background: transparent; box-shadow: none !important; }
.v-qty .qty::-webkit-outer-spin-button, .v-qty .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.v-qty__btn { width: 40px; border: 0; background: transparent; font-size: 1.15rem; line-height: 1; color: var(--v-text); }
.v-qty__btn:hover:not([disabled]) { background: var(--v-surface); }
.v-qty__btn[disabled] { color: var(--v-border-strong); cursor: not-allowed; }
.quantity:has(input[type="hidden"]) { display: none; }

/* Assurance block near CTA (Velora Commerce) & meta */
.product_meta { font-size: var(--v-fs-xs); color: var(--v-muted); margin-top: 1.5rem; display: grid; gap: .25rem; }
.product_meta a { color: inherit; }

/* Accordions */
.v-accordions { border-top: 1px solid var(--v-border); margin-top: 1.5rem; }
.v-acc { border-bottom: 1px solid var(--v-border); }
.v-acc__summary {
	display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 56px; cursor: pointer; list-style: none;
	font-size: var(--v-fs-xs); text-transform: uppercase; letter-spacing: .14em; font-weight: 500;
}
.v-acc__summary::-webkit-details-marker { display: none; }
.v-acc__summary .v-icon { transition: transform .25s var(--v-ease); }
.v-acc[open] > .v-acc__summary .v-icon { transform: rotate(45deg); }
.v-acc__content { padding: 0 0 1.5rem; font-size: .9375rem; color: var(--v-text); }
.v-acc__content > :last-child { margin-bottom: 0; }
.v-acc__content table.shop_attributes { border: 0; font-size: var(--v-fs-sm); }
.v-acc__content table.shop_attributes th, .v-acc__content table.shop_attributes td { padding: .5rem 0; border-bottom: 1px solid var(--v-border); text-align: left; font-weight: 400; background: none; }
.v-acc__content table.shop_attributes th { color: var(--v-muted); width: 40%; }
.v-acc__content table.shop_attributes td p { margin: 0; }

/* Related / upsells / sections below */
.single-product div.product > section, .single-product div.product > .v-section { margin-top: clamp(3rem, 2rem + 4vw, 5.5rem); margin-bottom: 0; }
.related > h2, .upsells > h2, .cross-sells > h2 { font-size: var(--v-fs-xl); margin-bottom: 1.75rem; }

/* Reviews */
.v-reviews-section { border-top: 1px solid var(--v-border); padding-top: clamp(2.5rem, 5vw, 4rem); }
.v-reviews { display: grid; gap: 2rem; }
@media (min-width: 1024px) {
	.v-reviews { grid-template-columns: 320px minmax(0, 1fr); column-gap: 4rem; align-items: start; }
	.v-reviews__head, .v-review-summary { grid-column: 1; }
	.v-reviews__list { grid-column: 2; grid-row: 1 / span 3; }
	.v-review-form { grid-column: 1; }
}
.v-review-summary__avg { font-family: var(--v-font-heading); font-size: 3.5rem; line-height: 1; margin: 0 0 .5rem; }
.v-review-summary__count { font-size: var(--v-fs-sm); color: var(--v-muted); margin: .5rem 0 1.25rem; }
.v-review-summary__score .star-rating { font-size: 1rem; }
.v-review-summary__bars { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; }
.v-bar-row { display: grid; grid-template-columns: 4.25rem 1fr 2rem; align-items: center; gap: .75rem; font-size: var(--v-fs-xs); text-decoration: none; padding: .2rem 0; }
.v-bar-row[aria-disabled="true"] { pointer-events: none; color: var(--v-muted); }
.v-bar { height: 4px; background: var(--v-border); display: block; }
.v-bar__fill { display: block; height: 100%; background: var(--v-text); }
.v-bar-row__n { text-align: right; color: var(--v-muted); }
.v-review-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.v-review-sort { display: flex; flex-wrap: wrap; gap: .25rem 1rem; font-size: var(--v-fs-sm); align-items: center; }
.v-review-sort a { text-decoration: none; color: var(--v-muted); }
.v-review-sort a.is-active { color: var(--v-text); text-decoration: underline; text-underline-offset: .3em; }
.v-review-sort__label { color: var(--v-muted); }
.v-reviews .commentlist { list-style: none; margin: 0; padding: 0; }
.v-reviews .commentlist > li { padding: 1.5rem 0; border-bottom: 1px solid var(--v-border); }
.v-reviews .commentlist > li:first-child { padding-top: 0; }
.v-reviews .comment_container { display: grid; grid-template-columns: 1fr; }
.v-reviews .comment_container img.avatar { display: none; }
.v-reviews .comment-text .star-rating { margin-bottom: .5rem; }
.v-reviews .comment-text .meta { font-size: var(--v-fs-sm); color: var(--v-muted); margin-bottom: .5rem; }
.v-reviews .woocommerce-review__author { color: var(--v-text); font-weight: 500; }
.v-reviews .woocommerce-review__verified { color: var(--v-success); font-style: normal; }
.v-reviews .woocommerce-review__dash { margin: 0 .25rem; }
.v-reviews .description p { margin-bottom: .5rem; }
.v-reviews .woocommerce-noreviews { color: var(--v-muted); }
.v-review-form > summary { list-style: none; width: 100%; }
.v-review-form > summary::-webkit-details-marker { display: none; }
.v-review-form[open] > summary { display: none; }
#review_form .comment-reply-title { display: block; font-family: var(--v-font-heading); font-size: 1.5rem; margin-bottom: 1rem; }
#review_form p { margin-bottom: 1rem; }
#review_form label { display: block; }
#review_form .comment-form-cookies-consent label { display: inline; font-weight: 400; }
#review_form .form-submit .submit { width: 100%; }
.comment-form-rating p.stars { margin: .25rem 0 1rem; }
p.stars a { position: relative; display: inline-block; width: 1.75rem; height: 1.75rem; text-indent: -999em; overflow: hidden; margin-right: .1rem; }
p.stars a::before {
	content: ""; position: absolute; inset: 0; background: var(--v-border-strong);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 3.8 2.5 5.1 5.6.8-4 4 1 5.5-5.1-2.7-5 2.7 1-5.5-4.1-4 5.6-.8z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 3.8 2.5 5.1 5.6.8-4 4 1 5.5-5.1-2.7-5 2.7 1-5.5-4.1-4 5.6-.8z'/%3E%3C/svg%3E") center / contain no-repeat;
}
p.stars:hover a::before, p.stars.selected a.active::before, p.stars.selected a:not(.active)::before { background: var(--v-text); }
p.stars a:hover ~ a::before, p.stars.selected a.active ~ a::before { background: var(--v-border-strong); }

/* Sticky add to cart (phones) */
.v-sticky-atc {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; align-items: center; gap: 1rem;
	padding: .75rem var(--v-gutter) calc(.75rem + env(safe-area-inset-bottom)); background: var(--v-bg); border-top: 1px solid var(--v-border);
	box-shadow: 0 -10px 30px -18px rgba(0, 0, 0, .25); animation: v-up .25s var(--v-ease);
}
.v-sticky-atc[hidden] { display: none; }
.v-sticky-atc__info { min-width: 0; flex: 1; }
.v-sticky-atc__name { margin: 0; font-size: var(--v-fs-sm); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v-sticky-atc__price { margin: 0; font-size: var(--v-fs-sm); color: var(--v-muted); }
.v-sticky-atc__price .price { font-size: inherit; }
.v-sticky-atc .v-btn { flex: none; }
body.has-sticky-atc { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
body.has-sticky-atc .v-toasts { bottom: calc(92px + env(safe-area-inset-bottom)); }
@media (min-width: 1024px) { .v-sticky-atc { display: none !important; } body.has-sticky-atc { padding-bottom: 0; } }
@keyframes v-up { from { transform: translateY(100%); } }

/* Product information tabs (optional layout) */
.v-ptabs { margin-top: clamp(2.5rem, 2rem + 3vw, 4rem); }
.v-ptabs__list { display: flex; gap: 1.75rem; border-bottom: 1px solid var(--v-border); overflow-x: auto; scrollbar-width: none; }
.v-ptabs__tab { flex: none; padding: .85rem 0; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; background: none; font-size: var(--v-fs-sm); color: var(--v-muted); }
.v-ptabs__tab[aria-selected="true"] { color: var(--v-text); border-bottom-color: var(--v-text); font-weight: 500; }
.v-ptabs__panel { padding: 1.75rem 0 0; max-width: 980px; }
.v-ptabs__heading { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.v-sticky-atc__actions { display: flex; gap: .5rem; flex: none; }
.v-btn--dark { background: var(--v-text); color: var(--v-on-text); }
.v-sticky-atc--all { display: flex; }
@media (min-width: 1024px) {
	.v-sticky-atc.v-sticky-atc--all:not([hidden]) { display: flex !important; padding-inline: max(var(--v-gutter), calc(50vw - var(--v-container) / 2)); }
	body.has-sticky-atc.v-sticky-all { padding-bottom: 76px; }
}
