/* Mint Value | product-card-grid.css | extracted without intentional visual redesign */

/* From custom-css-2_1.css | order 38 */
.category-title, .products-top-header {
  display: none;
}

/* Original module: product-grid-layout.css */
/* Mint Value Watches + Luxury Bags — product listing cards v6
 * Home & category listings only. No changes to product detail (.p-detail).
 * Keeps existing product colours, labels and buttons.
 */
#content .products .product { min-width: 0 !important; }
#content .products .product > .p {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  min-width: 0 !important;
}
#content .products .product .p-in,
#content .products .product .p-in-in {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  width: 100% !important;
  min-width: 0 !important;
}
/* Do not stretch the inner title/status block; its stretching caused the huge gap. */
#content .products .product .p-in-in { flex: 0 0 auto !important; }
/* Let names use their actual content height; no reserved 3- or 4-line blank area. */
#content .products .product .p-in-in > a.name {
    display: block !important;
    flex: 0 0 auto !important;
    min-height: 2.6em !important;
    height: auto !important;
    line-height: 1.3 !important;
    padding: 0 !important;
    margin: 0 0 6px !important;
}
/* Availability follows the natural-height title without extra reserved title lines. */
#content .products .product .p-in-in > .ratings-wrapper {
  display: flex !important;
  align-items: flex-end !important;
  flex: 0 0 auto !important;
  min-height: 30px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}
#content .products .product .ratings-wrapper .availability { margin: 0 !important; }
#content .products .product .p-bottom {
  flex: 0 0 auto !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 7px 0 0 !important;
  padding: 0 !important;
}
/* Shoptet markup: price left, card action right. No DOM mutations. */
#content .products .product .p-bottom > [data-micro="offer"] {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  grid-template-rows: auto auto !important;
  align-items: center !important;
  column-gap: 6px !important;
  row-gap: 12px !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
#content .products .product .p-bottom .prices {
  display: block !important;
  grid-column: 1 !important;
  grid-row: 1 !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
#content .products .product .p-bottom .price-final { margin: 0 !important; padding: 0 !important; }
#content .products .product .p-bottom .p-tools {
  display: flex !important;
  grid-column: 2 !important;
  grid-row: 1 !important;
  align-items: center !important;
  justify-content: flex-end !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}
#content .products .product .p-bottom .p-tools .btn {
  white-space: nowrap !important;
  margin: 0 !important;
}
/* Description is the THIRD direct child of the offer container in Shoptet.
 * Keep it in its own FULL-WIDTH row below price + Detail. */
#content .products .product .p-bottom > [data-micro="offer"] > .p-desc {
  display: block !important;
  grid-column: 1 / -1 !important;
  grid-row: 2 !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  clear: both !important;
  box-sizing: border-box !important;
  overflow-wrap: break-word !important;
}
/* Guard against an existing global product-tile rule creating empty space. */
#content .products .product .p-in-in > .ratings-wrapper:empty { min-height: 30px !important; }
/* CTA belongs below the grid (not a product card). */
#content .mv-newarrivals > .mv-collection-cta { width: 100%; }
@media (max-width: 767px) {
  #content .products .product .p-in-in > a.name {
    min-height: 2.6em !important;
    font-size: 13px !important;
    line-height: 1.3 !important;
    margin-bottom: 6px !important;
  }
  #content .products .product .p-in-in > .ratings-wrapper { min-height: 22px !important; }
  #content .products .product .availability > span {
    font-family: Montserrat, Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.15 !important;
    font-weight: 600 !important;
    display: inline-block !important;
    padding: 5px 7px !important;
    max-width: 100%;
    white-space: normal !important;
  }
  #content .products .product .p-bottom .price-final strong {
    font-size: clamp(14px, 3.5vw, 19px) !important;
    line-height: 1.2 !important;
  }
  #content .products .product .p-bottom .p-tools .btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 0 !important;
    min-height: 30px !important;
    padding: 7px 9px !important;
    font-size: 10px !important;
    line-height: 1.1 !important;
  }
}
@media (max-width: 380px) {
  #content .products .product .p-bottom > [data-micro="offer"] { column-gap: 4px !important; }
  #content .products .product .p-bottom .price-final strong { font-size: 14px !important; }
  #content .products .product .p-bottom .p-tools .btn { font-size: 9px !important; padding: 7px 6px !important; }
}

/* Explicitly restore/show the All Watches CTA BELOW the New Arrivals grid.
   Scoped so it cannot affect categories, Luxury Bags or other sections. */
#content .mv-newarrivals > #products-4 + .mv-collection-cta {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
  margin: 24px auto 0 !important;
  padding: 0 !important;
  position: relative;
  z-index: 1;
}
#content .mv-newarrivals > #products-4 + .mv-collection-cta > .mv-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Keep the space INSIDE the New Arrivals section so its own background covers it. */
#content .mv-newarrivals {
  margin-bottom: 0 !important;
  padding-bottom: 64px !important;
  box-sizing: border-box;
}
@media (max-width: 767px) {
  #content .mv-newarrivals { margin-bottom: 0 !important; padding-bottom: 40px !important; }
}

