/* PiroozBam Visual Parity R2. Scoped to the native PiroozBam skin.
   Corrects visible accessibility/link/card/readability defects in R4F1.
   Does not modify store business logic, gallery engine, content, fonts, or responsive routing. */

/* A skip link must not appear as a normal floating page element. */
#pb-site > a.skip-link:not(:focus),
#pb-site a.skip-link:not(:focus) {
  position:fixed!important;
  top:0!important;
  right:0!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  overflow:hidden!important;
  clip-path:inset(50%)!important;
  white-space:nowrap!important;
  transform:translateY(-200%)!important;
  opacity:0!important;
  pointer-events:none!important;
}
#pb-site a.skip-link:focus,
#pb-site a.skip-link:focus-visible {
  position:fixed!important;
  top:14px!important;
  right:14px!important;
  width:auto!important;
  height:auto!important;
  padding:10px 18px!important;
  margin:0!important;
  border:2px solid var(--accent)!important;
  border-radius:9px;
  background:#fff!important;
  color:var(--navy)!important;
  box-shadow:0 8px 26px #100c4320;
  clip-path:none!important;
  white-space:normal!important;
  transform:none!important;
  opacity:1!important;
  pointer-events:auto!important;
  z-index:2000!important;
}

/* Match the reference card rhythm without changing the three/two/one-column grid. */
#pb-site .pb-store-page .pb-product-card .product-box__item {
  min-height:353px;
  padding:18px 18px 16px;
}
#pb-site .pb-store-page .pb-product-card .pb-card-visual {
  width:100%;
  min-height:206px;
  height:206px;
  padding:0;
  display:flex;
  justify-content:center;
  align-items:center;
  overflow:hidden;
  border-radius:11px;
  background:#f7f7fa;
}
#pb-site .pb-store-page .pb-product-card .pb-card-visual img {
  width:100%;
  height:190px;
  max-height:190px;
  object-fit:contain;
  padding:8px;
  margin:0 auto;
}
#pb-site .pb-store-page .pb-product-card .product-box__title {
  margin:13px 0 7px;
  width:100%;
  min-height:46px;
  text-align:center;
}
#pb-site .pb-store-page .pb-product-card .product-box__title h3 {
  color:var(--ink);
  font-size:14px;
  font-weight:650;
  line-height:1.9;
  overflow-wrap:anywhere;
  margin:0;
}
#pb-site .pb-store-page .pb-product-card .product-box__button {padding-top:10px}
#pb-site .pb-store-page .pb-product-card .show__product-page {font-size:13px;line-height:1.85}

/* Guide: make the source content readable and visibly part of the catalog. */
#pb-site .pb-store-page .pb-category-guide {
  max-width:1100px;
  margin:42px auto 0;
  padding:30px 34px 34px;
  border-top:1px solid var(--line);
  border-radius:0 0 16px 16px;
  font-size:14px;
  line-height:2.1;
}
#pb-site .pb-store-page .pb-category-guide h2 {
  color:var(--navy);
  font-size:24px;
  font-weight:800;
  line-height:1.7;
  margin:0 0 15px;
}
#pb-site .pb-store-page .pb-category-guide p,
#pb-site .pb-store-page .pb-category-guide li {
  font-size:14px;
  line-height:2.1;
  color:#51566a;
  margin-bottom:9px;
}
#pb-site .pb-store-page .pb-category-guide ul {padding-inline-start:18px;margin:14px 0}
#pb-site .pb-store-page .pb-category-guide ul li {list-style:disc;list-style-position:inside}
#pb-site .pb-store-page .pb-category-guide .btn {margin-top:15px;min-height:43px}

/* Provide consistent stages for the two illustrative bitumen assets. */
#pb-site .pb-family-item .image-part__container img[data-pb-visual-r2="bitumen"],
#pb-site .pb-product-card .pb-card-visual img[data-pb-visual-r2="bitumen"] {
  display:block!important;
  object-fit:contain!important;
  opacity:1!important;
  visibility:visible!important;
}
#pb-site .pb-family-item .image-part__container img[data-pb-visual-r2="bitumen"] {
  max-width:min(100%,520px);
  max-height:470px;
  margin-inline:auto;
}

@media(max-width:767px) {
  #pb-site .pb-store-page .pb-product-card {margin-bottom:16px}
  #pb-site .pb-store-page .pb-product-card .product-box__item {
    min-height:330px;
    padding:15px 15px 14px;
  }
  #pb-site .pb-store-page .pb-product-card .pb-card-visual {min-height:181px;height:181px}
  #pb-site .pb-store-page .pb-product-card .pb-card-visual img {height:165px;max-height:165px;padding:7px}
  #pb-site .pb-store-page .pb-product-card .product-box__title {min-height:42px;margin:12px 0 6px}
  #pb-site .pb-store-page .pb-product-card .product-box__title h3 {font-size:14px;line-height:1.85}
  #pb-site .pb-store-page .pb-category-guide {padding:25px 18px 30px;margin-top:27px}
  #pb-site .pb-store-page .pb-category-guide h2 {font-size:22px}
  #pb-site .pb-store-page .pb-category-guide p,
  #pb-site .pb-store-page .pb-category-guide li {font-size:13.5px;line-height:2.05}
}
@media(max-width:380px) {
  #pb-site .pb-store-page .pb-product-card .product-box__item {min-height:315px;padding:13px}
  #pb-site .pb-store-page .pb-product-card .pb-card-visual {min-height:164px;height:164px}
  #pb-site .pb-store-page .pb-product-card .pb-card-visual img {height:150px;max-height:150px}
}
