.diy-booking-extras{box-sizing:border-box;width:min(1120px,calc(100vw - 32px));max-height:88dvh;padding:24px;border:0;border-radius:22px;background:#fff;color:#38323a;box-shadow:0 24px 90px #17101d40;overflow:auto;font-family:inherit}.diy-booking-extras::backdrop{background:#1f243499;backdrop-filter:blur(2px)}.diy-booking-extras header{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}.diy-booking-extras h2{font-size:23px;margin:0;font-weight:600}.diy-booking-extras [data-dbe-close]{border:0;border-radius:50%;background:#f6eef2;color:#b92552;font-size:26px;width:36px;height:36px;cursor:pointer}.dbe-tabs{display:flex;border-bottom:1px solid #e4dce2;gap:4px}.dbe-tabs button{border:1px solid transparent;border-radius:9px 9px 0 0;padding:11px 17px;background:none;color:#665862;font:inherit;font-size:14px;cursor:pointer}.dbe-tabs [aria-selected=true]{border-color:#e4dce2;border-bottom-color:#fff;color:#bc2452;background:#fff2f7;font-weight:600}.diy-booking-extras [data-dbe-status]{font-size:12px;line-height:1.5;color:#75656e;margin:10px 0}.diy-booking-extras [data-error=true]{color:#b32149}.dbe-catalog{max-height:52dvh;overflow-y:auto;scrollbar-width:thin;padding:0 3px}.dbe-catalog section{padding:14px;border:1px solid #ede4e9;border-radius:13px;margin:8px 0 14px}.dbe-catalog h3{font-size:14px;font-weight:600;margin:0 0 12px;color:#b42651}.dbe-product-row{display:grid;grid-auto-flow:column;grid-auto-columns:174px;overflow-x:auto;gap:14px;padding:2px 2px 10px;scroll-snap-type:x proximity;scrollbar-width:thin}.dbe-product{scroll-snap-align:start;border:1px solid #e7dfe4;border-radius:10px;padding:10px;min-width:0;background:#fff;display:flex;flex-direction:column;gap:8px}.dbe-product[data-selected=true]{border-color:#d8668b;background:#fff8fa}.dbe-product img{display:block;width:100%;height:122px;object-fit:cover;border-radius:7px}.dbe-product h4{font-size:13px;font-weight:500;text-align:center;margin:0;min-height:36px;line-height:1.4}.dbe-product>strong{font-size:14px;color:#bf2452}.dbe-quantity{display:flex;align-items:center;gap:6px;justify-content:center;margin-top:auto}.dbe-quantity button{width:30px;height:30px;border:1px solid #e3d9df;border-radius:8px;background:#faf7f9;color:#503f4a;font-size:19px;cursor:pointer}.dbe-quantity output{display:block;min-width:34px;padding:5px;border-radius:6px;text-align:center;background:#f1edf0;font-size:13px}.dbe-product details{font-size:11px;color:#74636e}.dbe-product details p{white-space:pre-line;max-height:130px;overflow:auto}.diy-booking-extras footer{display:flex;justify-content:space-between;gap:14px;align-items:center;border-top:1px solid #eee4e9;margin-top:14px;padding-top:16px}.diy-booking-extras footer>span{font-size:14px;font-weight:600}.diy-booking-extras footer>div{display:flex;gap:10px}.diy-booking-extras footer button{padding:11px 16px;border:1px solid #d72f60;border-radius:10px;color:#b72450;background:#fff;font-size:13px;cursor:pointer}.diy-booking-extras footer .dbe-primary{background:linear-gradient(115deg,#d72f60,#bb2450);color:#fff}.diy-booking-extras button:disabled{opacity:.5;cursor:wait}.diy-booking-extras button:focus-visible{outline:2px solid #d72f60;outline-offset:2px}@media(max-width:600px){.diy-booking-extras{width:calc(100vw - 16px);padding:16px;border-radius:15px;max-height:92dvh}.diy-booking-extras h2{font-size:19px}.dbe-product-row{grid-auto-columns:146px;gap:9px}.dbe-catalog{max-height:55dvh}.dbe-catalog section{padding:10px}.dbe-product img{height:100px}.diy-booking-extras footer{align-items:stretch;flex-direction:column;gap:10px}.diy-booking-extras footer>div{display:grid;grid-template-columns:1fr 1fr}.diy-booking-extras footer button{font-size:12px;padding:10px 8px}}

/* Compact mobile extras: only the catalogue scrolls; actions remain visible. */
@media(max-width:600px){
 dialog.diy-booking-extras{width:calc(100vw - 24px);max-height:calc(100dvh - 32px);padding:14px;border-radius:18px;overflow:hidden;}
 dialog.diy-booking-extras[open]{display:flex;flex-direction:column;gap:0;}
 .diy-booking-extras header{flex:none;margin:0 0 10px;gap:8px;}
 .diy-booking-extras h2{font-size:16px;line-height:1.3;}
 .diy-booking-extras [data-dbe-close]{flex:none;width:30px;height:30px;font-size:22px;line-height:1;padding:0;}
 .diy-booking-extras .dbe-tabs{flex:none;}
 .diy-booking-extras .dbe-tabs button{font-size:12px;line-height:1.3;padding:8px 14px;min-height:34px;}
 .diy-booking-extras [data-dbe-status]{flex:none;font-size:11px;line-height:1.4;margin:7px 0;}
 .diy-booking-extras .dbe-catalog{flex:0 1 auto;min-height:0;max-height:52dvh;padding:0;overscroll-behavior:contain;}
 .diy-booking-extras .dbe-catalog section{padding:8px;margin:0 0 8px;border-radius:12px;}
 .diy-booking-extras .dbe-catalog h3{font-size:12px;line-height:1.3;margin:0 0 6px;}
 .diy-booking-extras .dbe-product-row{grid-auto-columns:calc((100% - 8px)/2);gap:8px;padding:0 0 5px;}
 .diy-booking-extras .dbe-product{padding:7px;gap:5px;border-radius:10px;}
 .diy-booking-extras .dbe-product img{height:80px;border-radius:6px;}
 .diy-booking-extras .dbe-product h4{font-size:11px;line-height:1.3;min-height:29px;}
 .diy-booking-extras .dbe-product>strong{font-size:12px;line-height:1.3;}
 .diy-booking-extras .dbe-quantity{gap:5px;margin-top:auto;}
 .diy-booking-extras .dbe-quantity button{width:32px;height:32px;padding:0;font-size:18px;line-height:1;}
 .diy-booking-extras .dbe-quantity output{box-sizing:border-box;min-width:28px;padding:5px 3px;font-size:12px;line-height:20px;}
 .diy-booking-extras .dbe-product details{font-size:10px;line-height:1.4;}
 .diy-booking-extras footer{flex:none;flex-direction:column;align-items:stretch;gap:7px;margin:8px 0 0;padding:9px 0 0;background:#fff;}
 .diy-booking-extras footer>span{font-size:12px;line-height:1.3;}
 .diy-booking-extras footer>div{display:grid;grid-template-columns:1fr 1fr;gap:7px;}
 .diy-booking-extras footer button{min-height:36px;margin:0;padding:8px 5px;font-size:11px;line-height:1.3;border-radius:9px;white-space:normal;}
}

.diy-booking-extras button{border-radius:5px!important}
