/* Comptoir du Robinet — premium product-category layer. */

body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .woocommerce-products-header {
  position: relative;
  display: flex;
  max-width: none;
  margin: 0 0 clamp(24px, 3vw, 34px);
  padding: clamp(27px, 4vw, 46px) clamp(24px, 4.4vw, 58px);
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #ded6c7;
  border-radius: 22px;
  background:
    radial-gradient(circle at 92% 12%, rgba(213, 180, 111, .19), transparent 29%),
    linear-gradient(135deg, #f8f5ee 0%, #f1ece1 100%);
  box-shadow: 0 18px 50px rgba(16, 40, 61, .055);
}

body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .woocommerce-products-header::after {
  position: absolute;
  top: 0;
  left: clamp(24px, 4.4vw, 58px);
  width: 54px;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: #d5b46f;
  content: "";
}

body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .woocommerce-products-header__title.page-title {
  z-index: 1;
  order: 2;
  max-width: 820px;
  margin: 0;
  color: #10283d;
  font-size: clamp(2.3rem, 5vw, 4.25rem);
  font-weight: 720;
  line-height: .99;
  letter-spacing: -.05em;
}

body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .cdrt-catalog-category-hero__eyebrow {
  z-index: 1;
  order: 1;
  margin: 0 0 13px;
  color: #80602d;
  font-size: 10px;
  font-weight: 790;
  letter-spacing: .13em;
  line-height: 1.3;
  text-transform: uppercase;
}

body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .cdrt-catalog-category-hero__intro {
  z-index: 1;
  order: 3;
  max-width: 760px;
  margin-top: 17px;
  color: #596874;
  font-size: 14px;
  line-height: 1.68;
}

body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .cdrt-catalog-category-hero__intro p {
  margin: 0;
}

body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .cdrt-catalog-category-hero__meta {
  z-index: 1;
  display: flex;
  order: 4;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 20px;
}

body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .cdrt-catalog-category-hero__meta span,
body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .cdrt-catalog-category-hero__meta a {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  padding: 7px 11px;
  border: 1px solid #d5ccbc;
  border-radius: 999px;
  color: #465864;
  background: rgba(255, 255, 255, .58);
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .cdrt-catalog-category-hero__meta .cdrt-catalog-category-hero__count {
  border-color: #10283d;
  color: #fff;
  background: #10283d;
}

body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .cdrt-catalog-category-hero__meta a {
  transition: color .16s ease, background-color .16s ease, border-color .16s ease;
}

@media (hover: hover) {
  body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .cdrt-catalog-category-hero__meta a:hover {
    border-color: #bfae8d;
    color: #10283d;
    background: #fff;
  }
}

/* Main universe navigation --------------------------------------------- */
body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .cdrt-catalog-categories {
  gap: 8px;
  margin-bottom: 14px;
  padding-bottom: 0;
  border-bottom: 0;
}

body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .cdrt-catalog-category {
  min-height: 40px;
  padding-inline: 15px;
  border-color: #d7d0c3;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(16, 40, 61, .025);
}

body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .cdrt-catalog-category.is-active {
  border-color: #10283d;
  background: #10283d;
}

/* Contextual subcategory navigation ------------------------------------ */
body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .cdrt-category-family {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px 20px;
  align-items: center;
  margin: 0 0 22px;
  padding: 16px 18px;
  border: 1px solid #ded6c7;
  border-radius: 16px;
  background: #f8f5ee;
}

body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .cdrt-category-family__label {
  color: #80602d;
  font-size: 10px;
  font-weight: 790;
  letter-spacing: .1em;
  line-height: 1.3;
  text-transform: uppercase;
  white-space: nowrap;
}

body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .cdrt-category-family__links {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  gap: 7px;
}

body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .cdrt-category-family__link {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border: 1px solid #d8d1c5;
  border-radius: 999px;
  color: #435461;
  background: #fff;
  font-size: 11px;
  font-weight: 690;
  line-height: 1.2;
  text-decoration: none;
  transition: color .16s ease, background-color .16s ease, border-color .16s ease, transform .16s ease;
}

body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .cdrt-category-family__link--root {
  color: #10283d;
  border-color: #c8b98f;
  background: #f3ead7;
}

body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .cdrt-category-family__link.is-active {
  color: #fff;
  border-color: #10283d;
  background: #10283d;
}

@media (hover: hover) {
  body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .cdrt-category-family__link:hover {
    color: #10283d;
    border-color: #baa980;
    background: #f1e8d6;
    transform: translateY(-1px);
  }

  body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .cdrt-category-family__link.is-active:hover {
    color: #fff;
    border-color: #244a67;
    background: #244a67;
  }
}

/* Premium toolbar ------------------------------------------------------- */
body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .cdrt-catalog-toolbar {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin: 0 0 24px;
  padding: 9px 10px 9px 16px;
  border: 1px solid #ded8ce;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(16, 40, 61, .025);
}

body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .woocommerce-result-count {
  color: #66737c;
  font-size: 11.5px;
  font-weight: 620;
}

body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .cdrt-category-sort-label {
  margin-left: auto;
  color: #6f7b83;
  font-size: 10.5px;
  font-weight: 700;
  white-space: nowrap;
}

body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .woocommerce-ordering select {
  min-height: 40px;
  min-width: 205px;
  max-width: 240px;
  border-color: #d4cdc0;
  border-radius: 10px;
  background-color: #f8f5ee;
  font-size: 11.5px;
  font-weight: 680;
  cursor: pointer;
}

body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .woocommerce-ordering select:focus-visible,
body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .cdrt-category-family__link:focus-visible,
body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .cdrt-catalog-category:focus-visible,
body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .cdrt-category-product-cta:focus-visible,
body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .woocommerce-loop-product__link:focus-visible {
  outline: 3px solid rgba(198, 161, 91, .42);
  outline-offset: 3px;
}

/* Premium retail product cards ----------------------------------------- */
body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .woocommerce ul.products {
  gap: clamp(20px, 2.2vw, 28px) clamp(14px, 1.8vw, 22px);
}

body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .woocommerce ul.products li.product,
body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .woocommerce-page ul.products li.product {
  padding: 10px 10px 14px;
  overflow: hidden;
  border: 1px solid #e1dbd1;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(16, 40, 61, .035);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .woocommerce ul.products li.product .woocommerce-loop-product__link {
  min-width: 0;
}

body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .woocommerce ul.products li.product a img {
  aspect-ratio: 1 / 1;
  margin: 0 0 14px;
  padding: clamp(15px, 1.7vw, 22px);
  border: 0;
  border-radius: 14px;
  background: #f7f3eb;
  transition: transform .22s ease, background-color .18s ease;
}

body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .woocommerce ul.products li.product .onsale {
  top: 18px;
  right: 18px;
  padding: 6px 9px;
  border-radius: 999px;
  background: #10283d;
  box-shadow: 0 5px 15px rgba(16, 40, 61, .15);
}

body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .woocommerce ul.products li.product .woocommerce-loop-product__title {
  min-height: 2.9em;
  margin-inline: 4px;
  color: #142b3e;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -.012em;
}

body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .woocommerce ul.products li.product .star-rating {
  margin: 8px 4px 0;
}

body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .woocommerce ul.products li.product .price {
  min-height: 27px;
  margin: 10px 4px 0;
  color: #10283d;
  font-size: 16px;
  font-weight: 780;
}

body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .woocommerce ul.products li.product .price del {
  font-size: 10.5px;
}

body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .cdrt-product-availability {
  margin: 7px 4px 0;
  font-size: 10px;
  font-weight: 700;
}

body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .woocommerce ul.products li.product .cdrt-category-product-cta {
  display: inline-flex;
  width: calc(100% - 8px);
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 15px 4px 0;
  padding: 10px 14px;
  border: 1px solid #10283d;
  border-radius: 10px;
  color: #fff;
  background: #10283d;
  box-shadow: none;
  font-size: 11px;
  font-weight: 740;
  line-height: 1.2;
  text-align: center;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .woocommerce ul.products li.product .cdrt-category-product-cta span {
  color: #ead7a8;
  font-size: 14px;
  line-height: 1;
  transition: transform .18s ease;
}

@media (hover: hover) {
  body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .woocommerce ul.products li.product:hover {
    border-color: #cfc4b2;
    box-shadow: 0 15px 38px rgba(16, 40, 61, .075);
    transform: translateY(-3px);
  }

  body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .woocommerce ul.products li.product:hover a img {
    border-color: transparent;
    background: #f2ede3;
    opacity: 1;
    transform: scale(1.018);
  }

  body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .woocommerce ul.products li.product .cdrt-category-product-cta:hover {
    color: #fff;
    border-color: #244a67;
    background: #244a67;
    box-shadow: 0 9px 20px rgba(16, 40, 61, .12);
    transform: translateY(-1px);
  }

  body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .woocommerce ul.products li.product .cdrt-category-product-cta:hover span {
    transform: translateX(3px);
  }
}

/* Long taxonomy copy now lives after the shopping grid. ---------------- */
body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .cdrt-catalog-category-editorial {
  margin-top: clamp(58px, 7vw, 88px);
}

body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .cdrt-catalog-category-editorial__inner {
  position: relative;
  max-width: 1040px;
  padding: clamp(28px, 4.8vw, 58px);
  overflow: hidden;
  border: 1px solid #ded6c7;
  border-radius: 22px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .12)),
    #f3f0e9;
}

body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .cdrt-catalog-category-editorial__inner::before {
  position: absolute;
  top: 0;
  left: clamp(28px, 4.8vw, 58px);
  width: 48px;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: #d5b46f;
  content: "";
}

body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .cdrt-catalog-category-editorial__eyebrow {
  margin: 0 0 11px;
  color: #80602d;
  font-size: 10px;
  font-weight: 790;
  letter-spacing: .13em;
  line-height: 1.3;
  text-transform: uppercase;
}

body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .cdrt-catalog-category-editorial h2 {
  max-width: 760px;
  margin: 0 0 22px;
  color: #10283d;
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  font-weight: 710;
  line-height: 1.08;
  letter-spacing: -.035em;
}

body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .cdrt-catalog-category-editorial__content {
  max-width: 840px;
  color: #52616c;
  font-size: 13.5px;
  line-height: 1.78;
}

body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .cdrt-catalog-category-editorial__content > *:first-child {
  margin-top: 0;
}

body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .cdrt-catalog-category-editorial__content > *:last-child {
  margin-bottom: 0;
}

body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .cdrt-catalog-category-editorial__content h2,
body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .cdrt-catalog-category-editorial__content h3,
body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .cdrt-catalog-category-editorial__content h4 {
  margin: 30px 0 10px;
  color: #18354b;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.018em;
}

body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .cdrt-catalog-category-editorial__content h2 {
  font-size: 1.35rem;
}

body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .cdrt-catalog-category-editorial__content h3 {
  font-size: 1.12rem;
}

body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .cdrt-catalog-category-editorial__content p,
body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .cdrt-catalog-category-editorial__content ul,
body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .cdrt-catalog-category-editorial__content ol {
  margin-top: 0;
  margin-bottom: 16px;
}

body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .cdrt-catalog-category-editorial__content ul,
body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .cdrt-catalog-category-editorial__content ol {
  padding-left: 21px;
}

body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .cdrt-catalog-category-editorial__content a {
  color: #173c58;
  font-weight: 680;
  text-decoration-color: rgba(128, 96, 45, .42);
  text-underline-offset: 3px;
}

@media (max-width: 820px) {
  body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .woocommerce-products-header {
    border-radius: 18px;
  }

  body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .woocommerce-products-header__title.page-title {
    font-size: clamp(2.15rem, 8vw, 3.5rem);
  }

  body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .cdrt-catalog-category-hero__intro {
    font-size: 13px;
  }

  body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .cdrt-category-family {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .cdrt-category-family__label {
    white-space: normal;
  }
}

@media (max-width: 620px) {
  body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .woocommerce-products-header {
    margin-right: -2px;
    margin-left: -2px;
    padding: 25px 20px 23px;
    border-radius: 16px;
  }

  body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .woocommerce-products-header::after {
    left: 20px;
    width: 42px;
  }

  body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .woocommerce-products-header__title.page-title {
    font-size: clamp(2rem, 10.5vw, 2.9rem);
  }

  body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .cdrt-catalog-category-hero__intro {
    margin-top: 14px;
    line-height: 1.6;
  }

  body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .cdrt-catalog-category-hero__meta {
    margin-top: 17px;
  }

  body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .cdrt-category-family {
    margin-right: -1px;
    margin-left: -1px;
    padding: 14px;
    border-radius: 14px;
  }

  body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .cdrt-category-family__links {
    flex-wrap: nowrap;
    margin-right: -14px;
    margin-left: -14px;
    padding-right: 14px;
    padding-left: 14px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
  }

  body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .cdrt-category-family__link {
    min-height: 40px;
    flex: 0 0 auto;
    padding-inline: 13px;
  }

  body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .cdrt-catalog-toolbar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 9px 10px;
    padding: 12px;
  }

  body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .woocommerce-result-count {
    grid-column: 1 / -1;
  }

  body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .cdrt-category-sort-label {
    margin-left: 0;
  }

  body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .woocommerce-ordering,
  body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .woocommerce-ordering select {
    width: 100%;
    min-width: 0;
    max-width: none;
  }

  body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .woocommerce-ordering select {
    min-height: 44px;
    font-size: 16px;
  }

  body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .woocommerce ul.products {
    gap: 16px 10px;
  }

  body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .woocommerce ul.products li.product,
  body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .woocommerce-page ul.products li.product {
    padding: 7px 7px 10px;
    border-radius: 14px;
  }

  body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .woocommerce ul.products li.product a img {
    margin-bottom: 11px;
    padding: 10px;
    border-radius: 11px;
  }

  body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .woocommerce ul.products li.product .onsale {
    top: 13px;
    right: 13px;
  }

  body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .woocommerce ul.products li.product .woocommerce-loop-product__title {
    min-height: 2.9em;
    margin-inline: 3px;
    font-size: 13px;
    line-height: 1.45;
  }

  body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .woocommerce ul.products li.product .price {
    margin-inline: 3px;
    font-size: 14px;
  }

  body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .cdrt-product-availability {
    margin-inline: 3px;
  }

  body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .woocommerce ul.products li.product .cdrt-category-product-cta {
    width: calc(100% - 6px);
    min-height: 44px;
    margin: 12px 3px 0;
    padding-inline: 8px;
    font-size: 10.5px;
  }

  body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .cdrt-catalog-category-editorial__inner {
    padding: 27px 20px;
    border-radius: 16px;
  }

  body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .cdrt-catalog-category-editorial__inner::before {
    left: 20px;
    width: 42px;
  }

  body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .cdrt-catalog-category-editorial__content {
    font-size: 13px;
    line-height: 1.7;
  }
}

@media (max-width: 380px) {
  body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .woocommerce ul.products li.product a img {
    aspect-ratio: 4 / 3;
    padding: 18px;
  }

  body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 14px;
  }

  body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .woocommerce ul.products li.product .cdrt-category-product-cta {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .cdrt-catalog-category-hero__meta a,
  body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .cdrt-category-family__link,
  body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .woocommerce ul.products li.product,
  body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .woocommerce ul.products li.product a img,
  body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .woocommerce ul.products li.product .cdrt-category-product-cta,
  body.cdrt-theme.cdrt-catalog.cdrt-product-category-premium .woocommerce ul.products li.product .cdrt-category-product-cta span {
    transition: none;
  }
}
