/* ── Hugo Köller Katalog Renk Paleti ── */
:root {
  --color-background: #F5F1E8;
  --color-surface: #FCFAF5;
  --color-heading: #181713;
  --color-text: #34312B;
  --color-muted: #756E63;
  --color-gold: #B7791F;
  --color-gold-dark: #855713;
  --color-gold-light: #D8B46A;
  --color-frame: #18332F;
  --color-frame-dark: #102622;
  --color-border: #DDD4C4;
}

.catalog-body {
  min-height: 100vh;
  color: var(--color-text);
  background: var(--color-background);
}
.catalog-body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background: url('../images/stars-bg.png') center top / 100% auto repeat-y;
  pointer-events: none;
}
body.catalog-body::before {
  content: none !important;
  display: none !important;
  background: none !important;
}
html,
body.catalog-body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}
.catalog-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 78px;
  padding: 0 4vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: none;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}
.catalog-header__brand img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 0 12px rgba(183,121,31,.35));
  transition: transform .35s var(--ease), filter .35s ease;
}
.catalog-header__brand:hover img {
  transform: translateY(-2px);
  filter: drop-shadow(0 0 14px rgba(183,121,31,.55));
}
.catalog-header__back {
  font-family: var(--font-heading);
  font-size: .87rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--color-text);
  background: transparent;
  transition: color .25s ease;
}
.catalog-header__back:hover {
  color: var(--color-gold);
}
.catalog-page { padding-top: 78px; }
.catalog-page--products {
  position: relative;
  width: min(1120px, calc(100% - 3rem));
  margin: 0 auto;
  padding-bottom: 5rem;
}
.subcategory-grid {
  width: min(1320px, calc(100% - 3rem));
  margin: 2rem auto 5rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: start;
}
.subcategory-preview {
  position: relative;
  min-width: 0;
}
.subcategory-banner {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: transparent;
}
.subcategory-banner img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform .8s var(--ease), filter .5s;
}
.catalog-kicker {
  color: #A66D1C;
  font-family: var(--font-heading);
  font-size: .62rem;
  letter-spacing: .32em;
  text-transform: uppercase;
}
.catalog-kicker--image img {
  width: min(100%, 260px);
  height: auto;
}
.catalog-title h1, .catalog-empty h1, .product-page h1 {
  margin: .55rem 0 0;
  color: var(--color-heading);
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
}
.subcategory-banner:hover img { transform: scale(1.035); filter: brightness(1.08); }
.subcategory-preview .product-grid {
  margin-top: .8rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.05rem .75rem;
}
.subcategory-preview .product-card {
  width: auto;
  flex: initial;
  padding: 0;
}
.subcategory-preview .product-card__image {
  aspect-ratio: 2 / 3;
}
.subcategory-preview .product-card__info { padding: .62rem .15rem 0; }
.subcategory-preview .product-card__info h3 {
  color: var(--color-heading);
  font-size: clamp(.68rem, .95vw, .92rem);
  line-height: 1.18;
  letter-spacing: .1em;
  text-shadow: none;
  filter: none;
  opacity: 1;
}
.subcategory-preview .product-card__info span {
  margin-top: .42rem;
  color: var(--color-muted);
  font-family: var(--font-heading);
  font-size: clamp(.7rem, .9vw, .88rem);
  letter-spacing: .08em;
  text-shadow: none;
  filter: none;
  opacity: 1;
}
.product-grid { margin-top: 1.2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.85rem; }
.product-card {
  display: flex;
  flex-direction: column;
  padding: clamp(.55rem, 1.3vw, .95rem) clamp(.75rem, 1.6vw, 1.15rem) clamp(.95rem, 1.7vw, 1.25rem);
  background: #fff;
  background-clip: padding-box;
  border: 24px solid transparent;
  border-image-source: url('../images/client/product-frame.png');
  border-image-slice: 45;
  border-image-width: 24px;
  border-image-repeat: stretch;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.18));
  transition: transform .35s var(--ease);
}
.product-card:hover { transform: translateY(-5px); }
.product-card__image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: transparent;
}
.product-card__image img { width: 100%; height: 100%; display: block; object-fit: contain; transition: transform .6s var(--ease); }
.subcategory-grid .product-card__image img {
  transform: scale(1.08);
}
.subcategory-grid .product-card:hover .product-card__image img {
  transform: scale(1.13);
}
.product-card:hover .product-card__image img { transform: scale(1.035); }
.product-card__info { padding: .5rem .7rem .8rem; text-align: center; background: transparent; margin-top: auto; }
.product-card__info h3 { margin: 0; color: var(--color-heading); font-family: var(--font-heading); font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; text-shadow: none; filter: none; opacity: 1; }
.product-card__info span { margin-top: .45rem; display: block; color: var(--color-muted); font-size: .8rem; text-shadow: none; filter: none; opacity: 1; }
.catalog-more {
  width: max-content;
  margin: 2rem auto 0;
  padding: .9rem 1.5rem;
  display: block;
  border: 1px solid var(--color-gold);
  color: var(--color-gold-dark);
  font-family: var(--font-heading);
  font-size: .62rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  transition: background .3s, color .3s;
}
.catalog-more:hover {
  color: var(--color-surface);
  background: var(--color-gold);
}
.catalog-empty, .subcategory-empty { padding: 7rem 2rem; text-align: center; }
.catalog-empty h1 { font-size: clamp(2.4rem, 7vw, 5.5rem); }
.catalog-empty p:last-child { color: var(--color-muted); }
.subcategory-empty { color: var(--color-heading); font-weight: 500; line-height: 1.6; letter-spacing: 0.03em; }
.catalog-title {
  width: min(760px, calc(100% - 3rem));
  height: clamp(150px, 20vw, 260px);
  margin: 2rem auto 0;
  display: block;
  border-bottom: 1px solid rgba(133,87,19,.18);
  background: transparent;
}
.catalog-title--products {
  width: min(720px, 84%);
  height: clamp(130px, 17vw, 220px);
  margin-top: 2.25rem;
  border-bottom: 0;
}
.catalog-title > img { width: 100%; height: 100%; display: block; object-fit: contain; }
.catalog-title > div { display: none; }
.catalog-title h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
.catalog-title p:last-child { max-width: 600px; font-size: 1.15rem; line-height: 1.7; }
.subcategory-preview--all { width: min(900px, 100%); margin: 2.25rem auto 0; padding: 0; }
.subcategory-preview--all .product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.8rem 2.2rem;
}
.subcategory-preview--all .product-card { width: auto; flex: initial; padding: .55rem; }
.subcategory-preview--all .product-card__image {
  aspect-ratio: 2 / 3;
}
.subcategory-preview--all .product-card__image img {
  transform: scale(1.08);
}
.subcategory-preview--all .product-card:hover .product-card__image img {
  transform: scale(1.13);
}
.subcategory-preview--all .product-card__info { padding: .6rem .2rem 0; }
.subcategory-preview--all .product-card__info h3 {
  color: var(--color-heading);
  font-size: clamp(1rem, 2vw, 1.35rem);
  line-height: 1.22;
  letter-spacing: .11em;
  text-shadow: none;
  filter: none;
  opacity: 1;
}
.subcategory-preview--all .product-card__info span {
  margin-top: .72rem;
  color: var(--color-muted);
  font-family: var(--font-heading);
  font-size: clamp(.95rem, 1.8vw, 1.2rem);
  letter-spacing: .08em;
  text-shadow: none;
  filter: none;
  opacity: 1;
}
.product-page {
  min-height: 100vh;
  padding: 130px max(5vw, 2rem) 5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  gap: clamp(3.5rem, 6vw, 5.5rem);
  align-items: start;
  align-content: start;
}
.product-gallery {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: start;
}
.product-page__content {
  align-self: center;
}
.product-page__image {
  position: relative;
  width: clamp(200px, 70vw, 380px);
  height: clamp(200px, 70vw, 380px);
  margin-inline: auto;
  padding: 10px;
  border: 0;
  background:
    var(--color-surface)
    url('../images/client/product-detail-frame.png')
    center / 100% 100% no-repeat;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.18));
}
.product-page__image img { width: 100%; height: 100%; display: block; object-fit: contain; }
.product-gallery__thumbs { margin-top: .75rem; display: grid; grid-template-columns: repeat(6, 1fr); gap: .5rem; width: 100%; }
.product-gallery__thumbs button {
  padding: .3rem;
  border: 1px solid var(--color-border);
  cursor: pointer;
  background: var(--color-surface);
  opacity: .65;
  transition: opacity .25s, border-color .25s, box-shadow .25s;
}
.product-gallery__thumbs button:hover {
  opacity: 1;
  border-color: var(--color-gold-light);
}
.product-gallery__thumbs button.is-active {
  opacity: 1;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 1px var(--color-gold);
}
.product-gallery__thumbs img { width: 100%; aspect-ratio: 1; display: block; object-fit: contain; }
.product-page h1 { font-size: clamp(2.2rem, 5vw, 4.5rem); color: var(--color-heading); }
.product-code { color: var(--color-muted); font-family: var(--font-heading); font-size: .72rem; letter-spacing: .16em; }
.product-page__info-box {
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.82) 0%,
    rgba(255, 255, 255, 0.95) 15%,
    rgba(255, 255, 255, 0.95) 85%,
    rgba(255, 255, 255, 0.82) 100%
  );
  padding: 22px 24px;
  border-radius: 5px;
  margin-bottom: 1.5rem;
}
.product-description {
  margin-top: 1.5rem;
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--color-text);
}
.product-page__content .catalog-more { margin-left: 0; }
@media (min-width: 821px) {
  .product-page__image {
    width: clamp(380px, 42vw, 720px);
    height: clamp(380px, 42vw, 720px);
  }
}

