.product-hero {
  background: #202020;
  color: #fff;
  padding: 44px 0 28px;
}

.product-hero h1,
.product-detail h1,
.quote-review h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.15;
}

.product-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, .78);
  line-height: 1.8;
}

.product-info p,
.quote-review p {
  max-width: 760px;
  color: rgba(32, 32, 32, .78);
  line-height: 1.8;
}

.product-toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 22px;
}

.product-toolbar input {
  flex: 1 1 260px;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  padding: 0 16px;
  font: inherit;
}

.product-toolbar input::placeholder {
  color: rgba(255, 255, 255, .64);
}

.quote-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border-radius: 8px;
  background: #6f1d1b;
  color: #fff;
  padding: 0 16px;
  text-decoration: none;
  font-weight: 700;
}

.quote-link span {
  min-width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #fff;
  color: #6f1d1b;
  display: inline-grid;
  place-items: center;
  font-size: 13px;
}

.product-catalog {
  background: #f7f7f7;
  padding: 34px 0;
}

.category-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 22px;
  scrollbar-width: thin;
}

.category-tabs button {
  border: 1px solid #ddd;
  background: #fff;
  color: #202020;
  border-radius: 8px;
  padding: 10px 14px;
  white-space: nowrap;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.category-tabs button.is-active {
  background: #6f1d1b;
  border-color: #6f1d1b;
  color: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.product-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .06);
}

.product-card[hidden] {
  display: none;
}

.product-card a {
  display: grid;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #222;
}

.product-card-noimage {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #f2f2f2;
  color: #999;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 13px;
  padding: 12px;
}

.product-gallery-noimage {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  background: #f2f2f2;
  color: #999;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.product-card div {
  padding: 16px;
}

.product-card span {
  color: #6f1d1b;
  font-weight: 800;
  font-size: 13px;
}

.product-card h3 {
  margin: 8px 0;
  font-size: 20px;
  line-height: 1.35;
}

.product-card p {
  color: #555;
  line-height: 1.65;
  margin: 0 0 14px;
}

.product-card strong {
  color: #6f1d1b;
}

.product-detail,
.quote-config,
.quote-review {
  background: #fff;
  color: #202020;
  padding: 36px 0;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(260px, 42%) 1fr;
  gap: 34px;
  align-items: start;
}

.product-gallery img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 16px 36px rgba(0, 0, 0, .12);
}

.breadcrumbs {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #777;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: #6f1d1b;
  font-weight: 700;
}

.product-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0;
}

.product-facts div {
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 14px;
  background: #fafafa;
}

.product-facts div:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.product-facts strong,
.product-facts span {
  display: block;
}

.product-facts strong {
  color: #6f1d1b;
  margin-bottom: 6px;
}

.compact-list {
  margin: 0;
  padding-inline-start: 20px;
  line-height: 1.9;
}

.quote-config {
  background: #202020;
  color: #fff;
}

.product-configurator,
.quote-customer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.product-configurator label,
.quote-customer label {
  display: grid;
  gap: 8px;
}

.product-configurator .checkbox-field {
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-configurator .checkbox-field input {
  width: auto;
  min-height: auto;
}

.product-configurator .full,
.quote-customer .full,
.config-actions {
  grid-column: 1 / -1;
}

.product-configurator input,
.product-configurator select,
.product-configurator textarea,
.quote-customer input,
.quote-customer textarea {
  min-height: 44px;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
}

.field-note {
  margin: 0;
  color: rgba(255, 255, 255, .78);
}

.config-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.config-feedback {
  grid-column: 1 / -1;
  margin: 0;
  color: #fff;
}

.quote-review #quote-items {
  display: grid;
  gap: 12px;
  margin: 20px 0;
}

.quote-item {
  display: grid;
  gap: 8px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 14px;
  background: #fafafa;
}

.quote-item h2 {
  margin: 0;
  font-size: 20px;
}

.quote-item button {
  justify-self: start;
  border: 1px solid #cfcfcf;
  background: #fff;
  border-radius: 8px;
  min-height: 38px;
  padding: 0 12px;
  cursor: pointer;
}

