@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --green: #087547;
  --green-deep: #063c2c;
  --green-dark: #082d26;
  --mint: #e5f5eb;
  --lime: #b8e986;
  --gold: #d7a627;
  --gold-bright: #f1c94f;
  --gold-pale: #fff5d6;
  --ink: #17342d;
  --muted: #71827a;
  --paper: #fbfaf6;
  --white: #fff;
  --line: #e9eee8;
  --shadow: 0 14px 40px rgba(25, 67, 49, .09);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "DM Sans", Arial, sans-serif; line-height: 1.55; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.topbar { position: relative; z-index: 5; min-height: 86px; display: flex; align-items: center; padding: 10px 0; background: radial-gradient(ellipse at 18% 0%, rgba(25,130,78,.62), transparent 48%), linear-gradient(112deg, #087547 0%, #064b35 48%, #082d26 100%); border-bottom: 1px solid rgba(241,201,79,.38); box-shadow: 0 8px 26px rgba(6,60,44,.16); }
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: 220px; }
.brand > span:last-child { display: flex; flex-direction: column; }
.brand-word, .brand-tag { display: block; }
.brand-mark { width: 45px; height: 45px; display: grid; flex: 0 0 auto; place-items: center; border: 1px solid rgba(241,201,79,.62); border-radius: 14px; background: linear-gradient(145deg,rgba(255,255,255,.12),rgba(0,0,0,.12)); box-shadow: inset 0 1px 0 rgba(255,255,255,.12),0 4px 12px rgba(0,0,0,.12); }
.jp-monogram { display: block; width: 34px; height: 34px; overflow: visible; }
.jp-monogram path { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-width: 4.5; }
.jp-monogram .monogram-j { stroke: #fff; }
.jp-monogram .monogram-p { stroke: var(--gold-bright); }
.brand-word { color: #fff; font: 800 20px/1 "Manrope", sans-serif; letter-spacing: -.8px; }
.brand-word em { color: var(--gold-bright); font-style: italic; }
.brand-tag { margin-top: 4px; color: #f1dfaa; font-size: 10px; letter-spacing: .75px; }
.header-contact { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; text-align: right; }
.header-contact-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 20px; color: #fff; font-size: 12px; font-weight: 700; }
.header-contact-links a:hover, .header-contact-links a:focus-visible { color: var(--gold-bright); }
.header-note { color: #f1dfaa; font-size: 11px; font-weight: 600; }
.button { border: 0; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 12px 20px; cursor: pointer; background: var(--green); color: white; font-weight: 800; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); background: #05643d; }
.button:disabled { cursor: wait; opacity: .82; transform: none; }
.submit-spinner { width: 15px; height: 15px; border: 2px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 50%; animation: submit-spin .7s linear infinite; }
.submit-spinner[hidden] { display: none; }
@keyframes submit-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .submit-spinner { animation-duration: 1.8s; }
}
.button-light { color: var(--green-deep); background: white; box-shadow: 0 7px 25px rgba(0,0,0,.12); }
.button-outline { color: var(--green); background: transparent; border: 1px solid #b7d7c4; }
.eyebrow { display: inline-flex; gap: 9px; align-items: center; color: var(--gold-bright); font-size: 12px; font-weight: 800; letter-spacing: 1.8px; text-transform: uppercase; }
.section { padding: 64px 0; }
.products-section { padding-top: 14px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 25px; }
.section-heading h2 { margin: 4px 0 5px; font: 800 clamp(28px, 4vw, 37px)/1.15 "Manrope", sans-serif; letter-spacing: -1.5px; }
.section-heading p { margin: 0; color: var(--muted); font-size: 14px; }
.section-label { color: #a97905; font-size: 11px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; }
.filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin: 0 0 20px; border: 1px solid #e6ece4; border-radius: 16px; padding: 10px; background: linear-gradient(135deg,#fff 0%,#f8faf5 100%); box-shadow: 0 7px 22px rgba(25,67,49,.055); }
.filter-mobile-topline { display: contents; }
.category-toggle { display: none; }
.filter-categories { display: contents; }
.sell-listing-button { position: relative; order: 3; flex: 0 0 auto; gap: 6px; padding: 8px 14px; border: 1px solid #e2bd4a; background: linear-gradient(135deg,#f5d66c,#e9bd3d); color: #173b2b; box-shadow: 0 4px 12px rgba(161,119,18,.18); font-size: 12px; }
.sell-listing-button:hover { background: linear-gradient(135deg,#ffe58a,#efc54c); }
.sell-listing-icon { display: grid; width: 20px; height: 20px; place-items: center; border-radius: 50%; background: #0b6843; color: #ffdf70; font-size: 17px; line-height: 1; }
.sell-listing-label { color: #173b2b; }
.sell-listing-tooltip { position: absolute; right: 0; bottom: calc(100% + 8px); z-index: 6; width: max-content; max-width: calc(100vw - 36px); transform: translateY(4px); border-radius: 8px; padding: 7px 10px; background: #082d26; color: #fff; box-shadow: 0 5px 16px rgba(6,40,29,.22); font-size: 11px; font-weight: 700; opacity: 0; pointer-events: none; visibility: hidden; transition: opacity .16s ease, transform .16s ease, visibility .16s; }
.sell-listing-tooltip::after { position: absolute; top: 100%; right: 18px; width: 8px; height: 8px; transform: translateY(-4px) rotate(45deg); background: #082d26; content: ""; }
.sell-listing-button:hover .sell-listing-tooltip, .sell-listing-button:focus-visible .sell-listing-tooltip { transform: translateY(0); opacity: 1; visibility: visible; }
.filter-chip { order: 1; border: 1px solid #e6ece4; border-radius: 999px; padding: 8px 13px; background: #fff; color: #51635b; cursor: pointer; font-size: 12px; font-weight: 700; }
.filter-chip.active, .filter-chip:hover { border-color: var(--green); background: var(--green); color: #fff; }
.search-box { order: 2; flex: 1 1 220px; min-width: 220px; max-width: 320px; margin-left: auto; }
.search-box input { width: 100%; border: 1px solid var(--line); border-radius: 999px; outline: 0; padding: 10px 15px; background: white; }
.search-box input:focus { border-color: var(--green); }
.products-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.product-card { overflow: hidden; border: 1px solid #e8eee7; border-radius: 17px; background: #fff; box-shadow: 0 5px 16px rgba(24,73,47,.045); cursor: pointer; transition: transform .22s, box-shadow .22s; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.product-image-wrap { position: relative; aspect-ratio: 1.28; overflow: hidden; background: linear-gradient(145deg,#dcebd4,#aacb9d); }
.product-image { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.product-card:hover .product-image { transform: scale(1.045); }
.product-placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: #fff; font-size: 72px; background: radial-gradient(ellipse at 50% 95%,#80a95f 0 20%,transparent 21%),linear-gradient(155deg,#cfdfba,#558660); }
.product-category { position: absolute; left: 12px; bottom: 11px; border-radius: 999px; padding: 5px 10px; background: #087547; color: #fff; font-size: 10px; font-weight: 800; }
.photo-count { position: absolute; right: 11px; top: 11px; border-radius: 999px; padding: 5px 9px; background: #17342dc9; color: white; font-size: 11px; }
.product-info { padding: 15px; }
.product-name { margin: 0 0 4px; font: 800 16px "Manrope", sans-serif; }
.product-location { display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: 12px; }
.product-posted { margin-top: 6px; }
.posted-age-badge { display: inline-flex; align-items: center; gap: 5px; border: 1px solid #d9e9da; border-radius: 999px; padding: 3px 8px; background: linear-gradient(110deg,#f0f8ef,#fff9e6); color: #43654a; font-size: 9px; font-weight: 800; line-height: 1.2; letter-spacing: .15px; }
.posted-age-dot { width: 6px; height: 6px; flex: 0 0 auto; border-radius: 50%; background: #d5a62b; box-shadow: 0 0 0 2px rgba(213,166,43,.16); }
.product-description { min-height: 37px; margin: 7px 0 13px; color: #66766f; font-size: 12px; }
.product-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; border-top: 1px solid #f0f2ed; padding-top: 12px; }
.product-price { color: var(--green); font: 800 17px "Manrope", sans-serif; }
.product-more { color: var(--green); font-size: 11px; font-weight: 800; }
.empty-state { grid-column: 1/-1; border: 1px dashed #ccdbcf; border-radius: 18px; padding: 55px 20px; text-align: center; background: #fff; }
.empty-state span { font-size: 42px; }
.empty-state h3 { margin: 9px 0 3px; font-size: 20px; }
.empty-state p { margin: 0; color: var(--muted); }
.footer { margin-top: 40px; padding: 27px 0; color: #e7f4ea; background: #062e25; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.footer .brand-tag { color: #a6c6b2; }
.footer-copy { color: #bed4c6; font-size: 11px; }
.whatsapp-float { position: fixed; right: 20px; bottom: 20px; z-index: 5; width: 56px; height: 56px; display: grid; place-items: center; border: 3px solid white; border-radius: 50%; background: #14a66a; color: white; box-shadow: 0 7px 22px #003d2860; }
.whatsapp-float svg { display: block; width: 31px; height: 31px; fill: currentColor; }

.modal-backdrop { position: fixed; inset: 0; z-index: 20; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(9,28,22,.72); backdrop-filter: blur(5px); }
.modal-backdrop.open { display: flex; }
.modal { position: relative; width: min(850px, 100%); max-height: min(90vh, 900px); overflow: auto; border-radius: 21px; background: #fff; box-shadow: 0 25px 90px #001f1766; }
.product-modal { width: min(760px, 100%); }
.modal-close { position: sticky; float: right; top: 12px; z-index: 3; width: 39px; height: 39px; margin: 12px 12px -51px 0; border: 0; border-radius: 50%; background: #fff; color: var(--ink); box-shadow: 0 3px 14px #0002; cursor: pointer; font-size: 23px; }
.modal-gallery { position: relative; overflow: hidden; height: 235px; background: linear-gradient(145deg,#edf3eb,#dce8d9); }
.modal-gallery img { width: 100%; height: 100%; display: block; object-fit: contain; }
.gallery-arrow { position: absolute; top: 50%; width: 42px; height: 42px; transform: translateY(-50%); border: 0; border-radius: 50%; background: #ffffffed; cursor: pointer; font-size: 20px; }
.gallery-prev { left: 14px; }.gallery-next { right: 14px; }
.gallery-count { position: absolute; right: 15px; bottom: 14px; border-radius: 20px; padding: 6px 11px; background: #17342dca; color: #fff; font-size: 12px; }
.product-modal .modal-content { padding: 19px 24px 22px; }
.modal-content { padding: 25px 30px 30px; }
.modal-title-row { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.product-modal .modal-content h2 { font-size: 22px; }
.product-modal .modal-price { flex: 0 0 auto; color: var(--green); font: 800 19px "Manrope",sans-serif; }
.product-modal .modal-location { margin-top: 4px; color: var(--muted); font-size: 13px; }
.product-modal .modal-description { margin: 10px 0; color: #52645b; white-space: pre-line; }
.product-modal .detail-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; margin: 11px 0 14px; }
.product-modal .detail-item { display: flex; min-width: 0; align-items: center; gap: 7px; border-radius: 8px; padding: 4px 7px; background: #f4f8f3; line-height: 1.2; }
.product-modal .detail-item-plain { grid-column: auto; border-bottom: 1px solid #edf1ea; border-radius: 0; padding: 3px 2px; background: transparent; }
.detail-item small { flex: 0 0 auto; margin: 0; color: var(--muted); font-size: 9px; line-height: 1.1; text-transform: uppercase; letter-spacing: .5px; }
.product-modal .detail-item strong { min-width: 0; overflow: hidden; color: #42584d; font-size: 11px; font-weight: 600; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.product-modal .detail-item-plain small { color: #a07819; }
.product-modal .detail-item-plain strong { flex: 1 1 auto; }
.product-modal .detail-item-plain strong.posted-age-badge { flex: 0 0 auto; gap: 5px; border: 1px solid #d9e9da; border-radius: 999px; padding: 2px 7px; background: linear-gradient(110deg,#f0f8ef,#fff9e6); color: #43654a; font-size: 9px; font-weight: 800; line-height: 1.1; }
.product-modal .detail-item-caution strong { overflow: visible; text-overflow: clip; }
.modal-contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); padding-top: 12px; }
.modal-contact-note { color: var(--muted); font-size: 12px; }
.whatsapp-button { gap: 8px; background: #168a50; }
.whatsapp-button:hover { background: #117541; }
.whatsapp-button svg { width: 19px; height: 19px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.whatsapp-button svg path:last-child { fill: currentColor; stroke: none; }
.form-panel { max-width: 780px; margin: 40px auto; padding: 30px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.form-panel h1, .form-panel h2 { margin-top: 0; font-family: "Manrope",sans-serif; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1/-1; }
.field label { font-size: 12px; font-weight: 800; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid #dce5dd; border-radius: 9px; outline: 0; padding: 11px 12px; color: var(--ink); background: #fff; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--green); box-shadow: 0 0 0 3px #0875471a; }
.field textarea { min-height: 105px; resize: vertical; }
.field-help { color: var(--muted); font-size: 11px; }
.notice { margin: 17px 0; border-radius: 10px; padding: 12px 15px; background: #fff2e3; color: #7a4b18; font-size: 13px; }
.notice.success { background: #e7f7eb; color: #135c35; }
.notice-dismissible { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.notice-close { display: grid; width: 24px; height: 24px; flex: 0 0 auto; place-items: center; margin: -3px -5px -3px 0; border: 0; border-radius: 50%; color: currentColor; background: transparent; cursor: pointer; font-size: 20px; line-height: 1; }
.notice-close:hover, .notice-close:focus-visible { background: #00000012; }
.admin-wrap { min-height: 100vh; }
.admin-header { padding: 19px 0; color: white; background: var(--green-deep); }
.admin-header-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.admin-main { padding: 30px 0 60px; }
.admin-card { margin-bottom: 20px; border: 1px solid var(--line); border-radius: 15px; padding: 21px; background: white; box-shadow: 0 6px 20px #18492f0a; }
.admin-card h2 { margin: 0 0 16px; font: 800 19px "Manrope",sans-serif; }
.admin-product { display: grid; grid-template-columns: 110px 1fr; gap: 17px; border-top: 1px solid var(--line); padding: 20px 0; }
.admin-product:first-of-type { border-top: 0; padding-top: 5px; }
.admin-thumb { width: 110px; height: 100px; overflow: hidden; border-radius: 10px; background: #e7f1e4; }
.admin-thumb img { width: 100%; height: 100%; object-fit: cover; }
.admin-product h3 { margin: 0 0 3px; font-size: 16px; }
.admin-meta { margin: 0 0 12px; color: var(--muted); font-size: 12px; }
.admin-edit { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.admin-edit .field.full { grid-column: 1/-1; }
.admin-edit .field input, .admin-edit .field textarea, .admin-edit .field select { padding: 9px; font-size: 12px; }
.admin-actions { display: flex; gap: 9px; align-items: center; margin-top: 10px; }
.admin-actions .button { padding: 9px 15px; font-size: 12px; }
.danger-button { border: 1px solid #efc5c5; border-radius: 99px; padding: 8px 13px; color: #9b3232; background: #fff; cursor: pointer; font-size: 12px; font-weight: 700; }
.admin-top-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 20px; }
.status-badge { display: inline-block; border-radius: 99px; padding: 4px 9px; background: #fff0d8; color: #83520b; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.status-badge.approved { background: #e5f5eb; color: var(--green); }
.status-badge.sold { background: #fde5e3; color: #a42620; }
.status-badge.hidden { background: #edf0ed; color: #58655e; }
.privacy-note { color: #7d8983; font-size: 11px; }

.genuine-badge, .sold-badge { display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; padding: 5px 10px; background: linear-gradient(135deg,#ffe98c,#dca827); color: #493606; font-size: 10px; font-weight: 900; letter-spacing: .3px; white-space: nowrap; }
.product-genuine { position: absolute; top: 11px; left: 11px; z-index: 1; }
.product-category + .product-genuine { top: auto; bottom: 11px; left: auto; right: 11px; }
.sold-overlay { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(13,37,28,.48); color: #fff; font: 900 27px "Manrope",sans-serif; letter-spacing: 5px; text-shadow: 0 2px 8px #0008; }
.sold-badge { background: #edf0ed; color: #48564f; }
.modal-badges { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 8px; }
.modal-badges [hidden] { display: none; }
.admin-wrap { background: linear-gradient(180deg,#f7f6ee 0,#fbfaf6 340px); }
.admin-header { position: sticky; top: 0; z-index: 10; border-bottom: 3px solid var(--gold); background: linear-gradient(105deg,#063c2c,#087547); }
.admin-header-row { flex-wrap: wrap; }
.admin-nav { display: flex; align-items: center; gap: 7px; margin-left: auto; }
.admin-nav a { border-radius: 999px; padding: 8px 12px; color: #f5f8f4; font-size: 12px; font-weight: 800; }
.admin-nav a:hover { background: #ffffff20; color: var(--gold-bright); }
.admin-main { padding-top: 25px; }
.admin-overview { margin-bottom: 20px; border: 1px solid #eadcae; border-radius: 19px; padding: 24px; background: linear-gradient(125deg,#fff 0%,#fffaf0 100%); box-shadow: var(--shadow); }
.admin-welcome h1 { margin: 4px 0 5px; color: var(--green-deep); font: 800 clamp(24px,4vw,34px)/1.2 "Manrope",sans-serif; letter-spacing: -1px; }
.admin-welcome p { margin: 0; color: var(--muted); font-size: 13px; }
.admin-stat-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 11px; margin-top: 20px; }
.admin-stat { display: flex; flex-direction: column; border: 1px solid #eee7d1; border-radius: 13px; padding: 13px; background: white; transition: transform .2s,border-color .2s; }
.admin-stat:hover { transform: translateY(-2px); border-color: var(--gold); }
.admin-stat span { color: #64756d; font-size: 11px; font-weight: 800; }
.admin-stat strong { color: var(--green); font: 800 27px "Manrope",sans-serif; }
.admin-stat small { color: #89958e; font-size: 10px; }
.admin-card { border-color: #ebe6d6; }
.admin-card .section-label { display: block; margin-bottom: 4px; }
.admin-card h2 { color: var(--green-deep); }
.admin-top-grid { grid-template-columns: 1fr 1fr; align-items: start; }
.listing-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.listing-heading h2 { margin-bottom: 0; }
.sort-control { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; font-weight: 800; }
.sort-control select { border: 1px solid #e7dfc9; border-radius: 9px; padding: 9px 11px; color: var(--ink); background: #fffdf7; }
.admin-filter-bar { position: sticky; top: 83px; z-index: 4; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 16px -4px 4px; padding: 10px 4px; background: #fff; }
.admin-filter { display: inline-flex; align-items: center; gap: 7px; border: 1px solid #e8e5d9; border-radius: 999px; padding: 8px 12px; color: #57675f; background: #fff; cursor: pointer; font-size: 11px; font-weight: 800; }
.admin-filter span { display: grid; min-width: 19px; height: 19px; place-items: center; border-radius: 50%; background: #f2efe3; color: var(--green-deep); font-size: 10px; }
.admin-filter.active, .admin-filter:hover { border-color: var(--green); color: #fff; background: var(--green); }
.admin-filter.active span, .admin-filter:hover span { color: #5a4104; background: var(--gold-bright); }
.admin-search { min-width: 190px; margin-left: auto; }
.admin-search input { width: 100%; border: 1px solid #e7dfc9; border-radius: 999px; padding: 9px 13px; outline: 0; }
.admin-search input:focus { border-color: var(--gold); }
.admin-result-count { color: var(--muted); font-size: 11px; }
.admin-product { border: 1px solid #ece8dd; border-radius: 14px; margin-top: 13px; padding: 15px; background: #fffefa; }
.admin-product:first-of-type { border-top: 1px solid #ece8dd; padding-top: 15px; }
.admin-product h3 { color: var(--green-deep); }
.admin-product .admin-thumb { border: 1px solid #e6e4da; }
.genuine-control { display: flex !important; flex-direction: row !important; align-items: center; gap: 9px !important; border-radius: 10px; padding: 10px; background: var(--gold-pale); }
.genuine-control input { width: 17px !important; height: 17px; accent-color: var(--green); }
.genuine-control span { color: #826a2c; font-size: 10px; font-weight: 500; }
.admin-product [hidden], [hidden] { display: none !important; }
.admin-wrap .button:not(.button-light) { background: linear-gradient(135deg,#087547,#07583b); }
.admin-wrap .button:not(.button-light):hover { background: linear-gradient(135deg,#0a8951,#064a33); }
.admin-wrap .section-label { color: #a97905; }
.admin-main { padding-top: 14px; }
.admin-overview { margin-bottom: 13px; border-radius: 15px; padding: 15px 18px; }
.admin-welcome h1 { font-size: clamp(22px,3vw,29px); }
.admin-stat-grid { gap: 8px; margin-top: 12px; }
.admin-stat { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 6px; padding: 8px 10px; }
.admin-stat span { font-size: 10px; }
.admin-stat strong { grid-column: 2; grid-row: 1 / span 2; font-size: 21px; }
.admin-stat small { font-size: 9px; }
.admin-card { margin-bottom: 13px; padding: 15px; }
.admin-card h2 { margin-bottom: 10px; }
.admin-header-row { gap: 10px; }
.admin-nav { gap: 4px; }
.admin-nav a { padding: 7px 10px; }
.admin-settings-trigger { border: 1px solid #ffffff55; border-radius: 999px; padding: 7px 12px; color: #fff; background: #ffffff14; cursor: pointer; font-size: 12px; font-weight: 800; }
.admin-settings-trigger:hover, .admin-settings-trigger:focus-visible { border-color: var(--gold-bright); color: var(--gold-bright); }
.admin-top-grid { display: none; }
.admin-filter-bar { top: 71px; gap: 6px; margin-top: 8px; padding: 7px 2px; }
.admin-filter { padding: 6px 10px; font-size: 10px; }
.admin-filter span { min-width: 17px; height: 17px; }
.admin-search { min-width: 160px; }
.admin-search input { padding: 7px 11px; font-size: 12px; }
.admin-result-count { margin: 5px 0; font-size: 10px; }
.admin-table-wrap { overflow-x: auto; }
.admin-listing-table { width: 100%; border-collapse: separate; border-spacing: 0 4px; text-align: left; }
.admin-listing-table th { padding: 5px 9px; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.admin-listing-row { transition: filter .15s ease; }
.admin-listing-row:hover { filter: brightness(.975); }
.admin-listing-row td { height: 55px; border-top: 1px solid transparent; border-bottom: 1px solid transparent; padding: 4px 9px; font-size: 11px; }
.admin-listing-row td:first-child { width: 55px; border-left: 3px solid transparent; border-radius: 9px 0 0 9px; }
.admin-listing-row td:last-child { border-right: 1px solid transparent; border-radius: 0 9px 9px 0; text-align: right; }
.status-row-pending td { border-color: #f0dfba; background: #fffaf0; }
.status-row-pending td:first-child { border-left-color: #d99a21; }
.status-row-approved td { border-color: #d3e8d8; background: #f3faf4; }
.status-row-approved td:first-child { border-left-color: #24804c; }
.status-row-sold td { border-color: #f1c6c2; background: #fff4f2; }
.status-row-sold td:first-child { border-left-color: #c63c32; }
.status-row-hidden td { border-color: #e0e5e1; background: #f5f7f5; }
.status-row-hidden td:first-child { border-left-color: #79857e; }
.admin-table-thumb { display: grid; width: 40px; height: 40px; overflow: hidden; place-items: center; border: 1px solid #e2e8df; border-radius: 7px; background: #e7f1e4; }
.admin-table-thumb img { width: 100%; height: 100%; object-fit: cover; }
.admin-table-thumb span { font-size: 20px; }
.admin-table-name { display: block; max-width: 250px; overflow: hidden; color: var(--green-deep); text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.admin-listing-row td:nth-child(2) small { display: block; max-width: 300px; overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; font-size: 9px; }
.admin-table-price { color: var(--green-deep); font-size: 11px !important; font-weight: 800; white-space: nowrap; }
.admin-listing-row .status-badge { padding: 3px 7px; font-size: 9px; }
.more-button { display: inline-flex; align-items: center; justify-content: center; border: 1px solid #dce4da; border-radius: 999px; padding: 6px 12px; color: var(--green-deep); background: #fff; cursor: pointer; font-size: 10px; font-weight: 800; white-space: nowrap; }
.more-button:hover, .more-button:focus-visible { border-color: var(--green); color: #fff; background: var(--green); }
.admin-detail-source { display: none; }
.admin-dialog { width: min(900px, calc(100% - 30px)); max-width: 900px; max-height: min(90vh, 900px); overflow: auto; border: 1px solid #e4ddc7; border-radius: 18px; padding: 20px; color: var(--ink); background: #fffefa; box-shadow: 0 22px 80px #082d2670; }
.admin-dialog::backdrop { background: #09271dcc; backdrop-filter: blur(3px); }
.admin-dialog-header { position: sticky; top: -20px; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: -20px -20px 15px; border-bottom: 1px solid #ece6d5; padding: 13px 18px; background: #fffefaed; backdrop-filter: blur(8px); }
.admin-dialog-header h2 { margin: 0; color: var(--green-deep); font: 800 19px "Manrope",sans-serif; }
.admin-dialog-header .section-label { margin-bottom: 2px; }
.dialog-close { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border: 1px solid #e5e6dc; border-radius: 50%; color: var(--green-deep); background: #fff; cursor: pointer; font-size: 23px; line-height: 1; }
.settings-dialog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.settings-dialog .admin-card { margin: 0; padding: 15px; }
.settings-dialog .admin-card h2 { margin-bottom: 12px; font-size: 17px; }
.listing-dialog { width: calc(100% - 28px); margin: auto auto 14px; padding: 0; }
.listing-dialog .admin-dialog-header { margin: 0; }
.listing-dialog-content { padding: 0 18px; }
.listing-dialog .admin-detail-panel { display: grid; grid-template-columns: minmax(200px, .9fr) minmax(0, 1.1fr); gap: 13px 18px; }
.admin-detail-gallery { display: flex; grid-column: 1 / -1; gap: 9px; overflow-x: auto; padding: 2px 1px 8px; scroll-snap-type: x mandatory; }
.admin-detail-gallery img, .admin-detail-gallery .product-placeholder { width: min(300px, 72vw); height: 190px; flex: 0 0 auto; border-radius: 12px; background: #e7f1e4; object-fit: contain; scroll-snap-align: start; }
.listing-dialog .admin-detail-gallery { position: relative; display: block; width: min(100%, 440px); height: 190px; margin: 0 auto; overflow: hidden; border-radius: 12px; padding: 0; background: #e7f1e4; }
.listing-dialog .admin-detail-gallery img, .listing-dialog .admin-detail-gallery .product-placeholder { display: none; width: 100%; height: 100%; border-radius: 12px; background: #e7f1e4; object-fit: contain; }
.listing-dialog .admin-detail-gallery img:not([hidden]), .listing-dialog .admin-detail-gallery .product-placeholder { display: block; }
.admin-photo-arrow { position: absolute; top: 50%; z-index: 1; display: grid; width: 34px; height: 34px; transform: translateY(-50%); place-items: center; border: 0; border-radius: 50%; color: var(--green-deep); background: #ffffffed; box-shadow: 0 2px 8px #0002; cursor: pointer; font-size: 23px; line-height: 1; }
.admin-photo-prev { left: 10px; }
.admin-photo-next { right: 10px; }
.admin-photo-count { position: absolute; right: 10px; bottom: 9px; border-radius: 999px; padding: 4px 8px; color: #fff; background: #17342dcc; font-size: 10px; font-weight: 800; }
.admin-detail-summary { grid-column: 1 / -1; }
.admin-detail-summary h3 { margin: 0 0 4px; color: var(--green-deep); font: 800 19px "Manrope",sans-serif; }
.admin-detail-summary .admin-meta { margin: 0 0 6px; font-size: 11px; }
.admin-detail-description { margin: 0; color: #53655c; font-size: 12px; }
.listing-dialog .admin-detail-panel > form { grid-column: 1 / -1; }
.listing-dialog .admin-detail-panel > form.admin-actions { grid-column: auto; }
.listing-dialog .admin-edit { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.listing-dialog .admin-actions { flex-wrap: wrap; }
.listing-dialog { width: min(900px, calc(100% - 52px)); max-height: min(82vh, 760px); margin: auto auto 24px; }
.listing-dialog .admin-dialog-header { margin-bottom: 9px; border: 0; border-radius: 17px 17px 0 0; padding: 9px 15px; background: linear-gradient(110deg,#f0f8ee,#f8fbf2); }
.listing-dialog .admin-dialog-header h2 { font-size: 16px; }
.listing-dialog .dialog-close { width: 29px; height: 29px; border-color: #d7ebd9; color: var(--green-deep); background: #fff; font-size: 20px; }
.listing-dialog-content { padding: 0 13px; }
.listing-dialog .admin-detail-panel { grid-template-columns: minmax(175px, .75fr) minmax(0, 1.25fr); gap: 6px 12px; }
.listing-dialog .admin-detail-gallery { width: min(100%, 360px); height: 125px; }
.listing-dialog .admin-detail-gallery { grid-column: 1; grid-row: 1; }
.listing-dialog .admin-photo-arrow { width: 29px; height: 29px; }
.listing-dialog .admin-photo-count { right: 7px; bottom: 6px; padding: 3px 7px; font-size: 9px; }
.listing-dialog .admin-detail-summary { grid-column: 2; grid-row: 1; align-self: stretch; border: 1px solid #d7ebd9; border-radius: 11px; padding: 10px 12px; background: linear-gradient(110deg,#f0f8ee,#f8fbf2); }
.listing-dialog .admin-detail-summary h3 { margin-bottom: 2px; font-size: 15px; }
.listing-dialog .admin-detail-summary .admin-meta { margin-bottom: 3px; font-size: 10px; line-height: 1.3; }
.listing-dialog .admin-detail-description { max-height: 38px; overflow: auto; font-size: 11px; line-height: 1.35; }
.listing-dialog .admin-detail-genuine { margin-top: 5px; gap: 6px !important; padding: 5px 7px; }
.listing-dialog .admin-detail-genuine span { font-size: 9px; }
.listing-dialog .admin-detail-panel > form { grid-column: 1 / -1; grid-row: 2; }
.listing-dialog .admin-edit { gap: 5px 8px; }
.listing-dialog .admin-edit .field { gap: 2px; }
.listing-dialog .admin-edit .field label { font-size: 10px; line-height: 1.2; }
.listing-dialog .admin-edit .field input, .listing-dialog .admin-edit .field textarea, .listing-dialog .admin-edit .field select { min-height: 31px; padding: 5px 7px; font-size: 11px; }
.listing-dialog .admin-edit .field textarea { min-height: 42px; }
.listing-dialog .admin-edit .field.full .genuine-control { gap: 6px !important; padding: 6px; }
.listing-dialog .admin-edit .genuine-control span { font-size: 9px; }
.listing-dialog .admin-actions { gap: 6px; margin-top: 4px; }
.listing-dialog .listing-action-row { display: grid; grid-column: 1 / -1; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; margin-top: 2px; border: 1px solid #d7ebd9; border-radius: 10px; padding: 7px 9px; background: linear-gradient(110deg,#f0f8ee,#f8fbf2); }
.listing-dialog .admin-delete-form { margin: 0; }
.listing-dialog .listing-action-row .privacy-note { text-align: center; }
.listing-dialog .listing-action-row .button { border: 1px solid #176c47; border-radius: 8px; padding: 6px 10px; color: #fff4cf; background: linear-gradient(135deg,#167447,#07583b); font-size: 10px; font-weight: 800; white-space: nowrap; }
.listing-dialog .listing-action-row .button:hover { border-color: #c79524; color: #fff; background: linear-gradient(135deg,#0b603b,#08432f); }
.listing-dialog .listing-action-row .danger-button { border: 1px solid #e7c7bd; border-radius: 8px; padding: 6px 10px; color: #a34832; background: #fff8f5; font-size: 10px; font-weight: 800; white-space: nowrap; }
.listing-dialog .listing-action-row .danger-button:hover { border-color: #c87a62; color: #fff; background: #a34832; }
.listing-dialog .privacy-note { font-size: 9px; }
.delete-confirm-dialog { width: min(420px, calc(100% - 32px)); max-height: 90vh; }
.delete-confirm-dialog .admin-dialog-header { margin: -20px -20px 12px; padding: 12px 16px; }
.delete-confirm-dialog .admin-dialog-header h2 { font-size: 16px; }
.delete-confirm-dialog p { margin: 0 0 12px; color: #596b61; font-size: 12px; }
.delete-confirm-dialog .field input { padding: 9px 10px; }
.delete-confirm-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; }
.delete-confirm-actions .danger-button { border-color: #a34832; color: #fff; background: #a34832; }
.delete-confirm-actions .danger-button:hover { background: #873923; }
#sellerModal .modal { width: min(790px, 100%); max-height: min(82vh, 700px); }
#sellerModal .modal-content { padding: 15px 20px 17px; }
#sellerTitle { margin: 0 40px 8px 0; color: var(--green-deep); font: 800 20px/1.15 "Manrope",sans-serif; }
#sellerForm .form-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px 11px; }
#sellerForm .field { gap: 2px; }
#sellerForm .field label { font-size: 10px; line-height: 1.2; }
#sellerForm .field input, #sellerForm .field textarea { min-height: 32px; padding: 6px 8px; font-size: 11px; }
#sellerForm .field input[type="file"] { min-width: 0; padding: 4px; font-size: 10px; }
#sellerForm .field textarea { min-height: 48px; }
#sellerForm .field-help { font-size: 9px; line-height: 1.25; }
#sellerForm .field.full:last-child { margin-top: 1px; }
#sellerForm .button { padding: 7px 12px; font-size: 11px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; clip-path: inset(50%); }

@media (max-width: 900px) {
  .products-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .brand { min-width: 195px; }
}
@media (max-width: 800px) {
  .admin-header-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; }
  .admin-header-row > form { grid-column: 2; grid-row: 1; }
  .admin-nav { grid-column: 1/-1; grid-row: 2; width: 100%; overflow-x: auto; margin: 0; }
  .admin-nav a { flex: 0 0 auto; padding: 7px 10px; }
  .admin-filter-bar { top: 110px; }
}
@media (max-width: 680px) {
  .container { width: min(100% - 30px, 560px); }
  .section.products-section { padding-top: 12px; }
  .topbar { min-height: 66px; }
  .nav-row { align-items: flex-start; flex-direction: column; gap: 9px; }
  .brand { min-width: 0; }
  .brand-mark { width: 39px; height: 39px; border-radius: 12px; }
  .jp-monogram { width: 30px; height: 30px; }
  .brand-word { font-size: 17px; }
  .header-contact { align-items: flex-start; gap: 2px; text-align: left; }
  .header-contact-links { justify-content: flex-start; gap: 3px 16px; }
  .header-note { max-width: 100%; }
  .section { padding: 45px 0; }
  .section-heading { align-items: start; flex-direction: column; }
  .products-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; }
  .product-info { padding: 11px; }
  .product-name { font-size: 14px; }
  .product-description { min-height: 34px; font-size: 11px; }
  .product-price { font-size: 14px; }
  .product-more { font-size: 10px; }
  .filter-mobile-topline { display: flex; order: 1; flex: 0 0 100%; align-items: center; justify-content: space-between; }
  .filter-row { gap: 6px; padding: 7px 8px; }
  .category-toggle { display: grid; width: 36px; height: 34px; place-items: center; border: 1px solid #dce7dc; border-radius: 10px; background: #fff; color: var(--green-deep); cursor: pointer; }
  .category-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 2; }
  .filter-categories { display: none; order: 2; flex: 0 0 100%; flex-wrap: wrap; gap: 8px; }
  .filter-categories.open { display: flex; }
  .filter-chip { padding: 7px 10px; font-size: 11px; }
  .search-box { order: 3; flex: 0 0 100%; width: 100%; max-width: none; margin-left: 0; }
  .search-box input { padding: 8px 12px; }
  .sell-listing-button { gap: 5px; margin-left: 0; padding: 6px 9px; font-size: 11px; }
  .sell-listing-icon { width: 18px; height: 18px; font-size: 15px; }
  .footer-row { align-items: start; flex-direction: column; }
  .modal-backdrop { padding: 9px; }
  .modal { max-height: 94vh; border-radius: 16px; }
  .modal-gallery { height: 185px; }
  .product-modal .modal-content { padding: 16px; }
  .modal-content { padding: 20px; }
  .product-modal .modal-content h2 { font-size: 19px; }
  .product-modal .modal-price { font-size: 16px; }
  .product-modal .detail-list { gap: 6px; }
  .product-modal .detail-item { gap: 5px; padding: 3px 5px; }
  .product-modal .detail-item strong { font-size: 10px; }
  .product-modal .detail-item-plain { gap: 6px; padding: 2px 1px; }
  .product-modal .detail-item:nth-child(1) { order: 1; }
  .product-modal .detail-item:nth-child(3) { order: 2; }
  .product-modal .detail-item:nth-child(2) { order: 3; grid-column: 1/-1; }
  .product-modal .detail-item-caution { order: 4; grid-column: 1/-1; }
  .product-modal .detail-item-plain strong { font-size: 10px; }
  .form-panel { margin: 20px auto; padding: 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .admin-top-grid { grid-template-columns: 1fr; }
  .admin-header-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; }
  .admin-header-row > form { grid-column: 2; grid-row: 1; }
  .admin-nav { grid-column: 1/-1; grid-row: 2; width: 100%; overflow-x: auto; margin: 0; }
  .admin-nav a { flex: 0 0 auto; padding: 7px 10px; }
  .admin-overview { padding: 13px; }
  .admin-stat-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .admin-stat:first-child { grid-column: auto; }
  .listing-heading { align-items: start; flex-direction: column; }
  .sort-control { width: 100%; }
  .sort-control select { flex: 1; min-width: 0; }
  .admin-search { width: 100%; margin-left: 0; }
  .admin-listing-table th, .admin-listing-row td { padding-right: 5px; padding-left: 5px; }
  .admin-listing-row td:nth-child(4) { display: none; }
  .admin-listing-table th:nth-child(4) { display: none; }
  .admin-table-name { max-width: 145px; }
  .admin-listing-row td:nth-child(2) small { max-width: 145px; }
  .settings-dialog-grid { grid-template-columns: 1fr; }
  .admin-dialog { padding: 15px; }
  .admin-dialog-header { top: -15px; margin: -15px -15px 12px; padding: 11px 14px; }
  .delete-confirm-dialog .admin-dialog-header { margin: -15px -15px 12px; }
  .listing-dialog-content { padding: 0 13px; }
  .listing-dialog .admin-detail-panel { grid-template-columns: 1fr; }
  .listing-dialog .admin-detail-gallery { height: 120px; }
  .listing-dialog .admin-detail-summary { grid-column: 1; grid-row: auto; }
  .listing-dialog .admin-detail-panel > form { grid-row: auto; }
  .listing-dialog .admin-edit { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .listing-dialog .listing-action-row { grid-template-columns: auto minmax(0,1fr) auto; gap: 5px; padding: 6px; }
  .listing-dialog .listing-action-row .privacy-note { max-width: 130px; font-size: 8px; line-height: 1.2; }
  #sellerModal .modal { width: min(850px,100%); max-height: 94vh; }
  #sellerModal .modal-content { padding: 17px; }
  #sellerTitle { margin: 0 40px 12px 0; font-size: 22px; }
  #sellerForm .form-grid { grid-template-columns: 1fr; gap: 11px; }
  #sellerForm .field.full { grid-column: 1 / -1; }
  #sellerForm .field { gap: 4px; }
  #sellerForm .field label { font-size: 12px; line-height: normal; }
  #sellerForm .field input, #sellerForm .field textarea { min-height: 0; padding: 9px 11px; font-size: 13px; }
  #sellerForm .field input[type="file"] { padding: 8px; font-size: 12px; }
  #sellerForm .field textarea { min-height: 82px; }
  #sellerForm .field-help { font-size: 11px; line-height: normal; }
  #sellerForm .button { padding: 12px 20px; font-size: 13px; }
}
@media (max-width: 390px) {
  .container { width: calc(100% - 22px); }
  .brand-word { font-size: 15px; }
  .product-price { font-size: 12px; }
  .admin-edit, .listing-dialog .admin-edit { grid-template-columns: 1fr; }
  .admin-filter-bar { top: 110px; }
}