@media (max-width: 820px) {
  .catalog-header__back {
    color: var(--color-text);
    font-size: 12px;
    letter-spacing: 2px;
    line-height: 1.2;
    padding: 12px 14px;
    margin-right: 4px;
    white-space: nowrap;
  }
}

@media (max-width: 760px) {
  .catalog-header { height: 66px; }
  .catalog-header__brand img { width: 52px; height: 52px; }
  .catalog-page { padding-top: 66px; }
  .catalog-page--products { width: min(100% - 1.4rem, 1120px); }
  .subcategory-grid { width: min(100% - 1.4rem, 1400px); margin: 1.5rem auto 3rem; grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: .6rem; }
  .subcategory-preview { padding: 1rem; }
  .product-card { border-width: 18px; border-image-width: 18px; padding: .7rem; }
  .subcategory-preview .product-grid { grid-template-columns: repeat(2, 1fr); gap: 1.35rem .85rem; }
  .subcategory-preview--all { width: 100%; margin-top: 1.4rem; }
  .subcategory-preview--all .product-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem .9rem; }
  .product-card__info h3 { font-size: .62rem; }
  .catalog-title { width: calc(100% - 1.4rem); height: 140px; margin-top: 1rem; }
  .catalog-title--products { width: 100%; height: 118px; }
  .product-page { grid-template-columns: 1fr; gap: 2rem; align-content: normal; }
  .product-page { padding: 100px 1rem 6rem; }
  .product-gallery { width: 100%; margin-inline: auto; }
  .product-gallery__thumbs { justify-content: center; }
  .product-page__content { margin-bottom: 0; align-self: stretch; width: min(100%, 520px); margin-inline: auto; text-align: center; }
  .product-page__content .catalog-more { margin-inline: auto; }
}

