/* LadliPickels Delivery Platform Styling */
:root {
    --primary-green: #2ecc71;
    --primary-red: #e74c3c;
    --primary-orange: #f39c12;
    --primary-yellow: #f1c40f;
    --dark-bg: #1a1a1a;
    --light-bg: #ffffff;
    --text-main: #333;
    --text-muted: #666;
    --white: #ffffff;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    /* Lighter shadow as requested */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hidden {
    display: none !important;
}

/* Single Banner Styles */
.hero-carousel-container {
    position: relative;
    padding: 4px 15px;
    margin-top: 5px;
}

.hero-carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: none;
}

@media (min-width: 768px) {
    .hero-carousel {
        height: 320px;
        /* Tablet/Desktop height */
    }
}

.carousel-slide {
    width: 100%;
    height: 100%;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', 'Segoe UI', sans-serif;
}

body {
    background-color: var(--light-bg);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    padding-bottom: 80px;
}

/* Offer Banner */
.offer-banner {
    width: 100%;
    background: #ff0000;
    padding: 9px 0;
    position: relative;
    /* Changed from sticky */
    z-index: 2000;
    overflow: hidden;
}

.offer-marquee {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    display: block;
}

.offer-track {
    display: inline-block;
    white-space: nowrap;
    animation: marqueeScroll 30s linear infinite;
}

.offer-track span {
    display: inline;
    color: white;
    font-weight: 700;
    font-size: 13px;
    padding-right: 60px;
    white-space: nowrap;
}

