/* Product page (approved mockup: Kurung Pahang Lunara + Nayla, 5-6 Nov 2026). Loaded only on product pages.
   Sections: layout, photos, details column, colour + size buttons, Add to cart, sections (tabs / rows), share,
   size chart pop-up, Customer Reviews, You might like | Recently viewed, phones.
   Shop Kit's gallery, size buttons and price bar are restyled through their own settings (the --qav-* values)
   where they have them, so a Shop Kit update keeps working. Phones end at 767px, like Shop Kit's carousel. */

.ay-pdp-main {
	--ay-band: #FAFAFA;   /* the reviews band */
	--qav-form-accent: var(--ay-ink);
	--qav-form-accent-hover: var(--ay-hover);
	--qav-form-border: var(--ay-line-2);
	--qav-form-disabled: #A3A3A3;
	background: #fff;
}

/* ---------------------------------------------------------------- layout: photos left, details right */
.ay-pdp-top {
	display: grid; grid-template-columns: minmax(0, 53%) minmax(0, 1fr); gap: 0 clamp(24px, 2.6vw, 40px);
	max-width: 1440px; margin: 0 auto; padding-top: 24px; align-items: start;
}
/* WooCommerce's own stylesheet floats the two halves at 48% each (its rule names #content, so this one does too). */
.woocommerce #content div.product.ay-pdp div.images,
.woocommerce #content div.product.ay-pdp div.summary,
.woocommerce div.product.ay-pdp div.images,
.woocommerce div.product.ay-pdp div.summary { float: none; width: auto; margin: 0; }
.ay-pdp-gallery { position: relative; min-width: 0; }

