/* =========================================================================
   SKYSHOT ATHLETICS — SINGLE PRODUCT PAGE
   Scoped entirely to body.skyshot-product-page so nothing here can ever
   leak onto the shop, cart, or any other page.

   Design language: grounded in the sport itself — willow-blonde paper
   background, deep leather-ball crimson as the one confident accent,
   pitch green for availability, condensed athletic display type paired
   with a clean grotesque body face. The dashed "stitch" underline used on
   active thumbnails / tabs / swatches is the page's one signature detail,
   used consistently instead of scattered elsewhere.
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


body.skyshot-product-page {
	--skyshot-ink: #1b1b17;
	--skyshot-muted: #6b6a63;
	--skyshot-paper: #faf9f5;
	--skyshot-surface: #ffffff;
	--skyshot-line: #e6e2d5;
	--skyshot-ball: #b7312c;
	--skyshot-ball-dark: #8f2521;
	--skyshot-pitch: #2f5d3a;
	--skyshot-pitch-bg: #e9f1ea;
	--skyshot-gold: #b8862f;
	--skyshot-error: #c0362c;
	--skyshot-error-bg: #fbeae9;
	--skyshot-success: #2f5d3a;
	--skyshot-success-bg: #e9f1ea;
	--skyshot-radius: 12px;
	--skyshot-radius-sm: 8px;
	--skyshot-header-offset: 100px;
	--font-display: "Barlow Condensed", sans-serif;
	--font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body.skyshot-product-page .skyshot-single-product,
body.skyshot-product-page .skyshot-single-product * {
	box-sizing: border-box;
}

body.skyshot-product-page .skyshot-single-product {
	font-family: var(--font-body);
	color: var(--skyshot-ink);
}
.ast-woocommerce-container {
    max-width: 1500px;
    margin: 0 auto;
}

/* -------------------------------------------------------------------------
   Layout grid — sticky gallery, scrolling summary
   ------------------------------------------------------------------------- */
.skyshot-summary-col .single-product-category {
    display: none !important;
}
.skyshot-product-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	gap: 56px;
	align-items: start;
	margin: 8px 0 56px;
}

.skyshot-gallery-col {
	min-width: 0;
}
.skyshot-summary-col nav.woocommerce-breadcrumb {
    display: none;
}

/* .skyshot-gallery-sticky {
	position: sticky;
	top: var(--skyshot-header-offset);
} */
.woocommerce #content .ast-woocommerce-container div.product div.images, .woocommerce .ast-woocommerce-container div.product div.images, .woocommerce-page #content .ast-woocommerce-container div.product div.images, .woocommerce-page .ast-woocommerce-container div.product div.images{
	width:100% !important
}
.skyshot-gallery-sticky div.product div.images{
	width:100%;
}
.skyshot-summary-col {
	min-width: 0;
}
span.ppom-input-option-label.ppom-label-checkbox{
	margin-left:10px;
}
/* -------------------------------------------------------------------------
   Gallery — WooCommerce core markup, restyled. Zoom/lightbox/slider are
   handled natively by WooCommerce (theme support declared in functions.php)
   so clicking any image opens the built-in modal — no custom JS required.
   ------------------------------------------------------------------------- */

.skyshot-gallery-col .woocommerce-product-gallery {
	position: relative;
	background: var(--skyshot-surface);
	border: 1px solid var(--skyshot-line);
	border-radius: var(--skyshot-radius);
	overflow: hidden;
	padding: 10px;
}

.skyshot-gallery-col .woocommerce-product-gallery__wrapper {
	margin: 0;
	border-radius: var(--skyshot-radius-sm);
	overflow: hidden;
}

.skyshot-gallery-col .woocommerce-product-gallery__image img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: var(--skyshot-radius-sm);
	cursor: zoom-in;
}

.skyshot-gallery-col .flex-control-thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 14px 0 4px;
	padding: 0;
	list-style: none;
}

.skyshot-gallery-col .flex-control-thumbs li {
	width: calc(20% - 8px);
	flex: 0 0 calc(20% - 8px);
}

.skyshot-gallery-col .flex-control-thumbs img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	display: block;
	border-radius: 8px;
	border: 2px solid transparent;
	outline: 1px solid var(--skyshot-line);
	outline-offset: -1px;
	cursor: pointer;
	opacity: 0.75;
	transition: opacity .15s ease, border-color .15s ease;
}

.skyshot-gallery-col .flex-control-thumbs img:hover {
	opacity: 1;
}