.offer-track span strong {
    color: #fff176;
    font-size: 14px;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.app-header {
    background: var(--white);
    padding: 10px;
    border-bottom: 1px solid #f0f0f0;
    border-radius: 0 !important;
    position: sticky;
    top: 0;
    z-index: 2100;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-search-container {
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    width: 35px;
    height: 35px;
    background: #f8f9fa;
    border: 1px solid #eee;
    border-radius: 20px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-search-container.active {
    width: 200px;
}

.header-search-container input {
    width: 100%;
    border: none;
    background: transparent;
    padding: 0 35px 0 15px;
    /* Padding for button on right */
    outline: none;
    font-size: 14px;
    font-family: inherit;
    color: var(--dark-bg);
}

.search-toggle-btn {
    position: absolute;
    right: 0;
    /* Changed from left */
    top: 0;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 16px;
    z-index: 2;
}

.header-search-container.active .search-toggle-btn {
    color: var(--primary-green);
}

.icon-btn {
    background: transparent;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
    color: var(--dark-bg);
}

.icon-btn:hover {
    transform: scale(1.1);
}

.logo {
    font-size: 24px;
    font-weight: 900;
    color: var(--dark-bg);
}

.logo span {
    color: var(--primary-green);
}

.location-picker {
    background: #f0f0f0;
    padding: 8px 15px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.location-picker select {
    border: none;
    background: transparent;
    font-weight: 600;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.location-picker {
    padding-right: 1px;
}

/* Consistent spacing without arrow */

.search-container {
    position: relative;
    width: 100%;
}

.search-container input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border-radius: 15px;
    border: 2px solid #eee;
    background: #fdfdfd;
    font-size: 16px;
    outline: none;
}

.search-container i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
}

.category-tabs {
    display: flex;
    gap: 10px;
    padding: 20px;
    overflow-x: auto;
    scrollbar-width: none;
}

.tab-btn {
    padding: 8px 13px;
    border-radius: 25px;
    border: 1.5px solid #eee;
    /* Using border instead of shadow */
    background: var(--white);
    color: var(--text-muted);
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    text-decoration: none;
    /* Removing underline from <a> tag */
    color: var(--text-muted);
    /* Force same text color as other buttons */
    font-size: 14px;
}

.tab-btn.active {
    background: var(--primary-yellow);
    color: var(--dark-bg);
    border-color: var(--primary-yellow);
}

.admin-btn {
    background: var(--dark-bg);
    color: white;
    text-decoration: none;
    border: none;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 15px;
    padding: 0 20px 20px;
}

.menu-item {
    background: var(--white);
    border-radius: 20px 20px 0 0;
    /* Rounded top, sharp bottom as requested */
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.item-img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: contain;
    background: #ffffff;
    padding: 10px;
}

.item-info {
    padding: 10px 10px 12px 10px;
    background: #f9fafb;
    display: flex;
    flex-direction: column;
    flex: 1;
    position: relative;
    /* Safe base */
    padding-right: 45px;
    /* Added padding to prevent price hiding */
}

.item-name {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 2px;
    color: var(--text-main);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
    line-height: 1.2;
    min-height: 2.4em;
}

/* Price row with MRP strikethrough + sale price */
.price-row {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: auto;
    /* Push to bottom */
}

.item-mrp {
    display: none !important;
}

.item-weight-sub {
    font-size: 11px;
    font-weight: 500;
    color: #888;
    margin-bottom: 4px;
}

.item-sale-price {
    font-size: 15px;
    font-weight: 500;
    color: #000000;
}


.add-btn {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    border: 1px solid var(--primary-yellow);
    background: #fffdf0;
    color: var(--dark-bg);
    position: absolute;
    bottom: 8px;
    right: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: var(--transition);
}

.add-btn:hover {
    background: var(--primary-yellow);
    transform: scale(1.05);
}

.grid-qty-control {
    position: absolute;
    bottom: 8px;
    right: 8px;
    display: flex;
    align-items: center;
    background: var(--primary-yellow);
    border-radius: 8px;
    overflow: hidden;
    height: 28px;
}

.grid-qty-control button {
    width: 24px;
    /* Narrower buttons */
    height: 100%;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: var(--dark-bg);
    cursor: pointer;
    font-weight: 800;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.grid-qty-control span {
    padding: 0 6px;
    /* Tighten text */
    font-size: 13px;
    font-weight: 800;
    min-width: 20px;
    text-align: center;
}

.grid-qty-control button:active {
    transform: scale(0.9);
}

/* Cart Modal Items */
.cart-items-list {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-info h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.cart-item-info p {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    border: 1.5px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    background: var(--white);
}

.qty-btn {
    width: 30px;
    height: 30px;
    border: none;
    background: #f8f9fa;
    color: var(--dark-bg);
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.qty-btn:hover {
    background: var(--primary-yellow);
}

.cart-item-controls span {
    font-weight: 800;
    font-size: 14px;
    min-width: 35px;
    text-align: center;
    display: inline-block;
    background: white;
    line-height: 30px;
}

/* Sticky Cart */
.sticky-cart {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: var(--dark-bg);
    color: white;
    padding: 15px 25px;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.sticky-cart.hidden {
    display: none;
}

.view-cart-btn {
    background: var(--primary-yellow);
    color: var(--dark-bg);
    border: none;
    padding: 8px 15px;
    border-radius: 12px;
    font-weight: 800;
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 3000;
    display: flex;
    align-items: flex-end;
}

.modal-overlay.hidden {
    display: none;
}

.modal-content {
    background: white;
    width: 100%;
    border-radius: 30px 30px 0 0;
    padding: 30px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f8f9fa;
}

.modal-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--dark-bg);
}

.close-modal {
    background: #f0f0f0;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 10px;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition);
}

.close-modal:hover {
    background: var(--primary-red);
    color: white;
}

/* Tracking UI */
.track-modal .search-box {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.track-modal .search-box input {
    flex: 1;
    padding: 12px;
    border-radius: 12px;
    border: 1.5px solid #eee;
    outline: none;
}

.track-modal .search-box button {
    background: var(--primary-yellow);
    border: none;
    padding: 0 20px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
}

.track-result {
    background: #fafafa;
    border-radius: 20px;
    padding: 20px;
    border: 1.5px solid #eee;
}

.track-result.hidden {
    display: none;
}

.status-tag {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.status-tag.processing {
    background: #fff9db;
    color: #856404;
}

.status-tag.completed {
    background: #d3f9d8;
    color: #2b8a3e;
}

.status-tag.rejected {
    background: #fff5f5;
    color: #c53030;
}

.otp-box {
    background: var(--dark-bg);
    color: var(--primary-yellow);
    padding: 15px;
    border-radius: 15px;
    text-align: center;
    margin: 15px 0;
}

.otp-box h3 {
    font-size: 24px;
    letter-spacing: 5px;
}

/* Cart and Inputs */
.delivery-note {
    background: #fff9db;
    padding: 12px 15px;
    border-radius: 15px;
    font-size: 14px;
    color: #856404;
    margin-bottom: 25px;
    text-align: center;
    border: 1px dashed #ffe066;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
}

.user-details-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.app-input {
    width: 100%;
    padding: 15px 18px;
    border-radius: 4px;
    border: 1.5px solid #eee;
    background: #fafafa;
    outline: none;
    font-size: 15px;
    font-weight: 600;
    transition: var(--transition);
}

.app-input:focus {
    border-color: var(--primary-yellow);
    background: white;
    box-shadow: 0 0 0 4px rgba(241, 196, 15, 0.1);
}

textarea.app-input {
    min-height: 100px;
    resize: none;
}

.order-success-msg {
    background: #e7f5ff;
    color: #1971c2;
    padding: 15px;
    border-radius: 15px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 14px;
}

.order-success-msg.hidden {
    display: none;
}

.cart-billing-details {
    background: var(--white);
    padding: 20px;
    border-radius: 20px;
    margin: 15px 0;
    border: 1px solid #eee;
}

.billing-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: var(--text-muted);
    font-weight: 500;
}

.bill-details {
    margin-bottom: 20px;
    background: var(--white);
    padding: 20px;
    border-radius: 20px;
    border: 1px solid #eee;
}

.bill-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 15px;
    color: var(--text-muted);
    font-weight: 600;
}

.bill-row span:last-child {
    color: var(--dark-bg);
}

.total-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding: 15px 0 0;
    border-top: 1px dashed #eee;
    font-size: 18px;
    font-weight: 800;
    color: var(--dark-bg);
}

#grand-total {
    color: var(--primary-green);
    font-size: 24px;
}

.whatsapp-btn {
    width: 100%;
    background: #25d366;
    color: white;
    border: none;
    padding: 18px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
    background: #20ba59;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

@media (max-width: 767px) {
    .menu-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        padding: 0 8px 15px;
    }

    .item-name {
        font-size: 11px;
        margin-bottom: 2px;
        min-height: 2.2em;
    }

    .item-weight-sub {
        font-size: 10px;
    }

    .item-sale-price {
        font-size: 13px;
    }

    .item-mrp {
        font-size: 10px;
    }

    .add-btn,
    .grid-qty-control {
        bottom: 8px;
        right: 8px;
        width: 28px;
        height: 28px;
        border-radius: 8px;
    }

    .grid-qty-control {
        width: auto;
    }

    .grid-qty-control span {
        padding: 0 5px;
        font-size: 12px;
        min-width: 15px;
    }

    .grid-qty-control button {
        width: 22px;
    }

    .item-info {
        padding: 8px;
    }

    .item-img {
        padding: 5px;
    }
}

/* Floating Cart Button */
.floating-cart {
    position: fixed;
    bottom: 90px;
    right: 20px;
    background: var(--dark-bg);
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    text-decoration: none;
    transition: var(--transition);
    border: 4px solid var(--white);
    transform: scale(0) rotate(-45deg);
    opacity: 0;
    pointer-events: none;
}

.floating-cart.visible {
    transform: scale(1) rotate(0);
    opacity: 1;
    pointer-events: all;
    animation: bounceIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes bounceIn {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

.floating-cart i {
    color: var(--white);
    font-size: 24px;
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--primary-red);
    color: white;
    font-size: 12px;
    font-weight: 800;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--white);
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
    z-index: 2000;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    color: #999;
    font-size: 11px;
    font-weight: 700;
    transition: var(--transition);
    padding: 5px 10px;
}

.nav-item i {
    font-size: 20px;
}

.nav-item.active {
    color: var(--primary-green);
}

.nav-item:active {
    transform: scale(0.9);
}

/* Cart Page Styles */
.back-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-bg);
    font-size: 20px;
    text-decoration: none;
}

.cart-page-content {
    padding-bottom: 100px !important;
}

.empty-cart-msg h3 {
    font-size: 20px;
    font-weight: 800;
    color: #333;
}


@media (min-width: 768px) {
    .menu-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }

    .modal-overlay {
        align-items: center;
        justify-content: center;
    }

    .modal-content {
        max-width: 500px;
        border-radius: 30px;
    }
}

