/* All selectors are scoped to the Paart Golden Entry Popup. */
#paart-golden-entry-popup,
#paart-golden-entry-popup * { box-sizing: border-box; }
#paart-golden-entry-popup[hidden],
#paart-golden-entry-popup [hidden] { display: none !important; }
#paart-golden-entry-popup {
  position: fixed;
  z-index: 99990;
  left: 18px;
  right: auto;
  bottom: 24px;
  width: min(310px, calc(100vw - 32px));
  direction: rtl;
  text-align: right;
  font-family: inherit;
  color: #39270f;
  background: linear-gradient(145deg, #fffefa 0%, #fff5dd 51%, #f3dfa9 100%);
  border: 1px solid #d9ae5e;
  border-radius: 18px;
  padding: 15px 13px 13px;
  box-shadow: 0 12px 34px rgba(41, 27, 8, .23);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .35s ease, transform .35s ease;
}
#paart-golden-entry-popup.is-visible { opacity: 1; transform: translateY(0); }
#paart-golden-entry-popup .pgep-close {
  position: absolute; left: 9px; right: auto; top: 9px;
  width: 29px; height: 29px;
  border: 1px solid #e8d8b8; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  padding: 0; margin: 0;
  background: #fff; color: #5d4934;
  font-size: 21px; line-height: 1; cursor: pointer;
}
#paart-golden-entry-popup .pgep-title {
  margin: 0 24px 8px 0; padding: 0;
  color: #8e5910; font-size: 20px; font-weight: 900; line-height: 1.6;
}
#paart-golden-entry-popup .pgep-timer-area {
  margin: 0 0 11px; padding: 9px 7px;
  border: 1px solid #edb8bd; border-radius: 11px;
  background: #fff2f2; text-align: center;
}
#paart-golden-entry-popup .pgep-timer-label { display: block; color: #b72135; font-size: 10px; font-weight: 750; margin-bottom: 4px; }
#paart-golden-entry-popup .pgep-time { direction: ltr; display: flex; justify-content: center; align-items: center; gap: 4px; }
#paart-golden-entry-popup .pgep-num { color: #bd1e32; font-size: 17px; font-weight: 900; font-variant-numeric: tabular-nums; }
#paart-golden-entry-popup .pgep-sep { color: #bd1e32; font-size: 17px; font-weight: 900; }
#paart-golden-entry-popup .pgep-timer-status { color: #a43d47; font-size: 11px; }
#paart-golden-entry-popup .pgep-subtitle { margin: 0 0 10px; color: #49341b; text-align: center; font-size: 12px; font-weight: 850; }
#paart-golden-entry-popup .pgep-products { display: flex; flex-direction: column; gap: 8px; }
#paart-golden-entry-popup .pgep-product {
  display: flex; gap: 9px; align-items: center;
  text-decoration: none; color: #2a241e;
  background: rgba(255,255,255,.94); border: 1px solid #edd9ac;
  border-radius: 10px; padding: 6px;
}
#paart-golden-entry-popup .pgep-product:hover { border-color: #c39336; color: #2a241e; }
#paart-golden-entry-popup .pgep-image { flex: 0 0 60px; width: 60px; height: 60px; border-radius: 7px; object-fit: contain; background: #fff; }
#paart-golden-entry-popup .pgep-no-image { flex: 0 0 60px; height: 60px; display: flex; align-items: center; justify-content: center; background: #f5f5f5; color: #999; font-size: 10px; }
#paart-golden-entry-popup .pgep-info { min-width: 0; flex: 1; }
#paart-golden-entry-popup .pgep-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.6; font-size: 11px; font-weight: 700; }
#paart-golden-entry-popup .pgep-prices { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 7px; margin-top: 5px; }
#paart-golden-entry-popup .pgep-old { font-size: 10px; color: #999; text-decoration: line-through; }
#paart-golden-entry-popup .pgep-new { font-size: 11px; font-weight: 900; color: #975c08; }
#paart-golden-entry-popup .pgep-discount { font-size: 10px; background: #cd2638; color: white; border-radius: 5px; padding: 2px 4px; white-space: nowrap; }
#paart-golden-entry-popup .pgep-footer { margin-top: 9px; text-align: center; color: #7c5e2d; font-size: 10px; }
@media (max-width: 767px) {
  #paart-golden-entry-popup { width: min(292px, calc(100vw - 22px)); left: 11px; right: auto; bottom: calc(106px + env(safe-area-inset-bottom, 0px)); padding: 12px; border-radius: 14px; }
  #paart-golden-entry-popup .pgep-title { font-size: 18px; }
  #paart-golden-entry-popup .pgep-image, #paart-golden-entry-popup .pgep-no-image { flex-basis: 52px; width: 52px; height: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  #paart-golden-entry-popup { transition: none; transform: none; }
}

