﻿

@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@400;500;600;700;800;900&family=Inter:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&display=swap');

:root {
  
  --zm-primary:        #00512b;
  --zm-primary-dark:   #003d20;
  --zm-primary-mid:    #0f6b3d;
  --zm-primary-light:  #f0f8f4;
  --zm-primary-dim:    #a0f5ba;
  --zm-gold:           #fcc019;
  --zm-gold-dark:      #785900;
  --zm-gold-light:     #fff8e1;
  --zm-blue:           #004686;
  --zm-blue-light:     #e8f0fb;
  --zm-blue-mid:       #1d5ea7;
  --zm-error:          #ba1a1a;

--zm-bg:             #fcf9f8;
  --zm-surface:        #f6f3f2;
  --zm-surface-mid:    #f0eded;
  --zm-surface-high:   #eae7e7;
  --zm-white:          #ffffff;
  --zm-border:         #eae7e7;
  --zm-border-mid:     #bfc9be;

--zm-text:           #1c1b1b;
  --zm-text-mid:       #3f4941;
  --zm-text-muted:     #6f7a70;

--zm-ink:            #1c1b1b;
  --zm-ink-inv:        #f3f0ef;

--font-display:      'Work Sans', sans-serif;
  --font-body:         'Inter', sans-serif;
  --font-label:        'Plus Jakarta Sans', sans-serif;
  --font-icon:         'Material Symbols Outlined';

--r-xs:  4px;
  --r-sm:  6px;
  --r-md:  8px;
  --r-lg:  12px;
  --r-xl:  16px;
  --r-2xl: 20px;
  --r-pill: 9999px;

--sp-xs:  4px;
  --sp-sm:  8px;
  --sp-md:  12px;
  --sp-lg:  16px;
  --sp-xl:  24px;
  --sp-2xl: 32px;
  --sp-3xl: 48px;

--nav-h: 58px;
  --sidebar-w: 210px;

--shadow-sm:   0 1px 3px rgba(0,0,0,0.06);
  --shadow-md:   0 2px 8px rgba(0,0,0,0.08);
  --shadow-lg:   0 4px 20px rgba(0,0,0,0.10);
  --shadow-xl:   0 8px 40px rgba(0,0,0,0.12);

--t-fast:   0.12s ease;
  --t-base:   0.18s ease;
  --t-slow:   0.30s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--zm-text);
  background: var(--zm-bg);
  -webkit-font-smoothing: antialiased;
}
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 2px solid var(--zm-primary); outline-offset: 2px; }
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--zm-border-mid); border-radius: 99px; }

.mi {
  font-family: var(--font-icon);
  font-style: normal;
  font-weight: normal;
  font-size: 20px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  vertical-align: middle;
}
.mi.sm  { font-size: 16px; }
.mi.lg  { font-size: 24px; }
.mi.xl  { font-size: 32px; }
.mi.fill{ font-variation-settings: 'FILL' 1; }

.zm-page    { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.zm-page-lg { max-width: 1400px; margin: 0 auto; padding: 0 20px; }

.zm-nav {
  height: var(--nav-h);
  background: var(--zm-white);
  border-bottom: 1px solid var(--zm-border);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: var(--shadow-sm);
}
.zm-nav__inner {
  max-width: 1400px;
  margin: 0 auto;
  height: 100%;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.zm-nav__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.zm-nav__logo-icon {
  width: 32px; height: 32px;
  background: var(--zm-primary);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
}
.zm-nav__logo-text {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  color: var(--zm-primary);
  letter-spacing: -0.02em;
}
.zm-nav__search {
  flex: 1;
  max-width: 380px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--zm-surface-mid);
  border-radius: var(--r-pill);
  padding: 7px 14px;
  border: 1px solid transparent;
  transition: border-color var(--t-base);
}
.zm-nav__search:focus-within { border-color: var(--zm-primary); }
.zm-nav__search input {
  border: none; background: transparent; outline: none;
  font-size: 13px; width: 100%; color: var(--zm-text);
}
.zm-nav__search input::placeholder { color: var(--zm-text-muted); }
.zm-nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.zm-nav__link {
  padding: 6px 12px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--zm-text-mid);
  border-radius: var(--r-md);
  transition: color var(--t-fast), background var(--t-fast);
  cursor: pointer;
  border: none;
  background: transparent;
}
.zm-nav__link:hover { color: var(--zm-primary); background: var(--zm-primary-light); }
.zm-nav__link.active { color: var(--zm-primary); border-bottom: 2px solid var(--zm-primary); border-radius: 0; }
.zm-nav__link.gold { color: var(--zm-gold-dark); }
.zm-nav__icon-btn {
  width: 36px; height: 36px;
  border: none; background: transparent;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--zm-text-mid);
  cursor: pointer;
  transition: background var(--t-fast);
}
.zm-nav__icon-btn:hover { background: var(--zm-surface-mid); }
.zm-nav__list-btn {
  background: var(--zm-primary);
  color: #fff;
  border: none;
  padding: 8px 18px;
  border-radius: var(--r-md);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: background var(--t-fast);
}
.zm-nav__list-btn:hover { background: var(--zm-primary-mid); }