/* Welcome Modal Specific Styling */
.welcome-modal {
    text-align: center;
    padding: 40px 30px;
}

.welcome-image {
    width: 140px;
    height: 140px;
    margin: 0 auto 25px;
    background: #fff9db;
    border-radius: 50%;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 2s infinite ease-in-out;
}

/* Category Page Grid - Strict 4 columns always */
.category-page-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px 5px;
}

.category-grid-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-main);
    transition: var(--transition);
    width: 100%;
}

.category-grid-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #f1f5f9;
    border-radius: 10px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #f1f5f9;
    position: relative;
}

.category-grid-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.category-grid-name {
    font-size: 10px;
    font-weight: 800;
    text-align: center;
    line-height: 1.1;
    display: block;
    word-break: break-word;
    height: 2.2em;
    overflow: hidden;
    color: #334155;
}

.category-grid-item:active .category-grid-image {
    transform: scale(0.9);
    background: #f0f0f0;
}

.success-tick {
    width: 60px;
    height: 60px;
    background: #d3f9d8;
    color: #2ecc71;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 15px;
    animation: popIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

.welcome-text h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--dark-bg);
}

.welcome-text p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.delivery-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #f0fdf4;
    color: #166534;
    padding: 15px;
    border-radius: 20px;
    margin-bottom: 25px;
    border: 1px solid #bbf7d0;
    font-weight: 700;
}