@media (max-width: 480px) {
  .catalog-header { height: 56px; padding: 0 3vw; }
  .catalog-header__brand img { width: 44px; height: 44px; }
  .catalog-page { padding-top: 56px; }
  .catalog-page--products { width: min(100% - 1rem, 1120px); padding-bottom: 3rem; }
  .catalog-header__back { font-size: 10px; letter-spacing: 1.5px; padding: 8px 10px; }
  .subcategory-grid { width: min(100% - 1rem, 1400px); margin: 1rem auto 2rem; gap: .85rem; }
  .product-grid { gap: .4rem; }
  .product-card { border-width: 12px; border-image-width: 12px; padding: .4rem; }
  .subcategory-preview .product-grid { gap: .8rem .5rem; }
  .subcategory-preview--all .product-grid { gap: 1.2rem .5rem; }
  .product-card__info { padding: .3rem .2rem .5rem; }
  .product-card__info h3 { font-size: .55rem; letter-spacing: .06em; }
  .product-card__info span { font-size: .5rem; margin-top: .25rem; }
  .catalog-title { height: 110px; }
  .catalog-title--products { height: 90px; }
  .catalog-title h1 { font-size: clamp(1.4rem, 5vw, 2rem); }
  .subcategory-preview--all .product-card__info h3 { font-size: clamp(.7rem, 3vw, .9rem); }
  .subcategory-preview--all .product-card__info span { font-size: clamp(.65rem, 2.5vw, .8rem); margin-top: .4rem; }
  .product-page { padding: 80px .6rem 4rem; gap: 2rem; }
  .product-page__content { margin-bottom: 0; }
  .product-page h1 { font-size: clamp(1.4rem, 6vw, 2rem); }
   .product-page__info-box { padding: 16px; }
   .product-description { font-size: 1rem; margin-top: 1rem; }
  .product-gallery__thumbs { grid-template-columns: repeat(auto-fill, minmax(52px, 64px)); gap: .4rem; }
  .catalog-more { padding: .7rem 1rem; font-size: .55rem; }
  .subcategory-empty { padding: 3rem 1rem; font-size: .9rem; }
  .catalog-empty { padding: 4rem 1rem; }
  .catalog-empty h1 { font-size: clamp(1.6rem, 8vw, 2.4rem); }
}

