﻿body .shop-manage-actions{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:12px;padding-top:10px;border-top:1px solid var(--r44-theme-border,#dde5ef)}
body .shop-manage-actions form{margin:0}
body .shop-manage-actions .button,body .shop-manage-actions button{font-size:11px!important;padding:7px 10px!important;min-height:32px;border-radius:8px}
body .shop-manage-actions .danger{color:#b42318!important;border-color:#f3b7b2!important;background:#fff7f6!important}
body .shop-admin-block,body .shop-delete-confirm{position:relative;margin:0}
body .shop-admin-block>summary,body .shop-delete-confirm>summary{list-style:none;cursor:pointer}
body .shop-admin-block>summary::-webkit-details-marker,body .shop-delete-confirm>summary::-webkit-details-marker{display:none}
body .shop-admin-block[open]>form,body .shop-delete-confirm[open]>.shop-delete-pop{position:absolute;z-index:20;right:0;top:38px;width:min(320px,80vw);padding:12px;background:var(--r44-theme-surface,#fff);border:1px solid var(--r44-theme-border,#ddd);border-radius:10px;box-shadow:0 14px 36px #13233a2b}
body .shop-admin-block textarea{width:100%;box-sizing:border-box;margin-bottom:8px}
body .shop-delete-pop p{margin:0 0 10px;font-size:12px}
body .shop-edit-panel{padding:18px!important;margin:16px 0!important;scroll-margin-top:90px}
body .shop-edit-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
body .shop-edit-head h2{margin:4px 0 14px!important;font-size:22px!important}
body .shop-edit-form textarea[name=description]{min-height:150px}
body .shop-existing-photos{margin:14px 0}
body .shop-existing-photos>div{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:10px}
body .shop-existing-photos figure{margin:0;padding:8px;border:1px solid var(--r44-theme-border,#ddd);border-radius:10px;background:var(--r44-theme-hover,#f7f9fc)}
body .shop-existing-photos img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:7px;margin-bottom:7px}
body .shop-existing-photos label{display:block;font-size:11px;margin:4px 0}
body .shop-edit-submit{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:16px}
body .shop-status-line{display:flex;gap:6px;flex-wrap:wrap;margin-top:6px}
body .shop-status-pill{font-size:10px;padding:4px 7px;border-radius:999px;background:var(--r44-theme-hover,#eef3f8);color:var(--r44-theme-muted,#607087)}
body .shop-status-pill.alert{background:#fff2f0;color:#b42318}
@media(max-width:760px){body .shop-manage-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}body .shop-manage-actions .button,body .shop-manage-actions button{width:100%}body .shop-admin-block[open]>form,body .shop-delete-confirm[open]>.shop-delete-pop{position:fixed;left:12px;right:12px;top:auto;bottom:20px;width:auto}body .shop-edit-head{align-items:center}body .shop-edit-head h2{font-size:18px!important}}


.market-admin26 .market-admin26-search{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:12px 0 14px}.market-admin26 .market-admin26-search input[name=q]{min-width:min(360px,100%);flex:1}.market-admin26 .market-admin26-tabs{display:flex;gap:7px;overflow:auto;padding:2px 0 12px;scrollbar-width:thin}.market-admin26 .market-admin26-tabs .button{white-space:nowrap}.market-admin26 .market-admin26-card{margin:10px 0;padding:14px}.market-admin26 .market-admin26-card>.inline{margin:10px 0;display:flex;gap:7px;flex-wrap:wrap;align-items:center}.market-admin26 .market-admin26-card>.inline input[name=note]{min-width:250px;flex:1}
.market77-card{position:relative}.market77-manage-menu{position:absolute;z-index:12;left:10px;top:10px}.market77-manage-menu>summary{list-style:none;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;cursor:pointer;background:rgba(255,255,255,.96);border:1px solid rgba(24,39,58,.14);box-shadow:0 5px 16px rgba(18,34,55,.14);font-size:22px;font-weight:700;line-height:1}.market77-manage-menu>summary::-webkit-details-marker{display:none}.market77-manage-pop{position:absolute;left:0;top:40px;width:min(330px,82vw);padding:11px;background:var(--r44-theme-surface,#fff);border:1px solid var(--r44-theme-border,#dce3ec);border-radius:12px;box-shadow:0 18px 42px rgba(19,35,58,.24)}.market77-manage-pop .shop-status-line{margin:0 0 7px}.market77-manage-pop .shop-manage-actions{margin:0;padding:0;border:0;display:grid;grid-template-columns:1fr 1fr}.market77-manage-pop .shop-manage-actions>.shop-admin-block,.market77-manage-pop .shop-manage-actions>.shop-delete-confirm{width:100%}.market77-manage-pop .shop-manage-actions .button,.market77-manage-pop .shop-manage-actions button{width:100%}
@media(max-width:760px){.market-admin26 .market-admin26-card>.line{align-items:flex-start}.market-admin26 .market-admin26-card>.line>div{align-items:flex-start!important}.market77-manage-pop{position:fixed;left:12px;right:12px;top:auto;bottom:18px;width:auto;max-height:70vh;overflow:auto}.market77-manage-menu[open]::before{content:"";position:fixed;inset:0;background:rgba(0,0,0,.3);z-index:-1}}

.market26-title-actions{display:flex;align-items:center;gap:7px}.market26-title-actions form{margin:0}.market26-share{min-width:40px;min-height:40px;border-radius:50%!important;font-size:20px!important;display:grid!important;place-items:center}
.market26-seller-card{display:block!important}.market26-seller-main{display:flex;flex-direction:column;gap:10px}.market26-seller-main>a{display:flex!important;align-items:center;gap:10px;text-decoration:none;color:inherit}.market26-seller-main>a img{width:54px;height:54px;object-fit:cover;border-radius:50%}.market26-seller-main>a span{display:flex;flex-direction:column}.market26-seller-main>a small{color:var(--r44-theme-muted,#68778b)}.market26-seller-stats{display:flex;gap:8px;flex-wrap:wrap}.market26-seller-stats>span{font-size:11px;padding:6px 8px;border-radius:999px;background:var(--r44-theme-hover,#eef3f7)}.market26-seller-actions{margin-top:10px;display:grid!important;grid-template-columns:1fr;gap:7px}.market26-seller-actions .button{width:100%;box-sizing:border-box;text-align:center}
.market26-section-head{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:24px 0 12px}.market26-section-head h2{margin:3px 0 0!important}.market26-section-head h2 small{font-size:.65em;color:var(--r44-theme-muted,#68778b)}.market26-section-head>a{white-space:nowrap}.market26-mini-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.market26-mini-card{border:1px solid var(--r44-theme-border,#dfe5ed);border-radius:14px;overflow:hidden;background:var(--r44-theme-surface,#fff)}.market26-mini-card>a{display:block;text-decoration:none;color:inherit}.market26-mini-card img,.market26-mini-placeholder{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;background:var(--r44-theme-hover,#eef3f7)}.market26-mini-placeholder{display:grid;place-items:center;color:var(--r44-theme-muted,#68778b)}.market26-mini-card>a>span:last-child{display:flex;flex-direction:column;gap:5px;padding:10px}.market26-mini-card b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.market26-mini-card strong{font-size:17px}.market26-mini-card small{color:var(--r44-theme-muted,#68778b)}
.market26-reviews{margin-top:22px}.market26-review-list{display:grid;gap:10px}.market26-review-list>article{padding:12px;border:1px solid var(--r44-theme-border,#dfe5ed);border-radius:12px}.market26-review-list header{display:flex;align-items:center;gap:9px}.market26-review-list header img{width:38px;height:38px;object-fit:cover;border-radius:50%}.market26-review-list header>div{display:flex;flex-direction:column;min-width:0;flex:1}.market26-review-list time{font-size:11px;color:var(--r44-theme-muted,#68778b)}.market26-stars{letter-spacing:1px;color:#d79b00}.market26-review-list p{margin:9px 0 0}.market26-seller-reply{margin-top:9px;padding:9px 11px;border-left:3px solid currentColor;background:var(--r44-theme-hover,#f2f5f8);border-radius:7px;font-size:12px}
.market26-store-head{display:flex;align-items:center;gap:16px;padding:16px!important;margin:14px 0 16px!important}.market26-store-head>img{width:76px;height:76px;object-fit:cover;border-radius:50%;flex:0 0 auto}.market26-store-head>div{min-width:0;flex:1}.market26-store-head h2{margin:3px 0 6px!important}.market26-store-head p{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 10px}.market26-store-head p>span{font-size:11px;padding:5px 8px;border-radius:999px;background:var(--r44-theme-hover,#eef3f7)}
@media(max-width:900px){.market26-mini-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.market26-section-head{align-items:flex-start}.market26-section-head>a{font-size:12px}.market26-store-head{align-items:flex-start}.market26-store-head>img{width:60px;height:60px}.market26-store-head .actions{display:grid;grid-template-columns:1fr}.market26-store-head .actions .button{width:100%;box-sizing:border-box}.market26-mini-grid{gap:8px}.market26-mini-card strong{font-size:15px}}

.market26-buybox{margin:10px 0}.market26-buybox>summary{list-style:none;cursor:pointer;text-align:center;width:100%;box-sizing:border-box}.market26-buybox>summary::-webkit-details-marker{display:none}.market26-buybox[open]>summary{border-bottom-left-radius:8px!important;border-bottom-right-radius:8px!important}.market26-buy-options{display:grid;gap:10px;margin-top:10px}.market26-buy-options>section{padding:12px;border:1px solid var(--r44-theme-border,#dfe5ed);border-radius:12px;background:var(--r44-theme-surface,#fff)}.market26-buy-options h3{margin:0 0 5px!important;font-size:15px!important}.market26-buy-options p{margin:0 0 10px;font-size:12px}.market26-buy-warning{padding:10px 12px!important;border-radius:10px;background:#fff8df;border:1px solid #f0d27c;color:#68520a}.market26-buy-form{display:grid;gap:9px}.market26-buy-form .form-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.market26-buy-form .span2{grid-column:1/-1}.market26-buy-form input,.market26-buy-form select,.market26-buy-form textarea{width:100%;box-sizing:border-box}.market26-buy-form button{width:100%}
.shop-order-deal-actions{display:flex!important;gap:8px!important;flex-wrap:wrap!important;margin:10px 0}.shop-order-deal-actions form{margin:0}.shop-ship-form{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}.shop-ship-form>button,.shop-shipment-photo{grid-column:1/-1}.shop-shipment-photo{display:flex;align-items:center;gap:8px;padding:9px 11px;border:1px dashed var(--r44-theme-border,#cfd8e3);border-radius:9px;cursor:pointer}.shop-shipment-photo input{margin-left:auto;max-width:220px}.shop-shipped-proof{display:flex;flex-direction:column;gap:5px}.shop-shipped-proof img{display:block;width:min(240px,100%);max-height:180px;object-fit:cover;border-radius:10px;margin-top:7px}
.shop-admin-seller{position:relative}.shop-admin-seller>.shop-seller-admin-pop{display:none}.shop-admin-seller[open]>.shop-seller-admin-pop{display:block;position:absolute;z-index:30;right:0;top:38px;width:min(360px,84vw);padding:12px;background:var(--r44-theme-surface,#fff);border:1px solid var(--r44-theme-border,#ddd);border-radius:10px;box-shadow:0 14px 36px #13233a2b}.shop-admin-seller textarea{width:100%;box-sizing:border-box;margin-bottom:8px}.shop-admin-seller .actions{display:grid!important;grid-template-columns:1fr;gap:7px}
@media(max-width:760px){.market26-buy-form .form-grid{grid-template-columns:1fr}.market26-buy-form .span2{grid-column:auto}.shop-ship-form{grid-template-columns:1fr}.shop-admin-seller[open]>.shop-seller-admin-pop{position:fixed;left:12px;right:12px;bottom:20px;top:auto;width:auto}.shop-shipment-photo{align-items:flex-start;flex-direction:column}.shop-shipment-photo input{margin-left:0;max-width:100%}}

/* Keep the seller-products link visible on narrow screens. */
@media(max-width:560px){.market26-section-head{flex-wrap:wrap}.market26-section-head>div{min-width:0;flex:1 1 170px}.market26-section-head>a{white-space:normal;max-width:100%;overflow-wrap:anywhere}}