.zm-breadcrumb {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 0;
  font-size: 12.5px; color: var(--zm-text-muted);
}
.zm-breadcrumb a { color: var(--zm-text-muted); }
.zm-breadcrumb a:hover { color: var(--zm-primary); }
.zm-breadcrumb__current { color: var(--zm-text); font-weight: 500; }

.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 18px;
  border-radius: var(--r-md);
  font-family: var(--font-display);
  font-size: 13px; font-weight: 700;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--t-fast);
  white-space: nowrap;
  line-height: 1.2;
}
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn .mi { font-size: 16px; }

.btn-primary   { background: var(--zm-primary); color: #fff; border-color: var(--zm-primary); }
.btn-primary:hover:not(:disabled) { background: var(--zm-primary-mid); border-color: var(--zm-primary-mid); }

.btn-outline   { background: transparent; color: var(--zm-text); border-color: var(--zm-border); }
.btn-outline:hover:not(:disabled) { border-color: var(--zm-primary); color: var(--zm-primary); }

.btn-ghost     { background: transparent; color: var(--zm-text-mid); border-color: transparent; }
.btn-ghost:hover:not(:disabled) { background: var(--zm-surface-mid); }

.btn-gold      { background: var(--zm-gold); color: var(--zm-gold-dark); border-color: var(--zm-gold); }
.btn-gold:hover:not(:disabled) { background: #f9bd14; }

.btn-danger    { background: var(--zm-error); color: #fff; border-color: var(--zm-error); }

.btn-sm  { padding: 5px 12px; font-size: 12px; }
.btn-lg  { padding: 12px 24px; font-size: 14px; }
.btn-full{ width: 100%; justify-content: center; }

.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-label {
  font-size: 12.5px; font-weight: 600; color: var(--zm-text);
  font-family: var(--font-label);
}
.form-label.req::after { content: ' *'; color: var(--zm-error); }
.form-input {
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid var(--zm-border);
  border-radius: var(--r-md);
  background: var(--zm-white);
  font-size: 13.5px;
  color: var(--zm-text);
  outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.form-input:focus { border-color: var(--zm-primary); box-shadow: 0 0 0 3px rgba(0,81,43,0.08); }
.form-input::placeholder { color: var(--zm-text-muted); }
.form-input.err { border-color: var(--zm-error); }
textarea.form-input { resize: vertical; min-height: 88px; }
select.form-input  { cursor: pointer; }
.form-hint  { font-size: 11.5px; color: var(--zm-text-muted); }
.form-error { font-size: 11.5px; color: var(--zm-error); }

.chip {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  font-family: var(--font-label);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
}
.chip-green  { background: rgba(0,81,43,0.08);  border-color: rgba(0,81,43,0.18);  color: var(--zm-primary); }
.chip-gold   { background: rgba(252,192,25,0.14); border-color: rgba(252,192,25,0.3); color: var(--zm-gold-dark); }
.chip-blue   { background: rgba(0,70,134,0.08);  border-color: rgba(0,70,134,0.18); color: var(--zm-blue); }
.chip-red    { background: rgba(186,26,26,0.08); border-color: rgba(186,26,26,0.18);color: var(--zm-error); }
.chip-grey   { background: var(--zm-surface-mid); border-color: var(--zm-border);   color: var(--zm-text-mid); }
.chip-white  { background: #fff; border-color: var(--zm-border); color: var(--zm-text-mid); }

.badge-verified {
  background: var(--zm-gold);
  color: #3d2e00;
  font-family: var(--font-label);
  font-size: 9.5px; font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--r-xs);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.badge-pro {
  background: var(--zm-primary);
  color: #fff;
  font-family: var(--font-label);
  font-size: 9.5px; font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--r-sm);
  letter-spacing: 0.04em;
  display: inline-flex; align-items: center; gap: 4px;
}

.card {
  background: var(--zm-white);
  border: 1px solid var(--zm-border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.card-body    { padding: var(--sp-xl); }
.card-header  {
  padding: 14px var(--sp-xl);
  border-bottom: 1px solid var(--zm-border);
  display: flex; align-items: center; justify-content: space-between;
}
.card-title   { font-family: var(--font-display); font-size: 14px; font-weight: 700; }
.card-footer  {
  padding: 12px var(--sp-xl);
  border-top: 1px solid var(--zm-border);
}
.card-hover   { transition: box-shadow var(--t-base), transform var(--t-base); cursor: pointer; }
.card-hover:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }

.listing-card {
  background: var(--zm-white);
  border: 1px solid var(--zm-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: box-shadow var(--t-base), transform var(--t-base);
  cursor: pointer;
  display: flex; flex-direction: column;
}
.listing-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.listing-card__img {
  position: relative;
  aspect-ratio: 1;
  background: var(--zm-surface-mid);
  overflow: hidden;
}
.listing-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.listing-card:hover .listing-card__img img { transform: scale(1.04); }
.listing-card__body { padding: 12px; flex: 1; display: flex; flex-direction: column; gap: 3px; }
.listing-card__price { font-family: var(--font-display); font-size: 16px; font-weight: 800; color: var(--zm-primary); }
.listing-card__title { font-size: 13px; font-weight: 500; color: var(--zm-text); line-height: 1.4; }
.listing-card__meta  { display: flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--zm-text-muted); margin-top: auto; padding-top: 6px; }
.listing-card__save  {
  position: absolute; top: 8px; right: 8px;
  width: 30px; height: 30px;
  background: rgba(255,255,255,0.92);
  border: none; border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: var(--zm-text-muted);
  transition: color var(--t-fast);
}
.listing-card__save:hover, .listing-card__save.saved { color: var(--zm-error); }

.status {
  display: inline-block; padding: 2px 9px;
  border-radius: var(--r-pill);
  font-family: var(--font-label);
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.status-active    { background: #d1e7dd; color: #0a3622; }
.status-pending   { background: #fff3cd; color: #664d03; }
.status-transit   { background: #fff3cd; color: #664d03; }
.status-processing{ background: #cfe2ff; color: #084298; }
.status-delivered { background: #d1e7dd; color: #0a3622; }
.status-sold      { background: var(--zm-blue-light); color: var(--zm-blue); }
.status-suspended { background: rgba(186,26,26,0.1); color: var(--zm-error); }

.alert { display: flex; gap: 10px; padding: 11px 14px; border-radius: var(--r-lg); font-size: 13px; border: 1px solid; }
.alert-success { background: rgba(0,81,43,0.06);  border-color: rgba(0,81,43,0.2);  color: var(--zm-primary); }
.alert-danger  { background: rgba(186,26,26,0.06); border-color: rgba(186,26,26,0.2);color: var(--zm-error); }
.alert-info    { background: var(--zm-blue-light); border-color: rgba(0,70,134,0.2); color: var(--zm-blue); }
.alert-warning { background: var(--zm-gold-light); border-color: rgba(252,192,25,0.3);color: var(--zm-gold-dark); }

.modal-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 900; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity 0.2s; }
.modal-backdrop.open { opacity: 1; pointer-events: auto; }
.modal { background: var(--zm-white); border-radius: var(--r-xl); width: 100%; max-width: 520px; box-shadow: var(--shadow-xl); transform: translateY(12px) scale(0.98); transition: transform 0.2s; }
.modal-backdrop.open .modal { transform: none; }
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--zm-border); }
.modal-title  { font-family: var(--font-display); font-size: 16px; font-weight: 700; }
.modal-close  { width: 28px; height: 28px; border: none; background: var(--zm-surface-mid); border-radius: var(--r-sm); cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--zm-text-muted); }
.modal-close:hover { background: var(--zm-surface-high); }
.modal-body   { padding: 20px; }
.modal-footer { padding: 16px 20px; border-top: 1px solid var(--zm-border); display: flex; gap: 8px; justify-content: flex-end; }
.modal-lg     { max-width: 700px; }

.pagination { display: flex; align-items: center; gap: 3px; }
.page-btn {
  min-width: 34px; height: 34px;
  border: 1px solid var(--zm-border);
  border-radius: var(--r-md);
  background: var(--zm-white);
  font-size: 13px; font-weight: 500;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  padding: 0 7px;
  transition: all var(--t-fast);
}
.page-btn:hover    { border-color: var(--zm-primary); color: var(--zm-primary); }
.page-btn.active   { background: var(--zm-primary); color: #fff; border-color: var(--zm-primary); }
.page-btn:disabled { opacity: 0.4; cursor: not-allowed; }

.skeleton {
  background: linear-gradient(90deg, var(--zm-surface-mid) 25%, var(--zm-surface-high) 50%, var(--zm-surface-mid) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--r-sm);
}
@keyframes shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }

.flex           { display: flex; }
.flex-center    { display: flex; align-items: center; justify-content: center; }
.flex-between   { display: flex; align-items: center; justify-content: space-between; }
.flex-col       { display: flex; flex-direction: column; }
.items-center   { align-items: center; }
.gap-xs  { gap: var(--sp-xs); }
.gap-sm  { gap: var(--sp-sm); }
.gap-md  { gap: var(--sp-md); }
.gap-lg  { gap: var(--sp-lg); }
.gap-xl  { gap: var(--sp-xl); }

.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: var(--sp-xl); }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--sp-xl); }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--sp-lg); }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill,minmax(200px,1fr)); gap: var(--sp-lg); }