#paart-golden-entry-popup .pgep-all-sales {
  display: block;
  padding: 9px 10px;
  border-radius: 9px;
  border: 1px solid #c89e4f;
  background: linear-gradient(180deg, #fbe4a9, #eec36a);
  color: #49300c;
  text-align: center;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
}
#paart-golden-entry-popup .pgep-all-sales:hover {
  background: #ffedbf;
  color: #49300c;
}
.paart-golden-sale-page { margin: 20px auto; max-width: 1200px; padding: 0 12px; }
.paart-golden-sale-page h2 { font-size: 23px; margin: 0 0 24px; }
.paart-golden-pagination { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 14px; padding: 25px 0; }
.paart-golden-pagination a { background: #ffc400; color: #161616; padding: 8px 15px; border-radius: 8px; text-decoration: none; }

/* Dedicated sale catalog: three compact cards per row on mobile only. */
@media (max-width: 767px) {
  .paart-golden-catalog-page .paart-golden-sale-page,
  .paart-golden-catalog-page .paart-golden-other-products {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 8px;
    padding-right: 8px;
    box-sizing: border-box;
  }
  .paart-golden-catalog-page .paart-golden-sale-page h2,
  .paart-golden-catalog-page .paart-golden-other-products h2 {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 14px;
  }
  .paart-golden-catalog-page .paart-golden-sale-page ul.products,
  .paart-golden-catalog-page .paart-golden-other-products ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    align-items: stretch;
  }
  .paart-golden-catalog-page .paart-golden-sale-page ul.products::before,
  .paart-golden-catalog-page .paart-golden-sale-page ul.products::after,
  .paart-golden-catalog-page .paart-golden-other-products ul.products::before,
  .paart-golden-catalog-page .paart-golden-other-products ul.products::after {
    content: none !important;
    display: none !important;
  }
  .paart-golden-catalog-page ul.products > li.product {
    float: none !important;
    clear: none !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 5px !important;
    box-sizing: border-box !important;
    border-radius: 9px;
    overflow: hidden;
  }
  .paart-golden-catalog-page ul.products > li.product img {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    margin-left: auto;
    margin-right: auto;
  }
  .paart-golden-catalog-page ul.products > li.product .woocommerce-loop-product__title,
  .paart-golden-catalog-page ul.products > li.product h2 {
    font-size: 11px !important;
    line-height: 1.55 !important;
    overflow-wrap: anywhere;
  }
  .paart-golden-catalog-page ul.products > li.product .price {
    font-size: 11px !important;
    line-height: 1.6 !important;
    overflow-wrap: anywhere;
  }
  .paart-golden-catalog-page ul.products > li.product .button {
    width: 100%;
    max-width: 100%;
    padding: 6px 3px !important;
    font-size: 10px !important;
    white-space: normal;
    text-align: center;
  }
}

/* ======================================================
   V1.0.5: Dedicated offers page header/breadcrumb cleanup
   Scoped to the plugin-created page only. Does not alter
   the global site header, navigation, or product headings.
====================================================== */
body.paart-golden-dedicated-page .entry-header,
body.paart-golden-dedicated-page .page-header,
body.paart-golden-dedicated-page .page-title-area,
body.paart-golden-dedicated-page .page-title-wrapper,
body.paart-golden-dedicated-page .breadcrumb-area,
body.paart-golden-dedicated-page .breadcrumb-section,
body.paart-golden-dedicated-page .breadcrumb-trail,
body.paart-golden-dedicated-page .breadcrumbs,
body.paart-golden-dedicated-page .breadcrumb,
body.paart-golden-dedicated-page .woocommerce-breadcrumb,
body.paart-golden-dedicated-page .rank-math-breadcrumb,
body.paart-golden-dedicated-page .yoast-breadcrumb,
body.paart-golden-dedicated-page h1.entry-title,
body.paart-golden-dedicated-page h1.page-title {
  display: none !important;
}