@media (max-width: 979px) {
  .product-hero {
    padding: 28px 0 18px;
  }

  .product-detail-grid,
  .product-configurator,
  .quote-customer,
  .product-facts {
    grid-template-columns: 1fr;
  }

  .product-toolbar {
    display: grid;
  }

  .quote-link,
  .product-toolbar input,
  .config-actions .primary-button,
  .config-actions .secondary-button {
    width: 100%;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .category-tabs {
    margin-inline: -18px;
    padding-inline: 18px;
  }
}
/* Grouped catalogue, EBDAA red/black identity, and overflow guards — 2026-09 */
.product-catalog { color: #202020; overflow: clip; }
.product-catalog .section-inner,
.catalog-groups,
.catalog-group,
.product-grid,
.product-card,
.product-card a,
.product-card a > div,
.product-configurator > * { min-width: 0; }
.catalog-group-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}
.catalog-group-nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid #d7d7d7;
  border-radius: 8px;
  background: #fff;
  color: #262626;
  font-weight: 800;
}
.catalog-group-nav a.is-active,
.catalog-group-nav a:hover,
.catalog-group-nav a:focus-visible { background: #7e2027; border-color: #7e2027; color: #fff; }
.catalog-count { color: #666; margin: 0 0 18px; }
.catalog-groups { display: grid; gap: 34px; }
.catalog-group { scroll-margin-top: 125px; }
.catalog-group > header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 0 0 12px;
  margin-bottom: 16px;
  border-bottom: 3px solid #7e2027;
}
.catalog-group h2 { color: #202020; margin: 0; font-size: clamp(23px, 3vw, 31px); }
.subcategory-list { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.subcategory-list button {
  min-height: 38px;
  padding: 7px 11px;
  border: 1px solid #bbb;
  border-radius: 999px;
  background: #fff;
  color: #333;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
}
.subcategory-list button.is-active,
.subcategory-list button:hover { background: #1d1d1d; border-color: #1d1d1d; color: #fff; }
.product-card { border-top: 3px solid #7e2027; }
.product-card h3,
.product-card p { overflow-wrap: anywhere; }
.product-configurator input,
.product-configurator select,
.product-configurator textarea { width: 100%; max-width: 100%; }
.product-configurator select:disabled { opacity: .65; cursor: not-allowed; }
.home-product-groups { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.home-product-groups .product-group-card { border-top: 3px solid #8d252c; min-height: 132px; }
.home-product-groups .product-group-card a { justify-content: center; }
.home-product-groups .service-card-copy { justify-content: space-between; }
.home-product-groups .service-card-copy > span { color: #ff9196; }
.home-products-cta { margin-top: 20px; }

@media (max-width: 979px) {
  html, body { max-width: 100%; overflow-x: hidden; }
  .catalog-group-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-group-nav a { font-size: 14px; overflow-wrap: anywhere; }
  .catalog-group > header { display: block; }
  .subcategory-list { justify-content: flex-start; margin-top: 10px; }
  .subcategory-list button { max-width: 100%; white-space: normal; text-align: start; }
  .home-product-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #mobile-menu { z-index: 500; overscroll-behavior: contain; }
  #mobile-menu a { width: 100%; overflow-wrap: anywhere; }
}
@media (max-width: 420px) {
  .catalog-group-nav { grid-template-columns: 1fr; }
  .home-product-groups { grid-template-columns: 1fr; }
}

/* Production catalogue refinement — 2026-09 */
.product-card {
  position: relative;
  border: 1px solid #e3e3e3;
  border-top: 3px solid #7e2027;
  border-radius: 12px;
  box-shadow: 0 8px 26px rgba(23, 23, 23, .07);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.product-card:hover {
  transform: translateY(-3px);
  border-color: #c9b4b6;
  box-shadow: 0 15px 34px rgba(23, 23, 23, .12);
}
.product-card img { aspect-ratio: 4 / 3; object-fit: cover; }
.product-card-copy { display: flex; flex-direction: column; padding: 16px 17px 18px !important; }
.product-card h3 { font-size: clamp(18px, 1.7vw, 21px); line-height: 1.38; }
.product-card p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 3.3em;
  margin-bottom: 16px;
  color: #626262;
}
.product-card strong { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; }
.product-card-noimage {
  flex-direction: column;
  gap: 7px;
  background: linear-gradient(145deg, #f5f5f5, #e9e9e9);
  color: #6f1d1b;
}
.product-card-noimage span { font-size: 24px; letter-spacing: .08em; color: #6f1d1b; }
.product-card-noimage small { color: #777; }
.product-gallery-noimage { flex-direction: column; gap: 8px; background: linear-gradient(145deg, #f5f5f5, #e8e8e8); }
.product-gallery-noimage strong { color: #6f1d1b; font-size: 34px; letter-spacing: .08em; }

.quote-review { background: #f7f7f7; }
#quote-items { display: grid; gap: 16px; }
.cart-item {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid #dedede;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .055);
}
.cart-item-head { display: flex; align-items: center; gap: 15px; }
.cart-item-head img,
.cart-thumb-placeholder { width: 92px; height: 92px; flex: 0 0 92px; border-radius: 9px; object-fit: cover; background: #ededed; }
.cart-thumb-placeholder { display: grid; place-items: center; color: #6f1d1b; font-weight: 900; }
.cart-item-head span { color: #7e2027; font-size: 13px; font-weight: 800; }
.cart-edit-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.cart-edit-fields label { display: grid; gap: 6px; font-weight: 700; }
.cart-edit-fields .full { grid-column: 1 / -1; }
.cart-edit-fields input,
.cart-edit-fields select,
.cart-edit-fields textarea { width: 100%; min-height: 42px; border: 1px solid #d3d3d3; border-radius: 8px; padding: 9px 11px; font: inherit; background: #fff; }
.cart-item-actions { display: flex; gap: 10px; align-items: center; }
.cart-remove { color: #8a1f26; border-color: #d7b9bb !important; }
.continue-shopping { display: inline-flex; justify-self: start; color: #7e2027; font-weight: 800; }
.quote-empty { display: grid; justify-items: start; gap: 16px; padding: 28px; border: 1px dashed #c9c9c9; border-radius: 12px; background: #fff; }

html[lang="tr"] .product-catalog,
html[lang="en"] .product-catalog,
html[lang="de"] .product-catalog,
html[lang="fr"] .product-catalog { letter-spacing: -.006em; }
html[lang="tr"] .product-card h3,
html[lang="en"] .product-card h3,
html[lang="de"] .product-card h3,
html[lang="fr"] .product-card h3 { font-weight: 760; line-height: 1.32; }

@media (max-width: 979px) {
  .product-catalog { padding-top: 18px; }
  .catalog-group-nav {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    grid-template-columns: none;
    gap: 8px;
    margin: 0 -18px 14px;
    padding: 10px 18px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline proximity;
    scrollbar-width: none;
    background: rgba(247, 247, 247, .96);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .06);
    backdrop-filter: blur(10px);
  }
  .catalog-group-nav::-webkit-scrollbar { display: none; }
  .catalog-group-nav a {
    flex: 0 0 auto;
    width: auto;
    min-height: 38px;
    max-width: 180px;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 13px;
    line-height: 1.2;
    scroll-snap-align: start;
    white-space: nowrap;
  }
  .catalog-count { margin-bottom: 20px; }
  .catalog-groups { gap: 30px; }
  .catalog-group { scroll-margin-top: 64px; }
  .catalog-group > header { margin-bottom: 13px; border-bottom-width: 2px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product-card-copy { padding: 13px !important; }
  .product-card h3 { margin: 6px 0; font-size: 17px; }
  .product-card p { font-size: 14px; -webkit-line-clamp: 2; }
  .product-card strong { font-size: 14px; }
  .cart-edit-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .product-grid { grid-template-columns: 1fr; gap: 14px; }
  .product-card a { grid-template-columns: 38% 1fr; align-items: stretch; }
  .product-card img,
  .product-card-noimage { width: 100%; height: 100%; min-height: 170px; aspect-ratio: auto; }
  .product-card p { min-height: auto; -webkit-line-clamp: 2; }
  .cart-item-head { align-items: flex-start; }
  .cart-item-head img,
  .cart-thumb-placeholder { width: 74px; height: 74px; flex-basis: 74px; }
  .cart-edit-fields { grid-template-columns: 1fr; }
  .cart-item-actions { align-items: stretch; flex-direction: column; }
  .cart-item-actions button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .product-card { transition: none; }
}

/* Final catalogue finish — unified 4:3 product-card media */
.product-card img,.product-card-noimage{
  width:100%;
  height:auto;
  aspect-ratio:4/3;
  object-fit:cover;
  object-position:center;
  background:#fff;
}
.product-gallery img{aspect-ratio:1/1;object-fit:contain;background:#fff}
.product-grid,.product-detail-grid,.product-info,.product-configurator,.quote-customer,.config-actions,.cart-item,.cart-edit-fields{max-width:100%}
.product-configurator input,.product-configurator select,.product-configurator textarea,.quote-customer input,.quote-customer select,.quote-customer textarea,.cart-edit-fields input,.cart-edit-fields select,.cart-edit-fields textarea{min-width:0;width:100%;box-sizing:border-box}
.config-actions>*{max-width:100%}
.area-output{display:flex;align-items:center;min-height:44px;padding:10px 12px;border:1px solid #ffffff38;border-radius:8px;background:#ffffff0b;color:#fff;font-weight:700}
.area-output output{margin-inline-start:6px;color:#ff8a90}

@media(max-width:979px){
  .product-hero,.product-catalog,.product-detail,.quote-config,.quote-review{overflow-x:hidden}
  .product-hero>.section-inner,.product-catalog>.section-inner,.product-detail>.section-inner,.quote-config>.section-inner,.quote-review>.section-inner{
    width:100%;
    padding-inline-start:max(var(--mobile-gutter,16px),env(safe-area-inset-left));
    padding-inline-end:max(var(--mobile-gutter,16px),env(safe-area-inset-right));
  }
  .product-toolbar,.product-detail-grid,.product-configurator,.quote-customer,.cart-edit-fields{width:100%}
  .catalog-group-nav{max-width:calc(100vw + 36px)}
  .catalog-group-nav a{overflow-wrap:normal}
  .product-configurator,.quote-customer{grid-template-columns:1fr}
  .config-actions{display:grid;grid-template-columns:1fr;width:100%}
  .config-actions .primary-button,.config-actions .secondary-button,.config-actions .quote-link{width:100%;white-space:normal}
  .cart-item-head{min-width:0}
  .cart-item-head>div{min-width:0;overflow-wrap:anywhere}
}
@media(max-width:560px){
  .product-grid{grid-template-columns:1fr}
  .product-card a{display:grid;grid-template-columns:1fr;height:100%}
  .product-card img,.product-card-noimage{width:100%;height:auto;min-height:0;aspect-ratio:1/1}
  .product-card-copy{padding:15px!important}
  .product-card h3{font-size:18px}
  .product-card p{display:none}
}

/* Compact storefront catalogue — 2026-09-17 */
.product-card,.product-card>a{height:100%}
.product-card>a{grid-template-rows:auto 1fr}
.product-card img,.product-card-noimage{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:4/3;
  object-fit:cover;
  object-position:center;
  background:#f4f4f2;
}
.product-card-copy{height:100%}
.product-card h3{overflow-wrap:anywhere}

@media(max-width:979px){
  .product-hero{padding:18px 0 14px}
  .product-hero h1{font-size:clamp(25px,7vw,32px);margin-bottom:7px}
  .product-hero p{margin:0;line-height:1.55;font-size:14px}
  .product-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:13px}
  .product-toolbar input{min-height:42px;padding-inline:12px}
  .product-toolbar .quote-link{width:auto;min-height:42px;padding-inline:12px;white-space:nowrap}
  .product-catalog{padding:14px 0 26px}
  .catalog-group-nav{margin-bottom:10px;padding-block:7px}
  .catalog-group-nav a{min-height:34px;padding:7px 10px;font-size:12px}
  .catalog-count{margin-bottom:12px;font-size:13px}
  .catalog-groups{gap:24px}
  .catalog-group>header{margin-bottom:10px;padding-bottom:8px}
  .catalog-group h2{font-size:21px}
  .subcategory-list{flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:none;padding-bottom:2px}
  .subcategory-list::-webkit-scrollbar{display:none}
  .subcategory-list button{flex:0 0 auto;min-height:32px;padding:6px 9px;white-space:nowrap;font-size:11px}
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .product-card{border-radius:9px;box-shadow:0 5px 16px rgba(23,23,23,.07)}
  .product-card a{display:grid;grid-template-columns:1fr;grid-template-rows:auto 1fr}
  .product-card img,.product-card-noimage{min-height:0;aspect-ratio:4/3;object-fit:cover;object-position:center}
  .product-card-copy{padding:9px 10px 11px!important}
  .product-card span{font-size:10px;line-height:1.35}
  .product-card h3{margin:4px 0 7px;font-size:14px;line-height:1.32}
  .product-card p{display:none;min-height:0;margin:0}
  .product-card strong{font-size:12px;line-height:1.3}
}
@media(min-width:391px) and (max-width:979px){.product-card h3{font-size:15px}}
@media(max-width:390px){
  .product-toolbar{grid-template-columns:1fr}
  .product-toolbar .quote-link{width:100%}
}
@media(max-width:349px){
  .product-grid{grid-template-columns:1fr}
  .product-card-copy{padding:12px!important}
  .product-card h3{font-size:16px}
}
@media(min-width:980px){
  .product-grid{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));align-items:stretch}
  .product-card-copy{min-height:184px}
}
