/* Onlinehomeo Shop by Pharmacy — self-contained, theme-agnostic */

.ohp-section{
  max-width:1200px;
  margin:0 auto;
  padding:60px 24px;
  font-family:'Work Sans', Arial, sans-serif;
  box-sizing:border-box;
}
.ohp-section *{box-sizing:border-box;}

.ohp-title{
  font-family:'Fraunces', Georgia, serif;
  font-size:32px;
  font-weight:600;
  color:#23262A;
  text-align:center;
  margin:0 0 12px 0;
}
.ohp-subtitle{
  font-size:15.5px;
  color:#5B6066;
  text-align:center;
  max-width:560px;
  margin:0 auto 40px auto;
}

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

.ohp-card{
  display:flex;
  flex-direction:row;
  align-items:center;
  text-align:left;
  gap:18px;
  background:#FFFFFF;
  border:1px solid #E4E5E7;
  border-radius:14px;
  padding:20px 24px;
  min-height:88px;
  text-decoration:none;
  transition:box-shadow .15s ease, border-color .15s ease, transform .15s ease;
}
.ohp-card:hover{
  box-shadow:0 14px 34px rgba(35,38,42,.12);
  border-color:#D6D2D3;
  transform:translateY(-2px);
}

.ohp-logo{
  width:64px;
  height:64px;
  flex-shrink:0;
  border-radius:10px;
  object-fit:contain;
  background:#FAFAF8;
  border:1px solid #EDEBEC;
  padding:6px;
}

.ohp-initials{
  width:64px;
  height:64px;
  flex-shrink:0;
  border-radius:10px;
  background:#F5EAEB;
  color:#7A2E3A;
  font-family:'Fraunces', Georgia, serif;
  font-weight:600;
  font-size:20px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.ohp-text{
  display:flex;
  flex-direction:column;
  gap:4px;
  min-width:0;
}

.ohp-name{
  font-family:'Fraunces', Georgia, serif;
  font-size:18px;
  font-weight:600;
  color:#23262A;
  line-height:1.3;
}

.ohp-cta{
  font-size:13px;
  font-weight:700;
  color:#7A2E3A;
}

@media (max-width: 700px){
  .ohp-grid{grid-template-columns:1fr;}
  .ohp-title{font-size:26px;}
}

/* -------------------------------------------------------------------
 * Also style WooCommerce's own native category archive pages (e.g.
 * /product-category/pharmacies/) so brand tiles look the same there
 * as they do on the homepage section, without needing a shortcode.
 * ---------------------------------------------------------------- */
.woocommerce ul.products li.product-category{
  background:#FFFFFF !important;
  border:1px solid #E4E5E7 !important;
  border-radius:16px !important;
  padding:36px 20px 28px !important;
  text-align:center;
  overflow:hidden;
  box-shadow:none !important;
  transition:box-shadow .15s ease, border-color .15s ease, transform .15s ease;
}
.woocommerce ul.products li.product-category::before,
.woocommerce ul.products li.product-category::after,
.woocommerce ul.products li.product-category a::before,
.woocommerce ul.products li.product-category a::after{
  content:none !important;
  display:none !important;
}
.woocommerce ul.products li.product-category:hover{
  box-shadow:0 14px 34px rgba(35,38,42,.12) !important;
  border-color:#D6D2D3 !important;
  transform:translateY(-2px);
}
.woocommerce ul.products li.product-category a{
  text-decoration:none;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
  background:none !important;
  box-shadow:none !important;
  border-radius:0 !important;
  padding:0 !important;
  margin:0 !important;
}
.woocommerce ul.products li.product-category img{
  width:96px !important;
  height:96px !important;
  max-width:96px !important;
  max-height:96px !important;
  min-width:0 !important;
  min-height:0 !important;
  object-fit:contain !important;
  object-position:center !important;
  border-radius:12px !important;
  background:#FAFAF8 !important;
  border:1px solid #EDEBEC !important;
  padding:8px !important;
  margin:0 auto !important;
  box-shadow:none !important;
  clip-path:none !important;
}
.ohp-native-initials{
  width:96px;
  height:96px;
  border-radius:12px;
  background:#F5EAEB;
  color:#7A2E3A;
  font-family:'Fraunces', Georgia, serif;
  font-weight:600;
  font-size:28px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0 auto;
}
.woocommerce ul.products li.product-category h2.woocommerce-loop-category__title{
  font-family:'Fraunces', Georgia, serif !important;
  font-size:18px !important;
  font-weight:600 !important;
  color:#23262A !important;
  margin:4px 0 0 0 !important;
  line-height:1.3 !important;
  background:none !important;
}
.woocommerce ul.products li.product-category h2.woocommerce-loop-category__title mark.count{
  display:inline-block !important;
  background:#F5EAEB !important;
  color:#7A2E3A !important;
  font-size:12px !important;
  font-weight:700 !important;
  font-family:'Work Sans', Arial, sans-serif !important;
  padding:2px 9px !important;
  border-radius:999px !important;
  margin-left:6px !important;
  box-shadow:none !important;
}
