/* THE EWE BARN — V4 MAKER MARKET: hand-built card layouts, no AI project art. */
[hidden]{display:none!important}
.shop-nav-item{background:#f5efe4;color:#6b523d;font-weight:800}
.shop-nav-item:hover,.shop-nav-item.active{background:#ffe2bb;color:#53402f}
.shop-top-button{border:1px solid #f4dcc4;border-radius:12px;background:#fff2df;color:#654834;padding:10px 15px;display:inline-flex;align-items:center;gap:7px;white-space:nowrap;font-weight:800;font-size:14px;cursor:pointer;min-height:45px}
.shop-top-button:hover{background:#ffe4bb}
.shops-promo{position:relative;overflow:hidden;display:flex;justify-content:space-between;align-items:center;gap:20px;background:#eee6fb;border-radius:24px;min-height:235px;margin-top:52px;padding:34px 40px;border:1px solid #e7dcf7}
.shops-promo:after{content:'✦';position:absolute;right:120px;top:-44px;font-size:115px;color:#fff8ff8c}
.shops-promo-badge{position:absolute;top:16px;left:40px;color:#8065ac;font-weight:800;font-size:12px;letter-spacing:1.1px}
.shops-promo>div:nth-child(2){max-width:640px;z-index:1}
.shops-promo h2{font:600 clamp(28px,3vw,39px)/1.17 var(--display);letter-spacing:-.5px;margin:12px 0}
.shops-promo h2 span{display:inline-block;transform:rotate(14deg)}
.shops-promo p{font-size:16px;line-height:1.58;color:#565463;margin:0 0 19px;max-width:610px}
.shops-promo>img{width:175px;height:175px;background:#fff8f2;border:12px solid #fff;border-radius:50%;padding:10px;box-shadow:0 12px 35px #5239791c;transform:rotate(8deg);z-index:1}
.store-section{padding:8px 0 34px;min-width:0}
.store-hero{background:#f8d7b7;position:relative;display:flex;border-radius:27px;min-height:363px;padding:43px 45px;align-items:center;gap:35px;overflow:hidden}
.store-hero:after{position:absolute;content:'';width:280px;height:280px;right:-140px;bottom:-190px;border:38px solid #f4c39b60;border-radius:50%}
.store-hero-text{z-index:1;width:65%;max-width:735px}
.store-overline{font-size:13px;letter-spacing:1.25px;color:#73503f;font-weight:800}
.store-hero h1{font:600 clamp(43px,4.6vw,65px)/1.08 var(--display);letter-spacing:-1.1px;margin:14px 0 14px;color:#373e3d}
.store-hero h1 em{font-style:normal;color:#8e5872}
.store-hero p{font-size:17px;line-height:1.65;margin:0 0 23px;max-width:560px;color:#5b4a42}
.store-hero-actions{display:flex;align-items:center;gap:11px;flex-wrap:wrap}
.store-hero-outline{background:#fffaf1;border-color:#fbefdf}
.store-disclaimer{margin-top:19px;color:#674e41;font-size:13px;font-weight:700}
.store-hero-sheep{position:relative;min-width:210px;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;transform:rotate(5deg);z-index:1}
.store-sheep-circle{display:grid;place-items:center;width:206px;height:206px;background:#fff9ef;border:10px solid #fff;box-shadow:0 17px 40px #6f4c3220;border-radius:50%}
.store-sheep-circle img{width:90%;height:90%}
.store-hero-sheep>span{position:relative;margin-top:-7px;background:#8a6ab5;padding:8px 20px;border-radius:24px;color:white;font-weight:800;font-size:13px;letter-spacing:1px}
.store-hero-spark{position:absolute;color:white;font-size:35px}.store-hero-spark.s1{right:4%;top:-5%}.store-hero-spark.s2{left:0;bottom:9%}
.store-info-strip{display:flex;align-items:center;justify-content:space-around;gap:16px;flex-wrap:wrap;background:#fff;border:1px solid #ece6e0;border-radius:17px;padding:17px 20px;margin:23px 0 50px;color:#687269;font-size:14px;font-weight:700}
.store-info-strip span{white-space:nowrap}.store-info-strip b{font:600 22px var(--display);color:#44413e;margin-right:3px}
.store-headerline{margin-bottom:20px}.store-headerline h2,.store-products-top h2{font:600 clamp(29px,3vw,39px)/1.16 var(--display);margin:8px 0}.store-headerline p,.store-products-top p{font-size:15px;color:#68706d;margin:0}
.storefront-owners{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 57px}
.owner-tile{cursor:pointer;text-align:center;border:2px solid #eeebe7;background:#fff;border-radius:22px;min-height:226px;padding:20px 9px 16px;display:flex;flex-direction:column;align-items:center;gap:6px;box-shadow:0 2px 0 #251a1106;transition:transform .18s,border-color .18s,box-shadow .18s}
.owner-tile:hover{transform:translateY(-3px);border-color:#d8c8ed;box-shadow:0 9px 22px #30284a11}
.owner-selected{background:#fffcf5;border-color:#a999ca;box-shadow:0 0 0 3px #dcd2ed88}
.owner-portrait{background:var(--owner-color);width:101px;height:101px;border-radius:50%;display:grid;place-items:center;margin-bottom:5px}
.owner-portrait img{width:90px;height:90px;object-fit:contain}.owner-all{font:600 70px var(--display);color:#bd89a2}
.owner-tile strong{font:600 24px var(--display);color:#343c40;line-height:1.18}
.owner-tile>span:nth-last-child(2){font-size:13px;font-weight:700;color:#848988}
.owner-arrow{color:#876ea4;font-size:13px;font-weight:800;display:flex;gap:5px;align-items:center;margin-top:3px}.owner-arrow svg{width:15px;height:15px}
.store-products-top{display:flex;align-items:end;justify-content:space-between;gap:17px;margin-bottom:25px}
.store-products-top .btn{white-space:nowrap}
.store-action-line{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;margin-bottom:20px;background:#fff8e9;border:1px solid #f2e5d0;border-radius:14px;color:#7b6a57;font-size:13px}
.store-review-link{font-size:14px;font-weight:800;border:0;background:transparent;color:#5b5670;cursor:pointer;text-align:left;white-space:nowrap}
.store-review-link:hover{text-decoration:underline}
.store-review-panel{background:#f6f0ff;border:2px solid #dfd4ef;border-radius:20px;padding:20px;margin-bottom:22px;scroll-margin-top:30px}
.review-panel-top{display:flex;justify-content:space-between;align-items:start;gap:12px}.review-panel-top h3{font:600 25px var(--display);margin:6px 0 5px}.review-panel-top p{font-size:14px;color:#6c6574;margin:0 0 17px}.review-panel-top .round-close{position:static;flex:0 0 35px}
.pending-row{border-radius:13px;background:#fff;padding:11px;margin:8px 0;display:flex;gap:13px;align-items:center;border:1px solid #e6dfed}
.pending-row>img{width:72px;height:72px;object-fit:cover;border-radius:10px}
.pending-row>div:nth-child(2){flex:1;min-width:0}.pending-row strong{font:600 18px var(--display);display:block}.pending-row span{font-size:13px;color:#75737a}
.pending-buttons{display:flex;gap:8px;flex-wrap:wrap}.pending-buttons .btn{min-height:42px;padding:0 11px;font-size:12px}
.review-clear{font-size:15px;margin:15px 3px}
.shop-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;scroll-margin-top:35px}
.shop-item-card{border:1px solid #e8e6df;border-radius:20px;background:#fff;overflow:hidden;box-shadow:0 3px 1px #33333304;min-width:0}
.shop-item-image{display:block;position:relative;border:0;padding:0;aspect-ratio:1/0.88;width:100%;overflow:hidden;background:#e7e8e4;cursor:pointer}
.shop-item-image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s}.shop-item-image:hover img{transform:scale(1.045)}
.shop-item-price{position:absolute;bottom:13px;right:13px;background:#fffdfa;border-radius:12px;padding:7px 11px;box-shadow:0 4px 12px #21212122;font:600 23px var(--display);color:#3b3e3e}
.shop-item-main{padding:17px 18px 19px}.shop-item-by{display:flex;gap:9px;align-items:center;color:#716d77;font-weight:700;font-size:13px}.shop-item-by>span:first-child{width:32px;height:32px;background:var(--maker-color);border-radius:50%;display:grid;place-items:center}.shop-item-by img{width:30px;height:30px}
.shop-item-main h3{margin:11px 0 6px;font:600 25px/1.13 var(--display)}.shop-item-main h3 button{font:inherit;text-align:left;color:inherit;padding:0;background:none;border:0;cursor:pointer}.shop-item-main h3 button:hover{text-decoration:underline}
.shop-item-type{font-size:14px;color:#81837e;margin:0 0 11px}.shop-status{display:inline-block;border-radius:25px;padding:5px 10px;font-size:11px;letter-spacing:.3px;font-weight:800}.shop-status.pending{background:#fff2d6;color:#875d22}.shop-status.approved{background:#e0f2e7;color:#32644c}.shop-status.changes{background:#ffe7e5;color:#964948}
.shop-item-actions{border-top:1px solid #ecece8;margin-top:17px;padding-top:11px;display:flex;flex-wrap:wrap;align-items:center;gap:13px}.shop-item-actions button{background:none;border:0;cursor:pointer;font-weight:800;font-size:13px;color:#75608f;display:flex;align-items:center;gap:5px;padding:3px 0}.shop-item-actions svg{width:16px;height:16px}.shop-item-actions button:hover{text-decoration:underline}
.store-empty{text-align:center;background:#fff;border:2px dashed #d7d3e6;border-radius:25px;padding:38px 19px;scroll-margin-top:30px}.store-empty-icon{width:125px;height:125px;border-radius:50%;background:#ece4f8;margin:0 auto 14px;display:grid;place-items:center}.store-empty-icon img{width:109px;height:109px}.store-empty h3{font:600 31px var(--display);margin:0 0 6px}.store-empty p{font-size:16px;color:#6c7370;margin:0 auto 22px;max-width:450px}.store-loading{font-size:16px;padding:20px;background:#fff2ed;border-radius:14px}
.store-bottom-notice{margin-top:42px;padding:23px 25px;border-radius:19px;background:#e6eee7;display:flex;align-items:center;gap:17px}.store-bottom-notice>span{font-size:38px;color:#669484}.store-bottom-notice strong{font:600 22px var(--display)}.store-bottom-notice p{margin:4px 0 0;font-size:14px;color:#66766f;line-height:1.5}
/* Add-creation dialog */
.listing-modal{max-width:850px}.listing-body{padding:26px 31px 30px;overflow:auto}.listing-body h2{font:600 clamp(28px,3vw,38px) var(--display);margin:5px 0 7px}.listing-intro{font-size:15px;color:#6b7673;margin:0 0 20px;max-width:700px}
.listing-form-layout{display:grid;grid-template-columns:minmax(200px,.85fr) minmax(240px,1.15fr);gap:25px}.photo-upload{min-height:298px;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;overflow:hidden;text-align:center;border-radius:20px;border:3px dashed #c7bad9;background:#f2edf9;cursor:pointer;padding:14px}.photo-upload:hover{background:#e9ddf5}.photo-upload input{position:absolute;width:1px;height:1px;opacity:0}.photo-upload:focus-within{outline:3px solid #bbaad5;outline-offset:3px}.photo-upload-placeholder{display:flex;align-items:center;justify-content:center;flex-direction:column}.photo-upload-emoji{font-size:56px}.photo-upload strong{font:600 23px var(--display);margin-top:12px}.photo-upload small{color:#786f82;font-size:13px}.photo-upload img{position:absolute;inset:0;object-fit:contain;width:100%;height:100%;background:#e8e4eb}.photo-upload:has(img:not([hidden])):after{content:'Change photo';position:absolute;bottom:13px;left:50%;transform:translateX(-50%);padding:5px 11px;background:#fff;border-radius:20px;font-size:12px;font-weight:800;white-space:nowrap}.upload-help{font-size:12px;color:#85858b;margin:9px 0}
.listing-fields{display:flex;flex-direction:column;gap:7px}.listing-fields label,.listing-description-label{color:#4f5456;font-size:14px;font-weight:800;margin-top:5px}.listing-fields label small{font-size:12px;color:#84918b}.listing-fields input,.listing-fields select,.listing-body textarea{width:100%;border:1.5px solid #dcdcd5;background:#fff;border-radius:12px;min-height:47px;padding:10px 12px;color:#394144;font-size:16px;min-width:0}.listing-fields input:focus,.listing-fields select:focus,.listing-body textarea:focus{outline:3px solid #e1d6f4;border-color:#ae9dca}.listing-fields select{padding-right:20px}.listing-field-tip{margin:-2px 0 3px;color:#848882;font-size:12px}.price-input-row{display:flex;align-items:center;min-height:47px;border:1.5px solid #dcdcd5;border-radius:12px;overflow:hidden}.price-input-row>span{font-size:25px;font-weight:800;padding-left:12px;color:#6e6e6b}.price-input-row input{border:0;min-height:43px;flex:1;width:100px}.price-input-row small{padding-right:14px;color:#868984}.listing-description-label{display:block;margin:20px 0 8px}.listing-body textarea{display:block;resize:vertical;line-height:1.5}.listing-safe-note{border-radius:14px;background:#fff2dc;padding:12px 15px;margin-top:15px;font-size:13px;line-height:1.55;color:#79644a}.listing-error{color:#a23535;background:#fff0ed;border:1px solid #efc4bb;border-radius:12px;padding:12px;margin-top:12px;font-size:14px}.listing-form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.listing-form-actions .btn{min-height:53px}
/* Detail dialog */
.item-modal{max-width:850px}.item-modal-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:26px;padding:23px;overflow-y:auto}.item-detail-photo{background:#efefe8;border-radius:20px;overflow:hidden;align-self:start;min-height:220px}.item-detail-photo img{display:block;width:100%;max-height:440px;object-fit:contain}.item-detail-info h2{font:600 clamp(29px,3vw,43px)/1.1 var(--display);margin:10px 0}.item-detail-type{font-size:14px;color:#7a8480;margin:4px 0}.item-detail-price{font:600 35px var(--display);margin:14px 0;padding:11px 0;border-block:1px solid #eee9e4}.item-detail-price small{display:block;font:700 13px var(--body);color:#88857f}.item-detail-description{font-size:16px;line-height:1.5}.item-video-connection{background:#f1ecfa;border-radius:15px;padding:15px;display:flex;flex-direction:column;gap:8px}.item-video-connection>span{font-size:12px;font-weight:800;color:#796297;letter-spacing:.8px}.item-video-connection strong{font:600 21px var(--display)}.item-video-connection .btn{align-self:start;min-height:42px;font-size:13px}.item-detail-notice{font-size:13px;color:#746d6a;background:#fff6e9;padding:12px;border-radius:12px;margin-top:14px}.item-detail-owner{display:flex;gap:8px;flex-wrap:wrap;margin-top:13px}.item-detail-owner .btn{font-size:13px;min-height:43px;padding:0 12px}
.shop-backup-tools{background:#f7f2fc;border:1px solid #e3d7f1;padding:13px 15px;border-radius:14px;margin:16px 0}.shop-backup-tools p{font-size:14px;line-height:1.5;margin:0 0 11px}.shop-backup-tools>div{display:flex;gap:8px;flex-wrap:wrap}.shop-backup-tools .btn{min-height:40px;font-size:12px;padding:0 10px}
@media(max-width:1150px){.store-hero{padding:35px 30px}.store-hero-sheep{min-width:150px}.store-sheep-circle{width:175px;height:175px}.storefront-owners{gap:10px}.owner-tile strong{font-size:20px}.owner-portrait{width:85px;height:85px}.owner-portrait img{width:78px;height:78px}.shop-product-grid{gap:12px}.shop-item-main h3{font-size:21px}}
@media(max-width:850px){.shop-top-button{padding:8px 10px}.store-hero h1{font-size:52px}}
@media(max-width:650px){.shop-top-button{font-size:20px;min-width:39px;padding:6px;border:0;background:transparent}.shop-top-button span{display:none}.top-actions{gap:3px}.shops-promo{margin-top:29px;min-height:auto;display:block;padding:42px 21px 20px}.shops-promo-badge{top:17px;left:21px;font-size:10px}.shops-promo h2{font-size:30px}.shops-promo p{font-size:15px}.shops-promo>img{position:absolute;right:-26px;top:17px;width:92px;height:92px;border:5px solid white;opacity:.65}.shops-promo>div:nth-child(2){position:relative;z-index:2}.store-section{padding-top:2px}.store-hero{display:block;padding:25px 22px;border-radius:20px;min-height:0}.store-hero-text{width:100%;max-width:100%}.store-overline{font-size:11px}.store-hero h1{font-size:43px;margin:10px 0}.store-hero p{font-size:16px}.store-hero-actions{gap:8px}.store-hero-actions .btn{font-size:13px;min-height:47px}.store-hero-sheep{min-width:0;transform:none;position:absolute;right:13px;top:22px;opacity:.22;pointer-events:none}.store-sheep-circle{width:103px;height:103px;border-width:5px}.store-hero-sheep>span{display:none}.store-disclaimer{font-size:12px;line-height:1.5}.store-info-strip{padding:13px 11px;margin:13px 0 29px;gap:6px;justify-content:space-around}.store-info-strip span{font-size:11px;white-space:normal;text-align:center;max-width:33%}.store-info-strip b{font-size:19px;display:block}.store-headerline h2,.store-products-top h2{font-size:30px}.store-headerline p,.store-products-top p{font-size:14px}.storefront-owners{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:34px}.owner-tile{min-height:179px;padding:13px 7px;gap:3px;border-radius:17px}.owner-portrait{width:73px;height:73px}.owner-portrait img{width:68px;height:68px}.owner-tile strong{font-size:19px}.owner-tile>span:nth-last-child(2),.owner-arrow{font-size:11px}.store-products-top{align-items:flex-start;flex-direction:column;gap:13px}.store-products-top .btn{min-height:43px}.store-action-line{flex-direction:column;align-items:flex-start;font-size:12px}.shop-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.shop-item-card{border-radius:15px}.shop-item-main{padding:10px 11px 14px}.shop-item-by{font-size:11px;gap:5px}.shop-item-by>span:first-child{width:24px;height:24px}.shop-item-by img{width:22px;height:22px}.shop-item-main h3{font-size:19px}.shop-item-price{font-size:18px;bottom:7px;right:7px;padding:5px 7px}.shop-item-type{font-size:12px}.shop-item-actions{gap:9px}.shop-item-actions button{font-size:11px}.store-bottom-notice{margin-top:26px;padding:14px;gap:10px}.store-bottom-notice strong{font-size:19px}.store-bottom-notice p{font-size:12px}.pending-row{align-items:flex-start;flex-wrap:wrap}.pending-row>img{width:60px;height:60px}.pending-buttons{width:100%}.listing-modal,.item-modal{max-height:96vh}.listing-body{padding:17px}.listing-form-layout{grid-template-columns:1fr;gap:13px}.photo-upload{min-height:208px}.listing-fields label{font-size:15px}.listing-body h2{font-size:29px}.listing-intro{font-size:14px}.listing-form-actions{flex-wrap:wrap}.listing-form-actions .btn{flex:1}.item-modal-body{grid-template-columns:1fr;padding:15px;gap:15px}.item-detail-photo{max-height:310px;min-height:160px}.item-detail-photo img{max-height:290px}.item-detail-info h2{font-size:32px}}
@media(max-width:370px){.shop-product-grid{grid-template-columns:1fr}.owner-tile strong{font-size:18px}.store-hero-actions .btn{width:100%;justify-content:center}}
@media(max-width:650px){.topbar{gap:6px;padding:0 10px}.mobile-menu{flex:0 0 34px}.mobile-brand{flex:0 0 37px}.mobile-brand img{width:37px}.search-wrap{flex:1 1 auto;min-width:0;padding:0 7px}.search-wrap input{min-width:0;font-size:12px}.top-actions{flex:0 0 auto;gap:1px}.shop-top-button{flex:0 0 30px;min-width:30px;font-size:19px}.explorer-pill{flex:0 0 35px;min-width:35px}.explorer-avatar{height:32px;width:32px}}
/* Keep section titles clear of the sticky navigation when changing views. */
.store-section{scroll-margin-top:104px}
@media(max-width:650px){.store-section{scroll-margin-top:84px}}

.listing-maker-line{display:inline-flex;align-items:center;gap:7px;background:#f2ecfa;border-radius:24px;padding:4px 13px 4px 5px;color:#625677;font-weight:700;font-size:14px;margin-bottom:11px}.listing-maker-face{width:31px;height:31px;display:grid;place-items:center;border-radius:50%;background:var(--profile-color)}.listing-maker-face img{width:29px;height:29px}
