/* Etapa 26 — společné komponenty pro šablonu i výstupy marketplace pluginu. */
:where(button, input, select, textarea) { font: inherit; }
:where(button, [type="button"], [type="submit"], [type="reset"], .button) { border-radius: var(--zk-radius-sm); }
:where(input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), select, textarea) {
  max-width: 100%; color: var(--zk-color-ink); border-color: #d6deea; border-radius: var(--zk-radius-sm);
}
:where(input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), select, textarea):focus {
  border-color: var(--zk-color-primary); outline: 0; box-shadow: var(--zk-focus-ring);
}
:where(button, input[type="submit"], .button, .button-primary, .search-submit) { cursor: pointer; }
:where(.button, .button-primary, .button-outline, .button-small) { min-height: 40px; font-weight: 700; transition: color .16s ease, background-color .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease; }
:where(.button-primary, .search-submit, .zk-new-product-form button[type="submit"], .zk-product-form button[type="submit"], .zk-submission-form button[type="submit"], .zk-listing-form button[type="submit"]) { background: var(--zk-color-primary); color: #fff; border-color: var(--zk-color-primary); }
:where(.button-primary, .search-submit, .zk-new-product-form button[type="submit"], .zk-product-form button[type="submit"], .zk-submission-form button[type="submit"], .zk-listing-form button[type="submit"]):hover { background: var(--zk-color-primary-hover); border-color: var(--zk-color-primary-hover); }
:where(.button-outline, .zk-account-nav a, .zk-account-tabs a, .catalog-chip, .catalog-pagination a, .catalog-pagination span.page-numbers) { border-color: var(--zk-color-border); border-radius: var(--zk-radius-sm); }
:where(.listing-card, .auction-card, .seller-card, .article-card, .zk-account-card, .zk-account-panel, .zk-account-section, .zk-auth-card, .zk-seller-card, .zk-report, .zk-favorite-card, .zk-new-product-form, .zk-product-form, .zk-submission-form, .zk-listing-form) { border-radius: var(--zk-radius-lg); }
:where(.zk-form-notice, .zk-detail-notice, .zk-account-wrap .notice, .zk-account-wrap .updated, .zk-my-listings .notice) { border-radius: var(--zk-radius-md); line-height: var(--zk-body-line); }
:where(.zk-form-notice--success, .zk-detail-notice) { background: var(--zk-color-success-bg); color: var(--zk-color-success); }
:where(.zk-form-notice--error) { background: var(--zk-color-danger-bg); color: var(--zk-color-danger); }
:where(.zk-account table, .zk-my-listings table) { border-collapse: collapse; }
:where(.zk-account th, .zk-account td, .zk-my-listings th, .zk-my-listings td) { border-color: var(--zk-color-border); }
:where(.catalog-empty, .zk-public-seller__empty, .zk-public-seller--not-found) { border-radius: var(--zk-radius-lg); }
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 3px solid rgba(18,97,245,.32); outline-offset: 2px; }
:where(button:disabled, input:disabled, select:disabled, textarea:disabled) { cursor: not-allowed; opacity: .65; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}




