/* ============================================================
   Products Page � Luxury Showroom Catalog Layout
   ============================================================ */

/* Grid */
.products-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;margin-top:56px}

/* Center lone last card on desktop */
@media(min-width:901px){
  .product-card:last-child:nth-child(3n+1){grid-column:2}
}

/* Card */
.product-card{background:var(--white);border:1px solid var(--bone);display:flex;flex-direction:column;overflow:hidden;transition:box-shadow 0.25s,border-color 0.25s}
.product-card:hover{box-shadow:0 8px 36px rgba(26,26,24,0.1);border-color:rgba(26,26,24,0.18)}

/* Image */
.product-img{aspect-ratio:16/9;overflow:hidden;background:var(--bone);flex-shrink:0}
.product-img img{width:100%;height:100%;object-fit:cover;display:block;transition:transform 0.45s ease}
.product-img img.contain-img{object-fit:contain;object-position:center;background:var(--off-white)}
.product-card:hover .product-img img{transform:scale(1.04)}

/* Body */
.product-body{padding:28px 28px 32px;display:flex;flex-direction:column;flex:1}

/* Number */
.p-num{font-family:'Cormorant Garamond',serif;font-size:28px;font-weight:300;color:var(--bone);line-height:1;margin-bottom:10px}

/* Title */
.p-title{font-family:'Cormorant Garamond',serif;font-size:22px;font-weight:400;color:var(--charcoal);line-height:1.2;margin-bottom:6px}

/* Subtitle */
.p-subtitle{font-size:12px;color:var(--warm-gray);line-height:1.6;margin-bottom:18px;letter-spacing:0.01em}

/* Feature list */
.p-features{list-style:none;padding:0;margin:0 0 18px;display:flex;flex-direction:column;gap:7px;flex:1}
.p-features li{font-size:13px;color:var(--warm-gray);line-height:1.5;padding-left:14px;position:relative}
.p-features li::before{content:'';position:absolute;left:0;top:8px;width:5px;height:1px;background:var(--accent)}

/* Brands */
.p-brands{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:22px}
.p-brands span{font-size:10px;letter-spacing:0.07em;text-transform:uppercase;padding:4px 9px;background:var(--bone);color:var(--warm-gray)}

/* CTA row */
.p-actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-top:auto;padding-top:4px}
.p-btn-wa{font-size:11px;padding:11px 20px;white-space:nowrap}
.p-link-secondary{font-size:11px;letter-spacing:0.07em;text-transform:uppercase;color:var(--warm-gray);text-decoration:underline;text-underline-offset:3px;transition:color 0.2s;white-space:nowrap}
.p-link-secondary:hover{color:var(--accent)}

/* Trust strip */
.p-trust-strip{margin-top:60px;padding:40px 0;border-top:1px solid var(--bone);border-bottom:1px solid var(--bone);text-align:center}
.p-trust-tagline{font-family:'Cormorant Garamond',serif;font-size:clamp(16px,2vw,20px);font-style:italic;font-weight:300;color:var(--charcoal);margin-bottom:24px;line-height:1.6;max-width:560px;margin-left:auto;margin-right:auto}
.p-trust-points{display:flex;justify-content:center;flex-wrap:wrap;gap:8px 32px}
.p-trust-item{font-size:12px;color:var(--warm-gray);letter-spacing:0.04em;display:flex;align-items:center;gap:8px}
.p-trust-dot{display:inline-block;width:5px;height:5px;background:var(--accent);border-radius:50%;flex-shrink:0}

/* Final CTA */
.p-final-cta{text-align:center;padding:72px 5%;background:var(--charcoal);margin-top:60px}
.p-final-cta h2{color:var(--white);margin-bottom:14px}
.p-final-cta p{font-size:15px;color:rgba(255,255,255,0.55);margin-bottom:36px;line-height:1.8}
.p-final-cta .btn-group{justify-content:center}
.p-final-cta .btn-outline{color:var(--white);border-color:rgba(255,255,255,0.45)}
.p-final-cta .btn-outline:hover{background:var(--white);color:var(--charcoal);border-color:var(--white)}

/* Responsive */
@media(max-width:900px){
  .products-grid{grid-template-columns:repeat(2,1fr);gap:20px}
  .product-card:last-child:nth-child(2n+1){grid-column:1/-1;max-width:calc(50% - 10px);justify-self:center}
}
@media(max-width:600px){
  .products-grid{grid-template-columns:1fr;gap:16px}
  .product-card:last-child:nth-child(2n+1){grid-column:auto;max-width:none;justify-self:auto}
  .product-body{padding:22px 20px 26px}
}