/* signature: dashed "stitch" indicator under the active thumbnail */
.skyshot-gallery-col .flex-control-thumbs img.flex-active {
	opacity: 1;
	border-color: var(--skyshot-ball);
	position: relative;
}

.skyshot-gallery-col .woocommerce-product-gallery__trigger {
	background: var(--skyshot-ink);
	color: #fff;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	top: 20px;
	right: 20px;
	opacity: 0.85;
}

/* -------------------------------------------------------------------------
   Breadcrumb spacing (Astra renders this above content — light touch only)
   ------------------------------------------------------------------------- */

body.skyshot-product-page .ast-breadcrumbs-container {
	font-family: var(--font-body);
}

/* -------------------------------------------------------------------------
   Title / rating / price / stock
   ------------------------------------------------------------------------- */
.skyshot-summary-col div.summary{
	width:100% !important;
}
.skyshot-summary-col .product_title {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(26px, 3vw, 36px) !important;
	line-height: 1.2;
	letter-spacing: 0.2px;
	margin: 0 0 12px;
	color: var(--skyshot-ink);
}

.skyshot-rating-badge {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 14px;
}

.skyshot-rating-badge .star-rating {
	font-size: 15px;
	color: var(--skyshot-gold);
}

.skyshot-rating-badge .star-rating::before {
	color: var(--skyshot-line);
}

.skyshot-rating-badge .star-rating span::before {
	color: var(--skyshot-gold);
}

