/* PicPanels catalog / product-category gallery */
body.woocommerce-shop,
body.tax-product_cat {
  background:#fff;
  color:#0b1630;
}

body.woocommerce-shop .pp-site-header,
body.tax-product_cat .pp-site-header,
body.woocommerce-shop .pp-site-header.is-scrolled,
body.tax-product_cat .pp-site-header.is-scrolled {
  position:relative;
  inset:auto;
  padding:0;
  background:#fff;
  border-bottom:1px solid #e7eaf0;
  backdrop-filter:none;
}

body.woocommerce-shop .pp-site-header__inner,
body.tax-product_cat .pp-site-header__inner {
  min-height:64px;
}

body.woocommerce-shop .pp-wordmark,
body.tax-product_cat .pp-wordmark,
body.woocommerce-shop .pp-nav__list a,
body.tax-product_cat .pp-nav__list a {
  color:#0b1630;
}

body.woocommerce-shop .pp-icon-link svg,
body.tax-product_cat .pp-icon-link svg,
body.woocommerce-shop .pp-header-search svg,
body.tax-product_cat .pp-header-search svg {
  stroke:#0b1630;
}

body.woocommerce-shop .pp-header-search,
body.tax-product_cat .pp-header-search {
  background:#fbfcfe;
  border-color:#dfe4ec;
  backdrop-filter:none;
}

body.woocommerce-shop .pp-header-search input,
body.tax-product_cat .pp-header-search input {
  color:#0b1630;
}

body.woocommerce-shop .pp-header-search input::placeholder,
body.tax-product_cat .pp-header-search input::placeholder {
  color:#7e889a;
}

body.woocommerce-shop .pp-menu-toggle span,
body.tax-product_cat .pp-menu-toggle span {
  background:#0b1630;
}

body.woocommerce-shop .pp-mobile-menu,
body.tax-product_cat .pp-mobile-menu {
  background:#fff;
  border-top:1px solid #e7eaf0;
}

.pp-catalog {
  background:#fff;
  color:#0b1630;
  min-height:70vh;
  font-family:Inter,Arial,Helvetica,sans-serif;
}

.pp-catalog * {
  font-family:inherit;
}

.pp-catalog-hero {
  background:#f8f7f3;
  border-bottom:1px solid #e7e4df;
  overflow:hidden;
}

.pp-catalog-hero__grid {
  min-height:176px;
  display:grid;
  grid-template-columns:1.18fr .82fr;
  align-items:stretch;
}

.pp-catalog-hero__copy {
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:20px 64px 22px 0;
}

.pp-catalog-breadcrumbs {
  display:flex;
  align-items:center;
  gap:9px;
  margin-bottom:12px;
  color:#78849a;
  font-size:12px;
  font-weight:500;
}

.pp-catalog-breadcrumbs a:hover {
  color:var(--pp-orange);
}

.pp-catalog-hero h1 {
  margin:0;
  color:#0b1630;
  font-size:clamp(46px,5vw,66px);
  line-height:.98;
  letter-spacing:-2.7px;
  font-weight:800;
}

.pp-catalog-hero p {
  max-width:660px;
  margin:14px 0 0;
  color:#596883;
  font-size:16px;
  line-height:1.5;
}

.pp-catalog-hero__visual {
  position:relative;
  min-height:176px;
  overflow:hidden;
}

