/* Ultralineshop catalog and product experience — v41 */
:root {
  --ul-ink: #111b28;
  --ul-navy: #17344d;
  --ul-gold: #c9922e;
  --ul-line: #e2e5e8;
  --ul-muted: #66717c;
  --ul-soft: #f7f6f3;
}

/* Category pages: remove the legacy side column and restore a calm full-width grid. */
body.page-category .columns-container.container {
  max-width: 1540px;
  padding-inline: 32px;
}
body.page-category #left-column { display: none !important; }
body.page-category #center-column {
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: 100% !important;
}
body.page-category .breadcrumb__wrapper {
  margin-bottom: 0;
  border-bottom: 1px solid #edf0f2;
  background: #fafbfb;
}
body.page-category .category__header {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
  grid-template-areas: "copy cover" "subs subs";
  gap: 28px 48px;
  align-items: center;
  margin: 0 0 40px;
  padding: 48px 0 38px;
  border-bottom: 1px solid var(--ul-line);
}
body.page-category .category__header > h1,
body.page-category .category__header > .category__description {
  grid-column: 1;
}
body.page-category .category__header h1 {
  margin: 0 0 16px;
  color: var(--ul-ink);
  font-size: clamp(2.4rem, 4vw, 4.4rem);
  line-height: .98;
  letter-spacing: -.055em;
}
body.page-category .category__description {
  max-width: 850px;
  color: #4e5a65;
  font-size: 1rem;
  line-height: 1.65;
}
body.page-category .category__description p { margin: 0 0 12px; }
body.page-category .category__cover {
  grid-area: cover;
  overflow: hidden;
  min-height: 230px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--ul-line);
}
body.page-category .category__cover picture,
body.page-category .category__cover-image {
  display: block;
  width: 100%;
  height: 100%;
}
body.page-category .category__cover-image {
  min-height: 230px;
  object-fit: contain;
  padding: 22px;
}
body.page-category .subcategory {
  grid-area: subs;
  margin: 4px 0 0;
}
body.page-category .subcategory__list {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}
body.page-category .subcategory__link {
  position: relative;
  display: flex !important;
  min-width: 0;
  min-height: 232px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 0;
  color: var(--ul-ink) !important;
  background: #fff;
  border: 1px solid var(--ul-line);
  border-radius: 14px;
  text-decoration: none !important;
  box-shadow: 0 8px 24px rgba(17, 27, 40, .045);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
body.page-category .subcategory__link:hover {
  transform: translateY(-3px);
  border-color: #cfb779;
  box-shadow: 0 14px 30px rgba(17, 27, 40, .09);
}
body.page-category .subcategory__thumbnail {
  display: block;
  width: 100%;
  height: 170px;
  margin: 0;
  padding: 16px;
  object-fit: contain;
  background: #fff;
}
body.page-category .subcategory__name {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-top: 1px solid #ece7df;
  font-size: .93rem;
  font-weight: 750;
  line-height: 1.3;
}
body.page-category .subcategory__name::after {
  content: "\2192";
  flex: none;
  margin-left: 10px;
  color: var(--ul-gold);
  font-size: 1.15rem;
}
body.page-category .products__selection {
  align-items: center;
  margin: 0 0 22px;
  padding: 14px 0;
  border-top: 1px solid var(--ul-line);
  border-bottom: 1px solid var(--ul-line);
}
body.page-category .products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

/* Shared product cards: white, aligned, informative and easy to scan. */
body.page-category .product-miniature,
body.page-product .product-miniature {
  min-width: 0;
  height: 100%;
  margin: 0 !important;
}
body.page-category .product-miniature__inner,
body.page-product .product-miniature__inner {
  display: flex;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--ul-line);
  border-radius: 14px;
  box-shadow: 0 7px 24px rgba(17, 27, 40, .045);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
body.page-category .product-miniature__inner:hover,
body.page-product .product-miniature__inner:hover {
  transform: translateY(-3px);
  border-color: #cdb77f;
  box-shadow: 0 14px 34px rgba(17, 27, 40, .085);
}
body.page-category .product-miniature__image-container,
body.page-product .product-miniature__image-container {
  height: 250px;
  padding: 18px;
  background: #fff;
}
body.page-category .product-miniature__image,
body.page-product .product-miniature__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
body.page-category .product-miniature__bottom,
body.page-product .product-miniature__bottom {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
  border-top: 1px solid #eceff1;
}
body.page-category .product-miniature__infos,
body.page-product .product-miniature__infos { display: flex; flex: 1; flex-direction: column; }
body.page-category .product-miniature__title,
body.page-product .product-miniature__title {
  min-height: 3.8em;
  margin: 0 0 12px;
  color: var(--ul-ink);
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.28;
}
body.page-category .product-miniature__prices,
body.page-product .product-miniature__prices {
  margin-top: auto;
  padding-top: 12px;
}
body.page-category .product-miniature__price,
body.page-product .product-miniature__price {
  color: var(--ul-ink);
  font-size: 1.22rem;
  font-weight: 800;
}
body.page-category .product-miniature__actions,
body.page-product .product-miniature__actions { margin-top: 14px; }
body.page-category .product-miniature__add,
body.page-product .product-miniature__add {
  min-height: 46px;
  border-radius: 8px;
  background: #101a23;
}

/* Product detail: premium two-column hero with a clear purchase panel. */
body.page-product .columns-container.container { max-width: 1450px; padding-inline: 32px; }
body.page-product .product__container {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(430px, .92fr);
  gap: clamp(40px, 5vw, 78px);
  align-items: start;
  padding: 48px 0 56px;
}
body.page-product .product__left,
body.page-product .product__right { min-width: 0; }
body.page-product .product__images {
  position: relative;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--ul-line);
  border-radius: 18px;
}
body.page-product .product__carousel { min-height: 560px; }
body.page-product .product__carousel img {
  width: 100%;
  max-height: 560px;
  object-fit: contain;
}
body.page-product .product__right {
  padding: 8px 0 0;
}
body.page-product .product__name {
  max-width: 700px;
  margin: 0 0 12px;
  color: var(--ul-ink);
  font-size: clamp(2.15rem, 3.5vw, 3.8rem);
  line-height: 1.03;
  letter-spacing: -.05em;
}
body.page-product .product__manufacturer { margin-bottom: 22px; color: var(--ul-muted); }
body.page-product .product__prices {
  margin: 0 0 22px;
  padding: 18px 0;
  border-top: 1px solid var(--ul-line);
  border-bottom: 1px solid var(--ul-line);
}
body.page-product .product__price { color: var(--ul-ink); font-size: 2rem; font-weight: 850; }
body.page-product .product__description-short {
  margin-bottom: 24px;
  color: #4e5964;
  font-size: 1rem;
  line-height: 1.65;
}
body.page-product .product__actions {
  padding: 22px;
  background: var(--ul-soft);
  border: 1px solid #e5e1d9;
  border-radius: 14px;
}
body.page-product .product-variant { margin-bottom: 18px; }
body.page-product .product__add-to-cart-button {
  min-height: 52px;
  border-radius: 8px;
  background: #101a23;
  font-weight: 800;
}
body.page-product .product__bottom {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, .55fr);
  gap: 40px;
  margin-top: 16px;
  padding: 44px 0 60px;
  border-top: 1px solid var(--ul-line);
}
body.page-product .product__accessories { margin-top: 28px; }

