/* =========================================================
   HARMONIA — LE NOSTRE CAMOMILLE
   File pulito
   ========================================================= */

.ht-camomille-page {
  --ht-c-night: #000410;
  --ht-c-night-soft: #07111b;
  --ht-c-gold: #f5c28f;
  --ht-c-gold-light: #ffd28e;
  --ht-c-teal: #14383c;
  --ht-c-card: rgba(255, 255, 255, 0.94);
  --ht-c-text: #000410;

  position: relative;
  width: 100%;
  min-height: 100vh;

  padding:
    calc(var(--ht-fixed-header-stack, 148px) + 38px)
    0
    70px;

  overflow: hidden;

  background:
    radial-gradient(circle at 84% 32%, rgba(37, 104, 109, 0.38), transparent 34%),
    radial-gradient(circle at 12% 76%, rgba(46, 72, 75, 0.22), transparent 32%),
    linear-gradient(125deg, #15171b 0%, #07111b 52%, #073038 100%);

  color: #ffffff;
  font-family: "Open Sans", sans-serif;
}

body.tax-product_cat.term-le-nostre-camomille {
  background: #000410;
}

body.tax-product_cat.term-le-nostre-camomille .site-main,
body.tax-product_cat.term-le-nostre-camomille .site-content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
}

.ht-camomille-inner {
  position: relative;
  z-index: 3;
  width: min(calc(100% - 80px), 1500px);
  margin: 0 auto;
}

.ht-camomille-header {
  max-width: 850px;
  margin: 0 auto 66px;
  text-align: center;
}

.ht-camomille-eyebrow {
  margin: 0 0 14px !important;
  color: var(--ht-c-gold) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 4px;
  text-transform: uppercase;
  text-align: center !important;
}

.ht-camomille-header h1 {
  margin: 0 !important;
  color: var(--ht-c-gold-light) !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(38px, 4.4vw, 66px) !important;
  font-weight: 700 !important;
  line-height: 1.02 !important;
  letter-spacing: -.045em !important;
  text-align: center !important;
}

.ht-camomille-products {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 58px);
  align-items: stretch;
}

.ht-camomille-product {
  position: relative;
  min-width: 0;
  padding-top: 112px;
}

.ht-camomille-product-visual {
  position: absolute;
  z-index: 6;
  top: 0;
  left: 50%;
  width: 220px;
  height: 225px;
  transform: translateX(-50%);
  pointer-events: none;
}

.ht-camomille-product-media {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.ht-camomille-product-image-link {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: auto;
}

.ht-camomille-product-image {
  position: relative;
  z-index: 2;
  display: block;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  object-fit: contain;
  filter: drop-shadow(0 16px 22px rgba(0, 0, 0, 0.24));
  transition: transform .35s ease;
}

.ht-camomille-botanical {
  position: absolute;
  z-index: 4;
  right: 32px;
  bottom: 14px;
  width: 82px;
  height: 82px;
  object-fit: contain;
  pointer-events: none;
  transform: translate(18%, 6%) rotate(-7deg);
  transform-origin: center;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.22));
  transition: transform .35s ease;
}

.ht-camomille-product:hover .ht-camomille-product-image {
  transform: translateY(-5px);
}

.ht-camomille-product:hover .ht-camomille-botanical {
  transform: translate(22%, 1%) rotate(-3deg) scale(1.05);
}

.ht-camomille-card {
  position: relative;
  min-height: 302px;
  padding: 100px 28px 24px;
  display: flex;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(246,244,239,.90));
  border: 1px solid rgba(255, 210, 142, .60);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(0,0,0,.18);
  color: var(--ht-c-text);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.ht-camomille-product:hover .ht-camomille-card {
  transform: translateY(-5px);
  border-color: var(--ht-c-gold-light);
  box-shadow: 0 30px 70px rgba(0,0,0,.26);
}

.ht-camomille-card-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.ht-camomille-card h2 {
  margin: 0 0 11px !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(26px, 2.1vw, 36px) !important;
  font-weight: 700 !important;
  line-height: 1.05 !important;
  letter-spacing: -.025em;
  text-align: left !important;
}