/* ---------------------------------------------------------------- photos (Shop Kit's tiled gallery) */
.ay-pdp .qav-gallery { --qav-gallery-ratio: 4 / 5; --qav-gallery-gap: 4px; }
.ay-pdp .qav-gallery .woocommerce-product-gallery__wrapper img { object-position: 50% 14%; }
.ay-pdp .woocommerce-product-gallery__trigger { display: none !important; } /* no magnifier icon: tapping a photo opens it */
.ay-pdp .qav-gallery .woocommerce-product-gallery__image { overflow: hidden; background: #EDEBE7; }
/* The size chart tile: the whole chart on white, never cropped. */
.ay-pdp .qav-gallery .ay-g-chart { background: #fff; }
.ay-pdp .qav-gallery .ay-g-chart img { object-fit: contain; object-position: 50% 50%; }
/* Hover zoom: the photo grows under the pointer (product.js sets --ox / --oy). */
@media (hover: hover) and (min-width: 768px) {
	.ay-pdp .qav-gallery .woocommerce-product-gallery__image:not(.ay-g-chart) img { transition: transform .35s ease; transform-origin: var(--ox, 50%) var(--oy, 50%); }
	.ay-pdp .qav-gallery .woocommerce-product-gallery__image:not(.ay-g-chart):hover img { transform: scale(1.9); }
}
@media (prefers-reduced-motion: reduce) {
	.ay-pdp .qav-gallery .woocommerce-product-gallery__image img { transition: none; }
}
/* The "-20%" sale label: ink box on the first photo, top left. */
.woocommerce .ay-pdp .ay-pdp-gallery > span.onsale {
	position: absolute; top: 14px; left: 14px; right: auto; z-index: 6; min-width: 0; min-height: 0; margin: 0; padding: 6px 10px;
	border-radius: 0; background: var(--ay-ink); color: #fff; font-size: 12px; font-weight: 600; line-height: 1; letter-spacing: .06em;
}

/* ---------------------------------------------------------------- details column */
.ay-pdp-info { max-width: 480px; padding-right: var(--ay-gut); color: var(--ay-ink); }
.woocommerce .ay-pdp-info .product_title { margin: 0; font-size: 26px; font-weight: 500; line-height: 1.25; letter-spacing: 0; }
.woocommerce div.product .ay-pdp-info p.price { margin: 10px 0 0; color: var(--ay-ink); font-size: 18px; font-weight: 500; }
.woocommerce div.product .ay-pdp-info p.price del { color: var(--ay-muted); font-weight: 400; opacity: 1; margin-right: 6px; }
.woocommerce div.product .ay-pdp-info p.price ins { color: var(--ay-red); font-weight: 500; text-decoration: none; }
.ay-pdp-info .wc-sale-countdown { margin-top: 14px; }

.ay-spl { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--ay-line); font-size: 13.5px; color: var(--ay-ink-2); }
.ay-spl b { color: var(--ay-ink); font-weight: 600; }
.ay-spl-tag { padding: 3px 7px; border: 1px solid var(--ay-ink); border-radius: 4px; font-size: 11.5px; font-weight: 600; line-height: 1.2; color: var(--ay-ink); }
.ay-pts { margin: 10px 0 0; font-size: 13.5px; color: var(--ay-ok); }
.ay-pts b { font-weight: 600; }
.ay-stock { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-size: 13px; color: var(--ay-ok); }
.ay-stock i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.ay-stock.is-low { color: var(--ay-sale); }

/* ---------------------------------------------------------------- colour + size buttons (Shop Kit's, restyled) */
.woocommerce .ay-pdp-info form.cart { margin: 22px 0 0; }
.woocommerce .ay-pdp-info form.variations_form table.variations { display: block; margin: 0; }
.woocommerce .ay-pdp-info form.variations_form table.variations tbody,
.woocommerce .ay-pdp-info form.variations_form table.variations tr,
.woocommerce .ay-pdp-info form.variations_form table.variations td { display: block; width: auto; padding: 0; }
.woocommerce .ay-pdp-info form.variations_form table.variations tr + tr { margin-top: 20px; }
.woocommerce div.product .ay-pdp-info form.cart .variations th.label {
	display: flex; align-items: baseline; justify-content: space-between; width: auto; padding: 0 0 10px;
	font-size: 11.5px; font-weight: 500; letter-spacing: .2em; color: var(--ay-muted);
}
.ay-pdp-info table.variations th.label label { margin: 0; font-weight: 500; }
.ay-chosen { margin-left: 6px; color: var(--ay-ink); font-weight: 600; letter-spacing: .04em; text-transform: none; }
.ay-chosen:empty { display: none; }
.ay-chosen::before { content: ": "; margin-left: -6px; color: var(--ay-muted); font-weight: 500; }
button.ay-sc-link {
	padding: 0; border: 0; background: none !important; color: var(--ay-ink); font-size: 12.5px; font-weight: 400; letter-spacing: 0; text-transform: none;
	text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.ay-pdp-info .reset_variations,
.ay-pdp-info .reset_variations_alert,
.ay-pdp-info .woocommerce-variation-availability,
.ay-pdp-info .woocommerce-variation-price,
.ay-pdp-info .woocommerce-variation-description { display: none !important; }

/* Size buttons: small boxes; the chosen one ink; a sold-out size struck through. */
.ay-pdp-info form.cart .qav-swatches { gap: 8px; }
.ay-pdp-info form.cart .qav-swatches .qav-swatch {
	min-width: 46px; height: 36px; padding: 0 12px; border-color: var(--ay-line-2); color: var(--ay-ink);
	font-size: 12.5px !important; letter-spacing: .02em; text-transform: uppercase;
}
.ay-pdp-info form.cart .qav-swatches .qav-swatch.is-active { color: #fff; }
.ay-pdp-info form.cart .qav-swatches .qav-swatch.is-disabled {
	opacity: 1; text-decoration: none; color: #A3A3A3; border-color: var(--ay-line);
	background: linear-gradient(to top right, transparent calc(50% - .5px), #BDBDBD calc(50% - .5px), #BDBDBD calc(50% + .5px), transparent calc(50% + .5px)) !important;
}
/* Colour buttons become photo tiles (product.js adds the photo); the name sits under it. */
.ay-pdp-info form.cart .qav-swatches.ay-cols { gap: 10px; }
.ay-pdp-info form.cart .qav-swatches.ay-cols .qav-swatch {
	display: flex; flex-direction: column; align-items: center; gap: 6px; width: 68px; min-width: 0; height: auto; padding: 0;
	border: 0; background: none !important; color: var(--ay-ink-2); font-size: 11.5px !important; letter-spacing: 0; text-transform: none; line-height: 1.25;
}
.ay-pdp-info form.cart .qav-swatches.ay-cols .qav-swatch img {
	display: block; width: 68px; height: 92px; object-fit: cover; object-position: 50% 20%; border: 1px solid var(--ay-line); background: #EDEBE7;
}
.ay-pdp-info form.cart .qav-swatches.ay-cols .qav-swatch.is-active { color: var(--ay-ink); font-weight: 600; background: none !important; }
.ay-pdp-info form.cart .qav-swatches.ay-cols .qav-swatch.is-active img { outline: 2px solid var(--ay-ink); outline-offset: -2px; }
.ay-pdp-info form.cart .qav-swatches.ay-cols .qav-swatch:hover:not(.is-active) img { border-color: var(--ay-ink); }
.ay-pdp-info form.cart .qav-swatches.ay-cols .qav-swatch.is-disabled { background: none !important; color: #A3A3A3; }
.ay-pdp-info form.cart .qav-swatches.ay-cols .qav-swatch.is-disabled img { opacity: .45; }

/* ---------------------------------------------------------------- quantity + Add to cart */
.woocommerce .ay-pdp-info form.cart .woocommerce-variation-add-to-cart,
.woocommerce .ay-pdp-info form.cart:not(.variations_form) {
	display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 12px; margin-top: 26px;
}
.woocommerce .ay-pdp-info form.cart .single_variation_wrap { margin: 0; }
.woocommerce .ay-pdp-info form.cart div.quantity.qav-qty { justify-content: space-between; height: 48px; margin: 0; border-color: var(--ay-line-2); }
.woocommerce .ay-pdp-info form.cart div.quantity.qav-qty .qav-qty-step { width: 38px; padding: 0; color: var(--ay-ink); }
.ay-pdp-info .qav-qty input[type='number'] { width: 48px; color: var(--ay-ink); font-size: 15px; }
.woocommerce .ay-pdp-info .single_add_to_cart_button.button.alt,
.woocommerce .ay-pdp-info .ay-buy-out .button {
	width: 100%; min-height: 48px; margin: 0; padding: 0 20px; border: 1px solid var(--ay-ink); border-radius: 0; background: var(--ay-ink); color: #fff;
	font-family: var(--ay-sans); font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
}
.woocommerce .ay-pdp-info .single_add_to_cart_button.button.alt:hover { background: var(--ay-hover); border-color: var(--ay-hover); }
/* Not ready yet (no size chosen) or sold out: greyed; WooCommerce explains why if it is tapped. */
.woocommerce .ay-pdp-info .single_add_to_cart_button.button.alt.disabled,
.woocommerce .ay-pdp-info .single_add_to_cart_button.button.alt:disabled {
	opacity: 1; background: #BDBDBD; border-color: #BDBDBD; color: #fff; cursor: not-allowed;
}
.ay-buy-out { margin-top: 26px; }

/* ---------------------------------------------------------------- Description | Delivery & Returns */
.woocommerce div.product .ay-pdp-info .woocommerce-tabs.ay-secs { margin: 34px 0 0; padding: 0; }
.ay-secs-tabs { display: flex; gap: 28px; border-bottom: 1px solid var(--ay-line); }
.ay-secs-tabs[hidden] { display: none; } /* phones use the rows below instead */
button.ay-secs-tab {
	margin: 0 0 -1px; padding: 0 0 12px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: none !important;
	color: var(--ay-muted); font-family: var(--ay-sans); font-size: 12.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; cursor: pointer;
}
button.ay-secs-tab[aria-selected="true"] { color: var(--ay-ink); border-bottom-color: var(--ay-ink); }
.ay-secs.is-tabs .ay-sec-h { display: none; }
.ay-secs.is-tabs .ay-sec-panel { padding-top: 18px; }
.ay-sec-h { margin: 0; font-size: inherit; }
button.ay-sec-toggle {
	display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 16px 0; border: 0; border-radius: 0;
	background: none !important; color: var(--ay-ink); font-family: var(--ay-sans); font-size: 13px; font-weight: 500; letter-spacing: .14em;
	text-transform: uppercase; text-align: left; cursor: pointer;
}
button.ay-sec-toggle svg { transition: transform .2s; }
.ay-sec.is-open button.ay-sec-toggle svg { transform: rotate(180deg); }
.ay-secs.is-rows { border-top: 1px solid var(--ay-line); }
.ay-secs.is-rows .ay-sec { border-bottom: 1px solid var(--ay-line); }
.ay-secs.is-rows .ay-sec-panel { padding-bottom: 18px; }
.ay-pdp .rte { font-size: 14.5px; line-height: 1.7; font-weight: 300; color: var(--ay-ink-2); }
.ay-pdp .rte > :first-child { margin-top: 0; }
.ay-pdp .rte > :last-child { margin-bottom: 0; }
.ay-pdp .rte ul { margin: 0 0 1em; padding-left: 18px; }
.ay-pdp .rte li + li { margin-top: 4px; }

/* ---------------------------------------------------------------- share */
.ay-share { display: flex; align-items: center; gap: 14px; margin-top: 26px; color: var(--ay-ink); }
.ay-share > span { font-size: 11.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ay-muted); }
.ay-share a { display: inline-flex; color: var(--ay-ink); }
.ay-share a:hover { color: var(--ay-hover); }

/* ---------------------------------------------------------------- size chart pop-up */
.ay-sc { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(17, 17, 17, .7); }
.ay-sc[hidden] { display: none; }
.ay-sc-box { position: relative; width: 100%; max-width: 560px; max-height: calc(100vh - 32px); overflow: auto; background: #fff; }
.ay-sc-box img { display: block; width: 100%; height: auto; }
button.ay-sc-x {
	position: absolute; top: 8px; right: 8px; display: inline-flex; padding: 6px; border: 0; border-radius: 50%;
	background: rgba(255, 255, 255, .9) !important; color: var(--ay-ink); cursor: pointer;
}
html.ay-sc-open { overflow: hidden; }

/* ---------------------------------------------------------------- Customer Reviews */
.ay-rv { margin-top: 48px; padding: 64px var(--ay-gut) 68px; border-top: 1px solid var(--ay-line); background: var(--ay-band); text-align: center; color: var(--ay-ink); }
.ay-rv-h { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.ay-rv-score { margin: 18px 0 0; font-size: 48px; font-weight: 300; line-height: 1; font-variant-numeric: tabular-nums; }
.ay-stars { display: inline-flex; gap: 3px; color: var(--ay-ink); vertical-align: middle; }
.ay-rv > .ay-stars { margin-top: 10px; }
.ay-rv-count { margin: 6px 0 0; font-size: 14px; color: var(--ay-muted); }
.ay-rv-btn { margin-top: 18px; }
.ay-rv-form { max-width: 560px; margin: 28px auto 0; padding: 24px; background: #fff; border: 1px solid var(--ay-line); text-align: left; }
.ay-rv-form[hidden] { display: none; }
.ay-rv-form .comment-reply-title { display: block; margin-bottom: 14px; font-size: 15px; font-weight: 600; }
.ay-rv-form label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 500; }
.ay-rv-form input[type="text"],
.ay-rv-form input[type="email"],
.ay-rv-form textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--ay-line-2); border-radius: 0; font: inherit; font-size: 16px; }
.ay-rv-form p { margin: 0 0 14px; }
.woocommerce .ay-rv-form p.stars a { color: var(--ay-ink); }
.ay-rv-form .form-submit { margin: 4px 0 0; }
.ay-rv-list { max-width: 980px; margin: 40px auto 0; padding: 0; list-style: none; text-align: left; border-top: 1px solid var(--ay-line-2); }
.ay-rv-item { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--ay-line-2); }
.ay-rv-item[hidden] { display: none; }
.ay-rv-who { display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.ay-rv-who b { font-size: 14px; font-weight: 600; }
.ay-rv-ver { display: inline-flex; align-items: center; gap: 5px; color: var(--ay-ok); font-size: 12px; font-weight: 600; }
.ay-rv-who time { color: var(--ay-muted); font-size: 12.5px; }
.ay-rv-text { margin-top: 8px; font-size: 14.5px; line-height: 1.65; color: var(--ay-ink-2); }
.ay-rv-text p { margin: 0 0 .6em; }
.ay-rv-text p:last-child { margin-bottom: 0; }
.ay-rv-more { margin-top: 28px; }
.ay-rv-more[hidden] { display: none; }
.ay-rv-note { margin: 18px 0 0; font-size: 13px; color: var(--ay-muted); }

/* ---------------------------------------------------------------- reviews from the Customer Reviews plugin (includes/reviews.php)
   CusRev's rules start with "#reviews.cr-reviews-ajax-reviews ..." (ids), so these start with ".ay-rv--cr #reviews..." to
   out-rank them. Goal: look the same as the theme's own rows above (ink buttons, ink stars, name | review columns). */
.ay-rv--cr #reviews.cr-reviews-ajax-reviews { width: auto; margin: 0; color: var(--ay-ink); }
.ay-rv--cr #reviews.cr-reviews-ajax-reviews,
.ay-rv--cr #reviews.cr-reviews-ajax-reviews * { font-family: var(--ay-sans); }
/* CusRev's own heading, score, search box and "1-3 of 6 / Most Recent" row: the band prints its own heading and score */
.ay-rv--cr #reviews.cr-reviews-ajax-reviews .woocommerce-Reviews-title,
.ay-rv--cr #reviews.cr-reviews-ajax-reviews .cr-nosummary-rating-cnt,
.ay-rv--cr #reviews.cr-reviews-ajax-reviews .cr-ajax-search,
.ay-rv--cr #reviews.cr-reviews-ajax-reviews .cr-count-row { display: none; }
.ay-rv--cr #reviews.cr-reviews-ajax-reviews .cr-ajax-reviews-nosummary { display: flex; justify-content: center; height: auto; margin: 18px 0 0; padding: 0; border: 0; background: none; }

/* buttons: "Add a review" and the form's Submit are ink blocks (.ay-btn); "Show more reviews" and Cancel are outlined */
.ay-rv--cr #reviews.cr-reviews-ajax-reviews .cr-nosummary-add,
.ay-rv--cr #reviews.cr-reviews-ajax-reviews .cr-show-more-reviews-prd,
.ay-rv--cr #reviews.cr-reviews-ajax-reviews .cr-review-form-wrap .cr-review-form-submit,
.ay-rv--cr #reviews.cr-reviews-ajax-reviews .cr-review-form-wrap .cr-review-form-cancel,
.ay-rv--cr #reviews.cr-reviews-ajax-reviews .cr-review-form-continue {
	display: inline-flex; align-items: center; justify-content: center; width: auto; height: auto; min-height: 48px; margin: 0; padding: 0 32px;
	border: 1px solid var(--ay-ink); border-radius: 0; background: var(--ay-ink); color: #fff; font-size: 13px; font-weight: 500; line-height: 1.2;
	letter-spacing: .1em; text-transform: uppercase; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.ay-rv--cr #reviews.cr-reviews-ajax-reviews .cr-nosummary-add:hover,
.ay-rv--cr #reviews.cr-reviews-ajax-reviews .cr-review-form-wrap .cr-review-form-submit:hover,
.ay-rv--cr #reviews.cr-reviews-ajax-reviews .cr-review-form-continue:hover { background: var(--ay-hover); border-color: var(--ay-hover); color: #fff; }
.ay-rv--cr #reviews.cr-reviews-ajax-reviews .cr-show-more-reviews-prd,
.ay-rv--cr #reviews.cr-reviews-ajax-reviews .cr-review-form-wrap .cr-review-form-cancel { background: transparent; color: var(--ay-ink); }
.ay-rv--cr #reviews.cr-reviews-ajax-reviews .cr-show-more-reviews-prd:hover,
.ay-rv--cr #reviews.cr-reviews-ajax-reviews .cr-review-form-wrap .cr-review-form-cancel:hover { background: var(--ay-ink); color: #fff; }
.ay-rv--cr #reviews.cr-reviews-ajax-reviews .cr-show-more-review-spinner-cnt { display: flex; justify-content: center; height: auto; margin: 28px 0 0; }

/* the list: name, "Verified buyer" and date on the left, stars and words on the right (one column on phones) */
.ay-rv--cr #reviews.cr-reviews-ajax-reviews #comments .cr-ajax-reviews-list { max-width: 980px; margin: 40px auto 0; padding: 0; list-style: none; text-align: left; border-top: 1px solid var(--ay-line-2); }
.ay-rv--cr #reviews.cr-reviews-ajax-reviews #comments .cr-ajax-reviews-list li.review { margin: 0; padding: 26px 0; border: 0; border-bottom: 1px solid var(--ay-line-2); background: none; }
.ay-rv--cr #reviews.cr-reviews-ajax-reviews #comments .cr-ajax-reviews-list .comment_container { display: block; }
.ay-rv--cr #reviews.cr-reviews-ajax-reviews #comments .cr-ajax-reviews-list .cr-comment-text { display: grid; grid-template-columns: 200px minmax(0, 1fr); column-gap: 24px; margin: 0; padding: 0; border: 0; }
.ay-rv--cr #reviews.cr-reviews-ajax-reviews #comments .cr-ajax-reviews-list .cr-comment-text > * { grid-column: 2; }
.ay-rv--cr #reviews.cr-reviews-ajax-reviews #comments .cr-ajax-reviews-list .cr-comment-text .meta { grid-column: 1; grid-row: 1 / span 9; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin: 0; font-size: 13px; }
.ay-rv--cr #reviews.cr-reviews-ajax-reviews #comments .cr-ajax-reviews-list .cr-comment-text .meta .cr-meta-author-featured-date,
.ay-rv--cr #reviews.cr-reviews-ajax-reviews #comments .cr-ajax-reviews-list .cr-comment-text .meta .cr-meta-author-title { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin: 0; }
.ay-rv--cr #reviews.cr-reviews-ajax-reviews #comments .cr-ajax-reviews-list .cr-comment-text .meta .woocommerce-review__author { color: var(--ay-ink); font-size: 14px; font-weight: 600; }
.ay-rv--cr #reviews.cr-reviews-ajax-reviews #comments .cr-ajax-reviews-list .cr-comment-text .meta .woocommerce-review__verified {
	display: inline-flex; align-items: center; gap: 5px; margin: 0; padding: 0; background: none; color: var(--ay-ok); font-size: 12px; font-weight: 600;
}
.ay-rv--cr #reviews.cr-reviews-ajax-reviews #comments .cr-ajax-reviews-list .cr-comment-text .meta .woocommerce-review__verified::before {
	content: ""; flex: none; width: 13px; height: 13px; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%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' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* CusRev labels everyone else "Reviewer" in the same chip; the theme's own rows show nothing there */
.ay-rv--cr #reviews.cr-reviews-ajax-reviews #comments .cr-ajax-reviews-list .comment_container:not(.cr-verified-owner) .woocommerce-review__verified { display: none; }
.ay-rv--cr #reviews.cr-reviews-ajax-reviews #comments .cr-ajax-reviews-list .cr-comment-text .meta time { color: var(--ay-muted); font-size: 12.5px; font-style: normal; }
.ay-rv--cr #reviews.cr-reviews-ajax-reviews #comments .cr-ajax-reviews-list .crstar-rating-svg { display: block; width: max-content; margin: 0; }
.ay-rv--cr #reviews.cr-reviews-ajax-reviews #comments .cr-ajax-reviews-list .cr-rating-icon-base,
.ay-rv--cr #reviews.cr-reviews-ajax-reviews #comments .cr-ajax-reviews-list .cr-rating-icon-frnt { height: 15px; column-gap: 3px; }
.ay-rv--cr #reviews.cr-reviews-ajax-reviews #comments .cr-ajax-reviews-list .cr-rating-icon,
.ay-rv--cr #reviews.cr-reviews-ajax-reviews #comments .cr-ajax-reviews-list .cr-rating-icon-bg { width: 15px; height: 15px; }
.ay-rv--cr #reviews.cr-reviews-ajax-reviews #comments .cr-ajax-reviews-list .cr-rating-icon { fill: var(--ay-ink); color: var(--ay-ink); }
.ay-rv--cr #reviews.cr-reviews-ajax-reviews #comments .cr-ajax-reviews-list .cr-rating-icon-bg { fill: none; stroke: var(--ay-ink); }
.ay-rv--cr #reviews.cr-reviews-ajax-reviews #comments .cr-ajax-reviews-list .description { margin: 8px 0 0; }
.ay-rv--cr #reviews.cr-reviews-ajax-reviews #comments .cr-ajax-reviews-list .description p { margin: 0 0 .6em; color: var(--ay-ink-2); font-size: 14.5px; line-height: 1.65; text-align: left; }
.ay-rv--cr #reviews.cr-reviews-ajax-reviews #comments .cr-ajax-reviews-list .description p:last-child { margin-bottom: 0; }
.ay-rv--cr #reviews.cr-reviews-ajax-reviews .cr-search-no-reviews { text-align: center; font-size: 13px; }

/* no reviews yet: the words, then the button (added in includes/reviews.php); the form waits for that button */
.ay-rv--cr #reviews.cr-reviews-ajax-reviews .ay-rv-empty { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: 6px; }
.ay-rv--cr #reviews.cr-reviews-ajax-reviews .ay-rv-empty .woocommerce-noreviews { margin: 0; padding: 0; border: 0; background: none; color: var(--ay-muted); font-size: 14px; text-align: center; }
.ay-rv--cr #reviews.cr-reviews-ajax-reviews .ay-rv-empty .woocommerce-noreviews::before { content: none; }
.ay-rv--cr #reviews.cr-reviews-ajax-reviews .cr-ajax-reviews-review-form.cr-ajax-reviews-review-form-nc { display: none; }

/* CusRev's form (with photo upload), boxed like the theme's own form */
.ay-rv--cr #reviews.cr-reviews-ajax-reviews .cr-review-form-wrap { max-width: 560px; margin: 28px auto 0; padding: 24px; border: 1px solid var(--ay-line); background: #fff; color: var(--ay-ink); text-align: left; }
.ay-rv--cr #reviews.cr-reviews-ajax-reviews .cr-review-form-wrap .cr-review-form-nav .cr-nav-left span,
.ay-rv--cr #reviews.cr-reviews-ajax-reviews .cr-review-form-wrap .cr-review-form-item span,
.ay-rv--cr #reviews.cr-reviews-ajax-reviews .cr-review-form-wrap .cr-review-form-rating-label { color: var(--ay-ink); }
.ay-rv--cr #reviews.cr-reviews-ajax-reviews .cr-review-form-wrap .cr-review-form-nav svg path { stroke: var(--ay-ink); }
.ay-rv--cr #reviews.cr-reviews-ajax-reviews .cr-review-form-wrap .cr-review-form-txt,
.ay-rv--cr #reviews.cr-reviews-ajax-reviews .cr-review-form-wrap .cr-review-form-comment-txt { border: 1px solid var(--ay-line-2); border-radius: 0; background: #fff; color: var(--ay-ink); font-size: 16px; }
.ay-rv--cr #reviews.cr-reviews-ajax-reviews .cr-review-form-wrap .cr-review-form-lbl { background: #fff; color: var(--ay-ink); }
.ay-rv--cr #reviews.cr-reviews-ajax-reviews .cr-review-form-wrap input:focus,
.ay-rv--cr #reviews.cr-reviews-ajax-reviews .cr-review-form-wrap textarea:focus { outline: 2px solid var(--ay-ink); outline-offset: 1px; box-shadow: none; }
.ay-rv--cr #reviews.cr-reviews-ajax-reviews .cr-review-form-wrap .cr-review-form-rating-inner svg.cr-rating-act path { fill: var(--ay-ink); }

/* ---------------------------------------------------------------- You might like | Recently viewed */
.ay-more { max-width: 1180px; margin: 0 auto; padding: 36px var(--ay-gut) 84px; }
.ay-more-tabs { display: flex; justify-content: center; gap: 10px; margin-bottom: 28px; }
button.ay-more-tab {
	padding: 8px 12px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: none !important; color: var(--ay-muted);
	font-family: var(--ay-sans); font-size: 12.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; cursor: pointer;
}
button.ay-more-tab[aria-selected="true"] { color: var(--ay-ink); border-bottom-color: var(--ay-ink); }
.ay-more-title { margin: 0 0 28px; text-align: center; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.ay-more-panel[hidden] { display: none; }
.ay-more .related, .ay-more .up-sells { margin: 0; padding: 0; }
.woocommerce .ay-more ul.products {
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 2px; margin: 0; padding: 0; list-style: none;
}

/* ---------------------------------------------------------------- phones */
@media (max-width: 767px) {
	.ay-pdp-top { grid-template-columns: minmax(0, 1fr); padding-top: 0; }
	.ay-pdp-info { max-width: none; padding: 20px 16px 28px; }
	.woocommerce .ay-pdp-info .product_title { font-size: 22px; }
	.woocommerce div.product .ay-pdp-info p.price { display: none; } /* the black price bar under the photos shows it */
	.ay-spl { margin-top: 12px; }
	.woocommerce .woocommerce-tabs.ay-secs { margin-top: 28px; }
	.ay-rv { margin-top: 32px; padding: 44px 16px 48px; }
	.ay-rv-list { margin-top: 28px; }
	.ay-rv-item { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 20px 0; }
	.ay-rv-who { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
	.ay-rv-form { padding: 18px; }
	.ay-rv--cr #reviews.cr-reviews-ajax-reviews #comments .cr-ajax-reviews-list { margin-top: 28px; }
	.ay-rv--cr #reviews.cr-reviews-ajax-reviews #comments .cr-ajax-reviews-list li.review { padding: 20px 0; }
	.ay-rv--cr #reviews.cr-reviews-ajax-reviews #comments .cr-ajax-reviews-list .cr-comment-text { grid-template-columns: minmax(0, 1fr); }
	.ay-rv--cr #reviews.cr-reviews-ajax-reviews #comments .cr-ajax-reviews-list .cr-comment-text > * { grid-column: 1; }
	.ay-rv--cr #reviews.cr-reviews-ajax-reviews #comments .cr-ajax-reviews-list .cr-comment-text .meta { grid-row: auto; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-bottom: 10px; }
	.ay-rv--cr #reviews.cr-reviews-ajax-reviews #comments .cr-ajax-reviews-list .cr-comment-text .meta .cr-meta-author-featured-date,
	.ay-rv--cr #reviews.cr-reviews-ajax-reviews #comments .cr-ajax-reviews-list .cr-comment-text .meta .cr-meta-author-title { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
	.ay-rv--cr #reviews.cr-reviews-ajax-reviews .cr-review-form-wrap { padding: 18px; }
	.ay-rv--cr #reviews.cr-reviews-ajax-reviews .cr-review-form-wrap .cr-review-form-ne { flex-direction: column; } /* Name above Email */
	.ay-rv--cr #reviews.cr-reviews-ajax-reviews .cr-review-form-wrap .cr-review-form-ne > div { width: 100%; }
	.ay-more { padding: 28px 16px 52px; }
	.woocommerce .ay-more ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 2px; }
}

/* ---------------------------------------------------------------- PRODUCT VIDEO row + floating box (milestone 6)
   TikTok Style Video prints both (includes/product.php ay_pdp_videos). The plugin's compact row already has 112px
   9:16 covers on one scrolling line; the mockup adds a small grey label for a heading, square covers with no shadow
   and the play circle in the top right corner. Colours come from the --tsv-* tokens in brand.css. */
.ay-pvid { margin-top: 22px; }
.ay-pvid .tsv-heading { margin: 0; font-size: 11.5px; font-weight: 500; letter-spacing: .2em; line-height: 1.4; text-transform: uppercase; color: var(--ay-muted); }
.ay-pvid .tsv--compact .tsv-track { padding-top: 10px; }
.ay-pvid .tsv--compact .tsv-v { border-radius: 0; box-shadow: none; background: var(--ay-wash); }
.ay-pvid .tsv--compact button.tsv-play { top: 8px; right: 8px; left: auto; width: 30px; height: 30px; margin: 0; }
.ay-pvid .tsv--compact button.tsv-play svg { width: 13px; height: 13px; }
/* WooCommerce's `.woocommerce img { height: auto }` outranks the plugin's `.tsv-cover { height: 100% }`, so on a
   product page the cover kept its own square height and left the bottom of each 9:16 tile (and the floating box) grey. */
.woocommerce .tsv img.tsv-cover, .woocommerce .tsv-float img.tsv-cover { height: 100%; max-width: none; }
/* The floating box sits above the phone product bar (64px + its 1px line), the same height Shop Kit's notices use. */
@media (max-width: 767px) {
	body.single-product.tsc-has-pbar { --tsv-float-bottom: calc(77px + env(safe-area-inset-bottom)); }
}