/* Globální hlavička: účet musí fungovat a vypadat stejně na každé stránce. */
.header-account{position:relative;z-index:120}
.header-account summary{display:flex;align-items:center;gap:7px;min-height:36px;padding:4px 8px;border:1px solid var(--zk-border,#e1e7f0);border-radius:9px;cursor:pointer;list-style:none;font-size:12px;font-weight:750;white-space:nowrap;background:var(--zk-surface,#fff);color:var(--zk-text,#172033)}
.header-account summary::-webkit-details-marker{display:none}
.header-account summary::marker{content:""}
.header-account summary img{width:26px;height:26px;border-radius:50%;object-fit:cover}
.header-account summary .account-chevron{color:#8290a5}
.header-account[open] summary{border-color:#b8c9e7;background:#f8faff}
.header-account-menu{position:absolute;right:0;top:calc(100% + 9px);z-index:9999;display:grid;gap:2px;width:220px;padding:7px;background:#fff;border:1px solid var(--zk-border,#e1e7f0);border-radius:12px;box-shadow:0 14px 40px rgba(20,40,80,.16)}
.header-account-menu a{display:block;padding:10px 11px;border-radius:7px;color:#2e3d54;font-size:13px;font-weight:650;text-decoration:none}
.header-account-menu a:hover,.header-account-menu a:focus-visible{background:#f2f6fc;color:var(--zk-primary,var(--blue,#3457a5))}
.header-account-menu .header-account-logout{margin-top:4px;border-top:1px solid #edf0f5;border-radius:0;color:#a33b45}
@media(max-width:1100px){.header-account summary{padding-inline:5px}.header-account summary>span:first-of-type{display:none}}
@media(max-width:620px){.header-account summary{width:36px;height:36px;justify-content:center;padding:3px}.header-account summary>span{display:none}.header-account-menu{position:fixed;top:60px;right:12px;width:min(260px,calc(100vw - 24px))}}

/* Sdílené styly účtu, dashboardu a projeveného zájmu – bez rozdílných inline stylů. */
.zk-account-wrap h2{font-size:20px;margin:30px 0 14px;padding-top:22px;border-top:1px solid #e8edf5;color:#14213d}
.zk-account-summary{display:flex;gap:16px;align-items:center;margin:20px 0 26px;padding:16px;background:#f7f9fc;border-radius:10px}
.zk-account-avatar{width:76px!important;height:76px!important;border-radius:50%!important;object-fit:cover}
.zk-account-summary strong,.zk-account-summary span,.zk-account-summary a{display:block;margin:3px 0}
.zk-account-summary span{font-size:12px;color:#697791}
.zk-account-summary a{font-size:13px}
.zk-account-wrap textarea{width:100%;padding:10px 12px;border:1px solid #d8e1ee;border-radius:7px;box-sizing:border-box;font:inherit}
.zk-account-wrap input[type=file]{display:block;width:100%;font:inherit;font-size:12px}
.zk-account-privacy{display:flex;gap:12px;flex-wrap:wrap}
.zk-account-secondary,.zk-account-danger{padding:12px 16px;border-radius:7px;border:1px solid #d8e1ee;background:#fff;color:#14213d;font-weight:700;cursor:pointer}
.zk-account-danger{border-color:#e8bcbc;color:#9b2020}
.zk-account-privacy form{margin:0}
.zk-dashboard--listing{max-width:1180px;margin:0 auto;padding:clamp(16px,3vw,36px);color:#172033}
.zk-dashboard--listing *{box-sizing:border-box}
.zk-dashboard--listing .zk-dash-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:clamp(22px,4vw,42px);background:#f4f6fb;border:1px solid #e4e8f0;border-radius:20px;margin-bottom:20px}
.zk-dashboard--listing h1{font-size:clamp(28px,4vw,40px);margin:6px 0 8px}
.zk-dashboard--listing h2{font-size:24px}
.zk-dashboard--listing .zk-dash-header p,.zk-dashboard--listing .zk-dash-empty{color:#687286}
.zk-dashboard--listing .zk-dash-eyebrow{font-size:11px;font-weight:800;letter-spacing:.12em;color:#6c5ce7}
.zk-dashboard--listing .zk-dash-button{display:inline-flex;padding:12px 17px;background:#6c5ce7;color:#fff;text-decoration:none;border-radius:10px;font-weight:750}
.zk-dashboard--listing .zk-dash-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.zk-dashboard--listing .zk-dash-card{display:flex;flex-direction:column;gap:8px;padding:20px;border:1px solid #e3e7ef;border-radius:14px;text-decoration:none;color:#172033;background:#fff}
.zk-dashboard--listing .zk-dash-number{font-size:28px;color:#6c5ce7}
.zk-dashboard--listing .zk-dash-card-desc,.zk-dashboard--listing small{font-size:13px;color:#747d8d}
.zk-dashboard--listing .zk-dash-section{padding:28px 0;border-bottom:1px solid #e7eaf1}
.zk-dashboard--listing .zk-dash-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.zk-dashboard--listing .zk-dash-text-link{color:#5c4bd8;font-weight:700;text-decoration:none}
.zk-dashboard--listing .zk-dash-listing-list article{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid #edf0f5}
.zk-dashboard--listing .zk-dash-listing-list article div{display:grid;gap:4px;min-width:0}
.zk-dashboard--listing .zk-dash-listing-list article div a{font-weight:700;color:#252d3f;text-decoration:none}
.zk-interest-dashboard{margin-top:24px;padding:24px!important;border:1px solid #e3e7ef;border-radius:16px;background:#fff}
.zk-interest-dashboard .zk-dash-section-head strong{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:34px;padding:0 9px;border-radius:999px;background:#eaf2ff;color:#174ea6}
.zk-interest-dashboard .zk-dash-listing-list article{align-items:flex-start}
.zk-interest-dashboard .zk-dash-listing-list article p{margin:8px 0 0;overflow-wrap:anywhere}
.zk-interest-dashboard .zk-dash-listing-list article small{display:block}
.zk-interest-box{margin:28px 0;padding:24px;border:1px solid #e3e7ef;border-radius:16px;background:#f8f9fc;color:#172033}
.zk-interest-box h2{margin-top:0}
.zk-interest-box form{display:grid;gap:12px}
.zk-interest-box textarea{width:100%;max-width:100%;padding:12px;border:1px solid #cfd5e1;border-radius:8px;box-sizing:border-box;font:inherit}
.zk-interest-notice{padding:12px;background:#e9f8ee;border-radius:8px}
.zk-interest-honeypot{position:absolute!important;left:-10000px!important;width:1px;height:1px;overflow:hidden}
@media(max-width:760px){.zk-dashboard--listing .zk-dash-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.zk-dashboard--listing .zk-dash-header{align-items:flex-start;flex-direction:column}.zk-dashboard--listing .zk-dash-button{width:100%;justify-content:center}}
@media(max-width:540px){.zk-account-privacy{display:grid}.zk-account-privacy form button{width:100%}.zk-interest-dashboard{padding:17px!important}.zk-interest-dashboard .zk-dash-listing-list article{flex-direction:column;align-items:flex-start}}
@media(max-width:420px){.zk-dashboard--listing .zk-dash-cards{grid-template-columns:1fr}}

/* Etapa 42.9 – sjednocená navigace uživatelského účtu */
.zk-account-nav{margin:0 auto 24px;padding:16px;border:1px solid var(--border,#e4eaf2);border-radius:14px;background:#fff;box-shadow:0 5px 22px rgba(18,35,65,.04)}
.zk-account-nav__heading{margin:0 0 12px;color:var(--ink,#14213d);font-size:15px;font-weight:800}
.zk-account-nav__links{display:flex;flex-wrap:wrap;gap:8px}
.zk-account-nav__link{display:inline-flex;align-items:center;gap:8px;min-height:38px;padding:9px 12px;border:1px solid #e1e8f1;border-radius:9px;background:#f8faff;color:#293852;text-decoration:none;font-size:13px;font-weight:700;transition:background .15s,border-color .15s,color .15s}
.zk-account-nav__link:hover,.zk-account-nav__link:focus-visible{border-color:var(--blue,#1764f5);background:#eef4ff;color:var(--blue,#1764f5)}
.zk-account-nav__link.is-active{border-color:var(--blue,#1764f5);background:var(--blue,#1764f5);color:#fff}
.zk-account-nav__badge{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#e33b4b;color:#fff;font-size:11px;font-weight:800}
.zk-account-nav__link.is-active .zk-account-nav__badge{background:#fff;color:var(--blue,#1764f5)}
.zk-account-page{width:min(100% - 32px,1120px);margin:24px auto 56px}
.zk-account-page__header{margin-bottom:20px}
.zk-account-page__header h1{margin:0 0 8px;color:var(--ink,#14213d);font-size:clamp(26px,3vw,36px);line-height:1.15}
.zk-account-page__header p{margin:0;color:var(--muted,#65738a);line-height:1.65}
#zk-account-profile,#zk-account-contact,#zk-account-security{scroll-margin-top:100px}
@media(max-width:640px){.zk-account-nav{padding:12px}.zk-account-nav__links{display:grid;grid-template-columns:1fr 1fr}.zk-account-nav__link{justify-content:flex-start;padding:9px;font-size:12px}.zk-account-page{width:calc(100% - 24px)}}


/* Etapa 43 – full-width, unified seller interest dashboard */
.zk-dashboard--listing,
.zk-account-page,
.zk-interest-dashboard { width:100%; max-width:none; box-sizing:border-box; }
.zk-interest-dashboard { color:var(--zk-text, #20212a); background:var(--zk-surface, #fff); border:1px solid var(--zk-border, #e4e5eb); border-radius:16px; padding:clamp(18px,2.5vw,32px); margin:28px 0; }
.zk-interest-dashboard .zk-dash-section-head { display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; margin-bottom:22px; }
.zk-interest-dashboard .zk-dash-section-head h2 { margin:0 0 6px; color:var(--zk-text,#20212a); }
.zk-interest-dashboard .zk-dash-section-head p { margin:0; color:var(--zk-muted,#686b78); }
.zk-interest-count { display:inline-flex; align-items:center; border-radius:999px; padding:9px 14px; background:#eaf2ff; color:#174ea6; }
.zk-interest-filters { display:flex; flex-wrap:wrap; align-items:end; gap:14px; padding:18px; margin:0 0 22px; background:var(--zk-surface-muted,#f7f7fa); border:1px solid var(--zk-border,#e4e5eb); border-radius:12px; }
.zk-interest-filters label,.zk-interest-manager-form label { display:flex; flex-direction:column; gap:7px; flex:1 1 220px; font-weight:600; font-size:14px; }
.zk-interest-filters select,.zk-interest-manager-form select,.zk-interest-manager-form textarea { width:100%; box-sizing:border-box; border:1px solid var(--zk-border,#d7d9e2); border-radius:8px; padding:10px 12px; background:#fff; color:var(--zk-text,#20212a); font:inherit; }
.zk-interest-manager-list { display:grid; grid-template-columns:1fr; gap:16px; }
.zk-interest-manager-card { min-width:0; border:1px solid var(--zk-border,#e4e5eb); border-radius:12px; padding:20px; background:#fff; }
.zk-interest-manager-card__top { display:flex; justify-content:space-between; align-items:flex-start; gap:14px; flex-wrap:wrap; }
.zk-interest-manager-card__top h3 { margin:0 0 7px; font-size:18px; }
.zk-interest-manager-card__top p,.zk-interest-activity { margin:0 0 10px; color:var(--zk-muted,#686b78); }
.zk-interest-status { display:inline-flex; padding:6px 10px; border-radius:999px; background:#eef0f5; color:#424554; font-size:12px; font-weight:700; }
.zk-interest-status--active { background:#e5f7ed; color:#17663a; }
.zk-interest-status--resolved { background:#e8f0ff; color:#214e9a; }
.zk-interest-status--irrelevant,.zk-interest-status--archived { background:#f0eff3; color:#65616f; }
.zk-interest-buyer-message { margin:14px 0; padding:14px; background:var(--zk-surface-muted,#f7f7fa); border-radius:8px; overflow-wrap:anywhere; }
.zk-interest-manager-form { display:grid; grid-template-columns:minmax(180px,.7fr) minmax(250px,2fr) auto; align-items:end; gap:12px; border-top:1px solid var(--zk-border,#e4e5eb); margin-top:18px; padding-top:18px; }
.zk-interest-manager-form textarea { resize:vertical; min-height:76px; }
@media(max-width:720px) { .zk-interest-manager-form { grid-template-columns:1fr; } .zk-interest-dashboard { padding:16px; } .zk-interest-filters { padding:14px; } }


/* Etapa 43.3 – šířka dashboardu odpovídá běžnému obsahu webu, ne viewportu. */
.zk-dashboard--listing {
  width: min(calc(100% - 32px), 1180px) !important;
  max-width: 1180px !important;
  position: static;
  left: auto;
  transform: none;
  margin: 28px auto !important;
  padding: clamp(18px, 2.5vw, 32px) !important;
  box-sizing: border-box !important;
  overflow-wrap: anywhere;
  background: #f7f9fc;
  color: #172033;
}
.zk-dashboard--listing .zk-dash-eyebrow,
.zk-dashboard--listing .zk-dash-number { color: var(--zk-color-primary, #1764f5) !important; }
.zk-dashboard--listing .zk-dash-button { background: var(--zk-color-primary, #1764f5) !important; border-color: var(--zk-color-primary, #1764f5) !important; color: #fff !important; }
.zk-dashboard--listing .zk-dash-button:hover { background: var(--zk-color-primary-hover, #104dcc) !important; }
.zk-dashboard--listing .zk-dash-text-link { color: var(--zk-color-primary, #1764f5) !important; }
.zk-dashboard--listing .zk-dash-header { border-radius: 16px; }
.zk-dashboard--listing .zk-dash-card { box-shadow: 0 3px 14px rgba(20, 40, 80, .035); }
@media (max-width: 640px) {
  .zk-dashboard--listing { width: calc(100% - 24px) !important; padding: 18px 12px !important; }
  .zk-dashboard--listing .zk-dash-header { padding: 22px 18px; }
}


/* Etapa 44 — cenové návrhy: sjednocený vzhled Ziskovny */
.zk-price-offers {
    margin: 32px 0;
    padding: clamp(20px, 3vw, 32px);
    border: 1px solid #e1e7ef;
    border-radius: 18px;
    background: #fff;
    color: #172033;
    box-shadow: 0 8px 28px rgba(20, 35, 60, .05);
}
.zk-price-offers-head { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:14px; }
.zk-price-offers-eyebrow { margin:0 0 6px; color:#2764d8; font-size:11px; font-weight:800; letter-spacing:.12em; }
.zk-price-offers h2 { margin:0; color:#172033; font-size:clamp(22px,2.5vw,29px); line-height:1.2; }
.zk-price-offers h3 { margin:24px 0 12px; font-size:19px; }
.zk-price-offers-mark { display:grid; place-items:center; width:48px; height:48px; flex:0 0 48px; border-radius:14px; background:#edf4ff; color:#245fce; font-weight:800; font-size:20px; }
.zk-price-offers-disclaimer { padding:13px 15px; border-left:3px solid #7aa7f7; border-radius:7px; background:#f5f8fe; color:#4a5870; font-size:13px; line-height:1.65; }
.zk-price-offer-form, .zk-price-counter-form { display:grid; gap:9px; margin-top:18px; max-width:680px; }
.zk-price-offers label { display:grid; gap:6px; margin-top:6px; color:#27354b; font-size:13px; font-weight:700; }
.zk-price-offers label span { display:inline; color:#7b8799; font-weight:400; }
.zk-price-offers input, .zk-price-offers textarea, .zk-price-offers select { box-sizing:border-box; width:100%; min-width:0; padding:11px 12px; border:1px solid #d6deea; border-radius:9px; background:#fff; color:#172033; font:inherit; font-size:14px; }
.zk-price-offers textarea { resize:vertical; }
.zk-price-offer-button { display:inline-flex; align-items:center; justify-content:center; width:auto; min-height:40px; padding:10px 16px; border:1px solid #245fce; border-radius:9px; background:#245fce; color:#fff !important; font:inherit; font-size:13px; font-weight:750; text-decoration:none; cursor:pointer; }
.zk-price-offer-button:hover, .zk-price-offer-button:focus { background:#194ca9; border-color:#194ca9; color:#fff !important; }
.zk-price-offer-button.is-secondary { background:#fff; color:#34435a !important; border-color:#cbd5e3; }
.zk-price-offer-button.is-secondary:hover { background:#f3f6fb; }
.zk-price-offer-muted, .zk-price-offer-meta { color:#68758a; font-size:13px; line-height:1.6; }
.zk-price-offer-notice { padding:12px 14px; border:1px solid #b8d9c3; border-radius:9px; background:#f0fbf3; color:#176534; }
.zk-price-offer-history { margin-top:24px; }
.zk-price-offer-item { margin-top:12px; padding:17px; border:1px solid #e2e8f0; border-radius:12px; background:#fbfcfe; }
.zk-price-offer-item-top { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:10px; }
.zk-price-offer-item-top strong { color:#172033; font-size:20px; }
.zk-price-offer-status { display:inline-flex; padding:5px 9px; border-radius:999px; background:#eef2f7; color:#4b5870; font-size:11px; font-weight:800; }
.zk-price-offer-status-pending { background:#fff4d7; color:#8a5a00; }
.zk-price-offer-status-accepted { background:#e5f7eb; color:#176534; }
.zk-price-offer-status-rejected, .zk-price-offer-status-expired { background:#ffeded; color:#a52d2d; }
.zk-price-offer-message { margin:10px 0 0; color:#3f4d62; font-size:13px; line-height:1.65; overflow-wrap:anywhere; }
.zk-price-offer-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:14px; }
.zk-price-offer-actions form { margin:0; }
.zk-price-counter-form { margin-top:14px; padding-top:14px; border-top:1px solid #e2e8f0; }
@media (max-width:600px) {
    .zk-price-offers { padding:17px; border-radius:13px; }
    .zk-price-offers-head { align-items:flex-start; }
    .zk-price-offer-item { padding:13px; }
    .zk-price-offer-actions { display:grid; grid-template-columns:1fr; }
    .zk-price-offer-actions form, .zk-price-offer-actions .zk-price-offer-button { width:100%; }
}