.delivery-info i {
    font-size: 20px;
    color: var(--primary-green);
}

.thank-you {
    font-weight: 800;
    color: var(--primary-green);
    font-size: 18px !important;
}

.continue-btn {
    width: 100%;
    background: var(--dark-bg);
    color: white;
    border: none;
    padding: 18px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.continue-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    background: #333;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Toast Notification Fix */
.toast-notification {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 12px 25px;
    border-radius: 12px;
    z-index: 5000;
    font-weight: 600;
    transition: opacity 0.5s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* ===== FLOATING OFFER POPUP ===== */
.offer-popup {
    position: fixed;
    bottom: 30px;
    right: 20px;
    z-index: 9999;
    background: white;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18);
    width: 280px;
    overflow: hidden;
    animation: popupSlideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    border: 2.5px solid transparent;
    background-clip: padding-box;
    outline: 2.5px solid #f39c12;
    animation: popupSlideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), popupGlow 1.5s ease-in-out 0.5s infinite alternate;
}

.offer-popup.hidden {
    display: none;
}

.offer-popup-close {
    position: absolute;
    top: 8px;
    right: 10px;
    background: rgba(0, 0, 0, 0.08);
    border: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    font-size: 12px;
    cursor: pointer;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    transition: all 0.2s;
}

.offer-popup-close:hover {
    background: #ab00ff;
    color: white;
}

.offer-popup-inner {
    display: flex;
    align-items: flex-end;
    gap: 0;
    padding: 18px 16px 16px;
}

.popup-girl {
    width: 85px;
    height: 100px;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
    animation: girlBounce 2s ease-in-out infinite;
}

.popup-text {
    flex: 1;
    padding-left: 10px;
}

.popup-tag {
    background: linear-gradient(135deg, #f39c12, #e74c3c);
    color: white;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.popup-heading {
    font-size: 16px;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.3;
    margin-bottom: 4px;
}

.popup-heading span {
    color: #e74c3c;
    font-size: 22px;
    font-weight: 900;
}

.popup-sub {
    font-size: 11px;
    color: #888;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.popup-cta {
    width: 100%;
    background: linear-gradient(135deg, #f39c12, #e74c3c);
    color: white;
    border: none;
    padding: 9px 14px;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.35);
}

.popup-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(231, 76, 60, 0.45);
}

@keyframes popupSlideIn {
    0% {
        transform: translateX(120%);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes popupSlideOut {
    0% {
        transform: translateX(0);
        opacity: 1;
    }

    100% {
        transform: translateX(120%);
        opacity: 0;
    }
}

@keyframes popupGlow {
    0% {
        outline-color: #f39c12;
        box-shadow: 0 10px 40px rgba(243, 156, 18, 0.2);
    }

    100% {
        outline-color: #e74c3c;
        box-shadow: 0 10px 40px rgba(231, 76, 60, 0.35);
    }
}

@keyframes girlBounce {

    0%,
    100% {
        transform: translateY(0) rotate(-2deg);
    }

    50% {
        transform: translateY(-6px) rotate(2deg);
    }
}

@keyframes slideUp {

    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.order-slip {
    animation: slideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1) forwards;
}

#order-slip-overlay.hidden {
    display: none !important;
}