/* Clean up extra whitespace left by the theme heading. */
body.paart-golden-dedicated-page .paart-golden-catalog-page {
  padding-top: 0;
  margin-top: 0;
}
body.paart-golden-dedicated-page .paart-golden-sale-page {
  margin-top: 8px;
}
body.paart-golden-dedicated-page .paart-golden-catalog-page section > h2 {
  font-size: clamp(17px, 2vw, 23px);
  line-height: 1.55;
  margin: 0 0 15px;
}

/* Reduce card height gently on desktop and tablet. */
body.paart-golden-dedicated-page .paart-golden-catalog-page ul.products > li.product {
  min-height: 0 !important;
  height: auto !important;
}
body.paart-golden-dedicated-page .paart-golden-catalog-page ul.products > li.product .woocommerce-loop-product__title {
  margin-top: 5px;
  margin-bottom: 4px;
  line-height: 1.5;
}

/* Compact three-column mobile cards without removing prices
   or add-to-cart controls. */
@media (max-width: 767px) {
  body.paart-golden-dedicated-page .paart-golden-catalog-page
  .paart-golden-sale-page ul.products,
  body.paart-golden-dedicated-page .paart-golden-catalog-page
  .paart-golden-other-products ul.products {
    gap: 6px !important;
  }
  body.paart-golden-dedicated-page .paart-golden-catalog-page
  ul.products > li.product {
    padding: 4px !important;
    margin: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    align-self: stretch;
    border-radius: 8px;
  }
  body.paart-golden-dedicated-page .paart-golden-catalog-page
  ul.products > li.product img {
    aspect-ratio: 1 / .88;
    height: auto !important;
    max-height: 106px !important;
    object-fit: contain;
    margin: 0 auto 4px !important;
  }
  body.paart-golden-dedicated-page .paart-golden-catalog-page
  ul.products > li.product .woocommerce-loop-product__title,
  body.paart-golden-dedicated-page .paart-golden-catalog-page
  ul.products > li.product h2 {
    display: -webkit-box !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-size: 10px !important;
    line-height: 1.45 !important;
    min-height: 0 !important;
    max-height: 2.9em;
    margin: 3px 0 4px !important;
    padding: 0 !important;
  }
  body.paart-golden-dedicated-page .paart-golden-catalog-page
  ul.products > li.product .price {
    margin: 3px 0 5px !important;
    padding: 0 !important;
    min-height: 0 !important;
    line-height: 1.4 !important;
    font-size: 10px !important;
  }
  body.paart-golden-dedicated-page .paart-golden-catalog-page
  ul.products > li.product .button {
    min-height: 0 !important;
    height: auto !important;
    padding: 5px 2px !important;
    margin: 3px 0 0 !important;
    font-size: 9px !important;
    line-height: 1.35 !important;
  }
}

/* ================================================
   V1.0.6 - Theme-independent compact catalog cards
   ================================================ */
