/* ============================================================
   V7 MASTER Árlista Professional Integration 1.0
   Kártyás termékjegyzék – Global Header 1.1 + Sidebar UI 2.0
   ============================================================ */
.price-catalog{padding:14px 18px 34px;box-sizing:border-box;font-family:'Urbanist',Arial,sans-serif}
.catalog-toolbar{display:flex;align-items:center;gap:14px;justify-content:space-between;margin:0 0 10px;flex-wrap:wrap}
.catalog-search{position:relative;flex:1 1 280px;max-width:420px}.catalog-search input{width:100%;height:38px;border:1px solid #d7e3d8;border-radius:19px;padding:0 42px 0 16px;font:500 13px/1 'Urbanist',sans-serif;color:#152219;background:rgba(255,255,255,.94);outline:none;box-sizing:border-box}.catalog-search input:focus{border-color:#75f38d;box-shadow:0 0 0 3px rgba(117,243,141,.15)}.catalog-search svg{position:absolute;right:14px;top:10px;width:18px;height:18px;color:#66766b;pointer-events:none}
.catalog-filters{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.filter-btn{height:36px;padding:0 15px;border:1px solid #d7e3d8;border-radius:18px;background:#fff;font:600 12px/1 'Urbanist',sans-serif;color:#17231b;cursor:pointer;transition:.15s}.filter-btn:hover{border-color:#75f38d}.filter-btn.active{background:#a8fbce;border-color:#75f38d;color:#064c28}
.catalog-meta{display:flex;justify-content:space-between;align-items:center;margin:0 2px 10px;color:#66766b;font-size:12px}.catalog-meta strong{color:#123b26}
.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.product-card{position:relative;display:flex;flex-direction:column;min-width:0;border:1px solid #d7e3d8;border-radius:14px;background:rgba(255,255,255,.96);overflow:hidden;box-shadow:0 3px 14px rgba(26,70,42,.035);transition:transform .15s,border-color .15s,box-shadow .15s}.product-card:hover{transform:translateY(-1px);border-color:#75f38d;box-shadow:0 8px 20px rgba(20,86,47,.08)}.product-card.featured{border-color:#75f38d}.featured-badge{position:absolute;top:8px;left:8px;z-index:2;background:#fff;border:1px solid #75f38d;border-radius:999px;padding:4px 9px;font-size:10px;font-weight:800;color:#08753b}
.card-top{display:grid;grid-template-columns:106px minmax(0,1fr);gap:10px;padding:9px 9px 7px;min-height:122px}.product-image{width:106px;height:112px;object-fit:contain;border-radius:10px;background:#eef4ef}.card-info{min-width:0;padding-top:1px}.product-category{display:block;color:#7a877f;font-size:11px;line-height:1.15;margin-bottom:3px}.product-name{margin:0 0 4px;font-size:15px;line-height:1.05;font-weight:800;color:#07130c}.product-description{margin:0 0 6px;font-size:11.5px;line-height:1.27;color:#303e35;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.product-size{font-size:10.5px;color:#6a776f}
.price-row{display:grid;grid-template-columns:1fr 1fr;gap:7px;padding:0 8px 7px}.price-box{min-height:46px;border:1px solid #d7e3d8;border-radius:9px;background:#eef4ef;padding:6px 8px;box-sizing:border-box}.price-label{display:block;font-size:9.5px;color:#718078;margin-bottom:2px}.price-value{display:block;font-size:13px;line-height:1.05;font-weight:800;color:#07130c}.card-action{display:block;margin:0 8px 8px;height:32px;border-radius:8px;background:#07893f;color:#fff;text-align:center;text-decoration:none;font-size:12px;font-weight:800;line-height:32px;transition:.15s}.card-action:hover{background:#067537}.no-results{display:none;padding:40px;text-align:center;border:1px dashed #cbd9cd;border-radius:14px;background:rgba(255,255,255,.82);color:#59685e}
.catalog-note{margin-top:12px;padding:10px 13px;border-left:3px solid #17a65a;border-radius:9px;background:#eef4ef;font-size:11px;color:#31513e}.catalog-note strong{color:#086632}
@media(max-width:1320px){.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1000px){.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-toolbar{align-items:flex-start}.catalog-filters{justify-content:flex-start}}
@media(max-width:700px){.price-catalog{padding:10px 10px 28px}.product-grid{grid-template-columns:1fr}.catalog-search{max-width:none;flex-basis:100%}.catalog-filters{overflow-x:auto;flex-wrap:nowrap;width:100%;padding-bottom:3px}.filter-btn{flex:0 0 auto}.card-top{grid-template-columns:112px minmax(0,1fr)}.product-image{width:112px}}

/* ============================================================
   Árlista végleges UI finomítás 1.2
   1) Az oldalsáv mindig elfér a képernyőn, nem nyújtja meg az oldalt.
   2) A termékbélyegek kattintással nagyíthatók.
   ============================================================ */
@media (min-width:901px){
  body{overflow-x:hidden}
  .app-shell{align-items:start}
  .sidebar{
    position:sticky;
    top:0;
    height:100vh;
    min-height:0;
    overflow:hidden;
  }
  .brand{padding:17px 18px 13px}
  .brand img{width:118px}
  .nav{gap:1px;margin-top:0;padding:0 10px}
  .nav-item{height:35px;gap:10px;padding:0 10px;font-size:12.5px}
  .nav-item svg{width:16px;height:16px}
  .sidebar-bottom{padding:8px 10px 10px;margin:0 10px}
  .sidebar-bottom .nav-item{height:34px}
  .content{min-width:0}
}

.product-image{
  cursor:zoom-in;
  transition:transform .18s ease,filter .18s ease;
}
.product-image:hover{transform:scale(1.025);filter:brightness(1.015)}

.product-image-modal{
  position:fixed;
  inset:0;
  z-index:5000;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  background:rgba(7,19,12,.66);
  backdrop-filter:blur(5px);
  -webkit-backdrop-filter:blur(5px);
}
.product-image-modal[hidden]{display:none!important}
.product-image-modal__dialog{
  position:relative;
  width:min(920px,94vw);
  max-height:92vh;
  overflow:auto;
  border:1px solid #d7e3d8;
  border-radius:18px;
  background:#fff;
  box-shadow:0 28px 80px rgba(0,0,0,.25);
  padding:18px;
}
.product-image-modal__image{
  display:block;
  width:100%;
  max-height:76vh;
  object-fit:contain;
  border-radius:12px;
  background:#f7faf8;
}
.product-image-modal__title{
  margin:12px 48px 0 2px;
  color:#0a2818;
  font:700 17px/1.25 'Urbanist',Arial,sans-serif;
}
.product-image-modal__close{
  position:absolute;
  top:12px;
  right:12px;
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border:1px solid #d7e3d8;
  border-radius:50%;
  background:#fff;
  color:#152219;
  font:600 24px/1 Arial,sans-serif;
  cursor:pointer;
  box-shadow:0 4px 14px rgba(20,70,42,.1);
}
.product-image-modal__close:hover{background:#eef4ef}
body.product-modal-open{overflow:hidden}

@media(max-width:700px){
  .product-image-modal{padding:10px}
  .product-image-modal__dialog{padding:10px;border-radius:14px}
  .product-image-modal__image{max-height:72vh}
}

/* ============================================================
   Árlista Final UI Fix 1.3
   - Stabil, fix V7 MASTER háttér; nem okoz elmozdulást vagy újraméretezést.
   - A teljes termékkártya megnyitja a nagyított bélyegnézetet.
   ============================================================ */
.content{
  position:relative;
  isolation:isolate;
  background:#fff!important;
  background-image:none!important;
}
.content::before{
  content:"";
  position:fixed;
  top:0;
  right:0;
  bottom:0;
  left:188px;
  z-index:0;
  pointer-events:none;
  background:url('../assets/background/v7-master-background-1-0.webp') right bottom/52vw auto no-repeat;
}
.content>*{position:relative;z-index:1}
.product-card{cursor:zoom-in}
.product-card .card-action{cursor:pointer}
.product-card:focus-visible{
  outline:3px solid rgba(117,243,141,.55);
  outline-offset:2px;
}
@media(max-width:900px){
  .content::before{left:0;background-size:78vw auto;opacity:.82}
}
