
.ebv-page-wrap{width:min(1240px,calc(100% - 32px));margin:38px auto 70px}
.ebv-category-hero{background:#fff;border:1px solid #ead8cf;border-radius:26px;padding:34px;box-shadow:0 22px 60px rgba(91,6,18,.08);margin-bottom:22px}
.ebv-category-hero h1{font-family:Georgia,"Times New Roman",serif;color:#990f26;font-size:46px;line-height:1;margin:0 0 12px}
.ebv-category-hero p{color:#6d5f5d;font-size:17px;line-height:1.6;margin:0}
.ebv-filter-form{background:#fff;border:1px solid #ead8cf;border-radius:22px;padding:18px;display:grid;grid-template-columns:1fr 220px 220px auto;gap:14px;align-items:end;margin-bottom:24px}
.ebv-filter-form label{font-weight:900;color:#2b1b1f}
.ebv-filter-form input,.ebv-filter-form select{width:100%;min-height:48px;border:1px solid #ead8cf;border-radius:14px;padding:10px;margin-top:7px}
.ebv-filter-form button{min-height:48px;border:0;border-radius:14px;background:#990f26;color:#fff;font-weight:900;padding:0 20px}
.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}
.ebv-product-card{background:#fff;border:1px solid #ead8cf;border-radius:22px;overflow:hidden;box-shadow:0 18px 48px rgba(91,6,18,.08);display:flex;flex-direction:column}
.ebv-product-card .img{aspect-ratio:3/4;background:#fff4ee;overflow:hidden;display:block}
.ebv-product-card .img img{width:100%;height:100%;object-fit:cover;display:block;transition:.22s ease}
.ebv-product-card:hover .img img{transform:scale(1.035)}
.ebv-product-card .body{padding:16px}
.ebv-product-card h3{font-size:18px;margin:0 0 8px;color:#24171a;line-height:1.25}
.ebv-product-card .price{font-weight:900;color:#990f26;font-size:18px;margin-bottom:13px}
.ebv-card-actions{display:flex;gap:8px;align-items:center}
.ebv-card-actions a{flex:1;min-height:40px;border-radius:13px;border:1px solid #990f26;background:#990f26;color:#fff;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;font-weight:900}
.ebv-card-actions .ghost{background:#fff;color:#990f26}
.ebv-empty{background:#fff;border:1px solid #ead8cf;border-radius:24px;padding:26px;box-shadow:0 18px 50px rgba(91,6,18,.08)}
.ebv-product-detail{width:min(1180px,calc(100% - 32px));margin:42px auto 70px;display:grid;grid-template-columns:1fr 1fr;gap:34px}
.ebv-detail-gallery,.ebv-detail-info{background:#fff;border:1px solid #ead8cf;border-radius:26px;box-shadow:0 24px 70px rgba(91,6,18,.10)}
.ebv-detail-gallery{padding:18px}.ebv-detail-info{padding:34px}
.ebv-main-image{position:relative;overflow:hidden;border-radius:20px;background:#fff4ee;cursor:zoom-in}
.ebv-main-image img{width:100%;max-height:660px;object-fit:contain;display:block;transition:transform .18s ease}
.ebv-main-image:hover img{transform:scale(1.08)}
.ebv-zoom-badge{position:absolute;right:14px;bottom:14px;background:rgba(37,6,11,.85);color:#fff;padding:8px 12px;border-radius:999px;font-size:12px;font-weight:900}
.ebv-thumbs{display:flex;gap:10px;margin-top:12px;overflow:auto;padding-bottom:4px}
.ebv-thumbs button{width:78px;height:92px;flex:0 0 auto;padding:0;border:1px solid #ead8cf;border-radius:14px;background:#fff;overflow:hidden;cursor:pointer}
.ebv-thumbs button.active{border-color:#990f26;box-shadow:0 0 0 3px rgba(153,15,38,.08)}
.ebv-thumbs img{width:100%;height:100%;object-fit:cover;display:block}
.ebv-detail-info h1{font-family:Georgia,"Times New Roman",serif;font-size:44px;color:#990f26;line-height:1.05;margin:0 0 14px}
.ebv-detail-price{font-size:27px;font-weight:900;color:#24171a;margin-bottom:20px}
.ebv-detail-desc{color:#6d5f5d;line-height:1.7;margin-bottom:22px}
.ebv-option-group{margin-bottom:16px}.ebv-option-group label{display:block;font-weight:900;margin-bottom:8px;color:#2b1b1f}
.ebv-option-group select{width:100%;min-height:50px;border:1px solid #ead8cf;border-radius:14px;padding:11px 13px;font-size:16px}
.ebv-stock{font-weight:900;margin:14px 0;color:#217a3d}.ebv-stock.out{color:#990f26}
.ebv-detail-actions{display:flex;gap:12px;margin-top:18px;flex-wrap:wrap}
.ebv-detail-actions button,.ebv-detail-actions a{min-height:52px;border-radius:15px;border:0;padding:0 20px;background:#990f26;color:#fff;font-weight:900;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}
.ebv-detail-actions .ghost{background:#fff;color:#990f26;border:1px solid #ead8cf}
.ebv-toast{position:fixed;right:20px;bottom:24px;z-index:99999;background:#fff;border:1px solid #ead8cf;border-radius:18px;padding:16px;min-width:280px;box-shadow:0 24px 70px rgba(91,6,18,.18);display:none}
.ebv-toast.show{display:block}
.ebv-toast strong{display:block;color:#990f26;margin-bottom:8px}.ebv-toast-actions{display:flex;gap:8px;margin-top:12px}
.ebv-toast-actions a,.ebv-toast-actions button{flex:1;min-height:38px;border-radius:12px;border:1px solid #990f26;background:#990f26;color:#fff;font-weight:900;text-decoration:none;cursor:pointer}.ebv-toast-actions .ghost{background:#fff;color:#990f26}
.ebv-zoom-overlay{position:fixed!important;inset:0!important;z-index:999999!important;background:rgba(10,4,6,.88)!important;display:none!important;align-items:center!important;justify-content:center!important;padding:22px!important}
.ebv-zoom-overlay.is-open{display:flex!important}.ebv-zoom-box{position:relative!important;max-width:min(96vw,1200px)!important;max-height:94vh!important}
.ebv-zoom-box img{max-width:100%!important;max-height:94vh!important;object-fit:contain!important;border-radius:18px!important;background:#fff!important;box-shadow:0 30px 90px rgba(0,0,0,.42)!important}
.ebv-zoom-close{position:absolute!important;right:-14px!important;top:-14px!important;width:44px!important;height:44px!important;border:0!important;border-radius:50%!important;background:#990f26!important;color:#fff!important;font-size:25px!important;font-weight:900!important;cursor:pointer!important}
@media(max-width:980px){.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ebv-product-detail{grid-template-columns:1fr}.ebv-filter-form{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.product-grid{grid-template-columns:1fr}.ebv-filter-form{grid-template-columns:1fr}.ebv-detail-info{padding:24px}.ebv-detail-info h1{font-size:34px}.ebv-detail-actions{flex-direction:column}.ebv-toast{left:14px;right:14px;bottom:16px;min-width:0}}

.cart-warning{margin:12px 0;padding:12px 14px;border-radius:12px;background:#fff3cd;border:1px solid #f1d58a;color:#6b4b00;font-weight:600}.ebv-detail-actions button:disabled{opacity:.55;cursor:not-allowed}
