/* =========================================
   PRODUCTS PAGE
   Luxury Showroom Layout
========================================= */


/* ===============================
   SECTION NAVIGATION
=============================== */

.section-nav{
  display:flex;
  gap:14px;
  margin-top:24px;
  margin-bottom:40px;
  flex-wrap:wrap;
}

.sbtn{
  padding:10px 18px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  font-size:14px;
  font-weight:500;
  text-decoration:none;
  color:inherit;
  transition:.25s ease;
}

.sbtn:hover{
  background:rgba(122,15,27,.06);
  border-color:rgba(122,15,27,.25);
  color:var(--brand);
}

.sbtn.active{
  background:var(--brand);
  color:#fff;
  border-color:var(--brand);
}
/* ===============================
   CATALOG TOOLBAR
=============================== */

.catalog-toolbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  flex-wrap:wrap;
  margin-bottom:32px;
}

.filters{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.fbtn{
  padding:10px 16px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  font-size:13px;
  font-weight:500;
  cursor:pointer;
  transition:.2s ease;
}

.fbtn:hover{
  background:#f7f7f7;
}

.fbtn.active{
  background:rgba(122,15,27,.08);
  border-color:rgba(122,15,27,.25);
  color:var(--brand);
}


/* ===============================
   SEARCH BOX
=============================== */

.searchbox{
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 18px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  min-width:260px;
}

.searchbox input{
  border:0;
  outline:0;
  font-size:14px;
  width:100%;
}


/* ===============================
   PRODUCT GRID
=============================== */

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


/* ===============================
   PRODUCT CARD
=============================== */

.pcard{
  background:#fff;
  border-radius:24px;
  overflow:hidden;
  border:1px solid var(--line);
  box-shadow:var(--shadow-soft);
  transition:.3s ease;
  display:flex;
  flex-direction:column;
}

.pcard:hover{
  transform:translateY(-8px);
  box-shadow:var(--shadow-medium);
}

/* Image Area */

.pmedia{
  padding:26px;
  background:linear-gradient(180deg,#ffffff,#f8f8f8);
  border-bottom:1px solid var(--line);
}

.square-frame{
  aspect-ratio:1/1;
  display:flex;
  align-items:center;
  justify-content:center;
}

.square-frame img{
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  transition:.4s ease;
}

.pcard:hover .square-frame img{
  transform:scale(1.05);
}


/* Body */

.pbody{
  padding:24px 24px 18px;
  flex-grow:1;
}

.pname{
  font-size:22px;
  font-weight:600;
  margin-bottom:8px;
  letter-spacing:-.3px;
}

.pdesc{
  font-size:14px;
  color:var(--muted);
  margin-bottom:14px;
}

.pmeta{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}


/* Actions */

.pactions{
  padding:20px 24px 26px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  border-top:1px solid var(--line);
  background:#fff;
}


/* ===============================
   SERIES SPEC SECTION
=============================== */

.spec-grid{
  display:grid;
  gap:40px;
}

.product-spec{
  display:grid;
  grid-template-columns:360px 1fr;
  gap:40px;
  align-items:start;
}

.square{
  width:100%;
  aspect-ratio:1/1;
  object-fit:contain;
  border-radius:22px;
  border:1px solid var(--line);
  background:#fff;
  padding:18px;
  box-shadow:var(--shadow-soft);
}

.spec-box{
  padding:32px;
  border-radius:28px;
  border:1px solid rgba(122,15,27,.1);
  background:linear-gradient(
    135deg,
    #ffffff,
    rgba(122,15,27,.03)
  );
  box-shadow:var(--shadow-soft);
}

.spec-top{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:20px;
  flex-wrap:wrap;
  margin-bottom:20px;
}

.spec-title{
  font-size:24px;
  font-weight:600;
  margin-bottom:6px;
}

.spec-sub{
  font-size:14px;
  color:var(--muted);
}

.mini-tags{
  margin-top:12px;
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

.mini-tag{
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(122,15,27,.08);
  color:var(--brand);
  border:1px solid rgba(122,15,27,.15);
}

/* Table */

.spec-table{
  width:100%;
  border-collapse:collapse;
  margin-top:20px;
  background:#fff;
  border-radius:16px;
  overflow:hidden;
  border:1px solid var(--line);
}

.spec-table td{
  padding:14px 18px;
  font-size:14px;
  border-bottom:1px solid var(--line);
}

.spec-table tr:last-child td{
  border-bottom:none;
}

.spec-table td:first-child{
  width:40%;
  font-weight:500;
  background:#fafafa;
}

.spec-actions{
  margin-top:24px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}


/* ===============================
   SERVICE SECTION
=============================== */

.service-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:30px;
}

.service-card{
  padding:28px;
  border-radius:28px;
  border:1px solid rgba(122,15,27,.1);
  background:linear-gradient(
    135deg,
    #ffffff,
    rgba(122,15,27,.04)
  );
  box-shadow:var(--shadow-soft);
  transition:.25s ease;
}

.service-card:hover{
  transform:translateY(-6px);
  box-shadow:var(--shadow-medium);
}

.service-card h3{
  margin-bottom:14px;
}

.service-list{
  padding-left:18px;
  color:var(--muted);
}

.service-list li{
  margin-bottom:8px;
}


/* ===============================
   RESPONSIVE
=============================== */

@media (max-width: 1100px){
  .catalog-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media (max-width: 900px){
  .product-spec{
    grid-template-columns:1fr;
  }
}

@media (max-width: 720px){
  .catalog-grid{
    grid-template-columns:1fr;
  }

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