/**
 * Etapa 42.6 – CSS coverage audit
 * Missing component hooks found during the whole-theme/plugin source audit.
 * Loaded globally on the front end after the shared design layer.
 */

/* Shared narrow content and theme elements */
.narrow-container { width: min(100% - 2rem, 820px); margin-inline: auto; }
.avatar, [class^="avatar-"], [class*=" avatar-"] { display: inline-block; max-width: 100%; height: auto; border-radius: 50%; object-fit: cover; vertical-align: middle; }
.logo-word { display: inline-block; font-weight: 800; letter-spacing: -.035em; }
.archive-description { max-width: 70ch; color: var(--zk-muted, #596579); margin: 0 0 1.5rem; }
.zk-home-hero-copy { min-width: 0; }
.zk-home-categories-title { margin: 0; }
.zk-seo-listings-title { margin: 0 0 1rem; }
.zk-dash-card-title { margin: 0 0 .5rem; font-size: 1rem; line-height: 1.35; }
.zk-account-orders-link { display: inline-flex; align-items: center; gap: .45rem; }
.zk-dashboard-login { max-width: 560px; margin: 2rem auto; padding: 1.25rem; border: 1px solid var(--zk-border, #e2e8f0); border-radius: 1rem; background: var(--zk-surface, #fff); }
.zk-finance-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; }
.zk-admin-review { padding: 1rem; border: 1px solid var(--zk-border, #e2e8f0); border-radius: .75rem; margin-block: .75rem; }

/* Marketplace forms and controls */
.zk-interest-form,
.zk-notification-preferences,
.zk-order-pay-form,
.zk-checkout,
.zk-delivery,
.zk-special-fields { display: grid; gap: 1rem; }
.zk-interest-form,
.zk-notification-preferences { padding: 1rem; border: 1px solid var(--zk-border, #e2e8f0); border-radius: .9rem; background: var(--zk-surface, #fff); }
.zk-interest-form label,
.zk-notification-preferences label,
.zk-special-fields label { display: grid; gap: .4rem; font-weight: 600; }
.zk-interest-form textarea,
.zk-notification-preferences input,
.zk-notification-preferences select,
.zk-special-fields input,
.zk-special-fields select,
.zk-special-fields textarea,
.zk-price-field input,
.zk-price-field select { box-sizing: border-box; width: 100%; max-width: 100%; }
.zk-price-field { display: grid; gap: .4rem; }
.zk-price-label { font-weight: 700; }
.zk-price-help,
.zk-special-fields__note { color: var(--zk-muted, #596579); font-size: .875rem; line-height: 1.55; }
.zk-special-fields__group { display: grid; gap: .75rem; padding: 1rem; border: 1px solid var(--zk-border, #e2e8f0); border-radius: .75rem; }
.zk-auth-notice { padding: .8rem 1rem; border-radius: .6rem; border: 1px solid var(--zk-border, #e2e8f0); }
.zk-auth-notice--error,
.zk-form-notice--error { color: #8b1e1e; background: #fff1f1; border-color: #efb7b7; }
.zk-auth-notice--success,
.zk-form-notice--success { color: #155e36; background: #effaf3; border-color: #a9dfbb; }
.zk-form-notice { padding: .8rem 1rem; border-radius: .6rem; border: 1px solid var(--zk-border, #e2e8f0); }
.zk-mod-action { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.zk-mod-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.zk-order-pay-form { max-width: 720px; }
.zk-delivery { padding: 1rem; border: 1px solid var(--zk-border, #e2e8f0); border-radius: .75rem; }
.zk-product-detail__auction-end { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin-block: .75rem; font-weight: 700; }
.zk-product-detail__extra-image { display: block; width: 100%; height: auto; object-fit: contain; border-radius: .6rem; }

/* Listing/account tables and secondary buttons */
.button-secondary { display: inline-flex; justify-content: center; align-items: center; gap: .4rem; padding: .65rem 1rem; border: 1px solid var(--zk-border, #cbd5e1); border-radius: .65rem; color: var(--zk-text, #172033); background: var(--zk-surface, #fff); font-weight: 700; text-decoration: none; cursor: pointer; }
.button-secondary:hover,
.button-secondary:focus-visible { border-color: var(--zk-accent, #ff6b00); color: var(--zk-text, #172033); }
.zk-checkout :is(input, select, textarea),
.zk-order-pay-form :is(input, select, textarea),
.zk-delivery :is(input, select, textarea) { max-width: 100%; box-sizing: border-box; }
.zk-product-detail__extra-image { max-height: 220px; }

/* WordPress front-end comments */
.comment-list { display: grid; gap: 1rem; padding: 0; list-style: none; }
.comment-list .children { display: grid; gap: .75rem; margin-top: 1rem; list-style: none; }
.comments-title { margin-block: 1.5rem 1rem; }
#comments { scroll-margin-top: 6rem; }
#kontakt, #recenze, #main-content, #site-navigation { scroll-margin-top: 6rem; }

/* Front-end field IDs used by forms. These are styling hooks as well as labels' targets. */
#zk-catalog-category,
#zk-delivery-message,
#zk-first-message,
#zk-interest-message,
#zk-notif-frequency,
#zk-reply,
#zk-report-details,
#zk-report-reason,
#zk-review-item,
#zk-review-text,
#zk-min-price,
#zk-max-price,
#zk-asset-type,
#zk-auction-end,
#zk-product-category,
#zk-product-description,
#zk-product-price,
#zk-product-title,
#zk-transfer-conditions,
#zk-email,
#zk-username,
#zk-website,
#zk-password,
#zk-confirm-password,
#zk-login-password,
#zk-recovery-email,
#zk-new-password,
#zk-password-confirm { max-width: 100%; box-sizing: border-box; }

/* Keep all audited IDs safe for in-page navigation, including fields with generated names. */
[id^="zk-rating-"],
[id^="zk-reason-"],
[id^="zk-verified-"],
[id^="zk-seller-"],
[id^="zk-spec-"] { scroll-margin-top: 5rem; }

@media (max-width: 640px) {
  .narrow-container { width: min(100% - 1.25rem, 820px); }
  .zk-interest-form,
  .zk-notification-preferences,
  .zk-special-fields__group,
  .zk-delivery { padding: .85rem; }
  .zk-mod-actions { align-items: stretch; }
  .zk-mod-actions > * { max-width: 100%; }
}


/* IDs audited from front-end forms, account pages and admin form output. */
#footer-email,
#zk-gw-client,
#zk-gw-environment,
#zk-gw-goid,
#zk-gw-secret,
#zk-home-categories-title,
#zk-login-title,
#zk-password-help,
#zk-rating-,
#zk-reason-,
#zk-recovery-title,
#zk-register-title,
#zk-seo-listings-title,
#zk_asset_type,
#zk_auction_end,
#zk_category_order,
#zk_confirm_password,
#zk_edit_category,
#zk_edit_description,
#zk_edit_price,
#zk_edit_title,
#zk_email,
#zk_identity,
#zk_listing_contact_method,
#zk_login_password,
#zk_login_website,
#zk_marketplace_fee_percent,
#zk_new_password,
#zk_password,
#zk_password_confirm,
#zk_pending_order_lifetime,
#zk_product_attachment,
#zk_product_category,
#zk_product_description,
#zk_product_extra,
#zk_product_image,
#zk_product_price,
#zk_product_title,
#zk_recovery_email,
#zk_recovery_website,
#zk_seo_description,
#zk_seo_title,
#zk_transfer_conditions,
#zk_username,
#zk_website { scroll-margin-top: 5rem; }

/* WordPress admin component hooks are core classes; namespaced here to avoid
   accidentally changing similarly named front-end elements. */
body.wp-admin .wrap { max-width: 100%; }
body.wp-admin .form-field { margin-block: .75rem; }
body.wp-admin .form-table { width: 100%; }
body.wp-admin .form-table th { font-weight: 600; }
body.wp-admin .regular-text,
body.wp-admin .large-text { max-width: 100%; }
body.wp-admin .nav-tab-wrapper { margin-bottom: 1rem; }
body.wp-admin .nav-tab { line-height: 1.4; }
body.wp-admin .notice-error,
body.wp-admin .notice-warning,
body.wp-admin .notice-info,
body.wp-admin .notice-success { border-radius: .25rem; }
body.wp-admin .widefat { width: 100%; }
body.wp-admin .widefat.striped tbody tr:nth-child(odd) { background: #f6f7f7; }
body.wp-admin .is-dismissible { padding-right: 2.5rem; }

/* Etapa 42.7 – sjednocení výchozího vzhledu prvků vykreslovaných šablonou a pluginem.
   Pravidla záměrně cílí i na sémantické HTML bez vlastní CSS třídy. */
:root {
  --zk-control-height: 44px;
  --zk-control-radius: 9px;
  --zk-control-border: #d8e1ee;
  --zk-control-bg: #fff;
  --zk-control-shadow: 0 1px 2px rgba(17,29,56,.03);
}
body :where(main, .site-main, .entry-content, .zk-account-wrap, .zk-account, .zk-dashboard, .zk-my-listings, .zk-public-seller, .zk-messages, .zk-conversations, .zk-interest-dashboard, .zk-interest-box, .zk-catalog, .zk-product, .zk-listing-form, .zk-new-product-form, .zk-product-form, .zk-submission-form, .zk-notifications, .zk-settings, .zk-reviews, .zk-delivery, .zk-orders) {
  min-width: 0;
}
body :where(.entry-content, .site-main, .zk-account-wrap, .zk-account, .zk-dashboard, .zk-my-listings, .zk-public-seller, .zk-messages, .zk-conversations, .zk-interest-dashboard, .zk-interest-box, .zk-catalog, .zk-product, .zk-listing-form, .zk-new-product-form, .zk-product-form, .zk-submission-form, .zk-notifications, .zk-settings, .zk-reviews, .zk-delivery, .zk-orders) :where(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="reset"]), select, textarea) {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: var(--zk-control-height);
  padding: 10px 12px;
  border: 1px solid var(--zk-control-border);
  border-radius: var(--zk-control-radius);
  background: var(--zk-control-bg);
  color: var(--zk-color-ink, #111d38);
  box-shadow: var(--zk-control-shadow);
  font: inherit;
  font-size: 14px;
  line-height: 1.45;
  appearance: auto;
}
body :where(.entry-content, .site-main, .zk-account-wrap, .zk-account, .zk-dashboard, .zk-my-listings, .zk-public-seller, .zk-messages, .zk-conversations, .zk-interest-dashboard, .zk-interest-box, .zk-catalog, .zk-product, .zk-listing-form, .zk-new-product-form, .zk-product-form, .zk-submission-form, .zk-notifications, .zk-settings, .zk-reviews, .zk-delivery, .zk-orders) textarea {
  min-height: 112px;
  resize: vertical;
}
body :where(.entry-content, .site-main, .zk-account-wrap, .zk-account, .zk-dashboard, .zk-my-listings, .zk-public-seller, .zk-messages, .zk-conversations, .zk-interest-dashboard, .zk-interest-box, .zk-catalog, .zk-product, .zk-listing-form, .zk-new-product-form, .zk-product-form, .zk-submission-form, .zk-notifications, .zk-settings, .zk-reviews, .zk-delivery, .zk-orders) input[type="checkbox"],
body :where(.entry-content, .site-main, .zk-account-wrap, .zk-account, .zk-dashboard, .zk-my-listings, .zk-public-seller, .zk-messages, .zk-conversations, .zk-interest-dashboard, .zk-interest-box, .zk-catalog, .zk-product, .zk-listing-form, .zk-new-product-form, .zk-product-form, .zk-submission-form, .zk-notifications, .zk-settings, .zk-reviews, .zk-delivery, .zk-orders) input[type="radio"] {
  width: 17px;
  height: 17px;
  accent-color: var(--zk-color-primary, #1261f5);
  vertical-align: middle;
}
body :where(.entry-content, .site-main, .zk-account-wrap, .zk-account, .zk-dashboard, .zk-my-listings, .zk-public-seller, .zk-messages, .zk-conversations, .zk-interest-dashboard, .zk-interest-box, .zk-catalog, .zk-product, .zk-listing-form, .zk-new-product-form, .zk-product-form, .zk-submission-form, .zk-notifications, .zk-settings, .zk-reviews, .zk-delivery, .zk-orders) label {
  display: block;
  margin: 0 0 7px;
  color: var(--zk-color-ink, #111d38);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
}
body :where(.entry-content, .site-main, .zk-account-wrap, .zk-account, .zk-dashboard, .zk-my-listings, .zk-public-seller, .zk-messages, .zk-conversations, .zk-interest-dashboard, .zk-interest-box, .zk-catalog, .zk-product, .zk-listing-form, .zk-new-product-form, .zk-product-form, .zk-submission-form, .zk-notifications, .zk-settings, .zk-reviews, .zk-delivery, .zk-orders) :where(button, input[type="submit"], input[type="button"], input[type="reset"]) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  max-width: 100%;
  padding: 9px 15px;
  border: 1px solid #d6dfed;
  border-radius: 8px;
  background: #fff;
  color: #23334e;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease;
}
body :where(.entry-content, .site-main, .zk-account-wrap, .zk-account, .zk-dashboard, .zk-my-listings, .zk-public-seller, .zk-messages, .zk-conversations, .zk-interest-dashboard, .zk-interest-box, .zk-catalog, .zk-product, .zk-listing-form, .zk-new-product-form, .zk-product-form, .zk-submission-form, .zk-notifications, .zk-settings, .zk-reviews, .zk-delivery, .zk-orders) :where(button[type="submit"], input[type="submit"], .button-primary, .zk-interest-form button) {
  border-color: var(--zk-color-primary, #1261f5);
  background: var(--zk-color-primary, #1261f5);
  color: #fff;
}
body :where(.entry-content, .site-main, .zk-account-wrap, .zk-account, .zk-dashboard, .zk-my-listings, .zk-public-seller, .zk-messages, .zk-conversations, .zk-interest-dashboard, .zk-interest-box, .zk-catalog, .zk-product, .zk-listing-form, .zk-new-product-form, .zk-product-form, .zk-submission-form, .zk-notifications, .zk-settings, .zk-reviews, .zk-delivery, .zk-orders) :where(button:hover, input[type="submit"]:hover, input[type="button"]:hover, .button:hover) {
  border-color: var(--zk-color-primary-hover, #0753df);
  background-color: var(--zk-color-primary-hover, #0753df);
  color: #fff;
}
body :where(.entry-content, .site-main, .zk-account-wrap, .zk-account, .zk-dashboard, .zk-my-listings, .zk-public-seller, .zk-messages, .zk-conversations, .zk-interest-dashboard, .zk-interest-box, .zk-catalog, .zk-product, .zk-listing-form, .zk-new-product-form, .zk-product-form, .zk-submission-form, .zk-notifications, .zk-settings, .zk-reviews, .zk-delivery, .zk-orders) :where(input, select, textarea):focus-visible {
  border-color: var(--zk-color-primary, #1261f5);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(18,97,245,.15);
}
body :where(.entry-content, .site-main, .zk-account-wrap, .zk-account, .zk-dashboard, .zk-my-listings, .zk-public-seller, .zk-messages, .zk-conversations, .zk-interest-dashboard, .zk-interest-box, .zk-catalog, .zk-product, .zk-listing-form, .zk-new-product-form, .zk-product-form, .zk-submission-form, .zk-notifications, .zk-settings, .zk-reviews, .zk-delivery, .zk-orders) :where(button:disabled, input:disabled, select:disabled, textarea:disabled) {
  opacity: .58;
  cursor: not-allowed;
}
body :where(.entry-content, .site-main, .zk-account-wrap, .zk-account, .zk-dashboard, .zk-my-listings, .zk-public-seller, .zk-messages, .zk-conversations, .zk-interest-dashboard, .zk-interest-box, .zk-catalog, .zk-product, .zk-listing-form, .zk-new-product-form, .zk-product-form, .zk-submission-form, .zk-notifications, .zk-settings, .zk-reviews, .zk-delivery, .zk-orders) :where(table) {
  width: 100%;
  max-width: 100%;
  margin: 16px 0;
  border: 1px solid var(--zk-color-border, #e3e9f2);
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  font-size: 13px;
}
body :where(.entry-content, .site-main, .zk-account-wrap, .zk-account, .zk-dashboard, .zk-my-listings, .zk-public-seller, .zk-messages, .zk-conversations, .zk-interest-dashboard, .zk-interest-box, .zk-catalog, .zk-product, .zk-listing-form, .zk-new-product-form, .zk-product-form, .zk-submission-form, .zk-notifications, .zk-settings, .zk-reviews, .zk-delivery, .zk-orders) :where(th) {
  padding: 12px 14px;
  background: #f4f7fc;
  color: #34445f;
  font-size: 11px;
  font-weight: 800;
  text-align: left;
  white-space: nowrap;
}
body :where(.entry-content, .site-main, .zk-account-wrap, .zk-account, .zk-dashboard, .zk-my-listings, .zk-public-seller, .zk-messages, .zk-conversations, .zk-interest-dashboard, .zk-interest-box, .zk-catalog, .zk-product, .zk-listing-form, .zk-new-product-form, .zk-product-form, .zk-submission-form, .zk-notifications, .zk-settings, .zk-reviews, .zk-delivery, .zk-orders) :where(td) {
  padding: 12px 14px;
  border-top: 1px solid #edf1f6;
  color: #33415b;
  vertical-align: middle;
}
body :where(.entry-content, .site-main, .zk-account-wrap, .zk-account, .zk-dashboard, .zk-my-listings, .zk-public-seller, .zk-messages, .zk-conversations, .zk-interest-dashboard, .zk-interest-box, .zk-catalog, .zk-product, .zk-listing-form, .zk-new-product-form, .zk-product-form, .zk-submission-form, .zk-notifications, .zk-settings, .zk-reviews, .zk-delivery, .zk-orders) :where(tr:nth-child(even) td) { background: #fbfcfe; }
body :where(.entry-content, .site-main, .zk-account-wrap, .zk-account, .zk-dashboard, .zk-my-listings, .zk-public-seller, .zk-messages, .zk-conversations, .zk-interest-dashboard, .zk-interest-box, .zk-catalog, .zk-product, .zk-listing-form, .zk-new-product-form, .zk-product-form, .zk-submission-form, .zk-notifications, .zk-settings, .zk-reviews, .zk-delivery, .zk-orders) :where(details) {
  margin: 12px 0;
  border: 1px solid var(--zk-color-border, #e3e9f2);
  border-radius: 10px;
  background: #fff;
}
body :where(.entry-content, .site-main, .zk-account-wrap, .zk-account, .zk-dashboard, .zk-my-listings, .zk-public-seller, .zk-messages, .zk-conversations, .zk-interest-dashboard, .zk-interest-box, .zk-catalog, .zk-product, .zk-listing-form, .zk-new-product-form, .zk-product-form, .zk-submission-form, .zk-notifications, .zk-settings, .zk-reviews, .zk-delivery, .zk-orders) :where(details > summary) {
  padding: 12px 15px;
  color: #243550;
  font-weight: 750;
  cursor: pointer;
}
body :where(.entry-content, .site-main, .zk-account-wrap, .zk-account, .zk-dashboard, .zk-my-listings, .zk-public-seller, .zk-messages, .zk-conversations, .zk-interest-dashboard, .zk-interest-box, .zk-catalog, .zk-product, .zk-listing-form, .zk-new-product-form, .zk-product-form, .zk-submission-form, .zk-notifications, .zk-settings, .zk-reviews, .zk-delivery, .zk-orders) :where(hr) { border: 0; border-top: 1px solid #e7edf5; margin: 22px 0; }
body :where(.entry-content, .site-main, .zk-account-wrap, .zk-account, .zk-dashboard, .zk-my-listings, .zk-public-seller, .zk-messages, .zk-conversations, .zk-interest-dashboard, .zk-interest-box, .zk-catalog, .zk-product, .zk-listing-form, .zk-new-product-form, .zk-product-form, .zk-submission-form, .zk-notifications, .zk-settings, .zk-reviews, .zk-delivery, .zk-orders) :where(p, li) { overflow-wrap: anywhere; }
@media (max-width: 680px) {
  body :where(.entry-content, .site-main, .zk-account-wrap, .zk-account, .zk-dashboard, .zk-my-listings, .zk-public-seller, .zk-messages, .zk-conversations, .zk-interest-dashboard, .zk-interest-box, .zk-catalog, .zk-product, .zk-listing-form, .zk-new-product-form, .zk-product-form, .zk-submission-form, .zk-notifications, .zk-settings, .zk-reviews, .zk-delivery, .zk-orders) :where(table) { display: block; overflow-x: auto; white-space: nowrap; }
  body :where(.entry-content, .site-main, .zk-account-wrap, .zk-account, .zk-dashboard, .zk-my-listings, .zk-public-seller, .zk-messages, .zk-conversations, .zk-interest-dashboard, .zk-interest-box, .zk-catalog, .zk-product, .zk-listing-form, .zk-new-product-form, .zk-product-form, .zk-submission-form, .zk-notifications, .zk-settings, .zk-reviews, .zk-delivery, .zk-orders) :where(button, input[type="submit"], input[type="button"]) { max-width: 100%; white-space: normal; }
}
