*{box-sizing:border-box}body{margin:0;font-family:Arial,sans-serif;color:#10212d;background:#f6f8f9}a{text-decoration:none;color:inherit}.top{height:86px;background:#102635;color:#fff;display:flex;align-items:center;padding:0 4.5%;gap:48px}.brand{display:flex;align-items:center;gap:10px;font-size:19px;line-height:1.05}.brand em{color:#45cf62;font-style:normal}.heart{font-size:38px;color:#22bd62}.top nav{display:flex;gap:35px;flex:1;font-size:17px}.account{display:flex;gap:20px;align-items:center}.btn,button{background:#08aa50;color:#fff;border:0;border-radius:7px;padding:14px 20px;font-weight:700;cursor:pointer}.hero{min-height:280px;position:relative;background:linear-gradient(90deg,#0009,#0004),url('../img/hero-kulykivka.jpg') center/cover no-repeat;color:#fff;overflow:hidden}.shade{padding:58px 5% 28px;position:relative;z-index:2}.shade h1{font-size:52px;line-height:1;margin:0 0 8px}.shade h2{font-size:25px;color:#59e35f;margin:0 0 18px}.search{display:flex;align-items:center;max-width:1120px;background:#fff;padding:5px;border-radius:9px;box-shadow:0 4px 18px #0005}.searchIcon{color:#08aa50;font-size:29px;padding:0 8px}.search input{flex:1;min-width:0;border:0}.search input,.search select,input,select,textarea{padding:13px;border-radius:6px;font:inherit}.search select{width:280px;border:0;border-left:1px solid #e3e7e9}.search button{min-width:185px;font-size:16px}.popular{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:12px;font-size:13px}.popular span{border:1px solid #58db64;border-radius:18px;padding:6px 14px;background:#103d20cc}.home-note{position:absolute;right:4%;bottom:28px;z-index:2;font-size:22px;font-weight:700;font-style:italic;transform:rotate(-5deg);text-align:center}.banner{display:block;max-width:1180px;margin:12px auto}.banner img,.sidebanner img{width:100%;display:block;object-fit:cover;border-radius:7px}.banner img{max-height:110px}.sidebanner img{max-height:300px}main{max-width:1400px;margin:auto;padding:12px 4.5% 25px}.cats{display:grid;grid-template-columns:repeat(10,1fr);gap:10px;margin:0 0 34px}.cats a{min-height:104px;background:#fff;border:1px solid #e0e6e8;border-radius:9px;text-align:center;padding:11px 4px;box-shadow:0 2px 8px #00000008}.cats span{display:block;font-size:29px;margin-bottom:5px}.cats b{font-size:14px}.cats small{display:block;color:#78858d;margin-top:5px;font-size:12px}.content{display:grid;grid-template-columns:1fr 250px;gap:20px}.content section>h2{font-size:25px;margin:0 0 17px}.content section>h2:after{content:"";display:block;width:34px;border-bottom:3px solid #14b85a;margin-top:6px}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.card{background:#fff;border:1px solid #dde4e7;border-radius:8px;overflow:hidden;box-shadow:0 2px 9px #0000000a}.card h3,.card strong,.card p,.card small{display:block;margin:8px 11px}.card strong{font-size:17px;color:#08a84f}.card p,.card small{color:#71808a}.photo{height:170px;background:#e9eef0}.photo img{width:100%;height:100%;object-fit:cover}.noimg{display:grid;place-items:center;height:100%;font-size:50px}.info{background:#eafaf4;border-radius:10px;padding:18px;margin-top:12px}.info .btn{display:block;text-align:center}.flash{background:#dff8e7;padding:12px;text-align:center}footer{background:#102635;color:#fff;padding:35px 5%;margin-top:25px;display:flex;justify-content:space-between;align-items:center}.panel{max-width:800px;margin:35px auto;background:#fff;padding:25px;border-radius:10px}.formgrid{display:grid;gap:12px}.admin-table{width:100%;border-collapse:collapse}.admin-table td,.admin-table th{padding:10px;border-bottom:1px solid #ddd;text-align:left}@media(max-width:1000px){.cats{grid-template-columns:repeat(5,1fr)}.grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:850px){.top nav{display:none}.top{height:auto;padding:10px;flex-wrap:wrap}.account{width:100%;justify-content:space-between}.shade h1{font-size:36px}.shade h2{font-size:20px}.search{display:grid}.searchIcon{display:none}.search select{width:100%;border-left:0}.popular,.home-note{display:none}.cats{grid-template-columns:repeat(2,1fr)}.content{grid-template-columns:1fr}.grid{grid-template-columns:repeat(2,1fr)}aside{order:2}footer{display:grid;gap:20px}}@media(max-width:480px){.grid{grid-template-columns:1fr}.hero{min-height:350px}.brand b{font-size:15px}}
.manage-head{display:flex;align-items:center;justify-content:space-between;gap:15px}.profile-panel{max-width:1050px}.my-listings{display:grid;gap:12px}.my-listing{display:grid;grid-template-columns:120px 1fr auto;gap:16px;align-items:center;border:1px solid #e0e6e8;border-radius:10px;padding:12px;background:#fff}.my-listing>img,.my-noimg{width:120px;height:90px;object-fit:cover;border-radius:8px}.my-noimg{display:grid;place-items:center;background:#edf1f2;font-size:35px}.my-title{font-size:18px;font-weight:700;display:block;margin-bottom:8px}.my-info{color:#6d7b84}.status{display:inline-block;margin-top:8px;padding:5px 9px;border-radius:20px;font-size:12px;font-weight:700}.status-active{background:#dff8e7;color:#087b39}.status-sold{background:#edf0f2;color:#59656c}.status-pending{background:#fff2c7;color:#7b5b00}.status-rejected{background:#ffe1e1;color:#9b1c1c}.my-actions{display:grid;gap:7px;min-width:145px}.my-actions form{margin:0}.action{display:block;width:100%;border:0;border-radius:7px;padding:9px 11px;text-align:center;font-weight:700;font-size:13px;cursor:pointer}.edit{background:#e8f2ff;color:#1767ad}.sold{background:#e5f8eb;color:#087b39}.activate{background:#e5f8eb;color:#087b39}.delete{background:#ffe8e8;color:#a31d1d}.empty-box{text-align:center;padding:35px;background:#f7f9fa;border-radius:10px}.empty-box .btn{display:inline-block;margin-top:15px}.manage-photos{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:8px}.manage-photo{border:1px solid #ddd;border-radius:8px;overflow:hidden}.manage-photo img{width:100%;height:130px;object-fit:cover;display:block}.manage-photo span{display:block;padding:8px}.formgrid label{display:grid;gap:6px;font-weight:700}.owner-tools{margin-top:25px;padding-top:18px;border-top:1px solid #e2e7e9;display:flex;align-items:center;gap:10px;flex-wrap:wrap}.secondary{background:#536773}@media(max-width:700px){.manage-head{align-items:flex-start;flex-direction:column}.my-listing{grid-template-columns:90px 1fr}.my-listing>img,.my-noimg{width:90px;height:75px}.my-actions{grid-column:1/-1;grid-template-columns:1fr 1fr}.manage-photos{grid-template-columns:repeat(2,1fr)}}
/* Full listing editor */
.edit-page{max-width:980px;margin:34px auto;padding:0 18px}.edit-topbar{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;margin-bottom:20px}.edit-topbar h1{font-size:32px;margin:7px 0 6px}.edit-topbar p{margin:0;color:#71808a;line-height:1.5}.back-link{color:#16814a;font-weight:700}.preview-link{background:#fff;border:1px solid #dbe4e7;border-radius:9px;padding:11px 14px;font-weight:700;white-space:nowrap}.edit-form{display:grid;gap:16px}.edit-card{background:#fff;border:1px solid #e0e7e9;border-radius:14px;padding:24px;box-shadow:0 3px 16px #1026350a}.edit-section-title{display:flex;gap:13px;align-items:flex-start;border-bottom:1px solid #edf1f2;padding-bottom:16px;margin-bottom:20px}.edit-section-title>span{width:34px;height:34px;flex:0 0 34px;border-radius:50%;display:grid;place-items:center;background:#e6f8ed;color:#078744;font-weight:800}.edit-section-title h2{margin:1px 0 4px;font-size:20px}.edit-section-title p{margin:0;color:#78868e;font-size:14px}.field{display:grid;gap:7px;margin-bottom:17px}.field:last-child{margin-bottom:0}.field label{font-weight:700}.field label b{color:#e44b4b}.field input,.field select,.field textarea{width:100%;border:1px solid #ccd7db;background:#fff;border-radius:9px;padding:13px 14px;outline:none;transition:.15s}.field textarea{resize:vertical;min-height:150px;line-height:1.5}.field input:focus,.field select:focus,.field textarea:focus{border-color:#10a955;box-shadow:0 0 0 3px #10a95518}.field small{color:#87949b;font-weight:400}.two-cols,.price-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.price-row{grid-template-columns:2fr 1fr}.photo-edit-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:16px}.photo-edit-item{position:relative;border:1px solid #dce4e7;border-radius:11px;overflow:hidden;background:#f5f7f8}.photo-edit-item img{display:block;width:100%;height:155px;object-fit:cover}.photo-edit-item em{position:absolute;left:8px;top:8px;background:#102635e8;color:#fff;border-radius:20px;padding:5px 9px;font-size:11px;font-style:normal}.photo-delete{display:block;padding:9px 10px;font-weight:700;font-size:13px;cursor:pointer}.photo-delete input{margin-right:6px}.upload-zone{min-height:135px;border:2px dashed #b8d5c4;border-radius:12px;background:#f8fcf9;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:18px;cursor:pointer}.upload-zone:hover{border-color:#0eaa53;background:#f3fbf6}.upload-zone input{display:none}.upload-icon{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#0aaa52;color:#fff;font-size:24px;margin-bottom:8px}.upload-zone strong{font-size:16px}.upload-zone small{color:#7c898f;margin-top:5px}.file-names{font-size:13px;color:#596970;margin-top:9px;word-break:break-word}.no-current-photos{padding:18px;border-radius:9px;background:#f5f7f8;color:#71808a;margin-bottom:15px}.edit-actions{position:sticky;bottom:0;display:flex;justify-content:flex-end;gap:10px;background:#f6f8f9eF;padding:14px 0 18px;z-index:4}.cancel-btn{background:#fff;border:1px solid #ccd7db;border-radius:9px;padding:13px 20px;font-weight:700}.save-btn{border-radius:9px;padding:13px 24px;font-size:15px}.alert.error{background:#ffe9e9;color:#921f1f;border:1px solid #ffcaca;border-radius:9px;padding:13px 15px;margin-bottom:16px}
@media(max-width:700px){.edit-page{margin-top:20px;padding:0 12px}.edit-topbar{display:block}.edit-topbar h1{font-size:26px}.preview-link{display:inline-block;margin-top:14px}.edit-card{padding:17px}.two-cols,.price-row{grid-template-columns:1fr}.photo-edit-grid{grid-template-columns:repeat(2,1fr)}.photo-edit-item img{height:120px}.edit-actions{display:grid;grid-template-columns:1fr 1.4fr}.cancel-btn,.save-btn{text-align:center;padding:13px 10px}}

/* Messenger */
.seller-contact-actions{margin:18px 0}.message-seller{display:inline-block;font-size:16px}.messenger-page{max-width:1250px;margin:24px auto;padding:0 18px}.messenger-shell{height:72vh;min-height:560px;background:#fff;border:1px solid #dfe6e8;border-radius:14px;overflow:hidden;display:grid;grid-template-columns:370px 1fr;box-shadow:0 6px 25px #1026350c}.dialogs{border-right:1px solid #e5eaec;overflow-y:auto;background:#fff}.dialogs-head{position:sticky;top:0;background:#fff;z-index:2;padding:20px;border-bottom:1px solid #edf1f2}.dialogs-head h1{margin:0 0 4px;font-size:24px}.dialogs-head span{color:#829098;font-size:13px}.dialogs-empty{padding:40px 22px;text-align:center;color:#697981;line-height:1.6}.dialog-row{display:grid;grid-template-columns:58px 1fr;gap:12px;padding:14px 16px;border-bottom:1px solid #eef2f3;transition:.15s}.dialog-row:hover,.dialog-row.active{background:#f1faf5}.dialog-pic{width:58px;height:58px;border-radius:10px;background:#eef2f3;display:grid;place-items:center;font-size:26px;overflow:hidden}.dialog-pic img{width:100%;height:100%;object-fit:cover}.dialog-main{min-width:0}.dialog-name{display:flex;justify-content:space-between;gap:8px;align-items:center}.dialog-name i{font-style:normal;background:#0aaa52;color:#fff;min-width:21px;height:21px;border-radius:20px;display:grid;place-items:center;font-size:11px}.dialog-main>strong{display:block;font-size:13px;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dialog-main p{margin:4px 0 0;color:#7b8990;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-pane{display:flex;min-width:0;flex-direction:column;background:#f7f9fa}.choose-chat{margin:auto;text-align:center;color:#708088;max-width:340px;padding:30px}.choose-chat span{display:grid;place-items:center;margin:0 auto 14px;width:70px;height:70px;border-radius:50%;background:#e4f7eb;font-size:32px}.choose-chat h2{color:#21343f;margin:0 0 8px}.chat-head{height:78px;flex:0 0 78px;background:#fff;border-bottom:1px solid #e5eaec;display:flex;align-items:center;padding:10px 18px}.chat-back{display:none;font-size:34px;padding-right:12px}.chat-product{display:flex;gap:12px;align-items:center;min-width:0}.chat-product img{width:52px;height:52px;border-radius:8px;object-fit:cover}.chat-product div{display:grid;gap:4px;min-width:0}.chat-product a{color:#16814a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-messages{flex:1;overflow-y:auto;padding:20px 24px;background:linear-gradient(#f8fafb,#f3f7f5)}.chat-loading,.chat-empty{margin:auto;text-align:center;color:#7b898f}.chat-empty{display:grid;gap:7px;padding-top:90px}.chat-empty span{font-size:36px}.day-sep{text-align:center;color:#849199;font-size:11px;margin:12px 0}.bubble-row{display:flex;margin:7px 0}.bubble-row.mine{justify-content:flex-end}.bubble{max-width:72%;padding:10px 12px;border-radius:13px;background:#fff;box-shadow:0 1px 3px #0000000c;line-height:1.4;word-break:break-word}.mine .bubble{background:#dff7e8;border-bottom-right-radius:4px}.theirs .bubble{border-bottom-left-radius:4px}.bubble small{display:block;text-align:right;color:#7b898f;font-size:10px;margin-top:4px}.chat-compose{display:grid;grid-template-columns:1fr 50px;gap:10px;background:#fff;border-top:1px solid #e3e9eb;padding:13px 16px}.chat-compose textarea{resize:none;border:1px solid #ccd8dc;border-radius:22px;padding:12px 16px;max-height:110px;outline:none}.chat-compose textarea:focus{border-color:#0aaa52}.chat-compose button{width:46px;height:46px;padding:0;border-radius:50%;font-size:20px}.messages-nav{white-space:nowrap}
@media(max-width:760px){.messenger-page{padding:0;margin:0}.messenger-shell{height:calc(100vh - 120px);min-height:500px;border-radius:0;border-left:0;border-right:0;grid-template-columns:1fr}.dialogs{border-right:0}.chat-pane{grid-column:1;grid-row:1}.dialogs{grid-column:1;grid-row:1}.mobile-hide{display:none}.chat-back{display:block}.chat-messages{padding:14px 12px}.bubble{max-width:86%}.messages-nav{font-size:0}.messages-nav:before{content:'💬';font-size:20px}}
/* Account hub + public seller profile */
.profile-nav{display:flex!important;align-items:center;gap:7px;font-weight:700}.profile-avatar{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#e3f7ea;color:#087b42;font-size:13px}.account-page,.seller-page{max-width:1120px;margin:30px auto;padding:0 18px}.account-hero,.seller-profile-head{display:flex;align-items:center;gap:18px;background:#fff;border:1px solid #e0e7e9;border-radius:16px;padding:24px;box-shadow:0 5px 20px #1026350b}.account-avatar,.seller-avatar{width:76px;height:76px;flex:0 0 76px;border-radius:50%;display:grid;place-items:center;background:#e1f7e9;color:#078546;font-size:30px;font-weight:800}.account-hero h1,.seller-profile-head h1{margin:0 0 5px;font-size:26px}.account-hero p,.seller-profile-head p{margin:0 0 4px;color:#687981}.account-hero span,.seller-profile-copy>span{color:#8a969c;font-size:13px}.account-new,.seller-profile-head>.btn{margin-left:auto}.account-menu{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:18px 0}.account-menu-card{position:relative;display:grid;grid-template-columns:46px 1fr auto;align-items:center;gap:12px;background:#fff;border:1px solid #e0e7e9;border-radius:13px;padding:17px;transition:.15s}.account-menu-card:hover{border-color:#99d5b3;box-shadow:0 5px 18px #1026350d;transform:translateY(-1px)}.account-menu-card>span{width:46px;height:46px;border-radius:12px;background:#f0f8f3;display:grid;place-items:center;font-size:22px}.account-menu-card b{display:block;margin-bottom:4px}.account-menu-card small{display:block;color:#7b8990;line-height:1.3}.account-menu-card i{font-style:normal;font-size:27px;color:#89969c}.account-menu-card em{font-style:normal;min-width:25px;height:25px;padding:0 7px;border-radius:20px;display:grid;place-items:center;background:#0aaa52;color:#fff;font-size:12px}.account-listings,.seller-listings{background:#fff;border:1px solid #e0e7e9;border-radius:16px;padding:24px}.section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:20px}.section-head h2{margin:0 0 5px}.section-head p{margin:0;color:#7a8990}.seller-profile-copy{min-width:0}.seller-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.seller-card{border:1px solid #e1e7e9;border-radius:12px;overflow:hidden;background:#fff;transition:.15s}.seller-card:hover{transform:translateY(-2px);box-shadow:0 7px 20px #10263514}.seller-card-photo{height:175px;background:#f0f3f4}.seller-card-photo img{width:100%;height:100%;object-fit:cover}.seller-card-photo .noimg{height:100%;display:grid;place-items:center;font-size:38px}.seller-card-body{padding:13px}.seller-card-body h3{margin:0 0 8px;font-size:16px;line-height:1.3}.seller-card-body strong{font-size:18px;color:#172e39}.seller-card-body p{font-size:13px;color:#65767f;margin:9px 0 4px}.seller-card-body small{color:#8b989e}.listing-seller-card{margin:20px 0 13px}.listing-seller-profile{display:flex;align-items:center;gap:12px;border:1px solid #dfe7e9;border-radius:12px;padding:14px;max-width:430px;background:#fbfcfc}.listing-seller-profile:hover{border-color:#91d3ae;background:#f6fbf8}.seller-mini-avatar{width:48px;height:48px;flex:0 0 48px;border-radius:50%;display:grid;place-items:center;background:#e1f7e9;color:#078546;font-weight:800;font-size:19px}.listing-seller-profile>span:last-child{display:grid;gap:2px}.listing-seller-profile small{color:#859299}.listing-seller-profile b{font-size:17px}.listing-seller-profile em{font-style:normal;color:#0a8c4b;font-size:12px;font-weight:700}
@media(max-width:850px){.account-menu{grid-template-columns:1fr}.seller-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.account-page,.seller-page{margin:16px auto;padding:0 10px}.account-hero,.seller-profile-head{align-items:flex-start;padding:17px;flex-wrap:wrap}.account-avatar,.seller-avatar{width:58px;height:58px;flex-basis:58px;font-size:23px}.account-hero h1,.seller-profile-head h1{font-size:21px}.account-new,.seller-profile-head>.btn{width:100%;margin-left:0;text-align:center}.account-listings,.seller-listings{padding:15px}.seller-grid{grid-template-columns:1fr 1fr;gap:9px}.seller-card-photo{height:130px}.seller-card-body{padding:10px}.seller-card-body h3{font-size:14px}.seller-card-body strong{font-size:15px}.profile-nav>span:last-child{display:none}}
/* Header profile dropdown */
.profile-dropdown{position:relative}.profile-toggle{border:0;background:transparent;color:#fff;padding:7px 9px;border-radius:10px;font:inherit;cursor:pointer}.profile-toggle:hover,.profile-dropdown.open .profile-toggle{background:#ffffff12}.profile-arrow{font-size:18px;line-height:1;transition:transform .18s}.profile-dropdown.open .profile-arrow{transform:rotate(180deg)}.profile-menu{position:absolute;right:0;top:calc(100% + 12px);width:315px;background:#fff;color:#142934;border:1px solid #dfe7e9;border-radius:14px;box-shadow:0 16px 45px #07192335;padding:8px;z-index:1000;opacity:0;visibility:hidden;transform:translateY(-7px);transition:opacity .16s,transform .16s,visibility .16s}.profile-menu:before{content:"";position:absolute;right:24px;top:-7px;width:13px;height:13px;background:#fff;border-left:1px solid #dfe7e9;border-top:1px solid #dfe7e9;transform:rotate(45deg)}.profile-dropdown.open .profile-menu{opacity:1;visibility:visible;transform:translateY(0)}@media(min-width:851px){.profile-dropdown:hover .profile-menu{opacity:1;visibility:visible;transform:translateY(0)}.profile-dropdown:hover .profile-arrow{transform:rotate(180deg)}}.profile-menu-head{display:flex;align-items:center;gap:11px;padding:10px 10px 13px;border-bottom:1px solid #edf1f2;margin-bottom:5px}.profile-avatar.large{width:42px;height:42px;flex:0 0 42px;font-size:17px}.profile-menu-head div{min-width:0}.profile-menu-head b,.profile-menu-head small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-menu-head small{color:#7a8990;margin-top:3px;font-size:12px}.profile-menu>a{display:grid;grid-template-columns:34px 1fr;gap:9px;align-items:center;padding:10px;border-radius:9px}.profile-menu>a:hover{background:#f2f8f4}.profile-menu>a>span{font-size:18px;text-align:center}.profile-menu>a b,.profile-menu>a small{display:block}.profile-menu>a b{font-size:14px}.profile-menu>a small{font-size:11px;color:#829097;margin-top:2px}.profile-menu-sep{height:1px;background:#edf1f2;margin:5px 7px}.profile-menu .profile-logout{color:#a72a2a}.profile-menu .profile-logout:hover{background:#fff3f3}
@media(max-width:850px){.profile-dropdown{position:static}.profile-menu{left:10px;right:10px;top:auto;margin-top:8px;width:auto}.profile-menu:before{right:94px}.profile-name{display:inline!important}.account{position:relative}}
/* Clean profile dashboard */
.profile-clean{max-width:1180px;margin:28px auto;padding:0 18px}.profile-clean-head{display:flex;align-items:center;gap:16px;background:#fff;border:1px solid #e1e7e9;border-radius:16px;padding:20px 22px;margin-bottom:18px}.profile-clean-avatar{width:62px;height:62px;border-radius:50%;display:grid;place-items:center;background:#e4f7eb;color:#087d43;font-size:25px;font-weight:800}.profile-clean-user{flex:1}.profile-clean-user>span{font-size:12px;color:#0a9850;font-weight:700;text-transform:uppercase}.profile-clean-user h1{margin:3px 0;font-size:24px}.profile-clean-user p{margin:0;color:#74838a}.profile-clean-layout{display:grid;grid-template-columns:270px 1fr;gap:18px;align-items:start}.profile-sidebar,.profile-content{background:#fff;border:1px solid #e1e7e9;border-radius:16px}.profile-sidebar{padding:8px;position:sticky;top:16px}.profile-sidebar>a{display:grid;grid-template-columns:36px 1fr auto;gap:9px;align-items:center;padding:13px 11px;border-radius:10px;margin:2px 0}.profile-sidebar>a:hover,.profile-sidebar>a.selected{background:#eef9f2;color:#087d43}.profile-sidebar>a>span{font-size:19px;text-align:center}.profile-sidebar b,.profile-sidebar small{display:block}.profile-sidebar small{font-size:11px;color:#7d8b91;margin-top:2px}.profile-sidebar em{font-style:normal;background:#08a950;color:#fff;border-radius:20px;min-width:23px;height:23px;padding:0 6px;display:grid;place-items:center;font-size:11px}.profile-sidebar .profile-sidebar-logout{border-top:1px solid #edf1f2;border-radius:0;margin-top:8px;color:#a42b2b}.profile-content{padding:22px}.profile-content-title{display:flex;justify-content:space-between;gap:15px;align-items:center;padding-bottom:18px;border-bottom:1px solid #edf1f2}.profile-content-title h2{margin:0 0 5px}.profile-content-title p{margin:0;color:#75858c}.profile-summary{display:grid;grid-template-columns:auto auto;gap:1px 7px;align-items:center;white-space:nowrap}.profile-summary b{font-size:17px}.profile-summary small{color:#7b898f}.profile-listings{display:grid;gap:12px;margin-top:16px}.profile-listing-card{display:grid;grid-template-columns:150px minmax(0,1fr) 150px;gap:16px;border:1px solid #e2e8ea;border-radius:13px;padding:12px}.profile-listing-photo{height:112px;background:#f1f4f5;border-radius:10px;overflow:hidden;display:grid;place-items:center;font-size:34px}.profile-listing-photo img{width:100%;height:100%;object-fit:cover}.profile-listing-row{display:flex;align-items:center;gap:10px;margin-bottom:7px}.profile-listing-row small{color:#87949a}.profile-listing-title{font-size:18px;font-weight:800}.profile-listing-main p{margin:7px 0;color:#75858c;font-size:13px}.profile-listing-main strong{font-size:18px}.profile-listing-actions{display:flex;flex-direction:column;justify-content:center;gap:7px}.profile-listing-actions form{margin:0}.profile-listing-actions a,.profile-listing-actions button{display:block;width:100%;text-align:center;border-radius:8px;padding:9px 10px;font-size:12px;font-weight:700}.manage-primary{background:#e7f7ed;color:#087d43}.manage-secondary{background:#f0f3f4!important;color:#31434c!important}.manage-delete{background:#fff1f1!important;color:#b52f2f!important}.empty-box{text-align:center;padding:42px 20px;color:#73838a}.empty-box b{display:block;color:#233640;font-size:19px}.empty-box p{margin:8px 0 18px}
/* Admin */
.admin-page{max-width:1180px;margin:30px auto;padding:0 18px}.admin-topbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}.admin-topbar h1{margin:3px 0 5px}.admin-topbar p{margin:0;color:#76858c}.admin-kicker{font-size:12px;text-transform:uppercase;color:#09964f;font-weight:800}.admin-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin-bottom:18px}.admin-stats>div{background:#fff;border:1px solid #e1e7e9;border-radius:14px;padding:18px;display:grid;grid-template-columns:40px 1fr;align-items:center}.admin-stats span{grid-row:1/3;font-size:25px}.admin-stats b{font-size:25px}.admin-stats small{color:#78878e}.admin-navcards{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.admin-navcards>a{background:#fff;border:1px solid #e1e7e9;border-radius:14px;padding:20px;display:grid;grid-template-columns:50px 1fr auto;align-items:center;gap:12px}.admin-navcards>a:hover{border-color:#90d3ae;box-shadow:0 7px 20px #10263510}.admin-navcards>a>span{width:50px;height:50px;border-radius:12px;background:#eef9f2;display:grid;place-items:center;font-size:24px}.admin-navcards b,.admin-navcards small{display:block}.admin-navcards small{color:#7b8990;margin-top:5px}.admin-navcards i{font-style:normal;font-size:28px;color:#8a979d}
@media(max-width:800px){.profile-clean-layout{grid-template-columns:1fr}.profile-sidebar{position:static}.profile-listing-card{grid-template-columns:100px 1fr}.profile-listing-photo{height:90px}.profile-listing-actions{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,1fr)}.admin-stats{grid-template-columns:1fr 1fr}.admin-navcards{grid-template-columns:1fr}.profile-clean-head{flex-wrap:wrap}.profile-clean-head>.btn{width:100%;text-align:center}}
@media(max-width:520px){.profile-clean{padding:0 10px;margin:14px auto}.profile-content{padding:14px}.profile-content-title{align-items:flex-start;flex-direction:column}.profile-summary{display:flex;gap:7px}.profile-listing-card{grid-template-columns:86px 1fr;gap:10px;padding:9px}.profile-listing-photo{height:78px}.profile-listing-title{font-size:15px}.profile-listing-actions{grid-template-columns:1fr}.admin-stats{grid-template-columns:1fr}.admin-topbar{align-items:flex-start;flex-direction:column}}
/* Account polish + favorites */
.profile-avatar.avatar-photo,.profile-clean-avatar.avatar-photo,.seller-avatar.avatar-photo,.settings-avatar.avatar-photo{overflow:hidden;padding:0}.avatar-photo img{width:100%;height:100%;object-fit:cover;display:block}.auth-page{max-width:560px;margin:38px auto;padding:0 16px}.auth-card{background:#fff;border:1px solid #e0e7e9;border-radius:16px;padding:26px}.auth-title{display:flex;gap:13px;align-items:center;margin-bottom:20px}.auth-title>span{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:#e8f8ee;font-size:22px}.auth-title h1{margin:0 0 4px}.auth-title p{margin:0;color:#75858c}.phone-field{display:grid;grid-template-columns:72px 1fr;border:1px solid #ccd7db;border-radius:9px;overflow:hidden}.phone-field>span{display:grid;place-items:center;background:#f3f6f7;font-weight:800;border-right:1px solid #dce3e5}.phone-field input{border:0!important;border-radius:0!important;box-shadow:none!important}.auth-alt{text-align:center;color:#087d43;font-weight:700}.profile-settings-form{max-width:680px;margin-top:20px}.avatar-editor{display:flex;align-items:center;gap:15px;padding:16px;background:#f7faf8;border-radius:12px;margin-bottom:20px}.settings-avatar{width:82px;height:82px;flex:0 0 82px;border-radius:50%;display:grid;place-items:center;background:#e4f7eb;color:#087d43;font-size:30px;font-weight:800}.avatar-upload{background:#fff;border:1px solid #cfdadd;border-radius:9px;padding:10px 14px;font-weight:700;cursor:pointer}.avatar-upload input{display:none}.favorite-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:18px}.favorite-card{position:relative;border:1px solid #e0e6e8;border-radius:12px;background:#fff;overflow:hidden}.favorite-photo{height:165px;background:#eef2f3;display:grid;place-items:center;font-size:35px}.favorite-photo img{width:100%;height:100%;object-fit:cover}.favorite-card h3,.favorite-card strong,.favorite-card p{margin:9px 12px;display:block}.favorite-card strong{color:#07964a}.favorite-card p{color:#728188}.favorite-remove,.favorite-btn{background:#fff!important;color:#0b8750!important;border:1px solid #b9d9c6!important}.favorite-remove{margin:0 12px 12px;width:calc(100% - 24px);padding:9px}.favorite-btn.saved{background:#eaf8ef!important}.seller-contact-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.seller-contact-actions form{margin:0}.seller-bio{margin-top:10px;color:#586a73;line-height:1.5;max-width:650px}.card{position:relative}.card-fav{position:absolute;right:9px;top:9px;z-index:3}.card-fav button{width:38px;height:38px;padding:0;border-radius:50%;background:#fff!important;color:#0a8e4d!important;box-shadow:0 2px 9px #0002;font-size:20px}.card-fav button.saved{background:#e6f8ed!important}.alert.error{background:#fff0f0;color:#9e2525;border:1px solid #ffd0d0;border-radius:9px;padding:11px 13px;margin:12px 0}
@media(max-width:800px){.favorite-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:520px){.favorite-grid{grid-template-columns:1fr}.auth-card{padding:18px}.avatar-editor{align-items:flex-start;flex-direction:column}}
.admin-banners{max-width:1100px}.admin-banners label{display:grid;gap:6px;font-weight:700}.admin-banners label input,.admin-banners label select{font-weight:400}.admin-banner-row{display:grid;grid-template-columns:220px minmax(0,1fr) auto auto;gap:12px;align-items:center;padding:12px 0;border-top:1px solid #e5eaec}.admin-banner-preview{height:80px;background:#eef2f3;border-radius:9px;overflow:hidden;display:grid;place-items:center}.admin-banner-preview img{width:100%;height:100%;object-fit:contain}.admin-banner-info{min-width:0}.admin-banner-info b,.admin-banner-info small{display:block}.admin-banner-info small{color:#74838a;margin-top:4px;overflow:hidden;text-overflow:ellipsis}.admin-banner-row form{margin:0}@media(max-width:800px){.admin-banner-row{grid-template-columns:1fr 1fr}.admin-banner-preview,.admin-banner-info{grid-column:1/-1}.admin-table{display:block;overflow-x:auto;white-space:nowrap}}

.home-note-heart{color:#35d86a;font-style:normal;font-size:28px;vertical-align:-2px;text-shadow:0 2px 5px #0007}.home-note{color:#fff;text-shadow:0 2px 7px #000b}

/* Original hero signature: Куликівщина — це дім */
.home-note{position:absolute;right:5.2%;bottom:25px;z-index:3;display:flex;align-items:flex-end;gap:7px;color:#fff;font-family:"Segoe Print","Comic Sans MS",cursive;font-size:20px;font-weight:600;font-style:normal;line-height:1.03;letter-spacing:.2px;text-align:right;transform:rotate(-7deg);text-shadow:0 2px 4px rgba(0,0,0,.75);pointer-events:none}
.home-note-text{display:block;white-space:nowrap}
.home-note-ua{position:relative;width:20px;height:18px;display:block;overflow:hidden;transform:rotate(8deg);filter:drop-shadow(0 1px 2px rgba(0,0,0,.35));margin-bottom:1px}
.home-note-ua:before,.home-note-ua:after{content:"";position:absolute;top:1px;width:12px;height:12px;border-radius:8px 8px 2px 8px;transform:rotate(45deg)}
.home-note-ua:before{left:1px;background:#1678d4}
.home-note-ua:after{right:1px;background:#ffd43b}
.home-note-ua i{position:absolute;left:5px;bottom:0;width:10px;height:10px;background:linear-gradient(135deg,#1678d4 0 49%,#ffd43b 50% 100%);transform:rotate(45deg);z-index:2}
@media(max-width:850px){.home-note{display:flex;right:5%;bottom:18px;font-size:17px}}
@media(max-width:480px){.home-note{font-size:15px;right:5%;bottom:16px}.home-note-ua{width:17px;height:15px}}

/* Restored church hero */
.hero{
  background:
    linear-gradient(90deg,rgba(0,0,0,.48),rgba(0,0,0,.14)),
    url('../img/hero-kulykivka.jpg') center center/cover no-repeat !important;
}
.home-note{display:none!important;}


/* Search panel spacing fix — keep it clear of the hero slogan */
@media (min-width: 769px) {
  .hero .searchbar,
  .hero .hero-search,
  .hero form.search,
  .hero form[method="get"] {
    width: calc(100% - 300px) !important;
    max-width: 900px !important;
    margin-right: auto !important;
  }
}
@media (max-width: 768px) {
  .hero .searchbar,
  .hero .hero-search,
  .hero form.search,
  .hero form[method="get"] {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* Search row: slightly narrower so it stays clear of the hero text */
@media (min-width: 769px){
  .hero form.search{
    width: calc(100% - 360px) !important;
    max-width: 840px !important;
  }
}

/* User-selected version: slightly narrower hero search row */
@media (min-width: 769px){
  .hero form.search{
    width: calc(100% - 410px) !important;
    max-width: 790px !important;
  }
}

.forgot-link{display:block;text-align:center;color:#1689df;font-weight:700;margin-top:-2px}
.reset-success{background:#eefaf3;border:1px solid #cdebd9;border-radius:8px;padding:14px 16px;color:#315746;margin:10px 0 16px}
.reset-success p{margin:7px 0 0}.form-error{background:#fff1f1;border:1px solid #f0caca;color:#9b3030;border-radius:7px;padding:10px 12px;margin:10px 0}


/* Multi-photo upload and full-screen photo viewer */
.multi-photo-upload{display:block;border:1px dashed #9bb8a7;background:#f7fcf8;border-radius:12px;padding:14px;margin-top:6px}
.multi-photo-upload input[type=file]{display:block;margin-top:10px;max-width:100%}
.multi-photo-hint{display:block;color:#16834b;font-size:13px;font-weight:700;margin-top:8px}
.multi-photo-preview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0 18px}
.multi-photo-thumb{position:relative;display:block;min-width:0;padding:0;border:1px solid #dce5e0;border-radius:10px;overflow:hidden;background:#eef4f0;cursor:zoom-in}
.multi-photo-thumb img{display:block;width:100%;height:125px;object-fit:cover}
.multi-photo-thumb span{display:block;padding:6px 8px;background:#fff;color:#33463a;font-size:12px;text-align:left}
.listing-photo-grid .photo{position:relative;display:block;width:100%;padding:0;border:0;overflow:hidden;cursor:zoom-in;text-align:left}
.listing-photo-grid .photo img{display:block}
.photo-open-hint{position:absolute;right:8px;bottom:8px;background:rgba(0,0,0,.65);color:#fff;border-radius:20px;padding:5px 9px;font-size:11px;opacity:0;transition:opacity .15s}
.listing-photo-grid .photo:hover .photo-open-hint{opacity:1}
.photo-edit-preview{display:block;width:100%;padding:0;border:0;background:transparent;cursor:zoom-in}
.photo-edit-preview img{display:block;width:100%;height:155px;object-fit:cover}
.photo-lightbox{display:none;position:fixed;inset:0;z-index:99999;background:rgba(7,14,18,.94);align-items:center;justify-content:center;padding:56px 64px 64px}
.photo-lightbox.is-open{display:flex}
.photo-lightbox>img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;border-radius:5px;box-shadow:0 8px 40px #0008}
.photo-lightbox button{position:absolute;border:0;background:rgba(255,255,255,.14);color:#fff;cursor:pointer;display:grid;place-items:center}
.photo-lightbox-close{top:14px;right:18px;width:44px;height:44px;border-radius:50%;font-size:32px;line-height:1}
.photo-lightbox-prev,.photo-lightbox-next{top:50%;transform:translateY(-50%);width:46px;height:58px;border-radius:10px;font-size:25px}
.photo-lightbox-prev{left:12px}.photo-lightbox-next{right:12px}
.photo-lightbox-count{position:absolute;bottom:17px;left:0;right:0;text-align:center;color:#fff;font-weight:700;font-size:14px}
body.photo-lightbox-open{overflow:hidden}
@media(max-width:520px){.multi-photo-preview{grid-template-columns:repeat(2,minmax(0,1fr))}.multi-photo-thumb img{height:105px}.photo-lightbox{padding:56px 8px 58px}.photo-lightbox-prev,.photo-lightbox-next{width:38px;height:48px;background:rgba(0,0,0,.4)}.photo-lightbox-prev{left:4px}.photo-lightbox-next{right:4px}.photo-lightbox>img{max-width:100%;max-height:80vh}}

/* OLX-style compact gallery: one main photo + small thumbnails */
.listing-detail-panel .olx-gallery{max-width:780px;margin:14px auto 22px}
.olx-gallery-main{position:relative;display:flex;align-items:center;justify-content:center;height:clamp(260px,55vw,520px);max-height:520px;background:#f2f4f5;border-radius:12px;overflow:hidden}
.olx-main-photo{display:flex;align-items:center;justify-content:center;width:100%;height:100%;padding:0;border:0!important;outline:0!important;box-shadow:none!important;background:transparent;cursor:zoom-in;border-radius:0!important}
.olx-main-photo img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
.olx-gallery-arrow{position:absolute;top:50%;transform:translateY(-50%);width:42px;height:48px;border:0;border-radius:8px;background:rgba(25,35,40,.68);color:#fff;font-size:23px;cursor:pointer;display:grid;place-items:center}
.olx-gallery-prev{left:10px}.olx-gallery-next{right:10px}
.olx-gallery-counter{position:absolute;right:10px;bottom:10px;background:rgba(20,25,28,.72);color:#fff;padding:5px 10px;border-radius:20px;font-size:12px;font-weight:700}
.olx-gallery-thumbs{display:flex;flex-flow:row nowrap;gap:8px;overflow-x:auto;overflow-y:hidden;padding:10px 2px 4px;scrollbar-width:thin;max-width:100%;box-sizing:border-box}
.olx-gallery-thumb{flex:0 0 76px;width:76px;height:64px;min-width:76px;padding:2px;border:2px solid #e5e7eb;border-radius:8px;background:#f0f2f3;overflow:hidden;cursor:pointer;box-shadow:none}
.olx-gallery-thumb img{display:block;width:100%;height:100%;object-fit:cover;border-radius:4px}
.olx-gallery-thumb.active{border-color:#334155;box-shadow:0 0 0 1px #334155}
.olx-gallery-empty{height:180px;background:#f2f4f5;border-radius:12px;display:grid;place-items:center;color:#728188;margin:14px 0}
@media(max-width:600px){.listing-detail-panel .olx-gallery{margin:10px 0 18px}.olx-gallery-main{height: min(65vh,390px);min-height:230px;border-radius:8px}.olx-gallery-thumb{flex-basis:64px;width:64px;height:56px}.olx-gallery-arrow{width:34px;height:40px;font-size:19px}.olx-gallery-prev{left:6px}.olx-gallery-next{right:6px}}
