/* Landings — Products grid. Scoped to .hk-lprod; reuses theme fonts (FreightBig Pro / Now).
 * Cards come from woocommerce/content-product.php. The shop page styles them with reusable.css
 * (also loaded here) + archive-product.css (not loaded here), so the card rules from
 * archive-product.css are copied below under .hk-lprod, plus resets for style.css rules
 * that load on regular pages but not on the shop. */
.hk-lprod {
  --hk-font-headline: "FreightBig Pro", Georgia, "Times New Roman", serif;
  --hk-font-body:
    "Now", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --hk-navy: #09334a;
  --hk-gold: #8c752c;
}
.hk-lprod,
.hk-lprod * {
  box-sizing: border-box;
}
.hk-lprod {
  background-color: #fff;
  padding-block-start: clamp(60px, 4.166vw, 80px);
  padding-block-end: 20px;
  color: var(--hk-navy);
  scroll-margin-top: 90px;
}
.hk-lprod__wrap {
  max-width: 1495px;
  margin-inline: auto;
  padding-inline: clamp(16px, 5.208vw, 100px);
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 1.56vw, 30px);
}

/* Head */
.hk-lprod__head {
  display: flex;
  flex-direction: column;
  gap: 5px;
  max-width: 720px;
}
.hk-lprod__eyebrow {
  font-family: var(--hk-font-body);
  font-weight: 700;
  font-size: clamp(13px, 0.781vw, 15px);
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hk-gold);
}
.hk-lprod__title {
  font-family: var(--hk-font-headline) !important;
  font-weight: 600 !important;
  font-size: clamp(30px, 2.291vw, 44px) !important;
  line-height: 1.25 !important;
  letter-spacing: 0;
  text-transform: none !important;
  color: var(--hk-navy);
  margin: 0;
}
.hk-lprod__intro {
  margin-top: 10px;
  font-family: var(--hk-font-body);
  font-size: clamp(15px, 0.885vw, 17px);
  line-height: 1.6;
}
.hk-lprod__intro p {
  margin: 0 0 1em;
}
.hk-lprod__intro > :last-child {
  margin-bottom: 0;
}
.hk-lprod__intro a {
  color: inherit;
  text-decoration: underline;
}

/* Grid: full width with 20px gutters, 4 / 3 / 2 columns — same as the shop grid */
.hk-lprod__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: clamp(20px, 1.56vw, 30px);
  padding-inline: 20px;
}
.hk-lprod__item {
  display: flex;
  min-width: 0;
}

/* ---- Shop card (copied from archive-product.css, scoped) ---- */
.hk-lprod .product-grid-product {
  position: relative;
  width: 100%;
  padding: 0;
  border: 1px solid #cbd5e1;
  border-radius: 2px;
  /* Column layout so price + Add to basket always sit at the bottom of the card */
  display: flex;
  flex-direction: column;
}
/* Badge: 62px on the shop (inline .tag-image-here rule wins there over archive-product.css) */
.hk-lprod .tag-image-here {
  max-width: 62px;
  left: 10px !important;
  top: 10px !important;
}
.hk-lprod .tag-image {
  right: unset !important;
  max-width: unset !important;
  left: 0 !important;
  margin: 0;
}
.hk-lprod .has-second-image {
  position: relative;
}
.hk-lprod .has-second-image a .second-image {
  height: 100%;
  object-fit: cover;
}
.hk-lprod .product-details {
  padding: 10px 25px 25px;
  text-align: left;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.hk-lprod .product-details h2 {
  font-size: 20px;
  color: #09334a;
  font-weight: 500;
  line-height: 1.3;
  margin-top: 0;
  margin-bottom: 10px;
}
.hk-lprod .product-details-title .product-title {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
  font-family: "Now" !important;
  margin-top: 0;
  display: block;
  min-height: unset;
  margin-bottom: 10px !important;
}
.hk-lprod .product-flavour {
  display: none;
}
.hk-lprod .product-tags-wrapper {
  row-gap: 5px;
  margin-bottom: 30px;
}
.hk-lprod .product-tags-wrapper span {
  padding: 0;
  border: unset;
  display: inline;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
  color: #09334a;
}
.hk-lprod .main-product-meta {
  position: absolute;
  left: 25px;
  bottom: 25px;
  font-size: 17px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.3;
}
.hk-lprod .product-grid-product .remove-from-cart {
  display: none;
}
.hk-lprod .price-wishlist-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}
.hk-lprod .price-wishlist-row .product-meta:not(.active) {
  display: none;
}
.hk-lprod .price-wishlist-row .main-product-meta {
  position: static;
}

/* ---- Resets for style.css (loaded on regular pages, not on the shop) ---- */
.hk-lprod .product-image {
  height: auto;
}
.hk-lprod .product-title:hover {
  opacity: 1;
}
.hk-lprod .product-price {
  text-align: left;
  padding-top: 0;
  font-size: inherit !important;
  letter-spacing: normal;
}
.hk-lprod .wishlist-wrapper {
  position: static;
}

/* ---- Add to basket (hidden on the shop; the card's own form posts to the cart page) ---- */
/* Always open: reusable.css collapses .product-buttons to max-height 0 unless .active,
   and custom.js removes .active on any click outside the card. */
.hk-lprod .product-buttons {
  display: flex;
  flex-direction: column;
  max-height: none;
  overflow: visible;
  margin-top: 20px;
}
.hk-lprod .product-buttons .currently-hidden {
  display: none;
}
.hk-lprod .product-buttons form.cart {
  margin: 0;
}
.hk-lprod .product-buttons .single-product-add-to-cart {
  display: block;
  width: 100%;
  padding: 12px 20px;
  border: 1px solid var(--hk-navy);
  border-radius: 2px;
  background: var(--hk-navy);
  color: #fff;
  font-family: var(--hk-font-body);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: normal;
  text-transform: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.hk-lprod .product-buttons .single-product-add-to-cart:hover,
.hk-lprod .product-buttons .single-product-add-to-cart:focus-visible {
  background: #fff;
  color: var(--hk-navy);
}

/* ---- Responsive ---- */
@media only screen and (max-width: 1336px) {
  .hk-lprod .product-tags-wrapper span {
    font-size: 13px;
    line-height: 1.2;
  }
}
@media only screen and (max-width: 1200px) {
  .hk-lprod__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media only screen and (max-width: 991px) {
  .hk-lprod__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media only screen and (max-width: 767px) {
  .hk-lprod .product-title {
    font-size: 14px !important;
    line-height: 1.2;
  }
  .hk-lprod .product-price span {
    font-size: 14px !important;
  }
}
@media only screen and (max-width: 575px) {
  .hk-lprod__grid {
    gap: 10px;
    padding-inline: 15px;
  }
  .hk-lprod .product-details {
    padding: 10px 10px 15px 10px;
  }
  .hk-lprod .product-buttons {
    margin-top: 15px;
  }
  .hk-lprod .product-buttons .single-product-add-to-cart {
    padding: 10px 12px;
    font-size: 14px;
  }
  .hk-lprod .main-product-meta {
    left: 10px;
    bottom: 10px;
  }
}
