/* Single product page: image slider, summary, add to cart, description, details, related. */

.product-page{padding:28px 0 0}
.product-breadcrumb{display:flex;flex-wrap:wrap;gap:10px;font-size:13px;color:var(--muted);margin-bottom:26px}
.product-breadcrumb a{color:var(--muted);text-decoration:underline;text-underline-offset:4px;text-decoration-color:var(--line)}
.product-breadcrumb a:hover{color:var(--teal)}

.product-layout{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:56px;align-items:start}
.product-media{position:sticky;top:130px;min-width:0}
.admin-bar .product-media{top:162px}

/* ===== Image slider ===== */
.product-gallery-stage{position:relative;border-radius:12px;background:var(--pale);overflow:hidden;aspect-ratio:1/1}
.product-gallery-slide{position:absolute;inset:0;margin:0;opacity:0;visibility:hidden;transition:opacity .35s var(--ease),visibility .35s}
.product-gallery-slide.is-active{opacity:1;visibility:visible}
.product-gallery-zoom{display:block;width:100%;height:100%;padding:0;border:0;background:none;cursor:zoom-in}
.product-gallery-img{width:100%;height:100%;object-fit:contain;padding:28px;mix-blend-mode:multiply}
.product-gallery-empty{display:grid;place-items:center}
.product-gallery-empty .product-card-placeholder svg{width:84px;height:84px}
.product-gallery-arrow{position:absolute;top:50%;z-index:2;display:grid;place-items:center;width:46px;height:46px;margin-top:-23px;border:1px solid var(--line);border-radius:50%;background:#fff;color:var(--ink);font-size:26px;line-height:1;cursor:pointer;box-shadow:0 6px 18px #35203f1a;transition:background .2s,color .2s,transform .2s}
.product-gallery-arrow.is-prev{left:16px}
.product-gallery-arrow.is-next{right:16px}
.product-gallery-arrow:hover{background:var(--ink);color:#fff;transform:scale(1.05)}
.product-gallery-counter{position:absolute;right:16px;bottom:16px;z-index:2;padding:6px 12px;border-radius:999px;background:var(--ink);color:#fff;font-size:13px;font-weight:700;letter-spacing:.04em}
.product-gallery-thumbs{display:flex;gap:10px;margin-top:14px;overflow-x:auto;padding-bottom:6px;scrollbar-width:thin}
.product-gallery-thumb{flex:0 0 78px;height:78px;padding:6px;border:2px solid transparent;border-radius:8px;background:var(--pale);cursor:pointer;transition:border-color .2s}
.product-gallery-thumb img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}
.product-gallery-thumb:hover{border-color:var(--line)}
.product-gallery-thumb[aria-current]{border-color:var(--coral)}
.product-lightbox{width:min(1100px,94vw);max-height:92vh;padding:0;border:0;border-radius:12px;background:#fff;overflow:hidden}
.product-lightbox::backdrop{background:#1c1022d9}
.product-lightbox-img{display:block;width:100%;height:auto;max-height:88vh;object-fit:contain;padding:24px}
.product-lightbox-close{position:absolute;right:14px;top:14px;z-index:3}

/* ===== Summary ===== */
.product-label{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.14em;color:var(--teal);margin-bottom:12px}
.product-title{font-size:clamp(28px,2.6vw,38px);line-height:1.15;margin-bottom:14px}
.product-price{font-size:24px;font-weight:700;color:var(--ink);margin-bottom:18px}
.product-price del{color:var(--muted);font-weight:400;font-size:18px;margin-right:8px}
.product-price ins{text-decoration:none;color:var(--teal)}
.product-types{margin-bottom:20px}
.product-facts{display:grid;gap:0;margin:0 0 22px;border-top:1px solid var(--line)}
.product-facts div{display:grid;grid-template-columns:120px minmax(0,1fr);gap:16px;padding:12px 0;border-bottom:1px solid var(--line)}
.product-facts dt{font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}
.product-facts dd{margin:0;font-weight:500}
.product-short{color:var(--muted);margin-bottom:20px}
.product-short p{margin:0 0 .8em}
/* Amount buttons (variation choices shown as buttons; the select stays for WooCommerce) */
.smm-choice-group{display:flex;flex-wrap:wrap;gap:8px}
.smm-choice{min-width:66px;padding:10px 14px;border:1px solid #cdbfd3;border-radius:6px;background:#fff;font:inherit;font-size:15px;font-weight:600;color:var(--ink);cursor:pointer;transition:border-color .2s,background .2s,color .2s}
.smm-choice:hover{border-color:var(--ink)}
.smm-choice[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:#fff}
/* Gift card: typed amount after the amount buttons */
.smm-giftcard-custom{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;margin-top:12px}
.smm-giftcard-custom label{flex-basis:100%;font-size:14px;font-weight:600;color:var(--ink)}
.smm-giftcard-input{position:relative;display:inline-flex;align-items:center}
.smm-giftcard-input span{position:absolute;left:12px;font-weight:600;color:var(--ink);pointer-events:none}
.smm-giftcard-input input{width:150px;min-height:42px;padding:8px 12px 8px 26px;border:1px solid #cdbfd3;border-radius:6px;background:#fff;font:inherit;font-size:15px;font-weight:600;color:var(--ink)}
.smm-giftcard-input input:focus{outline:2px solid var(--ink);outline-offset:1px;border-color:var(--ink)}
.smm-giftcard-custom small{font-size:13px;color:var(--muted,#6b5d70)}
form.is-custom-amount .woocommerce-variation-price{display:none}
/* Express pay buttons (WooPay, Apple Pay, Google Pay) skip the typed amount, so they're hidden for it. */
.smm-custom-amount .wcpay-express-checkout-wrapper,.smm-custom-amount #wcpay-express-checkout-element,.smm-custom-amount #wcpay-woopay-button{display:none!important}
.smm-choice-select{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.product-kind-giftcard .product-buy form.cart .frm_forms{width:100%;margin:6px 0 4px;padding:18px 18px 4px;border:1px solid var(--line);border-radius:10px;background:var(--pale)}
.product-kind-giftcard .product-buy form.cart .frm_forms legend{display:none}
.product-kind-giftcard .product-buy form.cart .frm_forms .frm_form_field{margin-bottom:12px}
.product-kind-giftcard .product-buy form.cart .frm_forms input:not([type=radio]):not([type=checkbox]),.product-kind-giftcard .product-buy form.cart .frm_forms select,.product-kind-giftcard .product-buy form.cart .frm_forms textarea{min-height:42px}
.product-kind-giftcard .product-buy form.cart .frm_forms textarea{height:80px;min-height:60px}
/* How it works (gift card) */
.product-steps{margin:34px 0 0;padding:26px 28px;border:1px solid var(--line);border-radius:12px;background:var(--pale)}
.product-steps h2{font-size:22px;margin-bottom:16px}
.product-steps ol{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0;padding:0;list-style:none;counter-reset:step}
.product-steps li{display:grid;gap:4px;padding-left:46px;position:relative;counter-increment:step}
.product-steps li:before{content:counter(step);position:absolute;left:0;top:0;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--coral);font-weight:700}
.product-steps li span{color:var(--muted);font-size:15px}
.product-more.is-aside-only{grid-template-columns:1fr}
@media(max-width:780px){.product-steps ol{grid-template-columns:1fr}}

/* Add to cart (WooCommerce markup) */
.product-buy{margin-bottom:22px}
.product-buy form.cart{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px;margin:0}
.product-buy form.cart .variations{width:100%;border-collapse:collapse;margin-bottom:6px}
.product-buy form.cart .variations th,.product-buy form.cart .variations td{display:block;padding:0;text-align:left}
.product-buy form.cart .variations label{display:block;font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--teal);margin-bottom:7px}
.product-buy form.cart .variations select{width:100%;font:inherit;font-size:15px;color:var(--ink);background:#fff;border:1px solid #cdbfd3;border-radius:6px;padding:12px 14px}
.product-buy form.cart .reset_variations{display:inline-block;margin-top:8px;font-size:13px;text-decoration:underline}
.product-buy form.cart .single_variation_wrap{width:100%}
.product-buy form.cart .woocommerce-variation-price{font-size:20px;font-weight:700;margin-bottom:10px}
.product-buy form.cart .woocommerce-variation-add-to-cart{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end}
.product-buy .quantity{display:flex}
.product-buy .quantity .qty{width:84px;height:52px;font:inherit;font-size:16px;text-align:center;color:var(--ink);background:#fff;border:1px solid #cdbfd3;border-radius:6px}
.product-buy .single_add_to_cart_button{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:14px 32px;border:0;border-radius:6px;background:var(--ink);color:#fff;font:inherit;font-size:16px;font-weight:600;cursor:pointer;transition:transform .22s,box-shadow .22s,background .22s;flex:1;max-width:340px}
.product-buy .single_add_to_cart_button:hover{transform:translateY(-3px);box-shadow:0 8px 22px #35203f2e;background:#562d63}
.product-buy .single_add_to_cart_button.disabled{opacity:.5;cursor:not-allowed;transform:none;box-shadow:none}
.product-buy .stock{width:100%;margin:0 0 4px;font-size:14px;font-weight:600;color:var(--teal)}
.product-buy .stock.out-of-stock{color:#9b2c3c}
.product-kind-class .product-buy .stock.in-stock,.product-kind-event .product-buy .stock.in-stock{display:none} /* Shown as "seats left" in the facts. */
.product-buy .frm_forms,.product-buy .frm_form_fields{width:100%}
.product-ask{padding:20px 22px;border-radius:10px;background:var(--pale)}
.product-ask p{margin-bottom:14px;color:var(--muted)}
.product-ask strong{display:block;color:var(--ink);font-size:17px;margin-bottom:4px}
.product-ask-actions{display:flex;flex-wrap:wrap;gap:10px}

.product-promises{display:grid;gap:10px;margin:0 0 22px;padding:0;list-style:none}
.product-promises li{position:relative;padding-left:30px;font-size:15px;font-weight:500}
.product-promises li:before{content:'';position:absolute;left:0;top:1px;width:20px;height:20px;border-radius:50%;background:#f3cf70 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2335203f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/12px no-repeat}
.product-help{display:flex;flex-wrap:wrap;gap:10px 18px;align-items:center;padding:16px 18px;border:1px dashed #d8c9de;border-radius:10px}
.product-help-title{width:100%;font-size:14px;font-weight:700}
.product-help a{display:inline-flex;align-items:center;gap:8px;font-size:14px}
.product-help a:hover{color:var(--teal)}
.product-help svg{width:15px;height:15px;color:var(--teal)}

/* ===== Description, supply list and details ===== */
.product-more{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:48px;align-items:start;margin-top:72px;padding-top:56px;border-top:2px dashed var(--line)}
.product-section h2{font-size:clamp(23px,2vw,28px);margin-bottom:18px}
.product-content{color:#4a3d50;font-size:16px;line-height:1.7}
.product-content p,.product-content ul,.product-content ol{margin:0 0 1em}
.product-content ul,.product-content ol{padding-left:1.25em}
.product-content a{color:var(--teal);text-decoration:underline;text-underline-offset:4px}
.product-content img{max-width:100%;height:auto;border-radius:8px}
.product-content h2,.product-content h3,.product-content h4{color:var(--ink);margin:1.4em 0 .6em}
.product-video{margin-top:20px}
.product-aside{display:grid;gap:20px}
.product-card-box{padding:26px 26px 22px;border:1px solid var(--line);border-radius:10px;background:#fff}
.product-card-box h2{font-size:20px;margin-bottom:14px}
.product-details{margin:0}
.product-details div{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:14px;padding:10px 0;border-bottom:1px solid var(--line);font-size:15px}
.product-details div:last-child{border-bottom:0}
.product-details dt{color:var(--muted)}
.product-details dd{margin:0;font-weight:500}

.product-related{margin-top:56px;background:var(--pale)}
.product-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}

/* WooCommerce notices (e.g. "added to your cart") */
.product-page .woocommerce-notices-wrapper:not(:empty){margin-bottom:22px}
.product-page .woocommerce-message,.product-page .woocommerce-error,.product-page .woocommerce-info{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin:0;padding:14px 18px;border-radius:8px;background:var(--pale);border-left:4px solid var(--teal);list-style:none}
.product-page .woocommerce-error{border-left-color:#9b2c3c;background:#fbf1f3}
.product-page .woocommerce-message .button{order:2}

@media(max-width:1100px){
	.product-grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:980px){
	.product-layout{grid-template-columns:1fr;gap:34px}
	.product-media{position:static}
	.product-more{grid-template-columns:1fr;gap:28px;margin-top:48px;padding-top:40px}
}
@media(max-width:600px){
	.product-page{padding-top:18px}
	.product-gallery-img{padding:16px}
	.product-gallery-arrow{width:40px;height:40px;margin-top:-20px;font-size:22px}
	.product-gallery-arrow.is-prev{left:10px}
	.product-gallery-arrow.is-next{right:10px}
	.product-gallery-thumb{flex-basis:64px;height:64px}
	.product-facts div{grid-template-columns:96px minmax(0,1fr)}
	.product-buy .single_add_to_cart_button{max-width:none}
	.product-grid-4{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){
	.product-gallery-slide{transition:none}
}