.ht-camomille-card h2 a {
  color: var(--ht-c-night) !important;
  text-decoration: none !important;
}

.ht-camomille-product-subtitle {
  max-width: 78%;
  color: rgba(0,4,16,.64);
  font-size: 13px;
  line-height: 1.5;
  text-align: left;
}

.ht-camomille-card-bottom {
  margin-top: auto;
  padding-top: 26px;
  display: flex;
  align-items: center;
  gap: 14px;
}

body.tax-product_cat a.ht-camomille-explore {
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(0,4,16,.45);
  color: var(--ht-c-night) !important;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
  text-decoration: none !important;
}

.ht-camomille-add {
  margin-left: auto;
}

body.tax-product_cat .ht-camomille-card .button,
body.tax-product_cat .ht-camomille-card .add_to_cart_button {
  width: auto !important;
  min-width: 112px !important;
  min-height: 38px !important;
  margin: 0 !important;
  padding: 8px 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid var(--ht-c-gold) !important;
  border-radius: 999px !important;
  background: var(--ht-c-night) !important;
  color: var(--ht-c-gold-light) !important;
  box-shadow: none !important;
  font-family: "Open Sans", sans-serif !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  text-transform: uppercase;
  transition: transform .2s ease, background .2s ease;
}

body.tax-product_cat .ht-camomille-card .button:hover,
body.tax-product_cat .ht-camomille-card .add_to_cart_button:hover {
  transform: translateY(-2px);
  background: var(--ht-c-gold-light) !important;
  color: var(--ht-c-night) !important;
}

.ht-camomille-story {
  position: relative;
  z-index: 4;
  width: min(900px, 100%);
  margin: 60px auto 0;
  text-align: center;
}

.ht-camomille-story-star {
  display: block;
  margin-bottom: 18px;
  color: var(--ht-c-gold-light);
  font-size: 26px;
  animation: htCamomilleTwinkle 2.8s ease-in-out infinite;
}

.ht-camomille-story-copy {
  max-width: 850px;
  margin: 0 auto !important;
  color: rgba(255,255,255,.82) !important;
  font-size: 15px !important;
  line-height: 1.75 !important;
  text-align: center !important;
}

.ht-camomille-story-copy strong {
  color: var(--ht-c-gold-light);
  font-weight: 700;
}

.ht-camomille-empty {
  width: min(600px, 100%);
  margin: 50px auto;
  text-align: center;
}

.ht-camomille-empty p {
  color: rgba(255,255,255,.72) !important;
  text-align: center !important;
}

.ht-camomille-stars {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.ht-camomille-stars .star {
  position: absolute;
  color: rgba(255,210,142,.74);
  font-size: 15px;
  animation: htCamomilleTwinkle 3.5s ease-in-out infinite;
}

.star--1 { top: 22%; left: 8%; }
.star--2 { top: 32%; left: 31%; font-size: 9px !important; animation-delay: .8s !important; }
.star--3 { top: 18%; left: 57%; animation-delay: 1.4s !important; }
.star--4 { top: 36%; right: 7%; font-size: 20px !important; }
.star--5 { top: 51%; left: 18%; animation-delay: 1.9s !important; }
.star--6 { top: 63%; left: 44%; font-size: 10px !important; }
.star--7 { top: 71%; right: 21%; animation-delay: .6s !important; }
.star--8 { top: 82%; left: 12%; }
.star--9 { top: 79%; right: 8%; font-size: 9px !important; }
.star--10 { top: 46%; right: 34%; animation-delay: 2.2s !important; }
.star--11 { top: 14%; right: 18%; font-size: 10px !important; }
.star--12 { top: 90%; left: 60%; animation-delay: 1s !important; }

@keyframes htCamomilleTwinkle {
  0%, 100% {
    opacity: .28;
    transform: scale(.75) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.15) rotate(12deg);
  }
}