.skyshot-rating-count {
	font-size: 13px;
	color: var(--skyshot-muted);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.skyshot-rating-count:hover {
	color: var(--skyshot-ink);
}

.skyshot-summary-col .price {
  font-family: var(--font-display);
    font-size: 28px !important;
    font-weight: 500;
    color: var(--skyshot-ink);
    margin: 0 0 16px !important;

}

.skyshot-summary-col .price ins {
	text-decoration: none;
	color: var(--skyshot-ball);
}

.skyshot-summary-col .price del {
	color: var(--skyshot-muted);
	font-size: 0.7em;
	opacity: 0.8;
	margin-right: 8px;
}

.skyshot-summary-col p.stock {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 13px;
	letter-spacing: 0.3px;
	text-transform: uppercase;
	padding: 6px 12px;
	border-radius: 999px;
	margin: 0 0 18px;
}

.skyshot-summary-col p.stock.in-stock {
	color: var(--skyshot-pitch);
	background: var(--skyshot-pitch-bg);
}

.skyshot-summary-col p.stock.out-of-stock,
.skyshot-summary-col p.stock.available-on-backorder {
	color: var(--skyshot-error);
	background: var(--skyshot-error-bg);
}

.skyshot-summary-col p.stock::before {
	content: '';
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: currentColor;
}

/* -------------------------------------------------------------------------
   Short description — clamped to 3 lines + read full description
   ------------------------------------------------------------------------- */

.skyshot-short-desc {
	margin: 0 0 22px;
	padding: 0 0 20px;
	border-bottom: 1px solid var(--skyshot-line);
}

.skyshot-short-desc-text {
	font-size: 15px;
	line-height: 1.65;
	color: var(--skyshot-muted);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.skyshot-short-desc-text p {
	margin: 0;
}

.skyshot-read-more {
	appearance: none;
	background: none;
	border: none;
	padding: 10px 0 0;
	margin: 0;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 13px;
	letter-spacing: 0.2px;
	color: var(--skyshot-ball);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.skyshot-read-more:hover {
	color: var(--skyshot-ball-dark);
	text-decoration: underline;
}

/* -------------------------------------------------------------------------
   Variations — styled as pill swatches. The native <select> stays in the
   DOM (visually hidden, not display:none) so WooCommerce's own variation
   matching script keeps working untouched.
   ------------------------------------------------------------------------- */

.skyshot-visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skyshot-summary-col table.variations {
	width: 100%;
	border: none;
	margin: 0 0 6px;
}

.skyshot-summary-col table.variations tbody,
.skyshot-summary-col table.variations tr {
	display: block;
}

.skyshot-summary-col table.variations tr {
	margin: 0 0 18px;
}

.skyshot-summary-col table.variations td {
	display: block;
	padding: 0;
}

.skyshot-summary-col table.variations td.label {
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	color: var(--skyshot-ink);
	margin-bottom: 10px;
}

.skyshot-swatches {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.skyshot-swatch {
	appearance: none;
	background: var(--skyshot-surface);
	border: 1.5px solid var(--skyshot-line);
	border-radius: var(--skyshot-radius-sm);
	padding: 9px 16px;
	font-family: var(--font-body);
	font-size: 13.5px;
	font-weight: 500;
	color: var(--skyshot-ink);
	cursor: pointer;
	position: relative;
	transition: border-color .15s ease, background .15s ease, color .15s ease;
}

.skyshot-swatch:hover:not(:disabled) {
	border-color: var(--skyshot-ink);
}

.skyshot-swatch.is-selected {
	background: var(--skyshot-ink);
	border-color: var(--skyshot-ink);
	color: #fff;
}

/* signature stitch under the selected swatch */
.skyshot-swatch.is-selected::after {
	content: '';
	position: absolute;
	left: 14%;
	right: 14%;
	bottom: -6px;
	height: 0;
	border-bottom: 2px dashed var(--skyshot-ball);
}

.skyshot-swatch:disabled,
.skyshot-swatch.is-disabled {
	opacity: 0.35;
	cursor: not-allowed;
	text-decoration: line-through;
}

.skyshot-summary-col .woocommerce-variation-availability {
	margin: 0 0 10px;
}

.skyshot-summary-col .woocommerce-variation-price .price {
	font-size: 24px;
	margin: 0 0 6px;
}

.skyshot-summary-col .woocommerce-variation-description p {
	font-size: 14px;
	color: var(--skyshot-muted);
	line-height: 1.6;
}

.skyshot-summary-col .reset_variations {
	display: inline-block;
	margin-top: 4px;
	font-size: 12.5px;
	color: var(--skyshot-muted);
	text-decoration: underline;
}

/* -------------------------------------------------------------------------
   Quantity stepper
   ------------------------------------------------------------------------- */

.skyshot-summary-col .quantity.skyshot-quantity {
	display: inline-flex;
	align-items: stretch;
	border: 1.5px solid var(--skyshot-line);
	border-radius: var(--skyshot-radius-sm);
	overflow: hidden;
	height: 48px;
}

.skyshot-summary-col .quantity.skyshot-quantity input.qty {
	width: 54px;
	border: none;
	border-left: 1px solid var(--skyshot-line);
	border-right: 1px solid var(--skyshot-line);
	text-align: center;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 15px;
	-moz-appearance: textfield;
}

.skyshot-summary-col .quantity.skyshot-quantity input.qty::-webkit-outer-spin-button,
.skyshot-summary-col .quantity.skyshot-quantity input.qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.skyshot-qty-btn {
	appearance: none;
	background: var(--skyshot-surface);
	border: none;
	width: 40px;
	font-size: 18px;
	line-height: 1;
	color: var(--skyshot-ink);
	cursor: pointer;
}

.skyshot-qty-btn:hover {
	background: var(--skyshot-paper);
}

/* -------------------------------------------------------------------------
   Add to cart form row + Buy Now / WhatsApp
   ------------------------------------------------------------------------- */

.skyshot-summary-col form.cart {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	margin: 0 0 4px;
}

.skyshot-summary-col form.cart .single_add_to_cart_button {
	appearance: none;
	flex: 1 1 auto;
	min-width: 180px;
	height: 48px;
	background: var(--skyshot-ink);
	color: #fff;
	border: none;
	border-radius: var(--skyshot-radius-sm);
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 18px;
	letter-spacing: 0.4px;
	text-transform: uppercase;
	cursor: pointer;
	transition: background .15s ease, transform .1s ease;
}

.skyshot-summary-col form.cart .single_add_to_cart_button:hover:not(:disabled) {
	background: #000;
}

.skyshot-summary-col form.cart .single_add_to_cart_button:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.skyshot-action-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	width: 100%;
	margin: 14px 0 0;
}

.skyshot-btn {
	flex: 1 1 200px;
    height: 59px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: var(--skyshot-radius-sm);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 19.5px;
	letter-spacing: 0.4px;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	border: none;
	position: relative;
	transition: filter .15s ease, transform .1s ease;
}

.skyshot-btn:active {
	transform: translateY(1px);
}

.skyshot-btn-buynow {
	background: var(--skyshot-ball);
	color: #fff;
}

.skyshot-btn-buynow:hover {
	filter: brightness(0.92);
}

.skyshot-btn-buynow::after {
	content: '';
	position: absolute;
	left: 20%;
	right: 20%;
	bottom: 7px;
	border-bottom: 1.5px dashed rgba(255,255,255,0.55);
}

.skyshot-btn-buynow.is-loading .btn-label {
	opacity: 0;
}

.skyshot-btn-buynow .btn-spinner {
	display: none;
	position: absolute;
	width: 18px;
	height: 18px;
	border: 2px solid rgba(255,255,255,0.4);
	border-top-color: #fff;
	border-radius: 50%;
	animation: skyshot-spin 0.7s linear infinite;
}

.skyshot-btn-buynow.is-loading .btn-spinner {
	display: block;
}

@keyframes skyshot-spin {
	to { transform: rotate(360deg); }
}

.skyshot-btn-whatsapp {
	background: #e9f7ee;
	color: #1f8a3d;
	border: 1.5px solid #bfe6cb;
}

.skyshot-btn-whatsapp:hover {
	background: #dcf3e3;
}

/* -------------------------------------------------------------------------
   Inline cart message (error / success)
   ------------------------------------------------------------------------- */

.skyshot-cart-message {
	margin-top: 14px;
	padding: 12px 14px;
	border-radius: var(--skyshot-radius-sm);
	font-size: 13.5px;
	line-height: 1.5;
	font-weight: 500;
}

.skyshot-cart-message[hidden] {
	display: none;
}

.skyshot-cart-message.is-error {
	background: var(--skyshot-error-bg);
	color: var(--skyshot-error);
	border: 1px solid rgba(192, 54, 44, 0.25);
}

.skyshot-cart-message.is-success {
	background: var(--skyshot-success-bg);
	color: var(--skyshot-success);
	border: 1px solid rgba(47, 93, 58, 0.25);
}

/* -------------------------------------------------------------------------
   Meta row (SKU / categories) + sharing
   ------------------------------------------------------------------------- */

.skyshot-summary-col .product_meta {
    margin-top: 22px !important;
    padding-top: 18px !important;
    border-top: 1px solid var(--skyshot-line) !important;
    font-size: 20px !important;
    color: var(--skyshot-muted);
    margin-top: 50px !important;
    font-family: 'Barlow Condensed';
}
.skyshot-summary-col .product_meta > span {
	display: block;
	margin-bottom: 6px;
}

.skyshot-summary-col .product_meta a {
	color: var(--skyshot-ink);
	text-decoration: none;
	border-bottom: 1px solid var(--skyshot-line);
}

.skyshot-summary-col .product_meta a:hover {
	border-color: var(--skyshot-ink);
}

/* -------------------------------------------------------------------------
   Tabs (Description / Additional information / Reviews)
   ------------------------------------------------------------------------- */

.skyshot-product-details {
/* 	max-width: 980px; */
	margin: 70px auto 60px;
}

.skyshot-product-details .woocommerce-tabs ul.tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 28px;
	list-style: none;
	margin: 0 0 28px;
	padding: 0 0 0;
	border-bottom: 1px solid var(--skyshot-line);
}

.skyshot-product-details .woocommerce-tabs ul.tabs li {
	margin: 0;
	padding: 0;
}

.skyshot-product-details .woocommerce-tabs ul.tabs li a {
	display: inline-block;
	padding: 0 0 14px;
	font-family: var(--font-display);
	font-weight: 500;
	font-size: 20px;
	letter-spacing: 0.3px;
	text-transform: uppercase;
	color: var(--skyshot-muted);
	text-decoration: none;
	border-bottom: 2px solid transparent;
}

.skyshot-product-details .woocommerce-tabs ul.tabs li.active a {
	color: var(--skyshot-ink);
	border-bottom: 2px dashed var(--skyshot-ball);
}

.skyshot-product-details .woocommerce-Tabs-panel h2 {
	font-family: var(--font-display);
	font-size: 20px;
	font-weight: 600;
	margin: 0 0 16px;
}

.skyshot-product-details .woocommerce-Tabs-panel p {
	font-size: 15px;
	line-height: 1.75;
	color: var(--skyshot-ink);
}

.skyshot-product-details table.woocommerce-product-attributes {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.skyshot-product-details table.woocommerce-product-attributes th,
.skyshot-product-details table.woocommerce-product-attributes td {
	text-align: left;
	padding: 12px 14px;
	border: 1px solid var(--skyshot-line);
}

.skyshot-product-details table.woocommerce-product-attributes th {
	width: 220px;
	font-weight: 600;
	background: var(--skyshot-paper);
}

.skyshot-product-details table.woocommerce-product-attributes tr:nth-child(even) td,
.skyshot-product-details table.woocommerce-product-attributes tr:nth-child(even) th {
	background: #fbfaf7;
}

/* Reviews */

.skyshot-product-details #reviews .commentlist {
	list-style: none;
	margin: 0;
	padding: 0;
}

.skyshot-product-details #reviews .comment {
	padding: 18px 0;
	border-bottom: 1px solid var(--skyshot-line);
}

.skyshot-product-details #reviews .comment_container {
	display: flex;
	gap: 14px;
	align-items: flex-start;
}