.text-center  { text-align: center; }
.text-right   { text-align: right; }
.text-muted   { color: var(--zm-text-muted); }
.text-primary { color: var(--zm-primary); }
.text-gold    { color: var(--zm-gold-dark); }
.text-error   { color: var(--zm-error); }
.text-sm  { font-size: 12.5px; }
.text-xs  { font-size: 11px; }
.fw-600   { font-weight: 600; }
.fw-700   { font-weight: 700; }
.fw-800   { font-weight: 800; }

.mt-xs{margin-top:var(--sp-xs);} .mt-sm{margin-top:var(--sp-sm);} .mt-md{margin-top:var(--sp-md);} .mt-lg{margin-top:var(--sp-lg);} .mt-xl{margin-top:var(--sp-xl);}
.mb-sm{margin-bottom:var(--sp-sm);} .mb-md{margin-bottom:var(--sp-md);} .mb-lg{margin-bottom:var(--sp-lg);}
.p-md  { padding: var(--sp-md); }
.p-lg  { padding: var(--sp-lg); }
.p-xl  { padding: var(--sp-xl); }
.w-full{ width: 100%; }
.hidden{ display: none !important; }
.sr-only { position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap; }
.rounded-pill { border-radius: var(--r-pill); }
.rounded-full { border-radius: 50%; }

