/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

/* Sidebar list */
.pf-sidebar .pf-cat-list { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:6px; }
.pf-sidebar .pf-cat-list li { line-height:1.3; }
.pf-sidebar .pf-cat-list a { color:#222; text-decoration:none; padding:6px 8px; border-radius:8px; display:inline-block; }

/* Hover + focus */
.pf-sidebar .pf-cat-list a:hover,
.pf-sidebar .pf-cat-list a:focus-visible { background:#f4f6f9; outline:0; }

/* 🔥 Active/current category highlight */
.pf-sidebar .pf-cat-list .current-cat > a,
.pf-sidebar .pf-cat-list .current-cat-parent > a,
.pf-sidebar .pf-cat-list .current-cat-ancestor > a {
  font-weight:700;
  background:#EBD8DF;
}
ul.products {
  display:grid !important;
  grid-template-columns:repeat(4, minmax(0,1fr)); /* desktop */
  gap:24px;
  margin:0; padding:0; list-style:none;
}
@media (max-width: 1200px){ ul.products{ grid-template-columns:repeat(3, minmax(0,1fr)); gap:22px; } }
@media (max-width: 900px){  ul.products{ grid-template-columns:repeat(2, minmax(0,1fr)); gap:20px; } }
@media (max-width: 560px){  ul.products{ grid-template-columns:1fr; gap:16px; } }

/* Uniform, responsive product images */
.pf-imgwrap{
  position: relative;
  aspect-ratio: 3/4;        /* tall cards on desktop/tablet */
  width: 100%;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
  background: #f4f4f4;
}
.pf-imgwrap img{
  width: 100%;
  height: 100%;
  object-fit: cover;        /* crops evenly to fill */
  display: block;
}

/* Optional: square on small phones for stability */
@media (max-width: 560px){
  .pf-imgwrap{ aspect-ratio: 1/1; }
}

/* Placeholder styling (if no image) */
.pf-ph{
  width:100%; height:100%; display:block;
  background: linear-gradient(135deg,#eee,#ddd);
}


/* General band spacing */
.ph-band {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* HERO */
.ph-hero {
  position: relative;
  text-align: center;
  color: white;
}
.ph-hero-inner {
  position: relative;
}
.ph-hero-img {
  width: 100%;
  height: 60vh;
  object-fit: cover;
}
.ph-hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.ph-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #000;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}
.ph-btn:hover {
  background: #444;
}

/* WAVY BACKGROUND for New Releases */
.ph-wave-section {
  position: relative;
  background: #f3e3da;
}
.ph-wave-top,
.ph-wave-bottom {
  position: relative;
  height: 50px;
  background: white;
}
.ph-wave-top {
  border-bottom-left-radius: 50% 20px;
  border-bottom-right-radius: 50% 20px;
}
.ph-wave-bottom {
  border-top-left-radius: 50% 20px;
  border-top-right-radius: 50% 20px;
}

/* HEADINGS */
.ph-h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: bold;
  text-align: center;
}

/* ABOUT SECTION */
.ph-about {
  padding: 4rem 1rem;
  text-align: center;
}
.ph-about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.ph-about-grid h3 {
  margin-bottom: 0.5rem;
}

/* Reserve consistent space for product tiles to avoid CLS */
.pf-new-releases .pf-card .pf-thumb {
  aspect-ratio: 576 / 1024;   /* 9:16 portrait */
  width: 100%;
  display: block;
  object-fit: cover;
  border-radius: 12px;
}
/* Wave band: lock a height so it can’t collapse */
.pf-wave-band {
  min-height: 90px; /* adjust to your SVG's typical height */
}
@media (max-width: 768px) {
  .pf-wave-band { min-height: 60px; }
}



