/* Explicit six-ray marker only; no homepage/event/product/cart global overrides. */
body:has([data-cr-ray-style]) #left-column{display:none}
body:has([data-cr-ray-style]) :is(#center-column,#content-wrapper){width:100%;max-width:100%;flex:0 0 100%;min-width:0}
body:has([data-cr-ray-style]) .subcategory,body:has([data-cr-ray-style]) #subcategories{display:none}
body:has([data-cr-ray-ready="Tableaux"]) #products{display:none}
body:has([data-cr-ray-ready="Produits"]) .crw-bt{display:none}
body:has([data-cr-ray-style]) .crb-layout--constrained{width:100%;max-width:1180px;margin:auto;padding:16px;min-width:0;box-sizing:border-box}
body:has([data-cr-ray-style]) .category__header .crw-tp{padding:20px;border-radius:20px;background:linear-gradient(135deg,#faf8ff,#fff);border-left:4px solid #8b6cf6;margin:16px 0}
body:has([data-cr-ray-style]) .category__header .crw-tp:not(#parois-oxford-420d) .crw-title{display:none}
body:has([data-cr-ray-style]) .crw-tp__body{font-size:15px;line-height:1.6}
.cr-ray-more{margin-top:12px;border-top:1px solid #e5deef;padding-top:10px}.cr-ray-more>summary{cursor:pointer;color:#5428bd;font-weight:700;min-height:44px;align-content:center}
.cr-ray-group{max-width:1180px;width:100%;min-width:0;margin:24px auto 32px;box-sizing:border-box}.cr-ray-title{font-size:clamp(22px,3vw,30px);font-weight:850;letter-spacing:-.025em;color:#171225;margin:0 0 12px}.cr-ray-hint{font-size:13px;color:#665773;margin:0 0 14px}
.cr-ray-panels{display:flex;align-items:stretch;gap:18px;width:100%;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;padding:4px 2px 16px;scrollbar-color:#7345cf #eee8f7;box-sizing:border-box}
.cr-ray-panels>.crw-bt{flex:0 0 min(560px,calc(100% - 16px));min-width:0;margin:0;display:flex;flex-direction:column;align-self:stretch;border:1px solid #e1d8ef;border-top:4px solid #a65de0;border-radius:20px;padding:0;overflow:hidden;background:#fff;box-shadow:0 8px 22px #34204d0b;scroll-snap-align:start}
.cr-ray-panels[data-single="1"]>.crw-bt{flex-basis:100%}
.cr-ray-panels .crw-bt__head{padding:18px;background:linear-gradient(120deg,#171225,#452276);color:#fff;min-height:120px}
.cr-ray-panels .crw-bt__title{font-size:20px;color:#fff;margin:5px 0 10px}.cr-ray-panels .crw-bt__kicker{color:#e8c6ff;font-size:11px;letter-spacing:.08em;margin:0}.cr-ray-panels .crw-bt__text{color:#ece5f4;font-size:13px;line-height:1.5}.cr-ray-panels .crw-bt__text p{margin:6px 0}
.cr-ray-table-scroll{width:100%;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}.cr-ray-panels .crw-bt__table{width:100%;min-width:500px;border-collapse:collapse;font-size:13px;margin:0}
.cr-ray-panels .crw-bt__table th,.cr-ray-panels .crw-bt__table td{padding:11px 12px;vertical-align:middle;text-align:left;border-bottom:1px solid #eee9f3;overflow-wrap:normal}
.cr-ray-panels .crw-bt__table thead th{background:#f1ecf8;color:#332445;font-size:12px;white-space:nowrap}.cr-ray-panels .crw-bt__row:nth-child(even){background:#faf8fd}.cr-ray-panels .crw-bt__price{font-weight:800;white-space:nowrap}.cr-ray-panels .crw-bt__stock{font-size:12px;color:#655c70}
.cr-ray-panels .crw-bt__label small{display:block;font-size:11px;line-height:1.5;font-weight:400;color:#675d73}.cr-ray-panels .crw-bt__see{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:6px 12px;border-radius:10px;background:#f0e9ff;color:#5424b8;font-weight:700;text-decoration:none}.cr-ray-panels .crw-bt__note{font-size:12px;padding:12px 16px;margin:0}
.cr-ray-product-photo{width:44px;height:44px;object-fit:contain;float:left;margin:0 9px 4px 0;border-radius:6px;background:white}
.cr-ray-panels:focus-visible,.cr-ray-table-scroll:focus-visible,.cr-ray-more>summary:focus-visible{outline:3px solid #7a46d4;outline-offset:3px}
body:has([data-cr-ray-ready="Produits"]) #js-product-list .products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:stretch}
body:has([data-cr-ray-ready="Produits"]) .product-miniature{width:100%;min-width:0;max-width:100%;padding:0}
body:has([data-cr-ray-ready="Produits"]) .product-miniature__inner{height:100%;display:flex;flex-direction:column;border:1px solid #e1d8ee;border-top:3px solid #9c6de4;border-radius:18px;padding:12px;background:linear-gradient(155deg,#fff 70%,#f7f1ff)}
body:has([data-cr-ray-ready="Produits"]) .product-miniature__image{height:170px;width:100%;object-fit:contain}
body:has([data-cr-ray-ready="Produits"]) .product-miniature__bottom,body:has([data-cr-ray-ready="Produits"]) .product-miniature__infos{display:flex;flex-direction:column;flex:1;min-width:0}
body:has([data-cr-ray-ready="Produits"]) .product-miniature__title{font-size:15px;line-height:1.4;margin:10px 0}
body:has([data-cr-ray-ready="Produits"]) .product-miniature__prices{margin-top:auto;font-size:17px}
@media(max-width:1000px){body:has([data-cr-ray-ready="Produits"]) #js-product-list .products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.cr-ray-group{margin:12px auto 16px}.cr-ray-panels{gap:12px}.cr-ray-panels>.crw-bt{align-self:flex-start;height:auto;min-height:0}.cr-ray-panels .crw-bt__head{padding:12px;min-height:0}.cr-ray-panels .crw-bt__title{font-size:18px;line-height:1.3}.cr-ray-panels .crw-bt__text{font-size:14px;line-height:1.5}body:has([data-cr-ray-style]) .crb-layout--constrained{padding:8px}body:has([data-cr-ray-style]) #header .crb-layout--constrained{padding:0}body:has([data-cr-ray-style]) .category__header .crw-tp{padding:14px;gap:12px;margin:8px 0}body:has([data-cr-ray-style]) .category__header .crw-tp__photo{max-height:150px}body:has([data-cr-ray-ready="Produits"]) #js-product-list .products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}body:has([data-cr-ray-ready="Produits"]) .product-miniature__image{height:130px}body:has([data-cr-ray-ready="Produits"]) .product-miniature__title{font-size:13px}}
@media(max-width:359px){body:has([data-cr-ray-ready="Produits"]) #js-product-list .products{grid-template-columns:1fr}}
/* Keep actual tables on phones despite native mobile card rules; overflow stays inside the labelled region. */
.cr-ray-panels .crw-bt__table{display:table}
.cr-ray-panels .crw-bt__table thead{display:table-header-group}
.cr-ray-panels .crw-bt__table tbody{display:table-row-group}
.cr-ray-panels .crw-bt__table tr{display:table-row;margin:0;padding:0}
.cr-ray-panels .crw-bt__table :is(td,th){display:table-cell}

/* Photos and characteristics share the header; native controls stay linked to their form. */
.cr-ray-header-photos{display:flex;gap:8px;overflow-x:auto;margin:0 0 12px;max-width:100%}
.cr-ray-header-photo{width:112px;height:96px;flex:none;object-fit:contain;background:#fff;border-radius:10px;padding:4px}
.cr-ray-panels .cr-ray-colour{display:flex;flex-direction:column;gap:4px;margin-top:8px;font-size:12px;font-weight:600}
.cr-ray-panels .cr-ray-colour select{width:100%;max-width:180px;min-height:44px;color:#241934;background:#fff}
.cr-ray-panels .cr-ray-quantity{width:64px;min-height:44px;padding:8px;border:1px solid #d7cce5;border-radius:8px;color:#241934;background:#fff;font-size:16px}
.cr-ray-panels .crw-bt__do form{flex-wrap:wrap}

.cr-ray-panels .cr-ray-swatches{display:flex;flex-wrap:wrap;gap:6px;margin-top:5px}
.cr-ray-panels .cr-ray-swatch{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;border:2px solid transparent;border-radius:50%;background:transparent;cursor:pointer;padding:7px;box-sizing:border-box}
.cr-ray-panels .cr-ray-swatch::before{content:"";width:26px;height:26px;border:1px solid #b4aebc;border-radius:50%;background:var(--swatch-colour,#fff)}
.cr-ray-panels .cr-ray-swatch[aria-pressed="true"]{border-color:#7345cf;box-shadow:0 0 0 1px #fff inset}
.cr-ray-panels .cr-ray-swatch:focus-visible{outline:3px solid #7345cf;outline-offset:2px}
.cr-ray-panels .cr-ray-swatch:disabled{cursor:not-allowed;opacity:.55}
.cr-ray-panels .cr-ray-swatch:disabled::after{content:"";position:absolute;width:32px;height:2px;background:#675873;transform:rotate(-45deg);box-shadow:0 1px 0 #fff}
.cr-ray-panels .cr-ray-swatch--text{width:auto;min-width:44px;border-radius:8px;border-color:#d7cce5;color:#241934;font-size:12px}
.cr-ray-panels .cr-ray-swatch--text::before{display:none}
.cr-ray-panels .cr-ray-colour-name{font-weight:600;color:#241934}
.cr-ray-panels .cr-ray-colour select[hidden]{display:none!important}

/* Direct-purchase categories: complete, naturally sized tables, no horizontal carousel. */
.cr-ray-purchase-layout .crw-bt[hidden]{display:none!important}
.cr-ray-purchase-layout .cr-ray-panels{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:24px;overflow:visible;padding:0;scroll-snap-type:none}
.cr-ray-purchase-layout .cr-ray-panels>.crw-bt{width:100%;max-width:none;height:auto;min-height:0;align-self:start;margin:0!important;display:block}
.cr-ray-purchase-layout .cr-ray-panels .crw-bt__head{min-height:0;padding:20px 24px;display:flow-root}
.cr-ray-purchase-layout .cr-ray-header-photos{float:left;margin:0 20px 0 0;overflow:visible}
.cr-ray-purchase-layout .cr-ray-header-photo{width:112px;height:112px}
.cr-ray-purchase-layout .cr-ray-panels .crw-bt__table{min-width:0;table-layout:auto}
.cr-ray-purchase-layout .cr-ray-table-scroll{overflow:visible}
.cr-ray-purchase-layout .cr-ray-panels .crw-bt__label{width:42%}
.cr-ray-purchase-layout .cr-ray-panels .crw-bt__price{width:18%}
.cr-ray-purchase-layout .cr-ray-panels .crw-bt__stock{width:20%}
.cr-ray-purchase-layout .cr-ray-panels .crw-bt__actions{width:20%}
.cr-ray-purchase-layout .cr-ray-swatches{gap:4px}
.cr-ray-purchase-layout .cr-ray-panels .crw-bt__label small[hidden]{display:none}
.cr-ray-purchase-layout .cr-ray-panels .crw-bt__do{white-space:normal}
.cr-ray-purchase-layout .cr-ray-panels .crw-bt__do form{gap:8px}
.cr-ray-purchase-layout .cr-ray-panels .crw-bt__buy{white-space:normal}
@media(max-width:1199px){
 .cr-ray-purchase-layout .cr-ray-panels .crw-bt__head{padding:12px}
 .cr-ray-purchase-layout .cr-ray-header-photos{float:left;margin:0 12px 8px 0}
 .cr-ray-purchase-layout .cr-ray-header-photo{width:64px;height:64px}
 .cr-ray-purchase-layout .cr-ray-panels .crw-bt__table,.cr-ray-purchase-layout .cr-ray-panels .crw-bt__table tbody{display:block}
 .cr-ray-purchase-layout .cr-ray-panels .crw-bt__table thead{display:none}
 .cr-ray-purchase-layout .cr-ray-panels .crw-bt__table tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;padding:10px 12px;margin:0;border-bottom:1px solid #eee9f3}
 .cr-ray-purchase-layout .cr-ray-panels .crw-bt__table :is(td,th){display:block;width:auto;padding:0;border:0;background:transparent}
 .cr-ray-purchase-layout .cr-ray-panels .crw-bt__label{grid-column:1/-1}
 .cr-ray-purchase-layout .cr-ray-panels .crw-bt__price{grid-column:1;text-align:left}
 .cr-ray-purchase-layout .cr-ray-panels .crw-bt__stock{grid-column:2;text-align:right;align-self:center}
 .cr-ray-purchase-layout .cr-ray-panels .crw-bt__actions{grid-column:1/-1}
 .cr-ray-purchase-layout .cr-ray-panels .crw-bt__actions:empty{display:none}
 .cr-ray-purchase-layout .cr-ray-panels .crw-bt__do form{width:100%}
 .cr-ray-purchase-layout .cr-ray-panels .crw-bt__buy{flex:1}
}

@media(min-width:701px) and (max-width:1199px){
 body:has([data-cr-ray-style]) #header .crb-layout--constrained{padding:0}
 body:has([data-cr-ray-style]) .category__header .crw-tp{padding:16px;gap:16px}
 body:has([data-cr-ray-style]) .category__header .crw-tp__photo{max-height:180px}
 .cr-ray-group{margin:18px auto 24px}
 .cr-ray-panels>.crw-bt{align-self:flex-start;height:auto;min-height:0}
 .cr-ray-panels .crw-bt__head,.cr-ray-purchase-layout .cr-ray-panels .crw-bt__head{min-height:0;padding:14px}
 .cr-ray-panels .crw-bt__table th,.cr-ray-panels .crw-bt__table td{padding:8px 10px}
 .cr-ray-purchase-layout .cr-ray-header-photo{width:80px;height:80px}
}

/* Comparison cards scroll; complete purchase tables stay below. */
.cr-model-carousel{margin:0 0 24px;min-width:0}
.cr-model-rail{position:relative;display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;padding:4px 2px 14px}
.cr-model-card{box-sizing:border-box;flex:0 0 100%;min-width:0;scroll-snap-align:start;background:#f7f3fc;border:1px solid #ded2ef;border-radius:18px;padding:20px;display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.cr-model-card strong{font-size:20px;color:#322044}.cr-model-card p{margin:0;line-height:1.5}.cr-model-price{font-weight:800;font-size:19px}.cr-model-card .cr-ray-header-photo{float:none;margin:0;width:112px;height:112px}
.cr-model-controls{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}.cr-model-controls button,.cr-model-card button{min-height:44px;min-width:44px;border:1px solid #bda8d8;border-radius:12px;padding:8px 12px;background:white;color:#482076;cursor:pointer;font:inherit}.cr-model-controls [aria-current=true]{background:#6330a3;color:white}.cr-model-controls button:focus-visible,.cr-model-card button:focus-visible{outline:3px solid #a05bce;outline-offset:2px}
@media(prefers-reduced-motion:reduce){.cr-model-rail{scroll-behavior:auto}}

/* Dense mobile and tablet layout; desktop retains its existing rules. */
@media(max-width:1199px){
 .cr-ray-group{margin:10px auto 14px}.cr-ray-title{margin:0 0 6px;font-size:22px}.cr-ray-hint{margin:0 0 6px}
 .cr-ray-panels,.cr-ray-purchase-layout .cr-ray-panels{display:flex;flex-direction:column;align-items:stretch;gap:12px;overflow:visible;padding:0;scroll-snap-type:none}
 .cr-ray-panels>.crw-bt{flex:none;width:100%;max-width:none;border-radius:12px;box-shadow:none}
 .cr-ray-panels .crw-bt__head,.cr-ray-purchase-layout .cr-ray-panels .crw-bt__head{padding:10px 12px;min-height:0;display:flow-root}
 .cr-ray-panels .cr-ray-header-photos,.cr-ray-purchase-layout .cr-ray-header-photos{float:left;margin:0 10px 4px 0;gap:4px;max-width:72px;overflow-x:auto}
 .cr-ray-panels .cr-ray-header-photo,.cr-ray-purchase-layout .cr-ray-header-photo{width:56px;height:56px;padding:2px}
 .cr-ray-panels .crw-bt__title{font-size:17px;line-height:1.25;margin:3px 0 5px;padding:0}
 .cr-ray-panels .crw-bt__title:after{display:none}
 .cr-ray-panels .crw-bt__text{font-size:14px;line-height:1.35}.cr-ray-panels .crw-bt__text p{margin:3px 0}
 .cr-ray-panels .crw-bt__table th,.cr-ray-panels .crw-bt__table td{padding:7px 8px}
 .cr-ray-panels .crw-bt__note{padding:7px 10px}
 body:has([data-cr-ray-style]) .category__header .crw-tp{padding:10px;gap:10px;margin:6px 0;border-radius:12px}
 body:has([data-cr-ray-style]) .category__header .crw-tp__photo{max-height:110px}
 .cr-ray-panels .cr-ray-swatches{gap:0;margin-top:2px}
}
@media(max-width:1199px){
 .cr-ray-purchase-layout .cr-ray-panels .crw-bt__table tr{grid-template-columns:minmax(0,1fr) minmax(90px,auto);gap:2px 8px;padding:8px 10px;border-radius:0;box-shadow:none;border:0;border-bottom:1px solid #eee9f3}
 .cr-ray-purchase-layout .cr-ray-panels .crw-bt__table :is(td,th){padding:0;border-radius:0;box-shadow:none}
 .cr-ray-purchase-layout .cr-ray-panels .crw-bt__label{grid-column:1;grid-row:1/3;width:auto}
 .cr-ray-purchase-layout .cr-ray-panels .crw-bt__price{grid-column:2;grid-row:1;text-align:right;align-self:end;font-size:15px;white-space:normal}
 .cr-ray-purchase-layout .cr-ray-panels .crw-bt__stock{grid-column:2;grid-row:2;font-size:12px;text-align:right;align-self:start}
 .cr-ray-purchase-layout .cr-ray-panels .crw-bt__actions{grid-column:1/-1;grid-row:3}
}

@media(min-width:701px) and (max-width:1199px){
 .cr-ray-panels,.cr-ray-purchase-layout .cr-ray-panels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:12px}
 .cr-ray-panels[data-single="1"]{grid-template-columns:minmax(0,1fr)}
 .cr-ray-panels>.crw-bt{width:100%;min-width:0}
 .cr-model-card{flex-basis:calc((100% - 16px)/2)}
}

@media(max-width:1199px){
 .cr-ray-purchase-layout .cr-ray-panels .crw-bt__actions:not(:has(form,a,button,input)){display:none}
 .cr-ray-purchase-layout .cr-ray-panels .crw-bt__table tr{padding:6px 10px;row-gap:0}
 .cr-ray-purchase-layout .cr-ray-panels .crw-bt__label{line-height:1.35;align-self:center}
 .cr-ray-purchase-layout .cr-ray-panels .cr-ray-swatches{display:inline-flex;vertical-align:middle;margin:0 0 0 6px;max-width:100%}
 .cr-ray-purchase-layout .cr-ray-panels .crw-bt__price{align-self:end;line-height:1.35}
 .cr-ray-purchase-layout .cr-ray-panels .crw-bt__stock{line-height:1.35}
 body:has([data-cr-ray-style]) .category__header .crw-tp{border-radius:10px}
 .cr-ray-panels>.crw-bt{border-radius:10px}
}

@media(max-width:1199px){
 .cr-ray-purchase-layout .cr-ray-panels .crw-bt__table tr:has(.cr-ray-swatch:nth-child(4)){grid-template-columns:minmax(176px,1fr) minmax(0,auto)}
 .cr-ray-purchase-layout .cr-ray-panels .cr-ray-swatches{flex-wrap:nowrap;width:max-content;max-width:none;margin-left:0}
 .cr-ray-purchase-layout .cr-ray-panels .crw-bt__label{min-width:0}
}