.pp-catalog-hero__visual::before {
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background:linear-gradient(90deg,#f8f7f3 0%,rgba(248,247,243,.62) 14%,rgba(248,247,243,0) 38%);
  pointer-events:none;
}

.pp-catalog-hero__visual img {
  width:100%;
  height:100%;
  min-height:176px;
  display:block;
  object-fit:cover;
  object-position:center 42%;
}

.pp-catalog-toolbar {
  background:#fff;
  border-bottom:1px solid #edf0f4;
}

.pp-catalog-toolbar__inner {
  min-height:78px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}

.pp-catalog-filters {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:12px;
}

.pp-catalog-mode {
  display:flex;
  align-items:center;
  gap:12px;
  flex-shrink:0;
}

.pp-catalog-mode__link {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  box-sizing:border-box;
  height:40px;
  min-height:40px;
  padding:0 15px;
  border:1.5px solid;
  border-radius:8px;
  background:#fff;
  font-size:13px;
  font-weight:750;
  line-height:1;
  text-decoration:none;
  white-space:nowrap;
  cursor:pointer;
  transition:background-color .15s ease,color .15s ease;
}
.pp-catalog-mode__link svg {
  width:20px;
  height:20px;
  flex-shrink:0;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.pp-catalog-mode__link--art {
  color:#0b1630;
  border-color:#0b1630;
}
.pp-catalog-mode__link--art.is-active {
  color:#fff;
  background:#0b1630;
}
.pp-catalog-mode__link--upload {
  color:var(--pp-orange);
  border-color:var(--pp-orange);
}
.pp-catalog-mode__link--upload.is-active {
  color:#fff;
  background:var(--pp-orange);
}
.pp-catalog-mode__link:not(.is-active):hover {
  background:#f8f9fb;
}
.pp-catalog-mode__link:focus-visible {
  outline:3px solid #246cf5;
  outline-offset:3px;
}

.pp-catalog-select,
.pp-catalog-sort {
  position:relative;
  display:inline-flex;
  align-items:center;
}

.pp-catalog-select select,
.pp-catalog-sort select {
  height:40px;
  appearance:auto;
  border:1px solid #dce2ea;
  border-radius:8px;
  background:#fff;
  color:#0b1630;
  padding:0 14px;
  outline:none;
  font-size:13px;
  font-weight:600;
  cursor:pointer;
  box-shadow:none;
}

.pp-catalog-select select {
  min-width:112px;
}

.pp-catalog-select select:focus,
.pp-catalog-sort select:focus {
  border-color:var(--pp-orange);
  box-shadow:0 0 0 3px rgba(255,100,47,.12);
}

.pp-catalog-sort {
  gap:9px;
  color:#35435b;
  font-size:13px;
  font-weight:600;
  white-space:nowrap;
}

.pp-catalog-sort select {
  min-width:124px;
}

.pp-catalog-grid-section {
  padding:0 0 34px;
  background:#fff;
}

.pp-catalog-count {
  margin:16px 0 12px;
  color:#6a7890;
  font-size:13px;
  font-weight:500;
}

.pp-catalog-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
}

.pp-catalog-card {
  display:flex;
  min-width:0;
  flex-direction:column;
  overflow:hidden;
  border:1px solid #e5e8ee;
  border-radius:10px;
  background:#fff;
  color:#0b1630;
  box-shadow:0 1px 2px rgba(11,22,48,.025);
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}

.pp-catalog-card:hover {
  transform:translateY(-3px);
  border-color:#d9dee7;
  box-shadow:0 14px 32px rgba(11,22,48,.09);
}

.pp-catalog-card:focus-visible {
  outline:3px solid rgba(255,100,47,.32);
  outline-offset:3px;
}

.pp-catalog-card__image {
  position:relative;
  display:block;
  width:100%;
  aspect-ratio:4/5;
  overflow:hidden;
  background:#f2f0ec;
}

.pp-catalog-card__image img {
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center;
  transition:transform .32s ease;
}

.pp-catalog-card:hover .pp-catalog-card__image img {
  transform:scale(1.018);
}

/* Use the published gallery-wall photo for every square PicPanel size.
   Size-specific zooms keep the room scene consistent while distinguishing formats. */
.pp-catalog-card__image--picpanel {
  background:#eae5dc;
}
.pp-catalog-card__image--picpanel img {
  object-fit:contain;
  transform:scale(var(--pp-catalog-panel-zoom, 1));
}
.pp-catalog-card:hover .pp-catalog-card__image--picpanel img {
  transform:scale(calc(var(--pp-catalog-panel-zoom, 1) * 1.018));
}
.pp-catalog-card__size {
  position:absolute;
  z-index:2;
  left:12px;
  bottom:12px;
  padding:6px 10px;
  border:1px solid rgba(11,22,48,.08);
  border-radius:6px;
  background:rgba(255,255,255,.94);
  color:#0b1630;
  font-size:12px;
  font-weight:750;
  line-height:1.2;
  box-shadow:0 3px 10px rgba(11,22,48,.07);
}

.pp-catalog-card__badge {
  position:absolute;
  left:12px;
  top:12px;
  z-index:2;
  min-width:46px;
  padding:5px 9px;
  border-radius:999px;
  background:var(--pp-orange);
  color:#fff;
  text-align:center;
  font-size:11px;
  font-weight:800;
}

.pp-catalog-card__info {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:end;
  gap:14px;
  min-height:76px;
  padding:9px 10px 10px;
}

.pp-catalog-card__copy {
  min-width:0;
  display:flex;
  flex-direction:column;
}

.pp-catalog-card__category {
  margin-bottom:2px;
  color:#7a879b;
  font-size:11px;
  font-weight:500;
  line-height:1.25;
}

.pp-catalog-card__title {
  display:block;
  overflow:hidden;
  color:#0b1630;
  font-size:13px;
  line-height:1.25;
  font-weight:650;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.pp-catalog-card__price {
  display:block;
  margin-top:4px;
  color:#0b1630;
  font-size:13px;
  line-height:1.2;
  font-weight:800;
}

.pp-catalog-card__cta {
  align-self:end;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:32px;
  padding:7px 12px;
  border-radius:7px;
  background:var(--pp-orange);
  color:#fff;
  font-size:11.5px;
  line-height:1;
  font-weight:700;
  white-space:nowrap;
  box-shadow:0 4px 10px rgba(255,100,47,.15);
  transition:background .18s ease,transform .18s ease,box-shadow .18s ease;
}

.pp-catalog-card:hover .pp-catalog-card__cta {
  background:#e95522;
  transform:translateY(-1px);
  box-shadow:0 6px 14px rgba(233,85,34,.2);
}

.pp-catalog-empty {
  padding:80px 24px;
  text-align:center;
  border:1px solid #e5e8ee;
  border-radius:10px;
  background:#fbfbfa;
}

.pp-catalog-empty h2 {
  margin:0;
  font-size:28px;
  font-weight:800;
}

.pp-catalog-empty p {
  margin:8px 0 18px;
  color:#69768b;
}

.pp-catalog-empty a {
  display:inline-flex;
  padding:9px 14px;
  border-radius:7px;
  background:var(--pp-orange);
  color:#fff;
  font-size:13px;
  font-weight:700;
}

.pp-catalog-pagination {
  display:flex;
  justify-content:center;
  align-items:center;
  gap:8px;
  margin:28px 0 0;
}

.pp-catalog-pagination .page-numbers {
  min-width:36px;
  height:36px;
  display:grid;
  place-items:center;
  padding:0 10px;
  border:1px solid #dce2ea;
  border-radius:8px;
  background:#fff;
  color:#0b1630;
  font-size:13px;
  font-weight:600;
  transition:border-color .18s ease,color .18s ease,background .18s ease;
}

.pp-catalog-pagination a.page-numbers:hover {
  border-color:var(--pp-orange);
  color:var(--pp-orange);
}

.pp-catalog-pagination .page-numbers.current {
  border-color:var(--pp-orange);
  background:#fff;
  color:#0b1630;
  box-shadow:inset 0 0 0 1px var(--pp-orange);
}

.pp-catalog-benefits {
  margin-top:2px;
  padding:22px 0;
  border-top:1px solid #e7eaf0;
  border-bottom:1px solid #e7eaf0;
  background:#fff;
}

.pp-catalog-benefits__grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
}

.pp-catalog-benefit {
  min-width:0;
  display:flex;
  align-items:center;
  gap:12px;
  padding:0 26px;
  border-right:1px solid #e1e5eb;
}

.pp-catalog-benefit:first-child {
  padding-left:0;
}

.pp-catalog-benefit:last-child {
  padding-right:0;
  border-right:0;
}

.pp-catalog-benefit svg {
  width:30px;
  height:30px;
  flex:0 0 30px;
  fill:none;
  stroke:#0b1630;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.pp-catalog-benefit strong,
.pp-catalog-benefit span {
  display:block;
}

.pp-catalog-benefit strong {
  color:#0b1630;
  font-size:13px;
  line-height:1.25;
  font-weight:750;
}

.pp-catalog-benefit span {
  margin-top:2px;
  color:#69768b;
  font-size:11px;
  line-height:1.3;
}

.pp-catalog .woocommerce-notices-wrapper {
  margin:16px 0;
}

.pp-catalog .woocommerce-message,
.pp-catalog .woocommerce-info,
.pp-catalog .woocommerce-error {
  margin:0;
  padding:12px 16px;
  border:1px solid #dfe4ec;
  border-radius:8px;
  background:#fff;
  color:#0b1630;
  list-style:none;
}

@media(max-width:1180px) {
  .pp-catalog-toolbar__inner { flex-wrap:wrap; padding:12px 0; gap:12px; }
  .pp-catalog-sort { margin-left:auto; }
  .pp-catalog-hero__copy { padding-right:36px; }
  .pp-catalog-benefit { padding:0 16px; }
}

@media(max-width:900px) {
  body.woocommerce-shop .pp-site-header__inner,
  body.tax-product_cat .pp-site-header__inner { min-height:60px; }

  .pp-catalog-hero__grid {
    grid-template-columns:1fr;
    min-height:auto;
  }

  .pp-catalog-hero__copy {
    padding:30px 0 26px;
  }

  .pp-catalog-hero__visual {
    min-height:190px;
    max-height:230px;
  }

  .pp-catalog-hero__visual::before {
    background:linear-gradient(180deg,#f8f7f3 0%,rgba(248,247,243,.15) 30%,rgba(248,247,243,0) 60%);
  }

  .pp-catalog-hero__visual img { min-height:190px; }

  .pp-catalog-toolbar__inner {
    padding:14px 0;
    align-items:flex-start;
    flex-direction:column;
    gap:12px;
  }

  .pp-catalog-sort { align-self:flex-end; }
  .pp-catalog-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .pp-catalog-benefits__grid { grid-template-columns:1fr 1fr; row-gap:22px; }
  .pp-catalog-benefit:nth-child(2) { border-right:0; }
  .pp-catalog-benefit:nth-child(3) { padding-left:0; }
}

@media(max-width:640px) {
  .pp-catalog-hero h1 {
    font-size:42px;
    letter-spacing:-1.8px;
  }

  .pp-catalog-hero p { font-size:14px; }
  .pp-catalog-filters { width:100%; display:grid; grid-template-columns:1fr 1fr; gap:8px; }
  .pp-catalog-mode { display:grid; grid-column:1/-1; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; width:100%; }
  .pp-catalog-mode__link { min-width:0; padding:0 8px; font-size:12px; gap:6px; }
  .pp-catalog-mode__link svg { width:18px; height:18px; }
  .pp-catalog-select,
  .pp-catalog-select select { width:100%; }
  .pp-catalog-sort { width:100%; justify-content:flex-end; }
  .pp-catalog-grid { grid-template-columns:1fr; gap:14px; }
  .pp-catalog-card__image { aspect-ratio:1/1.18; }
  .pp-catalog-card__info { min-height:82px; }
  .pp-catalog-card__title { white-space:normal; }
  .pp-catalog-card__cta { min-height:31px; padding:7px 11px; }
  .pp-catalog-benefits__grid { grid-template-columns:1fr; row-gap:0; }
  .pp-catalog-benefit,
  .pp-catalog-benefit:nth-child(3) {
    padding:14px 0;
    border-right:0;
    border-bottom:1px solid #e1e5eb;
  }
  .pp-catalog-benefit:last-child { border-bottom:0; }
}


@media(max-width:375px) {
  .pp-catalog-mode__link { padding:0 3px; font-size:10px; gap:3px; }
  .pp-catalog-mode__link svg { width:16px; height:16px; }
}

/* Match the approved desktop mockup's hero/header proportion exactly.
   The reference hero is about 3.67x the site-header height. */
@media(min-width:901px) {
  .pp-catalog-hero__grid {
    height:235px;
    min-height:235px;
  }

  .pp-catalog-hero__visual {
    height:235px;
    min-height:235px;
    margin-right:calc(50% - 50vw);
  }

  .pp-catalog-hero__visual img {
    height:235px;
    min-height:0;
    object-fit:cover;
  }
}


/* Product-search results use the same clean catalog language as category pages. */
body.search {
  background:#fff;
  color:#0b1630;
}
body.search .pp-site-header,
body.search .pp-site-header.is-scrolled {
  position:relative;
  inset:auto;
  padding:0;
  background:#fff;
  border-bottom:1px solid #e7eaf0;
  backdrop-filter:none;
}
body.search .pp-site-header__inner { min-height:64px; }
body.search .pp-wordmark,
body.search .pp-nav__list a { color:#0b1630; }
body.search .pp-icon-link svg,
body.search .pp-header-search svg { stroke:#0b1630; }
body.search .pp-header-search {
  background:#fbfcfe;
  border-color:#dfe4ec;
  backdrop-filter:none;
}
body.search .pp-header-search input { color:#0b1630; }
body.search .pp-header-search input::placeholder { color:#7e889a; }
body.search .pp-menu-toggle span { background:#0b1630; }
body.search .pp-mobile-menu {
  background:#fff;
  border-top:1px solid #e7eaf0;
}
body.search .pp-mobile-menu .pp-nav__list a { color:#0b1630; }

.pp-search-hero .pp-catalog-hero__grid {
  grid-template-columns:1fr;
  min-height:210px;
}
.pp-search-hero .pp-catalog-hero__copy {
  max-width:820px;
  padding-right:0;
}
.pp-search-form {
  display:flex;
  align-items:center;
  width:min(100%,640px);
  height:48px;
  margin-top:20px;
  padding:0 6px 0 16px;
  border:1px solid #dce2ea;
  border-radius:999px;
  background:#fff;
  box-shadow:0 8px 24px rgba(11,22,48,.04);
}
.pp-search-form input[type="search"] {
  min-width:0;
  flex:1;
  border:0;
  outline:0;
  background:transparent;
  color:#0b1630;
  font-size:14px;
}
.pp-search-form button {
  min-width:94px;
  height:36px;
  border:0;
  border-radius:999px;
  background:var(--pp-orange);
  color:#fff;
  font-size:13px;
  font-weight:800;
  cursor:pointer;
}
.pp-search-summary {
  margin:18px 0 12px;
  color:#6a7890;
  font-size:13px;
}
.pp-search-empty {
  padding:58px 0 74px;
  text-align:center;
}
.pp-search-empty h2 {
  margin:0;
  color:#0b1630;
  font-size:32px;
  letter-spacing:-1px;
}
.pp-search-empty p {
  margin:10px auto 22px;
  max-width:560px;
  color:#65728a;
}
.pp-search-empty a {
  display:inline-flex;
  min-height:44px;
  align-items:center;
  justify-content:center;
  padding:0 20px;
  border-radius:999px;
  background:#0b1630;
  color:#fff;
  font-weight:800;
}
.pp-search-pagination {
  display:flex;
  justify-content:center;
  gap:8px;
  margin:28px 0 10px;
}
.pp-search-pagination .page-numbers {
  min-width:38px;
  height:38px;
  display:grid;
  place-items:center;
  padding:0 10px;
  border:1px solid #dfe4ec;
  border-radius:999px;
  background:#fff;
  color:#0b1630;
  font-size:13px;
  font-weight:700;
}
.pp-search-pagination .page-numbers.current {
  border-color:#0b1630;
  background:#0b1630;
  color:#fff;
}
@media(max-width:640px){
  .pp-search-hero .pp-catalog-hero__grid{min-height:190px}
  .pp-search-hero .pp-catalog-hero__copy{padding:24px 0}
  .pp-search-hero .pp-catalog-hero h1{font-size:clamp(36px,11vw,48px);letter-spacing:-1.8px}
  .pp-search-form{height:46px}
  .pp-search-form button{min-width:78px}
}