@media (max-width: 1199px) {
  body.page-category .subcategory__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.page-category .products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.page-product .product__container { grid-template-columns: minmax(0, 1fr) minmax(380px, .9fr); gap: 34px; }
  body.page-product .product__carousel { min-height: 450px; }
}

@media (max-width: 991px) {
  body.page-category .columns-container.container,
  body.page-product .columns-container.container { padding-inline: 20px; }
  body.page-category .category__header {
    grid-template-columns: 1fr;
    grid-template-areas: "copy" "cover" "subs";
    padding-top: 34px;
  }
  body.page-category .category__header > h1,
  body.page-category .category__header > .category__description { grid-column: 1; }
  body.page-category .category__cover { grid-column: 1; min-height: 190px; }
  body.page-category .subcategory__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.page-category .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.page-product .product__container { grid-template-columns: 1fr; padding-top: 30px; }
  body.page-product .product__carousel { min-height: 420px; }
  body.page-product .product__bottom { grid-template-columns: 1fr; }
}

@media (max-width: 575px) {
  body.page-category .columns-container.container,
  body.page-product .columns-container.container { padding-inline: 14px; }
  body.page-category .category__header { gap: 20px; margin-bottom: 24px; padding: 24px 0; }
  body.page-category .category__header h1 { font-size: 2.35rem; }
  body.page-category .category__description { font-size: .93rem; line-height: 1.55; }
  body.page-category .category__cover { min-height: 150px; border-radius: 12px; }
  body.page-category .category__cover-image { min-height: 150px; padding: 12px; }
  body.page-category .subcategory__list {
    display: flex !important;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
  }
  body.page-category .subcategory__link { flex: 0 0 76%; min-height: 208px; scroll-snap-align: start; }
  body.page-category .subcategory__thumbnail { height: 150px; }
  body.page-category .products { grid-template-columns: 1fr; gap: 14px; }
  body.page-category .product-miniature__image-container,
  body.page-product .product-miniature__image-container { height: 230px; }
  body.page-product .product__container { gap: 24px; padding: 22px 0 34px; }
  body.page-product .product__images { padding: 14px; border-radius: 12px; }
  body.page-product .product__carousel { min-height: 320px; }
  body.page-product .product__carousel img { max-height: 320px; }
  body.page-product .product__name { font-size: 2.15rem; }
  body.page-product .product__price { font-size: 1.65rem; }
  body.page-product .product__actions { padding: 16px; }
  body.page-product .product__bottom { gap: 24px; padding: 32px 0 44px; }
}
