/* Products section
   Gallery calm theme to match header hero and about
   Palette: indigo ivory clay gold
*/

.productsSection{
  padding: 82px 0 72px 0;
  position: relative;
  overflow: hidden;
}

.productsSection::before{
  content:"";
  position:absolute;
  inset:-160px;
  background:
    radial-gradient(900px 520px at 12% 18%, rgba(28,42,58,0.10), transparent 62%),
    radial-gradient(820px 520px at 86% 18%, rgba(200,164,93,0.10), transparent 60%),
    radial-gradient(820px 520px at 52% 92%, rgba(181,106,74,0.08), transparent 60%);
  pointer-events:none;
  z-index:0;
}

.productsWrap{
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.productsHeaderBlock{
  text-align: center;
  margin-bottom: 40px;
}

.productsKicker{
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(28,42,58,0.72);
  margin-bottom: 10px;
}

.productsTitle{
  margin: 0 0 12px 0;
  font-size: 36px;
  font-weight: 720;
  letter-spacing: -0.4px;
  color: #1c2a3a;
  line-height: 1.12;
}

.productsLead{
  margin: 0 auto;
  max-width: 60ch;
  font-size: 15.2px;
  line-height: 1.7;
  color: rgba(22,26,29,0.70);
}

.productsGrid{
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
}

/* Card */
.productCard{
  width: 320px;
  border-radius: 20px;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(28,42,58,0.12);
  box-shadow: 0 12px 28px rgba(16,22,28,0.10);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.productCard:hover{
  transform: translateY(-3px);
  background: rgba(255,255,255,0.86);
  border-color: rgba(28,42,58,0.18);
  box-shadow: 0 18px 46px rgba(16,22,28,0.14);
}

/* Image frame */
.productImgFrame{
  height: 260px;
  background: rgba(247,245,240,0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.productImgFrame::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background: linear-gradient(180deg, rgba(0,0,0,0.00), rgba(0,0,0,0.10));
  opacity: 0.55;
}

.productImgFrame img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Placeholder text */
.productPlaceholderImg{
  font-size: 14px;
  font-weight: 600;
  color: rgba(28,42,58,0.55);
  padding: 18px;
  text-align: center;
}

/* Copy */
.productCopy{
  padding: 18px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.productName{
  font-size: 18px;
  font-weight: 720;
  color: rgba(28,42,58,0.92);
  letter-spacing: -0.2px;
}

.productDesc{
  font-size: 13.6px;
  line-height: 1.65;
  color: rgba(28,42,58,0.72);
}

/* Link button, consistent with brand button system */
.productLink{
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,0.70);
  border: 1px solid rgba(28,42,58,0.18);
  font-weight: 600;
  color: #1c2a3a;
  box-shadow: 0 10px 22px rgba(16,22,28,0.08);
  transition: background 0.14s ease, transform 0.14s ease, box-shadow 0.14s ease, border-color 0.14s ease;
  text-decoration: none;
}

.productLink:hover{
  background: rgba(255,255,255,0.88);
  border-color: rgba(28,42,58,0.22);
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(16,22,28,0.12);
}

.productLink:focus-visible{
  outline: 3px solid rgba(47,143,107,0.26);
  outline-offset: 4px;
}

@media (max-width: 520px){
  .productsSection{
    padding: 62px 0 54px 0;
  }
  .productCard{
    width: 100%;
    max-width: 360px;
  }
}
/* Enhanced placeholders only. Safe additions that do not alter existing structure */

.productCardPlaceholder .productImgFramePlaceholder{
  position: relative;
  overflow: hidden;
}

.productPlaceholderBadge{
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.2px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(28,42,58,0.14);
  color: rgba(28,42,58,0.86);
  box-shadow: 0 10px 22px rgba(16,22,28,0.08);
}

.productPlaceholderImg{
  display: grid;
  place-items: center;
  min-height: 180px;
  text-align: center;
  padding: 18px;
  border-radius: 16px;
  background:
    radial-gradient(500px 220px at 20% 15%, rgba(28,42,58,0.10), transparent 62%),
    radial-gradient(420px 180px at 85% 22%, rgba(200,164,93,0.10), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.70), rgba(255,255,255,0.44));
  border: 1px solid rgba(28,42,58,0.12);
  color: rgba(28,42,58,0.74);
  font-weight: 560;
}

.productActionsRow{
  display: flex;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.productLinkSoft{
  opacity: 0.92;
}

.productsFooter{
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 16px;
  flex-wrap: wrap;
}

.productsViewAllSoft{
  opacity: 0.92;
}
/* Minimal enhancements for one button per card and nicer placeholders */

.productCardPlaceholder .productImgFramePlaceholder{
  position: relative;
  overflow: hidden;
}

.productPlaceholderBadge{
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.2px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(28,42,58,0.14);
  color: rgba(28,42,58,0.86);
  box-shadow: 0 10px 22px rgba(16,22,28,0.08);
}

.productPlaceholderImg{
  display: grid;
  place-items: center;
  min-height: 180px;
  text-align: center;
  padding: 18px;
  border-radius: 16px;
  background:
    radial-gradient(500px 220px at 20% 15%, rgba(28,42,58,0.10), transparent 62%),
    radial-gradient(420px 180px at 85% 22%, rgba(200,164,93,0.10), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.70), rgba(255,255,255,0.44));
  border: 1px solid rgba(28,42,58,0.12);
  color: rgba(28,42,58,0.74);
  font-weight: 560;
}

.productCtaRow{
  margin-top: 12px;
  display: flex;
  justify-content: flex-start;
}

.productBtn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(28,42,58,0.18);
  background: rgba(255,255,255,0.70);
  color: #1c2a3a;
  font-weight: 650;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(16,22,28,0.08);
  transition: background 0.14s ease, box-shadow 0.14s ease, transform 0.14s ease;
  white-space: nowrap;
}

.productBtn:hover{
  background: rgba(255,255,255,0.88);
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(16,22,28,0.12);
}

.productsBottomLink{
  margin-top: 16px;
  display: flex;
  justify-content: center;
}

.productsViewAll{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(28,42,58,0.14);
  background: rgba(255,255,255,0.55);
  color: rgba(28,42,58,0.86);
  font-weight: 650;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(16,22,28,0.08);
  transition: background 0.14s ease, box-shadow 0.14s ease, transform 0.14s ease;
}

.productsViewAll:hover{
  background: rgba(255,255,255,0.78);
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(16,22,28,0.12);
}

.productMiniMeta{
  margin-top: 8px;
  color: rgba(28,42,58,0.72);
  font-size: 13px;
  font-weight: 560;
}

