:root{
  --bg:#edf2f8;
  --card:#ffffff;
  --line:#d8e2ef;
  --navy:#10284f;
  --text:#1b2738;
  --muted:#6d7c92;
  --accent:#2f6fff;
  --accent2:#ff9a1f;
  --success:#dff3e1;
}
*{box-sizing:border-box}
body{margin:0;font-family:Arial,sans-serif;background:linear-gradient(180deg,#eef3f9,#e8eef6);color:var(--text)}
a{text-decoration:none;color:var(--accent)}
button{cursor:pointer}
.topbar{display:flex;justify-content:space-between;align-items:center;padding:16px 24px;background:rgba(255,255,255,.9);backdrop-filter:blur(8px);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20}
.brand{font-weight:800;color:var(--accent2);font-size:20px}.brand span{color:var(--navy)}
.topnav{display:flex;gap:10px;flex-wrap:wrap}
.btn-lite,.btn-primary{border:1px solid var(--line);padding:10px 14px;border-radius:12px;display:inline-block;background:white}
.btn-primary{background:linear-gradient(135deg,var(--accent),#5c8dff);color:white;border-color:transparent}
.flash{max-width:1400px;margin:14px auto 0;padding:12px 16px;border-radius:14px}
.flash.success{background:var(--success);border:1px solid #b6d9bb}
.layout,.admin-layout{display:grid;grid-template-columns:290px 1fr;gap:20px;padding:22px;max-width:1480px;margin:0 auto}
.admin-layout{width:100%;max-width:none}
.sidebar .panel,.card,.admin-content,.admin-sidebar{background:var(--card);border:1px solid var(--line);border-radius:20px;box-shadow:0 12px 30px rgba(10,25,55,.04)}
.sidebar .panel,.admin-sidebar,.admin-content,.card{padding:18px}
.hero{background:linear-gradient(135deg,#13326a,#0f1d39);color:white;border-radius:24px;padding:32px;min-height:180px;margin-bottom:20px}
.company-hero{background:linear-gradient(135deg,#13326a,#0f1d39);color:white}
.company-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}
.company-logo-box{min-width:140px;min-height:100px;border-radius:18px;background:rgba(255,255,255,.12);display:flex;align-items:center;justify-content:center;padding:16px}
.listing-card{display:flex;gap:18px;align-items:center;margin-bottom:16px}
.thumb{width:120px;height:90px;border-radius:16px;background:linear-gradient(135deg,#2d4779,#0d1730)}
.footer{text-align:center;padding:24px;color:var(--muted)}
.admin-sidebar details{margin-bottom:10px;border:1px solid var(--line);border-radius:14px;padding:10px;background:#f9fbff}
.admin-sidebar summary{cursor:pointer;font-weight:700}
.admin-sidebar a{display:block;padding:8px 0 0 4px}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.stat-card{background:#f7faff;border:1px solid var(--line);padding:18px;border-radius:18px}
.stat-card span{display:block;color:var(--muted);margin-bottom:6px}
.table{width:100%;border-collapse:collapse;background:white}
.table th,.table td{padding:12px 16px;border-bottom:1px solid var(--line);text-align:left;vertical-align:middle}
.toolbar{display:flex;gap:10px;align-items:center;margin-bottom:14px;flex-wrap:wrap}
.toolbar button,.toolbar select,button,input,textarea,select{border:1px solid var(--line);border-radius:12px;padding:10px 12px;background:white}
.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.form-grid label,label{display:flex;flex-direction:column;gap:6px}
.simple-page{max-width:980px;margin:20px auto;padding:0 20px}
.auth-card{max-width:480px;margin:0 auto}
.actions-row{display:flex;gap:10px;align-items:center;margin-top:10px}
.pill{padding:4px 10px;border-radius:999px;background:#eef3ff}
.save-search-form{margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}
.image-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:16px 0}
.mini-image{padding:10px;border:1px solid var(--line);border-radius:12px;background:#f8fbff;font-size:12px;word-break:break-all}
.tree-list{list-style:none;margin:0;padding-left:14px}
.tree-node{margin:6px 0}
.tree-toggle{border:none;background:transparent;text-align:left;padding:6px 0;font-weight:700;color:#234}
.tree-node>.tree-list{display:none}
.tree-node.open>.tree-list{display:block}
.note{color:var(--muted)}
.page-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}

.footer-links{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-top:8px}

.tree-row{display:flex;align-items:center;gap:8px}
.tree-link{display:inline-block;padding:6px 0}
.thumb-link{display:block}
.card-section{margin-top:16px}

.message-tabs{display:flex;gap:10px;flex-wrap:wrap}
.tab-link{padding:10px 14px;border:1px solid var(--line);border-radius:12px;background:#fff}
.tab-link.active{background:linear-gradient(135deg,var(--accent),#5c8dff);color:#fff;border-color:transparent}

.editor-wrap{margin-top:18px;border:1px solid var(--line);border-radius:18px;overflow:hidden;background:#fff}
.editor-toolbar{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;border-bottom:1px solid var(--line);background:#f7f9fc}
.editor-area{min-height:260px;border-radius:14px}
.note{color:#6b7a90}

.editor-buttons{display:flex;gap:8px;flex-wrap:wrap}
.editor-btn{padding:8px 10px;border:1px solid var(--line);background:#fff;border-radius:10px;cursor:pointer}
.wysiwyg-editor{min-height:260px;border:1px solid var(--line);border-radius:14px;padding:14px;background:#fff;margin:12px 0;outline:none}
.editor-source{display:none}
.wysiwyg-editor h1,.wysiwyg-editor h2,.wysiwyg-editor h3{margin:0 0 12px}
.wysiwyg-editor p{margin:0 0 12px}
.wysiwyg-editor ul{padding-left:22px}

.ck-editor-host{min-height:260px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:8px;margin:12px 0}
.ck.ck-editor__main>.ck-editor__editable{min-height:320px}
.editor-source{display:none}

.editor-status{margin:0 0 16px;padding:12px 14px;border-radius:12px;font-size:14px;display:none}
.editor-status.ok{display:block;background:#eaf7ea;border:1px solid #b8e0b8;color:#225c22}
.editor-status.error{display:block;background:#fff1f1;border:1px solid #e2b5b5;color:#8f2f2f}
.fallback-visible{display:block}
.ck-editor-host{display:none}

.admin-body{background:#eef3f9}
.admin-topbar{display:flex;justify-content:space-between;align-items:center;padding:18px 28px;background:#13294b;color:#fff;border-bottom:1px solid rgba(255,255,255,.08);max-width:calc(100% - (var(--page-gutter) * 2));margin:14px auto 0;border-radius:20px;box-sizing:border-box}
.admin-brand{font-weight:800;font-size:28px}
.admin-brand span{color:#8fb3ff}
.admin-topnav{display:flex;gap:12px;flex-wrap:wrap}
.admin-topnav .btn-lite{background:rgba(255,255,255,.08);color:#fff;border-color:rgba(255,255,255,.12)}
.admin-footer{margin:32px auto 14px;padding:20px 28px;background:#13294b;color:#dfe7ff;display:flex;justify-content:space-between;align-items:center;max-width:calc(100% - (var(--page-gutter) * 2));border-radius:20px;box-sizing:border-box}
.admin-footer a{color:#dfe7ff}

.settings-page{display:flex;flex-direction:column;gap:20px}
.settings-hero{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:28px;border-radius:24px;background:linear-gradient(135deg,#10284f 0%,#204a8a 100%);color:#fff;box-shadow:0 18px 40px rgba(16,40,79,.18)}
.settings-hero h1{margin:6px 0 8px;font-size:32px}
.settings-hero p{margin:0;max-width:760px;color:rgba(255,255,255,.82)}
.eyebrow{font-size:12px;letter-spacing:.12em;text-transform:uppercase;opacity:.7;font-weight:700}
.settings-hero-stats{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:stretch;justify-content:flex-end;gap:12px;min-width:0}
.mini-stat{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.16);border-radius:18px;padding:16px;min-width:112px}
.mini-stat span{display:block;font-size:28px;font-weight:800;margin-bottom:4px}
.mini-stat small{color:rgba(255,255,255,.78)}
.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.settings-card{padding:24px}
.section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:13px}
.section-head h2{margin:6px 0 4px;font-size:24px}
.section-head p{margin:0;color:var(--muted)}
.inline-panel{margin-top:18px;display:flex;gap:10px;align-items:end;flex-wrap:wrap;padding:16px;border:1px solid var(--line);border-radius:18px;background:#f8fbff}
.entity-form{padding:16px;border:1px solid var(--line);border-radius:18px;background:linear-gradient(180deg,#fbfdff,#f4f8fd);margin-bottom:18px}
.compact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.admin-table{table-layout:fixed}
.admin-table thead th{font-size:13px;letter-spacing:.02em;text-transform:uppercase;color:var(--muted);background:#f8fbff}
.admin-table th:nth-child(1){width:110px}
.admin-table th:nth-child(3){width:140px}
.admin-table th:last-child{width:260px}
.admin-table th.action-col,.admin-table td.action-col{text-align:right}
.admin-table th a{color:inherit}
.admin-table tbody tr:hover{background:#fafcff}
.admin-table td{word-break:break-word}
.admin-table td.table-actions{display:table-cell;white-space:nowrap;word-break:normal}
.admin-table td.table-actions a,
.admin-table td.table-actions .inline-form{display:inline-flex;vertical-align:middle;margin:0 14px 0 0}
.admin-table td.table-actions a:last-child,
.admin-table td.table-actions .inline-form:last-child{margin-right:0}
.table-actions{white-space:nowrap}
.inline-form{display:inline-flex;gap:8px;align-items:center;margin:0}
.inline-form button{padding:0;border:none;background:transparent;color:var(--accent);font:inherit}
.inline-form button:hover,.admin-table td.table-actions a:hover{text-decoration:underline}
.status-pill{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;font-size:12px;font-weight:700}
.status-default{background:#e9f2ff;color:#1b52c2}
.checkbox-label{flex-direction:row;align-items:center;gap:10px;padding-top:30px}

.settings-subnav{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:18px}
.settings-subnav a{padding:10px 14px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--text)}
.settings-subnav a.active{background:linear-gradient(135deg,var(--accent),#5c8dff);color:#fff;border-color:transparent}
.settings-menu-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.settings-link-card{display:flex;flex-direction:column;gap:8px;padding:22px;border-radius:22px;background:#fff;border:1px solid var(--line);box-shadow:0 12px 30px rgba(10,25,55,.04);color:var(--text)}
.settings-link-card strong{font-size:20px;color:var(--navy)}
.settings-link-card span{color:var(--muted);line-height:1.5}

.admin-table td.table-actions,.admin-table td.action-col{text-align:right;position:relative;overflow:visible}
.action-menu{position:relative;display:inline-flex;justify-content:flex-end;align-items:flex-start}
.action-trigger{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--text);font-weight:700;cursor:pointer;justify-content:center;min-width:120px;white-space:nowrap;box-shadow:0 6px 18px rgba(16,40,79,.06)}
.action-menu.is-open .action-trigger,.action-menu .action-trigger:focus-visible{background:#f8fbff;border-color:#cfdced}
.action-menu .menu-dot{font-size:18px;line-height:1;color:var(--muted)}
.action-menu-panel{position:absolute;top:calc(100% + 8px);right:0;display:flex;flex-direction:column;align-items:stretch;min-width:220px;padding:8px;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 20px 40px rgba(16,40,79,.16);z-index:200;opacity:0;visibility:hidden;transform:translateY(6px);pointer-events:none;transition:opacity .18s ease, transform .18s ease, visibility .18s ease}
.action-menu.is-open .action-menu-panel{position:fixed;right:auto;opacity:1;visibility:visible;transform:translateY(0);pointer-events:auto;z-index:9999;overflow:auto}
.admin-table td.table-actions .action-menu-panel a,.admin-table td.table-actions .action-menu-panel button{width:100%;display:flex;align-items:center;gap:10px;margin:0;padding:10px 12px;border:none;background:transparent;border-radius:10px;color:var(--text);font:inherit;text-align:left;text-decoration:none;justify-content:flex-start}
.admin-table td.table-actions .action-menu-panel a:last-child,.admin-table td.table-actions .action-menu-panel .inline-form:last-child{margin-right:0}
.admin-table td.table-actions .action-menu-panel a:hover,.admin-table td.table-actions .action-menu-panel button:hover{background:#f4f8ff;color:var(--accent);text-decoration:none}
.action-menu-panel form{display:block;margin:0}
.menu-icon{display:inline-flex;align-items:center;justify-content:center;width:18px;color:var(--muted);font-size:15px;flex:0 0 18px}
.admin-table td.table-actions .action-menu-panel .menu-danger{color:#c73939 !important}
.admin-table td.table-actions .action-menu-panel .menu-danger .menu-icon{color:#c73939}

.ticket-reply-card{padding:16px;margin-bottom:12px;}
.ticket-attachments{margin-top:12px;}
.ticket-attachments ul{margin:8px 0 0 18px;padding:0;}
.ticket-attachments li{margin:4px 0;}

.ticket-dropzone{position:relative;border:2px dashed var(--line);border-radius:18px;padding:22px;background:#fbfdff;cursor:pointer;transition:border-color .18s ease, background .18s ease;}
.ticket-dropzone:hover,.ticket-dropzone.is-dragover{border-color:var(--accent);background:#f4f8ff;}
.ticket-dropzone input[type=file]{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%;}
.ticket-dropzone-label{text-align:center;color:var(--muted);font-weight:600;pointer-events:none;}
.ticket-file-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px;}
.ticket-file-item{padding:6px 10px;border-radius:999px;background:#e9f2ff;color:var(--navy);font-size:12px;font-weight:700;}
.ticket-note-card{background:#fffdf2;border:1px solid #f0e3a6;}

.ticket-filter-form{margin-bottom:18px}
.ticket-filter-grid{align-items:end}
.ticket-create-callout{margin-bottom:18px;padding:18px;border:1px dashed var(--line);background:#f8fbff}
.ticket-create-callout strong{display:block;margin-bottom:6px;color:var(--navy)}

.ticket-status-badge{display:inline-flex;align-items:center;justify-content:center;padding:7px 12px;border-radius:999px;font-size:12px;font-weight:700;white-space:nowrap;min-width:110px}
.ticket-status-open{background:#e8f8ec;color:#1f7a3d}
.ticket-status-in-progress{background:#fff3df;color:#9a5b00}
.ticket-status-closed{background:#eef2f6;color:#5d697d}
.ticket-results-head{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin:8px 0 16px}
.pagination{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:18px}
.pagination a,.pagination span{display:inline-flex;align-items:center;justify-content:center;min-width:42px;padding:9px 12px;border-radius:12px;border:1px solid var(--line);background:#fff;color:var(--text)}
.pagination a.is-active{background:linear-gradient(135deg,var(--accent),#5c8dff);border-color:transparent;color:#fff;font-weight:700}
.pagination-gap{border-style:dashed;color:var(--muted)}
.ticket-filter-form.is-loading{opacity:.72;pointer-events:none}
.ticket-filter-form.is-loading::after{content:'';display:block;height:3px;margin-top:12px;border-radius:999px;background:linear-gradient(90deg,var(--accent),#9bb6ff,var(--accent));background-size:200% 100%;animation:ticket-loading 1.1s linear infinite}
.user-ticket-table th:nth-child(1){width:160px}
.user-ticket-table th:last-child{width:110px}
@keyframes ticket-loading{0%{background-position:200% 0}100%{background-position:-200% 0}}

.stack-lg{display:flex;flex-direction:column;gap:20px}
.email-template-card h2{margin:0 0 6px}
.email-template-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.email-template-grid textarea{min-height:180px;resize:vertical}
.email-template-card code{display:inline-flex;flex-wrap:wrap;gap:6px;padding:4px 8px;border-radius:10px;background:#f4f8ff;color:var(--navy)}
.cache-result-card ul{margin:10px 0 0 18px;padding:0}
.cache-target-list li{margin:6px 0}

.email-template-head{align-items:flex-start;gap:18px}
.email-template-actions{display:flex;gap:10px;flex-wrap:wrap}
.email-template-preview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.email-preview-card{padding:18px;border:1px solid var(--line);border-radius:18px;background:#fbfdff}
.email-preview-card strong{display:block;margin-bottom:12px;color:var(--navy)}
.email-preview-card pre{margin:0;white-space:pre-wrap;word-break:break-word;font:inherit;color:var(--text)}
.email-template-test-box{display:flex;justify-content:space-between;gap:18px;align-items:end;padding:16px 18px;border:1px solid var(--line);border-radius:18px;background:#fff}
.email-template-test-box p{margin:6px 0 0;color:var(--muted)}
.email-template-test-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;align-items:end;flex:1}
.log-details summary{cursor:pointer;color:var(--accent);margin-top:6px}
.log-details pre{margin-top:10px;white-space:pre-wrap;word-break:break-word}
.ticket-status-sent{background:#e8f8ec;color:#1f7a3d}
.ticket-status-failed{background:#ffe5e5;color:#b12f2f}
.ticket-status-queued{background:#eef2f6;color:#5d697d}
.settings-test-panel{display:flex;justify-content:space-between;gap:18px;align-items:end}
.settings-test-panel p{margin:6px 0 0;color:var(--muted)}
.btn-secondary{border:1px solid var(--line);padding:10px 14px;border-radius:12px;display:inline-block;background:#fff;color:var(--text)}

.market-search-shell{max-width:1260px;margin:10px auto 6px;padding:0 8px}
.market-search-bar{display:grid;grid-template-columns:2.1fr 1.2fr .8fr 1fr auto;gap:10px;align-items:center;background:#e2e8f0;border:1px solid #d5dde8;border-radius:14px;padding:10px}
.market-field{display:flex;align-items:center;min-height:46px;background:#fff;border:1px solid #d6dee9;border-radius:10px;overflow:hidden}
.market-field input,.market-field select{width:100%;height:46px;border:none;background:transparent;padding:0 16px;font-size:15px;color:#495569;outline:none;border-radius:10px}
.market-field input::placeholder{color:#6b7280;opacity:1}
.market-field select{-webkit-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");background-position:calc(100% - 14px) center;background-size:12px;background-repeat:no-repeat;padding-right:38px}
.market-search-button{height:46px;padding:0 24px;border:none;border-radius:10px;background:#1d5eff;color:#fff;font-size:16px;font-weight:700}

/* Two-factor challenge: compact card with controls sized to match the header/search UI */
.auth-page--two-factor{
  display:flex;
  align-items:flex-start;
  justify-content:center;
  min-height:auto;
  padding:8px var(--page-gutter) 22px;
}
.auth-card--two-factor{
  width:min(100%,480px);
  margin:0 auto;
  padding:28px;
  border-radius:20px;
  background:rgba(255,255,255,.96);
  border-color:#d8e0ea;
  box-shadow:0 18px 42px rgba(17,42,92,.08);
}
.two-factor-challenge__head{
  display:grid;
  grid-template-columns:64px 1fr;
  gap:18px;
  align-items:center;
  margin-bottom:22px;
}
.two-factor-challenge__icon{
  width:64px;
  height:64px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:18px;
  background:#edf3ff;
  color:#225ee9;
}
.two-factor-challenge__icon svg{
  width:34px;
  height:34px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.auth-card--two-factor h1{
  margin:0 0 8px;
  color:#10284f;
  font-size:clamp(26px,3vw,34px);
  line-height:1.08;
  letter-spacing:-.03em;
}
.auth-card--two-factor p{
  margin:0;
  color:#1b2738;
  line-height:1.45;
}
.two-factor-challenge__form{
  display:grid;
  gap:14px;
}
.two-factor-challenge__form label{
  gap:8px;
  font-weight:700;
  color:#10284f;
}
.two-factor-challenge__form input{
  width:100%;
  height:44px;
  padding:0 14px;
  border-radius:12px;
  border:1px solid #cbd7ea;
  font-size:16px;
  letter-spacing:.18em;
  text-align:center;
  box-shadow:inset 0 1px 0 rgba(15,23,42,.03);
  transition:border-color .18s ease,box-shadow .18s ease;
}
.two-factor-challenge__form input:focus{
  border-color:#225ee9;
  box-shadow:0 0 0 4px rgba(34,94,233,.14);
  outline:0;
}
.two-factor-challenge__button{
  width:100%;
  height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 24px;
  border-radius:12px;
  background:#225ee9;
  color:#fff;
  font-size:15px;
  font-weight:800;
  box-shadow:0 10px 22px rgba(34,94,233,.18);
  transition:transform .18s ease,box-shadow .18s ease,background-color .18s ease;
}
.two-factor-challenge__button:hover{
  background:#174ec7;
  transform:translateY(-1px);
  box-shadow:0 14px 24px rgba(34,94,233,.22);
}

/* Homepage clone */
:root{--page-width:1200px;--page-gutter:14px}
html{overflow-y:auto}
body{background:#e9eef5;color:#1b2435;font-family:Arial,sans-serif;overflow-x:hidden}
.flash,.layout,.simple-page,.site-header-inner,.market-search-shell,.home-layout,.site-footer{max-width:var(--page-width);margin-left:auto;margin-right:auto}
.admin-layout{max-width:none;margin-left:0;margin-right:0}
.flash,.layout,.admin-layout,.simple-page,.site-header-inner,.market-search-shell,.home-layout,.site-footer{padding-left:var(--page-gutter);padding-right:var(--page-gutter)}
.layout{gap:20px;max-width:var(--page-width)}
.admin-layout{gap:20px;max-width:none;width:100%}
.simple-page{max-width:var(--page-width);margin-top:20px;margin-bottom:20px}
.site-header{padding:8px 0 0;background:#e9eef5}
.site-header-inner{padding-top:0;padding-bottom:10px}
.site-header-bar{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:14px 22px;background:rgba(255,255,255,.94);border:1px solid #d8e0ea;border-radius:24px;box-shadow:0 10px 24px rgba(17,42,92,.05)}
.site-header-modern .site-header-bar-modern{display:block;padding:14px 18px 16px;border-radius:24px}
.site-header-toprow{display:flex;align-items:center;justify-content:space-between;gap:18px}
.site-nav-desktop{display:flex;align-items:center;justify-content:space-between;gap:18px;flex:1;min-width:0}
.site-nav-main{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.site-nav-main .site-nav-link{padding:0 18px}
.site-brand{display:flex;flex-direction:column;gap:2px;text-decoration:none;min-width:0}
.site-brand-title{font-size:17px;line-height:1.1;font-weight:800;color:#e89310}
.site-brand-tagline{font-size:13px;color:#66758f}
.site-nav-link{display:inline-flex;align-items:center;justify-content:center;height:42px;padding:0 16px;border-radius:14px;color:#1d2330;font-size:15px;font-weight:600;text-decoration:none;white-space:nowrap;transition:background-color .18s ease,color .18s ease,box-shadow .18s ease}
.site-nav-link:hover{background:#f3f6fb}
.site-nav-link.is-active{background:#edf3ff;color:#255fe8;box-shadow:inset 0 0 0 1px #d6e3ff}
.site-cta-button{display:inline-flex;align-items:center;justify-content:center;height:44px;padding:0 18px;border-radius:14px;background:#225ee9;color:#fff;font-size:15px;font-weight:700;text-decoration:none;box-shadow:0 10px 22px rgba(34,94,233,.18);transition:transform .18s ease,box-shadow .18s ease,background-color .18s ease}
.site-cta-button:hover{transform:translateY(-1px);box-shadow:0 14px 24px rgba(34,94,233,.22)}
.site-cta-button.is-active{background:#174ec7}
.site-icon-button{height:42px;border:1px solid #d1d9e6;background:#fff;border-radius:14px;display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:0 16px;color:#1d2330;font-size:18px;font-weight:400;box-shadow:none;text-decoration:none;position:relative}
.site-icon-button:hover{background:#f7f9fc}
.site-icon-badge{position:absolute;top:-5px;right:-5px;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#ef4444;color:#fff;font-size:11px;font-weight:700;display:inline-flex;align-items:center;justify-content:center}
.account-dropdown{position:relative}
.account-button{display:inline-flex;align-items:center;gap:10px;height:42px;padding:0 16px;border:1px solid #d1d9e6;border-radius:14px;background:#fff;color:#1d2330;font:inherit;font-size:15px;font-weight:700;cursor:pointer}
.account-button:hover{background:#f7f9fc}
.account-button-icon{font-size:16px;line-height:1}
.account-button-caret{font-size:11px;color:#64748b}
.account-menu{position:absolute;top:calc(100% + 12px);right:0;min-width:240px;padding:10px;background:#fff;border:1px solid #d1d9e6;border-radius:20px;box-shadow:0 18px 42px rgba(15,23,42,.12);display:none;z-index:60}
.account-dropdown.is-open .account-menu{display:block}
.account-menu a{display:flex;align-items:center;min-height:40px;padding:0 16px;border-radius:12px;color:#1f2937;text-decoration:none;font-size:15px;font-weight:500}
.account-menu a:hover{background:#f8fafc}
.site-nav-tools-dropdown .account-menu{left:0;right:auto}
.site-nav-tools-dropdown .account-button{height:42px}
.language-switcher{display:flex;align-items:center}
.language-switcher-menu{position:relative;padding:0;border-radius:14px;background:#fff;border:1px solid #d1d9e6;box-shadow:0 1px 2px rgba(15,23,42,.03)}
.language-switcher-trigger{display:inline-flex;align-items:center;gap:8px;height:42px;padding:0 12px;border:0;background:transparent;color:#1f2937;font:inherit;font-weight:700;cursor:pointer;border-radius:14px}
.language-switcher-trigger:hover{background:#f7f9fc}
.language-switcher-trigger:focus-visible{outline:2px solid #0f172a;outline-offset:2px}
.language-switcher-trigger-code,.language-switcher-option-code{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:28px;padding:0 8px;border-radius:999px;background:#f5f7fb;border:1px solid #dde4ee;font-size:12px;letter-spacing:.04em;color:#243246}
.language-switcher-trigger-caret{font-size:11px;color:#64748b}
.language-switcher-dropdown{position:absolute;top:calc(100% + 10px);right:0;min-width:210px;padding:8px;background:#fff;border:1px solid #d1d9e6;border-radius:16px;box-shadow:0 18px 42px rgba(15,23,42,.12);display:none;z-index:60}
.language-switcher-menu.is-open .language-switcher-dropdown{display:block}
.language-switcher-dropdown-title{padding:4px 10px 8px;color:#7a8698;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.language-switcher-dropdown a{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:12px;color:#1f2937;text-decoration:none;font-size:14px;font-weight:600}
.language-switcher-dropdown a:hover{background:#f8fafc}
.language-switcher-dropdown a.is-current{background:#eef4ff;color:#0f172a}
.language-switcher-option-label{white-space:nowrap}
.language-switcher-option-check{margin-left:auto;font-size:14px;font-weight:800;color:#225ee9}
.market-search-shell{margin-top:6px;margin-bottom:28px}
.market-search-bar{display:grid;grid-template-columns:1.55fr .95fr .9fr 1.05fr auto;gap:12px;align-items:center;background:#dfe5ee;border:1px solid #dce2eb;border-radius:18px;padding:12px}
.market-field{background:#fff;border:1px solid #d8e0ea;border-radius:12px;min-height:44px}
.market-field input,.market-field select{height:42px;padding:0 14px;font-size:14px;color:#5c6472}
.market-search-button{height:44px;padding:0 24px;border-radius:12px;background:#225ee9;font-size:15px}
.home-layout{padding-top:0;padding-bottom:48px;display:grid;grid-template-columns:280px 1fr;gap:18px}
.home-sidebar-card{background:#fff;border:1px solid #d7dfeb;border-radius:22px;padding:22px 18px 20px;min-height:228px}
.home-sidebar-card h2{margin:0 0 14px;font-size:14px;line-height:1.2;color:#19243a}
.home-categories{display:flex;flex-direction:column;gap:12px}
.home-categories a{color:#66758f;text-decoration:none;font-size:16px;line-height:1.6}
.home-content{min-width:0}

/* Homepage banner: display below the categories sidebar, matching the category sidebar ad size. */
.home-sidebar > .ad-placement--homepage-hero{
  margin:16px 0 0 !important;
  padding:0 !important;
  width:100%;
}
.home-sidebar > .ad-placement--homepage-hero .ad-banner-card{
  width:100%;
  margin:0 !important;
}
.home-sidebar > .ad-placement--homepage-hero .ad-banner-card img{
  width:100%;
  height:90px;
  max-height:90px;
  object-fit:cover;
}
.home-sidebar > .ad-placement--homepage-hero .ad-banner-card__fallback{
  min-height:90px;
  height:90px;
  padding:12px;
}
.home-hero{height:240px;border-radius:31px;background:#112a5c;padding:28px 30px;color:#fff;margin-bottom:18px}
.home-hero h1{margin:0;font-size:22px;line-height:1.2}
.home-latest h2{margin:0 0 12px;font-size:20px;color:#172033}
.home-latest p{margin:0 0 24px;color:#66758f;font-size:16px}
.home-empty-state{background:#fff;border:1px dashed #d9dfe9;border-radius:24px;min-height:78px;display:flex;align-items:center;justify-content:center;color:#2d3445;font-size:18px}
.home-listings{display:grid;gap:10px}
.home-listing-card{position:relative;display:flex;gap:16px;align-items:center;padding:16px;background:#fff;border:1px solid #d7dfeb;border-radius:20px}
.home-listing-thumb{width:132px;height:98px;border-radius:16px;background:#112a5c;flex:0 0 132px}
.home-listing-body h3{margin:6px 0;font-size:18px}
.home-listing-body h3 a{color:#1c2540;text-decoration:none}
.home-listing-body small{color:#66758f}
.home-listing-price{font-size:18px;font-weight:700;color:#172033}
.site-footer{padding-top:10px;padding-bottom:24px}
.site-footer-modern{padding-top:8px;padding-bottom:32px}
.site-footer-grid{display:grid;grid-template-columns:1.2fr .8fr .8fr .95fr;gap:18px;padding:24px;background:#fff;border:1px solid #d7dfeb;border-radius:24px;box-shadow:0 10px 24px rgba(17,42,92,.05)}
.site-footer-brand-link{display:inline-block;font-size:20px;font-weight:800;color:#172033;text-decoration:none;margin-bottom:10px}
.site-footer-text{margin:0 0 18px;color:#66758f;font-size:15px;line-height:1.6}
.site-footer-cta{display:inline-flex;align-items:center;justify-content:center;height:42px;padding:0 16px;border-radius:14px;background:#225ee9;color:#fff;text-decoration:none;font-weight:700}
.site-footer-column h3{margin:0 0 12px;font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:#66758f}
.site-footer-links{display:flex;justify-content:center;flex-wrap:wrap;gap:18px;margin-bottom:0}
.site-footer-links-column{display:grid;justify-content:flex-start;gap:10px}
.site-footer-links a{color:#1e5ff0;font-size:15px;text-decoration:none}
.site-footer-bottom{padding:16px 6px 0;text-align:center}
.site-footer-copy{color:#66758f;font-size:15px;font-weight:700}

.toast-container{position:fixed;top:20px;right:20px;z-index:9999;display:flex;flex-direction:column;gap:12px;pointer-events:none;max-width:min(420px,calc(100vw - 24px))}
.toast{display:flex;align-items:flex-start;gap:12px;padding:14px 16px;border-radius:16px;color:#fff;box-shadow:0 18px 38px rgba(15,23,42,.18);backdrop-filter:blur(8px);pointer-events:auto;animation:toastSlideIn .22s ease-out;transform-origin:top right}
.toast.is-leaving{animation:toastSlideOut .18s ease-in forwards}
.toast-success{background:linear-gradient(135deg,#16a34a,#22c55e)}
.toast-error{background:linear-gradient(135deg,#dc2626,#ef4444)}
.toast-message{flex:1;font-size:14px;line-height:1.45;font-weight:600}
.toast-close{border:0;background:transparent;color:inherit;font-size:22px;line-height:1;cursor:pointer;padding:0 0 0 4px;opacity:.88}
.toast-close:hover{opacity:1}
@keyframes toastSlideIn{from{opacity:0;transform:translate3d(24px,-6px,0) scale(.98)}to{opacity:1;transform:translate3d(0,0,0) scale(1)}}
@keyframes toastSlideOut{from{opacity:1;transform:translate3d(0,0,0) scale(1)}to{opacity:0;transform:translate3d(24px,-6px,0) scale(.98)}}

/* language management */
.language-shell{display:grid;grid-template-columns:minmax(360px,660px) minmax(420px,1fr);gap:18px;align-items:start}
.language-panel{border:1px solid var(--line);border-radius:24px;background:linear-gradient(180deg,#ffffff,#f8fbff);padding:22px;box-shadow:0 18px 44px rgba(10,25,55,.06)}
.language-panel__header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:18px}
.language-panel__header h1,.language-panel__header h2{margin:0 0 8px;color:var(--navy)}
.language-panel__header p{margin:0;color:var(--muted);line-height:1.5}
.language-stats-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:18px}
.language-stat-card{padding:18px;border:1px solid #d9e4f2;border-radius:18px;background:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.9)}
.language-stat-card__label{display:block;margin-bottom:10px;color:var(--muted);font-size:.92rem}
.language-stat-card strong{font-size:1.8rem;color:var(--navy);line-height:1.1}
.language-form-card{padding:18px;border:1px solid #d9e4f2;border-radius:20px;background:#fff}
.language-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.language-form-grid label span,.language-editor-form label span{font-weight:700;color:#1f3657}
.language-toggle-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}
.language-toggle-card{display:flex;align-items:flex-start;gap:12px;padding:18px;border:1px solid #d9e4f2;border-radius:18px;background:#f8fbff}
.language-toggle-card input{margin-top:4px}
.language-toggle-card strong{display:block;color:var(--navy)}
.language-toggle-card small{display:block;margin-top:5px;color:var(--muted);line-height:1.45}
.language-toggle-card--info{background:linear-gradient(180deg,#f9fbff,#eef5ff)}
.language-form-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}
.language-table-wrap,.language-text-table-wrap{border:1px solid #d9e4f2;border-radius:20px;background:#fff;overflow:visible}
.language-table th:nth-child(1){width:130px}
.language-table th:nth-child(3){width:150px}
.language-code-badge{display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;border-radius:999px;background:#eef4ff;color:#2457c5;font-weight:800;letter-spacing:.02em}
.language-inline-meta{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:10px}
.language-inline-order{display:inline-flex;align-items:center;padding:6px 10px;border-radius:10px;background:#f4f7fb;color:#475467;font-size:12px;font-weight:700}
.status-active{background:#e8f8ec;color:#1f7a3d}
.status-muted{background:#eef2f6;color:#667085}
.language-name-cell strong{display:block;font-size:1rem;color:#13294b}
.language-texts-card{display:flex;flex-direction:column;gap:18px}
.language-texts-topbar{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}
.language-texts-topbar h1{margin:0 0 8px;color:var(--navy)}
.language-texts-topbar p{margin:0;color:var(--muted)}
.language-progress-card{padding:18px;border:1px solid #d9e4f2;border-radius:24px;background:linear-gradient(180deg,#ffffff,#f8fbff)}
.language-progress-card__head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}
.language-progress-card__head h2{margin:0 0 6px;color:var(--navy)}
.language-progress-card__head p{margin:0;color:var(--muted)}
.language-progress-card__meta{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:flex-end}
.progress-meta{font-weight:700}
.progress-meta.success{color:#1f7a3d}
.progress-meta.danger{color:#c73939}
.language-progress-bar{height:14px;border-radius:999px;background:#dbe8da;overflow:hidden;margin-top:16px}
.language-progress-bar span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#1da44a,#23c65d)}
.language-texts-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(340px,.8fr);gap:18px;align-items:start}
.language-texts-list-panel,.language-editor-panel{padding:16px;border:1px solid #d9e4f2;border-radius:24px;background:#fff}
.language-search-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center}
.language-filter-row{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}
.filter-chip{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border:1px solid #c9d9ee;border-radius:14px;background:#f8fbff;color:#16335d;font-weight:700}
.filter-chip.is-active{background:#143f72;border-color:#143f72;color:#fff}
.language-results-count{margin:0 0 14px;color:var(--muted)}
.language-text-table th:nth-child(1){width:38%}
.language-text-table th:nth-child(2){width:42%}
.language-text-table tbody tr.is-translated td:first-child{box-shadow:inset 4px 0 0 #1da44a}
.language-text-state{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;font-size:12px;font-weight:700;margin-top:10px}
.language-text-state.is-ok{background:#e8f8ec;color:#1f7a3d}
.language-text-state.is-pending{background:#fff3df;color:#9a5b00}
.source-copy,.translated-copy{color:#13294b;line-height:1.55}
.language-editor-panel__header h2{margin:0 0 8px;color:var(--navy)}
.language-editor-panel__header p{margin:0 0 18px;color:var(--muted);line-height:1.5}
.language-editor-form{display:flex;flex-direction:column;gap:16px}
.language-editor-form textarea{min-height:160px;resize:vertical}
.language-pagination{display:flex;justify-content:space-between;gap:10px;align-items:center;flex-wrap:wrap;margin-top:18px}
.language-pagination__pages{display:flex;gap:8px;flex-wrap:wrap}
.page-pill{display:inline-flex;align-items:center;justify-content:center;min-width:44px;padding:10px 14px;border-radius:12px;background:#143f72;color:#fff;font-weight:700}
.page-pill.is-active{box-shadow:0 10px 24px rgba(20,63,114,.22)}
.language-pagination__goto{display:flex;gap:10px;align-items:end;flex-wrap:wrap}
.language-pagination__goto label{display:flex;flex-direction:row;align-items:center;gap:8px;color:var(--muted)}
.language-pagination__goto input{width:88px}

.maintenance-body{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:32px;background:radial-gradient(circle at top,#1d4f95 0%,#10284f 45%,#0b1b36 100%);color:#fff}
.maintenance-shell{width:min(100%,960px)}
.maintenance-card{background:rgba(10,24,48,.72);border:1px solid rgba(255,255,255,.14);box-shadow:0 30px 70px rgba(0,0,0,.25);backdrop-filter:blur(12px);border-radius:28px;padding:40px;display:flex;flex-direction:column;gap:22px}
.maintenance-badge{align-self:flex-start;padding:9px 14px;border-radius:999px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.maintenance-card h1{margin:0;font-size:clamp(34px,5vw,56px);line-height:1.02}
.maintenance-copy{margin:0;font-size:18px;line-height:1.7;color:rgba(255,255,255,.82)}
.maintenance-countdown-card{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:20px 22px;border-radius:22px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14)}
.maintenance-countdown-card strong,.maintenance-countdown-card span{display:block}
.maintenance-countdown-card strong{font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:rgba(255,255,255,.64);margin-bottom:8px}
.maintenance-countdown-card span{font-size:20px;font-weight:700}
.maintenance-meta{display:flex;gap:16px;flex-wrap:wrap;color:rgba(255,255,255,.72);font-size:14px}

.create-listing-page{max-width:var(--page-width)}
.listing-create-card{background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 14px 36px rgba(15,31,61,.06);padding:18px}
.listing-category-shell{overflow:hidden}
.listing-category-header{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:8px 0 16px}
.listing-category-header h2{margin:0;font-size:18px;color:var(--navy)}
.listing-category-selected-pill{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border:1px solid #dbe3ef;border-radius:999px;background:#f8fafc;color:var(--text);font-size:14px}
.listing-category-selected-pill strong{color:var(--navy)}
.listing-create-card{background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 14px 36px rgba(15,31,61,.06);padding:18px}
.listing-form-header{margin-bottom:18px}
.listing-form-header h1{margin:0 0 6px;font-size:30px}
.listing-form-header p{margin:0;color:var(--muted)}
.listing-form-section{border:1px solid var(--line);border-radius:16px;padding:16px;margin-bottom:16px;background:#fcfdff}
.listing-form-section h2{margin:0 0 6px;font-size:18px}
.listing-form-stack{display:flex;flex-direction:column;gap:10px}
.field-label{display:block;margin-bottom:8px;font-weight:700}
.category-picker{display:flex;flex-direction:column;gap:10px;border:1px solid var(--line);border-radius:16px;padding:14px;background:linear-gradient(180deg,#fbfdff 0%,#f4f8ff 100%)}
.category-picker-native{position:absolute;left:-9999px;width:1px;height:1px;opacity:0;pointer-events:none}
.category-picker-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;flex-wrap:wrap}
.category-picker-title{margin:0;font-weight:700;color:var(--navy)}
.category-picker-selected{display:inline-flex;align-items:center;gap:6px;padding:8px 12px;border-radius:999px;background:#fff;border:1px solid #dbe6f4;color:var(--text);font-size:14px}
.category-picker-selected strong{color:var(--navy)}
.category-tile-grid,.subcategory-tile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.category-tile,.subcategory-tile{position:relative;display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;padding:14px 16px;border:1px solid #c9d8ec;border-radius:14px;background:#fff;color:var(--text);font-weight:700;text-align:left;cursor:pointer;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}
.category-tile:hover,.subcategory-tile:hover{border-color:#6e97d6;box-shadow:0 10px 24px rgba(29,94,255,.08);transform:translateY(-1px)}
.category-tile.is-active,.subcategory-tile.is-active{border-color:#1d5eff;background:#edf3ff;box-shadow:0 14px 28px rgba(29,94,255,.14);color:#123a7a}
.category-tile-label{display:block;line-height:1.35}
.category-tile-check{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:999px;background:#e8eef8;color:transparent;flex:0 0 24px}
.category-tile.is-active .category-tile-check,.subcategory-tile.is-active .category-tile-check{background:#1d5eff;color:#fff}
.subcategory-panel{display:none;padding:14px;border-radius:16px;background:#fff;border:1px solid #dbe6f4}
.subcategory-panel.is-active{display:block}
.subcategory-panel-title{margin:0 0 12px;font-weight:700;color:var(--navy)}
.toggle-pill-group{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0 16px}
.toggle-pill{position:relative}
.toggle-pill input{position:absolute;opacity:0;pointer-events:none}
.toggle-pill span{display:inline-flex;align-items:center;justify-content:center;padding:11px 16px;border:1px solid var(--line);border-radius:999px;background:#fff;font-weight:700;color:var(--text)}
.toggle-pill input:checked + span{background:#1d5eff;color:#fff;border-color:#1d5eff}
.listing-price-row{grid-template-columns:1.1fr .9fr .9fr;align-items:end}
.listing-price-input{display:flex;align-items:center;border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden}
.listing-price-input input{border:none;flex:1;padding:10px 12px}
.listing-price-input span{padding:0 12px;color:var(--muted);white-space:nowrap}
.image-upload-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.upload-box{display:flex;flex-direction:column;gap:10px;border:2px dashed #d7e0ec;border-radius:14px;padding:14px;background:#fff}
.upload-box-title{font-weight:700}
.listing-publish-panel{margin-top:18px;padding-top:2px}
.listing-publish-panel__header{padding-bottom:12px;border-bottom:1px solid #d7dbe2}
.listing-publish-panel__header h2{margin:0;font-size:20px;line-height:1.25;font-weight:800;color:#172033}
.listing-publish-panel__text{margin:12px 0 0;font-size:14px;line-height:1.55;color:#5d677a;max-width:820px}
.listing-publish-panel__text a{color:#6d8600;font-weight:600;text-decoration:underline}
.listing-publish-panel__text a:hover{text-decoration:underline}
.listing-form-actions{display:flex;justify-content:flex-start;align-items:center;gap:10px;flex-wrap:wrap;margin-top:20px}
.listing-form-actions--publish{margin-top:14px;gap:8px}
.listing-publish-action{min-height:36px;padding:0 16px;border-radius:8px;border-width:1px;font-size:14px;font-weight:700;box-shadow:none}
.listing-publish-action.btn-secondary{background:#f7f7f7;border-color:#c6ccd6;color:#1f2937}
.listing-publish-action.btn-secondary:hover{background:#efefef}
.listing-publish-action--primary.btn-primary{background:#a7d52c;border-color:#a7d52c;color:#1d2a00}
.listing-publish-action--primary.btn-primary:hover{background:#9cca27}
.listing-detail-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}
.listing-price-box{display:flex;flex-direction:column;align-items:flex-end;padding:14px 16px;border-radius:16px;background:#f4f8ff;min-width:180px}
.listing-price-box strong{font-size:28px;color:var(--navy)}
.listing-price-box span{color:var(--muted);font-weight:700}
.listing-meta-pills{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0 18px}
.listing-card-rich{align-items:flex-start;padding:10px 0;border-bottom:1px solid var(--line)}
.listing-card-rich:last-child{border-bottom:none}
.listing-card-meta{display:flex;gap:10px;flex-wrap:wrap;margin-top:8px;color:var(--muted);font-size:14px}

.category-select-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid #cfd9e5;border-radius:16px;background:#f6f8fb;color:var(--text);text-decoration:none;font-weight:700;transition:border-color .18s ease,box-shadow .18s ease}
.category-select-row:hover{border-color:#7ea0dd;box-shadow:0 10px 24px rgba(29,94,255,.08)}
.category-select-value{color:var(--navy)}
.category-select-action{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border-radius:12px;background:#edf3ff;color:#1d5eff;white-space:nowrap}
.upload-preview-box input[type=file]{font-size:14px}
.upload-box-note{color:var(--muted);font-size:14px}
.upload-preview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.upload-preview-grid-single{grid-template-columns:1fr}
.upload-preview-item{position:relative;overflow:hidden;border-radius:14px;border:1px solid #dbe6f4;background:#f6f8fb;aspect-ratio:1/1}
.upload-preview-item img{width:100%;height:100%;object-fit:cover;display:block}
.image-grid .mini-image img{width:100%;height:100%;object-fit:cover;border-radius:12px}
.listing-category-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.listing-category-main,.listing-category-option{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 20px;border:1.5px solid #cfd9e5;border-radius:16px;background:#fff;color:var(--navy);text-decoration:none;font-weight:700;cursor:pointer;transition:border-color .22s ease,box-shadow .22s ease,transform .22s ease,background-color .22s ease}
.listing-category-main:hover,.listing-category-option:hover{border-color:#7ea0dd;box-shadow:0 10px 24px rgba(29,94,255,.08);transform:translateY(-1px)}
.listing-category-main.is-active,.listing-category-option.is-active{border-color:#1d5eff;background:#edf3ff;box-shadow:0 14px 28px rgba(29,94,255,.14)}
.listing-category-main-copy{display:inline-flex;align-items:center;gap:0;min-width:0}
.listing-category-check{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:999px;background:#e7edf6;color:transparent;flex:0 0 26px;transition:background-color .22s ease,color .22s ease,transform .22s ease}
.listing-category-main.is-active .listing-category-check,.listing-category-option.is-active .listing-category-check{background:#1d5eff;color:#fff;transform:scale(1.02)}
.listing-category-children{display:block;max-height:0;opacity:0;overflow:hidden;transform:translateY(-8px);transition:max-height .32s ease,opacity .24s ease,transform .24s ease,margin-top .24s ease,padding .24s ease,border-color .24s ease;background:#f8fbff;margin-top:0;padding:0 14px;border-radius:18px;border:1px solid transparent}
.listing-category-children.is-open{max-height:none;opacity:1;overflow:visible;transform:translateY(0);margin-top:16px;padding:14px;border-color:#dbe6f4}
.listing-category-children h3{margin:0 0 12px;font-size:17px;color:var(--navy)}
.listing-category-children-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}

.checkbox-line{display:inline-flex;flex-direction:row;align-items:center;gap:10px;font-weight:600;margin-top:6px;width:max-content}
.checkbox-line input{width:18px;height:18px;margin:0;flex:0 0 auto}
.listing-price-input input.is-disabled{background:#f3f6fb;color:#7b879b;cursor:not-allowed}

.image-remove-btn{position:absolute;top:10px;right:10px;width:32px;height:32px;border:none;border-radius:999px;background:#40485a;color:#fff;font-size:22px;line-height:1;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 8px 18px rgba(26,34,51,.18)}
.image-remove-btn:hover{background:#273042}
.manage-image-item{position:relative;overflow:hidden;border-radius:14px;border:1px solid #dbe6f4;background:#f6f8fb;aspect-ratio:1/1}
.image-grid-manage{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:12px}
.existing-images-head{margin-top:14px;font-weight:700;color:var(--navy)}
.listing-contact-stack{display:grid;gap:12px}
.listing-contact-stack label{display:flex;flex-direction:column;gap:8px}
.home-listing-thumb{overflow:hidden;display:flex;align-items:center;justify-content:center}
.home-listing-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.home-listing-thumb-placeholder{display:block;width:100%;height:100%;background:#112a5c}
.thumb{overflow:hidden;display:flex;align-items:center;justify-content:center}
.thumb img{width:100%;height:100%;object-fit:cover;display:block;border-radius:16px}
.listing-image-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.listing-photo-card{padding:0;overflow:hidden;aspect-ratio:1/1;background:#f6f8fb}
.listing-photo-card img{width:100%;height:100%;object-fit:cover;display:block}
.no-image-state{display:flex;align-items:center;justify-content:center;min-height:140px;color:var(--muted)}

[hidden]{display:none !important}

/* registration */
.auth-card--register{max-width:var(--page-width);padding:28px;border-radius:28px;background:linear-gradient(180deg,#ffffff,#f8fbff);border:1px solid #d7dfeb;box-shadow:0 18px 44px rgba(17,42,92,.06)}
.auth-register__intro{display:flex;justify-content:space-between;gap:20px;align-items:flex-end;margin-bottom:24px;padding-bottom:18px;border-bottom:1px solid #e6edf6}
.auth-register__eyebrow{margin:0 0 6px;color:#245fe9;font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.auth-register__intro h1{margin:0;font-size:clamp(28px,4vw,40px);line-height:1.05;color:#13294b}
.auth-register-form{display:flex;flex-direction:column;gap:22px}.auth-register-alert{margin:0 0 22px;padding:16px 18px;border:1px solid #fecaca;border-radius:18px;background:#fff1f2;color:#7f1d1d}.auth-register-alert strong{display:block;margin-bottom:8px;font-size:15px}.auth-register-alert ul{margin:0;padding-left:20px}.auth-register-alert li{margin:4px 0}
.auth-register-section{display:flex;flex-direction:column;gap:10px;padding:18px;border:1px solid #e3eaf4;border-radius:22px;background:#fff}
.auth-register-section__head h2{margin:0;font-size:18px;color:#172033}
.account-type-switch{display:inline-grid;grid-template-columns:repeat(2,minmax(0,190px));gap:12px;max-width:420px}
.account-type-option{position:relative;display:flex;align-items:center;justify-content:center;min-height:56px;padding:0 20px;border:1px solid #d4deec;border-radius:18px;background:#f8fbff;color:#334155;font-size:16px;font-weight:800;cursor:pointer;transition:all .18s ease}
.account-type-option input{position:absolute;inset:0;opacity:0;cursor:pointer}
.account-type-option.is-active{background:#13294b;border-color:#13294b;color:#fff;box-shadow:0 14px 28px rgba(19,41,75,.18)}
.auth-register-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 18px}
.auth-register-grid label,.auth-register-check{display:flex;flex-direction:column;gap:8px}
.auth-register-grid label span,.auth-register-check span{font-size:14px;font-weight:700;color:#23324a}
.auth-register-grid input,.auth-register-grid select{width:100%;min-height:54px;padding:0 16px;border:1px solid #d4deec;border-radius:16px;background:#f8fbff;color:#1f2937;font-size:15px;outline:none;transition:border-color .18s ease,box-shadow .18s ease,background-color .18s ease}
.auth-register-grid input:focus,.auth-register-grid select:focus{border-color:#245fe9;box-shadow:0 0 0 4px rgba(36,95,233,.10);background:#fff}
.auth-register-grid__spacer{display:block}
.auth-register-check{flex-direction:row;align-items:flex-start;gap:12px;padding:4px 2px}
.auth-register-check input{margin-top:3px}
.auth-register-actions{display:flex;justify-content:flex-start;padding-top:4px}
.auth-register-actions .btn-primary{min-width:170px;min-height:52px;border-radius:16px;background:#16a34a;border:1px solid #16a34a;color:#fff;font-size:16px;font-weight:800;box-shadow:0 14px 28px rgba(22,163,74,.18)}
.auth-register-actions .btn-primary:hover{background:#15803d}

/* account page */
.account-page-shell{padding-top:0;padding-bottom:42px}
.account-page-stack{display:flex;flex-direction:column;gap:18px}
.account-page-header{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;padding:26px 28px;border-radius:28px;background:linear-gradient(135deg,#10284f 0%,#204a8a 100%);color:#fff;box-shadow:0 18px 40px rgba(16,40,79,.16)}
.account-page-header__eyebrow{margin:0 0 8px;font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:rgba(255,255,255,.72)}
.account-page-header h1{margin:0 0 10px;font-size:clamp(30px,4vw,40px);line-height:1.04;color:#fff}
.account-page-header p{margin:0;max-width:760px;color:rgba(255,255,255,.84);font-size:15px;line-height:1.6}
.account-page-header__meta{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.account-badge{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 14px;border-radius:999px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);font-size:14px;font-weight:700;color:#fff}
.account-badge.is-success{background:rgba(34,197,94,.18);border-color:rgba(134,239,172,.35)}
.account-section-card{padding:0;overflow:hidden}
.account-section-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:24px 24px 18px;border-bottom:1px solid #e6edf6}
.account-section-head h2{margin:0 0 8px;font-size:29px;line-height:1.1;color:#172033}
.account-section-head p{margin:0;color:#66758f;line-height:1.5}
.account-setting-list{padding:6px 20px 12px}
.account-setting-row{display:grid;grid-template-columns:minmax(180px,220px) 1fr auto;gap:18px;align-items:center;padding:18px 4px;border-bottom:1px solid #e8eef6}
.account-setting-row:last-child{border-bottom:none}
.account-setting-row--activity{align-items:start}
.account-setting-label{display:block;font-size:15px;font-weight:800;color:#1d2a3d}
.account-setting-value{font-size:15px;font-weight:600;color:#374151;word-break:break-word}
.account-setting-note{display:flex;flex-direction:column;gap:6px;color:#374151;font-size:15px;font-weight:600}
.account-setting-note small{font-size:13px;font-weight:500;color:#66758f}
.account-inline-action{min-width:104px;height:42px;border-radius:12px;font-weight:700;color:#245fe9;background:#f3f7ff;border-color:#d8e4ff}
.account-inline-action:hover{background:#e9f0ff}
.account-inline-placeholder{display:block;width:104px}
.account-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 18px;padding:24px}
.account-form-grid label,.account-modal__form label{display:flex;flex-direction:column;gap:8px}
.account-form-grid label span,.account-modal__form label span{font-size:14px;font-weight:700;color:#23324a}
.account-form-grid input,.account-form-grid select,.account-modal__form input{width:100%;min-height:54px;padding:0 16px;border:1px solid #d4deec;border-radius:16px;background:#f8fbff;color:#1f2937;font-size:15px;outline:none;transition:border-color .18s ease,box-shadow .18s ease,background-color .18s ease}
.account-form-grid input:focus,.account-form-grid select:focus,.account-modal__form input:focus{border-color:#245fe9;box-shadow:0 0 0 4px rgba(36,95,233,.10);background:#fff}
.account-business-fields{grid-column:1 / -1}
.account-form-grid--nested{padding:0}
.account-form-actions{grid-column:1 / -1;display:flex;justify-content:flex-start;padding-top:4px}
.btn-primary--success{min-width:186px;min-height:52px;border-radius:16px;background:#16a34a;border-color:#16a34a;box-shadow:0 14px 28px rgba(22,163,74,.18)}
.btn-primary--success:hover{background:#15803d}
.account-preferences-form{padding:6px 24px 24px}
.account-preference-row{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:18px 0;border-bottom:1px solid #e8eef6}
.account-preference-row:last-of-type{border-bottom:none}
.account-preference-row strong{display:block;font-size:17px;color:#172033}
.account-preference-row p{margin:6px 0 0;color:#66758f;line-height:1.5}
.account-newsletter-box{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px;border-radius:22px;border:1px solid #dbe3ef;background:linear-gradient(135deg,#f7fbff 0%,#eef5ff 100%);margin-bottom:18px}.account-newsletter-box__eyebrow{margin:0 0 6px;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#245fe9}.account-newsletter-box strong{display:block;font-size:18px;color:#172033}.account-newsletter-box p{margin:8px 0 0;color:#66758f;line-height:1.5}
.account-switch{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-width:78px}
.account-switch input[type="hidden"]{display:none}
.account-switch input[type="checkbox"]{position:absolute;opacity:0;pointer-events:none}
.account-switch span{position:relative;display:block;width:68px;height:38px;border-radius:999px;background:linear-gradient(180deg,#dfe6ef 0%,#cfd8e3 100%);border:1px solid #c5cfdb;box-shadow:inset 0 2px 4px rgba(15,23,42,.08);transition:background-color .18s ease,box-shadow .18s ease,border-color .18s ease}
.account-switch span::before{content:attr(data-off-label);position:absolute;left:12px;top:50%;transform:translateY(-50%);font-size:11px;font-weight:800;letter-spacing:.03em;text-transform:uppercase;color:#6b7280;transition:opacity .18s ease}
.account-switch span::after{content:"";position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50%;background:linear-gradient(180deg,#fff 0%,#f6f8fb 100%);box-shadow:0 6px 14px rgba(15,23,42,.18);transition:transform .18s ease}
.account-switch input[type="checkbox"]:checked + span{background:linear-gradient(180deg,#27b05f 0%,#168647 100%);border-color:#15753f;box-shadow:0 0 0 6px rgba(31,157,76,.12), inset 0 1px 2px rgba(255,255,255,.18)}
.account-switch input[type="checkbox"]:checked + span::before{content:attr(data-on-label);left:auto;right:13px;color:#fff}
.account-switch input[type="checkbox"]:checked + span::after{transform:translateX(30px)}
.account-switch input[type="checkbox"]:focus-visible + span{outline:0;box-shadow:0 0 0 4px rgba(37,99,235,.18)}
.account-switch--card span{box-shadow:0 0 0 6px rgba(31,157,76,.08)}
.account-modal{position:fixed;inset:0;display:grid;place-items:center;padding:20px;z-index:120}
.account-modal[hidden]{display:none}
.account-modal__backdrop{position:absolute;inset:0;background:rgba(17,24,39,.36);backdrop-filter:blur(2px)}
.account-modal__dialog{position:relative;z-index:1;width:min(100%,460px)}
.account-modal__form{display:flex;flex-direction:column;gap:10px;padding:22px;border-radius:22px;background:#fff;border:1px solid #d8e0ea;box-shadow:0 24px 50px rgba(15,23,42,.18)}
.account-modal__head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}
.account-modal__head h3{margin:0;font-size:24px;line-height:1.1;color:#172033}
.account-modal__close{width:36px;height:36px;padding:0;border:none;border-radius:50%;background:#f3f5f8;color:#4b5563;font-size:24px;line-height:1}
.account-modal__close:hover{background:#e8edf4}
body.account-modal-open{overflow:hidden}

.account-layout{
  display:grid;
  grid-template-columns:280px minmax(0,1fr);
  gap:24px;
  max-width:var(--page-width);
  margin:20px auto 32px;
  padding-left:var(--page-gutter);
  padding-right:var(--page-gutter);
  align-items:start;
}
.account-main{
  min-width:0;
}
.account-page-shell{
  max-width:none;
  margin:0;
  padding:0;
}
.account-sidebar{
  position:sticky;
  top:108px;
  padding:18px;
  border-radius:28px;
  background:linear-gradient(180deg,#ffffff 0%,#f7faff 100%);
}
.account-sidebar__header{
  padding:4px 4px 0;
  border-bottom:1px solid #e6edf6;
  margin-bottom:8px;
}
.account-sidebar__eyebrow{
  margin:0 0 8px;
  font-size:12px;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-weight:800;
  color:#6f7f96;
}
.account-sidebar__header h2{
  margin:0;
  padding-bottom:6px;
  font-size:24px;
  line-height:1.15;
  color:#162033;
}
.account-sidebar__nav{
  display:flex;
  flex-direction:column;
  gap:8px;
}
.account-sidebar__link{
  display:flex;
  align-items:center;
  min-height:48px;
  padding:0 14px;
  border-radius:16px;
  color:#223049;
  font-weight:700;
  border:1px solid transparent;
  transition:background-color .18s ease,color .18s ease,border-color .18s ease,transform .18s ease,box-shadow .18s ease;
}
.account-sidebar__link:hover{
  background:#f4f7fc;
  border-color:#e0e8f3;
  transform:translateX(1px);
}
.account-sidebar__link.is-active{
  background:linear-gradient(135deg,#edf3ff 0%,#f5f8ff 100%);
  color:#255fe8;
  border-color:#d9e4ff;
  box-shadow:inset 0 0 0 1px rgba(37,95,232,.04);
}

.admin-language-switcher{margin-left:auto;background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.18)}
.admin-language-form{margin:0}
.admin-language-button{appearance:none;border:0;background:transparent;color:#fff;padding:10px 2px;font:inherit;cursor:pointer;text-decoration:none}
.admin-language-button.is-current{color:#1d2330}

.language-tabs{display:flex;flex-direction:column;gap:16px;margin:18px 0}
.language-tabs-nav{display:flex;flex-wrap:wrap;gap:10px;padding:6px;border:1px solid #d7dde7;border-radius:18px;background:#f3f5f8;box-shadow:inset 0 1px 0 rgba(255,255,255,.75)}
.language-tab-button{appearance:none;display:inline-flex;align-items:center;gap:10px;min-height:52px;padding:10px 16px;border:1px solid transparent;border-radius:14px;background:transparent;color:#4b5563;font-weight:700;line-height:1.2;cursor:pointer;transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease,color .18s ease,transform .18s ease}
.language-tab-button:hover{background:rgba(255,255,255,.72);border-color:#d7dde7;color:#111827;transform:translateY(-1px)}
.language-tab-button:focus-visible{outline:none;border-color:#94a3b8;box-shadow:0 0 0 3px rgba(148,163,184,.25)}
.language-tab-button.is-active{background:#fff;color:#111827;border-color:#d7dde7;box-shadow:0 1px 2px rgba(15,23,42,.08),0 8px 18px rgba(15,23,42,.06)}
.language-tab-status{display:inline-block;width:10px;height:10px;border-radius:999px;box-shadow:0 0 0 3px rgba(255,255,255,.9)}
.language-tab-status.is-empty{background:#ef4444}
.language-tab-status.is-partial{background:#f59e0b}
.language-tab-status.is-complete{background:#22c55e}
.language-tab-button.is-active .language-tab-status.is-empty{box-shadow:0 0 0 3px rgba(254,242,242,.95)}
.language-tab-button.is-active .language-tab-status.is-partial{box-shadow:0 0 0 3px rgba(255,251,235,.95)}
.language-tab-button.is-active .language-tab-status.is-complete{box-shadow:0 0 0 3px rgba(240,253,244,.95)}
.language-tab-panel{display:none;padding:20px;border:1px solid #d9e2ec;border-radius:18px;background:#fff;box-shadow:0 14px 34px rgba(15,23,42,.06)}
.language-tab-panel.is-active{display:block;animation:languageTabPanelIn .2s ease-out}
@keyframes languageTabPanelIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
.form-grid-span-2{grid-column:span 2}

.language-active-toggle{display:flex;align-items:center;gap:10px;font-weight:600}
.language-active-toggle input[type=checkbox]{width:18px;height:18px}

.language-tabs-single{margin-top:18px}
.language-tabs-single .language-tab-panel{display:block;padding:0;border:none;background:transparent}

/* listing detail exact */

.listing-detail-breadcrumb-exact{width:calc(100% - 384px);margin:-8px 0 10px;text-align:left;font-size:15px;line-height:1.4;color:#16233d}
.listing-detail-breadcrumb-exact a{color:#1f64f2;font-weight:500}
.listing-detail-breadcrumb-exact span{display:inline-block}
.listing-detail-page--exact{padding-top:0}
.listing-preview-inline{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 12px;padding:10px 14px;border:1px solid #d7e2f0;border-radius:14px;background:#f8fbff}
.listing-preview-inline__copy{display:flex;align-items:center;gap:10px;min-width:0;flex-wrap:wrap;color:#1d2433;font-size:14px;line-height:1.4}
.listing-preview-inline__copy strong{font-size:14px;font-weight:800;color:#16233d}
.listing-preview-inline__copy span{color:#4a5568}
.listing-preview-inline__link{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 12px;border:1px solid #cfd9e7;border-radius:10px;background:#fff;color:#255fe8;font-size:13px;font-weight:700;text-decoration:none;white-space:nowrap}
.listing-preview-inline__link:hover{background:#f2f7ff;border-color:#bfcde0}
.listing-detail-exact{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:10px 24px;align-items:start}
.listing-top-grid{display:contents}
.listing-gallery-card-exact,.listing-side-card-exact,.listing-info-card-exact,.listing-description-card-exact{background:#fff;border:1px solid #d5dde8;border-radius:20px}
.listing-gallery-card-exact{padding:16px 18px 12px}
.listing-gallery-main-exact{height:530px;border:1px solid #d7dfe9;border-radius:20px;background:#f1f3f6;padding:18px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.listing-gallery-main-exact img{width:100%;height:100%;object-fit:contain;display:block;border-radius:18px}
.listing-gallery-placeholder-exact{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:#f1f3f6;border-radius:18px}
.listing-gallery-placeholder-exact img{max-width:86%;max-height:86%;object-fit:contain;opacity:.9}
.listing-gallery-thumbs-exact{padding-top:14px;display:flex;gap:10px;flex-wrap:wrap}
.listing-thumb-exact{width:56px;height:56px;border:1px solid #cfd7e4;border-radius:12px;background:#eef2f7;padding:3px;display:flex;align-items:center;justify-content:center;cursor:pointer;appearance:none;-webkit-appearance:none}
.listing-thumb-exact.is-active{border:2px solid #1d5eff;padding:2px;box-shadow:0 0 0 1px rgba(29,94,255,.12) inset}
.listing-thumb-exact img{width:100%;height:100%;object-fit:cover;border-radius:8px;display:block}
.listing-side-card-exact{padding:14px 14px 18px;display:flex;flex-direction:column;gap:10px}
.listing-side-button-exact{height:44px;border:1px solid #bac6d6;border-radius:12px;background:#fff;color:#202534;font-size:14px}
.listing-side-user-exact{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid #d5dde8;border-radius:18px;background:#fff}
.listing-side-avatar-exact{width:48px;height:48px;border-radius:999px;background:#dfe5ee;color:#172033;font-size:17px;font-weight:700;display:flex;align-items:center;justify-content:center;flex:0 0 48px}
.listing-side-user-copy-exact{display:flex;flex-direction:column;line-height:1.1}
.listing-side-user-copy-exact strong{font-size:16px;color:#172033}
.listing-side-user-copy-exact span{font-size:14px;color:#556070;margin-top:2px}
.listing-side-meta-exact{min-height:110px;padding:16px;border:1px solid #d5dde8;border-radius:18px;background:#fff;font-size:14px;color:#2d3648;display:flex;align-items:flex-end}
.listing-side-meta-exact--stats{min-height:0;display:grid;gap:10px;align-items:stretch}
.listing-side-meta-row-exact{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:14px;line-height:1.35;color:#2d3648}
.listing-side-meta-row-exact strong{font-size:16px;color:#16233d;font-weight:800}
.listing-side-safe-exact{padding:13px 16px;border:1px solid #bdd6b9;border-radius:16px;background:#edf5ea;color:#3a7a35;font-size:15px;font-weight:700;display:flex;align-items:center;justify-content:center;text-align:center}
.listing-side-id-exact{padding:13px 16px;border:1px solid #d5dde8;border-radius:14px;background:#f7f9fc;color:#1c2435;font-size:15px;font-weight:700}
.listing-side-report-exact{display:block;text-align:center;color:#255fe8;text-decoration:none;font-size:15px;font-weight:700;padding-top:2px}
.listing-info-card-exact{padding:14px 14px 12px;grid-column:1 / 2}
.listing-info-head-exact{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}
.premium-badge-row--listing-detail{gap:10px;margin:0 0 12px}
.promo-badge--listing-detail{padding:7px 12px;border-radius:999px;font-size:13px;font-weight:800;box-shadow:0 1px 0 rgba(255,255,255,.7) inset;white-space:nowrap}
.listing-info-copy-exact h1{margin:0 0 8px;font-size:31px;line-height:1.05;color:#16233d;font-weight:800}
.listing-info-price-exact{font-size:28px;line-height:1.1;font-weight:800;color:#16233d;margin-bottom:6px}
.listing-info-location-exact{font-size:15px;color:#66758f}
.listing-info-id-exact{flex:0 0 auto;padding:10px 18px;border:1px solid #cfd7e4;border-radius:16px;background:#f7f9fc;color:#1c2435;font-size:16px;font-weight:700;white-space:nowrap}
.listing-info-meta-exact{display:grid;grid-template-columns:1fr 1fr;gap:12px 40px;margin-top:10px;padding-top:4px}
.listing-info-meta-col-exact{display:grid;gap:10px;color:#182132;font-size:16px}
.listing-info-meta-col-exact strong{font-weight:800}
.listing-description-card-exact{padding:12px 14px 14px;grid-column:1 / 2;min-width:0;max-width:100%}
.listing-description-card-exact h2{margin:0 0 16px;font-size:20px;line-height:1.15;color:#16233d;font-weight:800}
.listing-description-card-exact p{margin:0;font-size:15px;line-height:1.6;color:#1d2433;max-width:100%;overflow-wrap:anywhere;word-break:break-word;white-space:normal}
.listing-info-card-exact,.listing-info-copy-exact,.listing-info-meta-col-exact{min-width:0}

.ads-dashboard-card,.ads-list-card{overflow:visible}
.ads-page-head{margin-bottom:20px}
.ads-overview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.ads-overview-card{display:flex;flex-direction:column;gap:12px;padding:22px;border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:0 12px 30px rgba(10,25,55,.04);color:var(--text);text-decoration:none}
.ads-overview-card strong{font-size:34px;line-height:1;color:var(--navy)}
.ads-overview-card span:last-child{color:var(--muted);line-height:1.5}
.ads-subnav{margin-bottom:20px}
.ads-table th.action-col,.ads-table td.action-col{text-align:right}
.ads-empty-state{text-align:center;color:var(--muted);padding:28px 16px}
.ads-status-pill--active{background:#e8f7ee;color:#1d7a46}
.ads-status-pill--paused{background:#fff5dd;color:#9b6a00}
.ads-status-pill--ended{background:#f1f2f6;color:#596273}

.account-sidebar__subnav-title{margin-top:14px;padding-top:14px;border-top:1px solid #d9e2ec;color:#6b778c;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.account-sidebar__subnav-title:first-of-type{margin-top:0;padding-top:0;border-top:none}
.account-sidebar__subnav{display:grid;gap:4px;margin-top:10px}
.account-sidebar__sublink{display:flex;align-items:center;min-height:46px;padding:0 14px;border-radius:16px;color:#223049;text-decoration:none;font-weight:700;border:1px solid transparent;background:transparent;transition:background-color .18s ease,color .18s ease,border-color .18s ease,transform .18s ease,box-shadow .18s ease}
.account-sidebar__sublink:hover{background:#f4f7fc;border-color:#e0e8f3;transform:translateX(1px)}
.account-sidebar__sublink.is-active{background:linear-gradient(135deg,#edf3ff 0%,#f5f8ff 100%);color:#255fe8;border-color:#d9e4ff;box-shadow:inset 0 0 0 1px rgba(37,95,232,.04)}
.empty-state-panel{padding:64px 28px;border:1px dashed #d8e1ee;border-radius:22px;background:#fff;text-align:center}
.empty-state-panel--embedded{border:none;background:transparent;padding:48px 20px}
.empty-state-panel h2{margin:0 0 18px;font-size:28px;line-height:1.15;color:#16233d}
.empty-state-panel p{margin:0 0 22px;color:#6a7890;font-size:15px}
.account-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.watchlist-card{display:grid;grid-template-columns:140px minmax(0,1fr);gap:18px;padding:16px}
.watchlist-card__media{height:140px;border-radius:18px;background:#eef2f7;overflow:hidden;display:flex;align-items:center;justify-content:center}
.watchlist-card__media img{width:100%;height:100%;object-fit:cover}
.watchlist-card__placeholder{color:#72809a;font-weight:700}
.watchlist-card__content h3{margin:0 0 8px;font-size:20px;line-height:1.2}
.watchlist-card__content h3 a{color:#16233d;text-decoration:none}
.watchlist-card__content p{margin:0 0 14px;color:#6a7890}
.watchlist-card__meta{display:flex;align-items:center;justify-content:space-between;gap:16px}
.users-panel{padding:0;overflow:hidden}
.users-panel__tabs{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid #dbe3ee}
.users-panel__tab{height:56px;border:none;background:#fff;color:#6f7f5a;font-size:15px;font-weight:500}
.users-panel__tab.is-active{box-shadow:inset 0 -2px 0 #728d2a;color:#728d2a}
.account-list-stack{display:grid;gap:16px}
.saved-search-card{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px}
.saved-search-card h3{margin:0 0 6px;font-size:18px;color:#16233d}
.saved-search-card p{margin:0;color:#6a7890}
.danger-zone-card{border:1px solid #f0c8c8}
.btn-danger{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 22px;border:none;border-radius:14px;background:#d83a3a;color:#fff;font-weight:800;cursor:pointer}
.listing-side-button-exact{display:flex;align-items:center;justify-content:center;text-decoration:none;font-weight:700}
.listing-side-button-exact--primary{background:#1fa246;border-color:#1fa246;color:#fff}
.listing-side-button-exact--secondary{background:#eef3fb;border-color:#eef3fb;color:#255fe8}
.listing-side-button-exact--call{gap:10px;background:#edf3ff;border-color:#edf3ff;color:#255fe8}
.listing-side-button-exact--call:hover{background:#e5efff;border-color:#e5efff;color:#1e57de}
.listing-side-button-exact--call.is-revealed{justify-content:flex-start;padding:0 16px;color:#2f7d2d;background:#fff;border-color:#d5dde8}
.listing-side-button-exact__icon{font-size:15px;line-height:1;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto}
.listing-side-button-exact__label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.listing-contact-card-exact{padding:12px 14px 14px;grid-column:1 / 2;background:#fff;border:1px solid #d5dde8;border-radius:20px}
.listing-contact-card-exact h2{margin:0 0 16px;font-size:20px;line-height:1.15;color:#16233d;font-weight:800}
.listing-contact-form-exact{display:grid;gap:10px}
.listing-contact-form-exact textarea,.listing-contact-form-exact input[type=text]{width:100%;border:1px solid #cfd7e4;border-radius:10px;background:#fff;padding:12px 14px;font:inherit;color:#1d2433}
.listing-contact-form-exact textarea{min-height:140px;resize:vertical}
.listing-contact-form-exact textarea::placeholder,.listing-contact-form-exact input::placeholder{color:#7b8798}
.listing-contact-actions-exact{display:flex;justify-content:flex-start}
.listing-contact-empty{padding:0;text-align:left;display:grid;justify-items:start;gap:10px}
.listing-contact-empty p{margin:0;color:#6a7890;font-size:15px;line-height:1.55}
.listing-contact-empty .listing-side-button-exact{min-width:186px}
.users-panel__tab{display:flex;align-items:center;justify-content:center;text-decoration:none}
.users-list-stack{padding:18px}
.user-follow-card{display:flex;align-items:center;gap:10px;padding:16px 18px}
.user-follow-card__avatar{width:54px;height:54px;border-radius:999px;background:#dfe5ee;color:#172033;font-size:20px;font-weight:800;display:flex;align-items:center;justify-content:center;flex:0 0 54px}
.user-follow-card__content{display:flex;flex-direction:column;gap:4px;min-width:0}
.user-follow-card__content strong{font-size:18px;color:#16233d}
.user-follow-card__content span{font-size:14px;color:#6a7890}
.user-follow-card__meta{margin-left:auto;color:#6a7890;font-size:14px}

body.modal-open{overflow:hidden}
.listing-share-modal{position:fixed;inset:0;z-index:1200;display:flex;align-items:center;justify-content:center;background:rgba(20,31,50,.38);opacity:0;pointer-events:none;transition:opacity .22s ease}
.listing-share-modal.is-open{opacity:1;pointer-events:auto}
.listing-share-modal__backdrop{position:absolute;inset:0}
.listing-share-modal__dialog{position:relative;z-index:1;width:calc(100% - 32px);max-width:420px;margin:0;background:#fff;border-radius:18px;box-shadow:0 18px 50px rgba(10,25,55,.18);overflow:hidden;border:1px solid #dbe3ee;transform:translateY(28px) scale(.96);opacity:0;transition:transform .24s ease,opacity .24s ease}
.listing-share-modal.is-open .listing-share-modal__dialog{transform:translateY(0) scale(1);opacity:1}
.listing-share-modal__header{display:flex;align-items:center;justify-content:space-between;padding:18px 22px;border-bottom:1px solid #dbe3ee}
.listing-share-modal__header h2{margin:0;font-size:18px;line-height:1.2;color:#16233d;font-weight:800}
.listing-share-modal__close{border:none;background:transparent;color:#6b778c;font-size:28px;line-height:1;cursor:pointer;padding:0}
.listing-share-modal__list{display:grid}
.listing-share-modal__item{display:flex;align-items:center;gap:10px;min-height:56px;padding:18px 22px;border-bottom:1px solid #dbe3ee;color:#16233d;text-decoration:none;font-size:16px;transition:background .18s ease}
.listing-share-modal__item:hover{background:#f6f8fb}
.listing-share-modal__item:last-child{border-bottom:none}
.listing-share-modal__icon{width:18px;display:inline-flex;align-items:center;justify-content:center;font-size:18px;font-weight:700;color:#16233d;flex:0 0 18px}
.account-sidebar__header {border-bottom: none;}.account-sidebar__header h2 {margin-bottom: 0;padding-bottom: 2px;}

.contact-page{display:flex;flex-direction:column;gap:20px}
.contact-page-hero{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(260px,.8fr);gap:18px;align-items:stretch;padding:28px;border-radius:28px;background:linear-gradient(180deg,#ffffff,#f7fbff);border:1px solid #d8e2ef;box-shadow:0 18px 40px rgba(16,39,79,.06)}
.contact-page-hero__eyebrow{margin:0 0 8px;color:#1e5ff0;font-weight:800;letter-spacing:.04em;text-transform:uppercase;font-size:13px}
.contact-page-hero__copy h1{margin:0 0 12px;font-size:clamp(30px,4vw,42px);line-height:1.04;color:#16233d}
.contact-page-hero__copy p:last-child{margin:0;color:#617089;font-size:16px;line-height:1.65}
.contact-page-hero__badge{display:flex;flex-direction:column;justify-content:center;gap:8px;padding:22px;border-radius:24px;background:linear-gradient(135deg,#1e5ff0,#5f8fff);color:#fff;box-shadow:0 18px 34px rgba(30,95,240,.22)}
.contact-page-hero__badge strong{font-size:22px;line-height:1.2}
.contact-page-hero__badge span{color:rgba(255,255,255,.88);line-height:1.5}
.contact-page-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(280px,.7fr);gap:20px;align-items:start}
.contact-page-card,.contact-page-side__card{padding:24px;border-radius:24px}
.contact-page-card h2,.contact-page-side__card h2{margin:0 0 10px;color:#16233d;font-size:24px}
.contact-page-form{display:flex;flex-direction:column;gap:16px;margin-top:18px}
.contact-page-form__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.contact-page-form label{display:flex;flex-direction:column;gap:8px;color:#334155;font-weight:700}
.contact-page-form input,.contact-page-form textarea{width:100%;border:1px solid #d4deec;border-radius:16px;background:#f8fbff;color:#1f2937;font:inherit;padding:14px 16px;outline:none;transition:border-color .18s ease,box-shadow .18s ease,background-color .18s ease}
.contact-page-form input:focus,.contact-page-form textarea:focus{border-color:#245fe9;box-shadow:0 0 0 4px rgba(36,95,233,.10);background:#fff}
.contact-page-form textarea{min-height:220px;resize:vertical}
.contact-page-form__actions{display:flex;justify-content:flex-start;padding-top:6px}
.contact-page-list{margin:14px 0 0;padding-left:20px;color:#617089;line-height:1.7}
.contact-page-list li + li{margin-top:8px}

/* login */
.auth-login-page{padding-top:4px;padding-bottom:34px}
.auth-login-shell{display:grid;grid-template-columns:minmax(0,1.04fr) minmax(360px,.96fr);gap:22px;align-items:stretch}
.auth-login-panel{min-height:100%}
.auth-login-panel--intro{display:flex;flex-direction:column;justify-content:space-between;padding:32px;border-radius:28px;background:linear-gradient(135deg,#10284f 0%,#204a8a 100%);color:#fff;box-shadow:0 22px 46px rgba(16,40,79,.18)}
.auth-login-eyebrow{margin:0 0 10px;font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:rgba(255,255,255,.72)}
.auth-login-panel--intro h1{margin:0 0 14px;font-size:clamp(34px,4vw,50px);line-height:1.02;color:#fff}
.auth-login-lead{margin:0;max-width:520px;font-size:17px;line-height:1.65;color:rgba(255,255,255,.86)}
.auth-login-highlights{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:28px}
.auth-login-highlight-card{display:flex;flex-direction:column;gap:8px;padding:18px;border-radius:22px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.14);backdrop-filter:blur(4px)}
.auth-login-highlight-card strong{font-size:16px;color:#fff}
.auth-login-highlight-card span{font-size:14px;line-height:1.55;color:rgba(255,255,255,.8)}
.auth-login-panel--form{max-width:none;padding:28px;border-radius:28px;background:linear-gradient(180deg,#ffffff,#f8fbff);border:1px solid #d7dfeb;box-shadow:0 18px 44px rgba(17,42,92,.06)}
.auth-login-form-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding-bottom:18px;margin-bottom:22px;border-bottom:1px solid #e6edf6}
.auth-login-form-kicker{margin:0 0 6px;color:#245fe9;font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.auth-login-form-head h2{margin:0;font-size:28px;line-height:1.15;color:#172033;max-width:430px}
.auth-login-register-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 16px;border:1px solid #d8e4ff;border-radius:14px;background:#f3f7ff;color:#245fe9;font-weight:700;text-align:center}
.auth-login-register-link:hover{background:#e9f0ff}
.auth-login-form{display:flex;flex-direction:column;gap:16px}
.auth-login-form label{display:flex;flex-direction:column;gap:8px}
.auth-login-form label span{font-size:14px;font-weight:700;color:#23324a}
.auth-login-form input{width:100%;min-height:56px;padding:0 16px;border:1px solid #d4deec;border-radius:16px;background:#f8fbff;color:#1f2937;font-size:15px;outline:none;transition:border-color .18s ease,box-shadow .18s ease,background-color .18s ease}
.auth-login-form input:focus{border-color:#245fe9;box-shadow:0 0 0 4px rgba(36,95,233,.10);background:#fff}
.auth-login-actions{display:flex;justify-content:space-between;align-items:center;gap:16px;padding-top:6px;flex-wrap:wrap}
.auth-login-submit{min-width:170px;min-height:54px;border-radius:16px;font-size:16px;font-weight:800;box-shadow:0 14px 28px rgba(47,111,255,.18)}
.auth-login-helper-link{font-size:14px;font-weight:700;color:#245fe9}

/* forgot password */
.auth-recovery-page{padding-top:4px;padding-bottom:34px}
.auth-recovery-shell{display:grid;grid-template-columns:minmax(0,1.04fr) minmax(360px,.96fr);gap:22px;align-items:stretch}
.auth-recovery-panel{min-height:100%}
.auth-recovery-panel--intro{display:flex;flex-direction:column;justify-content:space-between;padding:32px;border-radius:28px;background:linear-gradient(135deg,#10284f 0%,#204a8a 100%);color:#fff;box-shadow:0 22px 46px rgba(16,40,79,.18)}
.auth-recovery-eyebrow{margin:0 0 10px;font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:rgba(255,255,255,.72)}
.auth-recovery-panel--intro h1{margin:0 0 14px;font-size:clamp(34px,4vw,50px);line-height:1.02;color:#fff}
.auth-recovery-lead{margin:0;max-width:520px;font-size:17px;line-height:1.65;color:rgba(255,255,255,.86)}
.auth-recovery-highlights{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:28px}
.auth-recovery-highlight-card{display:flex;flex-direction:column;gap:8px;padding:18px;border-radius:22px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.14);backdrop-filter:blur(4px)}
.auth-recovery-highlight-card strong{font-size:16px;color:#fff}
.auth-recovery-highlight-card span{font-size:14px;line-height:1.55;color:rgba(255,255,255,.8)}
.auth-recovery-panel--form{max-width:none;padding:28px;border-radius:28px;background:linear-gradient(180deg,#ffffff,#f8fbff);border:1px solid #d7dfeb;box-shadow:0 18px 44px rgba(17,42,92,.06)}
.auth-recovery-form-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding-bottom:18px;margin-bottom:22px;border-bottom:1px solid #e6edf6}
.auth-recovery-form-kicker{margin:0 0 6px;color:#245fe9;font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.auth-recovery-form-head h2{margin:0;font-size:28px;line-height:1.15;color:#172033;max-width:430px}
.auth-recovery-login-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 16px;border:1px solid #d8e4ff;border-radius:14px;background:#f3f7ff;color:#245fe9;font-weight:700;text-align:center}
.auth-recovery-login-link:hover{background:#e9f0ff}
.auth-recovery-form{display:flex;flex-direction:column;gap:16px}
.auth-recovery-form label{display:flex;flex-direction:column;gap:8px}
.auth-recovery-form label span{font-size:14px;font-weight:700;color:#23324a}
.auth-recovery-form input{width:100%;min-height:56px;padding:0 16px;border:1px solid #d4deec;border-radius:16px;background:#f8fbff;color:#1f2937;font-size:15px;outline:none;transition:border-color .18s ease,box-shadow .18s ease,background-color .18s ease}
.auth-recovery-form input:focus{border-color:#245fe9;box-shadow:0 0 0 4px rgba(36,95,233,.10);background:#fff}
.auth-recovery-actions{display:flex;justify-content:flex-start;align-items:center;gap:16px;padding-top:6px;flex-wrap:wrap}
.auth-recovery-submit{min-width:170px;min-height:54px;border-radius:16px;font-size:16px;font-weight:800;box-shadow:0 14px 28px rgba(47,111,255,.18)}
.auth-recovery-note{margin:18px 0 0;color:#66758f;font-size:14px;line-height:1.6}

.auth-login-helper-links{display:flex;flex-direction:column;align-items:flex-end;gap:8px}
.admin-user-status-list{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-start}
.status-pill.status-danger{background:#fff1f1;color:#b83333;border:1px solid #f0caca}
.status-pill.status-pending{background:#fff8ea;color:#9a6a00;border:1px solid #efdba8}

/* premium commerce */
.site-icon-button--cart{position:relative;display:inline-flex;align-items:center;justify-content:center}
.site-icon-badge,.badge-inline{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:#ff5f5f;color:#fff;font-size:11px;font-weight:800;line-height:1;box-shadow:0 6px 14px rgba(255,95,95,.26)}
.site-icon-button--cart .site-icon-badge{position:absolute;top:-8px;right:-8px}
.badge-inline{position:static}
.premium-badge-row{display:flex;flex-wrap:wrap;gap:8px}
.premium-badge-row--compact{gap:6px;margin-bottom:8px}
.promo-badge{--promo-accent:#13294b;display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;background:color-mix(in srgb,var(--promo-accent) 12%,#fff);border:1px solid color-mix(in srgb,var(--promo-accent) 20%,#d5dfec);color:var(--promo-accent);font-size:12px;font-weight:800;letter-spacing:.02em}
.promo-badge small{font-size:11px;font-weight:700;opacity:.82}
.promo-badge--inline{padding:6px 10px;font-size:11px}
.premium-shell{align-items:start}
.premium-main{display:flex;flex-direction:column;gap:20px}
.premium-page-hero{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;padding:28px;border-radius:26px;background:linear-gradient(135deg,color-mix(in srgb,var(--promo-accent,#13294b) 92%,#0f172a) 0%,#244a87 100%);color:#fff;box-shadow:0 22px 48px rgba(17,42,92,.18)}
.premium-page-hero h1{margin:8px 0 8px;color:#fff;font-size:clamp(30px,4vw,42px);line-height:1.05}
.premium-page-hero p{margin:0;color:rgba(255,255,255,.84);max-width:760px}
.premium-page-hero--compact{align-items:center}
.premium-page-hero__actions{display:flex;flex-wrap:wrap;gap:10px}
.premium-page-hero .btn-secondary{background:rgba(255,255,255,.14);color:#fff;border-color:rgba(255,255,255,.22)}
.premium-page-hero .btn-secondary:hover{background:rgba(255,255,255,.22)}
.premium-empty-state{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:28px;border-radius:22px;background:linear-gradient(180deg,#fff,#f8fbff);border:1px dashed #cbd7e6}
.premium-empty-state h2{margin:0}
.premium-service-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:22px;align-items:stretch}
.premium-service-card{position:relative;overflow:hidden;padding:24px 24px 22px;border-radius:28px;border:1px solid color-mix(in srgb,var(--promo-accent,#13294b) 18%,#d9e3ef);background:linear-gradient(180deg,#fff 0%,#fbfdff 58%,#f5f8ff 100%);box-shadow:0 20px 45px rgba(17,42,92,.08),0 2px 0 rgba(255,255,255,.72) inset;display:flex;flex-direction:column;gap:18px;isolation:isolate;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.premium-service-card::before{content:"";position:absolute;inset:0 auto auto 0;width:100%;height:4px;background:linear-gradient(90deg,var(--promo-accent,#13294b),color-mix(in srgb,var(--promo-accent,#13294b) 32%,#fff));opacity:.98}
.premium-service-card::after{content:"";position:absolute;top:-80px;right:-70px;width:210px;height:210px;border-radius:50%;background:radial-gradient(circle,color-mix(in srgb,var(--promo-accent,#13294b) 16%,transparent) 0%,rgba(255,255,255,0) 72%);z-index:-1;pointer-events:none}
.premium-service-card:hover{transform:translateY(-4px);box-shadow:0 28px 58px rgba(17,42,92,.12),0 2px 0 rgba(255,255,255,.8) inset;border-color:color-mix(in srgb,var(--promo-accent,#13294b) 28%,#c7d3e4)}
.premium-service-card.is-active{border-color:color-mix(in srgb,var(--promo-accent,#13294b) 36%,#c7d3e4);box-shadow:0 26px 52px rgba(17,42,92,.12),0 0 0 1px color-mix(in srgb,var(--promo-accent,#13294b) 9%,#fff) inset}
.premium-service-card__head{display:flex;gap:16px;align-items:flex-start}
.premium-service-card__head .eyebrow{margin-bottom:5px;letter-spacing:.11em;font-size:11px;color:#66758f}
.premium-service-card__head h2{margin:0;font-size:clamp(20px,2.1vw,32px);line-height:1.02;letter-spacing:-.03em;color:#13294b;text-wrap:balance}
.premium-service-card__icon{display:grid;place-items:center;flex:0 0 58px;width:58px;height:40px;border-radius:19px;background:linear-gradient(180deg,color-mix(in srgb,var(--promo-accent,#13294b) 12%,#fff),color-mix(in srgb,var(--promo-accent,#13294b) 18%,#fff));color:var(--promo-accent,#13294b);font-size:24px;font-weight:800;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--promo-accent,#13294b) 18%,#d4deea),0 10px 22px color-mix(in srgb,var(--promo-accent,#13294b) 10%,transparent)}
.premium-service-card__copy{margin:0;color:#52627b;line-height:1.72;min-height:112px;font-size:15px}
.premium-service-card__meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.premium-service-card__meta-item{display:flex;flex-direction:column;justify-content:space-between;gap:6px;min-height:96px;padding:14px 14px 12px;border-radius:20px;background:linear-gradient(180deg,#fff 0%,#f8fbff 100%);border:1px solid #e4ebf5;box-shadow:0 10px 20px rgba(17,42,92,.04)}
.premium-service-card__meta-item strong{display:block;font-size:clamp(20px,2vw,28px);line-height:1;letter-spacing:-.04em;color:#13294b;word-break:break-word}
.premium-service-card__meta-item span{font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#6f7d92;line-height:1.25}
.premium-service-card__meta-item--fee strong{color:#0f2f67}
.premium-service-card__meta-item--days strong{color:#13294b}
.premium-service-card__meta-item--repeat strong{font-size:24px}
.premium-service-card__meta-item--repeat span{max-width:8ch}
.premium-service-card__meta-item--repeat.is-yes{background:linear-gradient(180deg,#f4fbf6 0%,#edf9f1 100%);border-color:#cfead8}
.premium-service-card__meta-item--repeat.is-yes strong{color:#118046}
.premium-service-card__meta-item--repeat.is-no{background:linear-gradient(180deg,#fbfcff 0%,#f6f8fc 100%)}
.premium-service-state{display:flex;align-items:center;gap:10px;padding:13px 14px;border-radius:18px;font-weight:700;font-size:14px;box-shadow:0 8px 18px rgba(17,42,92,.04)}
.premium-service-state::before{content:"";width:9px;height:9px;border-radius:50%;background:currentColor;opacity:.85;flex:0 0 9px}
.premium-service-state--active{background:linear-gradient(180deg,#eef9f1 0%,#e6f6eb 100%);color:#0c7a39;border:1px solid #cdecd8}
.premium-service-state--cart{background:linear-gradient(180deg,#eef4ff 0%,#e7f0ff 100%);color:#245fe9;border:1px solid #d3e0ff}
.premium-service-card__form{margin-top:auto}
.premium-service-card__button{position:relative;width:100%;min-height:56px;border-radius:18px;font-size:15px;font-weight:800;letter-spacing:-.01em;box-shadow:0 18px 26px rgba(47,111,255,.18),0 1px 0 rgba(255,255,255,.35) inset;background:linear-gradient(135deg,#2d67ff 0%,#5f8dff 100%);border:none}
.premium-service-card__button:hover{transform:translateY(-1px);box-shadow:0 22px 30px rgba(47,111,255,.22),0 1px 0 rgba(255,255,255,.4) inset}
.premium-service-card__button:active{transform:translateY(0)}
.premium-active-summary{display:flex;flex-direction:column;gap:16px}
.premium-cart-card{display:flex;flex-direction:column;gap:18px}
.premium-cart-table .promo-badge{vertical-align:middle}
.premium-cart-summary{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap;padding-top:6px}
.premium-cart-summary__total{display:flex;align-items:flex-end;gap:12px;font-size:16px;color:#546277}
.premium-cart-summary__total strong{font-size:34px;color:#13294b;line-height:1}
.premium-cart-summary__actions{display:flex;flex-wrap:wrap;gap:10px}
.premium-checkout-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);gap:20px;align-items:start}
.premium-checkout-sidebar{display:flex;flex-direction:column;gap:20px}
.premium-checkout-card{padding:24px;border-radius:24px}
.premium-checkout-card--sticky{position:sticky;top:18px;display:flex;flex-direction:column;gap:18px}
.premium-form-grid label{display:flex;flex-direction:column;gap:8px}
.premium-form-grid label span{font-size:14px;font-weight:700;color:#23324a}
.premium-form-grid input,.premium-form-grid select{width:100%;min-height:54px;padding:0 16px;border:1px solid #d6e0ed;border-radius:16px;background:#fbfdff;color:#1f2937;outline:none;transition:border-color .18s ease,box-shadow .18s ease,background-color .18s ease}
.premium-form-grid input:focus,.premium-form-grid select:focus{border-color:#245fe9;box-shadow:0 0 0 4px rgba(36,95,233,.10);background:#fff}
.premium-payment-list{display:flex;flex-direction:column;gap:10px}
.premium-payment-option{position:relative;display:grid;grid-template-columns:auto 1fr;align-items:flex-start;gap:10px;padding:16px;border-radius:18px;border:1px solid #d9e3f0;background:linear-gradient(180deg,#fff 0%,#f8fbff 100%)}
.premium-payment-option input{margin-top:3px}
.premium-payment-option strong{display:block;color:#13294b}
.premium-payment-option small{display:block;margin-top:5px;color:#66758f;line-height:1.5}
.premium-payment-option.is-selected{border-color:#245fe9;box-shadow:0 0 0 4px rgba(36,95,233,.08)}
.order-review{display:flex;flex-direction:column;gap:12px;padding:18px;border-radius:18px;background:#f6f9fe;border:1px solid #dde7f4}
.order-review h3{margin:0 0 2px}
.order-review__row,.order-review__total{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}
.order-review__row small{display:block;margin-top:4px;color:#66758f}
.order-review__total{padding-top:12px;border-top:1px solid #d7e2ef;font-size:16px}
.order-review__total strong{font-size:30px;color:#13294b}
.order-review__actions{display:flex;flex-wrap:wrap;gap:10px}
.order-list{display:flex;flex-direction:column;gap:16px}
.order-card{padding:24px;border-radius:24px;border:1px solid #d9e3ef;background:linear-gradient(180deg,#fff 0%,#f8fbff 100%);box-shadow:0 16px 36px rgba(17,42,92,.05)}
.order-card__head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;padding-bottom:16px;border-bottom:1px solid #e4ebf5}
.order-card__head h2{margin:6px 0 0}
.order-card__head p{margin:6px 0 0;color:#66758f}
.order-card__meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.order-card__grid{display:grid;grid-template-columns:1fr minmax(260px,.8fr);gap:20px;padding-top:18px}
.order-items{display:flex;flex-direction:column;gap:10px}
.order-item{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:12px 14px;border:1px solid #e4ebf5;border-radius:18px;background:#fff}
.order-item strong{color:#13294b}
.order-item small{display:block;margin-top:4px;color:#66758f}
.invoice-box{display:flex;flex-direction:column;gap:8px;padding:18px;border-radius:18px;background:#f6f9fe;border:1px solid #dde7f4}
.invoice-box__actions{display:flex;flex-wrap:wrap;gap:10px;padding-top:6px}
.premium-status-pill{border-radius:999px;padding:10px 14px;font-weight:800}
.premium-status-pill--pending_payment,.premium-status-pill--open,.premium-status-pill--pending{background:#fff8ea;color:#8a6100;border:1px solid #efd9a7}
.premium-status-pill--paid{background:#eef9f1;color:#0c7a39;border:1px solid #cdecd8}
.premium-status-pill--cancelled,.premium-status-pill--failed{background:#fff1f1;color:#b83333;border:1px solid #f0caca}
.home-layout--premium .home-content{display:flex;flex-direction:column;gap:20px}
.home-layout--premium .home-content > .ad-placement{margin:0}
.home-hero--premium{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:28px;border-radius:28px;background:linear-gradient(135deg,#0f284d 0%,#245ca0 100%);color:#fff;box-shadow:0 22px 48px rgba(16,40,79,.18)}
.home-hero--premium h1{margin:8px 0 10px;color:#fff;font-size:clamp(32px,4vw,46px)}
.home-hero--premium p{margin:0;color:rgba(255,255,255,.84);max-width:760px}
.home-gallery{display:flex;flex-direction:column;gap:18px;padding:26px;border-radius:28px;background:linear-gradient(180deg,#fff 0%,#f7fbff 100%)}
.home-gallery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.gallery-card{position:relative;display:flex;flex-direction:column;border:1px solid #d9e3ef;border-radius:24px;overflow:hidden;background:#fff;box-shadow:0 18px 34px rgba(17,42,92,.08)}
.gallery-card::before{content:"";position:absolute;inset:0 auto auto 0;width:100%;height:4px;background:linear-gradient(90deg,var(--promo-accent,#13294b),color-mix(in srgb,var(--promo-accent,#13294b) 24%,#fff))}
.gallery-card__media{display:block;aspect-ratio:1.18;overflow:hidden;background:#edf3fb}
.gallery-card__media img{width:100%;height:100%;object-fit:cover}
.gallery-card__body{display:flex;flex-direction:column;gap:10px;padding:16px}
.gallery-card__body h3{margin:0;font-size:20px;line-height:1.2}
.gallery-card__body p{margin:0;color:#66758f}
.home-listings--premium{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}
.home-listing-card.is-highlight,.listing-card-rich.is-highlight{background:linear-gradient(180deg,color-mix(in srgb,var(--promo-accent,#13294b) 10%,#fff) 0%,#fff 100%);border-color:color-mix(in srgb,var(--promo-accent,#13294b) 18%,#d5dfec)}
.home-listing-card.is-premium,.listing-card-rich.is-premium{box-shadow:0 22px 42px rgba(17,42,92,.10)}
.home-listing-card.is-top,.listing-card-rich.is-top{transform:translateY(-2px)}
.listing-card-ribbon{position:absolute;top:12px;right:12px;display:inline-flex;align-items:center;padding:7px 12px;border-radius:999px;background:rgba(15,23,42,.92);color:#fff;font-size:11px;font-weight:800;letter-spacing:.04em;box-shadow:0 10px 22px rgba(15,23,42,.22);z-index:2}
.category-page--premium .card{border-radius:24px}
.category-page-hero{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:24px 26px;background:linear-gradient(180deg,#fff 0%,#f8fbff 100%)}
.category-premium-grid{display:grid;grid-template-columns:1fr;gap:10px}
.listing-card-rich{position:relative;overflow:hidden;border:1px solid #d9e3ef;border-radius:24px;background:#fff;box-shadow:0 14px 30px rgba(17,42,92,.05)}
.listing-card-rich .thumb{position:relative;overflow:hidden}
.listing-card-rich .thumb img{width:100%;height:100%;object-fit:cover}
.listing-card-rich::before{content:"";position:absolute;inset:0 auto auto 0;width:100%;height:4px;background:linear-gradient(90deg,var(--promo-accent,#13294b),color-mix(in srgb,var(--promo-accent,#13294b) 20%,#fff));opacity:0}
.listing-card-rich.is-highlight::before,.listing-card-rich.is-premium::before,.home-listing-card.is-highlight::before,.home-listing-card.is-premium::before{opacity:1}
.listing-detail-page--exact .listing-side-card-exact{position:relative;overflow:hidden}
.listing-detail-page--exact .listing-side-card-exact::before{content:"";position:absolute;inset:0 auto auto 0;width:100%;height:4px;background:linear-gradient(90deg,var(--promo-accent,#13294b),color-mix(in srgb,var(--promo-accent,#13294b) 20%,#fff))}
.premium-admin-customer-box,.listing-contact-empty{display:flex;flex-direction:column;gap:6px}

.home-gallery--single{padding:20px 20px 18px;border-radius:20px;background:#fff;border:1px solid #d8e2ef;box-shadow:0 12px 26px rgba(16,40,79,.06)}
.home-gallery-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:14px}
.home-gallery-head h2{margin:0;font-size:18px;color:#1b2435}
.home-gallery-head p{margin:8px 0 0;color:#5f6f86;max-width:760px;line-height:1.45}
.home-gallery-cta{display:inline-flex;align-items:center;justify-content:center;padding:12px 18px;border-radius:14px;background:linear-gradient(135deg,#2f6fff,#5c8dff);color:#fff;font-weight:700;box-shadow:0 14px 28px rgba(47,111,255,.22);white-space:nowrap}
.home-gallery--single .home-gallery-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.home-gallery--single .gallery-card{border-radius:8px;border:1px solid #e0e6ef;box-shadow:0 4px 12px rgba(16,40,79,.06);overflow:hidden}
.home-gallery--single .gallery-card::before{height:0}
.home-gallery--single .gallery-card__media{aspect-ratio:1.45;background:#eef3f8;padding:8px}
.home-gallery--single .gallery-card__media img{border-radius:2px}
.home-gallery--single .gallery-card__body{gap:4px;padding:0 10px 10px}
.home-gallery--single .premium-badge-row{display:none}
.home-gallery--single .gallery-card__body h3{font-size:16px;line-height:1.2;font-weight:400;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.home-gallery--single .gallery-card__body h3 a{color:#2d2d2d}
.home-gallery--single .gallery-card__body p{font-size:14px;color:#777;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
.home-gallery--single .gallery-card__body strong{font-size:16px;color:#4c8c25}

/* Hotfix 6: blue homepage gallery with 4 side-by-side cards */
.home-gallery--blue{padding:8px 28px 20px;border-radius:30px;background:linear-gradient(180deg,#18315f 0%,#142a57 100%);border:0;box-shadow:none}
.home-gallery-head--simple{display:block;margin-bottom:16px}
.home-gallery-head--simple h2{margin:0;color:#fff;font-size:20px;font-weight:800;letter-spacing:-.01em}
.home-gallery-grid--blue{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.gallery-card--blue{background:#fff;border:1px solid rgba(219,228,239,.95);border-radius:14px;box-shadow:0 6px 18px rgba(6,17,38,.12);overflow:hidden}
.gallery-card--blue::before{display:none}
.gallery-card__media--blue{display:block;aspect-ratio:1.45;background:#eef2f7;padding:8px}
.gallery-card__media--blue img{width:100%;height:100%;object-fit:cover;border-radius:4px}
.gallery-card__body--blue{display:flex;flex-direction:column;gap:4px;padding:8px 10px 10px}
.gallery-card__body--blue h3{margin:0;font-size:15px;line-height:1.2;font-weight:400;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.gallery-card__body--blue h3 a{color:#2d2d2d;text-decoration:none}
.gallery-card__body--blue p{margin:0;font-size:14px;color:#7c8699;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
.gallery-card__body--blue strong{font-size:15px;line-height:1.2;color:#4c8c25;font-weight:800}

/* Top-only listing badges */
.home-listing-card .premium-badge-row,
.listing-card-rich .premium-badge-row,
.listing-side-card-exact .premium-badge-row{display:none !important;}

/* Category marketplace layout matching header width */
.category-market-page{width:100%;max-width:var(--page-width);margin:12px auto 24px;box-sizing:border-box}
.category-market-layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:18px;align-items:start}
.category-market-sidebar,.category-market-content{min-width:0}
.category-market-sidebar{position:sticky;top:14px}
.category-market-breadcrumb{margin:4px 0 12px;font-size:14px;color:#6f7f95}
.category-market-breadcrumb a{color:#2f6fff}
.category-market-intro{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 24px;margin-bottom:14px;border:1px solid #d7e0ea;border-radius:24px;background:linear-gradient(180deg,rgba(255,255,255,.96) 0%,rgba(248,251,255,.96) 100%);box-shadow:0 12px 30px rgba(16,40,79,.05)}
.category-market-intro__copy{display:flex;flex-direction:column;gap:8px;min-width:0}
.category-market-intro__eyebrow{font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#6c7d94}
.category-market-intro h1{margin:0;font-size:34px;line-height:1.04;color:#1b2435;letter-spacing:-.03em}
.category-market-intro p{margin:0;color:#5f6f86;font-size:16px}
.category-market-intro__action,.category-search-callout__action{display:inline-flex;align-items:center;justify-content:center;height:44px;padding:0 18px;border-radius:14px;background:#eaf2ff;color:#2f6fff;font-size:15px;font-weight:800;white-space:nowrap;border:1px solid #d6e2ff}
.category-search-callout{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:16px;align-items:center;padding:16px 18px;margin-bottom:16px;border:1px solid #d6dee9;border-radius:20px;background:#fff}
.category-search-callout__icon{width:52px;height:52px;display:inline-flex;align-items:center;justify-content:center;border-radius:16px;background:linear-gradient(135deg,#edf5ff,#dfeeff);color:#2f6fff;font-size:26px}
.category-search-callout__body{display:flex;flex-direction:column;gap:4px;min-width:0}
.category-search-callout__body strong{font-size:17px;color:#1b2435}
.category-search-callout__body span{font-size:14px;color:#5f6f86;line-height:1.45}
.category-filter-card{background:#f7f9fc;border:1px solid #d6dee9;border-radius:22px;padding:18px 16px 18px;box-shadow:0 10px 24px rgba(16,40,79,.04)}
.category-filter-section{padding:2px 4px 0}
.category-filter-title{font-size:18px;font-weight:800;color:#1b2435;margin:0 0 12px}
.category-link-list{display:flex;flex-direction:column;gap:10px}
.category-link-list a{display:flex;align-items:center;min-height:42px;padding:0 12px;border-radius:12px;color:#5d6f87;font-size:15px;line-height:1.3;border:1px solid transparent;transition:all .16s ease}
.category-link-list a:hover{background:#eef4ff;color:#2f6fff;border-color:#dbe6fb}
.category-link-list a.is-active{background:#eaf2ff;color:#2f6fff;font-weight:800;border-color:#d7e3fb}
.category-filter-divider{height:1px;background:#d6dee9;margin:16px 0 12px}
.category-filter-form{display:flex;flex-direction:column;gap:12px}
.category-filter-form label{display:flex;flex-direction:column;gap:7px}
.category-filter-form label>span,.category-sort-form label>span{font-size:13px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#6c7d94}
.category-filter-form select,.category-filter-form input,.category-filter-static,.category-sort-form select{height:48px;border:1px solid #cfd8e6;border-radius:14px;background:#fff;color:#2d3748;padding:0 14px;font-size:15px;box-shadow:none}
.category-filter-form select:focus,.category-filter-form input:focus,.category-sort-form select:focus{outline:none;border-color:#8fb0ff;box-shadow:0 0 0 4px rgba(47,111,255,.12)}
.category-filter-static{display:flex;align-items:center;background:#eef2f7;font-weight:700}
.category-price-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;width:100%}
.category-price-grid>label{min-width:0}
.category-price-grid input{width:100%;max-width:100%;box-sizing:border-box;min-width:0}
.category-filter-submit{width:100%;height:46px;border-radius:14px;font-size:16px;font-weight:700;margin-top:4px}
.category-results-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:14px}
.category-results-title-wrap{display:flex;flex-direction:column;gap:4px}
.category-results-title-wrap__eyebrow{font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#6c7d94}
.category-results-toolbar h2{margin:0;font-size:28px;line-height:1.1;color:#1b2435;letter-spacing:-.02em}
.category-sort-form label{display:flex;flex-direction:column;gap:7px;align-items:flex-start}
.category-sort-form select{min-width:290px;background:#fff}
.category-empty-state{display:flex;align-items:center;justify-content:center;min-height:120px;background:#fff;border:1px dashed #d6dee9;border-radius:24px;color:#2d3748;font-size:18px}
.category-results-list{display:grid;grid-template-columns:1fr;gap:2px}
.category-result-card{position:relative;display:grid !important;grid-template-columns:148px minmax(0,1fr);align-items:stretch !important;gap:0 !important;padding:0 !important;border-radius:16px !important;overflow:hidden;border:1px solid #d9e3ef;background:#fff;box-shadow:0 6px 16px rgba(17,42,92,.04)}
.category-result-card::before{height:0}
.category-result-thumb{width:148px;height:100%;min-height:136px;border-radius:0;background:#edf2f7;flex:0 0 148px}
.category-result-thumb img{width:100%;height:100%;object-fit:cover}
.category-result-body{display:flex;flex-direction:column;gap:8px;padding:12px 14px;min-width:0}
.category-result-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:12px;color:#72839b}
.category-result-meta span{display:inline-flex;align-items:center;gap:6px}
.category-result-meta span+span::before{content:"";display:block;width:4px;height:4px;border-radius:999px;background:#bcc8d7}
.category-result-body h3{margin:0;font-size:20px;line-height:1.15;letter-spacing:-.02em;min-width:0}
.category-result-body h3 a{color:#0f1624;overflow-wrap:anywhere;word-break:break-word}
.category-result-body h3 a:hover{color:#2f6fff}
.category-result-excerpt{margin:0;font-size:14px;line-height:1.4;color:#4d5e75;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-width:100%;min-width:0;overflow-wrap:anywhere;word-break:break-word;white-space:normal}
.category-result-tags{display:flex;flex-wrap:wrap;gap:6px}
.category-result-tags span{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border-radius:999px;background:#f4f7fb;border:1px solid #dbe3ee;color:#53647b;font-size:12px;font-weight:700}
.category-result-footer{display:flex;align-items:flex-end;justify-content:flex-start;gap:12px;margin-top:auto;padding-top:0}
.category-result-price{display:flex;flex-direction:column;gap:2px;min-width:0}
.category-result-price strong{font-size:18px;line-height:1.15;color:#2f7a2f;letter-spacing:-.01em;display:flex;flex-wrap:wrap;gap:6px;align-items:baseline}
.category-result-badge{position:absolute;top:10px;right:10px;display:inline-flex;align-items:center;justify-content:center;height:24px;padding:0 9px;border-radius:999px;background:#6b46ff;color:#fff;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;z-index:2}
.category-no-image,.category-no-image--result{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:linear-gradient(180deg,#eef2f6 0%,#dde4ee 100%);color:#7b8799;font-size:12px;border-radius:0;border:none;position:relative;text-align:center}
.category-no-image::before,.category-no-image--result::before{content:'';position:absolute;left:50%;top:50%;width:72px;height:52px;transform:translate(-50%,-65%);background:linear-gradient(135deg,#b8c3d4 38%,transparent 39%),linear-gradient(225deg,#9eacc2 38%,transparent 39%),radial-gradient(circle at 34px 14px,#c2ccd9 0 12px,transparent 13px);opacity:.95}
.category-no-image span,.category-no-image--result span{position:absolute;bottom:14px;left:0;right:0}

.admin-content .ads-subnav{margin:0 0 18px}
.admin-content .action-trigger{justify-content:flex-end;min-width:96px}
.category-browser-card{display:flex;flex-direction:column;gap:16px}
.category-browser-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap}
.category-browser-head h2{margin:0 0 6px}
.category-browser-breadcrumb{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:14px}
.category-browser-breadcrumb a{color:var(--accent)}
.category-browser-title{font-weight:700}
.category-browser-title a{color:var(--navy)}
.category-browser-count{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;padding:0 7px;border-radius:999px;background:#eef3fb;color:var(--navy);font-size:12px;font-weight:700}
.btn-lite--small{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;font-size:14px}

.category-toolbar{justify-content:flex-start}
.category-toolbar--top{margin-bottom:16px}
.category-toolbar--bottom{margin-top:16px}
.category-toolbar-actions{display:flex;justify-content:flex-start;align-items:center;gap:10px;margin-left:0}
.category-toolbar-actions--top button{min-width:auto}
.category-toolbar-actions--bottom select,.category-toolbar-actions--bottom button{min-width:140px}
.category-browser-card .action-col,.category-browser-card .table-actions{text-align:right}
.category-browser-card .action-menu{margin-left:auto}
.category-browser-card .action-trigger{justify-content:flex-end;min-width:124px}

/* report system + seller profiles */
.listing-side-button-exact--ghost{background:#fff7ed;border-color:#fed7aa;color:#b45309}
.listing-side-button-exact--ghost:hover{background:#ffedd5;border-color:#fdba74;color:#9a3412}
.listing-side-report-exact{appearance:none;width:100%;border:none;background:transparent;cursor:pointer;display:block;text-align:center;color:#255fe8;text-decoration:none;font-size:15px;font-weight:700;padding-top:2px}
.listing-share-modal--report .listing-share-modal__dialog{max-width:520px}
.report-listing-form{display:grid;gap:16px;padding:20px 22px 22px}
.report-listing-form label{display:grid;gap:8px;color:#334155;font-weight:700}
.report-listing-form select,.report-listing-form textarea{width:100%;border:1px solid #d4deec;border-radius:14px;background:#f8fbff;color:#1f2937;font:inherit;padding:14px 16px;outline:none;transition:border-color .18s ease,box-shadow .18s ease,background-color .18s ease}
.report-listing-form select:focus,.report-listing-form textarea:focus{border-color:#245fe9;box-shadow:0 0 0 4px rgba(36,95,233,.10);background:#fff}
.report-listing-form textarea{min-height:140px;resize:vertical}
.report-listing-form__check{grid-template-columns:auto 1fr;align-items:flex-start;gap:12px;font-weight:600}
.report-listing-form__check input{margin-top:3px}
.report-listing-form__hint{margin:0;color:#64748b;font-size:14px;line-height:1.6}
.report-listing-form__actions{display:flex;justify-content:flex-end;gap:12px;flex-wrap:wrap}

.seller-profile-page{display:grid;gap:20px}
.seller-profile-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:28px;border-radius:28px;background:linear-gradient(135deg,#fff,#f6fbff);border:1px solid #d7e3f0;box-shadow:0 16px 36px rgba(15,23,42,.06)}
.seller-profile-hero__identity{display:flex;align-items:center;gap:18px;min-width:0}
.seller-profile-hero__avatar{width:78px;height:78px;border-radius:999px;background:#dfe5ee;color:#172033;font-size:28px;font-weight:800;display:flex;align-items:center;justify-content:center;flex:0 0 78px}
.seller-profile-hero__eyebrow{margin:0 0 6px;color:#245fe9;font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.seller-profile-hero h1{margin:0;font-size:clamp(30px,4vw,42px);line-height:1.05;color:#16233d}
.seller-profile-hero__meta{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}
.seller-profile-hero .account-badge{background:#eef4ff;border-color:#c9d8ee;color:#16233d}
.seller-profile-hero .account-badge.is-success{background:#dcfce7;border-color:#bbf7d0;color:#166534}
.seller-profile-hero__actions{display:flex;align-items:center}
.seller-profile-section{padding:24px;border-radius:24px}
.seller-profile-section__head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}
.seller-profile-section__head h2{margin:0 0 8px;color:#16233d;font-size:26px}
.seller-profile-section__head p{margin:0;color:#64748b;line-height:1.6}

.admin-back-link{margin-bottom:16px}
.admin-back-link a{color:#245fe9;text-decoration:none;font-weight:700}
.admin-filter-grid--reports{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;align-items:end}
.admin-filter-grid--reports label{display:grid;gap:8px;color:#334155;font-weight:700}
.admin-filter-grid--reports input,.admin-filter-grid--reports select{width:100%;border:1px solid #d4deec;border-radius:14px;background:#f8fbff;color:#1f2937;font:inherit;padding:13px 14px}
.admin-filter-grid__actions{display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap}
.admin-table__subline{margin-top:6px;color:#6b778c;font-size:13px;line-height:1.5}
.report-case-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:24px;border-radius:26px}
.report-case-hero h1{margin:0 0 8px;font-size:30px;line-height:1.1;color:#16233d}
.report-case-hero__meta{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}
.report-case-layout{display:grid;grid-template-columns:minmax(0,1.2fr) 360px;gap:20px;align-items:start}
.report-case-main,.report-case-side{display:grid;gap:18px}
.report-case-block{padding:30px 22px 22px;border-radius:24px}
.report-case-block__head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px;padding-top:2px}
.report-case-block__head h2{margin:0 0 8px;color:#16233d;font-size:24px}
.report-case-block__head p{margin:0;color:#64748b;line-height:1.6}
.report-case-list,.report-case-history{display:grid;gap:10px}
.report-entry,.report-history-entry{display:flex;justify-content:space-between;gap:18px;padding:16px 18px;border:1px solid #e2e8f0;border-radius:18px;background:#fbfdff}
.report-entry{flex-direction:column}
.report-entry__top,.report-entry__meta{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}
.report-entry__meta{color:#64748b;font-size:14px}
.report-entry__empty{margin:0;color:#94a3b8;font-style:italic}
.seller-stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.seller-stat-grid__item{padding:16px 18px;border:1px solid #dbe4ef;border-radius:18px;background:#fff;display:grid;gap:6px}
.seller-stat-grid__item span{color:#64748b;font-weight:700}
.seller-stat-grid__item strong{font-size:26px;line-height:1.05;color:#172033}
.seller-stat-grid__item--alert{background:#fff7ed;border-color:#fed7aa}
.report-action-form{display:grid;gap:10px}
.report-action-form label{display:grid;gap:8px;color:#334155;font-weight:700}
.report-action-form select,.report-action-form textarea{width:100%;border:1px solid #d4deec;border-radius:14px;background:#f8fbff;color:#1f2937;font:inherit;padding:13px 14px}
.report-action-form textarea{min-height:130px;resize:vertical}
.report-action-form__buttons,.report-action-form__stack,.report-quick-links{display:grid;gap:10px}
.report-history-entry{align-items:flex-start}

.report-counter-badge{display:inline-grid;gap:2px;padding:8px 10px;border-radius:16px;border:1px solid #dbe5f0;background:#f8fbff;color:#1f2937;text-decoration:none;min-width:94px}
.report-counter-badge strong{font-size:15px;line-height:1}
.report-counter-badge span{font-size:12px;color:#64748b}
.report-counter-badge--active{background:linear-gradient(180deg,#fff8e8 0%,#fff2c9 100%);border-color:#f2d07b;color:#7a5200}
.report-counter-badge--empty{background:#f8fafc;border-color:#e2e8f0}
.priority-badge{display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;border-radius:999px;font-size:12px;font-weight:800;letter-spacing:.02em;border:1px solid transparent;box-shadow:inset 0 1px 0 rgba(255,255,255,.55),0 6px 18px rgba(15,23,42,.06)}
.priority-badge--low{background:linear-gradient(180deg,#f8fafc 0%,#eef2f7 100%);border-color:#d8e1ec;color:#4b5563}
.priority-badge--normal{background:linear-gradient(180deg,#eef6ff 0%,#dbeafe 100%);border-color:#bfd8ff;color:#1d4ed8}
.priority-badge--high{background:linear-gradient(180deg,#fff7ed 0%,#ffedd5 100%);border-color:#fdba74;color:#c2410c}
.priority-badge--urgent{background:linear-gradient(180deg,#fff1f2 0%,#ffe4e6 100%);border-color:#fda4af;color:#be123c}
.status-pill--report{border:1px solid transparent;box-shadow:inset 0 1px 0 rgba(255,255,255,.45)}
.status-pill--report-new{background:#eef6ff;color:#1d4ed8;border-color:#bfdbfe}
.status-pill--report-in_review{background:#fff8ea;color:#9a6a00;border-color:#efdba8}
.status-pill--report-action_required{background:#fff7ed;color:#c2410c;border-color:#fdba74}
.status-pill--report-resolved{background:#eef9f1;color:#0c7a39;border-color:#cdecd8}
.status-pill--report-rejected{background:#f8fafc;color:#475569;border-color:#dbe3ee}
.status-pill--report-escalated{background:#f5f3ff;color:#6d28d9;border-color:#ddd6fe}

/* compact spacing fix for reported listings views */
.admin-content{
  display:flex;
  flex-direction:column;
  gap:24px;
}
.admin-content > .card,
.admin-content > section.card,
.admin-content > article.card,
.admin-content > .admin-panel.card,
.admin-content > .admin-table-card,
.admin-content > .report-case-hero,
.admin-content > .report-case-layout{
  flex:0 0 auto;
  min-height:0 !important;
  height:auto !important;
}
.admin-panel.card,
.admin-table-card,
.report-case-hero,
.report-case-block{
  min-height:0 !important;
  height:auto !important;
}
.admin-panel__head{
  margin-bottom:18px;
}
.admin-panel__head > *:last-child,
.admin-panel__head p:last-child,
.admin-table-card .table-responsive,
.admin-table-card .table,
.report-case-block > *:last-child{
  margin-bottom:0;
}
.admin-table-card,
.report-case-block,
.report-case-hero{
  align-self:flex-start;
  width:100%;
}

.site-brand{display:flex;flex-direction:column;gap:2px;text-decoration:none;min-width:0}
.site-brand--center{align-items:center;text-align:center}
.site-brand--right{align-items:flex-end;text-align:right}
.site-brand-image{display:block;max-width:100%;object-fit:contain}

.logged-out-page{margin-top:18px;margin-bottom:24px}
.logged-out-card{width:100%;padding:34px 36px;border-radius:24px}
.logged-out-copy{max-width:760px}
.logged-out-copy h1{margin:14px 0 12px;color:var(--navy);font-size:42px;line-height:1.1}
.logged-out-copy p{margin:0;color:var(--muted);font-size:18px;line-height:1.65}
.logged-out-actions{margin-top:24px;gap:12px;flex-wrap:wrap}

.spam-protection-widget {
  margin: 1rem 0;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.26);
  background: rgba(248, 250, 252, 0.92);
}

.spam-protection-widget__head {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  margin-bottom: .85rem;
}

.spam-protection-widget__head strong {
  font-size: .98rem;
}

.spam-protection-widget__head span,
.spam-protection-widget__hint {
  color: #64748b;
  font-size: .92rem;
}

.spam-protection-widget__box {
  overflow: visible;
  display: inline-block;
  max-width: 100%;
}

.spam-protection-widget__box .g-recaptcha,
.spam-protection-widget__box .cf-turnstile {
  max-width: 100%;
}
.auth-register-grid--custom,.listing-dynamic-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.listing-dynamic-grid label{display:flex;flex-direction:column;gap:8px}
.listing-dynamic-grid__full{grid-column:1 / -1}
.listing-dynamic-grid input,.listing-dynamic-grid select,.listing-dynamic-grid textarea{width:100%;border:1px solid #d7dfea;border-radius:14px;padding:12px 14px;background:#fff}
.listing-checkbox-row{display:flex;align-items:center;gap:10px;min-height:52px;border:1px solid #d7dfea;border-radius:14px;padding:0 14px;background:#fff}
.listing-custom-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:22px}
.listing-custom-fields__item{padding:14px;border:1px solid #e3e8f0;border-radius:16px;background:#f8fbff;display:flex;flex-direction:column;gap:6px}
.listing-custom-fields__item span{font-size:13px;color:#667085}
.cookie-consent-open{overflow:hidden}
.cookie-consent{position:fixed;inset:0;z-index:1400;display:grid;place-items:end center;padding:20px}
.cookie-consent__backdrop{position:absolute;inset:0;background:rgba(15,23,42,.34);backdrop-filter:blur(2px)}
.cookie-consent__dialog{position:relative;z-index:1;width:min(100%,760px)}
.cookie-consent__content{padding:24px 26px;border:1px solid #d7dfeb;border-radius:24px;background:#fff;box-shadow:0 26px 64px rgba(15,23,42,.18)}
.cookie-consent__content--settings{max-width:640px;margin-left:auto}
.cookie-consent__eyebrow{margin-bottom:8px;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#66758f}
.cookie-consent__content h2{margin:0 0 10px;color:#172033;font-size:28px;line-height:1.15}
.cookie-consent__content p{margin:0;color:#66758f;font-size:15px;line-height:1.65}
.cookie-consent__actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}
.cookie-consent__option{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:18px 0;border-top:1px solid #e5ebf3}
.cookie-consent__option p{margin-top:6px}
.cookie-consent__badge{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 12px;border-radius:999px;background:#eef4ff;color:#1746a2;font-size:13px;font-weight:800;white-space:nowrap}
.cookie-consent__option--toggle{cursor:pointer}
.cookie-switch{position:relative;display:inline-flex;align-items:center;flex:0 0 auto}
.cookie-switch input{position:absolute;opacity:0;pointer-events:none}
.cookie-switch__slider{position:relative;display:inline-block;width:54px;height:32px;border-radius:999px;background:#d9e2ef;transition:background .2s ease}
.cookie-switch__slider::after{content:'';position:absolute;top:4px;left:4px;width:24px;height:24px;border-radius:50%;background:#fff;box-shadow:0 4px 10px rgba(15,23,42,.16);transition:transform .2s ease}
.cookie-switch input:checked + .cookie-switch__slider{background:#225ee9}
.cookie-switch input:checked + .cookie-switch__slider::after{transform:translateX(22px)}

/* notifications dropdown and page */
.notifications-dropdown{position:relative}
.notifications-trigger{width:42px;padding:0}
.notifications-menu{position:absolute;top:calc(100% + 10px);right:0;width:320px;max-width:calc(100vw - 28px);padding:0;background:#fff;border:1px dashed #d7e1ef;border-radius:16px;box-shadow:0 18px 42px rgba(15,23,42,.12);display:none;z-index:70;overflow:hidden}
.notifications-dropdown.is-open .notifications-menu{display:block}
.notifications-menu::before{content:"";position:absolute;top:-8px;right:17px;width:10px;height:10px;background:#fff;border-left:1px dashed #d7e1ef;border-top:1px dashed #d7e1ef;transform:rotate(45deg)}
.notifications-dropdown .notifications-menu__empty{
display:flex;align-items:center;justify-content:center;
min-height:92px;padding:20px 22px;text-align:center;
font-size:14px;line-height:1.25
}
.notifications-dropdown .notifications-menu__all{
display:flex;align-items:center;justify-content:center;text-align:center;
min-height:38px;padding:0 10px;color:#145dff;text-decoration:none;
font-size:13px;font-weight:600;line-height:1.2;width:100%;box-sizing:border-box
}
.notifications-menu__all:hover{background:#f7f9fc;text-decoration:underline}
.notifications-page-shell{width:100%;max-width:var(--page-width);margin:0 auto 24px;padding:0 var(--page-gutter) 8px;box-sizing:border-box}
.notifications-page-title{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin:6px 0 10px}
.notifications-page-title h1{margin:0;color:#111827;font-size:23px;line-height:1.05;font-weight:800}
.notifications-page-title p{margin:3px 0 0;color:#66758f;font-size:16px;line-height:1.2}
.notifications-back-link{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:0 16px;border-radius:10px;background:#f3f7ff;color:#145dff;text-decoration:none;font-weight:800}
.notifications-card{background:#fff;border:1px solid #d8e0ea;border-radius:16px;padding:14px;box-shadow:0 10px 24px rgba(17,42,92,.05)}
.notifications-card__head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:10px}
.notifications-card__head h2{margin:0;font-size:16px;line-height:1.2;color:#111827;font-weight:800}
.notifications-clear-form{margin:0}
.notifications-clear-button{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 16px;border:0;border-radius:9px;background:#1f2937;color:#fff;font:inherit;font-size:16px;font-weight:800;cursor:pointer}
.notifications-clear-button:hover{background:#111827}
.notifications-empty-state{display:flex;align-items:center;justify-content:center;min-height:78px;border:1px dashed #d7e1ef;border-radius:16px;color:#111827;text-align:center;font-size:16px;line-height:1.4}

/* Notification dropdown pixel fix */
.notifications-dropdown .notifications-menu__empty{
display:flex;align-items:center;justify-content:center;
min-height:92px;padding:20px 22px;text-align:center;
font-size:14px;line-height:1.25
}
.notifications-dropdown .notifications-menu__all{
display:flex;align-items:center;justify-content:center;text-align:center;
min-height:38px;padding:0 10px;color:#145dff;text-decoration:none;
font-size:13px;font-weight:600;line-height:1.2;width:100%;box-sizing:border-box
}

/* User message center */
.messages-card{background:#fff}
.messages-head{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}
.message-tabs{display:flex;gap:8px;flex-wrap:wrap}
.message-tabs a{display:inline-flex;align-items:center;min-height:40px;padding:9px 14px;border:1px solid var(--line);border-radius:999px;background:#fff;color:#445b7d;text-decoration:none;font-weight:700;font-size:14px}
.message-tabs a.is-active,.message-tabs a:hover{background:#eef5ff;color:#174b91;border-color:#bcd6ff;text-decoration:none}
.messages-toolbar{padding:0 24px 16px;margin:0;border-bottom:1px solid var(--line)}
.message-list{padding:8px 18px 18px;display:grid;gap:10px}
.message-item{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center;padding:14px;border:1px solid #e3ebf8;border-radius:18px;background:#fff;transition:background .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease}
.message-item:hover,.message-item.is-open{background:#f7fbff;border-color:#b9d3fb;box-shadow:0 10px 24px rgba(27,72,128,.08);transform:translateY(-1px)}
.message-select{width:18px;height:18px}
.message-summary{display:flex;align-items:center;gap:12px;min-width:0;text-decoration:none;color:var(--text)}
.message-summary strong{display:block;font-size:16px;color:#0f1f36;margin-bottom:4px}
.message-item.is-unread .message-summary strong{font-weight:800}
.message-item.is-unread{background:#f8fbff;border-color:#cfe1fb}
.message-summary small{display:block;color:#5d6f89;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:760px}
.message-dot{width:10px;height:10px;border-radius:50%;background:#3b82f6;flex:0 0 auto;box-shadow:0 0 0 4px rgba(59,130,246,.12)}
.message-dot-placeholder{width:10px;height:10px;flex:0 0 auto}
.message-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.btn-small{padding:7px 10px !important;border-radius:10px !important;font-size:13px !important;min-height:0 !important}
.message-detail{margin:0 18px 18px;padding:22px;border:1px solid #dbe7f8;box-shadow:0 16px 36px rgba(18,45,83,.08)}
.message-detail__head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:16px}
.message-detail__head p{margin:0 0 4px;color:#6b7b92;font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}
.message-detail__head h3{margin:0;color:#0f1f36;font-size:24px}
.message-detail__body{padding:18px;border-radius:16px;background:#f7f9fc;color:#1c2d44;line-height:1.7;white-space:normal}
.message-detail__actions,.message-form-actions{grid-column:1 / -1;display:flex;justify-content:flex-end;align-items:center;gap:10px;flex-wrap:wrap}
.message-reply-context{margin:18px 24px 0;padding:16px;border:1px solid #dbe7f8;border-radius:16px;background:#f7fbff;color:#1c2d44}
.message-reply-context p{margin:8px 0 0;color:#52657f;line-height:1.6}
.message-compose-form{padding-top:20px}
.message-empty{padding:30px 18px;text-align:center;color:#6b7b92;border:1px dashed #d6e2f2;border-radius:18px;background:#fbfdff}
.message-empty-trash-form{display:flex;justify-content:flex-end;padding:0 18px 18px}

.message-date{display:block;color:#6c7d94;font-size:12px;margin:0 0 3px}

.messages-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;background:#f8fbff;padding:14px 24px;border-top:1px solid var(--line)}
.messages-toolbar select{min-height:38px;border:1px solid #cfdcf0;border-radius:12px;background:#fff;color:#0f1f36;padding:0 34px 0 12px;font-weight:600}
.messages-toolbar .messages-apply-btn{min-width:104px;background:linear-gradient(135deg,var(--accent),#5c8dff) !important;border-color:transparent !important;color:#fff !important;font-weight:800;text-align:center;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;min-height:38px;padding:0 18px}
.messages-toolbar .messages-apply-btn:disabled{background:#d1d5db !important;border-color:#d1d5db !important;color:#6b7280 !important;opacity:1;cursor:not-allowed;filter:none;box-shadow:none}

.message-meta{
  display:flex;
  flex-wrap:wrap;
  gap:6px 12px;
  align-items:center;
  color:#526786;
  font-size:12px;
  margin:2px 0 3px;
}
.message-meta .message-date{display:inline;margin:0;color:inherit;font-size:inherit}
.message-detail__meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px 14px;
  color:#526786;
  font-size:13px;
  margin-top:4px;
}
.message-detail__meta .message-date{display:inline;margin:0;color:inherit;font-size:inherit}

/* Persistent user notifications */
.notifications-trigger{position:relative}
.notifications-badge{position:absolute;top:-7px;right:-7px;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#ef4444;color:#fff;font-size:11px;font-weight:800;line-height:18px;text-align:center;box-shadow:0 0 0 2px #fff}
.notifications-menu__list{display:grid;max-height:320px;overflow:auto;padding:6px}
.notifications-menu__item{display:grid;gap:3px;padding:10px 12px;border-radius:12px;color:#111827;text-decoration:none;font-size:13px;line-height:1.25}
.notifications-menu__item:hover{background:#f7f9fc;text-decoration:none}
.notifications-menu__item.is-unread{background:#eef5ff}
.notifications-menu__title{font-weight:800;color:#111827}
.notifications-menu__body{color:#66758f;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.notifications-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.notifications-clear-button--secondary{background:#eef5ff;color:#174b91}
.notifications-clear-button--secondary:hover{background:#dcecff}
.notifications-list{display:grid;gap:10px}
.notification-item{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:14px;border:1px solid #e3ebf8;border-radius:16px;background:#fff}
.notification-item.is-unread{background:#f7fbff;border-color:#b9d3fb}
.notification-item__content{display:grid;gap:4px;min-width:0}
.notification-item__title{font-weight:800;color:#111827;text-decoration:none}
.notification-item__title:hover{text-decoration:underline}
.notification-item__content p{margin:0;color:#4b5563;font-size:14px;line-height:1.4}
.notification-item__meta{color:#66758f;font-size:12px}
.notification-item__actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.notification-item__actions form{margin:0}
.notification-item__actions button{min-height:32px;padding:0 10px;border:1px solid #d8e0ea;border-radius:9px;background:#fff;color:#111827;font:inherit;font-size:13px;font-weight:800;cursor:pointer}
.notification-item__actions button:hover{background:#f7f9fc}

.message-attachments{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}.message-attachments img{width:120px;height:90px;object-fit:cover;border-radius:12px}.message-read-status{font-size:.9rem;opacity:.75}.quick-replies{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.verified-seller-badge{display:inline-flex;align-items:center;gap:4px;color:#117a37;font-weight:700}

/* user verification page polish */
.verification-user-page{display:flex;flex-direction:column;gap:18px}
.verification-hero{position:relative;overflow:hidden;align-items:center}
.verification-hero::after{content:"";position:absolute;right:-80px;top:-110px;width:260px;height:260px;border-radius:999px;background:rgba(255,255,255,.10);pointer-events:none}
.verification-hero__badge{position:relative;z-index:1;display:flex;flex-direction:column;gap:4px;align-items:flex-end;min-width:210px;padding:14px 16px;border-radius:18px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.2);color:#fff;text-align:right}
.verification-hero__badge span{display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:0 10px;border-radius:999px;background:rgba(248,113,113,.22);font-size:13px;font-weight:800}
.verification-hero__badge.is-active span{background:rgba(34,197,94,.25)}
.verification-hero__badge strong{font-size:13px;color:rgba(255,255,255,.86)}
.verification-stack{gap:20px}
.verification-card{border:1px solid #dbe5f1;box-shadow:0 18px 45px rgba(15,23,42,.06)}
.verification-section-head{background:linear-gradient(180deg,#fff,#fbfdff);padding:26px 28px 22px}
.verification-section-head h2{font-size:28px;margin-bottom:8px}
.verification-section-kicker{display:inline-flex;margin-bottom:8px;color:#245fe9;font-size:12px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}
.verification-status-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:24px 28px 28px}
.verification-status-card{display:flex;align-items:center;gap:10px;padding:18px;border-radius:20px;border:1px solid #e2eaf4;background:#f8fbff}
.verification-status-card__icon{display:flex;align-items:center;justify-content:center;flex:0 0 42px;width:42px;height:42px;border-radius:14px;background:#e8efff;color:#245fe9;font-size:14px;font-weight:900}
.verification-status-card strong{display:block;margin-bottom:4px;color:#172033;font-size:16px}
.verification-status-card span{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border-radius:999px;background:#fee2e2;color:#991b1b;font-size:13px;font-weight:800}
.verification-status-card.is-verified{background:#f0fdf4;border-color:#bbf7d0}
.verification-status-card.is-verified .verification-status-card__icon{background:#dcfce7;color:#166534}
.verification-status-card.is-verified span{background:#dcfce7;color:#166534}
.verification-request-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:26px 28px 28px}
.verification-field{display:flex;flex-direction:column;gap:8px}
.verification-field--full,.verification-form-actions{grid-column:1 / -1}
.verification-field span{font-size:14px;font-weight:800;color:#23324a}
.verification-field small{font-size:13px;line-height:1.45;color:#66758f}
.verification-field input,.verification-field select{width:100%;min-height:56px;padding:0 16px;border:1px solid #cfdbea;border-radius:18px;background:#f8fbff;color:#1f2937;font-size:15px;outline:none;transition:border-color .18s ease,box-shadow .18s ease,background-color .18s ease}
.verification-field input:focus,.verification-field select:focus{border-color:#245fe9;box-shadow:0 0 0 4px rgba(36,95,233,.10);background:#fff}
.verification-field input[type="file"]{display:flex;align-items:center;padding:14px;min-height:68px;cursor:pointer}
.verification-field[hidden]{display:none!important}
.verification-form-actions{display:flex;gap:12px;align-items:center;padding-top:4px}
.verification-form-actions .btn-primary{min-height:52px;padding:0 22px;border-radius:16px;font-weight:800;box-shadow:0 14px 28px rgba(36,95,233,.18)}
.verification-history-list{display:flex;flex-direction:column;gap:12px;padding:22px 28px 28px}
.verification-history-item{display:grid;grid-template-columns:1fr auto;gap:10px 16px;align-items:center;padding:16px;border-radius:18px;border:1px solid #e2eaf4;background:#f8fbff}
.verification-history-item strong{display:block;margin-top:8px;color:#475569;font-size:13px;font-weight:700}
.verification-history-item p{grid-column:1 / -1;margin:0;color:#66758f}
.verification-type-pill,.verification-status-pill{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:0 11px;border-radius:999px;font-size:13px;font-weight:900}
.verification-type-pill{background:#e0f2fe;color:#075985}
.verification-type-email{background:#dbeafe;color:#1e40af}
.verification-type-phone{background:#dcfce7;color:#166534}
.verification-type-identity,.verification-type-id{background:#fef3c7;color:#92400e}
.verification-status-pending{background:#fef3c7;color:#92400e}
.verification-status-approved{background:#dcfce7;color:#166534}
.verification-status-rejected{background:#fee2e2;color:#991b1b}
.verification-empty-state{padding:34px 28px;text-align:center;color:#66758f}
.verification-empty-state strong{display:block;margin-bottom:8px;color:#172033;font-size:18px}
.verification-empty-state p{margin:0}

/* Verification empty-state centering fix */
.verification-request-form > .verification-empty-state,
.verification-card > .verification-empty-state {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0 auto;
    padding: 42px 28px;
}
.verification-request-form > .verification-empty-state strong,
.verification-request-form > .verification-empty-state p,
.verification-card > .verification-empty-state strong,
.verification-card > .verification-empty-state p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
.verification-request-form > .verification-empty-state p,
.verification-card > .verification-empty-state p {
    max-width: 520px;
}

.onesignal-floating-widget {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
}

.onesignal-floating-button {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  color: #111827;
  font-weight: 700;
  font-size: .78rem;
  line-height: 1.2;
  text-align: center;
  text-shadow: 0 1px 2px rgba(255, 255, 255, .8);
  box-shadow: none;
  cursor: pointer;
  transition: transform .18s ease, opacity .18s ease;
}

.onesignal-floating-button:hover,
.onesignal-floating-button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.onesignal-floating-button:disabled {
  cursor: wait;
  opacity: .78;
}

.onesignal-floating-button.is-subscribed {
  background: transparent;
  color: #047857;
}

.onesignal-floating-button__icon {
  width: 3.25rem;
  height: 3.25rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  filter: drop-shadow(0 10px 22px rgba(15, 23, 42, .22));
}

.onesignal-floating-button__icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.onesignal-floating-button__text {
  display: block;
  max-width: 12rem;
}

.onesignal-floating-widget__status {
  max-width: min(18rem, calc(100vw - 2.5rem));
  border-radius: .9rem;
  padding: .65rem .8rem;
  background: rgba(17, 24, 39, .94);
  color: #fff;
  font-size: .82rem;
  box-shadow: 0 16px 36px rgba(15, 23, 42, .22);
}
.premium-cart-summary__total--stacked,.order-review__total--stacked{display:flex;flex-direction:column;align-items:stretch;gap:8px;min-width:0;width:100%;box-sizing:border-box}
.premium-cart-summary__total--stacked>div,.order-review__total--stacked>div{display:flex;justify-content:space-between;gap:18px;align-items:baseline;width:100%}
.premium-cart-summary__total--stacked>div:not(:last-child) strong,.order-review__total--stacked>div:not(:last-child) strong{font-size:16px;color:inherit}
.premium-cart-summary__total--stacked>div:last-child,.order-review__total--stacked>div:last-child{padding-top:8px;border-top:1px solid #d7e2ef}
.ads-alert-card{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 18px;padding:16px 18px;border:1px solid #ffdca8;border-radius:20px;background:#fff8ea;color:#654000}
.ads-alert-card div{display:grid;gap:4px}.ads-alert-card strong{font-size:16px;color:#3f2b00}.ads-alert-card span{color:#7a5b1a;line-height:1.45}.ads-alert-card .btn-secondary{white-space:nowrap;background:#fff;color:#654000;border-color:#f0c879;font-weight:800;text-decoration:none}
.ads-overview-card{transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.ads-overview-card:hover{transform:translateY(-2px);border-color:#cdd9ec;box-shadow:0 18px 38px rgba(10,25,55,.08)}.ads-overview-card em{font-style:normal;color:#255fe8;font-size:13px;font-weight:800;margin-top:auto}
.ads-kpi-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0}.ads-kpi-card{padding:18px;border:1px solid var(--line);border-radius:18px;background:#f8fafc}.ads-kpi-card span{display:block;color:var(--muted);font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.ads-kpi-card strong{display:block;margin-top:8px;color:var(--navy);font-size:28px;line-height:1}
.ads-dashboard-columns{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(280px,.9fr);gap:18px;margin-top:18px}.ads-panel{border:1px solid var(--line);border-radius:22px;background:#fff;padding:20px;box-shadow:0 12px 30px rgba(10,25,55,.04)}.ads-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:16px}.ads-panel-head h2{margin:0 0 5px;color:var(--navy);font-size:20px}.ads-panel-head p{margin:0;color:var(--muted);font-size:14px}.ads-panel-head a{color:#255fe8;font-weight:800;text-decoration:none;white-space:nowrap}.ads-mini-list{display:grid;gap:10px}.ads-mini-item{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px;border:1px solid #e4ebf5;border-radius:16px;background:#fbfdff}.ads-mini-item h3{margin:0 0 6px;color:var(--navy);font-size:16px}.ads-mini-item span{color:var(--muted);font-size:14px}.ads-mini-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}.ads-mini-actions a{color:#255fe8;font-weight:800;text-decoration:none}.ads-empty-box{display:grid;gap:10px;justify-items:start;padding:20px;border:1px dashed #d8e1ee;border-radius:18px;background:#f8fafc}.ads-empty-box strong{color:var(--navy)}.ads-empty-box span{color:var(--muted)}.ads-activity-list{display:grid;gap:12px}.ads-activity-item{display:grid;grid-template-columns:36px 1fr;gap:12px;align-items:start}.ads-activity-item>span{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:12px;background:#f1f5fb;color:#255fe8;font-weight:900}.ads-activity-item strong{display:block;color:var(--navy);margin-bottom:3px}.ads-activity-item small{color:var(--muted);line-height:1.4}

/* Final fix: Pages overview status badges in dark mode */
html.admin-theme-dark .admin-content .pages-admin-status.is-active{
    background: rgba(20, 184, 116, .22) !important;
    color: #86efac !important;
    border: 1px solid rgba(134, 239, 172, .38) !important;
    box-shadow: none !important;
}

html.admin-theme-dark .admin-content .pages-admin-status.is-inactive{
    background: rgba(244, 63, 94, .20) !important;
    color: #fda4af !important;
    border: 1px solid rgba(253, 164, 175, .38) !important;
    box-shadow: none !important;
}

html.admin-theme-dark .admin-content .pages-admin-status.is-active,
html.admin-theme-dark .admin-content .pages-admin-status.is-inactive{
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    opacity: 1 !important;
    font-weight: 900 !important;
    text-shadow: none !important;
}

html.admin-theme-dark .admin-content .pages-admin-status.is-active *,
html.admin-theme-dark .admin-content .pages-admin-status.is-inactive *{
    opacity: 1 !important;
    color: inherit !important;
    text-shadow: none !important;
    -webkit-text-fill-color: currentColor !important;
}

html.admin-theme-dark .admin-content .pages-admin-status.is-active span{
    background: #22c55e !important;
}

html.admin-theme-dark .admin-content .pages-admin-status.is-inactive span{
    background: #fb7185 !important;
}

.listing-autosave-status{display:inline-flex;align-items:center;gap:.5rem;margin:0 0 1rem 0;padding:.55rem .8rem;border:1px solid #dbeafe;border-radius:999px;background:#eff6ff;color:#1e3a8a;font-size:.9rem;font-weight:700}.listing-autosave-status__dot{width:.6rem;height:.6rem;border-radius:999px;background:currentColor;opacity:.65}.listing-autosave-status[data-state="saving"] .listing-autosave-status__dot{animation:autosavePulse 1s ease-in-out infinite}.listing-autosave-status[data-state="saved"],.listing-autosave-status[data-state="restored"]{border-color:#bbf7d0;background:#f0fdf4;color:#166534}.ads-views-count{display:inline-flex;align-items:center;justify-content:center;min-width:2.2rem;padding:.25rem .55rem;border-radius:999px;background:#f3f4f6;font-weight:700;color:#374151}@keyframes autosavePulse{0%,100%{opacity:.35;transform:scale(.9)}50%{opacity:1;transform:scale(1.12)}}

.listing-shipping-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0}.listing-shipping-box{display:flex;flex-direction:column;gap:8px;padding:16px;border:1px solid #e5e7eb;border-radius:18px;background:#fff;box-shadow:0 10px 28px rgba(15,23,42,.04)}.listing-shipping-box span{font-weight:700;color:#0f172a}.listing-shipping-box[hidden]{display:none}.category-shipping-filter{display:flex;flex-direction:column;gap:10px}.category-shipping-filter--after-provider{margin-top:0}.category-shipping-filter__title{font-size:13px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#6c7d94}.category-shipping-link{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border-radius:12px;background:#f8fafc;border:1px solid #e2e8f0;color:#0f172a;text-decoration:none;font-size:15px;font-weight:400}.category-shipping-link.active,.category-shipping-link:hover{border-color:#2563eb;background:#eff6ff}.category-shipping-link strong{min-width:28px;height:24px;border-radius:999px;background:#e2e8f0;display:inline-flex;align-items:center;justify-content:center;font-size:13px}

/* Align the views column farther to the right in the user ads table. */
@media (min-width: 901px){
  .ads-table th:nth-child(5),
  .ads-table td:nth-child(5){
    text-align:center;
    padding-left:72px;
  }
}

/* Fix customer ad overview table: prevent cramped wrapping and keep date/views/actions readable. */
.account-listings-table-wrap{
  width:100%;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}
.account-listings-table{
  table-layout:auto;
  min-width:780px;
}
.account-listings-table th,
.account-listings-table td{
  word-break:normal;
  overflow-wrap:normal;
}
.account-listings-table th:nth-child(1),
.account-listings-table td:nth-child(1){
  width:64px;
  white-space:nowrap;
}
.account-listings-table th:nth-child(2),
.account-listings-table td:nth-child(2){
  min-width:260px;
}
.account-listings-table td:nth-child(2) strong{
  display:block;
  max-width:420px;
  line-height:1.35;
  overflow-wrap:break-word;
  word-break:normal;
  hyphens:auto;
}
.account-listings-table th:nth-child(3),
.account-listings-table td:nth-child(3){
  width:130px;
  white-space:nowrap;
}
.account-listings-table th:nth-child(4),
.account-listings-table td:nth-child(4),
.account-listings-table th:nth-child(5),
.account-listings-table td:nth-child(5){
  width:120px;
  white-space:nowrap;
}
.account-listings-table th:nth-child(6),
.account-listings-table td:nth-child(6){
  width:100px;
  text-align:center;
  white-space:nowrap;
}
.account-listings-table th.action-col,
.account-listings-table td.action-col{
  width:150px;
  white-space:nowrap;
}

/* Customer ads table layout fix: keep title, date, views and action columns readable. */
.ads-list-card{
  overflow: visible;
}
.ads-table-wrap{
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.ads-table-wrap .ads-table{
  table-layout: auto !important;
  min-width: 820px;
}
.ads-table-wrap .ads-table th,
.ads-table-wrap .ads-table td{
  word-break: normal !important;
  overflow-wrap: normal !important;
  vertical-align: middle;
}
.ads-table-wrap .ads-table th:nth-child(1),
.ads-table-wrap .ads-table td:nth-child(1){
  width: 64px !important;
  white-space: nowrap;
}
.ads-table-wrap .ads-table th:nth-child(2),
.ads-table-wrap .ads-table td:nth-child(2){
  min-width: 240px;
  width: auto !important;
}
.ads-table-wrap .ads-table td:nth-child(2) strong{
  display: block;
  line-height: 1.35;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}
.ads-table-wrap .ads-table th:nth-child(3),
.ads-table-wrap .ads-table td:nth-child(3){
  width: 130px !important;
  white-space: nowrap;
}
.ads-table-wrap .ads-table th:nth-child(4),
.ads-table-wrap .ads-table td:nth-child(4){
  width: 130px !important;
  white-space: nowrap;
}
.ads-table-wrap .ads-table th:nth-child(5),
.ads-table-wrap .ads-table td:nth-child(5){
  width: 105px !important;
  padding-left: 16px !important;
  text-align: center;
  white-space: nowrap;
}
.ads-table-wrap .ads-table th.action-col,
.ads-table-wrap .ads-table td.action-col{
  width: 150px !important;
  text-align: right;
  white-space: nowrap !important;
}
.ads-table-wrap .ads-views-count{
  min-width: 2.4rem;
  white-space: nowrap;
}

/* Kundenmenü Anzeigen: fix table columns without inner scrollbar */
.ads-list-card {
  overflow: visible !important;
}

.ads-table-wrap {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: visible !important;
  overflow-y: visible !important;
}

.ads-table-wrap .ads-table {
  width: 100% !important;
  min-width: 0 !important;
  table-layout: fixed !important;
}

.ads-table-wrap .ads-table th,
.ads-table-wrap .ads-table td {
  box-sizing: border-box;
  vertical-align: middle;
  word-break: normal !important;
  overflow-wrap: normal !important;
}

.ads-table-wrap .ads-table th:nth-child(1),
.ads-table-wrap .ads-table td:nth-child(1) {
  width: 8% !important;
  white-space: nowrap;
}

.ads-table-wrap .ads-table th:nth-child(2),
.ads-table-wrap .ads-table td:nth-child(2) {
  width: 30% !important;
  min-width: 0 !important;
}

.ads-table-wrap .ads-table td:nth-child(2) strong {
  display: block;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
}

.ads-table-wrap .ads-table th:nth-child(3),
.ads-table-wrap .ads-table td:nth-child(3) {
  width: 16% !important;
  min-width: 0 !important;
  white-space: nowrap;
}

.ads-table-wrap .ads-table th:nth-child(4),
.ads-table-wrap .ads-table td:nth-child(4) {
  width: 16% !important;
  white-space: nowrap;
}

.ads-table-wrap .ads-table th:nth-child(5),
.ads-table-wrap .ads-table td:nth-child(5) {
  width: 14% !important;
  padding-left: 16px !important;
  text-align: center;
  white-space: nowrap;
}

.ads-table-wrap .ads-table th.action-col,
.ads-table-wrap .ads-table td.action-col {
  width: 16% !important;
  text-align: right;
  white-space: nowrap !important;
}

.ads-table-wrap .ads-status-pill {
  white-space: nowrap;
}

/* Fix action buttons on listing fields page: make the cancel link render like a proper button. */
.listing-form-actions--publish .listing-publish-action{
  min-height:36px;
  padding:0 16px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:8px;
  font-weight:700;
  line-height:1;
  text-decoration:none;
  box-sizing:border-box;
  appearance:none;
}
.listing-form-actions--publish .listing-publish-action.btn-secondary{
  background:#fff;
  border:1px solid #cbd5e1;
  color:#111827;
}
.listing-form-actions--publish .listing-publish-action.btn-secondary:hover{
  background:#f8fafc;
  color:#111827;
  text-decoration:none;
}
.listing-form-actions--publish .listing-publish-action--primary.btn-primary{
  border:1px solid #9ed321;
}

/* Kleinanzeigen-style category flyout in the global market search */
.market-field-category{position:relative;overflow:visible;z-index:40}
.market-category-trigger{width:100%;height:42px;border:0;background:transparent;padding:0 14px;display:flex;align-items:center;justify-content:space-between;gap:10px;color:#2f3745;font:inherit;font-size:14px;cursor:pointer;text-align:left}
.market-category-trigger span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.market-category-trigger__chevron{width:9px;height:9px;display:inline-block;flex:0 0 auto;border-right:1.6px solid #8a93a3;border-bottom:1.6px solid #8a93a3;transform:rotate(45deg) translateY(-2px);font-size:0;line-height:0;color:transparent;margin-right:2px}
.market-category-dropdown{display:none;position:absolute;top:calc(100% + 8px);left:0;min-width:252px;background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:8px;box-shadow:0 18px 46px rgba(15,23,42,.14);padding:0;z-index:1000}
.market-field-category.is-open .market-category-dropdown{display:block}
.market-category-menu{list-style:none;margin:0;padding:0;background:#fff;border-radius:8px}
.market-category-menu__item{position:relative;margin:0}
.market-category-menu__button{width:100%;min-height:36px;border:0;background:#fff;padding:0 10px 0 28px;display:flex;align-items:center;justify-content:space-between;gap:10px;color:#111827;font-size:14px;line-height:1.25;text-align:left;white-space:nowrap;cursor:pointer}
.market-category-menu__item:first-child>.market-category-menu__button{border-top-left-radius:8px;border-top-right-radius:8px}
.market-category-menu__item:last-child>.market-category-menu__button{border-bottom-left-radius:8px;border-bottom-right-radius:8px}
.market-category-menu__item:hover>.market-category-menu__button,.market-category-menu__item:focus-within>.market-category-menu__button,.market-category-menu__item.is-selected>.market-category-menu__button{background:#f3f2f0}
.market-category-menu__chevron{font-size:22px;line-height:1;color:#6b7280;margin-left:auto}
.market-category-menu--flyout{display:none;position:absolute;left:100%;top:0;min-width:248px;border:1px solid rgba(15,23,42,.08);border-radius:8px;box-shadow:0 18px 46px rgba(15,23,42,.14);padding:8px 0;z-index:1001}
.market-category-menu__item:hover>.market-category-menu--flyout,.market-category-menu__item:focus-within>.market-category-menu--flyout{display:block}

/* Make the radius dropdown chevron match the custom category chevron. */
.market-field-radius{position:relative;overflow:hidden}
.market-field-radius select{background-image:none!important;background:none!important;padding-right:38px!important}
.market-field-radius::after{content:"";position:absolute;right:17px;top:50%;width:9px;height:9px;border-right:1.6px solid #8a93a3;border-bottom:1.6px solid #8a93a3;transform:translateY(-65%) rotate(45deg);pointer-events:none;box-sizing:border-box}

.category-empty-results{display:grid;gap:12px;margin:0 0 24px}.category-empty-results__alert{background:#ffa437;color:#111827;border-radius:4px;padding:12px 18px;font-weight:800}.category-empty-results__body{background:#fff;border:1px solid #eef0f3;border-radius:2px;padding:18px 20px;color:#111827}.category-empty-results__body h3{margin:0 0 12px;font-size:16px;font-weight:850}.category-empty-results__actions{display:grid;gap:10px;margin:0 0 20px}.category-empty-results__action{display:inline-flex;align-items:center;gap:10px;width:max-content;max-width:100%;border:0;background:transparent;color:#1d7a18;text-decoration:none;font:inherit;font-size:15px;font-weight:650;padding:0;cursor:pointer}.category-empty-results__action:hover{text-decoration:underline}.category-empty-results__button{appearance:none}.category-empty-results__save{margin:0}.category-empty-results__icon{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;color:#248a1f;font-size:22px;line-height:1}.category-empty-results__tips{margin:0;padding-left:22px;color:#1f2937}.category-empty-results__tips li{margin:6px 0;line-height:1.45}

.market-field-keyword--voice{position:relative;display:flex;align-items:center}
.market-field-keyword--voice input{padding-right:142px}
.market-voice-search-button{position:absolute;right:4px;top:50%;transform:translateY(-50%);height:34px;display:inline-flex;align-items:center;gap:6px;border:0;border-radius:9px;background:#eef3ff;color:#1747b8;font-weight:700;font-size:13px;padding:0 10px;cursor:pointer;white-space:nowrap}
.market-voice-search-button:hover,.market-voice-search-button:focus{background:#dbe7ff;outline:none}
.market-voice-search-button.is-listening{background:#fff3d7;color:#8a4b00}
.market-voice-search-button__icon{font-size:15px;line-height:1;display:inline-flex}.market-voice-search-icon-img{width:18px;height:18px;display:block;color:currentColor}

/* Direct purchase customer UI */
.direct-buy-page{max-width:var(--page-width);margin:20px auto;padding:0 var(--page-gutter) 46px;background:transparent;box-sizing:border-box;}
.direct-buy-shell{display:grid;gap:18px;}
.direct-buy-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:28px 30px;border-radius:22px;background:linear-gradient(135deg,#0f2d55,#245996);color:#fff;box-shadow:0 18px 45px rgba(15,45,85,.16)}
.direct-buy-hero h1{margin:4px 0 8px;font-size:34px;line-height:1.1;color:#fff;letter-spacing:-.03em}
.direct-buy-hero p{margin:0;max-width:760px;color:rgba(255,255,255,.86);font-size:16px;line-height:1.55}
.direct-buy-kicker{display:inline-flex;align-items:center;gap:7px;text-transform:uppercase;letter-spacing:.09em;font-size:12px;font-weight:800;color:#6c7a90}
.direct-buy-hero .direct-buy-kicker{color:rgba(255,255,255,.68)}
.direct-buy-hero-badge,.direct-buy-status-pill{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:8px 13px;font-size:13px;font-weight:800;white-space:nowrap;background:rgba(255,255,255,.14);color:#fff;border:1px solid rgba(255,255,255,.22)}
.direct-buy-status-pill{background:#eef5ff;color:#1b4f91;border-color:#d8e8ff}
.direct-buy-status-pill.status-paid,.direct-buy-status-pill.status-held,.direct-buy-status-pill.status-delivered,.direct-buy-status-pill.status-completed,.direct-buy-status-pill.status-released{background:#e8f8ee;color:#146c36;border-color:#c7efd5}
.direct-buy-status-pill.status-pending_payment,.direct-buy-status-pill.status-pending{background:#fff7df;color:#90600d;border-color:#ffe6a8}
.direct-buy-status-pill.status-dispute,.direct-buy-status-pill.status-shipping_problem,.direct-buy-status-pill.status-refunded{background:#fff0f0;color:#a83c3c;border-color:#ffd2d2}
.direct-buy-layout{display:grid;grid-template-columns:minmax(280px,360px) 1fr;gap:18px;align-items:start}
.direct-buy-layout-order{grid-template-columns:1fr minmax(280px,340px)}
.direct-buy-panel{background:#fff;border:1px solid #d7e3f3;border-radius:20px;box-shadow:0 14px 34px rgba(15,45,85,.08);padding:24px;box-sizing:border-box;overflow:hidden}
.direct-buy-panel h2{margin:0 0 14px;font-size:22px;line-height:1.2;color:#0b1e37;letter-spacing:-.02em}
.direct-buy-item-title{font-size:18px;font-weight:850;color:#0b1e37;margin-bottom:16px;line-height:1.35}
.direct-buy-amounts{display:grid;gap:0;margin:0;padding:0;border-top:1px solid #edf2f8}
.direct-buy-amounts div{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:13px 0;border-bottom:1px solid #edf2f8}
.direct-buy-amounts dt,.direct-buy-detail-grid dt{margin:0;color:#637189;font-size:13px;font-weight:750}
.direct-buy-amounts dd,.direct-buy-detail-grid dd{margin:0;color:#0b1e37;font-weight:800;text-align:right;overflow-wrap:anywhere}
.direct-buy-amounts .total dt,.direct-buy-amounts .total dd{font-size:18px;color:#0b1e37}
.direct-buy-trust-box{margin-top:18px;padding:14px;border-radius:16px;background:#f1f7ff;border:1px solid #dcecff;color:#0b1e37;display:grid;gap:5px;line-height:1.45}
.direct-buy-trust-box span{color:#4e5b70;font-size:14px}
.direct-buy-form-panel .muted{margin:-6px 0 18px;color:#66758b}
.direct-buy-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 14px;margin:0}
.direct-buy-form-grid label,.direct-buy-problem-form label{display:grid;gap:7px;color:#1a2b43;font-weight:750;font-size:14px;line-height:1.3}
.direct-buy-form-grid input,.direct-buy-form-grid textarea,.direct-buy-problem-form textarea{width:100%;box-sizing:border-box;border:1px solid #cedbed;border-radius:12px;background:#fff;padding:12px 13px;font:inherit;color:#0b1e37;outline:none;transition:border-color .15s,box-shadow .15s}
.direct-buy-form-grid input:focus,.direct-buy-form-grid textarea:focus,.direct-buy-problem-form textarea:focus{border-color:#3b82f6;box-shadow:0 0 0 4px rgba(59,130,246,.12)}
.direct-buy-form-wide{grid-column:1/-1}
.direct-buy-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:2px}
.direct-buy-actions .btn-primary,.direct-buy-actions .btn-secondary,.direct-buy-full-btn{min-height:42px;border-radius:12px;padding:0 18px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font-weight:800;box-sizing:border-box}
.direct-buy-notice{margin:0}.direct-buy-section-title{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}.direct-buy-section-title h2{margin:0}.direct-buy-section-title strong{font-size:22px;color:#0b1e37;white-space:nowrap}.direct-buy-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0;padding:0}.direct-buy-detail-grid div{border:1px solid #edf2f8;background:#f8fbff;border-radius:14px;padding:12px 14px;display:grid;gap:5px}.direct-buy-detail-grid .wide{grid-column:1/-1}.direct-buy-detail-grid dd{text-align:left}.direct-buy-actions-panel{display:grid;gap:12px}.direct-buy-actions-panel form{margin:0}.direct-buy-full-btn{width:100%;min-height:44px}.direct-buy-problem-form{display:grid;gap:10px;margin-top:4px}.direct-buy-problem-form textarea{min-height:92px}.direct-buy-timeline-panel{margin-top:0}.direct-buy-timeline{list-style:none;margin:0;padding:0;display:grid;gap:0}.direct-buy-timeline li{display:grid;grid-template-columns:22px 1fr;gap:12px;position:relative;padding:0 0 18px}.direct-buy-timeline li:not(:last-child)::before{content:"";position:absolute;left:4px;top:17px;bottom:0;width:2px;background:#e2ebf7}.direct-buy-timeline-dot{width:10px;height:10px;border-radius:999px;background:#2563eb;box-shadow:0 0 0 5px #e7f0ff;margin-top:3px}.direct-buy-timeline strong{display:block;color:#0b1e37}.direct-buy-timeline small{color:#64748b}.direct-buy-timeline p{margin:8px 0 0;color:#334155;line-height:1.45}.direct-buy-bottom-actions{display:flex;justify-content:flex-start}.direct-buy-account-page{display:grid;gap:16px}.direct-buy-account-header{padding:24px}.direct-buy-account-header h1{margin:4px 0 0;font-size:30px;letter-spacing:-.03em}.direct-buy-empty-state{background:#fff;border:1px solid #d7e3f3;border-radius:20px;padding:28px;box-shadow:0 12px 30px rgba(15,45,85,.07)}.direct-buy-empty-state strong{display:block;font-size:20px;color:#0b1e37;margin-bottom:6px}.direct-buy-empty-state p{margin:0;color:#66758b}.direct-buy-order-list{display:grid;gap:10px}.direct-buy-order-card{display:grid;grid-template-columns:92px 1fr auto;gap:16px;align-items:center;padding:16px;background:#fff;border:1px solid #d7e3f3;border-radius:20px;box-shadow:0 12px 30px rgba(15,45,85,.07);text-decoration:none;color:inherit;transition:transform .15s,box-shadow .15s,border-color .15s}.direct-buy-order-card:hover{transform:translateY(-1px);box-shadow:0 18px 36px rgba(15,45,85,.11);border-color:#b9d0ee;text-decoration:none}.direct-buy-order-thumb{width:92px;height:92px;border-radius:16px;overflow:hidden;background:#f1f5f9;display:flex;align-items:center;justify-content:center;color:#64748b;font-size:12px;font-weight:800}.direct-buy-order-thumb img{width:100%;height:100%;object-fit:cover}.direct-buy-order-info h3{margin:0 0 8px;font-size:18px;color:#0b1e37}.direct-buy-order-meta{display:flex;flex-wrap:wrap;gap:8px 14px;color:#5d6b80;font-size:14px}.direct-buy-order-side{display:grid;justify-items:end;gap:10px}.direct-buy-order-side strong{font-size:18px;color:#0b1e37;white-space:nowrap}

/* Direct-buy listing sidebar button alignment */
.listing-side-card-exact form[action*="direct-purchase-checkout"]{margin:0;display:block;width:100%;}
.listing-side-card-exact form[action*="direct-purchase-checkout"] .listing-side-button-exact{width:100%;}

.listing-buyer-protection-box{
  width:100%;
  min-height:82px;
  border:1px solid #88d06d;
  border-radius:18px;
  background:linear-gradient(90deg,#e3f3da 0,#e3f3da 104px,#fbfef6 104px,#fbfef6 100%);
  display:grid;
  grid-template-columns:104px minmax(0,1fr) 1px auto 28px;
  align-items:center;
  gap:22px;
  padding:0 20px 0 0;
  box-shadow:none;
  cursor:pointer;
  text-align:left;
  transition:background .18s ease,border-color .18s ease,transform .18s ease;
}
.listing-buyer-protection-box:hover{background:linear-gradient(90deg,#dcedd3 0,#dcedd3 104px,#f6fde9 104px,#f6fde9 100%)}
.listing-buyer-protection-icon{height:100%;display:flex;align-items:center;justify-content:center;background:rgba(224,242,212,.52);position:relative}
.listing-buyer-protection-icon::before{content:"";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:46px;height:46px;border-radius:999px;background:rgba(255,255,255,.76)}
.listing-buyer-protection-shield{position:relative;z-index:1;width:30px;height:34px;display:block;color:#3b8a34}
.listing-buyer-protection-copy{display:grid;gap:4px;min-width:0;padding:8px 0}
.listing-buyer-protection-title{display:block;font-weight:900;font-size:clamp(14px,1.55vw,20px);line-height:1.05;letter-spacing:-.03em;color:#1f5f22;white-space:normal}
.listing-buyer-protection-fee{display:block;font-size:clamp(12px,1.15vw,15px);line-height:1.15;color:#202124;letter-spacing:-.02em}.listing-buyer-protection-fee strong{color:#2f8a34}
.listing-buyer-protection-divider{width:1px;height:34px;background:#cfe6c5;display:block}
.listing-buyer-protection-cards{display:flex;align-items:center;gap:8px;white-space:nowrap;min-width:max-content}
.listing-buyer-protection-visa-img{width:60px;height:28px;display:block}
.listing-buyer-protection-mastercard-img{width:44px;height:28px;display:block}
.listing-buyer-protection-info{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;color:#2f8a34;justify-self:end}
.listing-buyer-protection-info-img{width:22px;height:22px;display:block;color:#2f8a34}
.listing-detail-exact > .listing-buyer-protection-box{grid-column:1;margin:0}
.buyer-protection-modal[hidden]{display:none}
.buyer-protection-modal{position:fixed;inset:0;z-index:2000;display:flex;justify-content:flex-end}
.buyer-protection-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.36)}
.buyer-protection-dialog{position:relative;width:min(520px,calc(100vw - 28px));height:100%;background:#fff;padding:28px 28px 24px;box-shadow:-18px 0 44px rgba(15,23,42,.18);overflow:auto;color:#0f172a}
.buyer-protection-dialog h2{font-size:24px;line-height:1.2;margin:0 44px 28px 0}
.buyer-protection-close{position:absolute;right:22px;top:18px;border:0;background:transparent;color:#39751d;font-size:34px;line-height:1;cursor:pointer}
.buyer-protection-safe{width:86px;height:86px;margin:0 auto 28px;border-radius:18px;background:#dce7ee;display:flex;align-items:center;justify-content:center;color:#657885;font-size:38px;box-shadow:inset 0 0 0 4px #b8c6d0}
.buyer-protection-dialog p{font-size:15px;line-height:1.55;margin:0 0 18px}
.buyer-protection-dialog ul{list-style:none;padding:0;margin:0 0 28px;display:grid;gap:10px}
.buyer-protection-dialog li{position:relative;padding-left:32px;font-size:15px;line-height:1.45}
.buyer-protection-dialog li::before{content:'';position:absolute;left:0;top:.1em;width:1em;height:1em;background:#3d7b26;-webkit-mask:url('/images/icons/check.svg') center/contain no-repeat;mask:url('/images/icons/check.svg') center/contain no-repeat}
.buyer-protection-dialog-close{margin-left:auto;min-width:104px;border-color:#9da08f;color:#2d5c1a;font-weight:800}
html.buyer-protection-open{overflow:hidden}

/* compact listing info card, matching the ad card style */
.listing-info-card-exact{
  padding:22px 24px 20px;
  border:1px solid #dbe3ef;
  border-radius:22px;
  box-shadow:0 10px 30px rgba(15,35,70,.04);
}
.listing-info-head-exact{align-items:flex-start;gap:18px}
.listing-info-copy-exact h1{
  margin:0 0 8px;
  font-size:clamp(28px,3vw,34px);
  line-height:1.08;
  letter-spacing:-.02em;
  color:#12203a;
  font-weight:900;
  text-transform:uppercase;
}
.listing-info-price-exact{
  margin:0 0 10px;
  font-size:clamp(24px,2.5vw,30px);
  line-height:1.15;
  color:#14213f;
  font-weight:900;
  letter-spacing:.01em;
}
.listing-info-shipping-price-exact{font-size:.9em;font-weight:850;color:#14213f}
.listing-info-location-exact{
  display:flex;
  align-items:center;
  gap:6px;
  font-size:17px;
  line-height:1.35;
  color:#65738c;
  font-weight:600;
}
.listing-info-location-exact span{font-size:18px;color:#65738c;line-height:1}
.listing-info-id-exact{
  padding:12px 20px;
  border:1px solid #d4ddea;
  border-radius:16px;
  background:#f8fbff;
  color:#14213f;
  font-size:16px;
  line-height:1;
  font-weight:850;
  box-shadow:0 1px 2px rgba(15,35,70,.03);
}
.listing-info-meta-exact{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
  margin-top:16px;
  padding-top:18px;
  border-top:1px solid #dbe3ef;
}
.listing-info-meta-item-exact{display:grid;gap:8px;min-width:0}
.listing-info-meta-item-exact strong{
  color:#12203a;
  font-size:16px;
  line-height:1.25;
  font-weight:900;
}
.listing-info-meta-item-exact span{
  color:#263149;
  font-size:16px;
  line-height:1.25;
  font-weight:500;
}

.two-factor-card {
  overflow: hidden;
}
.two-factor-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
}
.two-factor-card__header h2 {
  margin: 0 0 .35rem;
}
.two-factor-card__header p {
  margin: 0;
  color: #475569;
}
.two-factor-card__eyebrow {
  margin: 0 0 .35rem !important;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #2563eb !important;
}
.two-factor-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: .45rem .8rem;
  font-size: .85rem;
  font-weight: 700;
  white-space: nowrap;
}
.two-factor-badge.is-enabled {
  color: #166534;
  background: #dcfce7;
}
.two-factor-badge.is-disabled {
  color: #92400e;
  background: #fef3c7;
}
.two-factor-setup {
  display: grid;
  grid-template-columns: minmax(190px, 240px) minmax(260px, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}
.two-factor-qr-box,
.two-factor-form,
.two-factor-enabled-box,
.two-factor-apps {
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  background: #fff;
}
.two-factor-qr-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-shadow: inset 0 0 0 1px #f8fafc;
}
.two-factor-qr-box img {
  width: 100%;
  max-width: 210px;
  height: auto;
  image-rendering: pixelated;
}
.two-factor-qr-box small {
  margin-top: .75rem;
  color: #64748b;
  font-weight: 600;
  text-align: center;
}
.two-factor-form {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
}
.two-factor-form h3,
.two-factor-form p {
  margin: 0;
}
.two-factor-form p {
  color: #475569;
}
.two-factor-form label {
  display: grid;
  gap: .45rem;
  font-weight: 700;
}
.two-factor-form input {
  width: 100%;
  max-width: 220px;
  border-radius: 12px;
  font-size: 1.25rem;
  letter-spacing: .25em;
  text-align: center;
}
.two-factor-form button {
  justify-self: start;
}
.two-factor-enabled-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem;
}
.two-factor-enabled-box p {
  margin: 0;
  color: #166534;
  font-weight: 700;
}
.two-factor-apps {
  margin-top: 1.5rem;
  padding: 1rem;
}
.two-factor-app-links {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: .75rem;
}
.two-factor-app-links a {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: .5rem .75rem;
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 700;
  text-decoration: none;
}
.two-factor-app-links a:hover {
  background: #dbeafe;
}

.account-security-status{display:inline-flex;align-items:center;border-radius:999px;padding:.4rem .7rem;font-size:.85rem;font-weight:800;line-height:1;background:#f1f5f9;color:#475569}
.account-security-status.is-enabled{background:#dcfce7;color:#166534}
.account-security-status.is-disabled{background:#fef3c7;color:#92400e}
.account-page-header--security{border-top:3px solid #2563eb}
.two-factor-page-card{padding:0;overflow:hidden}
.two-factor-page-grid{display:grid;grid-template-columns:minmax(260px,42%) 1fr;gap:0;min-height:420px}
.two-factor-scan-panel,.two-factor-activation-panel{padding:34px 36px}.two-factor-scan-panel{border-right:1px solid #e5e7eb;background:linear-gradient(180deg,#fff,#f8fbff)}
.two-factor-scan-panel h2,.two-factor-activation-panel h2,.two-factor-active-state h2{margin:0 0 12px;color:#071a3a;font-size:24px}.two-factor-scan-panel p,.two-factor-activation-panel p,.two-factor-active-state p{margin:0;color:#3b4b68;line-height:1.55}
.two-factor-qr-frame{display:flex;align-items:center;justify-content:center;width:min(100%,300px);margin:28px auto 0;padding:20px;border:1px solid #dbe4f0;border-radius:20px;background:#fff;box-shadow:0 12px 30px rgba(15,23,42,.06)}
.two-factor-qr-frame img{width:100%;max-width:240px;height:auto;image-rendering:pixelated}
.two-factor-activation-panel{display:grid;align-content:center;gap:20px;background:#fff}.two-factor-activation-panel label,.two-factor-disable-form label{display:grid;gap:8px;font-weight:800;color:#071a3a}.two-factor-activation-panel input,.two-factor-disable-form input{width:100%;min-height:56px;border:1px solid #cbd7ea;border-radius:16px;background:#fff;padding:0 18px;font-size:18px}.two-factor-activation-panel input[name=two_factor_code]{max-width:320px;text-align:center;letter-spacing:.35em;font-size:24px}.two-factor-activation-panel button{justify-self:start;min-height:54px;border-radius:16px;padding:0 22px}.two-factor-active-state{padding:34px 36px;background:linear-gradient(135deg,#ecfdf5,#fff);border-bottom:1px solid #d6f3e0}.two-factor-disable-form{display:grid;gap:18px;max-width:460px;padding:28px 36px}.two-factor-disable-form button{justify-self:start}.two-factor-app-card{overflow:hidden}.two-factor-app-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;padding:0 28px 28px}.two-factor-app-grid a{display:grid;gap:8px;min-height:82px;padding:18px;border:1px solid #dbe4f0;border-radius:16px;background:#fff;color:#071a3a;font-weight:900;text-decoration:none;box-shadow:0 8px 20px rgba(15,23,42,.04)}.two-factor-app-grid a:hover{border-color:#2563eb;box-shadow:0 12px 28px rgba(37,99,235,.12)}.two-factor-app-grid span{display:inline-flex;width:max-content;border-radius:999px;padding:.3rem .55rem;background:#eff6ff;color:#1d4ed8;font-size:.78rem;font-weight:800}

/* 2FA clean style override */
.two-factor-card,
.two-factor-card__header,
.two-factor-setup,
.two-factor-qr-box,
.two-factor-form,
.two-factor-enabled-box{
  box-shadow:none !important;
  outline:none !important;
}

.two-factor-card{
  border:1px solid #e5e7eb !important;
  border-radius:24px !important;
  background:#fff !important;
}

.two-factor-card::before,
.two-factor-card::after{
  display:none !important;
  content:none !important;
}

/* 2FA customer page: remove the unwanted light-blue top outline/glow completely */
.account-main .account-page-header.account-page-header--security,
.account-main section.account-page-header.card.account-page-header--security{
  border-top:0 !important;
  border-color:transparent !important;
  outline:0 !important;
  box-shadow:0 18px 40px rgba(16,40,79,.16) !important;
}
.account-main .account-page-header.account-page-header--security::before,
.account-main .account-page-header.account-page-header--security::after{
  display:none !important;
  content:none !important;
}

.listing-legal-field{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:16px;align-items:start;margin-top:14px}
.listing-legal-field label{display:grid;gap:6px}
.listing-legal-field textarea{width:100%;min-height:150px;resize:vertical}
.listing-legal-field .note{margin:28px 0 0;font-size:13px;line-height:1.45;color:#6c6c6c;font-style:italic}
.listing-legal-card-exact{grid-column:1 / 2;background:#fff;border:1px solid #d5dde8;border-radius:20px;margin:0;overflow:hidden}
.listing-legal-card-exact summary{display:block;cursor:pointer;padding:16px 18px;color:#427a00;font-weight:700;list-style:none}
.listing-legal-card-exact summary::-webkit-details-marker{display:none}
.listing-legal-card-exact summary::after{content:'';float:right;width:1em;height:1em;background:#6d7480;-webkit-mask:url('/images/icons/plus.svg') center/contain no-repeat;mask:url('/images/icons/plus.svg') center/contain no-repeat}
.listing-legal-card-exact[open] summary{border-bottom:1px solid #edf1f6}
.listing-legal-card-exact[open] summary::after{content:'';width:1em;height:1em;background:currentColor;-webkit-mask:url('/images/icons/minus.svg') center/contain no-repeat;mask:url('/images/icons/minus.svg') center/contain no-repeat}
.listing-legal-card-exact__body{padding:16px 18px;white-space:normal;color:#172033;line-height:1.55}

/* Improved account empty states: saved searches, following and favorites */
.account-main > .empty-state-panel,
.users-panel .empty-state-panel{
  position:relative;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  min-height:260px;
  padding:54px 28px 58px;
  border:1px solid rgba(122,142,172,.22);
  border-radius:28px;
  background:
    radial-gradient(circle at 50% 0%, rgba(31,162,70,.09), transparent 34%),
    linear-gradient(180deg,#ffffff 0%,#fbfdff 100%);
  box-shadow:0 20px 50px rgba(16,40,79,.08);
}
.account-main > .empty-state-panel::before,
.users-panel .empty-state-panel::before{
  content:"";
  width:58px;
  height:58px;
  margin:0 0 18px;
  border-radius:22px;
  display:block;
  background:linear-gradient(135deg,#e8f7ee 0%,#f4fbf7 100%);
  box-shadow:inset 0 0 0 1px rgba(31,162,70,.12),0 14px 30px rgba(31,162,70,.12);
}
.empty-state-panel--saved-searches::after,
.empty-state-panel--favorites::after,
.empty-state-panel--users::after{
  position:absolute;
  top:68px;
  left:50%;
  transform:translateX(-50%);
  font-size:25px;
  line-height:1;
  pointer-events:none;
}



.account-main > .empty-state-panel h2,
.users-panel .empty-state-panel h2{
  max-width:640px;
  margin:0 0 10px;
  font-size:clamp(24px,3vw,30px);
  letter-spacing:-.02em;
}
.account-main > .empty-state-panel p,
.users-panel .empty-state-panel p{
  max-width:620px;
  margin:0 0 24px;
  color:#63718a;
  line-height:1.65;
}
.empty-state-panel .btn-primary--success{
  min-height:52px;
  padding:0 24px;
  border-radius:16px;
  background:linear-gradient(135deg,#19a44b 0%,#138b3e 100%);
  box-shadow:0 16px 32px rgba(25,164,75,.20);
  transform:translateY(0);
  transition:transform .18s ease,box-shadow .18s ease,filter .18s ease;
}
.empty-state-panel .btn-primary--success:hover,
.empty-state-panel .btn-primary--success:focus-visible{
  transform:translateY(-2px);
  box-shadow:0 20px 38px rgba(25,164,75,.25);
  filter:saturate(1.04);
}
.users-panel .empty-state-panel--embedded{
  min-height:238px;
  border-radius:0;
  box-shadow:none;
  background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);
}

/* Fix CTA rendering in account empty states */
.empty-state-panel .btn-primary--success,
.account-main .empty-state-panel .btn-primary--success,
.users-panel .empty-state-panel .btn-primary--success{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:52px;
  height:auto;
  padding:0 24px;
  line-height:1.2;
  vertical-align:middle;
  text-align:center;
  white-space:nowrap;
  box-sizing:border-box;
  text-decoration:none;
}
/* profile_picture_upload_plugin_styles */
.profile-picture-upload-card{overflow:hidden;border-radius:22px;padding-bottom:18px!important}
.profile-picture-upload-card .account-section-head{padding:22px 24px 14px!important;margin:0 0 18px!important;border-bottom:1px solid #e4ebf4!important;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%)}
.profile-picture-upload-card .account-section-head h2{font-size:30px!important;line-height:1.2!important;margin:0 0 8px!important;color:#0f1f35!important;letter-spacing:-.025em;font-weight:700!important;font-family:inherit!important}
.profile-picture-upload-card .account-section-head p{margin:0!important;color:#52647d!important;font-size:16px!important;line-height:1.45!important;font-weight:400!important;font-family:inherit!important}
.profile-picture-upload-form{padding:0 24px!important}
.profile-picture-upload-layout{display:grid;grid-template-columns:minmax(210px,260px) minmax(0,1fr);gap:22px;align-items:stretch}
.profile-picture-upload-current{display:flex;align-items:center;gap:14px;padding:16px;border:1px solid #e0e8f2;border-radius:18px;background:#f8fbff;min-width:0}
.profile-picture-upload-preview{width:72px;height:72px;border-radius:999px;background:linear-gradient(135deg,#18345c,#0f1f35);color:#fff;font-size:24px;font-weight:700;display:flex;align-items:center;justify-content:center;overflow:hidden;box-shadow:0 10px 22px rgba(15,23,42,.14);flex:0 0 72px;border:3px solid #fff}
.profile-picture-upload-preview img,.profile-picture-listing-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.profile-picture-upload-current-text{min-width:0;display:flex;flex-direction:column;gap:4px;color:#16263d}
.profile-picture-upload-current-text strong{font-size:14px;line-height:1.25;color:#142238;font-weight:400}
.profile-picture-upload-current-text small{font-size:13px;line-height:1.35;color:#60718a;font-weight:400}
.profile-picture-upload-main{min-width:0;display:flex;flex-direction:column;gap:10px;justify-content:center;padding:16px;border:1px solid #e0e8f2;border-radius:18px;background:#fff}
.profile-picture-upload-input{display:flex;flex-direction:column;gap:8px;margin:0;font-weight:400;color:#16263d}
.profile-picture-upload-input input[type="file"]{width:100%;border:1px solid #d6e1ee;border-radius:12px;background:#fdfefe;padding:10px;color:#172033;box-sizing:border-box;min-height:44px}
.profile-picture-upload-help{margin:0!important;font-size:13px!important;font-weight:400!important;color:#52647d!important;line-height:1.4!important}
.profile-picture-upload-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:4px}
.profile-picture-upload-actions .btn-primary,.profile-picture-upload-actions .btn-secondary{min-height:42px;border-radius:12px;padding:0 18px;display:inline-flex;align-items:center;justify-content:center;font-weight:600}
.profile-picture-listing-avatar,.profile-picture-seller-avatar{overflow:hidden}
.profile-picture-seller-avatar img{width:100%;height:100%;object-fit:cover;display:block}
/* profile_picture_upload_plugin_styles */
.profile-picture-upload-card{overflow:hidden;border-radius:22px;padding-bottom:18px!important}
.profile-picture-upload-card .account-section-head{padding:22px 24px 14px!important;margin:0 0 18px!important;border-bottom:1px solid #e4ebf4!important;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%)}
.profile-picture-upload-card .account-section-head h2{font-size:30px!important;line-height:1.2!important;margin:0 0 8px!important;color:#0f1f35!important;letter-spacing:-.025em;font-weight:700!important;font-family:inherit!important}
.profile-picture-upload-card .account-section-head p{margin:0!important;color:#52647d!important;font-size:16px!important;line-height:1.45!important;font-weight:400!important;font-family:inherit!important}
.profile-picture-upload-form{padding:0 24px!important}
.profile-picture-upload-layout{display:grid;grid-template-columns:minmax(210px,260px) minmax(0,1fr);gap:22px;align-items:stretch}
.profile-picture-upload-current{display:flex;align-items:center;gap:14px;padding:16px;border:1px solid #e0e8f2;border-radius:18px;background:#f8fbff;min-width:0}
.profile-picture-upload-preview{width:72px;height:72px;border-radius:999px;background:linear-gradient(135deg,#18345c,#0f1f35);color:#fff;font-size:24px;font-weight:700;display:flex;align-items:center;justify-content:center;overflow:hidden;box-shadow:0 10px 22px rgba(15,23,42,.14);flex:0 0 72px;border:3px solid #fff}
.profile-picture-upload-preview img,.profile-picture-listing-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.profile-picture-upload-current-text{min-width:0;display:flex;flex-direction:column;gap:4px;color:#16263d}
.profile-picture-upload-current-text strong{font-size:14px;line-height:1.25;color:#142238;font-weight:400}
.profile-picture-upload-current-text small{font-size:13px;line-height:1.35;color:#60718a;font-weight:400}
.profile-picture-upload-main{min-width:0;display:flex;flex-direction:column;gap:10px;justify-content:center;padding:16px;border:1px solid #e0e8f2;border-radius:18px;background:#fff}
.profile-picture-upload-input{display:flex;flex-direction:column;gap:8px;margin:0;font-weight:400;color:#16263d}
.profile-picture-upload-input input[type="file"]{width:100%;border:1px solid #d6e1ee;border-radius:12px;background:#fdfefe;padding:10px;color:#172033;box-sizing:border-box;min-height:44px}
.profile-picture-upload-help{margin:0!important;font-size:13px!important;font-weight:400!important;color:#52647d!important;line-height:1.4!important}
.profile-picture-upload-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:4px}
.profile-picture-upload-actions .btn-primary,.profile-picture-upload-actions .btn-secondary{min-height:42px;border-radius:12px;padding:0 18px;display:inline-flex;align-items:center;justify-content:center;font-weight:600}
.profile-picture-listing-avatar,.profile-picture-seller-avatar{overflow:hidden}
.profile-picture-seller-avatar img{width:100%;height:100%;object-fit:cover;display:block}
/* profile_picture_upload_plugin_styles */
.profile-picture-upload-card{overflow:hidden;border-radius:22px;padding-bottom:18px!important}
.profile-picture-upload-card .account-section-head{padding:22px 24px 14px!important;margin:0 0 18px!important;border-bottom:1px solid #e4ebf4!important;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%)}
.profile-picture-upload-card .account-section-head h2{font-size:30px!important;line-height:1.2!important;margin:0 0 8px!important;color:#0f1f35!important;letter-spacing:-.025em;font-weight:700!important;font-family:inherit!important}
.profile-picture-upload-card .account-section-head p{margin:0!important;color:#52647d!important;font-size:16px!important;line-height:1.45!important;font-weight:400!important;font-family:inherit!important}
.profile-picture-upload-form{padding:0 24px!important}
.profile-picture-upload-layout{display:grid;grid-template-columns:minmax(210px,260px) minmax(0,1fr);gap:22px;align-items:stretch}
.profile-picture-upload-current{display:flex;align-items:center;gap:14px;padding:16px;border:1px solid #e0e8f2;border-radius:18px;background:#f8fbff;min-width:0}
.profile-picture-upload-preview{width:72px;height:72px;border-radius:999px;background:linear-gradient(135deg,#18345c,#0f1f35);color:#fff;font-size:24px;font-weight:700;display:flex;align-items:center;justify-content:center;overflow:hidden;box-shadow:0 10px 22px rgba(15,23,42,.14);flex:0 0 72px;border:3px solid #fff}
.profile-picture-upload-preview img,.profile-picture-listing-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.profile-picture-upload-current-text{min-width:0;display:flex;flex-direction:column;gap:4px;color:#16263d}
.profile-picture-upload-current-text strong{font-size:14px;line-height:1.25;color:#142238;font-weight:400}
.profile-picture-upload-current-text small{font-size:13px;line-height:1.35;color:#60718a;font-weight:400}
.profile-picture-upload-main{min-width:0;display:flex;flex-direction:column;gap:10px;justify-content:center;padding:16px;border:1px solid #e0e8f2;border-radius:18px;background:#fff}
.profile-picture-upload-input{display:flex;flex-direction:column;gap:8px;margin:0;font-weight:400;color:#16263d}
.profile-picture-upload-input input[type="file"]{width:100%;border:1px solid #d6e1ee;border-radius:12px;background:#fdfefe;padding:10px;color:#172033;box-sizing:border-box;min-height:44px}
.profile-picture-upload-help{margin:0!important;font-size:13px!important;font-weight:400!important;color:#52647d!important;line-height:1.4!important}
.profile-picture-upload-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:4px}
.profile-picture-upload-actions .btn-primary,.profile-picture-upload-actions .btn-secondary{min-height:42px;border-radius:12px;padding:0 18px;display:inline-flex;align-items:center;justify-content:center;font-weight:600}
.profile-picture-listing-avatar,.profile-picture-seller-avatar{overflow:hidden}
.profile-picture-seller-avatar img{width:100%;height:100%;object-fit:cover;display:block}
/* profile_picture_upload_plugin_styles */
.profile-picture-upload-card{overflow:hidden;border-radius:22px;padding-bottom:18px!important}
.profile-picture-upload-card .account-section-head{padding:22px 24px 14px!important;margin:0 0 18px!important;border-bottom:1px solid #e4ebf4!important;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%)}
.profile-picture-upload-card .account-section-head h2{font-size:30px!important;line-height:1.2!important;margin:0 0 8px!important;color:#0f1f35!important;letter-spacing:-.025em;font-weight:700!important;font-family:inherit!important}
.profile-picture-upload-card .account-section-head p{margin:0!important;color:#52647d!important;font-size:16px!important;line-height:1.45!important;font-weight:400!important;font-family:inherit!important}
.profile-picture-upload-form{padding:0 24px!important}
.profile-picture-upload-layout{display:grid;grid-template-columns:minmax(210px,260px) minmax(0,1fr);gap:22px;align-items:stretch}
.profile-picture-upload-current{display:flex;align-items:center;gap:14px;padding:16px;border:1px solid #e0e8f2;border-radius:18px;background:#f8fbff;min-width:0}
.profile-picture-upload-preview{width:72px;height:72px;border-radius:999px;background:linear-gradient(135deg,#18345c,#0f1f35);color:#fff;font-size:24px;font-weight:700;display:flex;align-items:center;justify-content:center;overflow:hidden;box-shadow:0 10px 22px rgba(15,23,42,.14);flex:0 0 72px;border:3px solid #fff}
.profile-picture-upload-preview img,.profile-picture-listing-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.profile-picture-upload-current-text{min-width:0;display:flex;flex-direction:column;gap:4px;color:#16263d}
.profile-picture-upload-current-text strong{font-size:14px;line-height:1.25;color:#142238;font-weight:400}
.profile-picture-upload-current-text small{font-size:13px;line-height:1.35;color:#60718a;font-weight:400}
.profile-picture-upload-main{min-width:0;display:flex;flex-direction:column;gap:10px;justify-content:center;padding:16px;border:1px solid #e0e8f2;border-radius:18px;background:#fff}
.profile-picture-upload-input{display:flex;flex-direction:column;gap:8px;margin:0;font-weight:400;color:#16263d}
.profile-picture-upload-input input[type="file"]{width:100%;border:1px solid #d6e1ee;border-radius:12px;background:#fdfefe;padding:10px;color:#172033;box-sizing:border-box;min-height:44px}
.profile-picture-upload-help{margin:0!important;font-size:13px!important;font-weight:400!important;color:#52647d!important;line-height:1.4!important}
.profile-picture-upload-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:4px}
.profile-picture-upload-actions .btn-primary,.profile-picture-upload-actions .btn-secondary{min-height:42px;border-radius:12px;padding:0 18px;display:inline-flex;align-items:center;justify-content:center;font-weight:600}
.profile-picture-listing-avatar,.profile-picture-seller-avatar{overflow:hidden}
.profile-picture-seller-avatar img{width:100%;height:100%;object-fit:cover;display:block}
/* profile_picture_upload_plugin_styles */
.profile-picture-upload-card{overflow:hidden;border-radius:22px;padding-bottom:18px!important}
.profile-picture-upload-card .account-section-head{padding:22px 24px 14px!important;margin:0 0 18px!important;border-bottom:1px solid #e4ebf4!important;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%)}
.profile-picture-upload-card .account-section-head h2{font-size:30px!important;line-height:1.2!important;margin:0 0 8px!important;color:#0f1f35!important;letter-spacing:-.025em;font-weight:700!important;font-family:inherit!important}
.profile-picture-upload-card .account-section-head p{margin:0!important;color:#52647d!important;font-size:16px!important;line-height:1.45!important;font-weight:400!important;font-family:inherit!important}
.profile-picture-upload-form{padding:0 24px!important}
.profile-picture-upload-layout{display:grid;grid-template-columns:minmax(210px,260px) minmax(0,1fr);gap:22px;align-items:stretch}
.profile-picture-upload-current{display:flex;align-items:center;gap:14px;padding:16px;border:1px solid #e0e8f2;border-radius:18px;background:#f8fbff;min-width:0}
.profile-picture-upload-preview{width:72px;height:72px;border-radius:999px;background:linear-gradient(135deg,#18345c,#0f1f35);color:#fff;font-size:24px;font-weight:700;display:flex;align-items:center;justify-content:center;overflow:hidden;box-shadow:0 10px 22px rgba(15,23,42,.14);flex:0 0 72px;border:3px solid #fff}
.profile-picture-upload-preview img,.profile-picture-listing-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.profile-picture-upload-current-text{min-width:0;display:flex;flex-direction:column;gap:4px;color:#16263d}
.profile-picture-upload-current-text strong{font-size:14px;line-height:1.25;color:#142238;font-weight:400}
.profile-picture-upload-current-text small{font-size:13px;line-height:1.35;color:#60718a;font-weight:400}
.profile-picture-upload-main{min-width:0;display:flex;flex-direction:column;gap:10px;justify-content:center;padding:16px;border:1px solid #e0e8f2;border-radius:18px;background:#fff}
.profile-picture-upload-input{display:flex;flex-direction:column;gap:8px;margin:0;font-weight:400;color:#16263d}
.profile-picture-upload-input input[type="file"]{width:100%;border:1px solid #d6e1ee;border-radius:12px;background:#fdfefe;padding:10px;color:#172033;box-sizing:border-box;min-height:44px}
.profile-picture-upload-help{margin:0!important;font-size:13px!important;font-weight:400!important;color:#52647d!important;line-height:1.4!important}
.profile-picture-upload-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:4px}
.profile-picture-upload-actions .btn-primary,.profile-picture-upload-actions .btn-secondary{min-height:42px;border-radius:12px;padding:0 18px;display:inline-flex;align-items:center;justify-content:center;font-weight:600}
.profile-picture-listing-avatar,.profile-picture-seller-avatar{overflow:hidden}
.profile-picture-seller-avatar img{width:100%;height:100%;object-fit:cover;display:block}
/* profile_picture_upload_plugin_styles */
.profile-picture-upload-card{overflow:hidden;border-radius:22px;padding-bottom:18px!important}
.profile-picture-upload-card .account-section-head{padding:22px 24px 14px!important;margin:0 0 18px!important;border-bottom:1px solid #e4ebf4!important;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%)}
.profile-picture-upload-card .account-section-head h2{font-size:30px!important;line-height:1.2!important;margin:0 0 8px!important;color:#0f1f35!important;letter-spacing:-.025em;font-weight:700!important;font-family:inherit!important}
.profile-picture-upload-card .account-section-head p{margin:0!important;color:#52647d!important;font-size:16px!important;line-height:1.45!important;font-weight:400!important;font-family:inherit!important}
.profile-picture-upload-form{padding:0 24px!important}
.profile-picture-upload-layout{display:grid;grid-template-columns:minmax(210px,260px) minmax(0,1fr);gap:22px;align-items:stretch}
.profile-picture-upload-current{display:flex;align-items:center;gap:14px;padding:16px;border:1px solid #e0e8f2;border-radius:18px;background:#f8fbff;min-width:0}
.profile-picture-upload-preview{width:72px;height:72px;border-radius:999px;background:linear-gradient(135deg,#18345c,#0f1f35);color:#fff;font-size:24px;font-weight:700;display:flex;align-items:center;justify-content:center;overflow:hidden;box-shadow:0 10px 22px rgba(15,23,42,.14);flex:0 0 72px;border:3px solid #fff}
.profile-picture-upload-preview img,.profile-picture-listing-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.profile-picture-upload-current-text{min-width:0;display:flex;flex-direction:column;gap:4px;color:#16263d}
.profile-picture-upload-current-text strong{font-size:14px;line-height:1.25;color:#142238;font-weight:400}
.profile-picture-upload-current-text small{font-size:13px;line-height:1.35;color:#60718a;font-weight:400}
.profile-picture-upload-main{min-width:0;display:flex;flex-direction:column;gap:10px;justify-content:center;padding:16px;border:1px solid #e0e8f2;border-radius:18px;background:#fff}
.profile-picture-upload-input{display:flex;flex-direction:column;gap:8px;margin:0;font-weight:400;color:#16263d}
.profile-picture-upload-input input[type="file"]{width:100%;border:1px solid #d6e1ee;border-radius:12px;background:#fdfefe;padding:10px;color:#172033;box-sizing:border-box;min-height:44px}
.profile-picture-upload-help{margin:0!important;font-size:13px!important;font-weight:400!important;color:#52647d!important;line-height:1.4!important}
.profile-picture-upload-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:4px}
.profile-picture-upload-actions .btn-primary,.profile-picture-upload-actions .btn-secondary{min-height:42px;border-radius:12px;padding:0 18px;display:inline-flex;align-items:center;justify-content:center;font-weight:600}
.profile-picture-listing-avatar,.profile-picture-seller-avatar{overflow:hidden}
.profile-picture-seller-avatar img{width:100%;height:100%;object-fit:cover;display:block}

/* Mobile search: only keyword field and submit button */
@media (max-width:700px){
  .market-search-bar{grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}
  .market-search-bar .market-field-category,
  .market-search-bar .market-field-location,
  .market-search-bar .market-field-radius,
  .market-search-bar .market-voice-search-button{display:none!important}
  .market-search-bar .market-field-keyword{min-width:0}
  .market-search-bar .market-field-keyword input{padding-right:14px}
  .market-search-bar .market-search-button{width:auto;min-width:auto;padding:0 16px;white-space:nowrap}
}

.category-mobile-filterbar{display:none;align-items:center;gap:10px;margin:0 0 14px;overflow-x:auto;-webkit-overflow-scrolling:touch;padding-bottom:2px}
.category-mobile-filterbar__button,.category-mobile-filterbar__chip{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:0 14px;border:1px solid #cfd8e6;border-radius:999px;background:#fff;color:#1b2435;font-weight:800;text-decoration:none;white-space:nowrap}
.category-mobile-filterbar__button{cursor:pointer}
.category-mobile-filterbar__button span:first-child{font-size:16px;line-height:1}
.category-mobile-filterbar__chip{background:#eef2f7;color:#4d5e75;font-weight:700}
.category-filter-mobile-head{display:none}
.category-filter-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.46);z-index:990}
body.category-filter-is-open{overflow:hidden}

@media (max-width:1100px){
  .category-mobile-filterbar{display:flex}
  .category-market-sidebar{position:fixed;left:0;right:0;bottom:0;top:auto;z-index:1000;max-height:88vh;overflow:auto;padding:0 12px 12px;transform:translateY(110%);transition:transform .22s ease}
  .category-market-sidebar.is-open{transform:translateY(0)}
  .category-filter-card{border-radius:22px 22px 0 0;box-shadow:0 -18px 40px rgba(15,23,42,.22)}
  .category-filter-mobile-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:-4px -2px 14px;padding:4px 0 12px;border-bottom:1px solid #d6dee9;color:#1b2435;font-size:20px}
  .category-filter-mobile-head button{width:38px;height:38px;border:0;border-radius:999px;background:#eef2f7;color:#1b2435;font-size:28px;line-height:1;cursor:pointer}
}

.category-mobile-filterbar__count{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 7px;border-radius:999px;background:#1b2435;color:#fff;font-size:13px;font-weight:900;line-height:1}
.category-active-filter-chips{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 16px}
.category-active-filter-chip{display:inline-flex;align-items:center;gap:7px;max-width:100%;padding:8px 10px 8px 12px;border:1px solid #d5deea;border-radius:999px;background:#fff;color:#1b2435;font-size:14px;font-weight:700;text-decoration:none;line-height:1.2}
.category-active-filter-chip span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.category-active-filter-chip__remove{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:999px;background:#e7ebf1;color:#526073;font-size:16px;font-weight:900;line-height:1}
.category-active-filter-chip:hover{border-color:#b9c6d8;background:#f8fafc}
.category-active-filter-chip:hover .category-active-filter-chip__remove{background:#d7dee9;color:#1b2435}
.category-filter-mobile-head button{display:inline-flex;align-items:center;justify-content:center;font-family:inherit;font-weight:800}
@media (max-width:1100px){
  .category-active-filter-chips{margin-top:-4px;overflow-x:auto;flex-wrap:nowrap;padding-bottom:8px;-webkit-overflow-scrolling:touch}
  .category-active-filter-chip{flex:0 0 auto}
  .category-filter-mobile-head{position:sticky;top:0;z-index:2;background:#fff}
  .category-filter-mobile-head button{width:42px;height:42px;background:#eef2f7;color:#172033;font-size:30px;line-height:1;box-shadow:none}
}
.category-selection-chip__remove{font-family:inherit;font-weight:900;text-align:center;text-decoration:none}
@media (max-width:1100px){.category-selection-chip__remove{width:26px;height:26px;font-size:20px;background:#b7bdc6;color:#fff}.category-selection-chip__remove:hover{background:#9da5b1}}

@media (max-width:1100px){
  .category-results-toolbar .category-sort-form{display:none!important}
}

/* Mobile category picker like a separate category page */
.category-filter-category-button{width:100%;border:1px solid #d5deea;background:#eef3f8;cursor:pointer;text-align:left;display:flex;align-items:center;justify-content:space-between;gap:12px;font:inherit;color:#1b2435}
.category-filter-category-button span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.category-mobile-category-screen{position:fixed;inset:0;z-index:1200;background:#f4f7fb;color:#1b2435;overflow:auto;-webkit-overflow-scrolling:touch}
.category-mobile-category-head{position:sticky;top:0;z-index:2;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;min-height:74px;padding:0 18px;border-bottom:1px solid #d6dee9;background:#fff;box-shadow:0 1px 0 rgba(15,23,42,.04)}
.category-mobile-category-head button{justify-self:start;border:0;background:transparent;color:#2563eb;font:inherit;font-size:18px;font-weight:800;cursor:pointer;padding:10px 0}
.category-mobile-category-head strong{font-size:24px;line-height:1;font-weight:900;letter-spacing:-.02em}
.category-mobile-category-list{display:block;padding:0 0 42px;background:#fff}
.category-mobile-category-row{width:100%;min-height:58px;padding:0 22px;display:flex;align-items:center;justify-content:space-between;gap:14px;border:0;border-bottom:1px solid #e2e8f0;background:#fff;color:#1b2435;text-decoration:none;text-align:left;font:inherit;font-size:22px;font-weight:500;letter-spacing:-.01em;cursor:pointer}
.category-mobile-category-row.is-selected{font-weight:900}
.category-mobile-category-row:hover{background:#f8fafc}
body.category-mobile-category-is-open{overflow:hidden}
@media (min-width:1101px){.category-mobile-category-screen{display:none!important}}
@media (max-width:1100px){.category-filter-section--categories,.category-filter-section--categories + .category-filter-divider,.category-filter-title--form{display:none!important}.category-filter-mobile-head{display:grid!important;grid-template-columns:1fr auto auto;align-items:center}.category-filter-mobile-reset{font-size:14px;font-weight:800;color:#2563eb;text-decoration:none;white-space:nowrap}.category-filter-mobile-reset:hover{text-decoration:underline}}

.menu-icon-img{display:block;width:16px;height:16px;object-fit:contain}
.menu-danger .menu-icon-img{filter:brightness(.75) sepia(1) saturate(4) hue-rotate(315deg)}

.site-icon-button-img,.account-button-icon-img,.category-icon-img,.help-search-icon-img,.listing-icon-img,.listing-share-icon-img,.shipping-choice-icon-img,.premium-service-icon-img{display:block;width:1em;height:1em;object-fit:contain}

.help-feedback-icon-img,.drag-icon-img{display:inline-block;width:1em;height:1em;object-fit:contain;vertical-align:-.15em}

.inline-icon-img,.menu-dot-img{width:1em;height:1em;display:inline-block;vertical-align:-.14em;object-fit:contain}
.menu-dot-img{width:1.15em;height:1.15em}
.buyer-protection-safe-img,.verification-status-card__icon-img{width:1.35em;height:1.35em;display:block}
.empty-state-panel--saved-searches::after,.empty-state-panel--favorites::after,.empty-state-panel--users::after{content:"";display:block;width:42px;height:42px;margin:1rem auto 0;background:currentColor;opacity:.22;-webkit-mask:center/contain no-repeat;mask:center/contain no-repeat}
.empty-state-panel--saved-searches::after{-webkit-mask-image:url('/images/icons/search.svg');mask-image:url('/images/icons/search.svg')}
.empty-state-panel--favorites::after{-webkit-mask-image:url('/images/icons/star.svg');mask-image:url('/images/icons/star.svg')}
.empty-state-panel--users::after{-webkit-mask-image:url('/images/icons/users.svg');mask-image:url('/images/icons/users.svg')}

/* Mobile filter chips: keep active filters the same size as the filter/category buttons. */
@media (max-width:768px){
  .category-mobile-filterrow{gap:10px!important;}
  .category-active-filter-chips{gap:10px!important;}
  .category-mobile-filterbar__button,
  .category-mobile-filterbar__chip,
  .category-active-filter-chip{
    min-height:42px!important;
    padding:0 14px!important;
    border-radius:999px!important;
    font-size:16px!important;
    font-weight:800!important;
    line-height:1!important;
    box-sizing:border-box!important;
  }
  .category-active-filter-chip__remove{
    width:22px!important;
    height:22px!important;
    font-size:16px!important;
    line-height:1!important;
  }
}

/* Moved from app/Views/categories.php style block 1 */
.categories-overview-page{max-width:var(--page-width);margin:24px auto 50px;padding-left:var(--page-gutter);padding-right:var(--page-gutter)}
.categories-overview-hero{padding:24px;margin-bottom:18px;border-radius:18px}
.categories-overview-hero h1{margin:0 0 6px;font-size:32px;line-height:1.15}
.categories-overview-hero p{margin:0;color:#66758f}
.categories-overview-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.categories-overview-card{background:#fff;border:1px solid #e5ebf3;border-radius:16px;padding:18px;box-shadow:0 10px 24px rgba(15,23,42,.05);min-height:100px}
.categories-overview-card__title{display:block;color:#0f172a;text-decoration:none;font-weight:800;font-size:18px;line-height:1.25;margin-bottom:12px}
.categories-overview-card__children{display:flex;flex-direction:column;gap:8px;border-top:1px solid #eef2f7;padding-top:12px}
.categories-overview-card__child{display:block;color:#24334d;text-decoration:none;font-size:14px;line-height:1.25}
.categories-overview-card a:hover{color:#1d4ed8}
@media (max-width:1024px){.categories-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:700px){.categories-overview-page{margin-top:12px}.categories-overview-hero h1{font-size:28px}.categories-overview-grid{grid-template-columns:1fr}}

/* Moved from app/Views/category.php style block 1 */
.category-selection-panel{display:flex;flex-direction:column;gap:8px}.category-selection-panel__all{display:inline-block;color:#0f172a;font-weight:500;text-decoration:none}.category-selection-maincategories{display:flex;flex-direction:column;gap:8px;margin:2px 0 4px;padding:8px 0 2px}.category-selection-maincategories__link{display:block;color:#4b5563;text-decoration:none;line-height:1.35}.category-selection-maincategories__link:hover,.category-selection-maincategories__link.is-active{color:#0f172a;font-weight:700}.category-selection-panel__parent{color:#475569;font-size:15px;line-height:1.4}.category-selection-chip-wrap{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.category-selection-chip{display:inline-flex;align-items:center;max-width:calc(100% - 40px);padding:8px 12px;border-radius:10px;background:#ede8de;color:#0f172a;font-weight:600;text-decoration:none}.category-selection-chip span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.category-selection-chip__remove{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:999px;background:#b9b9b9;color:#fff;text-decoration:none;font-size:18px;line-height:1}.category-selection-chip__remove:hover{background:#949494}.category-selection-subcategories{display:flex;flex-direction:column;gap:10px;margin-top:6px}.category-selection-subcategories__link{display:block;color:#4b5563;text-decoration:none;line-height:1.4}.category-selection-subcategories__link:hover{color:#1d4ed8}.category-range-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}.category-range-input{width:100%;min-width:0;background-image:url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2712%27 height=%278%27 viewBox=%270 0 12 8%27%3E%3Cpath fill=%27%236f7c91%27 d=%27M1.41.59 6 5.17 10.59.59 12 2l-6 6-6-6z%27/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:12px 8px;padding-right:34px;appearance:none;-webkit-appearance:none}.category-range-input::-webkit-outer-spin-button,.category-range-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.category-range-input[type=number]{-moz-appearance:textfield}.category-checkbox-filter-group{display:flex;flex-direction:column;gap:10px;max-height:188px;overflow-y:auto;padding-right:6px}.category-checkbox-filter-item{display:flex;align-items:flex-start;gap:10px}.category-checkbox-filter-item input[type=checkbox]{width:18px;height:18px;flex:0 0 18px;margin:2px 0 0}.category-checkbox-filter{display:block;margin:0;font-weight:400;line-height:1.35;cursor:pointer}.category-checkbox-filter span{display:block}.category-facet-dropdown{display:block}.category-facet-details{position:relative}.category-facet-details summary{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0;border:0;background:transparent;color:inherit;cursor:pointer;list-style:none}.category-facet-details summary::-webkit-details-marker{display:none}.category-facet-details summary::after{content:'';width:1em;height:1em;background:currentColor;-webkit-mask:url('/images/icons/chevron-right.svg') center/contain no-repeat;mask:url('/images/icons/chevron-right.svg') center/contain no-repeat;transform:rotate(90deg);color:inherit}.category-facet-details[open] summary::after{transform:rotate(-90deg)}.category-facet-menu{position:absolute;z-index:30;left:0;right:0;top:calc(100% + 6px);display:flex;flex-direction:column;gap:2px;padding:6px;border:1px solid #d7dce5;background:#fff;box-shadow:0 10px 24px rgba(15,23,42,.14)}.category-facet-link{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:5px 6px;color:inherit;text-decoration:none}.category-facet-link:hover,.category-facet-link.is-active{background:#ede8de}.category-facet-link--reset span:last-child{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:999px;background:#b9b9b9;color:#fff;line-height:1}
@media (max-width:1100px){.category-filter-section--categories,.category-filter-section--categories + .category-filter-divider,.category-filter-title--form{display:none!important}.category-filter-mobile-head{display:grid!important;grid-template-columns:1fr auto auto;align-items:center}.category-filter-mobile-reset{font-size:14px;font-weight:800;color:#2563eb;text-decoration:none;white-space:nowrap}.category-filter-mobile-reset:hover{text-decoration:underline}}

/* Moved from app/Views/user/listing_form.php style block 1 */
.image-manager-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:14px;margin-top:14px}.image-card{position:relative;border:2px solid #e5e7eb;border-radius:14px;background:#fff;padding:10px;cursor:grab}.image-card.is-main{border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.12)}.image-card>img{width:100%;height:130px;object-fit:cover;border-radius:10px;display:block;background:#f3f4f6}.image-card.is-removed{opacity:.45}.image-main-badge{position:absolute;left:16px;bottom:50px;background:#2563eb;color:#fff;padding:5px 9px;border-radius:999px;font-size:12px;font-weight:700}.image-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:8px}.image-actions label{display:flex;align-items:center;gap:6px;font-size:13px}.hidden-order{display:none}.image-manager-wrap{margin-top:16px}.image-remove-btn{position:absolute;top:16px;right:16px;width:30px;height:30px;border:none;border-radius:999px;background:rgba(17,24,39,.82);color:#fff;font-size:18px;cursor:pointer}.image-remove-btn .inline-icon-img{width:14px;height:14px;object-fit:contain;background:transparent;border-radius:0;display:block}.image-actions .inline-icon-img{width:18px;height:18px;object-fit:contain;background:transparent;border-radius:0;display:inline-block;opacity:.75}

/* FIX: mobile category filters in one horizontal row (like Kleinanzeigen) */
@media (max-width:1100px){
  .category-mobile-filterrow{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;gap:10px!important;width:100%!important;margin:0 0 10px!important;overflow-x:auto!important;overflow-y:hidden!important;-webkit-overflow-scrolling:touch!important;scrollbar-width:none!important}
  .category-mobile-filterrow::-webkit-scrollbar{display:none!important}
  .category-mobile-filterrow .category-mobile-filterbar{display:flex!important;flex:0 0 auto!important;align-items:center!important;gap:10px!important;margin:0!important;padding:0!important;overflow:visible!important}
  .category-mobile-filterrow .category-active-filter-chips{display:flex!important;flex:0 0 auto!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;gap:10px!important;margin:0!important;padding:0!important;overflow:visible!important}
  .category-mobile-filterrow .category-mobile-filterbar__button,.category-mobile-filterrow .category-active-filter-chip{flex:0 0 auto!important;width:auto!important;max-width:none!important;white-space:nowrap!important}
}

/* FIX: Mobile filter drawer should use 100% of the viewport. */
@media (max-width:1100px){
  .category-market-sidebar{
    left:0!important;
    right:0!important;
    top:0!important;
    bottom:0!important;
    width:100vw!important;
    height:100vh!important;
    height:100dvh!important;
    max-height:none!important;
    padding:0!important;
    overflow:auto!important;
    box-sizing:border-box!important;
  }
  .category-market-sidebar.is-open{transform:translateY(0)!important;}
  .category-filter-card{
    min-height:100vh!important;
    min-height:100dvh!important;
    border-radius:0!important;
    border-left:0!important;
    border-right:0!important;
    border-bottom:0!important;
    box-shadow:none!important;
    box-sizing:border-box!important;
  }
}

/* Advertising frontend and customer area */
.ad-placement{display:grid;gap:12px;margin:18px 0}
.ad-banner-card{position:relative;display:block;overflow:hidden;border:1px solid rgba(15,23,42,.08);border-radius:18px;background:#f8fafc;box-shadow:0 10px 28px rgba(15,23,42,.08);text-decoration:none;color:#0f172a}
.ad-banner-card img{display:block;width:100%;height:90px;max-height:90px;object-fit:cover;background:#eef2f7}
.ad-banner-card__fallback{display:flex;min-height:96px;align-items:center;justify-content:center;padding:20px;font-weight:900;font-size:1.2rem;background:linear-gradient(135deg,#e8eef7,#fff)}
.ad-banner-card__label{position:absolute;top:10px;right:10px;border-radius:999px;background:rgba(15,23,42,.72);color:#fff;padding:5px 9px;font-size:.75rem;font-weight:800}
.ad-sponsored-card{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border:1px solid #dbe5f1;border-radius:16px;background:#fff;text-decoration:none;color:#0f172a;box-shadow:0 8px 22px rgba(15,23,42,.06)}
.ad-sponsored-card strong{font-size:1rem}.ad-sponsored-card span:not(.ad-sponsored-card__badge){color:#64748b}.ad-sponsored-card__badge{flex:0 0 auto;border-radius:999px;background:#fff7ed;color:#9a3412;padding:5px 10px;font-weight:900;font-size:.78rem}
.category-results-list>.ad-placement{grid-column:1/-1}.category-market-sidebar>.ad-placement{position:sticky;top:18px}.listing-detail-page .ad-placement{max-width:1180px;margin-left:auto;margin-right:auto}.listing-description-card-exact+.ad-placement,.ad-placement+section{margin-top:18px}
.advertising-user-shell{align-items:flex-start}.advertising-user-main{display:flex;flex-direction:column;gap:18px}.advertising-user-hero{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:22px;background:linear-gradient(135deg,rgba(19,41,75,.06),rgba(255,255,255,.96))}.advertising-user-hero h1{margin:.15rem 0 .4rem}.advertising-user-hero p{margin:0;max-width:720px;color:#64748b}
.advertising-user-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}.advertising-user-stats .card{padding:16px}.advertising-user-stats span{display:block;color:#64748b}.advertising-user-stats strong{font-size:1.7rem;color:#13294b}.advertising-user-card,.advertising-user-form{padding:22px}
.advertising-user-list,.advertising-subscription-list{display:grid;gap:14px}.advertising-user-campaign{display:grid;grid-template-columns:170px minmax(0,1fr);gap:16px;padding:14px}.advertising-user-campaign__media{min-height:118px;border-radius:14px;background:#f1f5f9;display:flex;align-items:center;justify-content:center;overflow:hidden}.advertising-user-campaign__media img{width:100%;height:100%;object-fit:cover}.advertising-user-campaign__media span{font-weight:900;color:#64748b}.advertising-user-campaign__head,.advertising-subscription-card__head,.advertising-store-package__head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}.advertising-user-campaign__head h3,.advertising-subscription-card h2,.advertising-store-package h2{margin:.1rem 0 .35rem}.advertising-campaign-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:10px;margin:14px 0}.advertising-campaign-kpis span{border:1px solid #e2e8f0;border-radius:14px;padding:10px;background:#f8fafc}.advertising-campaign-kpis strong{display:block;color:#13294b}.advertising-campaign-kpis small{color:#64748b}.advertising-user-campaign__meta{display:flex;flex-wrap:wrap;gap:10px;color:#64748b;font-size:.92rem}.advertising-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}.advertising-actions a{font-weight:800;color:#13294b;text-decoration:none}.advertising-actions a.danger{color:#b42318}
.advertising-package-store-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}.advertising-store-package{display:flex;flex-direction:column;gap:14px;padding:22px}.advertising-store-package__head strong{font-size:1.6rem;color:#13294b}.advertising-feature-list{display:grid;gap:8px;margin:0;padding-left:18px;color:#334155}.advertising-mini-bookings{display:grid;gap:10px}.advertising-mini-bookings div{display:flex;justify-content:space-between;gap:10px;padding:12px;border:1px solid #e2e8f0;border-radius:14px;background:#f8fafc}.advertising-subscription-card{padding:18px}.advertising-empty-state{padding:28px;text-align:center;border:1px dashed #cbd5e1;border-radius:18px;background:#f8fafc;color:#475569}.advertising-form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px}.advertising-form-grid label{display:flex;flex-direction:column;gap:7px;font-weight:700;color:#334155}.advertising-form-grid input,.advertising-form-grid select,.advertising-form-grid textarea{width:100%;border:1px solid #d8e0ea;border-radius:12px;padding:11px 12px;background:#fff;color:#0f172a}.advertising-current-image{display:flex;flex-direction:column;gap:8px;font-weight:700}.advertising-current-image img{width:100%;max-height:140px;object-fit:cover;border-radius:14px;border:1px solid #e2e8f0}.advertising-form-note{display:flex;gap:10px;align-items:flex-start;margin-top:16px;padding:14px;border-radius:14px;background:#f8fafc;color:#475569}.advertising-form-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:18px}
.advertising-status-pill--active{background:#dcfce7;color:#166534}.advertising-status-pill--pending{background:#fef3c7;color:#92400e}.advertising-status-pill--paused,.advertising-status-pill--draft{background:#e0f2fe;color:#075985}.advertising-status-pill--rejected,.advertising-status-pill--cancelled{background:#fee2e2;color:#991b1b}.advertising-status-pill--expired{background:#e5e7eb;color:#374151}
@media(max-width:760px){.advertising-user-hero,.advertising-user-campaign{grid-template-columns:1fr;flex-direction:column}.advertising-user-campaign__media{min-height:160px}.advertising-form-actions{justify-content:flex-start}.ad-sponsored-card{align-items:flex-start;flex-direction:column}}
.advertising-stats-card{padding:22px}.advertising-stats-card .table-responsive{overflow:auto}.advertising-table{width:100%;border-collapse:separate;border-spacing:0 10px;min-width:760px}.advertising-table th{text-align:left;color:#64748b;font-size:.85rem;padding:0 12px}.advertising-table td{background:#fff;border-top:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0;padding:12px;vertical-align:middle}.advertising-table tr td:first-child{border-left:1px solid #e2e8f0;border-radius:14px 0 0 14px}.advertising-table tr td:last-child{border-right:1px solid #e2e8f0;border-radius:0 14px 14px 0}

/* Advertising campaign statistics: readable user table */
.advertising-stats-card .table-responsive{overflow-x:auto;-webkit-overflow-scrolling:touch;padding-bottom:4px}
.advertising-stats-table{min-width:900px;table-layout:auto;border-spacing:0 8px}
.advertising-stats-table th{white-space:nowrap;font-size:.78rem;text-transform:uppercase;letter-spacing:.04em;background:#f8fbff;color:#5f708b;padding:9px 12px}
.advertising-stats-table td{white-space:nowrap;word-break:normal;line-height:1.35;padding:14px 12px}
.advertising-stats-table .stat-placement{white-space:normal;min-width:190px;max-width:260px}
.advertising-stats-table .stat-placement strong{display:block;color:#13294b;font-weight:850;line-height:1.25;word-break:normal;overflow-wrap:break-word;hyphens:auto}
.advertising-stats-table .stat-placement small{display:block;margin-top:4px;color:#64748b;font-size:.8rem;word-break:break-word}
.advertising-stats-table th:nth-child(1),.advertising-stats-table td:nth-child(1){width:110px}
.advertising-stats-table th:nth-child(3),.advertising-stats-table td:nth-child(3){width:105px}
.advertising-stats-table th:nth-child(4),.advertising-stats-table td:nth-child(4){min-width:150px;white-space:normal}
.advertising-stats-table th:nth-child(5),.advertising-stats-table td:nth-child(5),
.advertising-stats-table th:nth-child(6),.advertising-stats-table td:nth-child(6),
.advertising-stats-table th:nth-child(7),.advertising-stats-table td:nth-child(7),
.advertising-stats-table th:nth-child(8),.advertising-stats-table td:nth-child(8){text-align:right;width:105px}
.advertising-stats-table tbody tr:hover td{background:#fbfdff;border-color:#cfdceb}
@media(max-width:900px){.advertising-stats-table{min-width:820px}.advertising-stats-table .stat-placement{min-width:170px}}

/* Advertising campaign editor: clearer customer form layout */
.advertising-campaign-editor{padding:26px;border-radius:22px;max-width:980px;margin-inline:auto;display:grid;gap:18px}
.advertising-editor-head{align-items:flex-start;border-bottom:1px solid #e7edf5;padding-bottom:16px;margin-bottom:2px}
.advertising-editor-head p{margin:6px 0 0;color:#64748b;max-width:760px;line-height:1.55}
.advertising-editor-section{border:1px solid #dbe6f3;border-radius:18px;background:linear-gradient(180deg,#fff,#fbfdff);padding:18px;display:grid;gap:16px}
.advertising-editor-section__title{display:flex;align-items:flex-start;gap:12px}
.advertising-editor-section__title>span{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:999px;background:#13294b;color:#fff;font-weight:900;flex:0 0 32px}
.advertising-editor-section__title h3{margin:0;color:#13294b;font-size:1.1rem;line-height:1.25}
.advertising-editor-section__title p{margin:4px 0 0;color:#64748b;line-height:1.45}
.advertising-editor-grid{display:grid;gap:14px;align-items:start}
.advertising-editor-grid--two{grid-template-columns:repeat(2,minmax(0,1fr))}
.advertising-editor-grid--three{grid-template-columns:repeat(3,minmax(0,1fr))}
.advertising-editor-wide{grid-column:1/-1}
.advertising-editor-grid label,.advertising-upload-row label{display:flex;flex-direction:column;gap:7px;font-weight:800;color:#1f2f49}
.advertising-editor-grid label span,.advertising-upload-row label span{font-size:.94rem}
.advertising-editor-grid input,.advertising-editor-grid select,.advertising-upload-row input{width:100%;min-height:44px;border:1px solid #cfdbea;border-radius:13px;padding:10px 12px;background:#fff;color:#0f172a;box-shadow:0 1px 0 rgba(15,23,42,.02)}
.advertising-editor-grid input:focus,.advertising-editor-grid select:focus,.advertising-upload-row input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,.14)}
.advertising-upload-row{display:grid;grid-template-columns:minmax(260px,1fr) minmax(220px,320px);gap:16px;align-items:start}
.advertising-editor-note{margin-top:0;border:1px solid #dbe6f3;background:#f8fbff;border-radius:16px}
.advertising-editor-actions{position:sticky;bottom:12px;background:rgba(255,255,255,.92);backdrop-filter:blur(8px);border:1px solid #dbe6f3;border-radius:18px;padding:12px;margin-top:0;z-index:3}
@media(max-width:980px){.advertising-campaign-editor{max-width:none}.advertising-editor-grid--three{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.advertising-campaign-editor{padding:18px}.advertising-editor-grid--two,.advertising-editor-grid--three,.advertising-upload-row{grid-template-columns:1fr}.advertising-editor-section{padding:15px}.advertising-editor-actions{position:static;justify-content:stretch}.advertising-editor-actions .btn-secondary,.advertising-editor-actions .btn-primary,.advertising-editor-actions button{width:100%;justify-content:center}}
html.theme-dark .advertising-campaign-editor,body.theme-dark .advertising-campaign-editor{background:#122035;border-color:#253b5a}
html.theme-dark .advertising-editor-head,body.theme-dark .advertising-editor-head{border-color:#253b5a}
html.theme-dark .advertising-editor-section,body.theme-dark .advertising-editor-section{background:linear-gradient(180deg,#14243a,#101d31);border-color:#2a4264}
html.theme-dark .advertising-editor-section__title h3,body.theme-dark .advertising-editor-section__title h3,html.theme-dark .advertising-editor-grid label,body.theme-dark .advertising-editor-grid label,html.theme-dark .advertising-upload-row label,body.theme-dark .advertising-upload-row label{color:#eef5ff}
html.theme-dark .advertising-editor-grid input,body.theme-dark .advertising-editor-grid input,html.theme-dark .advertising-editor-grid select,body.theme-dark .advertising-editor-grid select,html.theme-dark .advertising-upload-row input,body.theme-dark .advertising-upload-row input{background:#101d31;color:#eef5ff;border-color:#31537f}
html.theme-dark .advertising-editor-note,body.theme-dark .advertising-editor-note,html.theme-dark .advertising-editor-actions,body.theme-dark .advertising-editor-actions{background:rgba(16,29,49,.94);border-color:#2a4264;color:#cbd5e1}

/* Advertising wallet */
.advertising-wallet-grid{display:grid;grid-template-columns:minmax(240px,340px) minmax(0,1fr);gap:1rem;align-items:stretch;margin-bottom:1rem}
.advertising-wallet-balance{display:flex;flex-direction:column;justify-content:center;gap:.45rem}
.advertising-wallet-balance strong{font-size:2.35rem;line-height:1;color:#0b2448}
.advertising-wallet-balance p{margin:0;color:#52637a}
.advertising-topup-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.65rem;margin-bottom:1rem}
.advertising-topup-options label{display:flex;align-items:center;justify-content:center;gap:.4rem;border:1px solid #d6e2f1;border-radius:14px;padding:.85rem;background:#f8fbff;font-weight:800;cursor:pointer}
.advertising-topup-options input{accent-color:#2563eb}
.advertising-wallet-topup-form,.advertising-wallet-settings{display:grid;gap:1rem}
.advertising-setting-toggle{display:flex;align-items:center;justify-content:space-between;gap:1rem;border:1px solid #d6e2f1;background:#f8fbff;border-radius:16px;padding:1rem}
.advertising-setting-toggle small{display:block;color:#52637a;font-weight:500;margin-top:.25rem}
.advertising-setting-toggle input{width:1.15rem;height:1.15rem;accent-color:#2563eb}
.advertising-form-grid--three{grid-template-columns:repeat(3,minmax(0,1fr))}
.text-danger{color:#b91c1c}.text-success{color:#047857}
@media (max-width: 900px){.advertising-wallet-grid,.advertising-form-grid--three{grid-template-columns:1fr}.advertising-topup-options{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Advertising Stripe payment method and auto top-up */
.advertising-autoreload-payment-row,
.advertising-payment-method-current{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  padding:1rem;
  border:1px solid #d8e4f4;
  border-radius:18px;
  background:#f8fbff;
}
.advertising-autoreload-payment-row p,
.advertising-payment-method-current p{margin:.2rem 0 0;color:#52637a}
.advertising-payment-method-icon{width:48px;height:48px;border-radius:16px;display:flex;align-items:center;justify-content:center;background:#0b2448;color:#fff;font-size:1.35rem;flex:0 0 auto}
.advertising-payment-method-current{justify-content:flex-start;margin-bottom:1rem}
.advertising-payment-method-empty{align-items:flex-start;text-align:left}
.advertising-actions--right{display:flex;justify-content:flex-end;align-items:center;gap:.75rem;flex-wrap:wrap}
.advertising-form-grid--two{grid-template-columns:repeat(2,minmax(0,1fr))}
.alert.alert-warning{padding:.9rem 1rem;border:1px solid #ffe1a8;border-radius:16px;background:#fff8e8;color:#8a5200;margin:.75rem 0}
button:disabled,.btn-primary:disabled{opacity:.55;cursor:not-allowed}
@media (max-width: 760px){
  .advertising-autoreload-payment-row,.advertising-payment-method-current{align-items:flex-start;flex-direction:column}
  .advertising-actions--right{justify-content:stretch}
  .advertising-actions--right > *, .advertising-actions--right button, .advertising-autoreload-payment-row .btn-secondary{width:100%}
  .advertising-form-grid--two{grid-template-columns:1fr}
}
[data-theme="dark"] .advertising-autoreload-payment-row,
[data-theme="dark"] .advertising-payment-method-current{background:#101b2b;border-color:#24344c}
[data-theme="dark"] .alert.alert-warning{background:#2b2110;border-color:#664615;color:#ffd28a}

/* Advertising payment methods */
.advertising-payment-method-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-top:1rem}
.advertising-payment-method-card{min-height:100%;display:flex;flex-direction:column}
.advertising-payment-method-card .advertising-actions{margin-top:auto}
@media (max-width:900px){.advertising-payment-method-grid{grid-template-columns:1fr}}

/* Advertising auto top-up switch layout fix */
.advertising-wallet-settings .advertising-toggle-card{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) auto !important;
  align-items:center !important;
  gap:18px !important;
  width:100%;
  padding:18px 20px !important;
  border:1px solid #d6e2f1;
  border-radius:18px;
  background:linear-gradient(180deg,#f8fbff 0%,#f3f7fc 100%);
  cursor:pointer;
}
.advertising-wallet-settings .advertising-toggle-card__text{
  display:block;
  min-width:0;
}
.advertising-wallet-settings .advertising-toggle-card__text strong{
  display:block;
  font-size:1rem;
  line-height:1.25;
  color:#0b2448;
}
.advertising-wallet-settings .advertising-toggle-card__text small{
  display:block;
  margin-top:4px;
  color:#52637a;
  font-weight:500;
  line-height:1.35;
}
.advertising-wallet-settings .advertising-switch-wrap{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:flex-end;
  width:58px;
  height:32px;
  flex:0 0 58px;
}
.advertising-wallet-settings .advertising-switch-wrap input[type="checkbox"]{
  position:absolute;
  inset:0;
  width:58px !important;
  height:32px !important;
  margin:0 !important;
  opacity:0;
  cursor:pointer;
  z-index:2;
}
.advertising-wallet-settings .advertising-switch{
  position:relative;
  display:block;
  width:58px;
  height:32px;
  border-radius:999px;
  background:#cbd5e1;
  border:1px solid #b8c7d9;
  transition:background .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.advertising-wallet-settings .advertising-switch::after{
  content:"";
  position:absolute;
  top:3px;
  left:3px;
  width:24px;
  height:24px;
  border-radius:50%;
  background:#fff;
  box-shadow:0 2px 8px rgba(15,23,42,.22);
  transition:transform .2s ease;
}
.advertising-wallet-settings .advertising-switch-wrap input:checked + .advertising-switch{
  background:#2563eb;
  border-color:#2563eb;
  box-shadow:0 6px 18px rgba(37,99,235,.25);
}
.advertising-wallet-settings .advertising-switch-wrap input:checked + .advertising-switch::after{
  transform:translateX(26px);
}
.advertising-wallet-settings .advertising-switch-wrap input:disabled + .advertising-switch{
  opacity:.55;
  cursor:not-allowed;
}
@media(max-width:640px){
  .advertising-wallet-settings .advertising-toggle-card{grid-template-columns:1fr;align-items:start !important}
  .advertising-wallet-settings .advertising-switch-wrap{justify-content:flex-start}
}
[data-theme="dark"] .advertising-wallet-settings .advertising-toggle-card,
body.theme-dark .advertising-wallet-settings .advertising-toggle-card,
html.theme-dark .advertising-wallet-settings .advertising-toggle-card{
  background:linear-gradient(180deg,#122035 0%,#101b2b 100%);
  border-color:#2a4264;
}
[data-theme="dark"] .advertising-wallet-settings .advertising-toggle-card__text strong,
body.theme-dark .advertising-wallet-settings .advertising-toggle-card__text strong,
html.theme-dark .advertising-wallet-settings .advertising-toggle-card__text strong{color:#eef5ff}
[data-theme="dark"] .advertising-wallet-settings .advertising-toggle-card__text small,
body.theme-dark .advertising-wallet-settings .advertising-toggle-card__text small,
html.theme-dark .advertising-wallet-settings .advertising-toggle-card__text small{color:#b9c7da}

.advertising-table .wallet-money-col{white-space:nowrap;text-align:right;}
.advertising-table td.wallet-money-col strong{white-space:nowrap;}

/* Checkout account credit payment state */
.premium-payment-option.is-disabled{opacity:.68;background:linear-gradient(180deg,#f7f9fc 0%,#f2f6fb 100%);cursor:not-allowed}
.premium-payment-option.is-disabled strong{color:#66758f}
.premium-payment-option.is-disabled input{cursor:not-allowed}

/* Advertising category spacing: align ads with category/filter column and listing rhythm */
.category-market-layout{
  align-items:start !important;
}
.category-market-content{
  padding-top:0 !important;
  margin-top:0 !important;
}
.category-market-content > .ad-placement:first-child,
.category-market-content > .ad-placement--category-slider{
  margin-top:0 !important;
}
.category-market-content > .ad-placement--category-slider{
  margin-bottom:16px !important;
}
.category-results-list{
  gap:16px !important;
}
.category-results-list > .listing-card,
.category-results-list > .category-result-card{
  margin-bottom:0 !important;
}
.category-results-list > .ad-placement,
.category-results-list > .ad-placement--category-between-listings,
.category-results-list > .ad-placement--search-sponsored-listing{
  grid-column:1 / -1 !important;
  margin:0 !important;
  padding:0 !important;
}
.category-market-sidebar > .ad-placement{
  margin-top:16px !important;
  margin-bottom:0 !important;
}
.category-market-content > .ad-placement .ad-banner-card,
.category-results-list > .ad-placement .ad-banner-card{
  margin:0 !important;
}
@media (max-width:1100px){
  .category-market-content > .ad-placement:first-child,
  .category-market-content > .ad-placement--category-slider{
    margin-top:0 !important;
    margin-bottom:14px !important;
  }
  .category-results-list{gap:14px !important;}
  .category-results-list > .ad-placement{margin:0 !important;}
}

/* Sponsored card inside related listings */
.listing-related-grid > .ad-placement--listing-similar {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
}
.listing-related-grid > .ad-placement--listing-similar .ad-sponsored-listing-card {
  position: relative;
  width: 100%;
  margin: 0;
}
.ad-sponsored-listing-card__badge {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 2;
}
.ad-sponsored-listing-card__meta {
  margin: 4px 0 0;
  color: var(--muted, #54627a);
  font-size: .92rem;
}
.ad-sponsored-listing-card .thumb span {
  align-items: center;
  color: var(--muted, #54627a);
  display: flex;
  height: 100%;
  justify-content: center;
  text-align: center;
  width: 100%;
}

/* Sponsored listing card with campaign description and price */
.ad-placement--search-sponsored-listing .ad-sponsored-listing-card,
.listing-related-grid > .ad-placement--listing-similar .ad-sponsored-listing-card{
  width:100%;
  min-height:132px;
}
.ad-sponsored-listing-card__title{
  margin:4px 0 0;
  padding-right:120px;
}
.ad-sponsored-listing-card__title a{
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  text-overflow:ellipsis;
  overflow-wrap:anywhere;
}
.ad-sponsored-listing-card__description{
  margin:6px 0 0;
  color:var(--muted,#54627a);
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  text-overflow:ellipsis;
}
.ad-sponsored-listing-card__price{
  display:block;
  margin-top:8px;
  color:#087f23;
  font-weight:900;
}
.ad-sponsored-listing-card__meta-line{
  color:var(--muted,#54627a);
}
@media(max-width:760px){
  .ad-sponsored-listing-card__title{padding-right:0;}
  .ad-sponsored-listing-card__badge{position:static;display:inline-flex;margin:0 0 6px;}
}

/* Sponsored listing spacing: use the same rhythm as normal result cards */
.category-results-list{
  row-gap:16px !important;
}
.category-results-list > .ad-placement--search-sponsored-listing{
  display:block !important;
  margin:0 !important;
  padding:0 !important;
  line-height:normal !important;
}
.category-results-list > .ad-placement--search-sponsored-listing + .category-result-card,
.category-results-list > .ad-placement--search-sponsored-listing + .listing-card{
  margin-top:0 !important;
}
.category-results-list > .ad-placement--search-sponsored-listing .ad-sponsored-listing-card{
  margin:0 !important;
  border-radius:16px !important;
  box-shadow:0 6px 16px rgba(17,42,92,.04) !important;
}
@media (max-width:1100px){
  .category-results-list{row-gap:14px !important;}
}

/* Sponsored listing visual alignment with normal result cards */
.category-results-list > .ad-placement--search-sponsored-listing .ad-sponsored-listing-card,
.listing-related-grid > .ad-placement--listing-similar .ad-sponsored-listing-card{
  display:grid !important;
  grid-template-columns:148px minmax(0,1fr) !important;
  align-items:stretch !important;
  gap:0 !important;
  min-height:136px !important;
  padding:0 !important;
  border:1px solid #d9e3ef !important;
  border-radius:16px !important;
  overflow:hidden !important;
  background:#fff !important;
  box-shadow:0 6px 16px rgba(17,42,92,.04) !important;
  font-family:Arial,sans-serif !important;
  color:#1b2435 !important;
}
.category-results-list > .ad-placement--search-sponsored-listing .ad-sponsored-listing-card::before,
.listing-related-grid > .ad-placement--listing-similar .ad-sponsored-listing-card::before{
  display:none !important;
}
.category-results-list > .ad-placement--search-sponsored-listing .ad-sponsored-listing-card .thumb-link,
.listing-related-grid > .ad-placement--listing-similar .ad-sponsored-listing-card .thumb-link{
  display:block !important;
  width:148px !important;
  height:100% !important;
}
.category-results-list > .ad-placement--search-sponsored-listing .ad-sponsored-listing-card .thumb,
.listing-related-grid > .ad-placement--listing-similar .ad-sponsored-listing-card .thumb{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:148px !important;
  height:100% !important;
  min-height:136px !important;
  border-radius:0 !important;
  background:#edf2f7 !important;
  padding:10px !important;
}
.category-results-list > .ad-placement--search-sponsored-listing .ad-sponsored-listing-card .thumb img,
.listing-related-grid > .ad-placement--listing-similar .ad-sponsored-listing-card .thumb img{
  display:block !important;
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
  object-position:center center !important;
}
.category-results-list > .ad-placement--search-sponsored-listing .ad-sponsored-listing-card .listing-body,
.listing-related-grid > .ad-placement--listing-similar .ad-sponsored-listing-card .listing-body{
  display:flex !important;
  flex-direction:column !important;
  gap:8px !important;
  min-width:0 !important;
  padding:12px 14px !important;
  color:#1b2435 !important;
  font-family:Arial,sans-serif !important;
}
.ad-sponsored-listing-card__meta-line{
  color:#72839b !important;
  font-size:12px !important;
  line-height:1.25 !important;
  font-weight:400 !important;
}
.ad-sponsored-listing-card__title{
  margin:0 !important;
  padding-right:120px !important;
  font-size:20px !important;
  line-height:1.15 !important;
  letter-spacing:-.02em !important;
  font-weight:800 !important;
  color:#0f1624 !important;
}
.ad-sponsored-listing-card__title a{
  color:#0f1624 !important;
  text-decoration:none !important;
  font:inherit !important;
}
.ad-sponsored-listing-card__title a:hover{
  color:#2f6fff !important;
}
.ad-sponsored-listing-card__description{
  margin:0 !important;
  color:#4d5e75 !important;
  font-size:14px !important;
  line-height:1.4 !important;
  font-weight:400 !important;
}
.ad-sponsored-listing-card__price{
  margin-top:auto !important;
  color:#2f7a2f !important;
  font-size:18px !important;
  line-height:1.15 !important;
  font-weight:900 !important;
}
.ad-sponsored-listing-card__badge{
  top:10px !important;
  right:10px !important;
  height:24px !important;
  padding:0 9px !important;
  border-radius:999px !important;
  background:#fff7ed !important;
  color:#9a3412 !important;
  font-size:11px !important;
  line-height:24px !important;
  font-weight:800 !important;
  letter-spacing:.02em !important;
}
@media(max-width:760px){
  .category-results-list > .ad-placement--search-sponsored-listing .ad-sponsored-listing-card,
  .listing-related-grid > .ad-placement--listing-similar .ad-sponsored-listing-card{
    grid-template-columns:112px minmax(0,1fr) !important;
    min-height:120px !important;
  }
  .category-results-list > .ad-placement--search-sponsored-listing .ad-sponsored-listing-card .thumb-link,
  .listing-related-grid > .ad-placement--listing-similar .ad-sponsored-listing-card .thumb-link,
  .category-results-list > .ad-placement--search-sponsored-listing .ad-sponsored-listing-card .thumb,
  .listing-related-grid > .ad-placement--listing-similar .ad-sponsored-listing-card .thumb{
    width:112px !important;
    min-height:120px !important;
  }
  .ad-sponsored-listing-card__title{
    padding-right:0 !important;
    font-size:17px !important;
  }
}

/* Homepage spacing: keep the ad block gap equal above and below. */
.home-layout--premium .home-content > .ad-placement + .home-latest{
  margin-top:0 !important;
}
.advertising-impression-progress{border:1px solid #e2e8f0;border-radius:14px;background:#f8fafc;padding:10px 12px;margin:4px 0 12px;max-width:520px}.advertising-impression-progress__head{display:flex;justify-content:space-between;gap:12px;align-items:center;color:#13294b}.advertising-impression-progress__head strong{font-size:.95rem}.advertising-impression-progress__head span{font-weight:800}.advertising-impression-progress__bar{height:8px;border-radius:999px;background:#e2e8f0;overflow:hidden;margin:8px 0 5px}.advertising-impression-progress__bar span{display:block;height:100%;border-radius:inherit;background:#2f6df6}.advertising-impression-progress small{color:#64748b;font-weight:700}

/* Advertising: visible additional impression balance in campaign overview */
.advertising-user-campaign .advertising-impression-progress{
  display:block;
  width:100%;
  max-width:none;
  box-sizing:border-box;
  border:1px solid #cfe0f5;
  border-radius:14px;
  background:#f8fbff;
  padding:12px 14px;
  margin:10px 0 12px;
  clear:both;
}
.advertising-user-campaign .advertising-impression-progress__head{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap;}
.advertising-user-campaign .advertising-impression-progress__head strong{font-size:1rem;color:#001b44;}
.advertising-user-campaign .advertising-impression-progress__head span{font-weight:800;color:#001b44;}
.advertising-user-campaign .advertising-impression-progress__bar{height:10px;border-radius:999px;background:#e2e8f0;overflow:hidden;margin:9px 0 6px;}
.advertising-user-campaign .advertising-impression-progress__bar span{display:block;height:100%;border-radius:inherit;background:#2f6df6;}
.advertising-user-campaign .advertising-impression-progress small{display:block;color:#475569;font-weight:700;}

/* PRO landing page */
.pro-landing,.pro-detail-page{max-width:1240px;margin:0 auto 56px;padding:0 18px;color:#10243f}
.pro-anchor-nav{position:sticky;top:72px;z-index:20;display:flex;justify-content:center;gap:10px;margin:12px auto 18px;padding:8px;border:1px solid #dbe5f2;border-radius:999px;background:rgba(255,255,255,.92);box-shadow:0 12px 30px rgba(15,23,42,.08);backdrop-filter:blur(14px);width:max-content;max-width:calc(100% - 24px)}
.pro-anchor-nav a{display:inline-flex;align-items:center;min-height:36px;padding:0 14px;border-radius:999px;color:#213955;text-decoration:none;font-weight:850;font-size:.92rem}
.pro-anchor-nav a:hover{background:#eef6ff;color:#0f2d52}
.pro-hero{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);gap:34px;align-items:center;padding:48px;border:0;background:linear-gradient(135deg,#07121f 0%,#11243a 46%,#0f3c2a 100%);color:#fff;box-shadow:0 28px 70px rgba(5,18,35,.24)}
.pro-hero::after{content:"";position:absolute;inset:auto -120px -180px auto;width:420px;height:420px;border-radius:50%;background:radial-gradient(circle,rgba(168,235,39,.34),rgba(168,235,39,0) 65%)}
.pro-hero .eyebrow,.pro-detail-hero .eyebrow,.pro-section .eyebrow,.pro-promo .eyebrow{display:inline-flex;align-items:center;gap:8px;margin-bottom:12px;color:#5b8b1c;background:#eefbe0;border:1px solid #d9f5bd;border-radius:999px;padding:6px 11px;font-size:.78rem;font-weight:900;letter-spacing:.09em;text-transform:uppercase}
.pro-hero .eyebrow{color:#dfffb6;background:rgba(168,235,39,.14);border-color:rgba(168,235,39,.34)}
.pro-hero h1{max-width:760px;margin:0;color:#fff;font-size:clamp(2.45rem,5vw,5.2rem);line-height:.94;letter-spacing:-.06em;font-weight:950}
.pro-hero p{max-width:640px;margin:22px 0 0;color:#d6e5f5;font-size:1.14rem;line-height:1.65}
.pro-hero__actions{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin-top:28px}
.pro-contact-note{display:inline-flex;min-height:42px;align-items:center;padding:0 14px;border:1px solid rgba(255,255,255,.18);border-radius:999px;background:rgba(255,255,255,.08);color:#eaf4ff;font-weight:800}
.pro-hero__visual{position:relative;z-index:1;min-height:380px;display:grid;place-items:center}
.pro-visual-card{position:absolute;border-radius:28px;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.1);box-shadow:0 28px 70px rgba(0,0,0,.28);backdrop-filter:blur(12px)}
.pro-visual-card--one{width:72%;height:250px;transform:rotate(-5deg);background:linear-gradient(160deg,rgba(255,255,255,.18),rgba(255,255,255,.05))}
.pro-visual-card--two{width:62%;height:210px;transform:translate(42px,34px) rotate(7deg);background:linear-gradient(160deg,rgba(168,235,39,.22),rgba(255,255,255,.06))}
.pro-visual-chart{position:relative;z-index:2;display:flex;align-items:flex-end;gap:12px;width:250px;height:170px;padding:22px;border-radius:26px;background:#fff;box-shadow:0 22px 48px rgba(0,0,0,.22)}
.pro-visual-chart span{flex:1;border-radius:12px 12px 5px 5px;background:linear-gradient(180deg,#a8eb27,#3c8f2f)}
.pro-visual-chart span:nth-child(1){height:42%}.pro-visual-chart span:nth-child(2){height:64%}.pro-visual-chart span:nth-child(3){height:82%}.pro-visual-chart span:nth-child(4){height:58%}
.pro-benefits,.pro-info-grid,.pro-step-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:22px 0}
.pro-benefit-card,.pro-note-card,.pro-step-card{padding:24px;border:1px solid #dbe5f2;box-shadow:0 18px 42px rgba(17,42,92,.08)}
.pro-benefit-card strong,.pro-note-card h3,.pro-step-card h3{display:block;margin:0 0 8px;color:#0f243d;font-size:1.08rem;font-weight:900}
.pro-benefit-card p,.pro-note-card p,.pro-step-card p{margin:0;color:#55657b;line-height:1.55}
.pro-promo{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:28px 0;padding:28px 32px;border:1px solid #cfe8b8;background:linear-gradient(135deg,#fbfff6,#f1ffe6)}
.pro-promo h2,.pro-section h2,.pro-final-cta h2{margin:0;color:#0f243d;font-size:clamp(1.7rem,3vw,2.65rem);letter-spacing:-.035em;line-height:1.05}
.pro-promo p,.pro-section__head p,.pro-final-cta p{margin:10px 0 0;color:#58677a;line-height:1.6}
.pro-section{margin:46px 0}
.pro-section__head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:20px}
.pro-section__head--center{justify-content:center;text-align:center}
.pro-filter-box{padding:22px;margin-bottom:22px;border:1px solid #dbe5f2;background:#f8fbff}
.pro-filter-box__title{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:16px}
.pro-filter-box__title strong{font-size:1.08rem;color:#0f243d}.pro-filter-box__title span{color:#64748b;font-weight:750}
.pro-filter-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.pro-filter-grid label{display:flex;flex-direction:column;gap:7px;color:#34465e;font-weight:850;font-size:.92rem}
.pro-filter-grid select{min-height:46px;border:1px solid #cfd9e7;border-radius:14px;background:#fff;color:#10243f;padding:0 12px;font:inherit}
.pro-package-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;align-items:stretch}
.pro-package-card{position:relative;display:flex;flex-direction:column;gap:18px;min-height:100%;padding:28px;border:1px solid #dbe5f2;overflow:hidden;box-shadow:0 22px 50px rgba(17,42,92,.1)}
.pro-package-card::before{content:"";position:absolute;inset:0 0 auto;height:7px;background:var(--pro-accent,#a8eb27)}
.pro-package-card.is-recommended{border-color:color-mix(in srgb,var(--pro-accent,#a8eb27) 52%,#dbe5f2);box-shadow:0 30px 65px rgba(17,42,92,.16);transform:translateY(-8px)}
.pro-package-card__ribbon{position:absolute;top:18px;right:18px;z-index:2;border-radius:999px;background:var(--pro-accent,#a8eb27);color:#07121f;padding:7px 12px;font-size:.78rem;font-weight:950;text-transform:uppercase;letter-spacing:.06em}
.pro-package-card__head h3{margin:0 0 6px;color:#0f243d;font-size:1.75rem;letter-spacing:-.03em}.pro-package-card__head p{margin:0;color:#64748b;font-weight:800}
.pro-package-card__price{display:flex;flex-direction:column;gap:2px;padding:18px;border-radius:22px;background:#f7fafc;border:1px solid #e2e8f0}
.pro-package-card__price strong{font-size:2rem;letter-spacing:-.04em;color:#0f243d}.pro-package-card__price span{color:#526176;font-weight:850}.pro-package-card__price small{color:#7b8797;font-weight:750}
.pro-package-card__actions{display:flex;flex-direction:column;gap:10px}.pro-package-card__actions .btn-primary,.pro-package-card__actions .btn-secondary{justify-content:center}
.pro-feature-list{display:grid;gap:10px;margin:0;padding:0;list-style:none}.pro-feature-list li{position:relative;padding-left:28px;color:#2f4058;line-height:1.45;font-weight:750}.pro-feature-list li::before{content:"";position:absolute;left:0;top:.18em;width:18px;height:18px;border-radius:50%;background:var(--pro-accent,#a8eb27);box-shadow:inset 0 0 0 5px rgba(255,255,255,.62)}
.pro-package-card__details{margin-top:auto;color:#173d1e;font-weight:900;text-decoration:none}.pro-package-card__details:hover{text-decoration:underline}
.pro-functions-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.85fr);gap:22px;align-items:stretch}.pro-function-list{display:grid;gap:12px;padding:18px;border:1px solid #dbe5f2}.pro-function-item{padding:18px;border:1px solid #e2e8f0;border-radius:18px;background:#fff}.pro-function-item.is-active{background:#0f243d;color:#fff;border-color:#0f243d}.pro-function-item strong{display:block;margin-bottom:6px;font-weight:900}.pro-function-item p{margin:0;color:#64748b;line-height:1.55}.pro-function-item.is-active p{color:#dce8f6}
.pro-function-visual{display:grid;place-items:center;min-height:420px;border:1px solid #dbe5f2;background:linear-gradient(145deg,#eff6ff,#f6ffef);overflow:hidden}.pro-list-preview{width:74%;height:260px;border-radius:28px;background:repeating-linear-gradient(180deg,#fff 0,#fff 38px,#eef4fb 39px,#eef4fb 58px);box-shadow:0 24px 54px rgba(17,42,92,.16)}.pro-stats-preview{position:absolute;display:flex;align-items:flex-end;gap:8px;width:190px;height:120px;padding:18px;border-radius:22px;background:#10243f;box-shadow:0 18px 44px rgba(17,42,92,.22);transform:translate(70px,88px)}.pro-stats-preview span{flex:1;border-radius:8px 8px 3px 3px;background:#a8eb27}.pro-stats-preview span:nth-child(1){height:32%}.pro-stats-preview span:nth-child(2){height:64%}.pro-stats-preview span:nth-child(3){height:48%}.pro-stats-preview span:nth-child(4){height:82%}.pro-stats-preview span:nth-child(5){height:58%}
.pro-step-card span{display:grid;place-items:center;width:42px;height:42px;margin-bottom:14px;border-radius:50%;background:#10243f;color:#fff;font-weight:950}.pro-step-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.pro-final-cta{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:34px 0;padding:30px 34px;border:1px solid #dbe5f2;background:linear-gradient(135deg,#10243f,#173d2d);color:#fff}.pro-final-cta h2{color:#fff}.pro-final-cta p{color:#d9e7f5}.pro-final-cta__actions{display:flex;flex-direction:column;align-items:flex-end;gap:10px;flex-wrap:nowrap;margin-left:auto;flex:0 0 auto}.pro-final-cta__actions a{white-space:nowrap}.pro-empty-state{padding:28px;border:1px solid #dbe5f2}.pro-empty-state h3{margin:0 0 8px}.pro-empty-state p{margin:0;color:#64748b}
.pro-detail-page{padding-top:24px}.pro-detail-hero{display:flex;justify-content:space-between;gap:28px;align-items:flex-end;padding:38px;border:1px solid #dbe5f2;box-shadow:0 24px 56px rgba(17,42,92,.12)}.pro-detail-hero h1{margin:0;color:#0f243d;font-size:clamp(2.2rem,5vw,4.4rem);letter-spacing:-.055em;line-height:.95}.pro-detail-hero p{max-width:760px;color:#536378;line-height:1.65}.pro-detail-price{display:flex;gap:10px;align-items:baseline;flex-wrap:wrap}.pro-detail-price strong{font-size:1.65rem;color:#0f243d}.pro-detail-price span{font-weight:850;color:#64748b}.pro-detail-hero__actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}.pro-detail-tabs{display:flex;gap:10px;margin:20px 0;padding:10px;border:1px solid #dbe5f2}.pro-detail-tabs a{flex:1;text-align:center;text-decoration:none;color:#243b55;font-weight:900;border-radius:14px;padding:13px 16px}.pro-detail-tabs a.is-active{background:#10243f;color:#fff}.pro-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.pro-detail-card{padding:24px;border:1px solid #dbe5f2}.pro-detail-card h2{margin:0 0 12px;color:#0f243d;font-size:1.3rem}.pro-detail-card p{margin:0 0 10px;color:#536378;line-height:1.65}.pro-detail-card p:last-child{margin-bottom:0}
@media(max-width:1080px){.pro-hero{grid-template-columns:1fr}.pro-hero__visual{min-height:300px}.pro-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pro-package-grid,.pro-benefits,.pro-info-grid{grid-template-columns:1fr}.pro-package-card.is-recommended{transform:none}.pro-functions-grid,.pro-detail-grid{grid-template-columns:1fr}.pro-step-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pro-detail-hero{flex-direction:column;align-items:flex-start}.pro-detail-hero__actions{justify-content:flex-start}.pro-detail-tabs{flex-direction:column}}
@media(max-width:680px){.pro-landing,.pro-detail-page{padding:0 12px}.pro-anchor-nav{position:static;width:auto;overflow:auto;justify-content:flex-start}.pro-hero{padding:30px 22px;border-radius:22px}.pro-hero h1{font-size:2.4rem}.pro-hero__visual{display:none}.pro-promo,.pro-final-cta{flex-direction:column;align-items:flex-start;padding:24px}.pro-filter-grid,.pro-step-grid{grid-template-columns:1fr}.pro-detail-hero{padding:26px}.pro-detail-hero__actions,.pro-final-cta__actions{width:100%;flex-direction:column}.pro-detail-hero__actions a,.pro-final-cta__actions a{justify-content:center}.pro-package-card{padding:24px}}

.pro-cart-form{margin:0}.pro-cart-form .btn-primary{width:100%;justify-content:center}.pro-cart-selection-list{list-style:none;margin:8px 0 0;padding:0;display:grid;gap:4px}.pro-cart-selection-list li{display:grid;gap:1px}.pro-cart-selection-list strong{font-size:.9rem;color:inherit}.pro-cart-selection-list small{display:block;color:#64748b;line-height:1.4}.order-item .pro-cart-selection-list{margin-top:4px}

/* PRO page compact sizing: keep the PRO layout aligned with the normal site header width */
.pro-landing,
.pro-detail-page{
  max-width:var(--page-width);
  margin:0 auto 42px;
  padding:0 var(--page-gutter) 0;
}
.pro-anchor-nav{
  top:68px;
  margin:8px auto 14px;
  padding:6px;
  gap:6px;
  box-shadow:0 8px 20px rgba(15,23,42,.06);
}
.pro-anchor-nav a{
  min-height:32px;
  padding:0 12px;
  font-size:.86rem;
}
.pro-hero{
  grid-template-columns:minmax(0,1.1fr) minmax(280px,.9fr);
  gap:24px;
  padding:34px 46px;
  border-radius:22px;
  box-shadow:0 18px 46px rgba(5,18,35,.18);
}
.pro-hero::after{
  width:330px;
  height:330px;
  inset:auto -90px -135px auto;
}
.pro-hero .eyebrow,
.pro-detail-hero .eyebrow,
.pro-section .eyebrow,
.pro-promo .eyebrow{
  margin-bottom:9px;
  padding:5px 10px;
  font-size:.72rem;
  letter-spacing:.08em;
}
.pro-hero h1{
  max-width:650px;
  font-size:clamp(2.2rem,3.8vw,3.65rem);
  line-height:1.02;
  letter-spacing:-.05em;
}
.pro-hero p{
  max-width:560px;
  margin-top:16px;
  font-size:1rem;
  line-height:1.55;
}
.pro-hero__actions{
  gap:10px;
  margin-top:22px;
}
.pro-contact-note{
  min-height:38px;
  padding:0 12px;
  font-size:.92rem;
}
.pro-hero__visual{
  min-height:285px;
}
.pro-visual-card{
  border-radius:22px;
  box-shadow:0 18px 42px rgba(0,0,0,.22);
}
.pro-visual-card--one{
  width:72%;
  height:190px;
}
.pro-visual-card--two{
  width:62%;
  height:160px;
  transform:translate(34px,28px) rotate(7deg);
}
.pro-visual-chart{
  width:190px;
  height:130px;
  gap:9px;
  padding:18px;
  border-radius:22px;
  box-shadow:0 16px 36px rgba(0,0,0,.2);
}
.pro-benefits,
.pro-info-grid,
.pro-step-grid{
  gap:16px;
  margin:18px 0;
}
.pro-benefit-card,
.pro-note-card,
.pro-step-card{
  padding:20px 22px;
  box-shadow:0 12px 30px rgba(17,42,92,.06);
}
.pro-benefit-card strong,
.pro-note-card h3,
.pro-step-card h3{
  font-size:1rem;
}
.pro-benefit-card p,
.pro-note-card p,
.pro-step-card p{
  font-size:.96rem;
  line-height:1.5;
}
.pro-promo{
  margin:24px 0;
  padding:24px 28px;
  border-radius:20px;
}
.pro-promo h2,
.pro-section h2,
.pro-final-cta h2{
  font-size:clamp(1.5rem,2.35vw,2.15rem);
  line-height:1.12;
}
.pro-promo p,
.pro-section__head p,
.pro-final-cta p{
  font-size:.96rem;
  line-height:1.5;
}
.pro-section{
  margin:34px 0;
}
.pro-section__head{
  gap:16px;
  margin-bottom:16px;
}
.pro-filter-box{
  padding:18px 20px;
  margin-bottom:18px;
  border-radius:18px;
}
.pro-filter-box__title{
  margin-bottom:12px;
}
.pro-filter-box__title strong{
  font-size:1rem;
}
.pro-filter-box__title span{
  font-size:.94rem;
}
.pro-filter-grid{
  gap:10px;
}
.pro-filter-grid label{
  gap:6px;
  font-size:.88rem;
}
.pro-filter-grid select{
  min-height:42px;
  border-radius:12px;
  padding:0 10px;
  font-size:.92rem;
}
.pro-package-grid{
  gap:18px;
}
.pro-package-card{
  gap:14px;
  padding:24px 28px;
  border-radius:20px;
  box-shadow:0 15px 38px rgba(17,42,92,.08);
}
.pro-package-card::before{
  height:6px;
}
.pro-package-card.is-recommended{
  box-shadow:0 18px 44px rgba(17,42,92,.12);
  transform:translateY(-4px);
}
.pro-package-card__ribbon{
  top:14px;
  right:14px;
  padding:6px 10px;
  font-size:.72rem;
}
.pro-package-card__head h3{
  font-size:1.55rem;
}
.pro-package-card__head p{
  font-size:.96rem;
}
.pro-package-card__price{
  padding:16px 18px;
  border-radius:18px;
}
.pro-package-card__price strong{
  font-size:1.65rem;
}
.pro-package-card__price span,
.pro-package-card__price small{
  font-size:.92rem;
}
.pro-feature-list{
  gap:8px;
}
.pro-feature-list li{
  padding-left:24px;
  font-size:.96rem;
  line-height:1.38;
}
.pro-feature-list li::before{
  width:16px;
  height:16px;
  box-shadow:inset 0 0 0 4px rgba(255,255,255,.62);
}
.pro-package-card__details{
  font-size:.96rem;
}
.pro-functions-grid{
  grid-template-columns:minmax(0,1fr) minmax(280px,.85fr);
  gap:18px;
}
.pro-function-list{
  gap:10px;
  padding:16px;
}
.pro-function-item{
  padding:16px 18px;
  border-radius:16px;
}
.pro-function-item strong{
  font-size:1rem;
}
.pro-function-item p{
  font-size:.95rem;
  line-height:1.5;
}
.pro-function-visual{
  min-height:320px;
}
.pro-list-preview{
  width:72%;
  height:205px;
  border-radius:24px;
}
.pro-stats-preview{
  width:150px;
  height:95px;
  padding:14px;
  border-radius:18px;
  transform:translate(54px,68px);
}
.pro-step-grid{
  gap:16px;
}
.pro-step-card span{
  width:36px;
  height:36px;
  margin-bottom:12px;
}
.pro-final-cta{
  margin:28px 0 0;
  padding:26px 32px;
  border-radius:20px;
}
.pro-detail-page{
  padding-top:16px;
}
.pro-detail-hero{
  padding:30px 34px;
  border-radius:22px;
  gap:22px;
}
.pro-detail-hero h1{
  font-size:clamp(2rem,3.7vw,3.4rem);
  line-height:1.02;
}
.pro-detail-hero p{
  font-size:1rem;
  line-height:1.55;
}
.pro-detail-card{
  padding:20px 22px;
}
.pro-detail-card h2{
  font-size:1.18rem;
}
.pro-detail-card p{
  font-size:.96rem;
  line-height:1.55;
}
@media(max-width:1080px){
  .pro-hero{
    grid-template-columns:1fr;
    padding:32px 34px;
  }
  .pro-hero__visual{
    min-height:245px;
  }
  .pro-filter-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .pro-package-card.is-recommended{
    transform:none;
  }
}
@media(max-width:680px){
  .pro-landing,
  .pro-detail-page{
    padding:0 12px;
  }
  .pro-anchor-nav{
    position:static;
    width:auto;
    justify-content:flex-start;
    overflow:auto;
  }
  .pro-hero{
    padding:26px 22px;
    border-radius:20px;
  }
  .pro-hero h1{
    font-size:2.15rem;
  }
  .pro-hero__visual{
    display:none;
  }
  .pro-promo,
  .pro-final-cta{
    padding:22px;
  }
  .pro-final-cta__actions{
    width:100%;
    align-items:stretch;
    margin-left:0;
  }
  .pro-final-cta__actions a{
    justify-content:center;
  }
  .pro-filter-grid,
  .pro-step-grid{
    grid-template-columns:1fr;
  }
  .pro-package-card{
    padding:22px;
  }
}

/* PRO function carousel */
.pro-functions[data-pro-functions] .pro-functions-grid{grid-template-columns:minmax(0,1fr) minmax(360px,.98fr);align-items:stretch}.pro-functions[data-pro-functions] .pro-function-list{display:flex;flex-direction:column;gap:0;padding:0;border:0;background:transparent;box-shadow:none}.pro-functions[data-pro-functions] .pro-function-item{appearance:none;width:100%;border:0;background:transparent;border-radius:0;padding:18px 24px;text-align:left;color:#061d37;cursor:pointer;transition:background .22s ease,color .22s ease,box-shadow .22s ease}.pro-functions[data-pro-functions] .pro-function-item strong{display:block;margin:0;font-weight:950;font-size:1.02rem;line-height:1.35}.pro-functions[data-pro-functions] .pro-function-item p{display:none;margin:18px 0 0;color:#061d37;font-size:.96rem;line-height:1.5}.pro-functions[data-pro-functions] .pro-function-item .pro-function-cta{display:none;margin-top:14px;color:#1f6b0b;font-weight:850}.pro-functions[data-pro-functions] .pro-function-item.is-active{background:#f5f2ee;color:#1f6b0b;box-shadow:inset 5px 0 0 #7ec51b}.pro-functions[data-pro-functions] .pro-function-item.is-active p,.pro-functions[data-pro-functions] .pro-function-item.is-active .pro-function-cta{display:block}.pro-functions[data-pro-functions] .pro-function-visual{position:relative;display:block;min-height:310px;padding:0;border:0;border-radius:0;background:#f5f2ee;box-shadow:none;overflow:hidden}.pro-function-control{position:absolute;z-index:6;top:24px;left:24px;display:grid;place-items:center;width:46px;height:46px;border:0;border-radius:999px;background:#fff;color:#1f6b0b;box-shadow:0 8px 22px rgba(15,23,42,.08);cursor:pointer;transition:transform .18s ease,box-shadow .18s ease}.pro-function-control:hover{transform:translateY(-1px);box-shadow:0 12px 28px rgba(15,23,42,.12)}.pro-control-icon{display:block;position:relative}.pro-control-icon--pause{display:flex;gap:5px}.pro-control-icon--pause span{display:block;width:5px;height:16px;border-radius:4px;background:#1f6b0b}.pro-control-icon--play{display:none;width:0;height:0;margin-left:3px;border-top:9px solid transparent;border-bottom:9px solid transparent;border-left:14px solid #1f6b0b}.pro-function-control.is-paused .pro-control-icon--pause{display:none}.pro-function-control.is-paused .pro-control-icon--play{display:block}.pro-function-stage{position:absolute;inset:0;opacity:0;transform:translateX(18px);pointer-events:none;transition:opacity .35s ease,transform .35s ease}.pro-function-stage.is-active{opacity:1;transform:translateX(0);pointer-events:auto}.pro-function-browser{position:absolute;left:18%;top:36px;width:57%;height:184px;border-radius:9px;background:#fff;box-shadow:0 4px 16px rgba(0,0,0,.14);overflow:hidden}.pro-browser-bar{height:32px;background:#a8eb27;display:flex;align-items:center;gap:8px;padding:0 12px;color:#2f6418;font-size:.68rem;font-weight:900}.pro-browser-bar span{width:16px;height:16px;border:2px solid #2f6418;border-radius:6px}.pro-browser-row{position:absolute;left:13px;right:13px;height:50px;border-radius:6px;background:#fff;box-shadow:0 1px 5px rgba(0,0,0,.12);display:grid;grid-template-columns:58px 1fr 1fr .7fr;gap:10px;align-items:center;padding:7px}.pro-browser-row--main{top:54px;transform:translateX(-20px);width:122%}.pro-browser-row--small:nth-of-type(3){top:118px}.pro-browser-row--small:nth-of-type(4){top:178px}.pro-browser-row i{display:block;height:100%;border-radius:5px;background:linear-gradient(135deg,#b8844d,#f1d4a4)}.pro-browser-row b{display:block;height:8px;border-radius:999px;background:#dfe3e8}.pro-browser-row b:nth-child(3){width:74%}.pro-browser-row b:nth-child(4){width:58%}.pro-function-highlight{position:absolute;opacity:0;transition:opacity .35s ease,transform .35s ease}.pro-function-stage--push .pro-highlight--push,.pro-function-stage--shop .pro-highlight--shop,.pro-function-stage--stats .pro-highlight--stats,.pro-function-stage--customer .pro-highlight--customer,.pro-function-stage--top .pro-highlight--top{opacity:1}.pro-highlight--push{right:13%;top:92px;width:56px;height:56px;border-radius:999px;background:#a8eb27;box-shadow:0 10px 24px rgba(118,190,28,.28)}.pro-highlight--push::before{content:"";position:absolute;inset:15px;border:3px solid #245f13;border-radius:50%}.pro-highlight--push::after{content:"";position:absolute;right:13px;top:72px;width:6px;height:82px;border-radius:999px;background:#245f13;box-shadow:0 -22px 0 -2px #245f13;transform:rotate(0deg)}.pro-highlight--shop{right:10%;top:104px;width:250px;height:88px;border-radius:10px;background:#fff;box-shadow:0 5px 18px rgba(0,0,0,.12);display:flex;align-items:flex-end;padding:18px}.pro-highlight--shop::before{content:"";position:absolute;left:22px;top:-32px;width:96px;height:78px;border-radius:7px;background:linear-gradient(135deg,#f78b3c,#d7e4ef)}.pro-highlight--shop em{font-style:normal;font-size:.68rem;font-weight:900;color:#6a6f75;margin-left:46px}.pro-highlight--shop span{position:absolute;right:14px;top:12px;padding:3px 8px;border:1px solid #aeb5bd;border-radius:999px;color:#68707a;font-size:.66rem;font-weight:900}.pro-highlight--stats{right:15%;top:74px;width:230px;height:168px;border-radius:8px;background:#fff;box-shadow:0 5px 18px rgba(0,0,0,.13);display:flex;align-items:flex-end;gap:9px;padding:28px 22px}.pro-highlight--stats em{position:absolute;top:18px;left:0;right:0;text-align:center;font-size:.72rem;font-style:normal;font-weight:900;color:#777}.pro-highlight--stats span{flex:1;border-radius:4px 4px 0 0;background:#e4e6e8}.pro-highlight--stats span:nth-child(1){height:44%}.pro-highlight--stats span:nth-child(2){height:68%}.pro-highlight--stats span:nth-child(3){height:52%}.pro-highlight--stats span:nth-child(4){height:83%}.pro-highlight--stats span:nth-child(5){height:63%}.pro-highlight--stats::after{content:"";position:absolute;left:29px;right:36px;bottom:54px;height:52px;background:linear-gradient(145deg,transparent 0 15%,#2f6418 16% 19%,transparent 20% 37%,#2f6418 38% 41%,transparent 42% 58%,#2f6418 59% 62%,transparent 63%);opacity:.9}.pro-highlight--customer{right:8%;top:84px;width:252px;height:150px}.pro-highlight--customer::before{content:"";position:absolute;left:-90px;top:42px;width:48px;height:48px;border-radius:999px;background:#fff;box-shadow:0 0 0 34px rgba(255,255,255,.72)}.pro-highlight--customer span{position:absolute;right:0;width:136px;height:36px;border-radius:7px;background:#fff;box-shadow:0 3px 10px rgba(0,0,0,.08)}.pro-highlight--customer span::before{content:"";position:absolute;left:9px;top:8px;width:20px;height:20px;border-radius:999px;background:#a8eb27}.pro-highlight--customer span::after{content:"";position:absolute;left:40px;right:12px;top:12px;height:5px;border-radius:999px;background:#d7dadd;box-shadow:0 9px 0 #eceeef}.pro-highlight--customer span:nth-child(1){top:0}.pro-highlight--customer span:nth-child(2){top:43px}.pro-highlight--customer span:nth-child(3){top:86px}.pro-highlight--customer span:nth-child(4){top:129px}.pro-highlight--top{right:13%;top:124px;width:56px;height:56px;border-radius:999px;background:#a8eb27;box-shadow:0 10px 24px rgba(118,190,28,.25)}.pro-highlight--top::before{content:"";position:absolute;inset:16px;border:3px solid #245f13;border-radius:5px}.pro-highlight--top span{position:absolute;right:-48px;top:-38px;padding:5px 12px;border-radius:999px;background:#d8b7ff;color:#6b32b2;font-size:.7rem;font-weight:950}.pro-function-chip{position:absolute;left:20%;bottom:32px;display:none;align-items:center;justify-content:center;min-width:176px;min-height:44px;padding:0 22px;border-radius:999px;background:#fff;color:#6a6f75;font-weight:900;box-shadow:0 3px 12px rgba(0,0,0,.1)}.pro-function-chip::before{content:"";width:24px;height:24px;margin-right:10px;border-radius:999px;background:#f0e5ff;box-shadow:inset 0 0 0 6px #fff}.pro-function-stage--push .pro-chip--push,.pro-function-stage--shop .pro-chip--shop,.pro-function-stage--stats .pro-chip--stats,.pro-function-stage--customer .pro-chip--customer,.pro-function-stage--top .pro-chip--top{display:flex}.pro-function-stage--customer .pro-function-browser{left:28%;top:96px;width:28%;height:94px}.pro-function-stage--stats .pro-function-browser{left:12%;top:64px;width:40%;height:154px}.pro-function-stage--top .pro-function-browser{left:11%;width:64%;height:190px}.pro-function-stage--top .pro-browser-row--main{top:58px}.pro-function-stage--shop .pro-browser-row--small:nth-of-type(4),.pro-function-stage--stats .pro-browser-row--small:nth-of-type(4),.pro-function-stage--customer .pro-browser-row--small:nth-of-type(4){display:none}@media(max-width:1080px){.pro-functions[data-pro-functions] .pro-functions-grid{grid-template-columns:1fr}.pro-functions[data-pro-functions] .pro-function-visual{min-height:300px}.pro-function-browser{left:17%;width:58%}}@media(max-width:680px){.pro-functions[data-pro-functions] .pro-function-item{padding:16px 18px}.pro-functions[data-pro-functions] .pro-function-visual{min-height:260px}.pro-function-control{top:16px;left:16px;width:40px;height:40px}.pro-function-browser{left:16%;top:44px;width:66%;height:150px}.pro-highlight--shop,.pro-highlight--stats{transform:scale(.8);transform-origin:top right}.pro-function-chip{left:18%;bottom:24px;min-width:150px;min-height:40px;font-size:.88rem}}

/* PRO category explanation drawer */
.pro-category-help-button{display:inline-flex;align-items:center;gap:8px;border:0;background:transparent;color:#4e6280;font:inherit;font-weight:900;cursor:pointer;padding:8px 10px;border-radius:12px}.pro-category-help-button:hover{background:#eef6ff;color:#0f2d52}.pro-category-help-button span{display:grid;place-items:center;width:18px;height:18px;border-radius:50%;border:1px solid currentColor;font-size:12px;line-height:1}.pro-category-help-backdrop{position:fixed;inset:0;z-index:1000;background:rgba(15,23,42,.54);opacity:0;transition:opacity .18s ease}.pro-category-help-backdrop.is-open{opacity:1}.pro-category-help-drawer{position:fixed;inset:0 auto 0 0;z-index:1001;width:min(400px,92vw);background:#fff;color:#10243f;box-shadow:30px 0 80px rgba(15,23,42,.28);transform:translateX(-100%);transition:transform .2s ease;overflow:auto}.pro-category-help-drawer.is-open{transform:translateX(0)}.pro-category-help-drawer__inner{padding:58px 24px 26px}.pro-category-help-close{position:absolute;top:18px;right:18px;display:grid;place-items:center;width:34px;height:34px;border:0;border-radius:50%;background:#a8eb27;color:#173d1e;font-size:24px;line-height:1;cursor:pointer}.pro-category-help-drawer h3{margin:10px 0 14px;font-size:1.25rem;color:#071d3a}.pro-category-help-drawer p{margin:0;color:#536378;line-height:1.55}.pro-category-help-list{display:grid;gap:16px;margin-top:22px}.pro-category-help-list article{padding-bottom:14px;border-bottom:1px solid #edf2f7}.pro-category-help-list article:last-child{border-bottom:0}.pro-category-help-list strong{display:block;margin-bottom:6px;color:#071d3a;font-weight:950}.pro-category-help-list article p{color:#111827}.pro-category-help-drawer .eyebrow{display:inline-flex;margin:0;color:#315f10;background:#eefbe0;border:1px solid #d9f5bd;border-radius:999px;padding:5px 10px;font-size:.72rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}@media(max-width:680px){.pro-filter-box__title{align-items:flex-start}.pro-category-help-button{padding-left:0}.pro-category-help-drawer__inner{padding:58px 20px 24px}}

/* PRO category drawer close icon correction */
.pro-category-help-close{top:20px;right:18px;width:32px;height:32px;padding:0;background:#a8eb27;color:#173d1e;font-size:0;line-height:0;overflow:hidden}.pro-category-help-close span{position:absolute;width:16px;height:2px;border-radius:999px;background:currentColor;transform:rotate(45deg)}.pro-category-help-close span+span{transform:rotate(-45deg)}.pro-category-help-close:hover{background:#96df12;box-shadow:0 8px 20px rgba(49,95,16,.18)}.pro-category-help-close:focus-visible{outline:3px solid rgba(168,235,39,.35);outline-offset:3px}


/* General user tools outside the customer/business sidebar */
.general-user-area {
  max-width: var(--page-width);
}

.general-user-area .account-main {
  display: grid;
  gap: 18px;
}

.ads-kpi-card strong.ads-kpi-value-compact{font-size:18px;line-height:1.2;word-break:normal;overflow-wrap:normal}

/* Business PRO package status: use full available width for the current package card */
.pro-package-status-list{grid-template-columns:1fr}
.pro-package-status-card{width:100%;max-width:none}
.pro-package-status-card .ads-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.pro-package-status-actions{justify-content:flex-start}
@media(max-width:780px){.pro-package-status-card .ads-kpi-grid{grid-template-columns:1fr}.pro-package-status-actions{justify-content:flex-start}}

.pro-package-cancellation-note{margin:.35rem 0 0;color:#10243f;font-weight:700;line-height:1.45}


.pro-package-status-actions .btn-secondary{
    font-size:14px;
    font-weight:600;
    line-height:1.2;
}


.pro-package-status-actions .btn-primary,
.pro-package-status-actions .btn-secondary{
    min-height: 36px;
    height: 36px;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}


/* Make upgrade buttons use same typography as cancel-revoke button */
.pro-package-status-actions .btn-primary,
.pro-package-status-actions .btn-secondary,
.pro-booking-upgrade-form .btn-primary,
.pro-booking-upgrade-form .btn-secondary,
button[type="submit"]{
    font-size:14px;
    font-weight:600;
    line-height:1.2;
}

/* Final homepage vertical rhythm override */
.market-search-shell{margin-bottom:18px!important}
.market-search-shell + .home-layout,
main.home-layout.home-layout--premium{margin-top:0!important}
main.home-layout.home-layout--premium{gap:18px!important;padding-top:0!important;padding-bottom:0!important;margin-bottom:18px!important}
main.home-layout.home-layout--premium .home-content{gap:18px!important}
main.home-layout.home-layout--premium .home-content > *{margin-top:0!important;margin-bottom:0!important}
main.home-layout.home-layout--premium + .site-footer,
.site-footer.site-footer-modern{padding-top:0!important;margin-top:0!important}

/* Homepage category accordion like classic marketplace sidebar */
.home-sidebar-card--compact-categories{
  border-radius:0;
  border:0;
  box-shadow:none;
  padding:12px 12px 14px;
  min-height:0;
  background:#fff;
}
.home-category-box-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin:0 0 8px;
}
.home-sidebar-card--compact-categories .home-category-box-head h2{
  margin:0;
  font-size:14px;
  line-height:1.2;
  font-weight:700;
  color:#222;
}
.home-category-box-head a{
  font-size:14px;
  line-height:1.2;
  color:#5fa247;
  text-decoration:none;
  white-space:nowrap;
}
.home-categories--accordion{
  display:block;
}
.home-category-group{
  padding:9px 0 9px;
  border-bottom:1px solid #d7d7d7;
}
.home-category-group:last-child{
  border-bottom:0;
  padding-bottom:0;
}
.home-category-group__title{
  display:block;
  margin:0 0 5px;
  color:#222!important;
  font-size:12px!important;
  line-height:1.35!important;
  font-weight:700;
  text-decoration:none;
}
.home-category-group__children,
.home-category-group__more{
  display:flex;
  flex-direction:column;
  gap:5px;
}
.home-category-child{
  display:block;
  color:#333!important;
  font-size:12px!important;
  line-height:1.35!important;
  font-weight:400;
  text-decoration:none;
}
.home-category-child:hover,
.home-category-group__title:hover,
.home-category-box-head a:hover,
.home-category-more:hover{
  text-decoration:underline;
}
.home-category-more{
  display:inline-flex;
  align-items:center;
  align-self:flex-start;
  margin:5px 0 0;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  color:#4f9a39;
  font:inherit;
  font-size:12px;
  line-height:1.35;
  cursor:pointer;
}
.home-category-more__close{
  display:none;
}
.home-category-group.is-open .home-category-more__open{
  display:none;
}
.home-category-group.is-open .home-category-more__close{
  display:inline;
}
@media (min-width: 900px){
  .home-layout{
    grid-template-columns:255px 1fr;
  }
}
@media (max-width: 899px){
  .home-sidebar-card--compact-categories{
    border-radius:14px;
    border:1px solid #d7dfeb;
  }
}

/* Final category sidebar: rounded card and larger text */
.home-sidebar-card--compact-categories{
  border-radius:18px!important;
  overflow:hidden;
  padding:12px 12px 16px!important;
}
.home-sidebar-card--compact-categories .home-category-box-head h2{
  font-size:16px!important;
  line-height:1.25!important;
}
.home-sidebar-card--compact-categories .home-category-box-head a{
  font-size:15px!important;
  line-height:1.25!important;
}
.home-sidebar-card--compact-categories .home-category-group__title{
  font-size:14px!important;
  line-height:1.45!important;
}
.home-sidebar-card--compact-categories .home-category-child{
  font-size:14px!important;
  line-height:1.45!important;
}
.home-sidebar-card--compact-categories .home-category-more{
  font-size:14px!important;
  line-height:1.45!important;
}

/* Homepage typography: make section headings match the category heading size. */
.home-layout--premium .home-category-box-head h2,
.home-layout--premium .home-company-pages__head h2,
.home-layout--premium .home-latest .section-head h2,
.home-layout--premium .home-latest h2,
.home-layout--premium .home-gallery-head h2{
  font-size:16px!important;
  line-height:1.25!important;
  font-weight:700!important;
  letter-spacing:0!important;
  margin:0!important;
}
.home-layout--premium .home-category-box-head a,
.home-layout--premium .home-company-pages__head a{
  font-size:15px!important;
  line-height:1.25!important;
  font-weight:400!important;
  color:#5fa247!important;
}

/* Gallery placement entry and info modal */
.home-gallery-head--simple{display:flex;justify-content:space-between;align-items:center;gap:16px}
.home-gallery-placement{display:inline-flex;align-items:center;gap:6px;flex:0 0 auto;height:32px}
.home-gallery-placement__link{border:0;background:transparent;color:#8fd35f;font:inherit;font-size:14px;line-height:32px;padding:0 4px 0 0;cursor:pointer;white-space:nowrap}
.home-gallery-placement__link:hover{color:#a8eb27;text-decoration:underline}
.home-gallery-placement__arrow{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border:2px solid #d8dec9;border-radius:50%;background:#fff;color:#426f31;font-family:Arial,Helvetica,sans-serif;font-size:24px;font-weight:700;line-height:26px;padding:0 0 2px;box-sizing:border-box;cursor:pointer;box-shadow:0 1px 2px rgba(0,0,0,.12)}
.home-gallery-placement__arrow:hover{border-color:#a8eb27;color:#2f7d1f}
.gallery-placement-modal[hidden]{display:none}
.gallery-placement-modal{position:fixed;inset:0;z-index:1400;display:flex;align-items:center;justify-content:center;background:rgba(15,23,42,.34);padding:24px}
.gallery-placement-modal__backdrop{position:absolute;inset:0}
.gallery-placement-modal__dialog{position:relative;z-index:1;width:min(100%,720px);background:#fff;border-radius:2px;box-shadow:0 20px 60px rgba(15,23,42,.2);padding:32px 32px 28px;color:#0f172a}
.gallery-placement-modal__close{position:absolute;top:18px;right:18px;border:0;background:transparent;color:#2f6b1f;font-size:34px;line-height:1;cursor:pointer;padding:0}
.gallery-placement-modal__content{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:center}
.gallery-placement-modal__copy{display:flex;flex-direction:column;align-items:flex-start}
.gallery-placement-modal__copy h2{grid-column:1/-1;margin:0 0 24px;font-size:20px;line-height:1.2;font-weight:800;color:#000}
.gallery-placement-modal__copy h3{margin:0 0 18px;font-size:18px;line-height:1.22;font-weight:800;color:#000}
.gallery-placement-modal__copy ul{margin:0 0 28px;padding-left:18px;display:grid;gap:14px}
.gallery-placement-modal__copy li{font-size:15px;line-height:1.32;color:#000}
.gallery-placement-modal__cta{align-self:flex-end;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 24px;border-radius:999px;background:#a8eb27;color:#163400;font-weight:800;text-decoration:none}
.gallery-placement-modal__visual{min-height:220px;display:flex;align-items:center;justify-content:center}
.gallery-placement-preview{width:292px;background:#f7f7f7;border-top:6px solid #d9c5ff;padding:28px 24px 22px;box-sizing:border-box}
.gallery-placement-preview__brand{display:flex;align-items:center;gap:8px;height:28px;background:#fff;color:#355e2a;font-size:14px;font-weight:700;padding:0 8px}
.gallery-placement-preview__brand span{width:16px;height:18px;border:2px solid #2f7d1f;border-radius:50% 50% 40% 40%;display:inline-block}
.gallery-placement-preview__bar{height:8px;background:#a8eb27;margin:0 0 8px}
.gallery-placement-preview__layout{display:grid;grid-template-columns:72px 1fr;gap:8px}
.gallery-placement-preview__side{height:128px;background:#deded8}
.gallery-placement-preview__main{display:grid;gap:8px}
.gallery-placement-preview__gallery{height:74px;background:#eee4ff;display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding:10px;box-sizing:border-box}
.gallery-placement-preview__gallery span{background:#6240bd}
.gallery-placement-preview__line{height:38px;background:linear-gradient(90deg,#d9d8d1 0%,#f1f1ef 100%)}
.gallery-placement-preview__line--short{height:18px;width:74%}
@media(max-width:760px){.home-gallery-head--simple{align-items:flex-start;flex-direction:column}.gallery-placement-modal__dialog{padding:26px 20px 22px}.gallery-placement-modal__content{grid-template-columns:1fr}.gallery-placement-modal__visual{min-height:auto}.gallery-placement-modal__cta{align-self:flex-start}}

/* Gallery placement spacing adjustment */
.home-gallery--blue{gap:0}
.home-gallery--blue .home-gallery-head--simple{margin-bottom:9px}

.ads-limit-card{margin:18px 0;padding:18px;border:1px solid #dbe7f5;border-radius:20px;background:linear-gradient(180deg,#fff 0%,#f8fbff 100%);box-shadow:0 12px 30px rgba(10,25,55,.05);display:grid;gap:12px}.ads-limit-card.is-warning{border-color:#f4c96b;background:linear-gradient(180deg,#fffaf0 0%,#fff 100%)}.ads-limit-card.is-reached{border-color:#f0a1a1;background:linear-gradient(180deg,#fff5f5 0%,#fff 100%)}.ads-limit-card__head,.ads-limit-card__foot{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.ads-limit-card__head strong{display:block;color:var(--navy);font-size:18px}.ads-limit-card__head span,.ads-limit-card__foot span{color:var(--muted);font-size:14px}.ads-limit-card__head b{font-size:22px;color:var(--navy);white-space:nowrap}.ads-limit-progress{height:10px;border-radius:999px;background:#e7eef8;overflow:hidden}.ads-limit-progress span{display:block;height:100%;border-radius:999px;background:#255fe8}.ads-limit-card.is-warning .ads-limit-progress span{background:#d97706}.ads-limit-card.is-reached .ads-limit-progress span{background:#dc2626}.ads-limit-note{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px;border-radius:14px;background:rgba(255,255,255,.72);border:1px solid rgba(15,23,42,.07)}.ads-limit-note strong{color:var(--navy)}.ads-limit-note span{color:var(--muted)}@media(max-width:720px){.ads-limit-card__head,.ads-limit-card__foot{flex-direction:column}.ads-limit-note{align-items:flex-start}}
.btn-secondary.is-disabled{opacity:.65;cursor:not-allowed;pointer-events:none}

.site-footer-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1rem;
}
.site-footer-social-links--mobile {
  justify-content: center;
  margin: .85rem 0 .35rem;
}
.site-footer-social-link {
  align-items: center;
  border: 1px solid currentColor;
  border-radius: 999px;
  display: inline-flex;
  font-size: .78rem;
  font-weight: 700;
  height: 2rem;
  justify-content: center;
  line-height: 1;
  text-decoration: none;
  width: 2rem;
}
.site-footer-social-link:hover,
.site-footer-social-link:focus-visible {
  text-decoration: none;
  transform: translateY(-1px);
}

.site-footer-social-link i{font-size:18px;line-height:1;display:inline-flex;align-items:center;justify-content:center}

.auth-social-login{margin-top:24px;padding-top:20px;border-top:1px solid #e6edf6}
.auth-social-login__divider{display:flex;align-items:center;gap:12px;margin-bottom:14px;color:#64748b;font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}
.auth-social-login__divider::before,.auth-social-login__divider::after{content:"";height:1px;background:#e6edf6;flex:1}
.auth-social-login__buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.auth-social-login__button{min-height:46px;display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:10px 14px;border:1px solid #d8e4ff;border-radius:14px;background:#fff;color:#172033;font-size:14px;font-weight:800;text-align:center;box-shadow:0 10px 22px rgba(17,42,92,.04)}
.auth-social-login__button:hover,.auth-social-login__button:focus-visible{border-color:#245fe9;color:#245fe9;background:#f6f9ff;text-decoration:none}
.auth-social-login__button i{font-size:18px;line-height:1;display:inline-flex;align-items:center;justify-content:center;min-width:20px}
@media (max-width:640px){.auth-social-login__buttons{grid-template-columns:1fr}.auth-social-login__button{justify-content:flex-start}}

.site-footer-social-link__icon,
.auth-social-login__icon {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  line-height: 1;
}
.site-social-svg,
.auth-social-svg {
  display: block;
  height: 18px;
  width: 18px;
}
.site-footer-social-link__fa,
.auth-social-login__fa {
  display: none !important;
}

/* Social icons: SVG output, no FontAwesome dependency */
.site-footer-social-link__icon,
.auth-social-login__icon{align-items:center;display:inline-flex;justify-content:center;line-height:1;color:currentColor}
.site-social-svg,.auth-social-svg{display:block;height:18px;width:18px;color:currentColor;fill:currentColor}
.site-footer-social-link__fa,.auth-social-login__fa{display:none!important}
html.theme-dark .auth-social-login__button,body.theme-dark .auth-social-login__button,[data-theme="dark"] .auth-social-login__button{background:#101d31;border-color:#31537f;color:#eef5ff;box-shadow:none}
html.theme-dark .auth-social-login__button:hover,body.theme-dark .auth-social-login__button:hover,[data-theme="dark"] .auth-social-login__button:hover{background:#14243a;border-color:#60a5fa;color:#bfdbfe}
html.theme-dark .auth-social-login,body.theme-dark .auth-social-login,[data-theme="dark"] .auth-social-login{border-top-color:#253b5a}
html.theme-dark .auth-social-login__divider,body.theme-dark .auth-social-login__divider,[data-theme="dark"] .auth-social-login__divider{color:#b9c7da}
html.theme-dark .auth-social-login__divider::before,html.theme-dark .auth-social-login__divider::after,body.theme-dark .auth-social-login__divider::before,body.theme-dark .auth-social-login__divider::after,[data-theme="dark"] .auth-social-login__divider::before,[data-theme="dark"] .auth-social-login__divider::after{background:#253b5a}

/* Publish button: keep the primary listing submit button green in light and dark mode. */
.listing-form-actions--publish .listing-publish-action--primary.btn-primary,
.listing-form-actions--publish button.listing-publish-action--primary.btn-primary,
html.theme-dark .listing-form-actions--publish .listing-publish-action--primary.btn-primary,
body.theme-dark .listing-form-actions--publish .listing-publish-action--primary.btn-primary,
[data-theme="dark"] .listing-form-actions--publish .listing-publish-action--primary.btn-primary{
  background:#8ccf00!important;
  background-image:none!important;
  border-color:#8ccf00!important;
  color:#102000!important;
  box-shadow:none!important;
}
.listing-form-actions--publish .listing-publish-action--primary.btn-primary:hover,
.listing-form-actions--publish .listing-publish-action--primary.btn-primary:focus,
.listing-form-actions--publish .listing-publish-action--primary.btn-primary:active,
html.theme-dark .listing-form-actions--publish .listing-publish-action--primary.btn-primary:hover,
html.theme-dark .listing-form-actions--publish .listing-publish-action--primary.btn-primary:focus,
html.theme-dark .listing-form-actions--publish .listing-publish-action--primary.btn-primary:active,
body.theme-dark .listing-form-actions--publish .listing-publish-action--primary.btn-primary:hover,
body.theme-dark .listing-form-actions--publish .listing-publish-action--primary.btn-primary:focus,
body.theme-dark .listing-form-actions--publish .listing-publish-action--primary.btn-primary:active,
[data-theme="dark"] .listing-form-actions--publish .listing-publish-action--primary.btn-primary:hover,
[data-theme="dark"] .listing-form-actions--publish .listing-publish-action--primary.btn-primary:focus,
[data-theme="dark"] .listing-form-actions--publish .listing-publish-action--primary.btn-primary:active{
  background:#7fbd00!important;
  background-image:none!important;
  border-color:#7fbd00!important;
  color:#102000!important;
  box-shadow:0 0 0 3px rgba(140,207,0,.22)!important;
}

.category-provider-preview{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:10px 0 2px;padding:10px 12px;border:1px solid rgba(91,33,182,.18);border-radius:14px;background:linear-gradient(135deg,rgba(109,40,217,.08),rgba(255,255,255,.96));box-shadow:0 8px 18px rgba(17,42,92,.05)}
.category-provider-preview__main{display:flex;align-items:center;gap:10px;min-width:0;color:#13294b;text-decoration:none}
.category-provider-preview__badge{display:inline-flex;align-items:center;justify-content:center;padding:4px 8px;border-radius:4px;background:#6d28d9;color:#fff;font-size:12px;font-weight:800;line-height:1;text-transform:uppercase;letter-spacing:.02em}
.category-provider-preview__logo{width:34px;height:34px;border-radius:10px;border:1px solid rgba(148,163,184,.35);background:#fff;display:flex;align-items:center;justify-content:center;overflow:hidden;flex:0 0 34px;font-weight:800;color:#6d28d9;font-size:12px}
.category-provider-preview__logo img{width:100%;height:100%;object-fit:contain;display:block}
.category-provider-preview__text{display:flex;flex-direction:column;min-width:0;gap:2px}
.category-provider-preview__text strong{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#111827}
.category-provider-preview__text small{font-size:12px;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.category-provider-preview__items{display:flex;align-items:center;gap:6px;flex:0 0 auto}
.category-provider-preview__items a{width:38px;height:38px;border-radius:9px;border:1px solid rgba(148,163,184,.35);overflow:hidden;background:#fff;display:flex;align-items:center;justify-content:center;text-decoration:none;color:#94a3b8;font-size:10px;font-weight:700}
.category-provider-preview__items img{width:100%;height:100%;object-fit:cover;display:block}
@media (max-width:780px){.category-provider-preview{align-items:flex-start;flex-direction:column}.category-provider-preview__items{width:100%;overflow-x:auto}.category-provider-preview__items a{width:46px;height:46px;flex:0 0 46px}}


/* PRO Anzeigenverwaltung: keep views and action columns separated and inside the card. */
.ads-table-wrap{
  max-width:100% !important;
  overflow-x:auto !important;
  overflow-y:visible !important;
  -webkit-overflow-scrolling:touch;
}
.ads-table-wrap .ads-table.ads-table--pro{
  width:100% !important;
  min-width:760px !important;
  table-layout:fixed !important;
}
.ads-table-wrap .ads-table.ads-table--pro th,
.ads-table-wrap .ads-table.ads-table--pro td{
  box-sizing:border-box;
  vertical-align:middle;
  overflow:hidden;
  text-overflow:ellipsis;
}
.ads-table-wrap .ads-table.ads-table--pro th:nth-child(1),
.ads-table-wrap .ads-table.ads-table--pro td:nth-child(1){
  width:9% !important;
  text-align:center;
  white-space:nowrap;
}
.ads-table-wrap .ads-table.ads-table--pro th:nth-child(2),
.ads-table-wrap .ads-table.ads-table--pro td:nth-child(2){
  width:8% !important;
  white-space:nowrap;
}
.ads-table-wrap .ads-table.ads-table--pro th:nth-child(3),
.ads-table-wrap .ads-table.ads-table--pro td:nth-child(3){
  width:28% !important;
  min-width:0 !important;
}
.ads-table-wrap .ads-table.ads-table--pro th:nth-child(4),
.ads-table-wrap .ads-table.ads-table--pro td:nth-child(4){
  width:15% !important;
  white-space:nowrap;
}
.ads-table-wrap .ads-table.ads-table--pro th:nth-child(5),
.ads-table-wrap .ads-table.ads-table--pro td:nth-child(5){
  width:15% !important;
  padding-left:8px !important;
  text-align:center;
  white-space:nowrap;
}
.ads-table-wrap .ads-table.ads-table--pro th:nth-child(6),
.ads-table-wrap .ads-table.ads-table--pro td:nth-child(6){
  width:10% !important;
  padding-left:6px !important;
  padding-right:6px !important;
  text-align:center;
  white-space:nowrap;
}
.ads-table-wrap .ads-table.ads-table--pro th.action-col,
.ads-table-wrap .ads-table.ads-table--pro td.action-col{
  width:15% !important;
  min-width:112px;
  padding-left:6px !important;
  padding-right:8px !important;
  text-align:right;
  white-space:nowrap !important;
  overflow:visible;
}
.ads-table-wrap .ads-table.ads-table--pro .action-menu{
  max-width:100%;
}
.ads-table-wrap .ads-table.ads-table--pro .action-trigger{
  max-width:100%;
  min-width:0;
  padding-left:12px;
  padding-right:10px;
  gap:6px;
}
.ads-table-wrap .ads-table.ads-table--pro .ads-views-count{
  min-width:0;
  padding-left:.45rem;
  padding-right:.45rem;
}
@media (max-width:900px){
  .ads-table-wrap .ads-table.ads-table--pro{
    min-width:760px !important;
  }
}

/* PRO Anzeigenverwaltung: Bild und Preis in der Anzeigenliste. */
.ads-table-wrap .ads-table.ads-table--with-media{
  width:100% !important;
  min-width:900px !important;
  table-layout:fixed !important;
}
.ads-listing-thumb{
  width:58px;
  height:44px;
  border:1px solid #dbe4f0;
  border-radius:10px;
  background:#f8fafc;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  color:#94a3b8;
  text-decoration:none;
  font-weight:800;
}
.ads-listing-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.ads-price-cell{
  display:inline-block;
  max-width:100%;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.ads-table-wrap .ads-table.ads-table--with-media:not(.ads-table--pro) th:nth-child(1),
.ads-table-wrap .ads-table.ads-table--with-media:not(.ads-table--pro) td:nth-child(1){width:7% !important;white-space:nowrap;}
.ads-table-wrap .ads-table.ads-table--with-media:not(.ads-table--pro) th:nth-child(2),
.ads-table-wrap .ads-table.ads-table--with-media:not(.ads-table--pro) td:nth-child(2){width:10% !important;text-align:center;}
.ads-table-wrap .ads-table.ads-table--with-media:not(.ads-table--pro) th:nth-child(3),
.ads-table-wrap .ads-table.ads-table--with-media:not(.ads-table--pro) td:nth-child(3){width:29% !important;min-width:0 !important;}
.ads-table-wrap .ads-table.ads-table--with-media:not(.ads-table--pro) th:nth-child(4),
.ads-table-wrap .ads-table.ads-table--with-media:not(.ads-table--pro) td:nth-child(4){width:13% !important;white-space:nowrap;}
.ads-table-wrap .ads-table.ads-table--with-media:not(.ads-table--pro) th:nth-child(5),
.ads-table-wrap .ads-table.ads-table--with-media:not(.ads-table--pro) td:nth-child(5){width:12% !important;white-space:nowrap;}
.ads-table-wrap .ads-table.ads-table--with-media:not(.ads-table--pro) th:nth-child(6),
.ads-table-wrap .ads-table.ads-table--with-media:not(.ads-table--pro) td:nth-child(6){width:12% !important;text-align:center;white-space:nowrap;}
.ads-table-wrap .ads-table.ads-table--with-media:not(.ads-table--pro) th:nth-child(7),
.ads-table-wrap .ads-table.ads-table--with-media:not(.ads-table--pro) td:nth-child(7){width:7% !important;text-align:center;white-space:nowrap;}
.ads-table-wrap .ads-table.ads-table--with-media:not(.ads-table--pro) th.action-col,
.ads-table-wrap .ads-table.ads-table--with-media:not(.ads-table--pro) td.action-col{width:10% !important;min-width:112px;text-align:right;overflow:visible;white-space:nowrap !important;}
.ads-table-wrap .ads-table.ads-table--pro.ads-table--with-media{
  min-width:1060px !important;
}
.ads-table-wrap .ads-table.ads-table--pro.ads-table--with-media th:nth-child(1),
.ads-table-wrap .ads-table.ads-table--pro.ads-table--with-media td:nth-child(1){width:5% !important;text-align:center;white-space:nowrap;}
.ads-table-wrap .ads-table.ads-table--pro.ads-table--with-media th:nth-child(2),
.ads-table-wrap .ads-table.ads-table--pro.ads-table--with-media td:nth-child(2){width:6% !important;white-space:nowrap;}
.ads-table-wrap .ads-table.ads-table--pro.ads-table--with-media th:nth-child(3),
.ads-table-wrap .ads-table.ads-table--pro.ads-table--with-media td:nth-child(3){width:9% !important;text-align:center;}
.ads-table-wrap .ads-table.ads-table--pro.ads-table--with-media th:nth-child(4),
.ads-table-wrap .ads-table.ads-table--pro.ads-table--with-media td:nth-child(4){width:25% !important;min-width:0 !important;}
.ads-table-wrap .ads-table.ads-table--pro.ads-table--with-media th:nth-child(5),
.ads-table-wrap .ads-table.ads-table--pro.ads-table--with-media td:nth-child(5){width:13% !important;white-space:nowrap;}
.ads-table-wrap .ads-table.ads-table--pro.ads-table--with-media th:nth-child(6),
.ads-table-wrap .ads-table.ads-table--pro.ads-table--with-media td:nth-child(6){width:12% !important;text-align:center;white-space:nowrap;}
.ads-table-wrap .ads-table.ads-table--pro.ads-table--with-media th:nth-child(7),
.ads-table-wrap .ads-table.ads-table--pro.ads-table--with-media td:nth-child(7){width:11% !important;text-align:center;white-space:nowrap;}
.ads-table-wrap .ads-table.ads-table--pro.ads-table--with-media th:nth-child(8),
.ads-table-wrap .ads-table.ads-table--pro.ads-table--with-media td:nth-child(8){width:7% !important;text-align:center;white-space:nowrap;}
.ads-table-wrap .ads-table.ads-table--pro.ads-table--with-media th.action-col,
.ads-table-wrap .ads-table.ads-table--pro.ads-table--with-media td.action-col{width:12% !important;min-width:112px;text-align:right;overflow:visible;white-space:nowrap !important;}
@media (max-width:900px){
  .ads-table-wrap .ads-table.ads-table--with-media{min-width:900px !important;}
  .ads-table-wrap .ads-table.ads-table--pro.ads-table--with-media{min-width:1060px !important;}
}

/* PRO Anzeigenverwaltung: korrigiertes 7-Spalten-Layout nach Zusammenlegung von Bild, ID und Titel. */
.ads-table-wrap .ads-table.ads-table--pro.ads-table--with-media{
  min-width:760px !important;
}
.ads-table-wrap .ads-table.ads-table--pro.ads-table--with-media th,
.ads-table-wrap .ads-table.ads-table--pro.ads-table--with-media td{
  padding-left:14px !important;
  padding-right:14px !important;
}
.ads-table-wrap .ads-table.ads-table--pro.ads-table--with-media th:nth-child(1),
.ads-table-wrap .ads-table.ads-table--pro.ads-table--with-media td:nth-child(1){
  width:6% !important;
  min-width:44px !important;
  text-align:center;
  white-space:nowrap;
}
.ads-table-wrap .ads-table.ads-table--pro.ads-table--with-media th:nth-child(2),
.ads-table-wrap .ads-table.ads-table--pro.ads-table--with-media td:nth-child(2){
  width:38% !important;
  min-width:250px !important;
  white-space:normal !important;
  overflow:visible !important;
}
.ads-table-wrap .ads-table.ads-table--pro.ads-table--with-media th:nth-child(3),
.ads-table-wrap .ads-table.ads-table--pro.ads-table--with-media td:nth-child(3){
  width:13% !important;
  min-width:92px !important;
  text-align:left;
  white-space:nowrap;
}
.ads-table-wrap .ads-table.ads-table--pro.ads-table--with-media th:nth-child(4),
.ads-table-wrap .ads-table.ads-table--pro.ads-table--with-media td:nth-child(4){
  width:12% !important;
  min-width:92px !important;
  text-align:center;
  white-space:nowrap;
}
.ads-table-wrap .ads-table.ads-table--pro.ads-table--with-media th:nth-child(5),
.ads-table-wrap .ads-table.ads-table--pro.ads-table--with-media td:nth-child(5){
  width:14% !important;
  min-width:116px !important;
  text-align:left;
  white-space:nowrap;
}
.ads-table-wrap .ads-table.ads-table--pro.ads-table--with-media th:nth-child(6),
.ads-table-wrap .ads-table.ads-table--pro.ads-table--with-media td:nth-child(6){
  width:7% !important;
  min-width:70px !important;
  text-align:center;
  white-space:nowrap;
}
.ads-table-wrap .ads-table.ads-table--pro.ads-table--with-media th.action-col,
.ads-table-wrap .ads-table.ads-table--pro.ads-table--with-media td.action-col{
  width:10% !important;
  min-width:98px !important;
  text-align:right;
  overflow:visible !important;
  white-space:nowrap !important;
}
.ads-listing-cell{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}
.ads-listing-cell .ads-listing-thumb{
  flex:0 0 58px;
}
.ads-listing-main{
  display:flex;
  flex-direction:column;
  gap:4px;
  min-width:0;
  max-width:100%;
}
.ads-listing-main strong,
.ads-listing-main small{
  display:block;
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.ads-listing-main strong a{
  display:inline-block;
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  vertical-align:bottom;
}
@media (max-width:900px){
  .ads-table-wrap .ads-table.ads-table--pro.ads-table--with-media{
    min-width:760px !important;
  }
  .ads-table-wrap .ads-table.ads-table--pro.ads-table--with-media th,
  .ads-table-wrap .ads-table.ads-table--pro.ads-table--with-media td{
    padding-left:12px !important;
    padding-right:12px !important;
  }
  .ads-table-wrap .ads-table.ads-table--pro.ads-table--with-media th:nth-child(2),
  .ads-table-wrap .ads-table.ads-table--pro.ads-table--with-media td:nth-child(2){
    min-width:220px !important;
  }
}

/* Kundenmenue: Anzeigenuebersicht im gleichen modernen Layout wie das Business-Menue. */
.customer-ads-list-card{
  overflow:hidden;
}
.customer-ads-list-card .ads-page-head{
  align-items:flex-start;
  gap:24px;
  margin-bottom:36px;
}
.customer-ads-list-card .ads-page-head h1{
  margin:0;
  color:#073b78;
  font-size:34px;
  line-height:1.05;
  letter-spacing:-.03em;
}
.customer-ads-list-card .ads-page-head p{
  margin:.35rem 0 0;
  color:#58708f;
}
.customer-ads-list-card .eyebrow{
  color:#0d5fd0;
  font-size:12px;
  font-weight:800;
  letter-spacing:.18em;
  text-transform:uppercase;
}
.customer-ads-list-card .ads-subnav{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:16px;
}
.customer-ads-list-card .ads-subnav a{
  min-height:44px;
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:0 15px;
  border:1px solid #d7e4f5;
  border-radius:999px;
  background:#fff;
  color:#061f3d;
  font-weight:500;
  text-decoration:none;
  box-shadow:0 8px 20px rgba(19,52,88,.04);
}
.customer-ads-list-card .ads-subnav a.active{
  border-color:#3378ff;
  background:#3378ff;
  color:#fff;
  box-shadow:0 10px 24px rgba(51,120,255,.18);
}
.customer-ads-list-card .ads-subnav strong{
  min-width:24px;
  height:24px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:#eef4fb;
  color:#073b78;
  font-size:12px;
  font-weight:800;
}
.customer-ads-list-card .ads-subnav a.active strong{
  background:rgba(255,255,255,.22);
  color:#fff;
}
.customer-ads-list-card .ads-table-wrap{
  border:1px solid #d2e0f1;
  border-radius:18px;
  background:#fff;
  overflow-x:auto;
}
.customer-ads-list-card .ads-table-wrap .ads-table.ads-table--modern{
  width:100%;
  min-width:780px;
  border-collapse:separate;
  border-spacing:0;
}
.customer-ads-list-card .ads-table--modern thead th{
  background:#f4f7fb;
  color:#073b78;
  font-size:12px;
  letter-spacing:.04em;
  text-transform:uppercase;
  border-bottom:1px solid #d2e0f1;
}
.customer-ads-list-card .ads-table--modern tbody td{
  padding-top:12px;
  padding-bottom:12px;
}
.customer-ads-list-card .ads-table--modern tbody tr:hover td{
  background:#fbfdff;
}
.customer-ads-list-card .ads-table--modern .ads-listing-cell{
  display:table-cell;
  min-width:0;
}
.customer-ads-list-card .ads-listing-cell-inner{
  display:flex;
  align-items:center;
  gap:13px;
  min-width:0;
}
.customer-ads-list-card .ads-listing-thumb{
  width:58px;
  height:46px;
  border:1px solid #d6e2f2;
  border-radius:12px;
  background:#f6f9fd;
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  flex-direction:column;
  gap:2px;
  font-size:10px;
  color:#7b8da6;
  overflow:hidden;
  text-decoration:none;
}
.customer-ads-list-card .ads-listing-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.customer-ads-list-card .ads-listing-thumb-empty{
  width:18px;
  height:2px;
  border-radius:999px;
  background:#9aa8bc;
  display:block;
}
.customer-ads-list-card .ads-listing-main{
  display:grid;
  gap:4px;
  min-width:0;
}
.customer-ads-list-card .ads-listing-main strong,
.customer-ads-list-card .ads-listing-main a{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.customer-ads-list-card .ads-listing-main a{
  color:#0d63ff;
  text-decoration:none;
}
.customer-ads-list-card .ads-listing-main small{
  color:#55708f;
  font-size:12px;
}
.customer-ads-list-card .ads-price-cell{
  white-space:nowrap;
}
.customer-ads-list-card .ads-table--modern .action-trigger--icon{
  width:42px;
  min-width:42px;
  height:38px;
  justify-content:center;
  padding:0;
  border-radius:12px;
}
.customer-ads-list-card .ads-table--modern .action-trigger--icon .action-label{
  display:none;
}
.customer-ads-list-card .ads-views-count{
  background:#f1f5f9;
  color:#073b78;
  border-radius:999px;
  min-width:28px;
  min-height:28px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
}
.customer-ads-list-card .ads-table-wrap .ads-table.ads-table--modern th:nth-child(1),
.customer-ads-list-card .ads-table-wrap .ads-table.ads-table--modern td:nth-child(1){width:42%;}
.customer-ads-list-card .ads-table-wrap .ads-table.ads-table--modern th:nth-child(2),
.customer-ads-list-card .ads-table-wrap .ads-table.ads-table--modern td:nth-child(2){width:14%;white-space:nowrap;}
.customer-ads-list-card .ads-table-wrap .ads-table.ads-table--modern th:nth-child(3),
.customer-ads-list-card .ads-table-wrap .ads-table.ads-table--modern td:nth-child(3){width:13%;text-align:center;white-space:nowrap;}
.customer-ads-list-card .ads-table-wrap .ads-table.ads-table--modern th:nth-child(4),
.customer-ads-list-card .ads-table-wrap .ads-table.ads-table--modern td:nth-child(4){width:14%;text-align:center;white-space:nowrap;}
.customer-ads-list-card .ads-table-wrap .ads-table.ads-table--modern th:nth-child(5),
.customer-ads-list-card .ads-table-wrap .ads-table.ads-table--modern td:nth-child(5){width:8%;text-align:center;white-space:nowrap;}
.customer-ads-list-card .ads-table-wrap .ads-table.ads-table--modern th.action-col,
.customer-ads-list-card .ads-table-wrap .ads-table.ads-table--modern td.action-col{width:9%;text-align:right;overflow:visible;}
@media (max-width:780px){
  .customer-ads-list-card{padding:18px;}
  .customer-ads-list-card .ads-page-head{gap:16px;margin-bottom:26px;}
  .customer-ads-list-card .ads-page-head h1{font-size:30px;}
  .customer-ads-list-card .ads-table-wrap .ads-table.ads-table--modern{min-width:780px;}
}

/* Kundenmenue Anzeigen: Titel und ID in der Anzeige-Spalte sichtbar halten. */
.customer-ads-list-card .ads-table-wrap .ads-table.customer-ads-table{
  table-layout:fixed !important;
  width:100% !important;
  min-width:0 !important;
}
.customer-ads-list-card .ads-table-wrap .ads-table.customer-ads-table th:nth-child(1),
.customer-ads-list-card .ads-table-wrap .ads-table.customer-ads-table td:nth-child(1){
  width:42% !important;
  min-width:260px !important;
  white-space:normal !important;
}
.customer-ads-list-card .ads-table-wrap .ads-table.customer-ads-table th:nth-child(2),
.customer-ads-list-card .ads-table-wrap .ads-table.customer-ads-table td:nth-child(2){
  width:14% !important;
  min-width:90px !important;
  white-space:nowrap !important;
}
.customer-ads-list-card .ads-table-wrap .ads-table.customer-ads-table th:nth-child(3),
.customer-ads-list-card .ads-table-wrap .ads-table.customer-ads-table td:nth-child(3){
  width:13% !important;
  min-width:90px !important;
  text-align:center !important;
  white-space:nowrap !important;
}
.customer-ads-list-card .ads-table-wrap .ads-table.customer-ads-table th:nth-child(4),
.customer-ads-list-card .ads-table-wrap .ads-table.customer-ads-table td:nth-child(4){
  width:14% !important;
  min-width:115px !important;
  text-align:center !important;
  white-space:nowrap !important;
}
.customer-ads-list-card .ads-table-wrap .ads-table.customer-ads-table th:nth-child(5),
.customer-ads-list-card .ads-table-wrap .ads-table.customer-ads-table td:nth-child(5){
  width:8% !important;
  min-width:76px !important;
  text-align:center !important;
  white-space:nowrap !important;
}
.customer-ads-list-card .ads-table-wrap .ads-table.customer-ads-table th.action-col,
.customer-ads-list-card .ads-table-wrap .ads-table.customer-ads-table td.action-col{
  width:9% !important;
  min-width:64px !important;
  text-align:right !important;
  white-space:nowrap !important;
}
.customer-ads-list-card .ads-table-wrap .ads-table.customer-ads-table .ads-listing-cell-inner{
  display:flex !important;
  align-items:center !important;
  gap:13px !important;
  min-width:0 !important;
  width:100% !important;
}
.customer-ads-list-card .ads-table-wrap .ads-table.customer-ads-table .ads-listing-main{
  display:grid !important;
  gap:4px !important;
  min-width:0 !important;
  flex:1 1 auto !important;
}
.customer-ads-list-card .ads-table-wrap .ads-table.customer-ads-table .ads-listing-main strong,
.customer-ads-list-card .ads-table-wrap .ads-table.customer-ads-table .ads-listing-main a,
.customer-ads-list-card .ads-table-wrap .ads-table.customer-ads-table .ads-listing-main small{
  display:block !important;
  max-width:100% !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
}
@media (max-width:780px){
  .customer-ads-list-card .ads-table-wrap .ads-table.customer-ads-table{
    min-width:760px !important;
  }
}

/* Kundenmenue Anzeigen: keine abgeschnittene Aktionsspalte und keine unnoetigen Scrollleisten auf Desktop. */
.sr-only{
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  padding:0 !important;
  margin:-1px !important;
  overflow:hidden !important;
  clip:rect(0,0,0,0) !important;
  white-space:nowrap !important;
  border:0 !important;
}
.customer-ads-list-card .ads-table-wrap{
  overflow:visible !important;
}
.customer-ads-list-card .ads-table-wrap .ads-table.customer-ads-table{
  width:100% !important;
  min-width:0 !important;
  max-width:100% !important;
  table-layout:fixed !important;
}
.customer-ads-list-card .ads-table-wrap .ads-table.customer-ads-table th,
.customer-ads-list-card .ads-table-wrap .ads-table.customer-ads-table td{
  box-sizing:border-box !important;
}
.customer-ads-list-card .ads-table-wrap .ads-table.customer-ads-table th:nth-child(1),
.customer-ads-list-card .ads-table-wrap .ads-table.customer-ads-table td:nth-child(1){
  width:42% !important;
  min-width:0 !important;
}
.customer-ads-list-card .ads-table-wrap .ads-table.customer-ads-table th:nth-child(2),
.customer-ads-list-card .ads-table-wrap .ads-table.customer-ads-table td:nth-child(2){
  width:13% !important;
  min-width:0 !important;
}
.customer-ads-list-card .ads-table-wrap .ads-table.customer-ads-table th:nth-child(3),
.customer-ads-list-card .ads-table-wrap .ads-table.customer-ads-table td:nth-child(3){
  width:12% !important;
  min-width:0 !important;
}
.customer-ads-list-card .ads-table-wrap .ads-table.customer-ads-table th:nth-child(4),
.customer-ads-list-card .ads-table-wrap .ads-table.customer-ads-table td:nth-child(4){
  width:15% !important;
  min-width:0 !important;
}
.customer-ads-list-card .ads-table-wrap .ads-table.customer-ads-table th:nth-child(5),
.customer-ads-list-card .ads-table-wrap .ads-table.customer-ads-table td:nth-child(5){
  width:10% !important;
  min-width:0 !important;
}
.customer-ads-list-card .ads-table-wrap .ads-table.customer-ads-table th.action-col,
.customer-ads-list-card .ads-table-wrap .ads-table.customer-ads-table td.action-col{
  width:8% !important;
  min-width:56px !important;
  padding-left:8px !important;
  padding-right:10px !important;
  text-align:right !important;
}
.customer-ads-list-card .ads-table-wrap .ads-table.customer-ads-table .ads-listing-main{
  min-width:0 !important;
  max-width:100% !important;
}
.customer-ads-list-card .ads-table-wrap .ads-table.customer-ads-table .ads-listing-main strong,
.customer-ads-list-card .ads-table-wrap .ads-table.customer-ads-table .ads-listing-main a,
.customer-ads-list-card .ads-table-wrap .ads-table.customer-ads-table .ads-listing-main small{
  max-width:100% !important;
}
@media (max-width:780px){
  .customer-ads-list-card .ads-table-wrap{
    overflow-x:auto !important;
    overflow-y:visible !important;
  }
  .customer-ads-list-card .ads-table-wrap .ads-table.customer-ads-table{
    min-width:760px !important;
  }
}

/* Kundenmenue Anzeigen: Tabellenrahmen und Linien sauber abschliessen. */
.customer-ads-list-card .ads-table-wrap{
  border:1px solid #d2e0f1 !important;
  border-radius:18px !important;
  background:#fff !important;
  overflow:hidden !important;
  box-shadow:none !important;
}
.customer-ads-list-card .ads-table-wrap .ads-table.customer-ads-table{
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  margin:0 !important;
  border:0 !important;
  border-collapse:separate !important;
  border-spacing:0 !important;
  table-layout:fixed !important;
}
.customer-ads-list-card .ads-table-wrap .ads-table.customer-ads-table th,
.customer-ads-list-card .ads-table-wrap .ads-table.customer-ads-table td{
  border-left:0 !important;
  border-right:0 !important;
  box-sizing:border-box !important;
}
.customer-ads-list-card .ads-table-wrap .ads-table.customer-ads-table thead th{
  border-top:0 !important;
  border-bottom:1px solid #d2e0f1 !important;
}
.customer-ads-list-card .ads-table-wrap .ads-table.customer-ads-table tbody td{
  border-bottom:1px solid #d2e0f1 !important;
}
.customer-ads-list-card .ads-table-wrap .ads-table.customer-ads-table tbody tr:last-child td{
  border-bottom:0 !important;
}
.customer-ads-list-card .ads-table-wrap .ads-table.customer-ads-table th:first-child,
.customer-ads-list-card .ads-table-wrap .ads-table.customer-ads-table td:first-child{
  padding-left:16px !important;
}
.customer-ads-list-card .ads-table-wrap .ads-table.customer-ads-table th.action-col,
.customer-ads-list-card .ads-table-wrap .ads-table.customer-ads-table td.action-col{
  padding-right:12px !important;
}
@media (max-width:780px){
  .customer-ads-list-card .ads-table-wrap{
    overflow-x:auto !important;
    overflow-y:hidden !important;
    -webkit-overflow-scrolling:touch !important;
  }
  .customer-ads-list-card .ads-table-wrap .ads-table.customer-ads-table{
    min-width:760px !important;
  }
}

/* Hotfix: listing detail related ads spacing.
   Related listing cards use margin-bottom on each card; the sponsored ad wrapper
   did not, so the following card sat directly against it. */
.listing-related-grid > .ad-placement--listing-similar{
  margin:0 0 16px 0 !important;
  padding:0 !important;
}
.listing-related-grid > .ad-placement--listing-similar .ad-sponsored-listing-card{
  margin:0 !important;
}
@media (max-width:760px){
  .listing-related-grid > .ad-placement--listing-similar{
    margin-bottom:14px !important;
  }
}

/* Inline sort control like: info icon + "Sortieren nach: Neueste" */
.category-results-toolbar .category-sort-form{display:flex;justify-content:flex-end;align-items:center;margin-left:auto}
.category-results-toolbar .category-sort-form .category-sort-inline{display:inline-flex;flex-direction:row;align-items:center;justify-content:flex-end;gap:4px;width:auto}
.category-results-toolbar .category-sort-form .category-sort-inline__label{display:inline-flex;align-items:center;gap:5px;font-size:14px;font-weight:400;letter-spacing:0;text-transform:none;color:#111827;white-space:nowrap}
.category-results-toolbar .category-sort-form .category-sort-inline__icon{display:inline-flex;align-items:center;justify-content:center;width:14px;height:14px;border:1px solid #7a7f87;border-radius:50%;font-size:10px;line-height:1;font-weight:700;color:#7a7f87;font-family:Arial,sans-serif}
.category-results-toolbar .category-sort-form .category-sort-inline select{height:auto;min-width:0;width:auto;border:0;border-radius:0;background-color:transparent;color:#1c7a11;padding:0 16px 0 0;font-size:14px;font-weight:400;box-shadow:none;line-height:1.4;appearance:none;-webkit-appearance:none;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%231c7a11' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right center;background-size:10px 6px}
.category-results-toolbar .category-sort-form .category-sort-inline select:focus{outline:none;border-color:transparent;box-shadow:none}

/* Sort information popup */
.category-sort-inline__icon{background:transparent;padding:0;cursor:pointer}
.category-sort-info-modal[hidden]{display:none!important}
.category-sort-info-modal{position:fixed;inset:0;z-index:3000;background:rgba(0,0,0,.46);display:flex;align-items:center;justify-content:center;padding:24px}
.category-sort-info-modal__panel{position:relative;width:min(500px,calc(100vw - 48px));max-height:calc(100vh - 48px);overflow:auto;background:#f7f5f1;color:#383838;box-shadow:0 14px 35px rgba(15,23,42,.22);border-radius:6px;padding:0 0 14px;font-size:14px;line-height:1.45}
.category-sort-info-modal__head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px 16px;border-bottom:1px solid #d8d3ca}
.category-sort-info-modal__head h3{margin:0;font-size:18px;line-height:1.2;font-weight:800;color:#111}
.category-sort-info-modal__close{appearance:none;border:0;background:transparent;color:#555;font-size:34px;line-height:1;width:34px;height:28px;display:flex;align-items:center;justify-content:center;cursor:pointer;font-weight:300}
.category-sort-info-modal__close:hover{color:#111}
.category-sort-info-modal__body{padding:16px 16px 0}
.category-sort-info-modal__body p{margin:0 0 16px}
@media (max-width:760px){.category-sort-info-modal{padding:16px}.category-sort-info-modal__panel{width:100%;max-height:calc(100vh - 32px)}.category-sort-info-modal__head h3{font-size:17px}}

.news-dashboard-panel{margin:18px 0}.news-dashboard-item.is-unread{border-left:4px solid #2563eb}.news-dashboard-thumb{width:70px;height:54px;border-radius:14px;overflow:hidden;flex:0 0 70px;background:#eef4ff}.news-dashboard-thumb img{width:100%;height:100%;object-fit:cover;display:block}@media(max-width:720px){.news-dashboard-thumb{display:none}}


/* Reviews & badges */
.review-summary-grid,
.account-main .review-summary-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
  gap:16px;
  padding:0 24px 18px;
}
.review-stat-card,
.account-main .review-stat-card{
  min-width:0;
  background:#f7faff;
  border:1px solid var(--line);
  padding:18px;
  border-radius:18px;
}
.review-stat-card span,
.account-main .review-stat-card span{
  display:block;
  color:var(--muted);
  margin-bottom:6px;
}
.review-stat-card strong,
.account-main .review-stat-card strong{
  display:block;
  font-size:24px;
  line-height:1.1;
  color:var(--text);
  word-break:break-word;
}
.review-stat-card small,
.account-main .review-stat-card small{
  display:block;
  margin-top:6px;
  color:var(--muted);
  line-height:1.35;
}
.review-badge-grid,
.account-main .review-badge-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:12px;
  padding:0 24px 24px;
}
.review-badge-card,
.account-main .review-badge-card{
  min-width:0;
  padding:16px;
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
}
.review-badge-card strong,
.account-main .review-badge-card strong{
  display:block;
  color:var(--text);
  line-height:1.25;
  margin-bottom:10px;
}
.review-badge-card p,
.account-main .review-badge-card p{
  margin:0 0 12px;
  color:var(--text);
  line-height:1.35;
}
.review-badge-card small,
.account-main .review-badge-card small{
  display:block;
  color:var(--muted);
}
.review-section-body,
.account-main .review-section-body{
  padding:0 24px 24px;
}

.review-table-wrap,
.account-main .review-table-wrap{
  width:100%;
  overflow-x:auto;
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
}
.review-options-table,
.account-main .review-options-table{
  width:100%;
  min-width:620px;
  border-collapse:separate;
  border-spacing:0;
  table-layout:auto;
  margin:0;
  background:#fff;
}
.review-options-table th,
.review-options-table td,
.account-main .review-options-table th,
.account-main .review-options-table td{
  padding:14px 16px;
  text-align:left;
  vertical-align:middle;
  border-bottom:1px solid var(--line);
  color:var(--text);
  word-break:normal;
}
.review-options-table th,
.account-main .review-options-table th{
  font-size:12px;
  line-height:1.2;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:var(--muted);
  background:#f8fbff;
  white-space:nowrap;
}
.review-options-table tbody tr:last-child td,
.account-main .review-options-table tbody tr:last-child td{
  border-bottom:0;
}
.review-options-table__action,
.account-main .review-options-table__action{
  width:150px;
  text-align:right !important;
  white-space:nowrap;
}
.review-options-table__action .btn-primary,
.account-main .review-options-table__action .btn-primary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  white-space:nowrap;
}
@media (max-width:700px){
  .review-summary-grid,.account-main .review-summary-grid,
  .review-badge-grid,.account-main .review-badge-grid,
  .review-section-body,.account-main .review-section-body{padding-left:18px;padding-right:18px;}
}

/* Reviews: readable list items and admin moderation table */
.review-list-item,
.account-main .review-list-item{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
  padding:14px 16px;
  border:1px solid var(--line);
  border-radius:16px;
  background:#f8fbff;
  color:var(--text);
}
.review-list-item + .review-list-item,
.account-main .review-list-item + .review-list-item{
  margin-top:10px;
}
.review-list-item__rating,
.account-main .review-list-item__rating{
  flex:0 0 auto;
  font-weight:800;
  line-height:1.25;
}
.review-list-item__meta,
.account-main .review-list-item__meta,
.review-list-item__date,
.account-main .review-list-item__date{
  display:inline-block;
  color:var(--text);
  line-height:1.35;
}
.review-list-item__date,
.account-main .review-list-item__date{
  color:var(--muted);
  white-space:nowrap;
}
.review-list-item__meta::before,
.account-main .review-list-item__meta::before{
  content:"";
}
@media (max-width:560px){
  .review-list-item,.account-main .review-list-item{align-items:flex-start;flex-direction:column;gap:4px;}
}

.reviews-admin-table{
  min-width:1250px;
  table-layout:auto;
}
.reviews-admin-table th,
.reviews-admin-table td{
  vertical-align:top;
}
.reviews-admin-table th:nth-child(1){width:120px;}
.reviews-admin-table th:nth-child(2),
.reviews-admin-table th:nth-child(3){width:150px;}
.reviews-admin-table th:nth-child(4){width:100px;}
.reviews-admin-table th:nth-child(5){width:300px;}
.reviews-admin-table th:nth-child(6){width:180px;}
.reviews-admin-table th:nth-child(7){width:90px;}
.reviews-admin-table th:nth-child(8){width:300px;}
.reviews-admin-table .badge{
  display:inline-flex;
  margin:0 6px 6px 0;
  white-space:normal;
  line-height:1.3;
}
.reviews-admin-actions{
  min-width:300px;
  word-break:normal !important;
}
.reviews-admin-action-form{
  display:grid;
  grid-template-columns:minmax(115px,140px) minmax(150px,1fr) auto;
  gap:8px;
  align-items:center;
  width:100%;
}
.reviews-admin-action-form select,
.reviews-admin-action-form input{
  width:100%;
  min-width:0;
}
.reviews-admin-note{
  min-width:150px;
}
.reviews-admin-action-form .btn-small{
  white-space:nowrap;
}
@media (max-width:1100px){
  .reviews-admin-action-form{grid-template-columns:1fr;align-items:stretch;}
}

/* Seller review badges on listing detail page */
.listing-side-user-exact{
  align-items:flex-start;
  flex-wrap:wrap;
  gap:12px;
  padding:13px 14px;
  border-radius:18px;
  background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%);
  border:1px solid #d7e3f2;
  box-shadow:0 8px 22px rgba(15,23,42,.04);
}
.listing-side-user-copy-exact{
  min-width:0;
  gap:0;
  flex:1;
  padding-top:1px;
}
.listing-side-user-copy-exact strong{
  line-height:1.25;
  margin-bottom:5px;
}
.listing-seller-status-lines{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:3px;
  margin:0 0 10px;
}
.listing-side-user-copy-exact .listing-seller-status-lines > span{
  display:inline-flex;
  align-items:center;
  gap:5px;
  margin-top:0;
  color:#556070;
  line-height:1.25;
}
.listing-side-user-copy-exact .verified-user-badge{
  display:inline-flex;
  align-items:center;
  gap:5px;
  color:#4b5b6f;
}
.listing-seller-badge-list{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  flex:0 0 100%;
  width:100%;
  margin:2px 0 0;
  line-height:1.2;
}
.listing-seller-badge{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:7px;
  min-width:0;
  min-height:38px;
  padding:7px 9px;
  border-radius:12px;
  background:#f1ebff;
  color:#422075;
  border:1px solid #d8c6ff;
  font-size:12px;
  font-weight:700;
  letter-spacing:.01em;
  white-space:normal;
  overflow:hidden;
  box-shadow:0 1px 0 rgba(255,255,255,.85) inset,0 1px 2px rgba(66,32,117,.06);
}
.listing-seller-badge > span:not([aria-hidden="true"]){
  display:block;
  min-width:0;
  margin-top:0;
  color:inherit;
  font-size:12px;
  line-height:1.2;
  overflow-wrap:normal;
  word-break:normal;
  hyphens:none;
}
.listing-seller-badge span[aria-hidden="true"]{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:18px;
  height:18px;
  min-width:18px;
  margin-top:0;
  border-radius:999px;
  background:rgba(255,255,255,.78);
  border:1px solid rgba(112,73,185,.18);
  font-size:11px;
  line-height:1;
  color:#6740ad;
}
.listing-seller-badge--rating{
  background:#f0e9ff;
  color:#3d1a72;
  border-color:#d4c1ff;
}
.listing-seller-badge--friendliness{
  background:#f1ebff;
  color:#44217b;
  border-color:#d8c6ff;
}
.listing-seller-badge--reliability{
  background:#eee8ff;
  color:#3f2375;
  border-color:#d2c3ff;
}
.listing-seller-badge--sustainability{
  background:#eaf8ef;
  color:#17643a;
  border-color:#bfebd0;
}
.listing-seller-badge--sustainability span[aria-hidden="true"]{
  color:#17643a;
  border-color:rgba(23,100,58,.18);
}
@media (max-width: 360px){
  .listing-side-user-exact{padding:12px;gap:10px}
  .listing-seller-badge-list{gap:7px}
  .listing-seller-badge{font-size:11px;padding:6px 7px;min-height:36px;gap:5px}
  .listing-seller-badge > span:not([aria-hidden="true"]){font-size:11px}
  .listing-seller-badge span[aria-hidden="true"]{width:17px;height:17px;min-width:17px}
}

.review-badge-card__description{
  display:block;
  margin-top:8px;
  color:#64748b;
  font-size:12px;
  line-height:1.45;
  font-style:normal;
}
.dark-mode .review-badge-card__description,
body.dark .review-badge-card__description{
  color:#94a3b8;
}

/* Badge info popups */
.listing-seller-badge,
.pro-company-badge{
  border-style:solid;
  cursor:pointer;
  font-family:inherit;
  text-align:left;
  appearance:none;
  -webkit-appearance:none;
}
.listing-seller-badge:hover,
.pro-company-badge:hover{
  filter:brightness(.98);
  transform:translateY(-1px);
}
.listing-seller-badge:focus-visible,
.pro-company-badge:focus-visible{
  outline:3px solid rgba(37,99,235,.28);
  outline-offset:2px;
}
.badge-info-modal[hidden]{display:none!important;}
.badge-info-modal{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;padding:24px;}
.badge-info-modal__backdrop{position:absolute;inset:0;background:rgba(15,23,42,.62);backdrop-filter:blur(2px);}
.badge-info-modal__dialog{position:relative;width:min(672px,100%);background:#fff;color:#071b3a;border-radius:10px;padding:30px 56px 34px 28px;box-shadow:0 24px 80px rgba(15,23,42,.28);}
.badge-info-modal__dialog h2{margin:0 0 36px;font-size:20px;line-height:1.25;font-weight:900;color:#071b3a;}
.badge-info-modal__dialog p{margin:0;font-size:15px;line-height:1.45;color:#0f172a;}
.badge-info-modal__close{position:absolute;right:22px;top:18px;border:0;background:transparent;color:#2f641c;font-size:34px;line-height:1;cursor:pointer;padding:0 4px;font-weight:400;}
.badge-info-modal__close:hover{color:#1f4d13;}
.badge-info-modal-open{overflow:hidden;}
@media(max-width:640px){.badge-info-modal{padding:14px;align-items:flex-end}.badge-info-modal__dialog{padding:24px 48px 28px 22px;border-radius:14px}.badge-info-modal__dialog h2{font-size:18px;margin-bottom:22px}.badge-info-modal__dialog p{font-size:14px}.badge-info-modal__close{top:14px;right:18px;font-size:30px}}


/* Badge icons: Kleinanzeigen-style outline glyphs */
.listing-seller-badge .badge-icon,
.pro-company-badge .badge-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:16px;
  height:16px;
  min-width:16px;
  margin:0;
  border:0;
  border-radius:999px;
  background:rgba(123,74,214,.10);
  color:#6b35b8;
  line-height:1;
}
.listing-seller-badge .badge-icon svg,
.pro-company-badge .badge-icon svg{
  display:block;
  width:14px;
  height:14px;
}
.listing-seller-badge--sustainability .badge-icon,
.pro-company-badge--sustainability .badge-icon{
  background:rgba(22,101,52,.10);
  color:#166534;
}
.listing-seller-badge span[aria-hidden="true"].badge-icon,
.pro-company-badge span[aria-hidden="true"].badge-icon{
  border:0;
  margin-top:0;
  font-size:0;
}

/* Listing seller company page preview before member name */
.listing-seller-company-preview{
  flex:0 0 100%;
  width:100%;
  display:flex;
  align-items:center;
  gap:12px;
  padding:0 0 12px;
  margin:0 0 2px;
  text-decoration:none;
  border-bottom:1px solid #e4edf7;
}
.listing-seller-company-preview:hover .listing-seller-company-name{
  text-decoration:underline;
}
.listing-seller-company-logo{
  display:flex;
  align-items:center;
  justify-content:center;
  width:64px;
  height:42px;
  min-width:64px;
  border-radius:8px;
  background:#fff;
  color:#0f5d24;
  font-size:13px;
  font-weight:900;
  overflow:hidden;
}
.listing-seller-company-logo img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
}
.listing-seller-company-name{
  display:block;
  min-width:0;
  color:#0f6b25;
  font-size:15px;
  font-weight:900;
  line-height:1.25;
  overflow-wrap:anywhere;
}
@media(max-width:420px){
  .listing-seller-company-logo{width:56px;height:38px;min-width:56px;}
  .listing-seller-company-name{font-size:14px;}
}

/* Seller card refinement: company first, member second, compact badges/stats */
.listing-side-user-exact{
  padding:12px!important;
  gap:10px 12px!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:0 8px 20px rgba(15,39,78,.04)!important;
}
.listing-seller-company-preview{
  align-items:center!important;
  gap:10px!important;
  padding:0 0 12px!important;
  margin:0 0 2px!important;
  border-bottom:1px solid #e3ebf5!important;
}
.listing-seller-company-logo{
  width:58px!important;
  height:40px!important;
  min-width:58px!important;
  border-radius:8px!important;
  border:1px solid #edf1f6!important;
  background:#fff!important;
  box-shadow:0 1px 3px rgba(15,39,78,.04)!important;
}
.listing-seller-company-copy{
  display:flex!important;
  flex-direction:column!important;
  min-width:0!important;
  gap:2px!important;
}
.listing-seller-company-name{
  color:#0d6b24!important;
  font-size:15px!important;
  line-height:1.18!important;
  font-weight:900!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
}
.listing-seller-company-sub{
  color:#65758c!important;
  font-size:12px!important;
  line-height:1.15!important;
  font-weight:700!important;
}
.listing-side-avatar-exact{
  width:46px!important;
  height:46px!important;
  flex-basis:46px!important;
  font-size:15px!important;
}
.listing-side-user-copy-exact{
  padding-top:0!important;
  justify-content:center!important;
}
.listing-side-user-copy-exact strong{
  margin:0 0 4px!important;
  font-size:15px!important;
  line-height:1.15!important;
}
.listing-seller-status-lines{
  margin:0!important;
  gap:2px!important;
}
.listing-side-user-copy-exact .listing-seller-status-lines > span{
  font-size:13px!important;
  line-height:1.25!important;
}
.listing-seller-badge-list{
  gap:7px!important;
  margin:4px 0 0!important;
}
.listing-seller-badge{
  min-height:31px!important;
  padding:5px 8px!important;
  border-radius:10px!important;
  gap:6px!important;
  font-size:11px!important;
  line-height:1.15!important;
}
.listing-seller-badge > span:not([aria-hidden="true"]){
  font-size:11px!important;
  line-height:1.15!important;
}
.listing-seller-badge span[aria-hidden="true"],
.listing-seller-badge span[aria-hidden="true"].badge-icon{
  width:17px!important;
  height:17px!important;
  min-width:17px!important;
}
.listing-side-meta-exact--stats{
  padding:16px 14px!important;
  gap:9px!important;
}
.listing-side-meta-row-exact{
  gap:12px!important;
}
.listing-side-meta-row-exact strong,
.listing-side-meta-row-exact span:last-child{
  text-align:right!important;
  color:#0f172a;
}
@media(max-width:420px){
  .listing-seller-company-logo{width:54px!important;height:38px!important;min-width:54px!important;}
  .listing-seller-company-name{font-size:14px!important;}
}

/* Public company page: ad filters */
.pro-company-ads-head{align-items:center;gap:16px}
.pro-company-ads-layout{margin-top:0}
.pro-company-ads-sidebar .category-filter-card{position:sticky;top:18px}
.pro-company-category-links{display:flex;flex-direction:column;gap:8px}
.pro-company-category-link{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#1b2435;text-decoration:none;font-weight:700;font-size:14px;line-height:1.35;padding:8px 10px;border-radius:12px;background:transparent}
.pro-company-category-link:hover,.pro-company-category-link.is-active{background:#eef2f7;color:#1c7a11}
.pro-company-ads-filter-form input[type="search"]{width:100%}

.pro-company-ads-filter-form .category-filter-reset{width:100%;height:46px;border-radius:14px;display:inline-flex;align-items:center;justify-content:center;margin-top:-2px;text-align:center;text-decoration:none;font-weight:800}
.pro-company-ads-grid{align-items:start}
@media (max-width:1100px){.pro-company-ads-layout{display:block}.pro-company-ads-sidebar .category-filter-card{position:static;margin-bottom:16px}.pro-company-ads-sidebar{position:static;padding:0;transform:none;max-height:none;overflow:visible}}

/* Public company page: marketplace-style ad list */
.pro-company-results-list{display:grid;grid-template-columns:1fr;gap:12px}
.pro-company-result-card{display:grid;grid-template-columns:216px minmax(0,1fr);gap:16px;align-items:stretch;border:1px solid #d7dce3;border-radius:5px;background:#fff;padding:21px 16px;box-shadow:none;min-height:154px}
.pro-company-result-thumb{position:relative;display:block;width:200px;height:150px;align-self:center;border-radius:4px;overflow:hidden;background:#f2f2f2;color:#7b8799;flex:0 0 auto;text-decoration:none}
.pro-company-result-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.pro-company-result-image-count{position:absolute;right:8px;bottom:8px;display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:22px;padding:0 4px;border-radius:4px;background:#050505;color:#fff;font-size:13px;font-weight:800;line-height:1}
.pro-company-result-body{display:flex;min-width:0;flex-direction:column;gap:7px;padding:0 0 0 0;color:#111}
.pro-company-result-meta{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;color:#666;font-size:14px;line-height:1.25}
.pro-company-result-meta span{display:inline-flex;align-items:center;gap:6px;min-width:0}
.pro-company-result-meta .icon-img{width:16px;height:16px;opacity:.68;flex:0 0 16px}
.pro-company-result-body h3{margin:0;font-size:20px;line-height:1.16;font-weight:800;letter-spacing:-.01em}
.pro-company-result-body h3 a{color:#000;text-decoration:none;overflow-wrap:anywhere;word-break:break-word}
.pro-company-result-body h3 a:hover{color:#1c7a11}
.pro-company-result-body p{margin:0;color:#111;font-size:14px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;word-break:break-word}
.pro-company-result-price{margin-top:2px;color:#0f7f13;font-size:17px;font-weight:800;line-height:1.2}
.pro-company-result-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:2px}
.pro-company-result-tags span{display:inline-flex;align-items:center;min-height:25px;padding:0 6px;border-radius:4px;background:#f2f2f2;color:#444;font-size:14px;font-weight:800}
@media (max-width:760px){.pro-company-result-card{grid-template-columns:128px minmax(0,1fr);gap:12px;padding:12px}.pro-company-result-thumb{width:128px;height:112px}.pro-company-result-body h3{font-size:17px}.pro-company-result-meta{font-size:12px}.pro-company-result-body p{font-size:13px;-webkit-line-clamp:2}.pro-company-result-price{font-size:16px}.pro-company-result-tags span{font-size:12px;min-height:23px}}
@media (max-width:520px){.pro-company-result-card{grid-template-columns:1fr}.pro-company-result-thumb{width:100%;height:190px}.pro-company-result-meta{justify-content:flex-start}}

/* Public company page: match marketplace font sizes in ads tab */
.pro-company-ads-section .category-filter-title{
  font-size:16px!important;
  line-height:1.25!important;
  letter-spacing:0!important;
}
.pro-company-ads-section .category-filter-form label>span,
.pro-company-ads-section .category-sort-form label>span{
  font-size:12px!important;
  line-height:1.25!important;
}
.pro-company-ads-section .category-filter-form select,
.pro-company-ads-section .category-filter-form input,
.pro-company-ads-section .category-sort-form select{
  font-size:14px!important;
}
.pro-company-ads-section .pro-company-category-link{
  font-size:14px!important;
  line-height:1.3!important;
}
.pro-company-ads-section .category-filter-submit,
.pro-company-ads-section .category-filter-reset{
  font-size:14px!important;
  line-height:1.2!important;
}
.pro-company-result-meta{
  font-size:14px!important;
  line-height:1.25!important;
}
.pro-company-result-body h3{
  font-size:19px!important;
  line-height:1.18!important;
  letter-spacing:0!important;
}
.pro-company-result-body p{
  font-size:14px!important;
  line-height:1.35!important;
}
.pro-company-result-price{
  font-size:17px!important;
  line-height:1.2!important;
}
.pro-company-result-tags span{
  font-size:14px!important;
  line-height:1.2!important;
}
@media (max-width:760px){
  .pro-company-result-body h3{font-size:17px!important;}
  .pro-company-result-meta{font-size:12px!important;}
  .pro-company-result-body p{font-size:13px!important;}
  .pro-company-result-price{font-size:16px!important;}
  .pro-company-result-tags span{font-size:12px!important;}
}
