:root {
    --deep-pink: #d81b60;
    --bright-pink: #ff80ab;
    --dark-blue: #c2185b;
    --light-blue: #fce4ec;
    --soft-pink: #fff5f8;
    --white: #ffffff;
    --yellow: #ffeb3b;
    --text-dark: #6a1b3f;
    --whatsapp-green: #25D366;
}
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; scroll-behavior: smooth; }
body { background: linear-gradient(180deg, #fff5f8 0%, #ffeef5 100%); color: var(--text-dark); line-height: 1.6; overflow-x: hidden; position: relative; }

/* FLOATING CANDY BACKGROUND */
.candy-bg { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; overflow: hidden; }
.candy-float { position: absolute; font-size: 2rem; opacity: 0.15; animation: floatCandy 15s linear infinite; }
@keyframes floatCandy {
    0% { transform: translateY(100vh) rotate(0deg); }
    100% { transform: translateY(-100px) rotate(360deg); }
}
#publicSite, #ownerSite { position: relative; z-index: 2; }

/* NAVBAR */
.navbar { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 15px rgba(216, 27, 96, 0.08); }
.nav-logo { font-family: 'Fredoka One', cursive; font-size: 1.5rem; color: var(--deep-pink); }
.nav-links { display: flex; gap: 15px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--text-dark); font-weight: 600; font-size: 0.9rem; }
.nav-order-btn { background: var(--deep-pink); color: var(--white) !important; padding: 8px 15px; border-radius: 20px; }

/* HERO */
.hero { background: linear-gradient(135deg, #ff80ab 0%, #d81b60 100%); color: var(--white); padding: 80px 20px 60px; border-bottom-left-radius: 40px; border-bottom-right-radius: 40px; position: relative; overflow: hidden; text-align: center; }
.hero::before { content: ''; position: absolute; top: -50px; right: -50px; width: 250px; height: 250px; background: #fff; border-radius: 50%; opacity: 0.2; filter: blur(60px); }
.hero::after { content: '🍭'; position: absolute; top: 20px; left: 20px; font-size: 3rem; opacity: 0.3; animation: float 3s ease-in-out infinite; }
.main-logo { width: 180px; height: 180px; border-radius: 50%; object-fit: cover; box-shadow: 0 10px 40px rgba(216, 27, 96, 0.5); margin-bottom: 20px; border: 5px solid var(--white); animation: float 3s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0px); } 50% { transform: translateY(-10px); } }
.hero-title { font-family: 'Fredoka One', cursive; font-size: 2.2rem; line-height: 1.2; margin-bottom: 10px; }
.hero-subtitle { font-size: 1rem; color: #ffe4ec; margin-bottom: 20px; }
.hero-price-badge { background: rgba(255, 255, 255, 0.25); padding: 10px 20px; border-radius: 20px; display: inline-block; margin-bottom: 30px; font-weight: 600; font-size: 0.9rem; backdrop-filter: blur(5px); }
.hero-buttons { display: flex; flex-direction: column; gap: 15px; max-width: 300px; margin: 0 auto; }

/* BUTTONS */
.btn { display: inline-block; padding: 14px 25px; border-radius: 50px; text-decoration: none; font-weight: 600; text-align: center; transition: all 0.3s ease; border: none; cursor: pointer; font-size: 1rem; position: relative; overflow: hidden; }
.btn:active { transform: scale(0.97); }
.btn-primary { background-color: var(--deep-pink); color: var(--white); box-shadow: 0 5px 20px rgba(216, 27, 96, 0.35); }
.btn-primary:hover { background: var(--bright-pink); box-shadow: 0 8px 25px rgba(216, 27, 96, 0.5); }
.btn-whatsapp { background-color: var(--whatsapp-green); color: var(--white); box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4); }
.btn-outline { background-color: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-dark { background-color: var(--dark-blue); color: var(--white); }

/* SECTIONS */
.section { padding: 60px 20px; }
.section-title { text-align: center; font-family: 'Fredoka One', cursive; font-size: 2rem; color: var(--deep-pink); margin-bottom: 10px; }
.section-subtitle { text-align: center; margin-bottom: 40px; color: #a17a8b; font-size: 0.95rem; }

/* PRODUCTS */
.product-grid { display: flex; flex-direction: column; gap: 25px; max-width: 500px; margin: 0 auto; }
.product-card { background: var(--white); border-radius: 25px; padding: 20px; box-shadow: 0 10px 30px rgba(216, 27, 96, 0.08); text-align: center; border: 2px solid #ffe4ec; position: relative; transition: transform 0.3s; display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 15px 40px rgba(216, 27, 96, 0.15); border-color: var(--bright-pink); }
.badge { position: absolute; top: 15px; right: 15px; background: linear-gradient(135deg, var(--bright-pink), var(--deep-pink)); color: var(--white); padding: 5px 12px; border-radius: 20px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; z-index: 10; box-shadow: 0 4px 10px rgba(216, 27, 96, 0.3); }
.product-img { width: 100%; height: 200px; object-fit: cover; border-radius: 15px; margin-bottom: 15px; background: #fce4ec; }
.product-title { font-size: 1.5rem; color: var(--dark-blue); margin-bottom: 5px; font-family: 'Fredoka One', cursive; }
.product-desc { font-size: 0.9rem; color: #888; margin-bottom: 10px; flex-grow: 1; }
.product-price { font-size: 1.8rem; font-weight: 700; color: var(--deep-pink); margin-bottom: 15px; }
.btn-order { background-color: var(--dark-blue); color: var(--white); width: 100%; }
.btn-order:hover { background-color: var(--deep-pink); }

/* BANNER */
.combo-banner { background: linear-gradient(135deg, #ff80ab 0%, #d81b60 100%); border-radius: 30px; padding: 40px 20px; text-align: center; color: var(--white); max-width: 500px; margin: 0 auto; box-shadow: 0 15px 40px rgba(216, 27, 96, 0.25); position: relative; overflow: hidden; }
.combo-banner::after { content: '🍬'; position: absolute; bottom: 10px; right: 20px; font-size: 3rem; opacity: 0.3; }
.combo-banner h2 { font-family: 'Fredoka One', cursive; font-size: 2rem; margin-bottom: 10px; }
.combo-banner p { margin-bottom: 25px; font-size: 1rem; }
.combo-banner small { font-size: 0.8rem; opacity: 0.9; }

/* FEATURES */
.features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; max-width: 500px; margin: 0 auto; }
.feature-card { background: var(--white); padding: 25px 15px; border-radius: 20px; text-align: center; border: 2px solid #ffe4ec; transition: transform 0.3s; }
.feature-card:hover { transform: translateY(-5px); border-color: var(--bright-pink); }
.feature-icon { font-size: 2rem; margin-bottom: 10px; display: block; }
.feature-title { font-size: 0.95rem; font-weight: 700; color: var(--dark-blue); margin-bottom: 5px; }
.feature-desc { font-size: 0.8rem; color: #888; }

/* LOCATION */
.location-box { background: linear-gradient(135deg, #ff80ab 0%, #d81b60 100%); color: var(--white); padding: 40px 20px; border-radius: 30px; text-align: center; max-width: 500px; margin: 0 auto; box-shadow: 0 15px 40px rgba(216, 27, 96, 0.2); }
.location-box h3 { color: var(--white); font-size: 1.8rem; margin-bottom: 10px; font-family: 'Fredoka One', cursive; }
.location-box p { margin-bottom: 15px; color: #ffe4ec; }
.social-links { display: flex; justify-content: center; gap: 15px; margin-top: 25px; }
.social-btn { background: rgba(255,255,255,0.2); color: var(--white); padding: 10px 20px; border-radius: 50px; text-decoration: none; font-size: 0.9rem; border: 1px solid rgba(255,255,255,0.3); transition: background 0.3s; }
.social-btn:hover { background: rgba(255,255,255,0.35); }
footer { background: #c2185b; color: #ffc9dd; text-align: center; padding: 30px 20px; font-size: 0.8rem; }
footer strong { color: #fff; }

/* MODALS */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(216, 27, 96, 0.35); backdrop-filter: blur(8px); display: none; justify-content: center; align-items: center; z-index: 2000; padding: 20px; }
.modal-overlay[style*="flex"] { display: flex !important; }
.modal-content { background: var(--white); padding: 30px; border-radius: 25px; width: 100%; max-width: 400px; position: relative; box-shadow: 0 20px 60px rgba(216, 27, 96, 0.35); animation: popIn 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55); max-height: 90vh; overflow-y: auto; border: 3px solid #ffe4ec; }
@keyframes popIn { from { transform: scale(0.7); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.close-btn { position: absolute; top: 15px; right: 20px; font-size: 2rem; cursor: pointer; color: #d8a0b8; }
.close-btn:hover { color: var(--deep-pink); }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 5px; color: var(--dark-blue); }
.form-input { width: 100%; padding: 12px; border: 2px solid #ffe4ec; border-radius: 12px; font-size: 0.95rem; transition: border 0.3s; background: #fff; }
.form-input:focus { outline: none; border-color: var(--bright-pink); background: #fff9fb; }
.qty-control { display: flex; align-items: center; border: 2px solid #ffe4ec; border-radius: 12px; overflow: hidden; }
.qty-control button { background: #ffe4ec; border: none; padding: 12px 20px; font-size: 1.2rem; cursor: pointer; font-weight: bold; color: var(--deep-pink); }
.qty-control input { width: 100%; text-align: center; border: none; font-size: 1.1rem; font-weight: 600; background: #fff; }
.radio-group { display: flex; gap: 15px; }
.radio-label { display: flex; align-items: center; gap: 5px; font-size: 0.9rem; cursor: pointer; }
.total-box { background: #fff5f8; padding: 15px; border-radius: 15px; display: flex; justify-content: space-between; font-weight: 700; font-size: 1.2rem; color: var(--deep-pink); border: 2px dashed var(--bright-pink); }

/* THANK YOU MODAL */
.thank-you-card { background: linear-gradient(160deg, #fff 0%, #fff5f8 100%); padding: 40px 30px; border-radius: 30px; max-width: 400px; width: 100%; text-align: center; position: relative; overflow: hidden; box-shadow: 0 25px 70px rgba(216, 27, 96, 0.4); border: 3px solid #ffe4ec; animation: popIn 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55); }
.candy-rain { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; overflow: hidden; }
.candy-fall { position: absolute; top: -50px; font-size: 1.5rem; animation: candyFall 3s linear infinite; }
@keyframes candyFall { 0% { transform: translateY(-50px) rotate(0deg); opacity: 1; } 100% { transform: translateY(500px) rotate(360deg); opacity: 0; } }
.thank-you-icon { font-size: 4rem; animation: bounce 1s ease-in-out infinite; display: inline-block; }
@keyframes bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
.thank-you-title { font-family: 'Fredoka One', cursive; font-size: 2.2rem; color: var(--deep-pink); margin: 10px 0; }
.thank-you-msg { font-size: 1.1rem; color: var(--text-dark); margin-bottom: 10px; }
.thank-you-sub { font-size: 0.9rem; color: #a17a8b; margin-bottom: 20px; line-height: 1.5; }
.thank-you-summary { background: #fff5f8; padding: 15px; border-radius: 15px; font-size: 0.85rem; color: var(--text-dark); border: 2px dashed var(--bright-pink); text-align: left; }

/* OWNER DASHBOARD */
.owner-nav { background: linear-gradient(135deg, #ff80ab 0%, #d81b60 100%); }
.owner-nav .nav-logo { color: var(--white); }
.owner-container { padding: 40px 20px; max-width: 1000px; margin: 0 auto; min-height: 80vh; }
.login-card { background: var(--white); padding: 40px; border-radius: 25px; box-shadow: 0 15px 40px rgba(216, 27, 96, 0.15); max-width: 400px; margin: 50px auto; border: 3px solid #ffe4ec; }
.dashboard-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 10px; }
.dashboard-header h2 { font-family: 'Fredoka One', cursive; color: var(--deep-pink); font-size: 1.8rem; }
.dashboard-tabs { display: flex; gap: 10px; margin-bottom: 20px; border-bottom: 3px solid #ffe4ec; padding-bottom: 10px; }
.tab-btn { background: none; border: none; padding: 10px 20px; font-size: 1rem; font-weight: 600; color: #a17a8b; cursor: pointer; border-radius: 12px; transition: all 0.3s; }
.tab-btn.active { background: linear-gradient(135deg, var(--bright-pink), var(--deep-pink)); color: var(--white); box-shadow: 0 5px 15px rgba(216, 27, 96, 0.3); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 15px; margin-bottom: 25px; }
.stat-card { background: var(--white); padding: 20px; border-radius: 15px; box-shadow: 0 5px 20px rgba(216, 27, 96, 0.08); text-align: center; border-left: 5px solid var(--deep-pink); border-top: 2px solid #ffe4ec; }
.stat-card h4 { font-size: 0.8rem; color: #a17a8b; text-transform: uppercase; margin-bottom: 5px; }
.stat-card p { font-size: 1.5rem; font-weight: 700; color: var(--deep-pink); }

/* BULK ACTIONS */
.bulk-actions { background: var(--white); padding: 15px; border-radius: 15px; display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 15px; flex-wrap: wrap; border: 2px solid #ffe4ec; box-shadow: 0 5px 15px rgba(216, 27, 96, 0.05); }

/* ORDERS TABLE */
.table-wrapper { overflow-x: auto; background: var(--white); border-radius: 15px; box-shadow: 0 5px 20px rgba(216, 27, 96, 0.08); border: 2px solid #ffe4ec; }
.orders-table { width: 100%; border-collapse: collapse; min-width: 900px; }
.orders-table th, .orders-table td { padding: 12px; text-align: left; border-bottom: 1px solid #ffe4ec; font-size: 0.85rem; }
.orders-table th { background: #fff5f8; color: var(--deep-pink); font-weight: 700; }
.status-badge { padding: 5px 10px; border-radius: 20px; font-size: 0.7rem; font-weight: 700; }
.status-pending { background: #fff3cd; color: #856404; }
.status-confirmed { background: #d1ecf1; color: #0c5460; }
.status-completed { background: #d4edda; color: #155724; }
.action-btn { background: var(--dark-blue); color: var(--white); border: none; padding: 6px 10px; border-radius: 8px; cursor: pointer; font-size: 0.7rem; margin: 2px; font-weight: 600; }
.action-btn:hover { background: var(--deep-pink); }
.action-btn.green { background: #25D366; }
.action-btn.green:hover { background: #1da851; }
.action-btn.blue { background: #2196F3; }
.action-btn.blue:hover { background: #1976D2; }

/* PRODUCT MANAGER */
.product-manager-layout { display: flex; flex-direction: column; gap: 30px; }
.manager-form, .manager-list { background: var(--white); padding: 25px; border-radius: 20px; box-shadow: 0 5px 20px rgba(216, 27, 96, 0.08); border: 2px solid #ffe4ec; }
.manager-form h3, .manager-list h3 { margin-bottom: 15px; color: var(--deep-pink); font-family: 'Fredoka One', cursive; }
.dash-product-item { display: flex; align-items: center; gap: 15px; padding: 15px; border-bottom: 1px solid #ffe4ec; }
.dash-product-item:last-child { border-bottom: none; }
.dash-product-item img { width: 60px; height: 60px; object-fit: cover; border-radius: 10px; }
.dash-product-info { flex-grow: 1; }
.dash-product-info h4 { margin: 0; font-size: 1rem; color: var(--dark-blue); }
.dash-product-info p { margin: 0; font-size: 0.85rem; color: #888; }
.dash-actions { display: flex; gap: 5px; }
.btn-icon { background: #ffe4ec; border: none; padding: 8px; border-radius: 8px; cursor: pointer; font-size: 1rem; }

@media (min-width: 768px) {
    .product-grid { flex-direction: row; max-width: 800px; flex-wrap: wrap; justify-content: center; }
    .product-card { flex: 1; min-width: 250px; max-width: 350px; }
    .features-grid { grid-template-columns: repeat(4, 1fr); max-width: 900px; }
    .hero-buttons { flex-direction: row; max-width: 100%; justify-content: center; }
    .main-logo { width: 220px; height: 220px; }
    .hero-title { font-size: 3rem; }
    .product-manager-layout { flex-direction: row; }
    .manager-form { flex: 1; }
    .manager-list { flex: 2; }
}

/* SEQUENTIAL BULK SENDER PANEL */
.bulk-panel { position: fixed; bottom: 20px; right: 20px; left: 20px; background: var(--white); border-radius: 20px; box-shadow: 0 20px 60px rgba(216, 27, 96, 0.35); z-index: 3000; max-width: 400px; margin: 0 auto; border: 3px solid #ffe4ec; animation: popIn 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55); }
.bulk-panel-header { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; border-bottom: 2px solid #ffe4ec; }
.bulk-panel-header h3 { font-family: 'Fredoka One', cursive; color: var(--deep-pink); font-size: 1.1rem; }
.bulk-panel-header .close-btn { position: static; font-size: 1.5rem; }
.bulk-panel-body { padding: 20px; }
.progress-track { width: 100%; height: 12px; background: #ffe4ec; border-radius: 10px; overflow: hidden; margin-bottom: 15px; }
.progress-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--bright-pink), var(--deep-pink)); transition: width 0.4s ease; border-radius: 10px; }
.bulk-progress-text { font-weight: 700; color: var(--deep-pink); text-align: center; margin-bottom: 10px; font-size: 1rem; }
.bulk-current-order { background: #fff5f8; padding: 15px; border-radius: 15px; font-size: 0.85rem; color: var(--text-dark); border: 2px dashed var(--bright-pink); min-height: 60px; }
.bulk-current-order strong { color: var(--deep-pink); }

/* ============ FLAVOR TAGS ON PRODUCT CARDS ============ */
.flavor-tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-bottom: 12px; }
.flavor-tag {
    background: linear-gradient(135deg, #ff80ab, #d81b60);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    animation: tagPop 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55) backwards;
    box-shadow: 0 3px 8px rgba(216, 27, 96, 0.25);
}
.flavor-tag:nth-child(1) { animation-delay: 0.1s; }
.flavor-tag:nth-child(2) { animation-delay: 0.2s; }
.flavor-tag:nth-child(3) { animation-delay: 0.3s; }
.flavor-tag:nth-child(4) { animation-delay: 0.4s; }
.flavor-tag:nth-child(5) { animation-delay: 0.5s; }
@keyframes tagPop {
    0% { transform: scale(0) rotate(-180deg); opacity: 0; }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

/* ============ FLAVOR SELECTION CHIPS (Order Modal) ============ */
.flavor-options { display: flex; flex-wrap: wrap; gap: 10px; }
.flavor-chip {
    background: #fff5f8;
    border: 2px solid #ffe4ec;
    color: var(--text-dark);
    padding: 12px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    position: relative;
    overflow: visible;
}
.flavor-chip:hover { background: #ffe4ec; transform: translateY(-3px) scale(1.05); border-color: #ff80ab; }
.flavor-chip.selected {
    background: linear-gradient(135deg, #ff80ab, #d81b60);
    color: white;
    border-color: #d81b60;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(216, 27, 96, 0.4);
    animation: chipBounce 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}
@keyframes chipBounce {
    0% { transform: scale(1); }
    40% { transform: scale(1.25) rotate(3deg); }
    70% { transform: scale(1.05) rotate(-3deg); }
    100% { transform: scale(1.1) rotate(0deg); }
}
.flavor-chip.sparkling::after {
    content: '✨';
    position: absolute;
    top: -12px;
    right: -8px;
    font-size: 1.2rem;
    animation: sparkleFly 0.7s ease-out forwards;
}
.flavor-chip.sparkling::before {
    content: '💖';
    position: absolute;
    bottom: -10px;
    left: -6px;
    font-size: 0.9rem;
    animation: sparkleFly2 0.7s ease-out forwards;
}
@keyframes sparkleFly {
    0% { opacity: 0; transform: scale(0.5) rotate(0deg); }
    50% { opacity: 1; transform: scale(1.4) rotate(180deg); }
    100% { opacity: 0; transform: scale(0.8) rotate(360deg) translate(15px, -25px); }
}
@keyframes sparkleFly2 {
    0% { opacity: 0; transform: scale(0.5); }
    50% { opacity: 1; transform: scale(1.3); }
    100% { opacity: 0; transform: scale(0.7) translate(-15px, 15px); }
}

/* ============ SWEET CANDY ANIMATIONS ============ */
.product-card { animation: cardFloatIn 0.7s ease-out backwards; }
.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.25s; }
.product-card:nth-child(3) { animation-delay: 0.4s; }
.product-card:nth-child(4) { animation-delay: 0.55s; }
@keyframes cardFloatIn {
    0% { opacity: 0; transform: translateY(40px) scale(0.9); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.product-img { transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55); }
.product-card:hover .product-img { transform: scale(1.08) rotate(3deg); }

.btn-order {
    background: linear-gradient(135deg, #d81b60, #ad1457);
    animation: buttonGlow 2.5s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}
.btn-order::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s;
}
.btn-order:hover::before { left: 100%; }
@keyframes buttonGlow {
    0%,100% { box-shadow: 0 5px 15px rgba(216, 27, 96, 0.3); }
    50% { box-shadow: 0 5px 30px rgba(216, 27, 96, 0.6), 0 0 20px rgba(255, 128, 171, 0.4); }
}

.badge { animation: badgeWiggle 2s ease-in-out infinite; }
@keyframes badgeWiggle {
    0%,100% { transform: rotate(-4deg) scale(1); }
    50% { transform: rotate(4deg) scale(1.08); }
}

.main-logo { animation: logoFloat 4s ease-in-out infinite; }
@keyframes logoFloat {
    0%,100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-12px) rotate(2deg); }
}

.section-title { position: relative; }
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #ff80ab, #d81b60);
    border-radius: 4px;
    margin: 10px auto 0;
    animation: lineExpand 2s ease-in-out infinite;
}
@keyframes lineExpand {
    0%,100% { width: 60px; }
    50% { width: 100px; }
}

/* Modal entrance sparkle */
.modal-content { animation: modalSplash 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55); }
@keyframes modalSplash {
    0% { transform: scale(0.5) rotate(-10deg); opacity: 0; }
    60% { transform: scale(1.05) rotate(2deg); }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

/* Thank you icon extra magic */
.thank-you-icon { text-shadow: 0 0 20px rgba(255, 128, 171, 0.8); }

/* ============ FLAVOR MANAGER (Owner Form) ============ */
.flavor-input-row { display: flex; gap: 8px; align-items: stretch; }
.flavor-input-row .form-input { flex: 1; }
.btn-add-flavor {
    background: linear-gradient(135deg, #ff80ab, #d81b60);
    color: white;
    border: none;
    padding: 12px 18px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.2s;
    box-shadow: 0 4px 12px rgba(216, 27, 96, 0.25);
}
.btn-add-flavor:active { transform: scale(0.95); }
.flavor-manager-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; min-height: 10px; }
.flavor-manager-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #ffe4ec, #ffc9dd);
    color: var(--deep-pink);
    padding: 8px 12px 8px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 700;
    border: 2px solid #ff80ab;
    animation: tagSlideIn 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}
@keyframes tagSlideIn {
    0% { transform: scale(0) rotate(-180deg); opacity: 0; }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}
.flavor-manager-tag button {
    background: rgba(216, 27, 96, 0.15);
    border: none;
    color: var(--deep-pink);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: all 0.2s;
}
.flavor-manager-tag button:hover { background: var(--deep-pink); color: white; transform: rotate(90deg); }
.flavor-hint { color: #a17a8b; font-size: 0.72rem; display: block; margin-top: 8px; font-style: italic; }

/* ============ PAYMENT CELEBRATION ANIMATION ============ */
.payment-celebration {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(circle at center, #fff5f8 0%, #ffc9dd 100%);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.payment-celebration.active { display: flex; }
.confetti-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; }
.confetti-piece {
    position: absolute;
    top: -50px;
    font-size: 1.8rem;
    animation: confettiFall 3s linear forwards;
    will-change: transform;
}
@keyframes confettiFall {
    0% { transform: translateY(0) rotate(0deg); opacity: 1; }
    100% { transform: translateY(105vh) rotate(720deg); opacity: 0.8; }
}
.celebration-center { text-align: center; position: relative; z-index: 2; padding: 20px; }
.celebration-ring {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 180px; height: 180px;
    border: 4px solid transparent;
    border-top-color: #d81b60;
    border-right-color: #ff80ab;
    border-radius: 50%;
    animation: ringSpin 1.2s linear infinite;
    opacity: 0.7;
}
@keyframes ringSpin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}
.celebration-check {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff80ab, #d81b60);
    color: white;
    font-size: 70px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 10px 40px rgba(216, 27, 96, 0.5), 0 0 60px rgba(255, 128, 171, 0.6);
    animation: checkBounce 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55) forwards;
    position: relative;
    z-index: 3;
}
@keyframes checkBounce {
    0% { transform: scale(0) rotate(-180deg); opacity: 0; }
    60% { transform: scale(1.3) rotate(10deg); opacity: 1; }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}
.celebration-title {
    font-family: 'Fredoka One', cursive;
    font-size: 2.5rem;
    color: var(--deep-pink);
    margin-bottom: 10px;
    animation: titlePop 0.6s ease-out 0.4s backwards;
    text-shadow: 0 3px 10px rgba(216, 27, 96, 0.2);
}
@keyframes titlePop {
    0% { transform: scale(0.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
.celebration-subtitle {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 25px;
    animation: subtitleFade 0.6s ease-out 0.7s backwards;
}
@keyframes subtitleFade {
    0% { transform: translateY(20px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}
.celebration-progress {
    width: 220px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    margin: 0 auto 15px;
    overflow: hidden;
    box-shadow: inset 0 2px 5px rgba(216, 27, 96, 0.15);
}
.celebration-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #ff80ab, #d81b60);
    border-radius: 8px;
    animation: progressFill 2s ease-out forwards;
}
@keyframes progressFill {
    0% { width: 0%; }
    100% { width: 100%; }
}
.celebration-note {
    color: #a17a8b;
    font-size: 0.85rem;
    animation: notePulse 1.5s ease-in-out infinite;
}
@keyframes notePulse {
    0%,100% { opacity: 0.6; }
    50% { opacity: 1; }
}
/* Emoji burst around checkmark */
.celebration-burst {
    position: absolute;
    top: 50%; left: 50%;
    font-size: 2rem;
    pointer-events: none;
    animation: burstOut 1s ease-out forwards;
    z-index: 4;
}
@keyframes burstOut {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
    50% { transform: translate(calc(-50% + var(--bx)), calc(-50% + var(--by))) scale(1.3); opacity: 1; }
    100% { transform: translate(calc(-50% + var(--bx2)), calc(-50% + var(--by2))) scale(0.5); opacity: 0; }
}

/* ============ BOOKING PAGE ============ */
.packages-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; max-width: 1100px; margin: 0 auto; }
.package-card { background: var(--white); border: 3px solid #ffe4ec; border-radius: 25px; padding: 24px 20px; text-align: center; box-shadow: 0 10px 30px rgba(216, 27, 96, 0.08); cursor: pointer; transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s; position: relative; display: flex; flex-direction: column; justify-content: space-between; }
.package-card:hover { transform: translateY(-4px); border-color: var(--bright-pink); }
.package-card.selected { border-color: var(--deep-pink); background: linear-gradient(180deg, #fff 0%, #fff4f8 100%); box-shadow: 0 14px 36px rgba(216, 27, 96, 0.22); }
.package-tag { display: inline-block; background: linear-gradient(135deg, var(--bright-pink), var(--deep-pink)); color: #fff; font-size: 0.72rem; font-weight: 700; padding: 4px 12px; border-radius: 20px; margin-bottom: 10px; text-transform: uppercase; }
.package-name { font-family: 'Fredoka One', cursive; color: var(--deep-pink); font-size: 1.45rem; margin-bottom: 6px; }
.package-guests { font-weight: 600; color: var(--dark-blue); font-size: 0.95rem; margin-bottom: 10px; }
.package-price { font-family: 'Fredoka One', cursive; font-size: 1.8rem; color: var(--white); background: linear-gradient(135deg, #ff4081, #d81b60); padding: 10px 16px; border-radius: 18px; margin: 8px 0 12px; }
.package-duration { font-size: 0.85rem; color: #666; font-weight: 500; }
.perks-card { background: var(--white); border: 2px solid #ffe4ec; border-radius: 25px; padding: 28px 24px; max-width: 820px; margin: 28px auto 0; box-shadow: 0 10px 30px rgba(216, 27, 96, 0.08); }
.perks-card h3 { font-family: 'Fredoka One', cursive; color: var(--deep-pink); text-align: center; margin-bottom: 14px; font-size: 1.35rem; }
.perks-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px 18px; padding: 0; margin: 0; }
.perks-list li { font-size: 0.92rem; color: var(--text-dark); display: flex; align-items: flex-start; gap: 8px; }
.booking-form-card { background: var(--white); border: 3px solid #ffe4ec; border-radius: 28px; padding: 30px 24px; max-width: 680px; margin: 0 auto; box-shadow: 0 15px 40px rgba(216, 27, 96, 0.12); }
.upgrade-tip { background: #fff8e1; border: 2px solid #ffca28; color: #795548; padding: 12px 15px; border-radius: 14px; font-size: 0.88rem; margin: 12px 0; display: none; }
.deposit-breakdown { background: #fff4f8; border: 2px dashed #ff80ab; border-radius: 18px; padding: 16px; margin: 18px 0; }
.deposit-row { display: flex; justify-content: space-between; align-items: center; padding: 5px 0; font-size: 0.95rem; }
.deposit-row.highlight { font-weight: 700; color: var(--deep-pink); font-size: 1.08rem; border-top: 1px solid #ffd6e5; margin-top: 6px; padding-top: 10px; }
.booking-rules-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 900px; margin: 18px auto 0; }
.rule-pill { background: rgba(255,255,255,0.22); color: #fff; padding: 8px 14px; border-radius: 20px; font-size: 0.82rem; font-weight: 600; backdrop-filter: blur(5px); }
.import-box { background: #fff9fb; border: 2px dashed #ff80ab; border-radius: 18px; padding: 16px; margin-bottom: 18px; }

/* ============ BOOK WITH US SHORTCUT & MATCHING TILE ============ */
.nav-links a { white-space: nowrap; }
@media (max-width: 480px) {
    .navbar { padding: 12px 14px; }
    .nav-logo { font-size: 1.05rem; white-space: nowrap; }
    .nav-links { gap: 10px; font-size: 0.8rem; }
    .nav-order-btn { padding: 6px 12px; }
}
.hero-shortcut-wrap {
    margin-top: 12px;
    display: flex;
    justify-content: center;
}
.hero-book-shortcut {
    padding: 9px 22px;
    font-size: 0.88rem;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
}
.location-box.book-tile {
    padding: 28px 20px;
}
.location-box.book-tile p:last-of-type {
    margin-bottom: 16px;
}

/* ============ FLOATING WHATSAPP FAB ============ */
.whatsapp-fab {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 26px rgba(37, 211, 102, 0.42);
    z-index: 1500;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.whatsapp-fab:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 14px 32px rgba(37, 211, 102, 0.52);
}

.btn-pdf { background: linear-gradient(135deg, #2d1620 0%, #5c2238 100%); color: #ffffff !important; border: none; border-radius: 30px; padding: 12px 22px; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; box-shadow: 0 6px 18px rgba(45, 22, 32, 0.22); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.btn-pdf:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(216, 27, 96, 0.3); }
.receipt-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 16px; }

.thank-you-card { max-height: 90vh; overflow-y: auto; }
.track-share-box {
  background: linear-gradient(135deg, #fff5f8 0%, #ffe8f1 100%);
  border: 1.5px dashed #f48fb1;
  border-radius: 16px;
  padding: 12px 14px;
  margin-top: 12px;
  text-align: left;
  box-sizing: border-box;
}
.track-share-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ad1457;
}
.track-share-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d81b60;
  box-shadow: 0 0 0 3px rgba(216, 27, 96, 0.18);
  flex-shrink: 0;
}
.track-share-sub {
  font-size: 0.78rem;
  color: #6e4b59;
  margin-top: 3px;
}
.track-share-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.track-url-input {
  flex: 1;
  min-width: 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: #2d1620;
  background: #ffffff;
  border: 1px solid #f8bbd0;
  border-radius: 10px;
  padding: 9px 10px;
  outline: none;
}
.btn-copy-track {
  background: linear-gradient(135deg, #ff6fa5 0%, #d81b60 100%);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 9px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(216, 27, 96, 0.24);
  transition: transform 0.15s ease, background 0.2s ease;
}
.btn-copy-track:hover { transform: translateY(-1px); }
.btn-copy-track.copied {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.28);
}

/* SURGICAL RESPONSIVE & THEME GLOW */
*, *::before, *::after { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: hidden; }
img, svg, canvas, video { max-width: 100%; }

.navbar {
  width: 100%;
  padding: 14px clamp(14px, 4vw, 40px);
}
.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: clamp(8px, 2vw, 22px);
}
.section {
  width: 100%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding: clamp(32px, 5vw, 56px) clamp(16px, 4vw, 32px);
}
#location {
  padding-bottom: 22px;
}
.features-grid {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  gap: clamp(12px, 2vw, 20px);
}
.product-grid {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  gap: clamp(18px, 3vw, 28px);
}
@media (min-width: 768px) {
  .product-grid { max-width: 1100px; }
  .product-card { flex: 1 1 280px; max-width: 340px; }
}
@media (max-width: 480px) {
  .hero { padding: 56px 16px 46px; }
  .hero-title { font-size: clamp(1.9rem, 8vw, 2.5rem); }
  .product-card { padding: 18px; }
}
.product-img {
  width: 100%;
  height: clamp(195px, 26vw, 240px);
  object-fit: cover;
  image-rendering: auto;
}
.location-box,
.location-box.book-tile {
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 40px) clamp(18px, 4vw, 32px);
}
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* Random Sweet Haven Theme Glow for Product Cards */
.product-card.theme-glow {
  border: 2px solid rgba(var(--glow-rgb, 255, 128, 171), 0.72);
  box-shadow:
    0 10px 28px rgba(var(--glow-rgb, 216, 27, 96), 0.24),
    0 0 18px rgba(var(--glow-rgb, 255, 128, 171), 0.28);
  animation: cardFloatIn 0.7s ease-out backwards, sweetThemeGlow 3.2s ease-in-out infinite alternate;
}
.product-card.theme-glow:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgb(var(--glow-rgb, 216, 27, 96));
  box-shadow:
    0 16px 38px rgba(var(--glow-rgb, 216, 27, 96), 0.34),
    0 0 28px rgba(var(--glow-rgb, 255, 128, 171), 0.48);
}
@keyframes sweetThemeGlow {
  0% {
    box-shadow:
      0 8px 24px rgba(var(--glow-rgb, 216, 27, 96), 0.20),
      0 0 12px rgba(var(--glow-rgb, 255, 128, 171), 0.22);
  }
  100% {
    box-shadow:
      0 12px 34px rgba(var(--glow-rgb, 216, 27, 96), 0.32),
      0 0 26px rgba(var(--glow-rgb, 255, 128, 171), 0.44);
  }
}
@media (prefers-reduced-motion: reduce) {
  .product-card.theme-glow { animation: none; }
}

/* Exact 4:3 frame matching owner HD cropper (no unintended cutoff) */
.product-img {
  width: 100%;
  height: auto !important;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

/* HALL OF FAME & MPESA STK */
.hof-section {
  position: relative;
}
.hof-vault {
  background: linear-gradient(135deg, #fff5f9 0%, #ffe0ee 55%, #fff8e7 100%);
  border: 2px solid #f48fb1;
  border-radius: 30px;
  padding: clamp(28px, 5vw, 48px) clamp(18px, 4vw, 36px);
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 46px rgba(216, 27, 96, 0.16), 0 0 0 4px rgba(255, 215, 128, 0.22);
  transition: transform 0.5s ease, opacity 0.45s ease;
}
.hof-vault::before {
  content: '';
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle, rgba(255, 215, 130, 0.28) 0%, rgba(255, 128, 171, 0.16) 40%, transparent 70%);
  animation: hofAuraSpin 10s linear infinite;
  pointer-events: none;
}
@keyframes hofAuraSpin {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.08); }
  100% { transform: rotate(360deg) scale(1); }
}
.hof-crest {
  width: 78px;
  height: 78px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff80ab 0%, #d81b60 65%, #f59e0b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(216, 27, 96, 0.35), 0 0 22px rgba(245, 158, 11, 0.35);
  position: relative;
  z-index: 2;
  animation: hofCrestFloat 2.6s ease-in-out infinite;
}
@keyframes hofCrestFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-6px) scale(1.04); }
}
.hof-crest svg { width: 38px; height: 38px; fill: #ffffff; }
.hof-vault.unlocking .hof-crest {
  animation: hofUnlockSpin 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes hofUnlockSpin {
  0% { transform: scale(1) rotate(0deg); }
  45% { transform: scale(1.24) rotate(180deg); box-shadow: 0 0 42px rgba(245, 158, 11, 0.85); }
  100% { transform: scale(0.85) rotate(360deg); opacity: 0; }
}
.hof-unlock-btn {
  position: relative;
  z-index: 2;
  margin-top: 10px;
  padding: 14px 30px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #d81b60 0%, #ec407a 60%, #f59e0b 100%);
  background-size: 180% 180%;
  color: #ffffff;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(216, 27, 96, 0.38);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}
.hof-unlock-btn:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 14px 34px rgba(216, 27, 96, 0.48); }
.hof-burst-layer {
  position: relative;
  height: 0;
  overflow: visible;
  pointer-events: none;
  z-index: 20;
}
.hof-spark {
  position: absolute;
  left: 50%;
  top: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  animation: hofSparkFly 0.95s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes hofSparkFly {
  0% { transform: translate(-50%, -50%) scale(0.4); opacity: 1; }
  100% { transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) scale(1.1); opacity: 0; }
}
.hof-stage {
  display: none;
  opacity: 0;
  transform: translateY(18px) scale(0.97);
}
.hof-stage.unlocked {
  display: block;
  animation: hofStageReveal 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes hofStageReveal {
  0% { opacity: 0; transform: translateY(22px) scale(0.96); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.hof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 22px;
  max-width: 1080px;
  margin: 18px auto 0;
}
.hof-card {
  position: relative;
  background: linear-gradient(160deg, #ffffff 0%, #fff7fa 65%, #fff9eb 100%);
  border-radius: 26px;
  padding: 24px 20px;
  text-align: center;
  border: 2px solid rgba(244, 143, 177, 0.65);
  box-shadow: 0 14px 36px rgba(216, 27, 96, 0.14), 0 0 22px rgba(245, 158, 11, 0.14);
  overflow: hidden;
  opacity: 0;
  transform: translateY(26px) scale(0.94);
  animation: hofCardPop 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.hof-card::after {
  content: '';
  position: absolute;
  top: -120%;
  left: -60%;
  width: 60%;
  height: 300%;
  background: linear-gradient(110deg, transparent, rgba(255,255,255,0.65), transparent);
  transform: rotate(25deg);
  transition: left 0.6s ease;
  pointer-events: none;
}
.hof-card:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(216, 27, 96, 0.24), 0 0 28px rgba(245, 158, 11, 0.28); }
.hof-card:hover::after { left: 140%; }
@keyframes hofCardPop {
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.hof-rank-pill {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #d81b60, #f59e0b);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 14px;
  box-shadow: 0 4px 12px rgba(216, 27, 96, 0.26);
}
.hof-avatar-ring {
  width: 112px;
  height: 112px;
  margin: 0 auto 14px;
  padding: 4px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff80ab, #d81b60, #fbbf24);
  box-shadow: 0 8px 22px rgba(216, 27, 96, 0.25);
}
.hof-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: #fce4ec;
}
.hof-name {
  font-family: 'Fredoka One', cursive;
  font-size: 1.35rem;
  color: #2d1620;
  margin: 0 0 6px;
}
.hof-desc {
  font-size: 0.9rem;
  color: #5c2238;
  line-height: 1.55;
  margin: 0;
}

/* M-Pesa STK Push Box */
.mpesa-choice-box {
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: 14px;
  padding: 10px 12px;
  margin-top: 12px;
  text-align: left;
}
.mpesa-choice-box label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 700;
  color: #166534;
  cursor: pointer;
  margin: 4px 0;
}
.mpesa-status-box {
  background: #f0fdf4;
  border: 1.5px solid #4ade80;
  border-radius: 14px;
  padding: 12px 14px;
  margin-top: 12px;
  text-align: left;
  font-size: 0.85rem;
  color: #14532d;
}
.mpesa-status-box.paid {
  background: #dcfce7;
  border-color: #16a34a;
}
.mpesa-status-box.warn {
  background: #fff7ed;
  border-color: #fdba74;
  color: #9a3412;
}
@media (prefers-reduced-motion: reduce) {
  .hof-vault::before, .hof-crest, .hof-card, .hof-stage { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* PRESETS, STOCK ALERTS & MPESA WAIT SCREEN */
.stock-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  z-index: 10;
  letter-spacing: 0.02em;
}
.stock-badge.low {
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.35);
  animation: stockPulse 1.6s ease-in-out infinite;
}
.stock-badge.out {
  background: #374151;
  color: #f9fafb;
}
@keyframes stockPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}
.preset-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 4px 0 12px;
}
.preset-tag {
  background: #fff0f6;
  border: 1px solid #f48fb1;
  color: #ad1457;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}
.preset-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}
.preset-chip {
  border: 1.5px solid #f48fb1;
  background: #fff5f8;
  color: #ad1457;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.preset-chip.active {
  background: linear-gradient(135deg, #ff6fa5, #d81b60);
  color: #ffffff;
  border-color: #d81b60;
  box-shadow: 0 4px 12px rgba(216, 27, 96, 0.28);
}
.modal-stock-alert {
  background: #fff7ed;
  border: 1.5px solid #fdba74;
  color: #9a3412;
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.btn-order:disabled {
  background: #9ca3af !important;
  cursor: not-allowed;
  animation: none !important;
  box-shadow: none !important;
}

/* M-Pesa Waiting for PIN Modal */
.mpesa-wait-overlay {
  position: fixed;
  inset: 0;
  background: rgba(45, 22, 32, 0.72);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 3500;
  padding: 18px;
}
.mpesa-wait-overlay.open { display: flex; }
.mpesa-wait-card {
  background: linear-gradient(165deg, #ffffff 0%, #fff4f8 100%);
  border: 3px solid #f8bbd0;
  border-radius: 28px;
  padding: 30px 24px;
  width: 100%;
  max-width: 410px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(216, 27, 96, 0.35);
  animation: popIn 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.mpesa-radar {
  position: relative;
  width: 104px;
  height: 104px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mpesa-radar-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid rgba(216, 27, 96, 0.45);
  animation: radarExpand 1.9s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}
.mpesa-radar-ring.r2 { animation-delay: 0.7s; border-color: rgba(245, 158, 11, 0.45); }
@keyframes radarExpand {
  0% { transform: scale(0.65); opacity: 0.95; }
  100% { transform: scale(1.42); opacity: 0; }
}
.mpesa-phone-core {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff80ab 0%, #d81b60 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(216, 27, 96, 0.36);
  position: relative;
  z-index: 2;
  animation: phoneVibe 1.6s ease-in-out infinite;
}
@keyframes phoneVibe {
  0%, 100% { transform: rotate(0deg) scale(1); }
  20% { transform: rotate(-7deg) scale(1.04); }
  40% { transform: rotate(7deg) scale(1.04); }
  60% { transform: rotate(0deg) scale(1); }
}
.mpesa-phone-core svg { width: 32px; height: 32px; fill: #ffffff; }
.mpesa-wait-title {
  font-family: 'Fredoka One', cursive;
  color: #d81b60;
  font-size: 1.45rem;
  margin: 0 0 8px;
}
.mpesa-wait-msg {
  color: #5c2238;
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0 0 14px;
}
.mpesa-wait-pill {
  display: inline-block;
  background: #fff0f6;
  border: 1.5px solid #f48fb1;
  color: #ad1457;
  font-weight: 800;
  font-size: 0.86rem;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.mpesa-dots span {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d81b60;
  margin: 0 4px;
  animation: mpesaDot 1.2s ease-in-out infinite;
}
.mpesa-dots span:nth-child(2) { animation-delay: 0.2s; background: #ec407a; }
.mpesa-dots span:nth-child(3) { animation-delay: 0.4s; background: #f59e0b; }
@keyframes mpesaDot {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1.15); opacity: 1; }
}
