/* Sub-component styles live outside this folder, so the build only picks
   them up via an explicit @import (resolved and inlined at compile time). */
/* Imported from: ../../sub-components/RivieraProductCard/styles.css */
.cc_ik0o84am_DLgarMf4PD .riv-pcard {
  display: flex;
  flex-direction: column;
  background: var(--riv-card);
  border-radius: var(--riv-radius);
  box-shadow: var(--riv-shadow);
  overflow: hidden;
  transition: box-shadow var(--riv-transition), transform var(--riv-transition);
}

.cc_ik0o84am_DLgarMf4PD .riv-pcard:hover {
  box-shadow: var(--riv-shadow-lift);
  transform: translateY(-3px);
}

/* ---- Media ---- */

/* aspect-ratio reserves the box before the image loads, so nothing reflows
   when photography is added to the store later. */
.cc_ik0o84am_DLgarMf4PD .riv-pcard-media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--riv-product-gradient);
}

.cc_ik0o84am_DLgarMf4PD .riv-pcard-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform var(--riv-transition);
  mix-blend-mode: multiply;
}

.cc_ik0o84am_DLgarMf4PD .riv-pcard:hover .riv-pcard-img {
  transform: scale(1.04);
}

.cc_ik0o84am_DLgarMf4PD .riv-pcard-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Two rings and a bridge — a pair of sunglasses, drawn in CSS so the
   placeholder ships no asset and inherits the theme colours. */
.cc_ik0o84am_DLgarMf4PD .riv-pcard-placeholder-glasses {
  position: relative;
  width: 96px;
  height: 34px;
  opacity: 0.32;
}

.cc_ik0o84am_DLgarMf4PD .riv-pcard-placeholder-glasses::before, .cc_ik0o84am_DLgarMf4PD .riv-pcard-placeholder-glasses::after {
  content: "";
  position: absolute;
  top: 0;
  width: 34px;
  height: 34px;
  border: 1.5px solid var(--riv-navy);
  border-radius: 50%;
}

.cc_ik0o84am_DLgarMf4PD .riv-pcard-placeholder-glasses::before {
  left: 0;
}

.cc_ik0o84am_DLgarMf4PD .riv-pcard-placeholder-glasses::after {
  right: 0;
}

.cc_ik0o84am_DLgarMf4PD .riv-pcard-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  background: var(--riv-gold);
  color: #fff;
  font-family: var(--riv-font-body);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 5px 9px;
}

/* ---- Body ---- */

.cc_ik0o84am_DLgarMf4PD .riv-pcard-body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 16px 16px 18px;
  flex: 1;
}

.cc_ik0o84am_DLgarMf4PD .riv-pcard-brand {
  font-family: var(--riv-font-body);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 700;
  color: var(--riv-gold);
}

.cc_ik0o84am_DLgarMf4PD .riv-pcard-name {
  margin: 0;
  font-family: var(--riv-font-heading);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--riv-navy);
}

.cc_ik0o84am_DLgarMf4PD .riv-pcard-name-link {
  color: inherit;
  text-decoration: none;
}

.cc_ik0o84am_DLgarMf4PD .riv-pcard-name-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--riv-gold);
}

.cc_ik0o84am_DLgarMf4PD .riv-pcard-sku {
  font-family: var(--riv-font-body);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--riv-text-muted);
  margin-top: 1px;
}

/* ---- Colour swatches ---- */

