/* AutoQ product experience: shared tokens and components, no business behavior. */
/* Native block cards may carry theme group padding and flex title utilities. */
.autoq-experience :is(.wc-block-product-template,.wp-block-woocommerce-product-template)>li .wp-block-group { padding:0!important; min-width:0; width:100%; box-sizing:border-box; }
.autoq-experience :is(.wc-block-product-template,.wp-block-woocommerce-product-template) .wp-block-post-title { display:-webkit-box!important; word-break:normal!important; overflow-wrap:normal!important; }
:root { --aq-ink:#252a30; --aq-muted:#58616a; --aq-surface:#fff; --aq-soft:#f5f6f7; --aq-line:#dce0e3; --aq-accent:#b94b00; --aq-radius:14px; --aq-space:20px; --aq-container:1280px; --aq-shadow:0 8px 28px rgb(25 32 38 / 6%); }
.autoq-experience .autoq-base-page,.autoq-experience .autoq-catalog-page { width:min(var(--aq-container),100%); margin-inline:auto; box-sizing:border-box; }
.autoq-experience :is(.autoq-btn,.autoq-product-contact) { border-radius:10px; min-height:48px; box-sizing:border-box; }
.autoq-experience :is(a,button,input,select,summary):focus-visible { outline:3px solid var(--aq-accent); outline-offset:3px; }
.autoq-experience :is(.autoq-stock-grid,.autoq-catalog-grid,ul.products,.wc-block-product-template,.wp-block-woocommerce-product-template) { display:grid!important; grid-template-columns:repeat(auto-fill,minmax(220px,1fr))!important; gap:20px!important; width:100%; max-width:var(--aq-container); margin-inline:auto!important; padding:0; box-sizing:border-box; }
.autoq-experience ul.products::before,.autoq-experience ul.products::after { display:none!important; }
.autoq-experience :is(.autoq-product-card,ul.products>li.product,.wc-block-product-template>li,.wp-block-woocommerce-product-template>li) { display:flex; flex-direction:column; gap:10px; width:auto!important; min-width:0; margin:0!important; padding:16px!important; border:1px solid var(--aq-line); border-radius:var(--aq-radius); background:var(--aq-surface); color:var(--aq-ink); box-shadow:var(--aq-shadow); box-sizing:border-box; overflow:hidden; }
.autoq-experience :is(.autoq-product-card,ul.products>li.product,.wc-block-product-template>li,.wp-block-woocommerce-product-template>li) a { color:inherit; text-decoration:none; }
.autoq-experience :is(.autoq-product-card__image,.wc-block-components-product-image,ul.products li.product a img) { display:block; width:100%; aspect-ratio:1/1; height:auto; margin:0!important; overflow:hidden; background:#fff; border-radius:8px; }
.autoq-experience .autoq-product-card__image img,.autoq-experience .wc-block-components-product-image img,.autoq-experience ul.products li.product a img { width:100%; height:100%; max-height:none; object-fit:contain; }
.autoq-experience .autoq-product-card__image .autoq-stock-photo { display:block; width:100%; height:100%; aspect-ratio:1; background-size:contain; background-repeat:no-repeat; background-position:center; }
.autoq-experience :is(.autoq-product-card__brand,.autoq-product-brandline) { margin:0; color:var(--aq-muted); font-size:13px; font-weight:600; line-height:1.4; }
.autoq-experience :is(.autoq-product-card__title,ul.products li.product .woocommerce-loop-product__title,.wc-block-product-template .wp-block-post-title,.wp-block-woocommerce-product-template .wp-block-post-title) { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; overflow:hidden; min-height:4.35em; margin:0!important; padding:0!important; font-size:16px!important; line-height:1.45; font-weight:650; color:var(--aq-ink); overflow-wrap:anywhere; }
.autoq-experience .autoq-product-card__stock { margin:0; color:#385340; font-size:12px; line-height:1.5; }
.autoq-experience :is(.autoq-product-card__price,ul.products li.product .price,.wc-block-product-template .wc-block-components-product-price,.wp-block-woocommerce-product-template .wc-block-components-product-price) { margin:0!important; color:var(--aq-ink); font-size:22px!important; line-height:1.3; font-weight:700; overflow-wrap:anywhere; }
.autoq-experience .autoq-product-card__action { margin-top:auto; }
.autoq-experience :is(.autoq-product-card__action .button,ul.products li.product .button,.wc-block-product-template .wp-block-button__link,.wp-block-woocommerce-product-template .wp-block-button__link) { display:flex; justify-content:center; align-items:center; width:100%; min-height:48px; padding:12px 8px!important; margin:0!important; border:0; border-radius:10px; background:var(--aq-accent); color:#fff!important; text-align:center; font-size:14px!important; line-height:1.4; font-weight:600; white-space:normal; box-sizing:border-box; }
.autoq-experience .wc-block-components-product-button { margin-top:auto; }
.autoq-experience.single-product main { color:var(--aq-ink); }
.autoq-experience.single-product .autoq-pdp-layout { display:grid!important; grid-template-columns:minmax(0,1.15fr) minmax(0,1fr); gap:clamp(24px,3vw,48px)!important; width:min(var(--aq-container),calc(100% - 48px)); max-width:var(--aq-container)!important; margin:32px auto 48px!important; align-items:start!important; }
.autoq-experience.single-product .autoq-pdp-layout>.wp-block-column { width:auto!important; min-width:0; margin:0; }
.autoq-experience.single-product .autoq-pdp-layout>.wp-block-column:last-child,.autoq-experience.single-product .summary { padding:28px; background:#fff; border:1px solid var(--aq-line); border-radius:var(--aq-radius); box-shadow:var(--aq-shadow); box-sizing:border-box; }
.autoq-experience.single-product .woocommerce>div.product { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,1fr); gap:32px; max-width:var(--aq-container); margin-inline:auto; }
.autoq-experience.single-product .woocommerce>div.product>.woocommerce-product-gallery,.autoq-experience.single-product .woocommerce>div.product>.summary { float:none!important; width:auto!important; min-width:0; margin:0; }
.autoq-experience.single-product .woocommerce>div.product>:not(.woocommerce-product-gallery):not(.summary):not(.onsale) { grid-column:1/-1; }
.autoq-experience.single-product :is(.autoq-pdp-layout h1,.summary .product_title) { margin:10px 0 20px!important; font-size:clamp(25px,2.4vw,36px)!important; line-height:1.2; letter-spacing:-.025em; font-weight:650; color:var(--aq-ink); word-break:normal; overflow-wrap:anywhere; }
.autoq-experience.single-product :is(.autoq-pdp-layout .wp-block-woocommerce-product-price,.summary>.price) { color:var(--aq-ink); font-size:clamp(26px,2.4vw,34px)!important; line-height:1.2; font-weight:700; margin:20px 0!important; }
.autoq-experience.single-product .autoq-pdp-layout .wc-block-components-product-price { font-size:inherit!important; }
.autoq-experience.single-product :is(.stock,.wp-block-woocommerce-product-stock-indicator) { display:inline-block; width:fit-content; margin:10px 0 16px; padding:6px 12px; background:#eaf3ec; color:#284d32!important; border-radius:999px; font-size:13px; font-weight:600; }
.autoq-experience.single-product .stock.out-of-stock { background:#f9ece7; color:#853914!important; }
.autoq-experience .autoq-commercial-facts { display:flex; flex-wrap:wrap; gap:10px 20px; margin:18px 0; font-size:13px; line-height:1.45; }
.autoq-experience .autoq-commercial-facts>div { min-width:0; overflow-wrap:anywhere; }
.autoq-experience .autoq-commercial-facts dt { color:var(--aq-muted); font-size:12px; }
.autoq-experience .autoq-commercial-facts dd { margin:2px 0 0; color:var(--aq-ink); font-weight:600; }
.autoq-experience.single-product form.cart { display:flex; flex-wrap:wrap; gap:12px; align-items:center; margin:12px 0 16px!important; }
.autoq-experience.single-product form.cart .quantity { flex:0 0 auto; }
.autoq-experience.single-product form.cart input.qty:not([type=hidden]) { width:76px; min-height:52px; padding:12px; border:1px solid var(--aq-line); border-radius:10px; font-size:16px; }
.autoq-experience.single-product .single_add_to_cart_button { flex:1; min-width:180px; min-height:52px; padding:14px 18px!important; background:var(--aq-accent)!important; color:#fff!important; border-radius:10px!important; border:0; font-size:16px!important; font-weight:650; line-height:1.4; white-space:normal; }
.autoq-experience .autoq-product-contact { display:flex; justify-content:center; align-items:center; width:100%; padding:12px 16px; margin:12px 0; border:1px solid #b8c5bc; background:#f1f6f2; color:#244a30!important; font-size:15px; font-weight:600; text-decoration:none; text-align:center; }
.autoq-experience.single-product .autoq-product-gallery .woocommerce-product-gallery__image img:not(.zoomImg) { max-height:none!important; aspect-ratio:1/1; object-fit:contain; }
.autoq-experience.single-product .autoq-product-gallery .flex-viewport { max-height:none!important; }
.autoq-experience.single-product :is(.wp-block-woocommerce-product-details,.woocommerce-tabs,.related.products,.wp-block-woocommerce-product-collection) { box-sizing:border-box; width:min(var(--aq-container),calc(100% - 48px)); max-width:var(--aq-container)!important; margin:40px auto!important; }
.autoq-experience.single-product .wp-block-woocommerce-product-details .woocommerce-tabs { width:100%; margin:0!important; }
.autoq-experience.single-product .woocommerce-tabs ul.tabs { display:flex; flex-wrap:wrap; gap:8px; padding:0!important; margin:0 0 20px!important; border-bottom:1px solid var(--aq-line); }
.autoq-experience.single-product .woocommerce-tabs ul.tabs::before,.autoq-experience.single-product .woocommerce-tabs ul.tabs li::before,.autoq-experience.single-product .woocommerce-tabs ul.tabs li::after { display:none!important; }
.autoq-experience.single-product .woocommerce-tabs ul.tabs li { border:0!important; background:transparent!important; margin:0!important; padding:0!important; border-radius:0; }
.autoq-experience.single-product .woocommerce-tabs ul.tabs li a { display:block; padding:14px 12px!important; min-height:48px; box-sizing:border-box; color:var(--aq-muted)!important; font-size:14px; line-height:1.4; text-decoration:none; }
.autoq-experience.single-product .woocommerce-tabs ul.tabs li.active a { color:var(--aq-ink)!important; box-shadow:inset 0 -3px var(--aq-accent); }
.autoq-experience.single-product .woocommerce-tabs .panel { padding:24px; border:1px solid var(--aq-line); border-radius:var(--aq-radius); background:#fff; line-height:1.7; }
.autoq-experience.single-product :is(.woocommerce-tabs h2,.related>h2,.wp-block-woocommerce-product-collection>h2) { margin-top:0; font-size:24px!important; line-height:1.3; color:var(--aq-ink)!important; }
.autoq-experience .autoq-specs { width:100%; border-collapse:collapse; font-size:15px; }
.autoq-experience .autoq-specs :is(th,td) { padding:12px 16px; text-align:left; vertical-align:top; border-bottom:1px solid var(--aq-line); overflow-wrap:anywhere; }
.autoq-experience .autoq-specs th { width:32%; font-weight:600; background:var(--aq-soft); }
.autoq-experience .autoq-compatibilities { padding-left:20px; }
.autoq-experience .autoq-compatibilities li { margin:10px 0; }
@media(min-width:768px) and (max-width:1199px) { .autoq-experience :is(.autoq-stock-grid,.autoq-catalog-grid,ul.products,.wc-block-product-template,.wp-block-woocommerce-product-template) { grid-template-columns:repeat(3,minmax(0,1fr))!important; gap:16px!important; } }
@media(max-width:900px) { .autoq-experience.single-product .autoq-pdp-layout,.autoq-experience.single-product .woocommerce>div.product { grid-template-columns:minmax(0,1fr); } }
@media(max-width:767px) {
 .autoq-experience :is(.autoq-stock-grid,.autoq-catalog-grid,ul.products,.wc-block-product-template,.wp-block-woocommerce-product-template) { grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:10px!important; }
 .autoq-experience :is(.autoq-product-card,ul.products>li.product,.wc-block-product-template>li,.wp-block-woocommerce-product-template>li) { padding:10px!important; gap:8px; border-radius:10px; }
 .autoq-experience :is(.autoq-product-card__title,ul.products li.product .woocommerce-loop-product__title,.wc-block-product-template .wp-block-post-title,.wp-block-woocommerce-product-template .wp-block-post-title) { font-size:14px!important; }
 .autoq-experience :is(.autoq-product-card__price,ul.products li.product .price,.wc-block-product-template .wc-block-components-product-price,.wp-block-woocommerce-product-template .wc-block-components-product-price) { font-size:18px!important; }
 .autoq-experience.single-product .autoq-pdp-layout { width:calc(100% - 24px); gap:20px!important; margin:20px auto!important; }
 .autoq-experience.single-product .autoq-pdp-layout>.wp-block-column:last-child,.autoq-experience.single-product .summary { padding:20px 16px; }
 .autoq-experience.single-product :is(.wp-block-woocommerce-product-details,.woocommerce-tabs,.related.products,.wp-block-woocommerce-product-collection) { width:calc(100% - 24px); margin:28px auto!important; }
 .autoq-experience.single-product .woocommerce-tabs .panel { padding:16px; }
 .autoq-experience .autoq-specs :is(th,td) { padding:10px; font-size:14px; }
 .autoq-experience.single-product .woocommerce-tabs ul.tabs li { flex:1 1 140px; }
 body.autoq-experience .joinchat { position:fixed!important; inset:auto 16px 16px auto!important; width:52px!important; height:52px!important; margin:0!important; --s:52px; }
 body.autoq-experience .joinchat .joinchat__button { width:52px!important; height:52px!important; }
}

/* Keep native block links clamped even when the theme makes them flex items. */
.autoq-experience :is(.wc-block-product-template,.wp-block-woocommerce-product-template) .wp-block-post-title a { display:-webkit-box!important; -webkit-box-orient:vertical; -webkit-line-clamp:3; overflow:hidden; word-break:normal; overflow-wrap:normal; }
.autoq-experience.single-product .woocommerce-tabs .panel { padding:24px!important; }
.autoq-experience .autoq-specs th { overflow-wrap:normal; word-break:normal; }
@media(max-width:767px) { .autoq-experience.single-product .woocommerce-tabs .panel { padding:16px!important; } .autoq-experience .autoq-specs th { width:40%; } }

/* Shared product surfaces only; keep PDP gallery and noncommercial containers intact. */
.autoq-experience.single-product :is(.product_meta .sku_wrapper,.wp-block-woocommerce-product-sku) { display:none!important; }
@media(min-width:1200px) {
 .autoq-experience :is(.autoq-stock-section,.autoq-catalog-page,.related.products,.wp-block-woocommerce-product-collection) { width:min(1520px,calc(100% - 48px))!important; max-width:1520px!important; margin-inline:auto!important; box-sizing:border-box; }
 .autoq-experience :is(.autoq-stock-grid,.autoq-catalog-grid,ul.products,.wc-block-product-template,.wp-block-woocommerce-product-template) { max-width:1520px!important; grid-template-columns:repeat(5,minmax(0,1fr))!important; gap:20px!important; }
 .autoq-experience :is(.autoq-product-card__price,.wc-block-components-product-price,ul.products li.product .price) { white-space:nowrap; overflow-wrap:normal; }
 .autoq-experience :is(.autoq-product-card__action .button,ul.products li.product .button,.wc-block-product-template .wp-block-button__link) { white-space:nowrap; }
}
@media(min-width:1500px) {
 .autoq-experience :is(.autoq-stock-grid,.autoq-catalog-grid,ul.products,.wc-block-product-template,.wp-block-woocommerce-product-template) { grid-template-columns:repeat(6,minmax(0,1fr))!important; }
}

@media(min-width:1200px) {
 .autoq-experience .autoq-top-ecosystem>.autoq-stock-section { width:min(1520px,calc(100vw - 64px))!important; margin-inline:calc((100% - min(1520px,calc(100vw - 64px))) / 2)!important; }
 .autoq-experience.single-product :is(.related.products,.wp-block-woocommerce-product-collection) { width:min(1520px,calc(100% - 48px))!important; max-width:1520px!important; }
 .autoq-experience :is(.autoq-stock-grid,.autoq-catalog-grid,ul.products,.wc-block-product-template,.wp-block-woocommerce-product-template) { grid-template-columns:repeat(auto-fill,minmax(220px,1fr))!important; }
}

/* 2.2 PDP refinement: shared classic/block presentation, no loop/card changes. */
.autoq-experience.single-product .autoq-pdp-layout,
.autoq-experience.single-product .woocommerce>div.product {
 grid-template-columns:minmax(0,58fr) minmax(0,42fr);
 gap:clamp(20px,2.5vw,36px)!important;
 width:min(1440px,calc(100% - 48px)); max-width:1440px!important;
}
.autoq-experience.single-product .autoq-pdp-layout>.wp-block-column:last-child,
.autoq-experience.single-product .summary { padding:clamp(20px,2vw,28px); }
.autoq-experience.single-product .autoq-product-gallery { width:100%!important; float:none!important; margin:0!important; background:#fff; border:1px solid var(--aq-line); border-radius:var(--aq-radius); padding:12px; box-sizing:border-box; }
.autoq-experience.single-product .autoq-product-gallery .woocommerce-product-gallery__image--placeholder img { width:100%; aspect-ratio:1; height:auto; object-fit:contain; }
.autoq-experience.single-product .autoq-product-gallery .flex-control-thumbs { padding:12px 0 0; }
.autoq-experience.single-product .autoq-product-gallery .flex-control-thumbs img { border-radius:8px; background:var(--aq-soft); }
.autoq-experience.single-product .autoq-commercial-facts { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px 16px; padding:14px 0; margin:12px 0; border-block:1px solid var(--aq-line); }
.autoq-experience.single-product .autoq-commercial-facts dd { font-size:14px; line-height:1.5; }
.autoq-experience.single-product :is(.autoq-pdp-layout h1,.summary .product_title) { margin:8px 0 16px!important; font-size:clamp(24px,2.1vw,32px)!important; line-height:1.25; }
.autoq-experience.single-product .autoq-compatibilities { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; padding:0; margin:16px 0 0; list-style:none; }
.autoq-experience.single-product .autoq-compatibilities li { margin:0; padding:16px; background:var(--aq-soft); border:1px solid var(--aq-line); border-left:3px solid var(--aq-accent); border-radius:8px; line-height:1.65; overflow-wrap:anywhere; }
.autoq-experience.single-product .autoq-specs { table-layout:fixed; }
@media(max-width:900px) {
 .autoq-experience.single-product .autoq-pdp-layout,.autoq-experience.single-product .woocommerce>div.product { grid-template-columns:minmax(0,1fr); }
}
@media(max-width:767px) {
 .autoq-experience.single-product .autoq-pdp-layout,.autoq-experience.single-product .woocommerce>div.product { width:calc(100% - 24px); gap:16px!important; }
 .autoq-experience.single-product .autoq-pdp-layout>.wp-block-column:last-child,.autoq-experience.single-product .summary { padding:20px 16px; }
 .autoq-experience.single-product .autoq-product-gallery { padding:8px; }
 .autoq-experience.single-product .autoq-compatibilities { grid-template-columns:minmax(0,1fr); }
 .autoq-experience.single-product form.cart input.qty:not([type=hidden]) { width:64px; }
 .autoq-experience.single-product .single_add_to_cart_button { min-width:160px; padding-inline:12px!important; }
}

.autoq-experience.single-product .autoq-pdp-layout .wp-block-woocommerce-product-image-gallery { width:100%!important; max-width:100%!important; margin-inline:0!important; }