body.paart-golden-dedicated-page .paart-golden-catalog-page.pgep-v106 {width:100%;max-width:1400px;margin:0 auto;padding:4px 12px 26px;direction:rtl}
body.paart-golden-dedicated-page .pgep-v106 section {margin:0 0 30px!important;padding:0!important;max-width:none!important}
body.paart-golden-dedicated-page .pgep-v106 section>h2{margin:0 0 14px!important;font-size:clamp(17px,2vw,22px);line-height:1.55;font-weight:800;text-align:right}
body.paart-golden-dedicated-page .pgep-v106 .pgep-grid{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:12px;align-items:stretch}
body.paart-golden-dedicated-page .pgep-v106 .pgep-card{position:relative;display:flex;flex-direction:column;min-width:0;min-height:0;height:auto;margin:0!important;padding:9px;border:1px solid #e9e9e9;border-radius:11px;background:#fff;overflow:hidden}
body.paart-golden-dedicated-page .pgep-v106 .pgep-card-image{position:relative;display:block;width:100%;aspect-ratio:1/1;overflow:hidden;background:#fff}
body.paart-golden-dedicated-page .pgep-v106 .pgep-card-image img{display:block;width:100%!important;height:100%!important;max-width:100%!important;margin:0!important;padding:0!important;object-fit:contain}
body.paart-golden-dedicated-page .pgep-v106 .pgep-sale-badge{position:absolute;top:3px;right:3px;padding:2px 5px;background:#ee304a;color:#fff;border-radius:5px;font-size:10px;font-weight:800}
body.paart-golden-dedicated-page .pgep-v106 .pgep-card-clock{display:flex;align-items:center;justify-content:center;gap:3px;min-height:19px;margin:3px 0;color:#ed3045;font-size:10px;line-height:1.4;direction:ltr}
body.paart-golden-dedicated-page .pgep-v106 .pgep-card-clock[hidden]{display:none!important}
body.paart-golden-dedicated-page .pgep-v106 .pgep-card-title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;min-height:2.9em;margin:6px 0 7px;color:#333;text-decoration:none;font-size:12px;font-weight:700;line-height:1.45;text-align:right}
body.paart-golden-dedicated-page .pgep-v106 .pgep-card-bottom{display:flex;align-items:flex-end;justify-content:space-between;gap:5px;margin-top:auto}
body.paart-golden-dedicated-page .pgep-v106 .pgep-card-price{min-width:0;flex:1;direction:rtl;text-align:right;color:#222;font-size:12px;font-weight:800;line-height:1.5;overflow-wrap:anywhere}
body.paart-golden-dedicated-page .pgep-v106 .pgep-card-price del{display:block;font-size:10px;color:#999;font-weight:400}
body.paart-golden-dedicated-page .pgep-v106 .pgep-card-price ins{color:#181818;text-decoration:none}
body.paart-golden-dedicated-page .pgep-v106 .pgep-buy{display:flex;flex:0 0 30px;align-items:center;justify-content:center;width:30px;height:34px;padding:0;border:0;border-radius:8px;background:#ef304b;color:#fff;text-decoration:none;font-size:23px;line-height:1}
body.paart-golden-dedicated-page .pgep-v106 .pgep-unavailable{font-size:10px;color:#888}
@media(max-width:1024px){body.paart-golden-dedicated-page .pgep-v106 .pgep-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:767px){
body.paart-golden-dedicated-page .paart-golden-catalog-page.pgep-v106{padding:0 8px 25px}
body.paart-golden-dedicated-page .pgep-v106 section{margin:0 0 24px!important}
body.paart-golden-dedicated-page .pgep-v106 section>h2{font-size:17px;margin-bottom:12px!important}
body.paart-golden-dedicated-page .pgep-v106 .pgep-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important}
body.paart-golden-dedicated-page .pgep-v106 .pgep-card{padding:4px;border-radius:8px}
body.paart-golden-dedicated-page .pgep-v106 .pgep-card-clock{font-size:9px;min-height:15px;margin:2px 0}
body.paart-golden-dedicated-page .pgep-v106 .pgep-card-title{font-size:10px;line-height:1.4;margin:4px 0 5px;min-height:2.8em}
body.paart-golden-dedicated-page .pgep-v106 .pgep-card-price{font-size:10px;line-height:1.4}
body.paart-golden-dedicated-page .pgep-v106 .pgep-card-price del{font-size:9px}
body.paart-golden-dedicated-page .pgep-v106 .pgep-buy{flex-basis:27px;width:27px;height:30px;font-size:21px;border-radius:7px}
body.paart-golden-dedicated-page .pgep-v106 .pgep-sale-badge{font-size:8px;padding:2px 3px}
}
/* Theme title/breadcrumb identifiers in NirShop variants */
body.paart-golden-dedicated-page .page_title,body.paart-golden-dedicated-page .page-title-wrap,body.paart-golden-dedicated-page .page-title-section,body.paart-golden-dedicated-page .breadcrumb-wrapper,body.paart-golden-dedicated-page .bread-crumb,body.paart-golden-dedicated-page .breadcrumbs-wrap{display:none!important}

/* v1.0.7: only the verified duplicate sale breadcrumb */
body.paart-golden-dedicated-page [data-pgep-breadcrumb-hidden="1"] { display:none!important; }
