/* Shop, category and product pages. Buttons / fields / dropdowns come from ui.css. */
.woocommerce-shop main, .tax-product_cat main, .single-product main { padding-top:5px; } /* title lands at the same height as the Cart page title */
.woocommerce-shop main, .tax-product_cat main, .single-product main {  padding-bottom:var(--wp--preset--spacing--60, 4rem); }
:is(.woocommerce-shop, .tax-product_cat, .single-product) main > * { max-width:1280px !important; margin-left:auto !important; margin-right:auto !important; }

/* Breadcrumb */
.wc-block-breadcrumbs, .woocommerce-breadcrumb { margin:0 0 1.25rem; font-family:var(--inxo-head); font-size:.78rem !important; font-weight:500; letter-spacing:.14em; text-transform:uppercase; color:var(--inxo-text); }
.woocommerce-breadcrumb { display:block; line-height:2; }
.woocommerce-breadcrumb a { color:var(--inxo-muted); text-decoration:underline; text-decoration-color:transparent; text-decoration-thickness:1px; text-underline-offset:.45em; transition:color .2s, text-decoration-color .2s; }
.woocommerce-breadcrumb a:hover, .woocommerce-breadcrumb a:focus-visible { color:var(--inxo-red); text-decoration-color:currentColor; outline:0; }
/* Chevron separator (drawn in CSS) */
.inxo-bc-sep { position:relative; top:-.12em; display:inline-block; vertical-align:middle; width:.42em; height:.42em; margin:0 1.1em 0 .9em; border-top:1.5px solid currentColor; border-right:1.5px solid currentColor; transform:rotate(45deg); opacity:.35; }

/* Page title (same as other pages) */
:is(.woocommerce-shop, .tax-product_cat) h1.wp-block-query-title { margin:0 0 2rem; text-align:center; font-family:var(--inxo-head); font-size:clamp(1.8rem, 3.5vw, 2.6rem); font-weight:700; letter-spacing:.12em; text-transform:uppercase; }

