/* Intro */
.catalogue-intro {
  text-align: center;
  max-width: 920px;
  margin: 0 auto 48px;
  font-size: 14px;
  line-height: 1.65;
}
.catalogue-intro p { margin: 0 0 8px; }
.catalogue-intro .accent { color: var(--orange); font-weight: 600; }
.catalogue-intro .bold { font-weight: 700; }
.catalogue-intro .closing { font-weight: 700; margin-top: 14px; }

/* Section */
.catalogue-section { margin-bottom: 56px; }

.section-heading {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-heading::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
}
.section-heading::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

/* Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Card */
.card {
  background: var(--card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.13);
}

/* Image cards */
.card-img-wrap { overflow: hidden; }
.card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.card:hover .card-img { transform: scale(1.06); }

/* No-image visual block */
.card-visual {
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
}
.card-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 65% 30%, rgba(255, 255, 255, 0.18) 0%, transparent 65%);
  pointer-events: none;
}
.card-visual::after {
  content: "";
  position: absolute;
  bottom: -28px;
  right: -28px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.1);
  pointer-events: none;
}
.card-visual-icon {
  font-size: 42px;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}
.card:hover .card-visual-icon { transform: scale(1.12); }
.card-visual-label {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

/* Gradient presets for no-image cards */
.cv-amber { background: linear-gradient(135deg, #e07b3a 0%, #c05a1a 100%); }
.cv-orange { background: linear-gradient(135deg, #e89b2a 0%, #c97010 100%); }
.cv-gold  { background: linear-gradient(135deg, #f0c040 0%, #d89010 100%); }
.cv-teal  { background: linear-gradient(135deg, #6a9aaa 0%, #3a6a7a 100%); }
.cv-earth { background: linear-gradient(135deg, #9a8060 0%, #7a6040 100%); }
.cv-wine  { background: linear-gradient(135deg, #8a3030 0%, #5a1010 100%); }
.cv-spice { background: linear-gradient(135deg, #d04020 0%, #901000 100%); }

/* Card body */
.card-body {
  padding: 16px 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.card-name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  margin: 0;
  line-height: 1.25;
}
.card-portions {
  font-size: 12.5px;
  color: #888;
  font-style: italic;
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0;
}
.card-portions i { color: var(--orange); font-size: 10px; }

/* Responsive */
@media (max-width: 980px) {
  .product-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
}
@media (max-width: 580px) {
  .product-grid { gap: 12px; }
  .section-heading { font-size: 21px; margin-bottom: 18px; }
  .card-name { font-size: 17px; }
  .card-visual-icon { font-size: 34px; }
  .card-visual-label { font-size: 11px; }
  .card-body { padding: 12px 14px 16px; }
}
@media (max-width: 360px) {
  .product-grid { grid-template-columns: 1fr; }
}

/* ── MODAL ──────────────────────────────────────────────────── */
.pmodal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.pmodal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.pmodal {
  background: #fff;
  max-width: 820px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.25s ease;
}
.pmodal-overlay.open .pmodal {
  transform: translateY(0) scale(1);
}

.pmodal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: none;
  background: rgba(0, 0, 0, 0.12);
  color: #fff;
  border-radius: 50%;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.15s;
}
.pmodal-close:hover { background: rgba(0, 0, 0, 0.32); }

.pmodal-img-col { overflow: hidden; }
.pmodal-img-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pmodal-img-col .pmodal-visual {
  width: 100%;
  height: 100%;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.pmodal-visual-icon {
  font-size: 52px;
  color: rgba(255, 255, 255, 0.88);
}
.pmodal-visual-label {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pmodal-content {
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pmodal-tag {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--orange);
}
.pmodal-name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--text);
  margin: 0;
  line-height: 1.2;
}
.pmodal-portions {
  font-size: 13px;
  color: #888;
  font-style: italic;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}
.pmodal-portions i { color: var(--orange); font-size: 11px; }
.pmodal-sep {
  height: 1px;
  background: #eee;
  margin: 2px 0;
}
.pmodal-desc {
  font-size: 14.5px;
  color: #444;
  line-height: 1.65;
  flex: 1;
}
.pmodal-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--orange);
  color: #1d1d1d;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 13px 26px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
  align-self: flex-start;
  margin-top: 6px;
}
.pmodal-cta:hover {
  background: #f4ae44;
  transform: translateY(-1px);
}
.pmodal-cta i { font-size: 12px; }

@media (max-width: 640px) {
  .pmodal {
    grid-template-columns: 1fr;
    max-height: 95vh;
  }
  .pmodal-img-col { max-height: 220px; }
  .pmodal-content { padding: 24px 20px 24px; }
  .pmodal-name { font-size: 22px; }
}
