/* =========================================================
   HARMONIA — SHARED PRODUCT CARD
   Template: template-parts/harmonia/product-card.php

   Questo file contiene SOLO lo stile del componente card.
   Layout di griglie/sezioni resta nei CSS delle singole pagine.
   ========================================================= */

.ht-camomille-product {
  --ht-card-night: #000410;
  --ht-card-gold: #f5c28f;
  --ht-card-gold-light: #ffd28e;

  position: relative;
  min-width: 0;
  padding-top: 115px;
}


/* =========================================================
   PRODUCT VISUAL
   ========================================================= */

.ht-camomille-product-visual {
  position: absolute;
  z-index: 5;

  top: 18px;
  left: 50%;

  width: 155px;
  height: 188px;

  transform: translateX(-50%);

  overflow: visible;
  pointer-events: none;
}

.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;
  max-width: 100% !important;

  margin: 0 !important;

  object-fit: contain !important;

  filter: drop-shadow(0 12px 16px rgba(0,0,0,.20));

  transition: transform .35s ease;
}

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


/* =========================================================
   CARD
   ========================================================= */

.ht-camomille-card {
  position: relative;

  min-height: 320px;

  padding: 105px 28px 25px;

  display: flex;

  overflow: visible;

  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-card-night);

  transition:
    transform .3s ease,
    border-color .3s ease,
    box-shadow .3s ease;
}

.ht-camomille-product:hover .ht-camomille-card {
  transform: translateY(-6px);

  border-color: var(--ht-card-gold-light);

  box-shadow: 0 30px 70px rgba(0,0,0,.26);
}


/* =========================================================
   CARD CONTENT
   ========================================================= */

.ht-camomille-card-content {
  position: relative;
  z-index: 3;

  width: 100%;

  display: flex;
  flex-direction: column;
}

.ht-camomille-product-kicker {
  margin: 0 0 8px !important;

  color: rgba(0,4,16,.48) !important;

  font-size: 10px !important;
  font-weight: 800 !important;
  letter-spacing: 1.5px;

  text-transform: uppercase;
  text-align: left !important;
}

.ht-camomille-card h2 {
  width: 100%;

  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: center !important;
}

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

.ht-camomille-product-subtitle {
  width: 100%;
  max-width: 90%;

  margin-left: auto;
  margin-right: auto;

  color: rgba(0,4,16,.64);

  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  line-height: 1.5;

  text-align: center;
}

.ht-camomille-product-subtitle strong {
  color: inherit;
  font-weight: 800;
}


/* =========================================================
   CARD BOTTOM
   ========================================================= */

.ht-camomille-card-bottom {
  margin-top: auto;
  padding-top: 26px;

  display: flex;
  align-items: center;

  gap: 14px;
}

a.ht-camomille-explore {
  padding-bottom: 3px;

  border-bottom: 1px solid rgba(0,4,16,.45);

  color: var(--ht-card-night) !important;

  font-family: "Open Sans", sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .5px;

  text-transform: uppercase;
  text-decoration: none !important;
}

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


/* =========================================================
   ADD TO CART
   ========================================================= */

.ht-camomille-card .button,
.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: 0 !important;
  border-radius: 999px !important;

  background: var(--ht-card-night) !important;
  color: var(--ht-card-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,
    color .2s ease;
}

.ht-camomille-card .button:hover,
.ht-camomille-card .add_to_cart_button:hover {
  transform: translateY(-2px);

  background: var(--ht-card-gold-light) !important;
  color: var(--ht-card-night) !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

  .ht-camomille-product {
    padding-top: 90px;
  }

  .ht-camomille-product-visual {
    top: 0;

    width: 112px;
    height: 136px;
  }

  .ht-camomille-card {
    min-height: 300px;

    padding:
      92px
      22px
      22px;
  }

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

  .ht-camomille-product-subtitle {
    max-width: 74%;
    font-size: 15px;
  }

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