.cc_ik0o84am_DLgarMf4PD .riv-pcard-swatches {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cc_ik0o84am_DLgarMf4PD .riv-pcard-swatch {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1px solid var(--riv-border);
  /* Fallback when the variant value carries no colour code. */
  background: #ebe2d4;
}

.cc_ik0o84am_DLgarMf4PD .riv-pcard-swatch-more {
  font-family: var(--riv-font-body);
  font-size: 11px;
  font-weight: 600;
  color: var(--riv-text-muted);
}

/* ---- Footer ---- */

.cc_ik0o84am_DLgarMf4PD .riv-pcard-foot {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.cc_ik0o84am_DLgarMf4PD .riv-pcard-prices {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.cc_ik0o84am_DLgarMf4PD .riv-pcard-price {
  font-family: var(--riv-font-body);
  font-size: 15px;
  font-weight: 700;
  color: var(--riv-navy);
}

.cc_ik0o84am_DLgarMf4PD .riv-pcard-oldprice {
  font-family: var(--riv-font-body);
  font-size: 12px;
  color: var(--riv-text-muted);
  text-decoration: line-through;
}

.cc_ik0o84am_DLgarMf4PD .riv-pcard-add {
  padding: 10px 16px;
  font-size: 10.5px;
  letter-spacing: 0.14em;
}

.cc_ik0o84am_DLgarMf4PD .riv-pcard-add:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

@media (max-width: 520px) {
  .cc_ik0o84am_DLgarMf4PD .riv-pcard-foot {
    flex-direction: column;
    align-items: stretch;
  }

  .cc_ik0o84am_DLgarMf4PD .riv-pcard-add {
    width: 100%;
  }
}

/* End import: ../../sub-components/RivieraProductCard/styles.css */
/* Imported from: ../../sub-components/RivieraEmptyState/styles.css */
.cc_ik0o84am_DLgarMf4PD .riv-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 72px 24px;
  gap: 12px;
}

/* A pair of thin rings — reads as spectacles without shipping an asset. */
.cc_ik0o84am_DLgarMf4PD .riv-empty-mark {
  width: 72px;
  height: 26px;
  position: relative;
  margin-bottom: 8px;
  opacity: 0.55;
}

.cc_ik0o84am_DLgarMf4PD .riv-empty-mark::before, .cc_ik0o84am_DLgarMf4PD .riv-empty-mark::after {
  content: "";
  position: absolute;
  top: 0;
  width: 26px;
  height: 26px;
  border: 1.5px solid var(--riv-gold);
  border-radius: 50%;
}

.cc_ik0o84am_DLgarMf4PD .riv-empty-mark::before {
  left: 0;
}

.cc_ik0o84am_DLgarMf4PD .riv-empty-mark::after {
  right: 0;
}

.cc_ik0o84am_DLgarMf4PD .riv-empty-title {
  font-family: var(--riv-font-heading);
  color: var(--riv-navy);
  font-size: 20px;
  margin: 0;
}

.cc_ik0o84am_DLgarMf4PD .riv-empty-text {
  font-family: var(--riv-font-body);
  color: var(--riv-text-muted);
  font-size: 14px;
  margin: 0;
  max-width: 42ch;
  line-height: 1.6;
}

.cc_ik0o84am_DLgarMf4PD .riv-empty-action {
  margin-top: 10px;
}

/* End import: ../../sub-components/RivieraEmptyState/styles.css */

.cc_ik0o84am_DLgarMf4PD .riv-grid {
  width: 100%;
  padding: var(--riv-section-y) 0;
}

.cc_ik0o84am_DLgarMf4PD .riv-grid-heading {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 30px;
}

.cc_ik0o84am_DLgarMf4PD .riv-grid-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
  gap: 22px;
}

@media (max-width: 520px) {
  .cc_ik0o84am_DLgarMf4PD .riv-grid {
    padding: 60px 0;
  }
  .cc_ik0o84am_DLgarMf4PD .riv-grid-items {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 14px;
  }
}

/* Sub-heading under the section title. */
.cc_ik0o84am_DLgarMf4PD .riv-grid-sub {
  font-family: var(--riv-font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--riv-text-muted);
  text-align: center;
  max-width: 52ch;
  margin: 20px auto 0;
}

/* "See the whole collection" — the home page's hand-off to the listing page. */
.cc_ik0o84am_DLgarMf4PD .riv-grid-more {
  display: flex;
  justify-content: center;
  padding-top: 52px;
}