.zm-footer {
  background: #1a1a18;
  color: rgba(255,255,255,0.65);
  padding: 36px 0 20px;
}
.zm-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 28px; }
.zm-footer__heading {
  font-family: var(--font-label);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 12px;
}
.zm-footer a { font-size: 12.5px; color: rgba(255,255,255,0.55); display: block; margin-bottom: 7px; }
.zm-footer a:hover { color: #fff; }
.zm-footer__brand { font-family: var(--font-display); font-size: 15px; font-weight: 800; color: #fff; margin-bottom: 8px; }
.zm-footer__copy  { font-size: 11px; color: rgba(255,255,255,0.28); margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.08); text-align: center; }
.lang-pill {
  display: inline-block; padding: 3px 9px; border-radius: var(--r-xs);
  font-family: var(--font-label); font-size: 10.5px; font-weight: 600;
  margin-right: 4px; margin-bottom: 4px; cursor: pointer;
}
.lang-pill.active { background: var(--zm-primary); color: #fff; }
.lang-pill:not(.active) { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.5); border: 1px solid rgba(255,255,255,0.12); }

.zm-sidebar {
  width: var(--sidebar-w);
  flex-shrink: 0;
  background: var(--zm-white);
  border-right: 1px solid var(--zm-border);
  display: flex; flex-direction: column;
  padding: 14px;
  position: sticky; top: 0;
  height: 100vh;
  overflow-y: auto;
}
.zm-sidebar__nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px;
  border-radius: var(--r-md);
  font-size: 13.5px; font-weight: 500;
  color: var(--zm-text-mid);
  cursor: pointer; text-decoration: none;
  transition: all var(--t-fast);
  margin-bottom: 2px;
}
.zm-sidebar__nav-item:hover { background: var(--zm-surface-mid); color: var(--zm-text); }
.zm-sidebar__nav-item.active { background: var(--zm-primary); color: #fff; }
.zm-sidebar__nav-item.active .mi { color: #fff; }

.stars { color: var(--zm-gold); font-size: 13px; letter-spacing: 1px; }
.stars .empty { color: #ddd; }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 768px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2,1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .zm-footer__grid { grid-template-columns: 1fr 1fr; }
  .hide-mobile { display: none !important; }
}
@media (max-width: 480px) {
  .grid-3, .grid-4, .grid-auto { grid-template-columns: repeat(2,1fr); }
}
