.dropdown-caret{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border:1px solid #d9e8df;border-radius:7px;background:#f3f8f5;color:#397257;flex:none;transition:background .2s,transform .2s}
.dropdown-caret svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;display:block}
.nav-dropdown[open]>summary .dropdown-caret{background:#149b64;color:white;border-color:#149b64;transform:rotate(180deg)}
.nav-dropdown summary:focus-visible{outline:2px solid var(--wine);outline-offset:3px;border-radius:5px}
.nav-dropdown>div{min-width:240px;padding:10px;border-top:3px solid var(--wine)}
.nav-dropdown>div a{justify-content:space-between;gap:24px;min-height:43px}.nav-dropdown>div a .icon{width:15px;height:15px;color:#89a193;flex:none}.nav-dropdown>div a:hover .icon{color:var(--wine);transform:translateX(3px)}
.rating-stars{display:inline-block;position:relative;width:90px;height:18px;color:#dce2de;line-height:1;vertical-align:middle;flex:none}
.stars-base,.stars-fill{display:flex;position:absolute;inset:0;overflow:hidden}.stars-fill{color:#eda321;right:auto}.rating-stars svg{display:block;width:18px;height:18px;min-width:18px;fill:currentColor;stroke:none}
.product-rating{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:10px 0 11px;font-size:12px;color:#738477;line-height:1.4;min-height:18px}.product-rating strong{font-size:13px;color:#334b3d}.product-rating:hover{color:var(--wine)}
.product-reviews{padding:38px 0 48px;scroll-margin-top:28px;border-top:1px solid var(--line)}.product-reviews .section-heading{gap:20px}.product-reviews .section-heading p{max-width:560px}.reviews-layout{display:grid;grid-template-columns:240px 1fr;gap:35px}.reviews-summary{background:#f7faf7;border:1px solid #e4ebe4;border-radius:14px;padding:25px;align-self:start;text-align:center}.rating-number{display:block;font-size:50px;font-weight:500;letter-spacing:-.04em;line-height:1.3}.rating-number small{font-size:17px;color:#839285;letter-spacing:0;margin-left:8px}.reviews-summary>p{font-size:13px;color:var(--muted);margin:9px 0 22px}.rating-distribution>div{display:flex;align-items:center;gap:10px;margin:9px 0}.rating-distribution>div>span{display:flex;align-items:center;gap:3px;font-size:12px}.rating-distribution svg{width:13px;height:13px;fill:#eda321}.rating-distribution>div>div{height:6px;flex:1;background:#e3eae3;border-radius:8px;overflow:hidden}.rating-distribution>div>div>span{display:block;height:100%;background:#eda321}.rating-distribution small{min-width:15px;font-size:12px;color:#789080}
.reviews-empty{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;border:1px dashed #d8e4da;border-radius:14px;padding:45px 25px;min-height:280px}.reviews-empty h3{margin:15px 0 10px;font-size:21px}.reviews-empty p{font-size:14px;color:var(--muted);max-width:390px}.customer-review{padding:24px 0;border-bottom:1px solid #e5ece6}.customer-review:first-child{padding-top:0}.customer-review header{display:flex;align-items:center;gap:12px;margin-bottom:13px}.review-avatar{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:#edf4ee;color:#527b5d;font-weight:600}.customer-review header strong{font-size:14px}.verified-purchase{display:block;color:#318354;font-size:11px;margin-top:2px}.customer-review time{margin-left:auto;font-size:12px;color:#839286}.customer-review>p,.review-text{font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere;margin:12px 0;line-height:1.8}.store-reply{margin-top:20px;background:#f6f9f5;border-left:3px solid #a1bfa8;border-radius:0 8px 8px 0;padding:15px 20px}.store-reply strong{font-size:12px}.store-reply p{font-size:13px;margin-top:5px;white-space:pre-wrap;overflow-wrap:anywhere}.review-pagination{display:flex;align-items:center;justify-content:center;gap:18px;margin:24px 0;font-size:13px}.review-pagination button:disabled{opacity:.4;cursor:default}
.review-form-panel{max-width:590px}.review-product{display:flex;align-items:center;gap:18px;margin:20px 0}.review-product img{width:65px;height:80px;object-fit:cover;border-radius:8px}.review-product strong{font-size:17px}.star-picker{border:0;padding:0;margin:22px 0}.star-picker legend{font-size:14px;margin-bottom:10px}.star-picker>div{display:flex;gap:8px}.star-picker label{position:relative;display:block;cursor:pointer}.star-picker input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.star-picker label>span{display:grid;place-items:center;width:45px;height:45px;border-radius:9px;background:#f4f6f2;border:1px solid #e1e8e0;color:#c6d0c6}.star-picker svg{width:29px;height:29px;fill:currentColor}.star-picker label.selected>span{color:#e9a125;background:#fff8e9;border-color:#f1d293}.star-picker label:focus-within>span{outline:2px solid var(--wine);outline-offset:3px}.star-picker output{display:block;font-size:13px;margin:10px 0 0;color:#67806c}.review-form-panel textarea{min-height:130px}.review-form-panel .wide{margin-top:20px}.order-review-action{margin-left:auto;display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:12px}.order-review-action .btn{min-height:34px;padding:7px 12px;font-size:12px}.order-mini{flex-wrap:wrap}.order-review-status{color:#738577;font-size:12px}
.review-admin-filters{flex-wrap:wrap}.review-admin-filters b{font-size:11px;margin-left:6px}.admin-review-top{display:flex;gap:16px;align-items:center}.admin-review-top img{width:65px;height:80px;object-fit:cover;border-radius:8px}.admin-review-top h2{font-size:18px}.admin-review-top p{font-size:12px;margin:4px 0 8px;color:var(--muted)}.admin-review-top>.admin-tag{margin-left:auto}.admin-review-card>form{margin-top:20px;padding-top:20px;border-top:1px solid var(--line)}.admin-review-save{display:flex;justify-content:flex-end;align-items:end;gap:15px}.admin-review-save label{font-size:12px}.admin-review-save select{display:block;margin-top:5px;min-height:45px;padding:8px;border:1px solid var(--line);border-radius:8px}
@media(max-width:600px){.product-rating{gap:5px;font-size:10px;margin:8px 0}.product-rating .rating-stars{width:75px;height:15px}.product-rating .rating-stars svg{width:15px;height:15px;min-width:15px}.product-rating strong{font-size:11px}.product-reviews .section-heading{align-items:flex-start;flex-direction:column}.product-reviews h2{font-size:25px}.reviews-layout{grid-template-columns:1fr;gap:25px}.reviews-summary{padding:23px 28px}.rating-distribution{max-width:260px;margin:auto}.reviews-empty{min-height:210px}.customer-review time{font-size:10px}.customer-review header{gap:9px}.order-review-action{margin:8px 0 0;width:100%}.admin-review-top{align-items:flex-start;flex-wrap:wrap}.admin-review-top>.admin-tag{margin-left:0}.admin-review-save{justify-content:space-between}.review-pagination{gap:10px;font-size:11px}.review-pagination .btn{padding:10px 14px;font-size:12px}.store-reply{padding:12px 15px}}
@media(prefers-reduced-motion:reduce){.dropdown-caret,.nav-dropdown>div a .icon{transition:none}}

#admin-notifications{position:relative;display:flex;align-items:center;gap:10px}.notification-bell,.notification-sound{position:relative;display:grid;place-items:center;width:39px;height:39px;border:1px solid #e0e9e1;border-radius:10px;background:white;color:#315d42}.notification-bell .icon,.notification-sound .icon{width:20px;height:20px}.notification-bell.has-new{background:#edf8f0;border-color:#b9d8c3}.notification-bell>b{position:absolute;right:-5px;top:-6px;background:#d85d4c;color:white;border:2px solid white;min-width:21px;height:21px;line-height:17px;text-align:center;padding:0 3px;font-size:10px;border-radius:20px}.notification-connection{display:flex;align-items:center;gap:6px;font-size:11px;color:#7c8d81;white-space:nowrap}.notification-connection b{width:6px;height:6px;border-radius:50%;background:#c8a26c}.notification-connection.online b{background:#18a367;box-shadow:0 0 0 4px #e5f5e9}.notification-popover{position:absolute;z-index:60;right:0;top:calc(100% + 14px);width:min(410px,calc(100vw - 48px));background:white;border:1px solid #dce7de;border-radius:15px;box-shadow:0 16px 60px #15352029;overflow:hidden;text-align:left}.notification-popover>header{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;background:#f8fbf8;border-bottom:1px solid #e4ece5}.notification-popover header strong{font-size:15px}.notification-popover header small{display:block;font-size:11px;color:#748379;margin-top:3px}.notification-popover header button{background:none;border:0;color:#526c5a;padding:5px}.notification-popover header .icon{width:18px;height:18px}.notification-items{max-height:min(460px,60vh);overflow:auto}.notification-item{display:flex;align-items:flex-start;gap:12px;padding:16px 18px;border-bottom:1px solid #edf1eb;background:white}.notification-item.unread{background:#f0f8f2}.notification-order-icon{display:grid;place-items:center;width:34px;height:34px;border:1px solid #d7e8db;background:white;border-radius:9px;color:#328655;flex:none}.notification-order-icon .icon{width:17px;height:17px}.notification-item>div{flex:1;min-width:0}.notification-item strong{font-size:12px}.notification-item p{font-size:12px;color:#66816f;margin:3px 0;overflow-wrap:anywhere}.notification-item small{font-size:11px;color:#6b7e71}.notification-item time{font-size:10px;color:#9ba99d;white-space:nowrap}.notification-item button{display:flex;align-items:center;gap:10px;background:none;border:0;color:#17834b;font-weight:600;padding:9px 0 0;font-size:12px}.notification-item button .icon{width:15px;height:15px}.notification-popover>footer{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;gap:10px;background:#fafcf9}.notification-popover footer button{background:none;border:0;color:#477658;font-size:11px;padding:7px 0}.notification-popover footer button:disabled{opacity:.4}.notification-empty{padding:38px 22px;color:#8a978c;text-align:center;font-size:14px}.admin-top .admin-live{display:none}.admin-top>div:last-child{min-width:0}.admin-top{gap:12px}
.order-progress{list-style:none;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:25px 0!important;margin:0!important;border-bottom:1px solid var(--line)}.order-progress li{display:flex;position:relative;align-items:center;text-align:center;flex-direction:column;gap:9px;font-size:11px;color:#9aa49b}.order-progress li:before{content:'';position:absolute;left:-50%;right:50%;top:14px;height:2px;background:#e2e9e2}.order-progress li:first-child:before{display:none}.order-progress b{position:relative;z-index:1;display:grid;place-items:center;width:29px;height:29px;background:#f2f5ef;border:2px solid #e0e7dd;border-radius:50%;font-size:12px}.order-progress .done{color:#397c50}.order-progress .done:before{background:#9ec5a8}.order-progress .done b{background:#eff8f0;border-color:#a5cdb0}.order-progress .current b{background:#149b64;border-color:#149b64;color:white;box-shadow:0 0 0 4px #e6f5eb}.order-progress .current span{font-weight:600;color:#1b6840}.admin-order-actions .danger{color:#ab5148;border-color:#e8ccc7}.note-template-field{padding:17px;background:#f3f8f2;border:1px solid #e1eadc;border-radius:9px}.note-template-field small{display:block;margin-top:7px;color:#7c8b79;font-size:11px}.admin-editor .field>small{display:block;font-size:11px;color:#809080;margin-top:7px}.admin-filterbar:has(#admin-product-category){flex-wrap:wrap}.admin-filterbar:has(#admin-product-category)>input{flex:1 1 220px}.admin-filterbar:has(#admin-product-category)>select{flex:1 1 145px}
@media(max-width:850px){.notification-popover{position:fixed;top:75px;left:12px;right:12px;width:auto;max-height:calc(100dvh - 100px)}.notification-items{max-height:calc(100dvh - 235px)}}
@media(max-width:580px){.notification-connection span{display:none}.notification-sound,.notification-bell{width:34px;height:34px;border-radius:8px}#admin-notifications{gap:8px}.notification-connection{margin-right:3px}.admin-top>div:last-child{gap:8px}.admin-avatar{display:grid;width:28px;height:28px;font-size:11px;flex:none}.order-progress li{font-size:9px;line-height:1.4;gap:8px}.order-progress{padding:20px 0!important}.order-progress li span{max-width:65px}.admin-order-actions{flex-wrap:wrap}.admin-order-actions>.btn{flex:1 1 100%;font-size:12px}.notification-item{padding:14px}.notification-item time{display:none}.note-template-field{padding:13px}.note-template-field select{font-size:13px}}
