/* ===== WaMenu - Public Menu CSS (Clean vector icons & Osahan Bottom Nav) ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

*{margin:0;padding:0;box-sizing:border-box}
body{font-family:'Poppins',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;background:var(--brand-light, #faffda);color:#1e293b;-webkit-tap-highlight-color:transparent}
.container{max-width:1200px;margin:0 auto;padding:0 16px}

/* Header Redesign */
.menu-header {
    background: linear-gradient(135deg, var(--brand-primary, #569d52) 0%, var(--brand-secondary, #e97e2b) 100%);
    color: #fff;
    padding: 16px;
    position: sticky;
    top: 0;
    z-index: 20;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.menu-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    max-width: 1200px;
    margin: 0 auto;
}
.menu-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}
.menu-logo-card {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 6px 16px rgba(0,0,0,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    flex-shrink: 0;
    border: 2px solid rgba(255,255,255,0.8);
}
.menu-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
}
.menu-logo-placeholder {
    width: 100%;
    height: 100%;
    background: var(--brand-primary, #569d52);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
}
.menu-logo-status {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
    z-index: 5;
}
.menu-logo-status.open {
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
}
.menu-logo-status.closed {
    background: #ef4444;
}
.menu-logo-status .status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    display: block;
}
.menu-header-text {
    flex: 1;
    min-width: 0;
}
.menu-title {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
.menu-subtitle {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.3;
    margin-top: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Status Indicator Dot */
.menu-status {
    font-size: 10px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 999px;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
}
.menu-status.open {
    background: rgba(34, 197, 94, 0.25);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(4px);
}
.menu-status.open .status-dot { background: #22c55e; box-shadow: 0 0 6px #22c55e; }
.menu-status.closed {
    background: rgba(239, 68, 68, 0.3);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.4);
}
.menu-status.closed .status-dot { background: #ef4444; }

.menu-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
@media (max-width: 767px) {
    .menu-header-actions {
        display: none !important;
    }
}
.header-btn {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 18px;
    transition: background 0.2s ease;
}
.header-btn:hover {
    background: rgba(255, 255, 255, 0.35);
}

@media (min-width: 640px) {
    .menu-header {
        padding: 18px 24px;
    }
    .menu-logo-card {
        width: 68px;
        height: 68px;
        border-radius: 20px;
    }
    .menu-title {
        font-size: 22px;
    }
    .menu-subtitle {
        font-size: 13px;
    }
}

/* Search Box */
.menu-search-bar {
    max-width: 1200px;
    margin: 12px auto 0;
    position: relative;
}
.menu-search-input {
    width: 100%;
    padding: 10px 16px 10px 40px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.22);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 13px;
    font-family: inherit;
    outline: none;
    transition: background 0.2s, border-color 0.2s;
}
.menu-search-input::placeholder {
    color: rgba(255,255,255,0.8);
}
.menu-search-input:focus {
    background: rgba(255,255,255,0.35);
    border-color: #ffffff;
}
.menu-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.9);
    font-size: 16px;
    pointer-events: none;
}

/* Category tabs - sticky right below header */
.category-tabs{position:sticky;top:var(--header-h,68px);z-index:15;background:#ffffff;border-bottom:1px solid #e2e8f0;overflow-x:auto;white-space:nowrap;display:flex;scrollbar-width:none;box-shadow:0 2px 8px rgba(0,0,0,.04)}
.category-tabs::-webkit-scrollbar{display:none}
.category-tab{padding:12px 16px;font-size:13px;font-weight:600;color:#64748b;border-bottom:3px solid transparent;cursor:pointer;display:inline-flex;align-items:center;gap:6px;flex-shrink:0;transition:all .2s}
.category-tab.active{color:var(--brand-primary,#569d52);border-bottom-color:var(--brand-primary,#569d52);font-weight:700}
.category-tab i { font-size: 15px; }

/* Product grid */
.product-list{max-width:1200px;margin:0 auto;padding:16px;display:grid;grid-template-columns:1fr;gap:16px}
@media (min-width: 640px){.product-list{grid-template-columns:repeat(2,1fr)}}
@media (min-width: 992px){.product-list{grid-template-columns:repeat(3,1fr)}}

.product-card{background:#ffffff;border-radius:18px;padding:14px;margin-bottom:0;display:flex;gap:14px;cursor:pointer;box-shadow:0 2px 10px rgba(0,0,0,.04);border:1px solid #f1f5f9;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;position:relative}
.product-card:hover{transform:translateY(-3px);box-shadow:0 8px 24px rgba(0,0,0,.08);border-color:#cbd5e1}
.product-card:active{transform:scale(.98)}
.product-card.sold-out{opacity:.5;pointer-events:none}

/* Image container & discount badge */
.product-image-wrap {
    position: relative;
    width: 96px;
    height: 96px;
    flex-shrink: 0;
}
.product-image{width:100%;height:100%;border-radius:14px;object-fit:cover;background:#f1f5f9;box-shadow:0 2px 6px rgba(0,0,0,.06)}
.product-image-placeholder{width:100%;height:100%;border-radius:14px;background:linear-gradient(135deg,#f1f5f9,#e2e8f0);display:flex;align-items:center;justify-content:center;font-size:32px;color:#94a3b8}

/* Corner Ribbons & Badges on Product Image */
.product-sale-ribbon {
    position: absolute;
    bottom: 0;
    left: 0;
    background: #ef4444;
    color: #ffffff;
    font-size: 9px;
    font-weight: 800;
    padding: 2.5px 7px 2.5px 5px;
    border-radius: 0 12px 0 0;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 2px;
    letter-spacing: 0.3px;
}
.product-variants-icon {
    position: absolute;
    bottom: 1px;
    right: 1px;
    color: var(--brand-primary, #569d52);
    font-size: 11px;
    width: 22px;
    height: 22px;
    border-radius: 5px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-featured-badge {
    position: absolute;
    top: 1px;
    left: 1px;
    color: #569d52;
    font-size: 11px;
    width: 22px;
    height: 22px;
    border-radius: 5px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Legacy fallback */
.product-sale-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    background: #ef4444;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px 3px 6px;
    border-radius: 0 12px 0 0;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
    z-index: 2;
}

.product-info{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:space-between}
.product-header-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}
.product-name{font-size:15px;font-weight:700;color:#0f172a;line-height:1.3}
.product-desc{font-size:12px;color:#64748b;line-height:1.4;margin-top:4px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

/* Footer Row with Rating Stars + Price Inline */
.product-footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}
.product-star-rating {
    display: inline-flex;
    align-items: center;
    gap: 1px;
    font-size: 12px;
    color: #f59e0b;
    font-weight: 600;
    flex-shrink: 0;
}
.product-star-rating .star-empty {
    color: #cbd5e1 !important;
}
.product-star-rating .star-hover,
.product-star-rating .bi-star-fill {
    color: #f59e0b !important;
}
.product-star-rating .star-count {
    color: #94a3b8;
    font-size: 11px;
    margin-left: 2px;
    font-weight: 500;
}
.product-star-rating.interactive .bi {
    cursor: pointer;
    font-size: 14px;
    padding: 0 0.5px;
    transition: transform 0.15s ease, color 0.15s ease;
}
.product-star-rating.interactive .bi:hover {
    transform: scale(1.3);
    color: #fbbf24 !important;
}

.product-price{font-size:15px;font-weight:700;color:var(--brand-secondary,#e97e2b);white-space:nowrap}
.product-price-ves{font-size:11px;color:#94a3b8;margin-left:4px;font-weight:500}
.product-price-old{font-size:11px;color:#94a3b8;text-decoration:line-through;margin-left:6px}

.product-badge{display:inline-block;font-size:10px;padding:2px 7px;border-radius:999px;background:var(--brand-secondary,#e97e2b);color:#fff;margin-left:4px;vertical-align:middle;font-weight:600}

/* Favorite heart button */
.btn-fav {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #cbd5e1;
    transition: transform 0.2s, color 0.2s;
    padding: 2px;
    line-height: 1;
}
.btn-fav:hover {
    transform: scale(1.2);
    color: #ef4444;
}
.btn-fav.active {
    color: #ef4444;
}

/* Floating cart button (Desktop view) */
.cart-fab{position:fixed;bottom:24px;right:24px;z-index:30;border:none;color:#fff;font-size:15px;font-weight:700;padding:14px 24px;border-radius:999px;box-shadow:0 6px 20px rgba(0,0,0,.2);cursor:pointer;display:flex;align-items:center;gap:8px;transition:transform 0.2s}
.cart-fab:hover{transform:translateY(-2px)}
.cart-fab #cart-count{background:rgba(255,255,255,.3);padding:2px 8px;border-radius:999px;min-width:24px;text-align:center}

/* ===== OSAHAN MOBILE BOTTOM NAVIGATION ===== */
.osahan-nav-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #ffffff;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);
    padding: 0px !important;
}
.osahan-nav-bottom .row {
    margin: 0px;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: space-around;
}
.osahan-nav-bottom .osahan-nav-bottom-link {
    padding: 0px !important;
    flex: 1;
    text-align: center;
}
.osahan-nav-bottom .osahan-nav-bottom-link i {
    font-size: 22px;
    display: block;
}
.osahan-nav-bottom .osahan-nav-bottom-link p {
    font-size: 10px;
    text-transform: uppercase;
    margin-top: 3px !important;
    margin-bottom: 0 !important;
    font-weight: 600;
    letter-spacing: 0.2px;
}
.osahan-nav-bottom .osahan-nav-bottom-link a {
    padding: 10px 4px;
    display: block;
    text-decoration: none;
    color: #64748b;
    transition: color 0.2s ease;
}
.osahan-nav-bottom .osahan-nav-bottom-link.active a {
    color: var(--brand-primary, #569d52);
    font-weight: 700;
}
.col.osahan-nav-bottom-link.osahan-nav-bottom-link-center {
    width: 70px;
    min-width: 70px;
    max-width: 70px;
    /*position: relative;
    flex: 0 0 70px;*/
}

/* Central Elevated Button (SOLID BRAND COLOR, NO GRADIENT) */
.osahan-nav-bottom-home {
    position: absolute;
    width: 66px;
    height: 66px;
    background: var(--brand-primary, #569d52) !important; /* Solid color, NO gradient! */
    display: flex !important;
    align-items: center;
    justify-content: center;
    left: 0;
    right: 0;
    margin: auto;
    color: #ffffff !important;
    top: -21px;
    text-align: center;
    border-radius: 50px;
    border: 3px solid #ffffff;
    box-shadow: 0 4px 14px rgba(0,0,0,0.18);
    text-decoration: none;
    transition: transform 0.2s ease;
}
.osahan-nav-bottom-home:active {
    transform: scale(0.92);
}
.osahan-nav-bottom-home i {
    color: #ffffff !important;
    font-size: 24px;
}
.bottom-nav-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #ef4444;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Responsive Visibility */
@media (min-width: 768px) {
    .osahan-nav-bottom { display: none !important; }
    .cart-fab { display: flex !important; }
    body { padding-bottom: 0 !important; }
}
@media (max-width: 767px) {
    .osahan-nav-bottom { display: block !important; }
    .cart-fab { display: none !important; }
    body { padding-bottom: 70px !important; }
}

/* Cart drawer */
.cart-overlay{position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:1040;opacity:0;pointer-events:none;transition:opacity .3s}
.cart-overlay.show{opacity:1;pointer-events:all}
.cart-drawer{position:fixed;top:0;right:0;bottom:0;width:100%;max-width:420px;background:#fff;z-index:1050;transform:translateX(100%);transition:transform .3s;display:flex;flex-direction:column}
.cart-drawer.show{transform:translateX(0)}
.cart-drawer-header{display:flex;align-items:center;justify-content:space-between;padding:16px;border-bottom:1px solid #e5e7eb}
.cart-drawer-header h2{font-size:18px;font-weight:700}
.cart-close{background:none;border:none;font-size:22px;cursor:pointer;color:#999;padding:4px 8px}
.cart-items{flex:1;overflow-y:auto;padding:12px 16px}
.cart-item{display:flex;gap:12px;padding:10px 0;border-bottom:1px solid #f3f4f6}
.cart-item-info{flex:1;min-width:0}
.cart-item-name{font-weight:600;font-size:14px}
.cart-item-variants{font-size:12px;color:#888;margin-top:2px}
.cart-item-notes{font-size:12px;color:#f59e0b;margin-top:2px}
.cart-item-price{font-weight:700;font-size:14px;color:var(--brand-secondary,#e97e2b);white-space:nowrap}
.cart-item-qty{display:flex;align-items:center;gap:8px;margin-top:6px}
.qty-btn{width:28px;height:28px;border-radius:6px;border:1px solid #e5e7eb;background:#fff;font-size:16px;cursor:pointer;display:flex;align-items:center;justify-content:center}
.qty-btn:hover{background:#f3f4f6}
.qty-val{font-weight:600;min-width:20px;text-align:center}
.cart-item-remove{font-size:12px;color:#ef4444;cursor:pointer;background:none;border:none;margin-top:4px;padding:0}
.cart-empty{text-align:center;padding:40px 20px;color:#999}
.cart-empty-icon{font-size:48px;margin-bottom:12px;color:#cbd5e1}
.cart-footer{border-top:1px solid #e5e7eb;padding:16px}
.cart-total{display:flex;justify-content:space-between;font-size:18px;font-weight:700;margin-bottom:12px}
.btn-checkout{display:block;text-align:center;padding:14px;border-radius:10px;color:#fff;font-weight:700;text-decoration:none;font-size:16px}

/* Modal styling */
.wm-overlay{position:fixed;inset:0;background:rgba(0,0,0,.6);z-index:1060;display:none;align-items:flex-end;justify-content:center;backdrop-filter:blur(3px)}
.wm-overlay.show{display:flex;animation:wmFadeIn .25s}
@keyframes wmFadeIn{from{opacity:0}to{opacity:1}}

.wm-sheet{background:#fff;width:100%;max-width:520px;border-radius:24px 24px 0 0;max-height:90vh;display:flex;flex-direction:column;overflow:hidden;animation:wmSlideUp .3s cubic-bezier(.16,1,.3,1);box-shadow:0 -8px 40px rgba(0,0,0,.25)}
@keyframes wmSlideUp{from{transform:translateY(100%)}to{transform:translateY(0)}}

.wm-header{padding:20px 20px 14px;border-bottom:1px solid #f1f5f9;background:#fff;flex-shrink:0}
.wm-header-row{display:flex;align-items:stretch;justify-content:space-between;gap:16px}
.wm-header-info{flex:1;min-width:0;display:flex;flex-direction:column}
.wm-title{font-size:20px;font-weight:800;color:#0f172a;margin-bottom:4px;line-height:1.2;flex-shrink:0}
.modal-desc{color:#64748b;font-size:13px;margin-bottom:0;line-height:1.4;flex:1;overflow-y:auto}
.wm-base-price{font-size:16px;font-weight:700;color:var(--brand-secondary,#e97e2b);margin-top:auto;padding-top:8px;flex-shrink:0}

.wm-img-wrap{width:140px;height:140px;border-radius:16px;overflow:hidden;flex-shrink:0;box-shadow:0 4px 14px rgba(0,0,0,.1)}
.wm-img{width:100%;height:100%;object-fit:cover}
.wm-img-placeholder{display:flex;align-items:center;justify-content:center;font-size:50px;background:linear-gradient(135deg,#f3f4f6,#e5e7eb);color:#cbd5e1}

.wm-body{padding:20px 20px 5px 20px;overflow-y:auto;width:100%;flex:1}

.wm-group{margin-bottom:16px;border:1px solid #f1f5f9;border-radius:12px;overflow:hidden}
.wm-group-header{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;background:#f8fafc;border-bottom:1px solid #f1f5f9}
.wm-group-name{font-size:13px;font-weight:700;color:#334155}
.wm-badge{font-size:10px;padding:2px 8px;border-radius:999px;background:#fff7ed;color:#ea580c;font-weight:700}
.wm-badge-single{background:#f0fdf4;color:#15803d}

.wm-option{display:flex;align-items:center;gap:10px;padding:10px 14px;cursor:pointer;transition:background .15s;border-bottom:1px solid #f8fafc;user-select:none}
.wm-option:last-child{border-bottom:none}
.wm-option:hover{background:#fef9f5}
.wm-option.selected{background:#fff7ed;color:#ea580c}
.wm-opt-icon{font-size:16px;width:20px;text-align:center;color:#94a3b8;flex-shrink:0}
.wm-option.selected .wm-opt-icon{color:var(--brand-primary,#569d52)}
.wm-opt-label{flex:1;font-size:14px;font-weight:500;color:#374151}
.wm-option.selected .wm-opt-label{color:#ea580c;font-weight:600}
.wm-opt-extra{font-size:12px;font-weight:700;color:var(--brand-secondary,#e97e2b);background:#fff7ed;padding:2px 8px;border-radius:999px}

/* Topping counter row */
.wm-topping-row{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;border-bottom:1px solid #f8fafc;transition:background .15s}
.wm-topping-row:last-child{border-bottom:none}
.wm-topping-row.active{background:#fff7ed}
.wm-topping-info{flex:1;cursor:pointer;display:flex;align-items:center;gap:8px}
.wm-topping-name{font-size:14px;font-weight:500;color:#374151}
.wm-topping-row.active .wm-topping-name{color:#ea580c;font-weight:700}
.wm-topping-price{font-size:12px;font-weight:700;color:var(--brand,#f97316);background:#fff7ed;padding:2px 8px;border-radius:999px}
.wm-topping-ctrl{display:flex;align-items:center;gap:8px}
.wm-top-btn{width:30px;height:30px;border-radius:8px;border:1px solid #e2e8f0;background:#fff;color:#334155;font-size:16px;font-weight:700;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .15s}
.wm-top-btn:hover{background:#f1f5f9;border-color:#cbd5e1}
.wm-top-btn-plus{background:#fff7ed;border-color:#fed7aa;color:#ea580c}
.wm-top-btn-plus:hover{background:#ea580c;color:#fff;border-color:#ea580c}
.wm-top-qty{font-size:14px;font-weight:800;color:#0f172a;min-width:18px;text-align:center}

/* Summary Box */
.wm-summary-box{background:#fff7ed;border:1px solid #fed7aa;border-radius:12px;padding:12px 14px;margin-bottom:16px;animation:wmFadeIn .2s}
.wm-summary-title{font-size:12px;font-weight:800;color:#9a3412;margin-bottom:6px;text-transform:uppercase;letter-spacing:.5px}
.wm-summary-list{display:flex;flex-direction:column;gap:4px}
.wm-summary-item{font-size:13px;color:#7c2d12;display:flex;align-items:center;gap:6px}
.wm-sum-bullet{color:#ea580c;font-weight:bold}
.wm-sum-price{font-weight:700;color:#c2410c;margin-left:auto}

.wm-notes-label{font-size:13px;font-weight:700;color:#374151;margin-bottom:6px;margin-top:4px}
.wm-opt-text{font-weight:400;color:#94a3b8}
.wm-notes{width:100%;padding:10px 14px;border:1px solid #e2e8f0;border-radius:10px;font-size:14px;font-family:inherit;height:44px;resize:vertical;color:#0f172a;transition:border .2s}
.wm-notes:focus{outline:none;border-color:var(--brand,#f97316);box-shadow:0 0 0 3px rgba(249,115,22,.12)}

.wm-qty-row{display:flex;align-items:center;justify-content:center;gap:12px;margin:0}
.wm-qty-btn{width:38px;height:38px;border-radius:50%;border:2px solid var(--brand,#f97316);background:#fff;color:var(--brand,#f97316);font-size:18px;cursor:pointer;display:flex;align-items:center;justify-content:center;font-weight:700;transition:all .15s;flex-shrink:0}
.wm-qty-btn:hover{background:var(--brand,#f97316);color:#fff}
.wm-qty-val{font-size:18px;font-weight:800;color:#0f172a;min-width:24px;text-align:center}

.wm-add-btn{display:block;width:100%;padding:13px 16px;border-radius:12px;color:#fff;font-weight:800;border:none;font-size:15px;cursor:pointer;letter-spacing:.3px;transition:opacity .15s;box-shadow:0 4px 14px rgba(249,115,22,.35)}
.wm-add-btn:hover{opacity:.9}
.wm-cancel-btn{display:block;width:100%;padding:11px;margin-top:8px;color:#94a3b8;background:none;border:none;font-size:14px;cursor:pointer;font-weight:500}
.wm-cancel-btn:hover{color:#374151}

/* Modal Inline Actions (Quantity + Add Button in single horizontal row) */
.wm-modal-actions-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
    margin-bottom: 20px;
}
.wm-modal-actions-row .wm-qty-row {
    flex-shrink: 0;
}
.wm-modal-actions-row .wm-add-btn {
    flex: 1;
}

/* Modal Close Floating X Button in top right */
.wm-modal-close-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    font-size: 18px;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.2s, color 0.2s;
}
.wm-modal-close-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.wm-modal-total-summary {
    text-align: center;
    margin-top: 12px;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
}
.wm-modal-total-summary span {
    font-weight: 800;
    font-size: 16px;
    color: var(--brand-secondary, #e97e2b);
}

.wm-featured-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    background: #fef3c7;
    color: #d97706;
    padding: 2px 8px;
    border-radius: 999px;
    margin-bottom: 6px;
}

/* Section title */
.section-title{font-size:18px;font-weight:700;margin:20px 0 12px;padding-bottom:8px;border-bottom:2px solid var(--brand,#f97316)}

/* Customer Account & Form Cards */
.customer-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #f1f5f9;
    max-width: 500px;
    margin: 16px 16px 40px 16px;
}
.customer-card h2 {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
}
.customer-input-group {
    margin-bottom: 16px;
}
.customer-input-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}
.customer-input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid #cbd5e1;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
}
.customer-input:focus {
    border-color: var(--brand-primary, #569d52);
}
.customer-btn {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    background: var(--brand-primary, #569d52);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s;
    text-align: center;
    display: inline-block;
    text-decoration: none;
}
.customer-btn:hover {
    opacity: 0.92;
}

/* Alert notifications */
.alert-box {
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}
.alert-error { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
.alert-success { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; }

/* Buttons in Purchase History */
.btn-whatsapp-resend {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #25d366;
    color: #ffffff;
    font-weight: 700;
    font-size: 13px;
    padding: 10px 16px;
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.2s;
}
.btn-whatsapp-resend:hover { background: #1da851; color: #ffffff; }

.btn-copy-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #f1f5f9;
    color: #334155;
    font-weight: 600;
    font-size: 13px;
    padding: 10px 16px;
    border-radius: 12px;
    border: 1px solid #cbd5e1;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-copy-wa:hover { background: #e2e8f0; }
