/* Presta Premium – doplnky k šablóne Bazaro (toolbar, podstránky, účet) */
:root { --pp-accent: #0b8a82; --pp-muted: #6b7280; --pp-err: #c62828; --pp-ok: #1b7a3a; }

.aq-header-info-item a.active span { text-decoration: underline; text-underline-offset: 4px; }
.aq-header-menu nav > ul > li.active > a { color: var(--pp-accent); }
.pp-link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.aq-header-setting ul form { margin: 0; }

.pp-lead { max-width: 720px; margin: 15px auto 0; font-size: 17px; color: var(--pp-muted); line-height: 1.6; }
.pp-muted { color: var(--pp-muted); font-size: 14px; line-height: 1.6; }
.pp-hint { display: block; margin-top: 6px; font-size: 12px; color: var(--pp-muted); }
.pp-field-err { display: block; margin-top: 6px; font-size: 12px; color: var(--pp-err); }
.pp-feature-icon { display: inline-flex; color: var(--pp-accent); margin-bottom: 18px; }
.pp-404 { font-size: 96px; font-weight: 700; line-height: 1; color: var(--pp-accent); margin-bottom: 10px; }
.pp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.pp-alert { padding: 14px 18px; border-radius: 8px; margin-bottom: 20px; font-size: 15px; line-height: 1.5; }
.pp-alert[hidden] { display: none !important; }
.pp-alert-ok { background: #e7f6ec; color: var(--pp-ok); border: 1px solid #b9e2c6; }
.pp-alert-err { background: #fdecea; color: var(--pp-err); border: 1px solid #f5c2bd; }
.aq-form-control.is-invalid { border-color: var(--pp-err) !important; }
.aq-contact-remeber.is-invalid label { color: var(--pp-err); }
.pp-select { appearance: auto; background: #fff; }
.pp-textarea { min-height: 160px; padding-top: 14px; }

.pp-btn-outline { display: inline-flex; align-items: center; height: 46px; padding: 0 22px; border: 1px solid #000709; color: #000709; font-weight: 500; margin-left: 10px; transition: .2s; }
.pp-btn-outline:hover { background: #000709; color: #fff; }
.pp-btn-danger { height: 46px; padding: 0 22px; border: 1px solid var(--pp-err); color: var(--pp-err); background: #fff; border-radius: 8px; font-weight: 500; }
.pp-btn-danger:hover { background: var(--pp-err); color: #fff; }

/* bočné menu oblastí je otvorené len na úvodnej stránke, inde sa rozbalí kliknutím */
.pp-inner .med-header-menu-off { display: none; }

/* o nás */
.pp-about-thumb { border-radius: 16px; padding: 40px; text-align: center; }
.pp-about-thumb img { max-height: 320px; width: auto; max-width: 100%; }

/* výzva */
.pp-cta { background: #E8F6F5; border-radius: 16px; padding: 40px 48px; gap: 24px; }
.pp-cta h3 { font-size: 28px; margin-bottom: 8px; }
.pp-cta p { margin: 0; color: var(--pp-muted); }
.pp-cta-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.pp-cta-btns .pp-btn-outline { margin-left: 0; }
.pp-cta-side { padding: 30px; }
.pp-cta-side h3 { font-size: 22px; }
.pp-cta-side p { margin-bottom: 18px; }

/* FAQ */
.pp-faq-help { background: #F6F6F6; border-radius: 12px; padding: 24px; }
.pp-faq-help p { margin-bottom: 14px; }

/* blog */
.pp-blog-thumb, .pp-blog-banner { border-radius: 12px; overflow: hidden; text-align: center; }
.pp-blog-thumb img { width: 100%; height: 230px; object-fit: contain; padding: 20px; }
.pp-blog-banner img { max-height: 340px; width: auto; max-width: 100%; padding: 30px; }
.pp-article h2 { font-size: 24px; margin: 32px 0 12px; }
.pp-article p, .pp-article li { font-size: 16px; line-height: 1.75; color: #374151; }
.pp-article ul { padding-left: 20px; margin-bottom: 20px; list-style: disc; }
.pp-article-lead { font-size: 18px !important; color: #000709 !important; }
.pp-blog-list { list-style: none; padding: 0; }
.pp-blog-list li { padding: 14px 0; border-bottom: 1px solid #eee; }
.pp-blog-list a { display: block; font-weight: 500; color: #000709; }
.pp-blog-list span { font-size: 13px; color: var(--pp-muted); }

/* okno prihlásenia */
.pp-auth-tabs { display: flex; gap: 6px; background: #F3F4F4; border-radius: 10px; padding: 4px; margin-bottom: 24px; }
.pp-auth-tabs[hidden] { display: none; }
.pp-auth-tabs button { flex: 1; border: 0; background: none; padding: 10px; border-radius: 8px; font-weight: 500; color: var(--pp-muted); }
.pp-auth-tabs button.on { background: #fff; color: #000709; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
#pp-auth .aq-login-input-box { margin-bottom: 16px; }
#pp-auth .aq-login-input .aq-form-control { padding-right: 48px; }
.pp-eye { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--pp-muted); padding: 4px; }
.pp-check label { font-size: 14px; line-height: 1.5; }
.pp-check label a { text-decoration: underline; }
.pp-check em, #pp-auth em { font-style: normal; color: var(--pp-muted); font-size: 12px; }
.pp-auth-done { padding: 10px 0; }
.pp-auth-done p { color: var(--pp-muted); margin-bottom: 24px; line-height: 1.6; }
.pp-auth-resend a { text-decoration: underline; color: var(--pp-accent); font-size: 14px; }
form[hidden], [data-auth-done][hidden] { display: none !important; }
.pp-card { background: #fff; border-radius: 16px; padding: 40px; box-shadow: 0 10px 40px rgba(0,0,0,.06); }

/* účet */
.pp-avatar { width: 72px; height: 72px; border-radius: 50%; background: var(--pp-accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 700; }
.pp-account .aq-dashboard-sidebar-menu form { margin: 0; }
.pp-logout { display: flex; align-items: center; gap: 10px; width: 100%; background: none; border: 0; padding: 12px 20px; color: inherit; font: inherit; text-align: left; }
.pp-logout:hover { color: var(--pp-err); }
.pp-account .aq-dashboard-sidebar-menu a span, .pp-logout span { display: inline-flex; }
.pp-form-box { padding: 30px; }
.pp-box-title { font-size: 20px; margin-bottom: 18px; }
.pp-empty { padding: 40px 30px; text-align: center; }
.pp-empty h3 { font-size: 22px; margin-bottom: 10px; }
.pp-empty p { color: var(--pp-muted); max-width: 520px; margin: 0 auto 20px; }
.pp-licence { padding: 24px 30px; }
.pp-licence h3 { font-size: 20px; }
.pp-licence p { margin: 4px 0; font-size: 14px; }
.pp-badge { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 13px; font-weight: 500; background: #e7f6ec; color: var(--pp-ok); }
.pp-badge-expired, .pp-badge-revoked { background: #fdecea; color: var(--pp-err); }

@media (max-width: 767px) {
   .pp-cta { padding: 28px 22px; }
   .pp-card { padding: 26px 20px; }
   .pp-btn-outline { margin: 10px 0 0; }
}

/* košík a obľúbené */
.count-box.pp-zero { display: none !important; }
.pp-plain { background: none; border: 0; padding: 0; }
.pp-thumb { display: inline-flex; align-items: center; justify-content: center; background: #F2F7F7; border-radius: 10px; overflow: hidden; }
.pp-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.aq-cartmini-product-thumbnail.pp-thumb { width: 90px; height: 90px; flex: 0 0 90px; }
.aq-wishlist-popup-thumb .pp-thumb { width: 70px; height: 70px; flex: 0 0 70px; }
.pp-fav-empty { padding: 30px 10px; }
.pp-fav-empty p { color: var(--pp-muted); margin-bottom: 16px; }
.pp-fav-btn.is-on { color: #e5484d; }
.pp-fav-btn.is-on svg path { stroke: #e5484d; fill: #e5484d; }
.aq-cartmini-checkout { padding: 20px 30px 30px; border-top: 1px solid #eee; }
.pp-cart-vat { font-size: 12px; margin: 6px 0 14px; }
.aq-product-quantity .aq-cart-minus, .aq-product-quantity .aq-cart-plus { cursor: pointer; user-select: none; font-size: 18px; line-height: 1; }
.pp-cart-list { padding: 10px 30px; }
.pp-cart-row { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid #eee; }
.pp-cart-row:last-child { border-bottom: 0; }
.pp-cart-thumb { width: 96px; height: 96px; flex: 0 0 96px; }
.pp-cart-info { flex: 1; min-width: 0; }
.pp-cart-info h3 { font-size: 18px; margin-bottom: 4px; }
.pp-cart-info p { margin-bottom: 6px; }
.pp-cart-remove { color: var(--pp-err); font-size: 14px; text-decoration: underline; }
.pp-cart-price { min-width: 120px; text-align: right; font-weight: 700; font-size: 18px; }
.pp-cart-price small { display: block; font-weight: 400; font-size: 12px; color: var(--pp-muted); }
.pp-cart-summary { padding: 30px; }
.pp-cart-total { font-size: 20px; padding: 10px 0 14px; border-bottom: 1px solid #eee; margin-bottom: 14px; }
.pp-fav-card { padding: 24px; }
.pp-fav-thumb { width: 100%; height: 160px; margin-bottom: 16px; }
.pp-fav-card h3 { font-size: 20px; }
.pp-fav-price { font-size: 20px; }
.pp-toast { position: fixed; left: 50%; bottom: 90px; transform: translate(-50%, 20px); background: #000709; color: #fff; padding: 12px 20px; border-radius: 10px; font-size: 14px; z-index: 99999; opacity: 0; transition: .3s; max-width: calc(100% - 32px); text-align: center; pointer-events: none; }
.pp-toast.on { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 575px) {
   .pp-cart-row { flex-wrap: wrap; }
   .pp-cart-info { flex: 1 1 calc(100% - 116px); }
   .pp-cart-price { min-width: 0; margin-left: auto; }
   .pp-cart-list { padding: 4px 18px; }
}

/* kategórie modulov */
.pp-cat-hero-icon { display: block; margin: 18px auto 10px; }
.pp-cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.pp-cat-tile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 20px 12px; border: 1px solid #eceeee; border-radius: 14px; background: #fff; color: #000709; transition: .2s; }
.pp-cat-tile:hover { border-color: var(--pp-accent); box-shadow: 0 8px 24px rgba(0,0,0,.06); color: #000709; }
.pp-cat-tile.is-active { border-color: var(--pp-accent); background: #E8F6F5; }
.pp-cat-name { font-weight: 600; font-size: 15px; line-height: 1.3; }
.pp-cat-count { font-size: 12px; color: var(--pp-muted); }
.pp-card-cat { color: #12a89e; font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 4px; }
.pp-card-desc { color: #6b7280; font-size: 14px; margin: 6px 0 10px; }
.pp-card-module .aq-product-thumb img { width: 100%; }
@media (max-width: 1199px) { .pp-cat-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 767px) { .pp-cat-grid { grid-template-columns: repeat(2, 1fr); } }

/* názvy kategórií bez veľkých začiatočných písmen (šablóna má capitalize) */
.med-categories-active .aqf-categories-item span, .med-header-menu-list a { text-transform: none; }

/* košík licencií – doména (22. 11. 2026) */
.pp-cart-domain { margin-bottom: 6px; color: var(--pp-muted); font-size: 14px; word-break: break-all; }
.pp-cart-domain strong { color: #000709; font-weight: 600; }
.pp-cart-more { padding: 20px 30px; }
.pp-cart-more .aq-form-label { display: block; margin-bottom: 8px; font-weight: 500; }
.pp-cart-more .aq-form-control { flex: 1; min-width: 0; height: 46px; }
.pp-cart-more .pp-btn-outline { height: 46px; white-space: nowrap; }
.pp-cart-nm { font-size: 13px; line-height: 1.55; }
.pp-cart-summary .aq-btn-black { display: flex; align-items: center; }
#pp-domain .aq-login-input-box { margin-bottom: 10px; }
#pp-domain .pp-domain-hint { font-size: 13px; line-height: 1.55; margin-bottom: 20px; }
#pp-domain .aq-btn-black { display: flex; align-items: center; }
.pp-nm-box p { max-width: 640px; margin-left: auto; margin-right: auto; }
@media (max-width: 575px) { .pp-cart-more { padding: 16px 18px; } }

/* živé demo pri module (22. 11. 2026) */
.pp-demo-links { display: flex; gap: 8px; margin-top: 10px; }
.pp-demo-btn { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 40px; padding: 6px 10px; border: 1px solid #d5dbdb; border-radius: 8px; font-size: 13px; font-weight: 500; line-height: 1.3; text-align: center; color: #000709; background: #fff; transition: .2s; }
a.pp-demo-btn:hover { border-color: var(--pp-accent); color: var(--pp-accent); }
.pp-demo-btn.is-soon { color: #9aa1a6; background: #f5f6f6; border-style: dashed; cursor: not-allowed; }