.skyshot-product-details #reviews .avatar {
	border-radius: 50%;
	width: 42px;
	height: 42px;
}

.skyshot-product-details #reviews .star-rating {
	color: var(--skyshot-gold);
	margin-bottom: 6px;
}

.skyshot-product-details #reviews .star-rating::before {
	color: var(--skyshot-line);
}

.skyshot-product-details #reviews .star-rating span::before {
	color: var(--skyshot-gold);
}

.skyshot-product-details #reviews .meta {
	font-size: 12.5px;
	color: var(--skyshot-muted);
	margin-bottom: 6px;
}

.skyshot-product-details #reviews .description p {
	font-size: 14.5px;
	margin: 0;
}

.skyshot-product-details #review_form input,
.skyshot-product-details #review_form textarea {
	border: 1.5px solid var(--skyshot-line);
	border-radius: var(--skyshot-radius-sm);
	padding: 10px 12px;
	font-family: var(--font-body);
	font-size: 14px;
	width: 100%;
	max-width: 420px;
}

.skyshot-product-details #review_form textarea {
	max-width: 100%;
}

.skyshot-product-details #review_form .form-submit input#submit {
	background: var(--skyshot-ink);
	color: #fff;
	border: none;
	border-radius: var(--skyshot-radius-sm);
	padding: 12px 24px;
	font-family: var(--font-display);
	text-transform: uppercase;
	letter-spacing: 0.4px;
	cursor: pointer;
	max-width: none;
	width: auto;
}