/* Toolbar: result count + sorting */
:is(.woocommerce-shop, .tax-product_cat) main > .wp-block-group.alignwide { align-items:center; margin-bottom:1.5rem; padding-bottom:1rem; border-bottom:1px solid #ececef; }
/* No "Showing 1–16 of 25 results" at the top (the count is under the products, in the pager); sorting stays on the right */
.wp-block-woocommerce-product-results-count { display:none !important; }
:is(.woocommerce-shop, .tax-product_cat) main > .wp-block-group.alignwide { justify-content:flex-end; }
.woocommerce-result-count { margin:0; color:var(--inxo-muted); font-size:.92rem; }
.woocommerce-ordering { margin:0; }
/* Not the hidden original select (select2-hidden-accessible): a 15rem-wide hidden select at the right edge made the whole page scroll sideways */
.woocommerce-ordering select:not(.select2-hidden-accessible) { min-width:15rem; font-size:.92rem !important; }

/* Product grid */
.wc-block-product-template { display:grid !important; grid-template-columns:repeat(4, minmax(0, 1fr)) !important; gap:2.2rem 1.5rem !important; margin:0; padding:0; list-style:none; }
.wc-block-product-template > li.wc-block-product { display:flex; flex-direction:column; width:auto !important; margin:0 !important; padding:0; }
.wc-block-product .wc-block-components-product-image { position:relative; margin:0 0 1rem; overflow:hidden; border-radius:16px; background:var(--inxo-soft); }
.wc-block-product .wc-block-components-product-image img { display:block; width:100%; height:auto; aspect-ratio:1 / 1; object-fit:cover; transition:transform .5s cubic-bezier(.2, .7, .2, 1); }
.wc-block-product:hover .wc-block-components-product-image img { transform:scale(1.05); }
.wc-block-product :is(h2, h3).wp-block-post-title { margin:0 0 .35rem; text-align:left !important; font-family:var(--inxo-body); font-size:1.05rem !important; font-weight:500; line-height:1.5 !important; letter-spacing:0; text-transform:none; margin-top:0 !important; }
.wc-block-product :is(h2, h3).wp-block-post-title a { color:var(--inxo-text); text-decoration:none; }
.wc-block-product :is(h2, h3).wp-block-post-title a:hover { color:var(--inxo-red); }
.wc-block-product .wc-block-components-product-price, .wc-block-product .wp-block-woocommerce-product-price { text-align:left !important; color:var(--inxo-muted); font-size:.98rem !important; }
.wc-block-product .wp-block-woocommerce-product-price { margin:0 0 1rem !important; }
.wc-block-product .wc-block-components-product-price del { opacity:.6; margin-right:.35rem; }
.wc-block-product .wc-block-components-product-price ins { color:var(--inxo-red); font-weight:600; text-decoration:none; }
.wc-block-product .wp-block-woocommerce-product-button { margin:auto 0 0 !important; text-align:left !important; }
.wc-block-product .wp-block-woocommerce-product-button { width:100%; }
.wc-block-product .wp-block-woocommerce-product-button .wp-block-button__link { width:100% !important; font-size:.9rem; min-height:42px; padding:.55rem 1.2rem; }
.wc-block-components-product-sale-badge { position:absolute; top:12px; right:12px; left:auto; margin:0 !important; padding:.28rem .85rem .1rem .85rem !important; border:0 !important; border-radius:99px !important; background:var(--inxo-red) !important; color:#fff !important; font:600 .72rem/1.5 var(--inxo-head) !important; letter-spacing:.08em; text-transform:uppercase; }
.wc-block-components-product-image .wc-block-components-product-sale-badge { z-index:2; }
/* "Sale!" on the product page picture: WooCommerce's round badge, in the site red instead of olive */
html body span.onsale, html body .woocommerce span.onsale { background-color:var(--inxo-red); }

/* Pagination: same as Past Events (see .inxo-pager in style.css and the pager filter in inc/events.php) */

/* ---------- Single product ---------- */
.single-product .wp-block-columns.alignwide { gap:2.25rem !important; align-items:flex-start; margin-top:1rem; flex-wrap:nowrap; }
.single-product .wp-block-columns .wp-block-column:first-child { flex:0 0 calc(40% - 1.125rem) !important; min-width:0; }
.single-product .wp-block-columns .wp-block-column:last-child { flex:1 1 0 !important; min-width:0; }
.single-product .wp-block-woocommerce-product-image-gallery { max-width:none !important; width:100%; } /* the block is capped at 512px: that was the empty space beside the picture */
.single-product .woocommerce-product-gallery { margin:0; float:none !important; width:100% !important; } /* WooCommerce makes the gallery 48% wide + floated: that left the big empty gap */
.single-product .woocommerce-product-gallery__wrapper { overflow:hidden; border-radius:18px; background:none !important; }
.single-product .woocommerce-product-gallery__image img { display:block; width:100%; height:auto; aspect-ratio:4 / 3; object-fit:cover; } /* one fixed shape, so the picture never changes height between photos */
.single-product h1.wp-block-post-title { margin:0 0 .6rem; font-family:var(--inxo-head); font-size:clamp(1.7rem, 3vw, 2.3rem); font-weight:700; letter-spacing:.04em; line-height:1.3 !important; }
.single-product .wp-block-column .wp-block-woocommerce-product-price { margin:0 0 1.2rem; }
.single-product .wp-block-column .wp-block-woocommerce-product-price .wc-block-components-product-price { font-size:1.6rem !important; font-weight:600; color:var(--inxo-red); }
.single-product .wp-block-column .wp-block-woocommerce-product-price del { color:var(--inxo-muted); font-weight:300; font-size:1.1rem; margin-right:.4rem; }
.single-product .wp-block-column .wp-block-woocommerce-product-price ins { text-decoration:none; }
.single-product .wp-block-post-excerpt { margin:0 0 1.6rem; color:#4a4a52; line-height:1.5; }
.single-product .wp-block-post-excerpt p { margin:0; }

/* Variation selectors: label above field */
.single-product table.variations { display:block; width:100%; margin:0 0 1.2rem; border:0; }
.single-product table.variations tbody, .single-product table.variations tr { display:block; }
.single-product table.variations tr { margin-bottom:1rem; }
.single-product table.variations th, .single-product table.variations td { display:block; padding:0 !important; border:0; text-align:left; }
.single-product table.variations th.label, .single-product table.variations th { margin-bottom:.3rem; font:500 .95rem/1.3 var(--inxo-body); color:#3c3c43; }
.single-product table.variations th label { margin:0; }
.single-product table.variations select { width:100%; max-width:22rem; }
.single-product .reset_variations { display:inline-flex; align-items:center; gap:.45rem; margin-top:-.4rem; padding:.2rem 0; color:#6b6b72; font:500 .88rem/1.5 var(--inxo-body); letter-spacing:.02em; text-decoration:none !important; transition:color .15s; }
.single-product .reset_variations::before { content:""; position:relative; top:-1px; width:15px; height:15px; background-color: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.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12a9 9 0 1 0 3-6.7L3 8'/%3E%3Cpath d='M3 3v5h5'/%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.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12a9 9 0 1 0 3-6.7L3 8'/%3E%3Cpath d='M3 3v5h5'/%3E%3C/svg%3E") center / contain no-repeat; transition:transform .35s; }
.single-product .reset_variations:hover, .single-product .reset_variations:focus-visible { color:var(--inxo-red); outline:0; }
.single-product .reset_variations:hover::before { transform:rotate(-200deg); }
.single-product .woocommerce-variation-price { margin:0 0 1rem; font-size:1.3rem; font-weight:600; color:var(--inxo-red); }
.single-product .woocommerce-variation-description p { margin:0 0 1rem; }

/* Quantity + add to cart on one row */
.single-product form.cart, .single-product .woocommerce-variation-add-to-cart { display:flex; flex-wrap:wrap; align-items:center; gap:.9rem; }
.single-product form.variations_form.cart { display:block; }
.single-product .woocommerce-variation-add-to-cart { margin-top:.4rem; }
.single-product form.cart .quantity { margin:0; }
.single-product form.cart .single_add_to_cart_button { min-width:11rem; }
.single-product form.cart .single_add_to_cart_button.is-adding { opacity:.65; pointer-events:none; }
.single-product .wp-block-add-to-cart-form { margin-bottom:1.5rem; }
.single-product .wp-block-column .wp-block-add-to-cart-form { align-self:stretch; width:100%; max-width:none !important; margin-left:0 !important; margin-right:0 !important; padding:0 !important; }
.single-product :is(form.cart, .woocommerce-variation-add-to-cart)::before, .single-product :is(form.cart, .woocommerce-variation-add-to-cart)::after { content:none !important; display:none !important; } /* WooCommerce clearfix pieces: as flex items + gap they pushed the quantity ~15px right */
.single-product .wp-block-add-to-cart-form form.cart { width:100%; margin:0 !important; padding:0 !important; justify-content:flex-start; }

/* Related products */
.single-product :is(.related, .wp-block-woocommerce-related-products) > h2, .single-product .wp-block-heading { margin:3.5rem 0 1.4rem; font-family:var(--inxo-head); font-size:1.4rem; font-weight:700; letter-spacing:.06em; }
.single-product .wc-block-product-template { grid-template-columns:repeat(4, minmax(0, 1fr)) !important; }

@media (max-width:1100px) {
	.wc-block-product-template, .single-product .wc-block-product-template { grid-template-columns:repeat(3, minmax(0, 1fr)) !important; }
}
@media (max-width:800px) {
	.wc-block-product-template, .single-product .wc-block-product-template { grid-template-columns:repeat(2, minmax(0, 1fr)) !important; gap:1.6rem 1rem !important; }
	.single-product .wp-block-columns.alignwide { flex-direction:column; gap:1.5rem !important; }
	.single-product .wp-block-columns .wp-block-column { flex-basis:100% !important; width:100%; }
	.single-product .wp-block-columns .wp-block-column:first-child, .single-product .wp-block-columns .wp-block-column:last-child { flex:0 0 auto !important; }
	.woocommerce-ordering select { min-width:0; width:100%; }
}

.single-product form.cart .quantity input.qty { height:46px; }
.single-product table.variations tr { margin-bottom:1.7rem; }
.single-product .wc-block-product-template .wp-block-woocommerce-product-price .wc-block-components-product-price { font-size:.98rem !important; font-weight:300; color:var(--inxo-muted); }

/* ---------- Details column: title, then SKU + category chips, then price, text, options ---------- */
.single-product .wp-block-columns .wp-block-column:last-child { display:flex; flex-direction:column; }
.single-product .wp-block-columns .wp-block-column:last-child > * { order:5; }
.single-product .wp-block-columns .wp-block-column:last-child > h1 { order:1; }
.single-product .wp-block-columns .wp-block-column:last-child > .wp-block-woocommerce-product-meta { order:2; margin:0 0 1.2rem; }
.single-product .wp-block-columns .wp-block-column:last-child > .wp-block-woocommerce-product-price { order:3; }
.single-product .wp-block-columns .wp-block-column:last-child > .wp-block-post-excerpt { order:4; }
.single-product .wp-block-woocommerce-product-meta > .wp-block-group { flex-wrap:wrap; align-items:center; gap:.5rem 1.1rem; margin:0; padding:0; border:0; }
.single-product .wp-block-woocommerce-product-sku { margin:0; color:var(--inxo-muted); font-size:.85rem; letter-spacing:.04em; }
.single-product .wp-block-woocommerce-product-sku .wp-block-post-terms__prefix { text-transform:uppercase; font-size:.75rem; letter-spacing:.1em; margin-right:.25rem; }
.single-product .taxonomy-product_cat { display:flex; flex-wrap:wrap; align-items:center; gap:.4rem; margin:0; }
.single-product .taxonomy-product_cat .wp-block-post-terms__prefix { display:none; }
.single-product .taxonomy-product_cat .wp-block-post-terms__separator { display:none; }
.single-product .taxonomy-product_cat a { display:inline-flex; align-items:center; gap:.35rem; padding:.25rem .85rem .25rem .7rem; border-radius:99px; background:#f0f0f2; color:var(--inxo-text) !important; font:500 .8rem/1.5 var(--inxo-body); letter-spacing:.03em; text-decoration:none !important; transition:background-color .15s, color .15s; }
.single-product .taxonomy-product_cat a::before { content:""; width:12px; height:12px; background-color: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.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z'/%3E%3Ccircle cx='7' cy='7' r='1.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.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z'/%3E%3Ccircle cx='7' cy='7' r='1.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.single-product .taxonomy-product_cat a:hover { background:var(--inxo-text); color:#fff !important; }

/* ---------- Tabs: a clear tab row (underline marks the open tab) with the content underneath ---------- */
html body .wp-block-woocommerce-product-details { margin-top:20px; }
html body .wp-block-woocommerce-product-details ul.tabs.wc-tabs { display:flex !important; flex-wrap:wrap; gap:0 2.4rem; margin:0 0 2rem !important; padding:0 !important; background:none; border:0 !important; border-bottom:1px solid #e4e4e8 !important; border-radius:0; overflow:visible; }
html body .wp-block-woocommerce-product-details ul.tabs.wc-tabs::before, html body .wp-block-woocommerce-product-details ul.tabs.wc-tabs::after { display:none !important; }
html body .wp-block-woocommerce-product-details ul.tabs.wc-tabs li { position:relative; margin:0 !important; padding:0 !important; border:0 !important; border-radius:0 !important; background:transparent !important; opacity:1 !important; box-shadow:none !important; }
html body .wp-block-woocommerce-product-details ul.tabs.wc-tabs li::before, html body .wp-block-woocommerce-product-details ul.tabs.wc-tabs li::after { display:none !important; }
html body .wp-block-woocommerce-product-details ul.tabs.wc-tabs li a { position:relative; display:block; padding:.9rem .1rem 1rem !important; border-radius:0; background:none; color:var(--inxo-text) !important; font:600 1.05rem/1.5 var(--inxo-head); letter-spacing:.04em; text-decoration:none !important; box-shadow:none; transition:color .15s; }
html body .wp-block-woocommerce-product-details ul.tabs.wc-tabs li a::after { content:""; position:absolute; left:0; right:0; bottom:-1px; height:3px; border-radius:3px 3px 0 0; background:var(--inxo-red); transform:scaleX(0); transform-origin:left; transition:transform .25s cubic-bezier(.2, .7, .2, 1); }
html body .wp-block-woocommerce-product-details ul.tabs.wc-tabs li:hover a::after { transform:scaleX(.35); }
html body .wp-block-woocommerce-product-details ul.tabs.wc-tabs li.active a { color:var(--inxo-text) !important; }
html body .wp-block-woocommerce-product-details ul.tabs.wc-tabs li.active a::after { transform:scaleX(1); }
html body .wp-block-woocommerce-product-details ul.tabs.wc-tabs li a:focus-visible { outline:2px solid var(--inxo-red); outline-offset:2px; }
.single-product .woocommerce-Tabs-panel { max-width:none; width:100%; line-height:1.5; }
.single-product .woocommerce-Tabs-panel > h2:first-child { display:none; }
/* Additional information: a clean specification table (label column on a soft background, thin row lines, rounded corners) */
.single-product table.woocommerce-product-attributes { display:table; table-layout:fixed; width:100%; max-width:none; margin:0; border:1px solid #e8e8ec; border-radius:16px; border-collapse:separate; border-spacing:0; overflow:hidden; background:#fff; }
.single-product table.woocommerce-product-attributes tbody { display:table-row-group; }
.single-product table.woocommerce-product-attributes tr { display:table-row; background:transparent !important; }
.single-product table.woocommerce-product-attributes :is(th, td, td p) { background:transparent !important; box-shadow:none; }
.single-product table.woocommerce-product-attributes th, .single-product table.woocommerce-product-attributes td { display:table-cell; padding:1rem 1.5rem; border:0; border-top:1px solid #eeeef1; text-align:left; vertical-align:top; }
.single-product table.woocommerce-product-attributes tr:first-child :is(th, td) { border-top:0; }
.single-product table.woocommerce-product-attributes th { box-sizing:border-box; width:250px; background:#f8f8fa !important; color:var(--inxo-text); font:600 .82rem/1.6 var(--inxo-body); letter-spacing:.09em; text-transform:uppercase; }
.single-product table.woocommerce-product-attributes td, .single-product table.woocommerce-product-attributes td * { color:#3c3c43; font:300 1rem/1.6 var(--inxo-body) !important; font-style:normal !important; } /* same light weight for every value (weight / dimensions come without a <p> and looked bold) */
.single-product table.woocommerce-product-attributes td p { margin:0 !important; padding:0; }

/* ---------- Product options (size, frame ...): pill buttons made from the dropdowns by assets/product.js ---------- */
.single-product table.variations select.inxo-opt-select { position:absolute; width:1px; height:1px; min-height:0 !important; padding:0 !important; margin:-1px; border:0 !important; overflow:hidden; clip-path:inset(50%); opacity:0; pointer-events:none; }
.single-product table.variations select.inxo-opt-select + .select2-container { display:none !important; }
.inxo-opts { display:flex; flex-wrap:wrap; gap:.55rem; }
.inxo-opt { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:.5rem 1.3rem .35rem; border:1.5px solid var(--inxo-line); border-radius:99px; background:#fff; color:var(--inxo-text); font:500 .98rem/1.4 var(--inxo-body); letter-spacing:.02em; cursor:pointer; transition:border-color .15s, background-color .15s, color .15s, transform .1s; }
.inxo-opt:hover:not(:disabled):not(.is-selected) { border-color:var(--inxo-text); }
.inxo-opt:active:not(:disabled) { transform:scale(.97); }
.inxo-opt.is-selected { border-color:var(--inxo-text); background:var(--inxo-text); color:#fff; }
.inxo-opt:disabled { opacity:.4; text-decoration:line-through; cursor:not-allowed; }
.inxo-opt:focus-visible { outline:2px solid #4a4a4f; outline-offset:2px; }

/* ---------- Gallery thumbnails: a row of 4 that slides (assets/product.js adds the arrows) ---------- */
.single-product .flex-viewport { overflow:hidden; border-radius:18px; }
.single-product .woocommerce-product-gallery .inxo-thumbs { position:relative; margin-top:1rem; }
.single-product .woocommerce-product-gallery .flex-control-thumbs { display:flex !important; flex-wrap:nowrap; gap:.6rem; width:100%; box-sizing:border-box; margin:1rem 0 0 !important; padding:0; list-style:none; overflow-x:auto !important; scroll-snap-type:x mandatory; scrollbar-width:none; }
.single-product .woocommerce-product-gallery .inxo-thumbs .flex-control-thumbs { margin:0 !important; }
.single-product .woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar { display:none; }
.single-product .woocommerce-product-gallery .flex-control-thumbs li { float:none !important; flex:0 0 calc((100% - 2.4rem) / 5); width:auto !important; margin:0 !important; padding:0; scroll-snap-align:start; }
.single-product .woocommerce-product-gallery .flex-control-thumbs img { display:block; width:100%; height:auto; aspect-ratio:1 / 1; object-fit:cover; border:2px solid transparent; border-radius:10px; opacity:.6; cursor:pointer; transition:opacity .15s, border-color .15s; }
.single-product .woocommerce-product-gallery .flex-control-thumbs img:hover { opacity:1; }
.single-product .woocommerce-product-gallery .flex-control-thumbs img.flex-active { opacity:1; border-color:var(--inxo-red); }
.single-product .woocommerce-product-gallery__trigger { top:14px; right:14px; width:38px; height:38px; border-radius:50%; background:#fff; box-shadow:0 2px 8px rgba(0, 0, 0, .15); }

/* Round arrow buttons for the sliders (thumbnails, related products) */
.inxo-arrow { position:absolute; top:50%; z-index:3; display:none; align-items:center; justify-content:center; width:38px; height:38px; margin:-19px 0 0; padding:0; border:0; border-radius:50%; background:#fff; color:var(--inxo-text); box-shadow:0 2px 10px rgba(0, 0, 0, .22); cursor:pointer; transition:background-color .15s, color .15s, opacity .15s; }
.inxo-arrow.is-prev { left:6px; }
.inxo-arrow.is-next { right:6px; }
.is-scrollable > .inxo-arrow { display:flex; }
.inxo-arrow:hover:not(:disabled), .inxo-arrow:focus-visible { background:var(--inxo-red); color:#fff; outline:0; }
.inxo-arrow:disabled { opacity:0; pointer-events:none; }
.inxo-thumbs .inxo-arrow { width:32px; height:32px; margin-top:-16px; }

/* ---------- Quantity: "-  1  +" like the cart drawer ---------- */
html body.single-product form.cart .quantity.inxo-qty { display:inline-flex; margin-left:0 !important; margin-right:0 !important; align-items:center; box-sizing:border-box; height:46px; margin:0; border:1px solid #bdbdc2; border-radius:16px; background:#fff; overflow:hidden; }
html body.single-product form.cart .quantity.inxo-qty input.qty { width:3rem !important; margin:0 !important; height:44px !important; min-height:0 !important; padding:0 !important; border:0 !important; border-radius:0 !important; background:transparent !important; box-shadow:none !important; text-align:center; font:600 1rem/1 var(--inxo-body); -moz-appearance:textfield; appearance:textfield; }
html body.single-product form.cart .quantity.inxo-qty input.qty::-webkit-outer-spin-button, html body.single-product form.cart .quantity.inxo-qty input.qty::-webkit-inner-spin-button { -webkit-appearance:none; margin:0; }
html body.single-product form.cart .quantity.inxo-qty input.qty:focus, html body.single-product form.cart .quantity.inxo-qty input.qty:focus-visible { outline:0 !important; box-shadow:none !important; }
html body.single-product form.cart .quantity.inxo-qty:focus-within { border-color:#4a4a4f; }
.inxo-qty-btn { display:flex; align-items:center; justify-content:center; width:2.8rem; height:44px; padding:0; border:0; background:transparent; color:var(--inxo-muted); font:500 1.3rem/1 var(--inxo-body); cursor:pointer; transition:color .15s, background-color .15s; }
.inxo-qty-btn:hover:not(:disabled) { color:var(--inxo-red); background:rgba(200, 21, 59, .06); }
.inxo-qty-btn:disabled { opacity:.35; cursor:not-allowed; }
.inxo-qty-btn:focus-visible { outline:2px solid #4a4a4f; outline-offset:-3px; }

/* ---------- Related products: a sliding row, 4 across ---------- */
.single-product .inxo-slider-wrap { position:relative; }
.single-product .inxo-slider .wc-block-product-template { display:flex !important; flex-wrap:nowrap !important; gap:1.5rem !important; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; padding-bottom:.25rem; }
.single-product .inxo-slider .wc-block-product-template::-webkit-scrollbar { display:none; }
.single-product .inxo-slider .wc-block-product-template > li.wc-block-product { flex:0 0 calc((100% - 4.5rem) / 4) !important; width:auto !important; max-width:none; scroll-snap-align:start; }
.single-product .inxo-slider-wrap > .inxo-arrow { top:35%; width:44px; height:44px; margin-top:-22px; }
.single-product .inxo-slider-wrap > .inxo-arrow.is-prev { left:-14px; }
.single-product .inxo-slider-wrap > .inxo-arrow.is-next { right:-14px; }
@media (max-width:1100px) { .single-product .inxo-slider .wc-block-product-template > li.wc-block-product { flex-basis:calc((100% - 3rem) / 3) !important; } }
@media (max-width:800px) { .single-product .inxo-slider .wc-block-product-template { gap:1rem !important; } .single-product .inxo-slider .wc-block-product-template > li.wc-block-product { flex-basis:calc((100% - 1rem) / 2) !important; } .single-product .inxo-slider-wrap > .inxo-arrow.is-prev { left:4px; } .single-product .inxo-slider-wrap > .inxo-arrow.is-next { right:4px; } }

/* Product cards: "View Details" (outline) above Add to cart / Select options */
.wc-block-product .inxo-card-actions { display:flex; flex-direction:column; gap:.6rem; margin:auto 0 0; width:100%; }
.wc-block-product .inxo-card-actions .wp-block-woocommerce-product-button { margin:0 !important; }
.wc-block-product .inxo-view-details { margin:0; width:100%; }
.wc-block-product .inxo-view-details .wp-block-button__link { width:100% !important; font-size:.9rem; min-height:42px; padding:.55rem 1.2rem; }

/* Tabs on phones: one row, the tabs share the width (no stacking), text centred */
@media (max-width:600px) {
	html body .wp-block-woocommerce-product-details ul.tabs.wc-tabs { flex-wrap:nowrap; gap:0; overflow-x:auto !important; scrollbar-width:none; }
	html body .wp-block-woocommerce-product-details ul.tabs.wc-tabs::-webkit-scrollbar { display:none; }
	html body .wp-block-woocommerce-product-details ul.tabs.wc-tabs li { flex:1 1 auto; text-align:center; }
	html body .wp-block-woocommerce-product-details ul.tabs.wc-tabs li a { padding:.8rem .6rem .9rem !important; font-size:.95rem; letter-spacing:.02em; white-space:nowrap; }
	.single-product table.woocommerce-product-attributes, .single-product table.woocommerce-product-attributes :is(tbody, tr, th, td) { display:block; width:100%; }
	.single-product table.woocommerce-product-attributes { border:0; border-radius:0; background:none; }
	.single-product table.woocommerce-product-attributes tr { margin:0 0 1.3rem; }
	.single-product table.woocommerce-product-attributes :is(th, td) { padding:0 !important; border:0 !important; }
	.single-product table.woocommerce-product-attributes th { width:100%; margin-bottom:.25rem; background:transparent !important; font-size:.74rem; color:var(--inxo-muted); }
}

/* Tablets: a wider picture column, narrower label column */
@media (max-width:1100px) and (min-width:801px) {
	.single-product .wp-block-columns .wp-block-column:first-child { flex:0 0 calc(48% - 1.125rem) !important; }
	.single-product table.woocommerce-product-attributes th { width:30%; }
}