.ht-camomille-orbit {
  position: absolute;
  z-index: 1;
  width: 450px;
  height: 450px;
  border: 4px solid rgba(255,210,142,.78);
  border-radius: 50%;
  pointer-events: none;
  opacity: .68;
}

.ht-camomille-orbit::after {
  content: "";
  position: absolute;
  inset: 23px -25px -23px 25px;
  border: 3px solid rgba(245,194,143,.55);
  border-radius: 50%;
}

.ht-camomille-orbit--left {
  left: -280px;
  top: 52%;
  transform: rotate(-22deg);
}

.ht-camomille-orbit--right {
  right: -330px;
  top: 14%;
  width: 420px;
  height: 420px;
  opacity: .30;
}

.ht-click-leaf {
  position: fixed;
  z-index: 99999;
  display: block;
  pointer-events: none;
  opacity: 0;
  transform-origin: center;
  filter: drop-shadow(0 4px 5px rgba(0, 0, 0, .15));
  animation: htLeafFall 950ms cubic-bezier(.18, .72, .32, 1) forwards;
}

.ht-click-leaf svg {
  display: block;
  width: 100%;
  height: 100%;
}

@keyframes htLeafFall {
  0% {
    opacity: 0;
    transform:
      translate(var(--ht-leaf-offset-x), var(--ht-leaf-offset-y))
      scale(.45)
      rotate(var(--ht-leaf-start-rotation));
  }

  18% {
    opacity: .95;
    transform:
      translate(
        calc(var(--ht-leaf-offset-x) + (var(--ht-leaf-drift) * .15)),
        calc(var(--ht-leaf-offset-y) - 10px)
      )
      scale(1)
      rotate(calc(var(--ht-leaf-start-rotation) + 25deg));
  }

  100% {
    opacity: 0;
    transform:
      translate(
        calc(var(--ht-leaf-offset-x) + var(--ht-leaf-drift)),
        calc(var(--ht-leaf-offset-y) + 75px)
      )
      scale(.72)
      rotate(var(--ht-leaf-end-rotation));
  }
}

@media (prefers-reduced-motion: reduce) {
  .ht-click-leaf {
    display: none !important;
  }
}

@media (max-width: 1050px) {
  .ht-camomille-inner {
    width: calc(100% - 48px);
  }

  .ht-camomille-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ht-camomille-product:last-child {
    grid-column: 1 / -1;
    width: min(460px, 100%);
    justify-self: center;
  }
}

@media (max-width: 700px) {
  .ht-camomille-page {
    padding:
      calc(var(--ht-fixed-header-stack, 152px) + 30px)
      0
      55px;
  }

  .ht-camomille-inner {
    width: calc(100% - 32px);
  }

  .ht-camomille-header {
    margin-bottom: 54px;
  }

  .ht-camomille-header h1 {
    font-size: 41px !important;
  }

  .ht-camomille-products {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .ht-camomille-product,
  .ht-camomille-product:last-child {
    grid-column: auto;
    width: 100%;
    padding-top: 92px;
  }

  .ht-camomille-product-visual {
    width: 180px;
    height: 196px;
  }

  .ht-camomille-botanical {
    right: 26px;
    bottom: 11px;
    width: 67px;
    height: 67px;
    transform: translate(18%, 7%) rotate(-7deg);
  }

  .ht-camomille-card {
    min-height: 285px;
    padding: 88px 22px 22px;
  }

  .ht-camomille-card h2 {
    font-size: 29px !important;
  }

  .ht-camomille-product-subtitle {
    max-width: 78%;
  }

  .ht-camomille-card-bottom {
    align-items: flex-end;
  }

  .ht-camomille-story {
    margin-top: 50px;
  }

  .ht-camomille-story-copy {
    font-size: 15px !important;
  }

  .ht-camomille-orbit {
    width: 300px;
    height: 300px;
  }

  .ht-camomille-orbit--left {
    left: -220px;
  }

  .ht-camomille-orbit--right {
    display: none;
  }
}
