:root{--green:#27814b;--dark:#183d29;--lime:#e7f4dd;--soft:#f5f9f2;--line:#e2eadd;--muted:#718277;--white:#fff;--shadow:0 12px 34px rgba(34,70,36,.065)}*{box-sizing:border-box}body{margin:0;background:#fbfcfa;color:#23372b;font:14px 'Noto Sans Armenian',sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}.container{max-width:1260px;margin:auto;padding:0 28px}.top{background:#eaf5e5;color:#3f6746;font-size:12px}.top .container{display:flex;justify-content:space-between;padding-top:10px;padding-bottom:10px}.top span{display:flex;align-items:center;gap:7px}.header{background:#fff;border-bottom:1px solid #e9eee6;position:sticky;top:0;z-index:20}.headrow{display:flex;align-items:center;gap:24px;height:83px}.logo{display:flex;align-items:center;gap:10px;white-space:nowrap;cursor:pointer}.logomark{height:43px;width:43px;background:#e4f4db;border-radius:13px;display:grid;place-items:center;color:#2a8b4a}.logo strong{display:block;color:#216a3f;font-size:22px;line-height:1.3;letter-spacing:-.5px}.logo small{font-size:10px;color:#829787;display:block}.nav{display:flex;align-items:center;gap:25px;margin-left:auto}.nav a{font-weight:600;color:#617268;font-size:13px}.nav a.active,.nav a:hover{color:var(--green)}.headact{display:flex;align-items:center;gap:10px}.btn{border:1px solid transparent;border-radius:11px;padding:12px 17px;background:#fff;font-weight:700;color:#34553d;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:.2s}.btn:hover{transform:translateY(-1px)}.primary{background:#29834c;color:white}.outline{border-color:#dde9dc}.lightbtn{background:#ebf5e8;color:#247447}.smallbtn{padding:9px 13px;font-size:12px}.iconbtn{border:1px solid #e7ede4;border-radius:11px;width:42px;height:42px;background:#fff;display:grid;place-items:center;color:#46654a;position:relative}.menu-trigger{display:none}.hero{background:linear-gradient(112deg,#f4faef 0%,#f2f8ec 46%,#eaf3e3 100%);overflow:hidden}.hero-grid{min-height:415px;display:grid;grid-template-columns:55% 45%;align-items:center;position:relative}.hero-copy{padding:54px 0 70px;z-index:1}.eyebrow{display:inline-flex;align-items:center;gap:8px;border-radius:30px;background:#fff;color:#34824a;padding:9px 14px;font-size:11px;font-weight:700}.eyebrow:before{content:'';width:7px;height:7px;background:#78b959;border-radius:50%}h1{font-size:43px;line-height:1.38;letter-spacing:-1.35px;color:#214930;margin:21px 0 14px;font-weight:800}h1 span{color:#319152}.hero-copy p{max-width:520px;color:#6e8071;line-height:1.9;margin:0 0 25px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap}.hero-visual{position:absolute;right:-25px;top:0;width:47%;height:100%;overflow:hidden;border-radius:0 0 0 120px}.hero-visual img{width:100%;height:100%;object-fit:cover}.hero-visual:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#f0f8e8 0%,rgba(240,248,232,.25) 30%,transparent 75%);z-index:1}.hero-overlay{position:absolute;z-index:2;right:38px;bottom:32px;background:#fff;padding:13px 17px;border-radius:13px;box-shadow:var(--shadow);display:flex;gap:10px;align-items:center}.hero-overlay strong{display:block;color:#245e37}.hero-overlay small{color:#879788}.searchbox{background:#fff;padding:17px;border-radius:16px;box-shadow:var(--shadow);position:relative;z-index:5;margin-top:-32px;display:grid;grid-template-columns:1.8fr 1fr 1fr auto;gap:12px;border:1px solid #edf2eb}.field{display:flex;align-items:center;gap:9px;border:1px solid #e3eae1;background:#fff;padding:0 15px;border-radius:10px;min-height:49px;color:#87a18c}.field input,.field select{width:100%;border:0;outline:0;background:transparent;color:#425648;min-width:0}.field input::placeholder{color:#9aab9d}.section{padding-top:60px;padding-bottom:12px}.section-header{display:flex;align-items:end;justify-content:space-between;margin-bottom:23px;gap:10px}.section-title{font-size:25px;font-weight:800;margin:0 0 6px;color:#244833}.section-sub{color:#88988d;margin:0;font-size:13px}.textlink{color:#29854d;font-weight:700;display:flex;align-items:center;gap:6px;white-space:nowrap}.categories{display:grid;grid-template-columns:repeat(6,1fr);gap:15px}.category{border:1px solid #e7eee4;background:#fff;border-radius:16px;padding:22px 10px 18px;text-align:center;cursor:pointer;transition:.2s}.category:hover{border-color:#8fc99a;transform:translateY(-3px)}.cat-icon{height:65px;width:65px;border-radius:22px;background:#f0f7ea;display:grid;place-items:center;margin:0 auto 13px;font-size:31px}.category strong{font-size:13px;color:#3d5541;display:block}.category small{display:block;color:#9aac9c;font-size:11px;margin-top:5px}.products{display:grid;grid-template-columns:repeat(4,1fr);gap:19px}.product{background:#fff;border:1px solid #e8eee6;border-radius:17px;overflow:hidden;transition:.2s}.product:hover{box-shadow:var(--shadow);transform:translateY(-2px)}.product-img{height:168px;position:relative;background:#eef5e9;overflow:hidden}.product-img img{width:100%;height:100%;object-fit:cover}.pill{position:absolute;top:12px;left:12px;background:#fff;color:#397a4b;border-radius:7px;padding:7px 9px;font-size:10px;font-weight:700}.heart{position:absolute;right:11px;top:11px;background:#fff;border:none;border-radius:50%;height:32px;width:32px;display:grid;place-items:center;color:#849887;font-size:20px}.heart.saved{color:#e85965}.product-body{padding:16px}.product-type{font-size:11px;color:#7c9a80}.product h3{font-size:14px;margin:7px 0 10px;line-height:1.6;min-height:23px}.price{font-size:19px;color:#247d44;font-weight:800}.price small{font-size:11px;color:#95a598;font-weight:500}.product-bottom{border-top:1px solid #eff2ed;margin-top:12px;padding-top:12px;display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;color:#859487}.product-bottom span{display:flex;gap:4px;align-items:center}.benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;padding-top:15px}.benefit{display:flex;gap:13px;align-items:flex-start;background:#f3f8ef;border-radius:15px;padding:21px}.benefit-icon{height:47px;min-width:47px;display:grid;place-items:center;background:#e4f2d9;color:#38894a;border-radius:13px;font-size:23px}.benefit strong{display:block;margin-bottom:7px;color:#325a39}.benefit p{margin:0;color:#849486;font-size:12px;line-height:1.8}.banner{display:flex;align-items:center;justify-content:space-between;gap:22px;background:#e6f3df;border-radius:19px;padding:31px 37px;margin-top:60px;margin-bottom:55px}.banner h2{font-size:23px;margin:0 0 9px;color:#285e39}.banner p{margin:0;color:#718b73;font-size:12px}.footer{background:#193d2a;color:#e3eddf;padding:43px 0 22px;margin-top:65px}.footgrid{display:grid;grid-template-columns:2fr 1fr 1fr 1.5fr;gap:30px}.footer .logo strong{color:#fff}.footer .logo small{color:#a6b9ab}.footer p,.footer a{display:block;color:#b0c0b4;font-size:12px;line-height:2}.footer h4{margin:0 0 13px}.footer .logomark{background:#325d3d}.copyright{border-top:1px solid #35533f;margin-top:29px;padding-top:20px;color:#a3b7a7;font-size:11px}.page-head{background:#f1f8ec;padding:39px 0}.page-head h1{font-size:29px;margin:0 0 8px}.page-head p{color:#829482;margin:0}.catalog-layout{display:grid;grid-template-columns:250px 1fr;gap:22px;padding-top:35px}.filterpanel,.panel{background:#fff;border:1px solid #e7eee5;border-radius:16px;padding:22px}.filterpanel h3{font-size:15px}.filterblock{padding:18px 0;border-bottom:1px solid #edf1ea}.filterblock label{font-weight:700;font-size:12px;display:block;margin-bottom:10px}.filterblock select,.filterblock input,.input{width:100%;border:1px solid #dfe9de;border-radius:9px;padding:12px;background:#fff;color:#3d5743;outline:0}.catalog-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px;gap:12px}.catalog-top p{margin:0;color:#728874}.catalog-top select{padding:10px;border:1px solid #e1e9dd;border-radius:9px;background:#fff}.catalog-layout .products{grid-template-columns:repeat(3,1fr)}.dashboard{display:grid;grid-template-columns:235px minmax(0,1fr);gap:27px;padding-top:36px}.sidebar{background:#fff;border:1px solid #e5ece1;border-radius:16px;padding:14px;height:max-content}.userbox{padding:19px 12px;border-bottom:1px solid #edf1eb;margin-bottom:11px}.avatar{height:43px;width:43px;background:#e5f3e0;color:#2c874c;display:grid;place-items:center;border-radius:12px;font-size:19px;font-weight:800}.userbox strong{display:block;margin-top:11px}.userbox small{color:#92a092}.sidebtn{border:none;background:transparent;padding:12px;width:100%;text-align:left;border-radius:9px;color:#6e8172;display:flex;gap:10px;align-items:center;margin:2px 0}.sidebtn.current{background:#eaf5e7;color:#217a43;font-weight:700}.dash-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.dash-head h2{margin:0;font-size:26px}.dash-head p{color:#8b9b8d;margin:7px 0 0}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.stat{padding:19px;border:1px solid #e5ece1;background:#fff;border-radius:14px}.stat .statname{font-size:11px;color:#7f9282}.stat strong{display:block;font-size:23px;color:#245b38;margin:13px 0 5px}.stat small{color:#459d5b;font-size:11px}.chartgrid{display:grid;grid-template-columns:1.6fr 1fr;gap:17px;margin-top:20px}.chartcard{background:#fff;border:1px solid #e5ece1;border-radius:14px;padding:20px;min-width:0}.chartcard h3{font-size:14px;margin:0 0 19px}.bars{display:flex;align-items:end;height:182px;gap:11px;border-bottom:1px solid #eaf0e6;padding-top:10px}.barcol{flex:1;height:100%;display:flex;flex-direction:column;justify-content:end;align-items:center;gap:7px}.bar{width:60%;min-width:12px;max-width:38px;background:#a6d9a5;border-radius:5px 5px 0 0}.barcol:nth-child(5) .bar{background:#329353}.barcol small{font-size:10px;color:#93a092}.source-row{display:flex;align-items:center;gap:9px;margin:16px 0;color:#5d7863}.source-row span{flex:1}.progress{width:80px;height:7px;background:#ecf4e9;border-radius:10px;overflow:hidden}.progress b{display:block;background:#73bd80;height:100%}.tablewrap{overflow:auto}.data-table{width:100%;border-collapse:collapse;background:#fff;font-size:12px}.data-table th{text-align:left;color:#93a394;font-weight:500;border-bottom:1px solid #e8efe5;padding:14px}.data-table td{padding:14px;border-bottom:1px solid #eff2ed}.status{background:#e8f6e7;color:#368d49;padding:5px 9px;border-radius:7px;font-size:10px;white-space:nowrap}.empty{text-align:center;padding:52px 15px;color:#849985}.empty .symbol{font-size:46px}.empty h3{color:#3f6347}.requests{display:grid;grid-template-columns:repeat(2,1fr);gap:17px}.request{border:1px solid #e6ede4;border-radius:15px;padding:22px;background:#fff}.request h3{margin:0 0 9px;font-size:16px}.request p{font-size:12px;color:#7f9282}.request .meta{display:flex;flex-wrap:wrap;gap:9px;margin:15px 0}.request .meta span{background:#f0f7ed;padding:7px 9px;border-radius:7px;font-size:11px;color:#4f7757}.modal-bg{position:fixed;inset:0;background:rgba(14,35,21,.51);display:grid;place-items:center;z-index:40;padding:15px}.modal{background:#fff;border-radius:21px;width:min(100%,510px);max-height:93vh;overflow:auto;padding:30px;box-shadow:0 25px 100px #11251b44;position:relative}.modal h2{margin:0 0 8px;font-size:23px;color:#28563a}.modal p{margin:0 0 22px;color:#8b9b8a;font-size:12px;line-height:1.8}.close{position:absolute;right:16px;top:14px;background:#f0f5ed;border:0;border-radius:50%;width:31px;height:31px;font-size:20px}.formrow{margin-bottom:14px}.formrow label{display:block;margin-bottom:7px;font-weight:700;font-size:12px}.two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.tabs{display:flex;gap:8px;background:#f1f7ed;padding:5px;border-radius:11px;margin:18px 0}.tab{border:0;background:transparent;flex:1;padding:10px;border-radius:8px;font-weight:700;color:#7b907d}.tab.active{background:#fff;color:#26814a;box-shadow:0 2px 7px #244d2910}.toast{position:fixed;bottom:24px;right:24px;background:#245d37;color:#fff;padding:15px 21px;border-radius:12px;z-index:70;box-shadow:var(--shadow);max-width:360px}.backlink{display:inline-block;color:#2d844a;margin:25px 0;font-weight:700}.detail{display:grid;grid-template-columns:1.1fr 1fr;gap:33px;margin-bottom:30px}.detail img{width:100%;height:390px;object-fit:cover;border-radius:18px}.detail h1{font-size:29px;margin:10px 0}.detail p{color:#819183;line-height:1.9}.detail-price{font-size:30px;font-weight:800;color:#2b8b4b;margin:19px 0}.detail-line{padding:12px 0;border-bottom:1px solid #e9efe5;display:flex;justify-content:space-between}.detail-line span:first-child{color:#899b8a}.mobile-nav{display:none}.no-results{grid-column:1/-1;text-align:center;padding:35px;color:#869d8b;background:#fff;border-radius:15px}svg{flex-shrink:0}@media(max-width:1050px){.nav{gap:13px}.headrow{gap:12px}.nav a{font-size:12px}.categories{grid-template-columns:repeat(3,1fr)}.products{grid-template-columns:repeat(3,1fr)}.stats{grid-template-columns:repeat(2,1fr)}.hero-grid{grid-template-columns:60% 40%}}@media(max-width:780px){.container{padding-left:17px;padding-right:17px}.top{display:none}.header .headrow{height:69px}.nav{display:none}.menu-trigger{display:grid}.headact{margin-left:auto}.headact .loginlabel{display:none}.headact .primary{padding:11px}.logo strong{font-size:18px}.logo small{font-size:9px}.logomark{height:39px;width:39px}.hero-grid{display:block;min-height:390px}.hero-copy{padding:48px 0 63px;max-width:580px}.hero-visual{opacity:.34;width:100%;right:-80px;border-radius:0}.hero-visual:before{background:linear-gradient(90deg,rgba(240,248,232,.72) 0%,rgba(240,248,232,.26) 38%,transparent 100%)}.hero-overlay{display:none}h1{font-size:32px}.hero-copy p{font-size:13px}.searchbox{grid-template-columns:1fr 1fr;margin-top:-25px;padding:12px;gap:9px}.searchbox .field:first-child{grid-column:1/-1}.searchbox .btn{grid-column:1/-1}.categories{grid-template-columns:repeat(3,1fr);gap:10px}.category{padding:14px 4px}.cat-icon{height:53px;width:53px;border-radius:16px;font-size:27px}.category strong{font-size:11px}.products,.catalog-layout .products{grid-template-columns:repeat(2,1fr);gap:11px}.product-img{height:137px}.product-body{padding:12px}.product h3{font-size:12px}.price{font-size:16px}.benefits{grid-template-columns:1fr;gap:10px}.section{padding-top:38px}.section-title{font-size:21px}.catalog-layout{grid-template-columns:1fr}.filterpanel{display:grid;grid-template-columns:repeat(2,1fr);gap:0 15px;padding:13px}.filterpanel h3{grid-column:1/-1}.filterblock{padding:10px 0}.dashboard{grid-template-columns:1fr;gap:12px}.sidebar{display:flex;overflow:auto;align-items:center}.userbox{display:none}.sidebtn{white-space:nowrap;width:auto;padding:10px}.chartgrid{grid-template-columns:1fr}.requests{grid-template-columns:1fr}.detail{grid-template-columns:1fr}.detail img{height:290px}.footgrid{grid-template-columns:1fr 1fr}.banner{padding:25px;display:block}.banner .btn{margin-top:20px}.mobile-nav.open{display:flex;position:absolute;top:69px;left:0;right:0;background:white;padding:14px 20px;border-bottom:1px solid #e4ede2;flex-direction:column;gap:0;box-shadow:var(--shadow)}.mobile-nav a{padding:13px 7px;border-bottom:1px solid #f0f2ed}}@media(max-width:440px){.container{padding-left:14px;padding-right:14px}.headact{gap:5px}.logo strong{font-size:16px}.logomark{width:35px;height:35px}.headact .primary{font-size:11px;padding:10px 9px}.headact .iconbtn{width:34px;height:36px}.searchbox{grid-template-columns:1fr}.searchbox .field:first-child{grid-column:auto}.searchbox .btn{grid-column:auto}.product-img{height:120px}.product-bottom{display:block}.product-bottom span{margin:4px 0}.footgrid{grid-template-columns:1fr 1fr}.stats{gap:9px}.stat{padding:12px}.stat strong{font-size:18px}.two{grid-template-columns:1fr}}
/* Social sign-in in the same personal-account dialog */
.social-separator{display:flex;align-items:center;gap:12px;margin:20px 0 14px;color:#819485;font-size:12px}
.social-separator::before,.social-separator::after{content:"";height:1px;flex:1;background:#e4eae3}
.social-login{display:grid;gap:10px}
.social-button{display:flex;align-items:center;justify-content:center;gap:11px;min-height:46px;border:1px solid #dfe8dc;border-radius:10px;background:#fff;color:#344f3a;text-decoration:none;font-weight:700;font-size:13px;transition:background .15s,border-color .15s}
.social-button:hover,.social-button:focus-visible{background:#f4f8f1;border-color:#aac9af}
.social-button.facebook svg{border-radius:50%}


/* iPhone / Android modal — stable viewport without body position:fixed. */
html,body{max-width:100%;overflow-x:clip}
html.has-open-modal,body.has-open-modal{overflow:hidden!important;overscroll-behavior:none}
body>.modal-bg{
  position:fixed!important;
  inset:0!important;
  top:0!important;left:0!important;right:0!important;bottom:0!important;
  width:100%!important;max-width:100%!important;
  height:100%!important;height:100dvh!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  box-sizing:border-box!important;
  padding:12px!important;margin:0!important;
  overflow-x:hidden!important;overflow-y:auto!important;
  overscroll-behavior:contain;
  background:rgba(14,35,21,.51);
  z-index:99999;
  -webkit-overflow-scrolling:touch;
}
body>.modal-bg>.modal{
  position:relative!important;box-sizing:border-box!important;
  flex:0 1 510px;
  width:100%!important;max-width:510px!important;
  min-width:0!important;
  max-height:calc(100dvh - 24px)!important;
  margin:auto!important;
  overflow-x:hidden!important;overflow-y:auto!important;
  -webkit-overflow-scrolling:touch;
}
body>.modal-bg input,body>.modal-bg select,body>.modal-bg textarea{
  font-size:16px!important;max-width:100%;min-width:0;
}
body>.modal-bg form,body>.modal-bg .formrow,body>.modal-bg .two{min-width:0}
@media(max-width:600px){
  body>.modal-bg>.modal{max-width:100%!important;padding:22px 18px;border-radius:17px}
  body>.modal-bg .modal h2{font-size:21px;line-height:1.4;padding-right:22px;overflow-wrap:anywhere}
  body>.modal-bg .social-button{max-width:100%}
}
@media(max-width:360px){body>.modal-bg .two{grid-template-columns:1fr}}


/* v8: iOS Safari keyboard-safe mobile auth view.
   Small screens use a full-viewport sheet rather than a centered dialog,
   eliminating horizontal panning when Safari focuses an input. */
@media (max-width: 780px) {
  html.has-open-modal, body.has-open-modal {
    width: 100% !important;
    overflow-x: hidden !important;
  }
  body > .modal-bg {
    display: block !important;
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    inset: 0 !important;
    width: 100vw !important;
    min-width: 0 !important;
    max-width: 100vw !important;
    height: 100dvh !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    overscroll-behavior: contain;
  }
  body > .modal-bg > .modal {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    display: block !important;
    transform: none !important;
    flex: none !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: 100% !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: max(28px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(35px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left)) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  body > .modal-bg .input,
  body > .modal-bg input,
  body > .modal-bg select,
  body > .modal-bg textarea {
    box-sizing: border-box !important;
    display: block;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    font-size: 17px !important;
    line-height: 1.4 !important;
    -webkit-text-size-adjust: 100%;
  }
  body > .modal-bg .modal h2 {font-size: 21px !important; max-width: 100%;}
  body > .modal-bg .close {
    position: sticky;
    top: 0;
    float: right;
    margin: -12px -5px 4px 8px;
    z-index: 2;
    font-size: 24px;
    width: 38px;
    height: 38px;
  }
}

/* Fix: decorative hero artwork must never intercept taps on CTA buttons. */
.hero-copy{position:relative;z-index:3;}
.hero-visual,.hero-visual::before,.hero-visual img,.hero-overlay{pointer-events:none;}
.hero-actions{position:relative;z-index:4;}
.hero-actions .btn{position:relative;z-index:1;touch-action:manipulation;}

/* Photo upload in listing form */
.listing-photo-picker{display:flex!important;align-items:center;justify-content:center;min-height:64px;padding:12px 14px;background:#f3f8ef;border:2px dashed #9fc8a4;border-radius:12px;color:#277747;font-weight:700!important;cursor:pointer;text-align:center}.listing-photo-picker:active{background:#e4f2df}.listing-photo-input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}.listing-photo-input:focus-visible+.listing-photo-preview{outline:2px solid #27814b}.listing-photo-note{display:block;margin-top:8px;color:#7c9080;font-size:11px}.listing-photo-preview:not([hidden]){display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:12px 0}.listing-photo-preview img{width:124px;height:102px;object-fit:cover;border-radius:10px;border:1px solid #dce8d8}

/* Real buyer/seller chat */
.chat-layout{display:grid;grid-template-columns:minmax(185px,32%) 1fr;gap:14px;min-height:380px}.chat-conversations{border:1px solid #e3ebdf;border-radius:12px;overflow:auto;max-height:560px}.chat-conversation{display:block;position:relative;text-align:left;width:100%;background:#fff;border:0;border-bottom:1px solid #edf2ea;padding:13px;cursor:pointer;color:#305640}.chat-conversation.active{background:#eaf5e8}.chat-conversation strong,.chat-conversation small,.chat-conversation span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-conversation small,.chat-conversation span{color:#7e927f;font-size:11px;margin-top:3px}.chat-unread{position:absolute;right:8px;top:8px;background:#27814b;color:white;border-radius:50px;padding:2px 7px}.chat-thread{border:1px solid #e3ebdf;border-radius:12px;min-width:0;padding:13px;display:flex;flex-direction:column;gap:12px}.chat-title{margin:0;color:#255e37}.chat-title small{display:block;font-size:12px;color:#839487;font-weight:400}.chat-messages{min-height:215px;max-height:400px;overflow-y:auto;display:flex;flex-direction:column;gap:9px;padding:8px 0}.chat-bubble{border-radius:13px;padding:9px 12px;max-width:88%;overflow-wrap:anywhere;background:#f0f5ee;align-self:flex-start}.chat-bubble.mine{background:#dcf0df;align-self:flex-end}.chat-bubble small{display:block;text-align:right;color:#829083;font-size:10px;margin-top:5px}.chat-compose{display:flex;align-items:end;gap:8px}.chat-compose textarea{resize:vertical;flex:1;min-width:0;min-height:54px;padding:10px;border:1px solid #dde8dc;border-radius:10px;font:inherit;font-size:16px}.chat-hint{font-size:13px;color:#7d907e;line-height:1.7}@media(max-width:650px){.chat-layout{grid-template-columns:1fr}.chat-conversations{max-height:170px}.chat-thread{min-height:330px}.chat-compose{flex-direction:column;align-items:stretch}.chat-compose button{width:100%}}


/* iPhone Safari and standalone PWA: full-viewport, no horizontal overflow messenger. */
@media(max-width:780px){
 body.gm-chat-screen{overflow:hidden;overscroll-behavior:none;}
 body.gm-chat-screen .dashboard{
  position:fixed;z-index:35;left:0;top:var(--gm-chat-top,0px);
  width:100%;max-width:100%;height:var(--gm-chat-height,100dvh);
  padding:max(8px,env(safe-area-inset-top)) max(10px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left));
  background:#f8fbf7;display:flex;flex-direction:column;gap:0;overflow:hidden;
  box-sizing:border-box;margin:0;
 }
 body.gm-chat-screen .dashboard>aside,body.gm-chat-screen .dashboard .dash-head,body.gm-chat-screen .page-head{display:none;}
 body.gm-chat-screen .dashboard>main{display:flex;flex-direction:column;min-width:0;min-height:0;flex:1;overflow:hidden;}
 body.gm-chat-screen .dashboard .chat-panel{display:flex;flex-direction:column;flex:1;min-height:0;min-width:0;overflow:hidden;padding:0;border:0;border-radius:16px;background:#fff;}
 body.gm-chat-screen .chat-mobile-top{display:flex;flex:none;align-items:center;justify-content:center;position:relative;min-height:54px;padding:8px 12px;border-bottom:1px solid #e3ebdf;color:#285e39;}
 body.gm-chat-screen .chat-mobile-top .chat-nav-back{position:absolute;left:8px;top:50%;transform:translateY(-50%);}
 body.gm-chat-screen .chat-panel>h3,body.gm-chat-screen .chat-panel>.chat-hint,body.gm-chat-screen .chat-panel>.chat-layout~button{display:none;}
 body.gm-chat-screen .chat-layout{display:flex;flex-direction:column;flex:1;min-width:0;min-height:0;overflow:hidden;gap:0;}
 body.gm-chat-screen .chat-conversations{max-height:none;min-height:0;flex:1;overflow-y:auto;overflow-x:hidden;border:0;border-radius:0;-webkit-overflow-scrolling:touch;}
 body.gm-chat-screen .chat-thread{border:0;border-radius:0;flex:1;min-height:0;min-width:0;max-width:100%;padding:0;gap:0;overflow:hidden;}
 body.gm-chat-screen .chat-list-open .chat-thread{display:none;}
 body.gm-chat-screen .chat-open .chat-conversations{display:none;}
 body.gm-chat-screen .chat-title{display:flex;align-items:center;gap:8px;flex:none;min-width:0;padding:10px 12px;border-bottom:1px solid #e3ebdf;font-size:15px;}
 body.gm-chat-screen .chat-title>span{min-width:0;overflow-wrap:anywhere;}
 body.gm-chat-screen .chat-title small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:75vw;}
 body.gm-chat-screen .chat-messages{flex:1;min-height:0;max-height:none;overflow-y:auto;overflow-x:hidden;padding:12px;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;}
 body.gm-chat-screen .chat-compose{display:flex;flex:none;flex-direction:row;align-items:flex-end;gap:8px;min-width:0;padding:10px 9px;background:#fff;border-top:1px solid #e3ebdf;}
 body.gm-chat-screen .chat-compose textarea{resize:none;display:block;min-width:0;width:auto;flex:1;min-height:42px;max-height:90px;font-size:16px;line-height:1.3;}
 body.gm-chat-screen .chat-compose button{flex:0 0 auto;width:auto;min-height:42px;padding:9px 12px;white-space:nowrap;}
 body.gm-chat-screen .chat-bubble{max-width:85%;}
 body.gm-chat-screen .chat-conversation{box-sizing:border-box;max-width:100%;overflow:hidden;min-height:72px;}
 .chat-mobile-top{display:none;}
 .chat-nav-back{display:inline-flex;align-items:center;gap:4px;border:0;border-radius:8px;background:transparent;color:#237e42;font-size:25px;cursor:pointer;padding:4px 8px;min-height:40px;}
 .chat-nav-back span{font-size:12px;font-weight:700;}
}
@media(min-width:781px){.chat-mobile-top,.chat-thread-back{display:none;}}

/* Edit, remove and clear message controls: Safari / PWA safe. */
.chat-conversation-row{position:relative;min-width:0;border-bottom:1px solid #edf2ea;display:flex;align-items:stretch}
.chat-conversation-row .chat-conversation{min-width:0;flex:1;border-bottom:0;padding-right:34px}
.chat-list-delete{position:absolute;right:6px;top:50%;transform:translateY(-50%);border:0;background:#f8eeec;color:#a34944;border-radius:10px;min-width:32px;min-height:38px;cursor:pointer;font-size:18px;z-index:2}
.chat-delete-thread{margin-left:auto;flex:0 0 auto;background:#fff4f1;color:#a1433b;border:1px solid #f0d7d1;border-radius:9px;padding:8px;font-size:12px;font-weight:600;cursor:pointer}
.chat-message-actions{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap;margin-top:7px}
.chat-message-actions button,.chat-message-edit button{border:1px solid #cddfce;background:rgba(255,255,255,.8);border-radius:8px;padding:6px 9px;font-size:12px;cursor:pointer;color:#28623e;min-height:34px}
.chat-message-actions button:last-child{color:#a1433b}
.chat-message-actions[hidden]{display:none}
.chat-bubble{min-width:0}
.chat-deleted{opacity:.75}
.chat-deleted .chat-message-text{font-style:italic}
.chat-message-edit textarea{width:100%;min-width:0;box-sizing:border-box;min-height:80px;font:inherit;font-size:16px;padding:9px;border-radius:9px;border:1px solid #b5d1ba;resize:vertical}
.chat-message-edit>div{display:flex;justify-content:flex-end;gap:8px;margin-top:7px}
@media(max-width:780px){body.gm-chat-screen .chat-title{gap:6px}body.gm-chat-screen .chat-delete-thread{font-size:11px;padding:7px 6px}body.gm-chat-screen .chat-bubble{max-width:88%}.chat-message-actions button{min-height:36px}}

/* Unread chat notification pill; stays within mobile viewport. */
.gm-unread-badge{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;
 min-width:20px;height:20px;padding:0 5px;border-radius:99px;background:#df263f;color:#fff;
 font-size:11px;font-weight:800;line-height:1;margin-left:auto;box-shadow:0 1px 3px #7a112733}
.gm-unread-badge[hidden]{display:none!important}
.headact .gm-unread-badge{position:absolute;right:-7px;top:-8px;margin:0;min-width:17px;height:17px;padding:0 4px}
.headact .loginlabel{position:relative}
.mobile-nav .gm-unread-badge{margin-left:12px}
.gm-badge-permission{margin:4px 0 12px;max-width:100%;white-space:normal;text-align:center}
@media(max-width:780px){.sidebar .sidebtn{display:inline-flex;align-items:center;gap:7px}.sidebar .gm-unread-badge{margin-left:2px}}

/* My listings: responsive cards instead of a horizontally overflowing table. */
.dashboard>main{min-width:0;width:100%}.dashboard .panel{min-width:0;max-width:100%}
.gm-my-listings{overflow:hidden}.gm-my-listings h3{margin-top:0}
.gm-listing-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.gm-listing-card{min-width:0;border:1px solid #e1ebdf;border-radius:15px;display:flex;gap:14px;padding:13px;background:#fff}
.gm-listing-thumb{width:110px;height:112px;object-fit:cover;border-radius:11px;background:#eaf3e8;flex-shrink:0}
.gm-listing-info{min-width:0;flex:1}.gm-listing-info h4{overflow-wrap:anywhere;font-size:15px;color:#214d34;margin:0 0 9px}
.gm-listing-meta{display:flex;flex-wrap:wrap;gap:7px 11px;align-items:center;color:#718276;font-size:12px}
.gm-listing-meta strong{color:#267d46;font-size:15px}.gm-listing-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:13px}
.gm-listing-actions .btn{white-space:normal;min-height:42px;text-align:center}
.gm-edit-current-photo{display:block;width:125px;max-width:100%;height:100px;object-fit:cover;border-radius:10px;margin:9px 0}
.gm-edit-modal{max-width:min(520px,100%)}
@media(max-width:1050px){.gm-listing-grid{grid-template-columns:1fr}}
@media(max-width:780px){.dashboard{min-width:0}.dashboard>main{min-width:0}.dashboard .dash-head{display:flex;align-items:flex-start;flex-wrap:wrap;gap:12px}.dashboard .dash-head>div{min-width:0;max-width:100%}.dashboard .dash-head h2{font-size:24px;overflow-wrap:anywhere}.gm-my-listings{padding:14px}.gm-listing-grid{grid-template-columns:minmax(0,1fr)}.gm-listing-card{padding:11px;gap:10px}.gm-listing-thumb{width:84px;height:90px}.gm-listing-actions .btn{flex:1 1 110px;font-size:12px;padding:10px}}
@media(max-width:390px){.gm-listing-card{flex-wrap:wrap}.gm-listing-thumb{width:92px;height:80px}.gm-listing-info{flex-basis:calc(100% - 105px)}}

/* Contact seller from each product card, including mobile catalog and home page. */
.gm-contact-card{display:flex;width:100%;margin-top:12px;min-height:44px;padding:10px 9px;text-align:center;font-size:12px;line-height:1.35;white-space:normal;touch-action:manipulation;position:relative;z-index:1}
.gm-contact-card svg{flex-shrink:0}
@media(max-width:440px){.gm-contact-card{font-size:11px;padding:10px 6px;gap:5px}}

/* Product listings: full-width seller contact action sits immediately BELOW each card's content. */
.product{display:flex;flex-direction:column;min-width:0;}
.product-body{flex:1;min-width:0;}
.gm-contact-card-footer{padding:0 12px 12px;margin-top:auto;display:block;min-width:0;}
.gm-contact-card-footer .gm-contact-card{display:flex;width:100%;margin:0;min-height:46px;position:relative;z-index:2;border-radius:10px;align-items:center;justify-content:center;}
@media(max-width:780px){.gm-contact-card-footer{padding:0 10px 10px}.gm-contact-card-footer .gm-contact-card{min-height:45px;font-size:11px;line-height:1.3;}}

.product-contact-inline{display:flex;align-items:center;justify-content:flex-start;gap:7px;width:100%;margin-top:10px;padding:0;border:0;background:transparent;color:#27814b;font-weight:700;font-size:12px;cursor:pointer;text-align:left;touch-action:manipulation}.product-contact-inline svg{flex-shrink:0}.product-contact-inline:hover{text-decoration:underline}.product-contact-inline:active{opacity:.8}@media(max-width:440px){.product-contact-inline{font-size:11px;gap:6px;margin-top:8px}}

/* Keep contact link visible under available quantity in every home/catalog card */
.product .product-body .product-contact-inline{display:flex!important;visibility:visible!important;opacity:1!important;position:relative!important;z-index:3;align-items:center;gap:6px;width:100%;height:auto;min-height:33px;margin-top:7px;color:#237b45;white-space:normal;line-height:1.35;overflow:visible;cursor:pointer;}
.product .product-body .product-contact-inline svg{display:inline-block!important;width:14px;height:14px;flex:0 0 auto;}
@media(max-width:780px){.product .product-body .product-contact-inline{font-size:11px;padding:6px 0;min-height:36px;}}

/* Readability refinement: slightly more solid soft-green hero background and stronger small text. */
.hero{background:linear-gradient(112deg,#f8fbf5 0%,#f5faf1 46%,#eff7eb 100%)}
.hero-copy p{color:#3f5946;font-weight:500}
.hero .eyebrow{color:#206a39;background:#fffefa}
@media(max-width:780px){.hero-visual{opacity:.22}.hero-visual:before{background:linear-gradient(90deg,rgba(249,252,247,.94) 0%,rgba(249,252,247,.65) 55%,rgba(249,252,247,.28) 100%)}.hero-copy p{color:#314e3b}}

/* 2026-11-18: screenshot-matched, lighter ivory/white hero.
   All changes are CSS-only; search, catalog, selling and account logic stay intact. */
.hero {
  background: linear-gradient(110deg,#ffffff 0%,#fbfdf9 48%,#f4f8f0 100%);
}
.hero-copy p { color:#344c3c; font-weight:500; }
.hero .eyebrow { background:rgba(255,255,255,.96); color:#1f6e3a; box-shadow:0 2px 16px rgba(29,64,35,.035); }
.hero h1 { color:#173d28; }
.hero .hero-visual:before {
  background:linear-gradient(90deg,rgba(255,255,255,.94) 0%,rgba(255,255,255,.62) 30%,rgba(255,255,255,.38) 100%);
}
.searchbox { border-color:#ecf0e9; background:#fff; }
.searchbox .field { border-color:#e3e8e0; }
@media(max-width:780px){
  .hero { background:linear-gradient(100deg,#fff 0%,#fcfefb 55%,#f6faf3 100%); }
  .hero-grid { min-height:490px; }
  .hero-copy { padding:49px 0 83px; }
  .hero-visual { right:0;width:100%;opacity:.53; }
  .hero-visual:before { background:linear-gradient(90deg,rgba(255,255,255,.95) 0%,rgba(255,255,255,.70) 24%,rgba(255,255,255,.58) 100%); }
  .hero-copy p { color:#2d4938;line-height:1.95;font-size:13px; }
  .hero h1 {font-size:clamp(29px,7.1vw,43px);line-height:1.42;letter-spacing:-.65px;}
  .hero .eyebrow {font-size:11px;padding:10px 15px;}
  .hero-actions .btn {min-height:48px;}
  .searchbox {border-radius:18px;box-shadow:0 8px 30px rgba(40,67,44,.055);}
  .searchbox .field {min-height:54px;border-radius:12px;}
}
@media(max-width:440px){
  .hero-copy {padding-top:42px;padding-bottom:84px;}
  .hero-grid {min-height:520px;}
  .hero-actions {gap:10px;}
  .hero-actions .btn {font-size:13px;}
  .searchbox {padding:14px;gap:10px;margin-top:-27px;}
  .hero-copy p {font-size:12.5px;}
}

/* Direct seller calls; numbers are displayed only with user permission */
.gm-phone-optin{display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.5;color:#315942;margin:10px 0 18px}.gm-phone-optin input{margin-top:3px;width:18px;height:18px;accent-color:#23834a;flex:none}.gm-call-btn{background:#207d46;color:#fff!important;text-decoration:none;display:inline-flex;align-items:center;gap:8px}.gm-call-btn:hover{background:#165c36}

/* Listing reporting: quiet action at the bottom of each listing */
.gm-report-inline{display:block;width:100%;margin-top:12px;padding:9px 10px;background:transparent;border:1px solid #dfe7df;border-radius:10px;color:#60736a;font:inherit;font-size:12px;text-align:center;cursor:pointer}.gm-report-inline:hover{background:#f7faf7;border-color:#c9d7cb;color:#335440}.gm-report-detail{margin:16px 0 6px;max-width:340px}.gm-report-modal{max-width:430px;width:calc(100vw - 32px);box-sizing:border-box}.gm-report-modal h2{font-size:21px}.gm-report-modal textarea.input{min-height:110px;resize:vertical;line-height:1.5}.gm-report-listing{overflow-wrap:anywhere}.gm-report-send{width:100%} @media(max-width:600px){.gm-report-modal{max-height:calc(100dvh - 40px);overflow:auto}}

/* Seller reputation is shown only inside listing details and direct-message threads. */
.gm-rating-section{margin-top:16px;border-top:1px solid #e2eae2;padding:16px 0 2px}.gm-rating-header{display:flex;gap:8px;flex-wrap:wrap;align-items:center;justify-content:space-between;color:#234d34}.gm-stars{color:#e8aa28;font-size:22px;letter-spacing:1px;white-space:nowrap}.gm-rating-header small{color:#6f8575;font-weight:400}.gm-rating-help{font-size:12px;color:#64786b;margin:8px 0}.gm-rating-done{color:#267c4b;font-size:13px;font-weight:700}.gm-rating-pick{border:0;padding:0;margin:16px 0;display:flex;flex-direction:column;gap:8px}.gm-rating-pick legend{font-weight:700;margin-bottom:8px}.gm-rating-pick label{display:flex;align-items:center;gap:12px;cursor:pointer}.gm-rating-pick input{width:18px;height:18px;accent-color:#27814b}.gm-rating-pick span{color:#e6a52d;font-size:25px;letter-spacing:2px}.gm-chat-rating-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:8px 14px;border-bottom:1px solid #e2eae2;font-size:13px}.gm-chat-rating-row .gm-stars{font-size:16px}.gm-chat-rating-row small{color:#27814b}.gm-rating-modal .btn{width:100%}

/* Rating hint removed permanently: suppress remnants from older cached renders. */

/* Display-only seller reputation directly under each listing image, aligned right. */
.product .gm-card-rating{display:flex;align-items:center;justify-content:flex-end;gap:5px;width:100%;min-height:37px;text-align:right;padding:6px 12px;border:0;border-bottom:1px solid #edf1e9;background:#fff;color:#365641;font-family:inherit;pointer-events:none;cursor:default;user-select:none}
.product .gm-card-rating-stars{font-size:18px;color:#e3a32c;letter-spacing:-1.5px;white-space:nowrap;line-height:1}
.product .gm-card-rating-score{font-weight:750;font-size:12px;color:#294a37}
.product .gm-card-rating small{font-size:11px;color:#839485}
@media(max-width:780px){.product .gm-card-rating{min-height:34px;padding:5px 8px;gap:3px}.product .gm-card-rating-stars{font-size:15px;letter-spacing:-2px}.product .gm-card-rating-score{font-size:11px}.product .gm-card-rating small{font-size:10px}}
