
.ffom{--orange:#ff6a00;--orange2:#ff8a1f;--dark:#242424;--muted:#777;--line:#f0e0d5;--cream:#fff8f3;font-family:inherit;position:relative;max-width:1180px;margin:30px auto;color:var(--dark)}
.ffom *{box-sizing:border-box}
.ffom-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:22px;padding:22px 24px;background:linear-gradient(135deg,#fff,#fff7f1);border:1px solid #ffe6d5;border-radius:24px}
.ffom-kicker{font-size:13px;color:var(--orange);font-weight:900}
.ffom h2{margin:5px 0 0;font-size:30px;font-weight:900}
.ffom-cart-btn{border:0;background:linear-gradient(135deg,var(--orange),var(--orange2));color:#fff;padding:13px 19px;border-radius:15px;cursor:pointer;font-size:15px;font-weight:800;box-shadow:0 8px 20px #ff6a0030}
.ffom-count{display:inline-flex;min-width:26px;height:26px;align-items:center;justify-content:center;background:#fff;color:var(--orange);border-radius:50%;margin-right:6px}
.ffom-cats{display:flex;flex-direction:column;gap:10px;margin-bottom:25px}
.ffom-category{border:1px solid var(--line);border-radius:18px;background:#fff;overflow:hidden;box-shadow:0 5px 18px #00000008}
.ffom-cat{width:100%;display:flex;align-items:center;justify-content:space-between;border:0;background:#fff;padding:17px 20px;cursor:pointer;font:inherit;font-weight:900;font-size:17px;color:var(--dark);text-align:right;transition:.2s}
.ffom-cat:hover,.ffom-category.open .ffom-cat{background:linear-gradient(90deg,#fff7f0,#fff);color:var(--orange)}
.ffom-arrow{font-size:20px;color:var(--orange);transition:.25s}
.ffom-category.open .ffom-arrow{transform:rotate(180deg)}
.ffom-submenu{display:none;padding:0 14px 14px;background:#fff}
.ffom-category.open .ffom-submenu{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.ffom-card{border:1px solid #f1e6df;border-radius:17px;padding:17px;background:#fff;box-shadow:0 5px 18px #00000008;display:flex;flex-direction:column;min-height:175px;transition:.25s}
.ffom-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px #ff6a0018;border-color:#ffd1b2}
.ffom-card h3{margin:0 0 7px;font-size:17px}
.ffom-card p{margin:0 0 16px;color:var(--muted);line-height:1.8;font-size:13px;flex:1}
.ffom-bottom{display:flex;align-items:center;justify-content:space-between;gap:9px}
.ffom-price{font-weight:900;color:var(--orange);font-size:15px}
.ffom-add{border:0;background:var(--orange);color:#fff;border-radius:10px;padding:9px 13px;cursor:pointer;font-weight:800}
.ffom-add:hover{background:#e95d00}
.ffom-cart{position:fixed;z-index:999999;top:0;right:-440px;width:min(420px,94vw);height:100vh;background:#fff;padding:22px;box-shadow:-10px 0 40px #0002;transition:.3s;overflow:auto}
.ffom.open .ffom-cart{right:0}
.ffom-overlay{position:fixed;z-index:999998;inset:0;background:#0007;opacity:0;visibility:hidden;transition:.3s}
.ffom.open .ffom-overlay{opacity:1;visibility:visible}
.ffom-cart-top{display:flex;justify-content:space-between;align-items:center}
.ffom-cart-top h3{margin:0}.ffom-close{background:none;border:0;font-size:30px;cursor:pointer}
.ffom-item{padding:13px 0;border-bottom:1px solid #eee}
.ffom-item-title{font-weight:800}.ffom-item-row{display:flex;justify-content:space-between;align-items:center;margin-top:8px}
.ffom-qty{display:flex;align-items:center;gap:8px}.ffom-qty button{width:28px;height:28px;border:1px solid #ddd;border-radius:8px;background:#fff;cursor:pointer}
.ffom-total{display:flex;justify-content:space-between;padding:18px 0;font-size:18px}
.ffom-form input,.ffom-form textarea{width:100%;border:1px solid #ddd;border-radius:11px;padding:12px;margin-bottom:9px;font:inherit}
.ffom-form textarea{min-height:80px;resize:vertical}
.ffom-form button{width:100%;border:0;background:linear-gradient(135deg,var(--orange),var(--orange2));color:#fff;padding:13px;border-radius:12px;font-weight:900;cursor:pointer}
.ffom-message{margin-top:10px;font-weight:700;line-height:1.7}.ffom-empty{text-align:center;padding:35px;color:#888}
.ffom-toast{position:fixed;z-index:1000001;bottom:25px;left:50%;transform:translateX(-50%);background:#242424;color:#fff;padding:12px 20px;border-radius:12px}
@media(max-width:850px){.ffom-category.open .ffom-submenu{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.ffom-head{align-items:flex-start;flex-direction:column}.ffom h2{font-size:24px}.ffom-category.open .ffom-submenu{grid-template-columns:1fr}.ffom-card{min-height:155px}}