@media (max-width: 380px) {
  .catalog-header { height: 50px; }
  .catalog-header__brand img { width: 38px; height: 38px; }
  .catalog-page { padding-top: 50px; }
  .catalog-page--products { width: 100%; padding-bottom: 2rem; }
  .catalog-header__back { font-size: 9px; letter-spacing: 1px; padding: 6px 8px; }
  .subcategory-grid { width: 100%; margin: .8rem auto 1.5rem; gap: .6rem; }
  .product-grid { gap: .3rem; }
  .product-card { border-width: 8px; border-image-width: 8px; padding: .3rem; }
  .subcategory-preview .product-grid { gap: .5rem .3rem; }
  .subcategory-preview--all .product-grid { gap: .8rem .3rem; }
  .product-card__info h3 { font-size: .48rem; }
  .product-card__info span { font-size: .45rem; }
  .catalog-title { height: 90px; }
  .catalog-title--products { height: 75px; }
  .catalog-title h1 { font-size: clamp(1.1rem, 4.5vw, 1.6rem); }
  .subcategory-preview--all .product-card__info h3 { font-size: clamp(.6rem, 2.8vw, .75rem); }
  .subcategory-preview--all .product-card__info span { font-size: clamp(.55rem, 2.2vw, .65rem); }
  .product-page { padding: 70px .4rem 3rem; gap: 2rem; }
  .product-page__content { margin-bottom: 0; }
  .product-page h1 { font-size: clamp(1.1rem, 5vw, 1.6rem); }
   .product-page__info-box { padding: 14px; }
   .product-description { font-size: 1rem; margin-top: .85rem; }
  .product-gallery__thumbs { grid-template-columns: repeat(auto-fill, minmax(44px, 52px)); gap: .3rem; }
  .catalog-more { padding: .6rem .8rem; font-size: .5rem; }
  .floating-contact__link { width: 40px; }
}

@media (max-width: 320px) {
  .catalog-header { height: 44px; padding: 0 2vw; }
  .catalog-header__brand img { width: 34px; height: 34px; }
  .catalog-page { padding-top: 44px; }
  .catalog-page--products { width: 100%; padding-bottom: 1.5rem; }
  .catalog-header__back { font-size: 8px; letter-spacing: .5px; padding: 4px 6px; }
  .subcategory-grid { width: 100%; margin: .6rem auto 1rem; gap: .4rem; }
  .product-grid { gap: .2rem; }
  .product-card { border-width: 5px; border-image-width: 5px; padding: .2rem; }
  .subcategory-preview .product-grid { gap: .35rem .2rem; }
  .subcategory-preview--all .product-grid { gap: .5rem .2rem; }
  .product-card__info { padding: .2rem .1rem .3rem; }
  .product-card__info h3 { font-size: .42rem; letter-spacing: .04em; }
  .product-card__info span { font-size: .4rem; margin-top: .15rem; }
  .catalog-title { height: 70px; margin-top: .5rem; }
  .catalog-title--products { height: 60px; }
  .catalog-title h1 { font-size: clamp(.9rem, 4vw, 1.2rem); }
  .subcategory-preview--all .product-card__info h3 { font-size: clamp(.5rem, 2.5vw, .6rem); }
  .subcategory-preview--all .product-card__info span { font-size: clamp(.45rem, 2vw, .55rem); }
  .product-page { padding: 60px .3rem 2rem; gap: 2rem; }
  .product-page__content { margin-bottom: 0; }
  .product-page h1 { font-size: clamp(.9rem, 4.5vw, 1.2rem); }
   .product-page__info-box { padding: 12px; }
   .product-description { font-size: 1rem; margin-top: .75rem; }
  .product-gallery__thumbs { grid-template-columns: repeat(auto-fill, minmax(36px, 44px)); gap: .2rem; }
  .catalog-more { padding: .5rem .6rem; font-size: .45rem; }
  .floating-contact__link { width: 34px; }
}