@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');
:root{--blue:#123d70;--blue2:#2468a8;--orange:#f28a24;--ink:#172638;--muted:#6b7785;--line:#e5eaf0;--bg:#f4f7fb}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,Arial,sans-serif;font-size:15px}
a{color:inherit;text-decoration:none}.site-header{background:var(--blue);color:#fff}.header-inner{max-width:1180px;margin:auto;padding:16px 20px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{font-size:25px;font-weight:900;letter-spacing:1.2px}.brand span{color:#ffad52}.main-nav{display:flex;gap:8px;flex-wrap:wrap}.main-nav a{padding:10px 14px;border-radius:8px;color:#eaf2fb}.main-nav a:hover,.main-nav a.active{background:var(--orange);color:#1d2b3a}
.container{max-width:1180px;margin:26px auto;padding:0 18px;min-height:65vh}.hero{background:linear-gradient(115deg,#123d70,#2468a8);color:#fff;border-radius:16px;padding:34px;display:grid;grid-template-columns:1.4fr .6fr;align-items:center;gap:20px}.hero h1{font-size:clamp(28px,4vw,43px);line-height:1.12;margin:0 0 12px}.hero p{color:#e4eef9;line-height:1.55}.hero-symbol{text-align:center;font-size:88px}.search-form{display:flex;gap:7px;background:#fff;padding:6px;border-radius:10px;max-width:680px}.search-form input{border:0;outline:0;padding:12px;flex:1;min-width:0;font:inherit}.btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:8px;padding:11px 16px;font:700 14px Inter,Arial;cursor:pointer}.btn-primary{background:var(--orange);color:#1d2b3a}.btn-blue{background:var(--blue);color:#fff}.btn-light{background:#fff;border:1px solid var(--line);color:var(--blue)}
.layout{display:grid;grid-template-columns:220px 1fr;gap:22px;margin-top:24px}.panel,.card,.content-box{background:#fff;border:1px solid var(--line);border-radius:12px}.panel{padding:18px;height:max-content}.panel h3{margin:0 0 12px}.category-link{display:block;padding:10px;border-radius:7px;color:#34465a}.category-link:hover,.category-link.active{background:#edf4fb;color:var(--blue);font-weight:700}.filter-label{display:block;font-size:12px;color:var(--muted);margin:15px 0 6px}.field{width:100%;padding:11px;border:1px solid var(--line);border-radius:7px;font:inherit}.section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:2px 0 15px}.section-head h2{margin:0;font-size:23px}.muted{color:var(--muted);font-size:13px}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.card{overflow:hidden;transition:.15s}.card:hover{transform:translateY(-2px);box-shadow:0 8px 24px #173c6015}.card-image{height:160px;background:#e8eef5;display:grid;place-items:center;overflow:hidden;position:relative}.card-image img{width:100%;height:100%;object-fit:cover}.placeholder-icon{font-size:60px}.featured{position:absolute;top:10px;left:10px;background:var(--orange);padding:5px 8px;border-radius:5px;font-size:11px;font-weight:800}.card-body{padding:14px}.card-body h3{font-size:16px;margin:0 0 9px}.price{font-size:20px;color:var(--blue);font-weight:800}.meta{font-size:12px;color:var(--muted);margin-top:8px}.site-footer{text-align:center;color:var(--muted);padding:28px 15px;font-size:13px}.site-footer span{color:var(--orange)}
.product-layout{display:grid;grid-template-columns:1.1fr 1fr;gap:25px;background:#fff;border:1px solid var(--line);padding:22px;border-radius:14px}.product-main-image{height:360px;background:#e9eff5;border-radius:10px;display:grid;place-items:center;overflow:hidden}.product-main-image img{width:100%;height:100%;object-fit:contain}.product-info h1{margin:8px 0 12px}.product-info .price{font-size:30px}.product-info p{line-height:1.65;color:#536273}.thumbs{display:flex;gap:9px;margin-top:10px;flex-wrap:wrap}.thumbs img{width:65px;height:55px;object-fit:cover;border:1px solid var(--line);border-radius:7px;cursor:pointer}.content-box{padding:20px;margin-bottom:18px}.notice{background:#fff7ec;border:1px solid #f8d6ad;padding:12px 15px;border-radius:9px;color:#75501f;font-size:13px}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-row{margin-bottom:14px}.form-row label{display:block;font-size:13px;font-weight:700;margin-bottom:6px}.form-row textarea{min-height:140px;resize:vertical}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:14px}td,th{padding:11px 8px;border-bottom:1px solid var(--line);text-align:left;vertical-align:middle}th{color:var(--muted);font-size:12px}.status{display:inline-block;padding:5px 8px;border-radius:5px;background:#e8f5ec;color:#24733c;font-size:12px}.status.sold,.status.archived{background:#fcebea;color:#a33}.status.reserved{background:#fff4dd;color:#8a5b00}.admin-top{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.admin-nav{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.admin-nav a{padding:9px 12px;border-radius:7px;background:#eaf0f6;color:var(--blue);font-weight:700}.admin-nav a.active{background:var(--blue);color:white}.alert{padding:12px 14px;border-radius:8px;margin:12px 0;background:#e8f5ec;color:#24733c}.alert.error{background:#fcebea;color:#a33}.login-card{max-width:440px;margin:45px auto;background:#fff;padding:26px;border:1px solid var(--line);border-radius:14px}
@media(max-width:850px){.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.layout{grid-template-columns:1fr}.product-layout{grid-template-columns:1fr}.hero{grid-template-columns:1fr}.hero-symbol{display:none}}
@media(max-width:520px){.header-inner{align-items:flex-start;flex-direction:column}.cards{grid-template-columns:1fr}.hero{padding:23px}.search-form{flex-wrap:wrap}.search-form input{flex-basis:100%}.form-grid{grid-template-columns:1fr}.product-main-image{height:260px}}


/* AGORAHUB – rendezettebb lábléc */
.site-footer{padding:30px 18px 34px;text-align:center;color:var(--muted);font-size:13px}
.footer-inner{max-width:1180px;margin:0 auto;display:flex;flex-direction:column;align-items:center;gap:14px}
.footer-inner>div{line-height:1.5}
.footer-links{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;column-gap:22px;row-gap:12px;max-width:900px}
.footer-links a{display:inline-block;line-height:1.5;padding:3px 0;color:#5e6d7d;white-space:nowrap;transition:color .15s ease}
.footer-links a:hover{color:var(--blue2);text-decoration:underline;text-underline-offset:3px}
@media(max-width:520px){.site-footer{padding:25px 16px}.footer-links{column-gap:16px;row-gap:10px}.footer-links a{white-space:normal}}


/* AGORAHUB termékgaléria – teljes kép és kattintható nagyítás */
.product-gallery{min-width:0}
.product-main-image{height:auto;min-height:360px;max-height:min(78vh,780px);padding:8px;display:flex;align-items:center;justify-content:center;background:#f7f9fc;cursor:zoom-in}
.product-main-image img{display:block;width:auto;height:auto;max-width:100%;max-height:min(76vh,760px);object-fit:contain}
.thumbs{align-items:center}
.product-thumb{display:block;padding:0;width:65px;height:55px;border:2px solid var(--line);border-radius:7px;background:#fff;overflow:hidden;cursor:pointer}
.product-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.product-thumb.active{border-color:var(--orange);box-shadow:0 0 0 1px var(--orange)}
.product-lightbox{display:none;position:fixed;inset:0;z-index:99999;padding:55px 70px;align-items:center;justify-content:center;background:rgba(8,15,25,.94)}
.product-lightbox.open{display:flex}
.product-lightbox>img{display:block;max-width:92vw;max-height:88vh;width:auto;height:auto;object-fit:contain;box-shadow:0 12px 45px rgba(0,0,0,.35)}
.lightbox-close,.lightbox-nav{position:absolute;display:flex;align-items:center;justify-content:center;border:0;color:#fff;background:rgba(255,255,255,.14);cursor:pointer;border-radius:50%}
.lightbox-close{top:18px;right:24px;width:46px;height:46px;font-size:34px;line-height:1}
.lightbox-nav{top:50%;transform:translateY(-50%);width:48px;height:58px;font-size:26px;border-radius:9px}
.lightbox-prev{left:18px}.lightbox-next{right:18px}
.lightbox-counter{position:absolute;bottom:18px;left:0;right:0;text-align:center;color:#fff;font-size:14px}
body.lightbox-open{overflow:hidden}
@media(max-width:850px){.product-main-image{min-height:260px;max-height:70vh}.product-main-image img{max-height:68vh}.product-lightbox{padding:55px 48px}.lightbox-prev{left:7px}.lightbox-next{right:7px}}
@media(max-width:520px){.product-main-image{min-height:220px;padding:4px}.product-main-image img{max-height:62vh}.product-lightbox{padding:55px 42px}.lightbox-close{top:10px;right:10px}.lightbox-nav{width:36px;height:48px;font-size:20px}}


/* AGORAHUB – felhasználási feltételek belépési ablaka */
#site-content{transition:filter .22s ease}
html:not(.agorahub-terms-accepted) #site-content{
  filter:blur(7px);
  pointer-events:none;
  user-select:none;
  -webkit-user-select:none;
}
.agorahub-terms-overlay{
  position:fixed;inset:0;z-index:100000;
  display:flex;align-items:center;justify-content:center;
  padding:22px;
  background:rgba(8,20,36,.42);
  overflow-y:auto;
}
html.agorahub-terms-accepted .agorahub-terms-overlay{display:none}
.agorahub-terms-card{
  width:min(680px,100%);max-height:calc(100vh - 44px);
  display:flex;flex-direction:column;gap:12px;
  padding:27px 30px 22px;
  background:#fff;border:1px solid #dce5ef;border-radius:18px;
  box-shadow:0 24px 80px rgba(0,0,0,.28);
  color:var(--ink);
}
.agorahub-terms-brand{font-size:19px;font-weight:900;letter-spacing:1px;color:var(--blue)}
.agorahub-terms-brand span{color:var(--orange)}
.agorahub-terms-card h1{margin:0;color:var(--blue);font-size:clamp(23px,3vw,30px);line-height:1.2}
.agorahub-terms-intro{margin:0;color:#526276;line-height:1.5}
.agorahub-terms-scroll{
  overflow-y:auto;min-height:130px;max-height:42vh;
  padding:16px 18px;background:#f4f7fb;border:1px solid var(--line);border-radius:10px;
  overscroll-behavior:contain;
}
.agorahub-terms-scroll h2{font-size:16px;margin:17px 0 6px;color:var(--blue)}
.agorahub-terms-scroll h2:first-of-type{margin-top:8px}
.agorahub-terms-scroll p{font-size:13px;line-height:1.55;margin:0 0 10px;color:#34465a}
.agorahub-terms-scroll a{color:var(--blue);text-decoration:underline}
.agorahub-terms-updated{font-size:12px!important;color:var(--muted)!important}
.agorahub-terms-actions{display:flex;gap:10px;flex-wrap:wrap}
.agorahub-terms-actions button{
  min-height:46px;padding:12px 22px;border-radius:9px;
  font:800 14px Inter,Arial,sans-serif;cursor:pointer
}
.agorahahub-terms-accept{background:var(--orange);border:1px solid var(--orange);color:#1d2b3a}
.agorahub-terms-accept{background:var(--orange);border:1px solid var(--orange);color:#1d2b3a}
.agorahub-terms-accept:hover{filter:brightness(.96)}
.agorahub-terms-decline{background:#fff;border:1px solid #cbd5e1;color:var(--blue)}
.agorahub-terms-decline:hover{background:#f4f7fb}
.agorahub-terms-error{margin:0;padding:10px 12px;border-radius:8px;background:#fff1f0;color:#9f2d26;font-size:13px}
.agorahub-terms-footnote{margin:0;color:var(--muted);font-size:11px;line-height:1.4}
@media(max-width:600px){
  .agorahub-terms-overlay{padding:12px;align-items:center}
  .agorahub-terms-card{padding:21px 18px 17px;max-height:calc(100vh - 24px);gap:10px}
  .agorahub-terms-scroll{max-height:40vh;padding:13px}
  .agorahub-terms-actions{flex-direction:column}
  .agorahub-terms-actions button{width:100%}
}
