/* Additive taxonomy UI: keeps the existing brand palette, typography and card style. */
.taxonomy-sidebar .filter-section{border-top:1px solid #f4e3d8;padding:14px 4px 12px}
.taxonomy-sidebar .filter-section:first-of-type{border-top:0}
.taxonomy-sidebar .filter-section h4{font-size:10px;letter-spacing:1.4px;text-transform:uppercase;color:#b1745e;margin:0 6px 8px;font-weight:900}
.taxonomy-sidebar .filter-section h4 small{color:#c7a997;font-size:9px;letter-spacing:0}
.taxonomy-sidebar .cat-row{font-size:11px}
.taxonomy-sidebar .cat-row span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.taxonomy-sidebar .cat-sub{font-size:10.5px;color:#9b887c;padding-left:18px}
.taxonomy-sidebar .cat-tag{font-size:10.5px;padding-left:14px}
.taxonomy-sidebar .cat-new{background:#fff6e2}
.taxonomy-sidebar .cat-new.chosen{background:#ffe3d3}
.new-chip{display:inline-block;background:#f87570;color:#fff;border-radius:5px;font-size:8px;font-weight:900;letter-spacing:.6px;padding:2px 5px;vertical-align:middle}
.filter-empty{font-size:10px;color:#b9a294;padding:4px 8px;line-height:1.5}
.filter-sidebar-head h3{margin-bottom:4px}
.filter-close,.filter-toggle{display:none}
.new-badge{position:absolute;top:9px;right:9px;background:#f87570;color:#fff;font-size:9px;font-weight:900;letter-spacing:1px;padding:5px 9px;border-radius:99px;box-shadow:0 3px 9px #f8757055;z-index:2}
.product-photo{position:relative}
.new-arrivals-banner{background:#fff1e6;border:1px solid #f6d5c3;border-radius:12px;padding:10px 14px;margin-bottom:16px;font-size:11px;color:#8b5e4b;display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.new-arrivals-banner a{margin-left:auto;color:#b6614e;font-weight:900}
.active-filter-bar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:14px}
.filter-pill{background:#ffe8dd;color:#9b5748;border-radius:99px;padding:5px 11px;font-size:10px;font-weight:800}
.clear-link{font-size:10px;color:#b6614e;font-weight:900}
.mini-box{display:flex;align-items:center;gap:6px;flex:0 0 auto;font-size:11px;color:#775944;padding:0 12px;background:#fff9f5;border:1px solid #eddcd0;border-radius:12px;height:49px;cursor:pointer}
.mini-box input{width:16px;height:16px;accent-color:#f87570}

/* Collapsible collection groups (single-level Collections menu). */
.collection-group .collection-toggle{font-weight:800;color:#5f4030}
.collection-toggle{width:100%;border:0;background:transparent;font:inherit;text-align:left;cursor:pointer}
.collection-toggle-label{display:flex;align-items:center;gap:6px}
.collection-toggle-label::after{content:'▾';font-size:9px;color:#b98f7b;transition:transform .18s ease}
.collection-group.is-open .collection-toggle-label::after{transform:rotate(-180deg)}
.collection-count{font-size:10px;color:#ab9283}
.collection-children{margin:2px 0 4px 6px;padding-left:8px;border-left:2px solid #f4e3d8}
.collection-children .cat-row{padding:8px 10px}
.collection-children[hidden]{display:none}
/* Show more / show less for long series lists (avoids a tiny internal scrollbar). */
.collection-children .is-extra{display:none}
.collection-children.is-expanded .is-extra{display:flex}
.series-more{display:block;width:100%;margin:6px 0 2px;padding:6px 10px;border:0;background:#fff6ee;border-radius:10px;color:#b6614e;font-size:10.5px;font-weight:800;cursor:pointer;text-align:left}
.series-more:hover{background:#ffebe3}
.series-more-count{color:#c8917e;font-weight:900}

/* Sticky catalogue toolbar: sticks below the sticky header (82px) while scrolling. */
.catalogue-toolbar{position:sticky;top:82px;z-index:60}
/* Sticky sidebar: stays visible beside the scrolling product list, clears the header. */
.catalogue-sidebar.taxonomy-sidebar{position:sticky;top:190px;align-self:start}

/* Shape type + series directory */
.shape-intro .breadcrumbs{margin-bottom:14px;font-size:11px;color:#a18778}
.shape-type-section{background:#fffaf5}
.type-card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.type-card{position:relative;display:block;padding:26px 20px;min-height:180px;border-radius:22px;border:1.5px solid #f0dcd1;background:linear-gradient(145deg,#fff6ea,#ffe9e2);text-decoration:none;overflow:hidden;transition:transform .2s,box-shadow .2s}
.type-card:hover{transform:translateY(-4px);box-shadow:0 14px 28px #a9765526}
.type-card-2{background:linear-gradient(145deg,#f0f8ee,#e4f2e6)}.type-card-3{background:linear-gradient(145deg,#fff5e0,#fdeccd)}.type-card-4{background:linear-gradient(145deg,#f7f0fb,#efe4f7)}
.type-count{position:absolute;top:14px;right:16px;font-size:10px;color:#a4856f;font-weight:900}
.type-icon{font-size:40px;color:#e79a7f;line-height:1}
.type-card h3{font-size:18px;color:#5f4030;margin:14px 0 6px}
.type-card p{font-size:11px;color:#987d6c;margin:0}
.series-card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.series-group{background:#fff;border:1px solid #f0ded2;border-radius:18px;padding:16px}
.series-group h3{font-size:13px;color:#9b5748;margin:0 0 10px;letter-spacing:.3px}
.series-link{display:flex;justify-content:space-between;gap:8px;padding:7px 4px;border-bottom:1px dashed #f3e3d8;font-size:11px;color:#7c6557;text-decoration:none}
.series-link:last-child{border-bottom:0}.series-link:hover{color:#b6614e}
.series-link b{color:#b9a294;font-size:10px}

/* Product detail taxonomy links */
.detail-taxonomy{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 14px}
.detail-taxonomy a{font-size:10px;background:#fff0e6;border:1px solid #f2d8c7;border-radius:99px;padding:5px 11px;color:#9b5748;text-decoration:none;font-weight:800}
.detail-taxonomy .new-chip{align-self:center}

@media(max-width:1150px){.type-card-grid,.series-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:850px){
  .catalogue-toolbar{position:sticky;top:72px;z-index:60}
  .catalogue-sidebar.taxonomy-sidebar{display:block;position:fixed;inset:0 auto 0 0;width:min(88vw,340px);z-index:80;overflow:auto;background:#fffdf9;border-radius:0 24px 24px 0;padding:20px 16px 90px;box-shadow:0 0 0 100vmax #2a1a1288;transform:translateX(-110%);transition:transform .25s ease}
  .catalogue-sidebar.taxonomy-sidebar.is-open{transform:translateX(0)}
  .filter-close,.filter-toggle{display:inline-flex;align-items:center;justify-content:center}
  .filter-close{border:0;background:#ffebe3;color:#9b5748;width:34px;height:34px;border-radius:50%;font-size:20px;float:right}
  .filter-toggle{height:47px;padding:0 14px;background:#fff9f5;border:1px solid #eddcd0;border-radius:12px;color:#775944;font-size:12px;font-weight:800;cursor:pointer}
  .type-card-grid,.series-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .shape-type-section .series-card-grid{grid-template-columns:1fr}
}
@media(max-width:570px){.type-card-grid{grid-template-columns:1fr}.type-card{min-height:130px}.series-card-grid{grid-template-columns:1fr}}

/* ===== B2B catalogue refresh (cards, themes, detail page) — additive ===== */
/* Product cards: consistent buying facts, no empty gaps */
.pc-b2b .pc-facts{list-style:none;margin:8px 0 12px;padding:0;display:flex;flex-direction:column;gap:3px;font-size:11px;color:#7c6557;min-height:18px}
.pc-b2b .pc-facts li{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pc-b2b .pc-facts b{display:inline-block;min-width:58px;font-size:9.5px;letter-spacing:.8px;text-transform:uppercase;color:#b1745e;font-weight:900}
.pc-b2b .pc-facts .pc-moq{color:#5f4030;font-weight:700}
.pc-b2b .product-actions{margin-top:auto}
.pc-b2b .product-body{display:flex;flex-direction:column}

/* Sidebar themes: compact chips, collapsed by default */
.theme-block{margin:10px 4px 0}
.theme-title{font-size:10px;letter-spacing:1.2px;text-transform:uppercase;color:#b1745e;font-weight:900;margin:0 2px 8px}
.theme-chips{display:flex;flex-wrap:wrap;gap:6px}
.theme-chip{display:inline-flex;align-items:center;gap:5px;padding:5px 10px;border-radius:99px;background:#fff6ee;border:1px solid #f2dccd;font-size:10.5px;color:#775944;text-decoration:none;font-weight:700}
.theme-chip small{font-size:9px;color:#b9a294;font-weight:800}
.theme-chip:hover{background:#ffebe3}
.theme-chip.chosen{background:#f87570;border-color:#f87570;color:#fff}
.theme-chip.chosen small{color:#ffe3dc}
.theme-more{margin-top:10px}
.theme-more summary{cursor:pointer;list-style:none;font-size:10.5px;font-weight:800;color:#b6614e;padding:6px 2px}
.theme-more summary::-webkit-details-marker{display:none}
.theme-more[open] summary{margin-bottom:8px}

/* Detail page */
.detail-info .eyebrow a{color:inherit;text-decoration:none}
.detail-info .eyebrow a:hover{text-decoration:underline}
.detail-keyfacts{list-style:none;display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:14px 0 16px;padding:0}
.detail-keyfacts li{background:#fff6ee;border:1px solid #f2dccd;border-radius:14px;padding:11px 13px}
.detail-keyfacts span{display:block;font-size:9px;letter-spacing:1.1px;text-transform:uppercase;color:#b1745e;font-weight:900;margin-bottom:3px}
.detail-keyfacts b{font-size:13px;color:#5f4030}
.purchase-spec-table a{color:#9b5748;text-decoration:none}
.purchase-spec-table a:hover{text-decoration:underline}
.detail-specnote{font-size:10.5px;color:#a18778;margin:8px 2px 16px;line-height:1.5}
.detail-service-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:34px 0 8px}
.service-card{display:block;background:#fff;border:1px solid #f0ded2;border-radius:18px;padding:18px;text-decoration:none;color:#5f4030;transition:transform .18s,box-shadow .18s}
.service-card:hover{transform:translateY(-3px);box-shadow:0 12px 24px #a9765520}
.service-icon{display:inline-flex;width:30px;height:30px;align-items:center;justify-content:center;border-radius:50%;background:#ffeadf;color:#e0735f;font-size:14px;margin-bottom:10px}
.service-card strong{display:block;font-size:13px;margin-bottom:6px}
.service-card p{margin:0;font-size:11px;line-height:1.55;color:#8a7466}
.detail-sticky-cta{display:none}

@media(max-width:1000px){.detail-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){
  .detail-keyfacts{grid-template-columns:1fr 1fr 1fr;gap:8px}
  .detail-keyfacts li{padding:9px 10px}
  .detail-service-grid{grid-template-columns:1fr}
  .detail-sticky-cta{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:70;align-items:center;justify-content:space-between;gap:12px;padding:10px 16px;background:#fffdf9;border-top:1px solid #f0ded2;box-shadow:0 -6px 18px #a976551f}
  .detail-sticky-cta div{display:flex;flex-direction:column;font-size:11px;color:#7c6557}
  .detail-sticky-cta strong{font-size:12px;color:#5f4030}
  .detail-page{padding-bottom:70px}
}

/* ===== detail page: white cards -> same warm tone as the key-facts cards ===== */
.detail-page .detail-table.purchase-spec-table,
.detail-page .service-card{background:#fff6ee;border:1px solid #f2dccd;box-shadow:none}
.detail-page .detail-table.purchase-spec-table>div{border-color:#f2dccd}
.detail-page .service-card:hover{background:#fff1e6;box-shadow:0 10px 22px #a9765516}
.detail-page .service-icon{background:#ffe6d8}

/* ===== inline quantity stepper (replaces the add-to-inquiry pop-up) ===== */
.qty-stepper{display:inline-flex;align-items:center;gap:2px;background:#fff6ee;border:1px solid #f2dccd;border-radius:99px;padding:3px 4px;font-size:12px;color:#5f4030;max-width:100%}
.qty-stepper button{width:26px;height:26px;border:0;border-radius:50%;background:#fff;color:#c4604d;font-size:15px;font-weight:900;line-height:1;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;padding:0}
.qty-stepper button:hover{background:#ffe6d8}
.qty-stepper input{width:62px;border:0;background:transparent;text-align:center;font-weight:800;font-size:13px;color:#5f4030;padding:2px 0;-moz-appearance:textfield}
.qty-stepper input::-webkit-outer-spin-button,.qty-stepper input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.qty-stepper input:focus{outline:2px solid #f8757055;border-radius:6px}
.qty-stepper .qty-unit{font-size:10.5px;color:#a18778;margin-right:2px}
.qty-stepper .qty-remove{background:transparent;color:#b79a8a;font-size:16px}
.detail-actions .qty-stepper{padding:6px 8px}.detail-actions .qty-stepper input{width:80px;font-size:15px}.detail-actions .qty-stepper button{width:32px;height:32px}
.product-actions .qty-stepper{margin-left:auto}