/* -------------------------------------------------------------------------
   Related products — light polish, keeps theme's grid/columns
   ------------------------------------------------------------------------- */

.skyshot-product-details .related.products,
.skyshot-product-details .up-sells.upsells.products {
	margin-top: 56px;
	padding-top: 40px;
	border-top: 1px solid var(--skyshot-line);
}

.skyshot-product-details .related.products > h2,
.skyshot-product-details .up-sells.upsells.products > h2 {
	font-family: var(--font-display);
	font-size: 24px;
	font-weight: 600;
	margin: 0 0 24px;
}

.skyshot-product-details .related.products ul.products li.product,
.skyshot-product-details .up-sells.upsells.products ul.products li.product {
	border-radius: var(--skyshot-radius);
	transition: box-shadow .2s ease, transform .2s ease;
}

.skyshot-product-details .related.products ul.products li.product:hover,
.skyshot-product-details .up-sells.upsells.products ul.products li.product:hover {
	box-shadow: 0 10px 24px rgba(27, 27, 23, 0.08);
	transform: translateY(-2px);
}

/* -------------------------------------------------------------------------
   Accessibility
   ------------------------------------------------------------------------- */

.skyshot-single-product a:focus-visible,
.skyshot-single-product button:focus-visible,
.skyshot-single-product input:focus-visible,
.skyshot-single-product select:focus-visible {
	outline: 2px solid var(--skyshot-ball);
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
	.skyshot-single-product * {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
}

/* -------------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------------- */

@media (max-width: 900px) {
	.skyshot-product-grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.skyshot-gallery-sticky {
		position: static;
	}

	.skyshot-gallery-col .flex-control-thumbs li {
		width: calc(25% - 8px);
		flex: 0 0 calc(25% - 8px);
	}

	.skyshot-btn {
		flex: 1 1 100%;
	}
}

@media (max-width: 480px) {
	.skyshot-summary-col form.cart {
		flex-direction: column;
		align-items: stretch;
	}

	.skyshot-summary-col .quantity.skyshot-quantity {
		width: 100%;
		justify-content: space-between;
	}

	.skyshot-summary-col .quantity.skyshot-quantity input.qty {
		flex: 1;
		width: auto;
	}

	.skyshot-summary-col form.cart .single_add_to_cart_button {
		width: 100%;
	}
}
