
/* Mumma's Cosy Corner Catalogue */

.catalogue-active {
  color: var(--orange) !important;
}

.catalogue-hero {
  padding: 82px 0 76px;
  background:
    radial-gradient(circle at 80% 25%, rgba(168,181,91,.26), transparent 25%),
    linear-gradient(145deg, #fffaf0 0%, #f6eedb 62%, #edf0d4 100%);
  border-bottom: 1px solid var(--line);
}

.catalogue-hero-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 64px;
  align-items: center;
}

.catalogue-hero h1 {
  margin: 0;
  color: var(--green-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.7rem, 7vw, 7.2rem);
  line-height: .95;
  letter-spacing: -.05em;
}

.catalogue-hero h1 span {
  color: var(--orange);
}

.catalogue-lead {
  max-width: 760px;
  margin: 24px 0 8px;
  color: var(--green-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  font-weight: 700;
}

.catalogue-copy {
  max-width: 760px;
  color: var(--muted);
}

.delivery-card {
  padding: 34px;
  border-radius: 22px;
  background: var(--green-dark);
  color: white;
  box-shadow: var(--shadow);
}

.delivery-card > span {
  color: #efc29d;
  font-size: .72rem;
  font-weight: 1000;
  letter-spacing: .14em;
}

.delivery-card > strong {
  display: block;
  margin: 12px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.2rem;
  line-height: 1;
}

.delivery-card > p {
  margin: 6px 0 24px;
  color: #e6eadf;
}

.delivery-free {
  padding: 15px;
  border-radius: 10px;
  background: rgba(255,255,255,.10);
}

.catalogue-toolbar-section {
  padding: 82px 0 92px;
}

.catalogue-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 36px;
}

.catalogue-toolbar h2,
.catalogue-contact-box h2 {
  margin: 0;
  color: var(--green-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 4.6vw, 4.4rem);
  line-height: 1;
  letter-spacing: -.04em;
}

.catalogue-toolbar h2 span,
.catalogue-contact-box h2 span {
  color: var(--orange);
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  justify-content: flex-end;
}

.filter-btn {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(79,103,41,.20);
  border-radius: 999px;
  background: var(--paper);
  color: var(--green-deep);
  cursor: pointer;
  font-weight: 800;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--green-dark);
  color: white;
  border-color: var(--green-dark);
}

.catalogue-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.catalogue-card {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 17px;
  box-shadow: 0 15px 38px rgba(69,77,42,.08);
}

.catalogue-card[hidden] {
  display: none !important;
}

.catalogue-image-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eee9df;
}

.catalogue-image-wrap > img,
.main-product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.multi-image {
  position: relative;
  padding-bottom: 66px;
}

.multi-image .main-product-image {
  height: calc(100% - 66px);
}

.thumb-row {
  position: absolute;
  bottom: 9px;
  left: 10px;
  right: 10px;
  height: 48px;
  display: flex;
  gap: 7px;
}

.thumb {
  width: 48px;
  height: 48px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 7px;
  background: white;
  cursor: pointer;
}

.thumb.active {
  border-color: var(--orange);
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalogue-card-body {
  padding: 23px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.catalogue-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 14px;
}

.category-pill {
  display: inline-flex;
  padding: 5px 8px;
  border-radius: 999px;
  background: #edf0d7;
  color: var(--green-dark);
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .05em;
}

.product-price {
  text-align: right;
  color: var(--green-deep);
}

.product-price strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
  line-height: .9;
}

.product-price span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: .68rem;
  font-weight: 800;
}

.catalogue-card h3 {
  margin: 18px 0 8px;
  color: var(--green-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  line-height: 1.08;
}

.catalogue-card-body > p:not(.product-note) {
  margin: 0 0 22px;
  color: var(--muted);
}

.product-actions {
  margin-top: auto;
}

.product-actions .cosy-btn {
  width: 100%;
}

.product-note {
  margin: 12px 0 0;
  color: #8a8178;
  font-size: .75rem;
  text-align: center;
}

.catalogue-info-section {
  padding: 72px 0;
  background: #f2ead9;
  border-block: 1px solid var(--line);
}

.catalogue-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.info-card {
  padding: 28px;
  border-radius: 15px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.info-card > span {
  display: block;
  margin-bottom: 32px;
  color: var(--orange);
  font-size: .73rem;
  font-weight: 1000;
  letter-spacing: .12em;
}

.info-card strong {
  display: block;
  color: var(--green-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
}

.info-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.catalogue-contact-section {
  padding: 82px 0;
  background: var(--green-dark);
}

.catalogue-contact-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 54px;
  align-items: center;
}

.catalogue-contact-box h2 {
  color: white;
}

.catalogue-contact-box p {
  max-width: 700px;
  color: #e4eadb;
}

.catalogue-contact-actions {
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.catalogue-contact-box .cosy-btn-secondary {
  color: white;
  border-color: rgba(255,255,255,.28);
  background: rgba(255,255,255,.08);
}

@media (max-width: 980px) {
  .catalogue-hero-grid,
  .catalogue-contact-box {
    grid-template-columns: 1fr;
  }

  .catalogue-toolbar {
    display: block;
  }

  .filter-buttons {
    margin-top: 24px;
    justify-content: flex-start;
  }

  .catalogue-grid {
    grid-template-columns: 1fr 1fr;
  }

  .catalogue-info-grid {
    grid-template-columns: 1fr;
  }

  .catalogue-contact-actions {
    min-width: 0;
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 650px) {
  .catalogue-hero {
    padding: 58px 0 62px;
  }

  .catalogue-grid {
    grid-template-columns: 1fr;
  }

  .filter-buttons {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 5px;
  }

  .filter-btn {
    white-space: nowrap;
  }

  .catalogue-contact-actions {
    flex-direction: column;
  }

  .catalogue-contact-actions .cosy-btn {
    width: 100%;
  }
}


/* ----------------------------
   CATALOGUE ORDER CONTROLS
   ---------------------------- */

.order-controls {
  margin-top: auto;
}

.order-row {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 10px;
  margin-bottom: 10px;
}

.order-row label {
  color: var(--green-deep);
  font-size: .72rem;
  font-weight: 900;
}

.order-row input {
  width: 100%;
  margin-top: 5px;
  padding: 9px 10px;
  border: 1px solid rgba(79,103,41,.22);
  border-radius: 8px;
  background: #fffdfa;
  color: var(--ink);
}

.add-to-basket-btn {
  width: 100%;
}

.added-feedback {
  min-height: 18px;
  display: block;
  margin-top: 6px;
  color: var(--green-dark);
  font-size: .75rem;
  font-weight: 900;
  text-align: center;
}

.basket-hero-btn {
  display: inline-flex;
  gap: 7px;
}

@media (max-width: 520px) {
  .order-row {
    grid-template-columns: 1fr;
  }
}
