/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #2f6aac;
    --burgundy: #824f5e;
    --yellow: #fbd15a;
    --white: #FFFFFF;
    --dark-navy: #1A2332;
    --black: #000000;
    --light-gray: #F8F9FA;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark-navy);
    overflow-x: hidden;
    background: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo-link:hover {
    opacity: 0.8;
}

.logo-image {
    height: 40px;
    width: 40px;
    object-fit: cover;
    border-radius: 8px;
}

.nav-logo h1 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--black);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--yellow);
}

.nav-link.active {
    color: var(--primary-blue);
}

/* Navigation styles when scrolled (yellow background) */
.navbar.scrolled .nav-link:hover {
    color: var(--white);
}

.navbar.scrolled .nav-icon:hover {
    color: var(--white);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-blue);
}

.nav-icons {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-icon {
    color: var(--black);
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.nav-icon:hover {
    color: var(--yellow);
}

.cart-icon {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--burgundy);
    color: var(--white);
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--black);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: all 1s ease-in-out;
}

/* Creative Transition Types for Young Generation Appeal */
.hero-background.diagonal-slide-transition {
    transition: transform 1.1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-background.rotate-zoom-transition {
    transition: transform 1.3s cubic-bezier(0.68, -0.55, 0.265, 1.55), opacity 1s ease-in-out;
}

.hero-background.flip-transition {
    transition: transform 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-background.bounce-transition {
    transition: transform 1.4s cubic-bezier(0.68, -0.55, 0.265, 1.55), opacity 1s ease-out;
}

.hero-background.glitch-transition {
    transition: transform 0.8s steps(10, end), opacity 0.8s ease-in-out;
}

.hero-background.wave-transition {
    transition: transform 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 1.2s ease-in-out;
}

.hero-background.matrix-transition {
    transition: transform 1.1s cubic-bezier(0.55, 0.085, 0.68, 0.53), opacity 1s linear;
}

.hero-background.desktop {
    display: block;
}

.hero-background.mobile {
    display: none;
}

@media (max-width: 768px) {
    .hero-background.desktop {
        display: none;
    }

    .hero-background.mobile {
        display: block;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 600px;
    padding: 0 20px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    font-weight: 400;
}

.cta-button {
    background: var(--yellow);
    color: var(--black);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(251, 209, 90, 0.3);
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(251, 209, 90, 0.4);
    background: #f9d042;
    text-decoration: none;
}

/* Shop Section */
.shop-section {
    padding: 5rem 0;
    background: var(--light-gray);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--dark-navy);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: var(--yellow);
}

.product-image {
    height: 250px;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.placeholder-image {
    font-size: 4rem;
    color: var(--burgundy);
    transition: all 0.3s ease;
}

.product-card:hover .placeholder-image {
    transform: scale(1.1);
    color: var(--primary-blue);
}

.product-info {
    padding: 1.5rem;
}

.product-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-blue);
}

.price-inventory-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: nowrap;
    gap: 0.5rem;
}

.product-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--black);
    margin: 0;
}

.inventory-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(135deg, var(--yellow), #f9d042);
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(251, 209, 90, 0.3);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.inventory-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(251, 209, 90, 0.4);
    border-color: var(--primary-blue);
}

.inventory-count {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--black);
    line-height: 1;
}

.inventory-label {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--burgundy);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
}

.add-to-cart-btn {
    width: 100%;
    background: var(--dark-navy);
    color: var(--white);
    border: none;
    padding: 0.8rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.add-to-cart-btn:hover {
    background: var(--yellow);
    color: var(--black);
    transform: translateY(-1px);
}

/* Promo Banner */
.promo-banner {
    background: linear-gradient(45deg, var(--burgundy), var(--primary-blue));
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
}

.promo-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.promo-content p {
    opacity: 0.95;
}

/* Footer */
.footer {
    background: var(--dark-navy);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-blue);
}

.footer-section p {
    color: #ccc;
    margin-bottom: 0.5rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons i {
    font-size: 1.5rem;
    color: #ccc;
    cursor: pointer;
    transition: color 0.3s ease;
}

.social-icons i:hover {
    color: var(--primary-blue);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
    color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: right 0.3s ease-in-out;
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        margin: 1rem 0;
        font-size: 1.2rem;
        padding: 0.5rem 1rem;
        border-radius: 8px;
        transition: all 0.3s ease;
    }

    .nav-link:hover {
        background: var(--yellow);
        color: var(--black);
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}

.hero-title {
    font-size: 2.5rem;
}

.hero-subtitle {
    font-size: 1.1rem;
}

.products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.product-card {
    border-radius: 10px;
}

.product-image {
    height: 200px;
}

.placeholder-image {
    font-size: 3rem;
}

.product-info {
    padding: 1rem;
}

.section-title {
    font-size: 2rem;
}
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    .products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.8rem;
    }

    .product-image {
        height: 150px;
    }

    .placeholder-image {
        font-size: 2.5rem;
    }

    .product-name {
        font-size: 0.9rem;
    }

    .product-price {
        font-size: 1rem;
    }

    .inventory-badge {
        padding: 0.2rem 0.4rem;
        border-radius: 8px;
    }

    .inventory-count {
        font-size: 0.75rem;
        font-weight: 700;
    }

    .inventory-label {
        font-size: 0.6rem;
        letter-spacing: 0.3px;
    }
}

@media (min-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card {
    animation: fadeInUp 0.6s ease forwards;
}

.product-card:nth-child(1) {
    animation-delay: 0.1s;
}

.product-card:nth-child(2) {
    animation-delay: 0.2s;
}

.product-card:nth-child(3) {
    animation-delay: 0.3s;
}

.product-card:nth-child(4) {
    animation-delay: 0.4s;
}

.product-card:nth-child(5) {
    animation-delay: 0.5s;
}

.product-card:nth-child(6) {
    animation-delay: 0.6s;
}

.product-card:nth-child(7) {
    animation-delay: 0.7s;
}

.product-card:nth-child(8) {
    animation-delay: 0.8s;
}

/* Sh
opping Cart Modal */
.cart-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
}

.cart-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.cart-content {
    position: relative;
    background: var(--white);
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--light-gray);
    background: var(--primary-blue);
    color: var(--white);
}

.cart-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
}

.cart-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--white);
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.cart-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.cart-items {
    padding: 1.5rem;
    max-height: 400px;
    overflow-y: auto;
}

.empty-cart {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--burgundy);
}

.empty-cart-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-cart p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.empty-cart-subtitle {
    font-size: 0.9rem !important;
    font-weight: 400 !important;
    opacity: 0.7;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--light-gray);
    gap: 1rem;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-icon {
    width: 50px;
    height: 50px;
    background: var(--light-gray);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-blue);
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    color: var(--dark-navy);
    margin: 0 0 0.3rem 0;
    font-size: 0.95rem;
}

.cart-item-price {
    color: var(--burgundy);
    font-weight: 700;
    margin: 0;
    font-size: 0.9rem;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-btn {
    background: var(--yellow);
    border: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background: var(--primary-blue);
    color: var(--white);
}

.quantity-number {
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

.remove-item {
    background: none;
    border: none;
    color: var(--burgundy);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.remove-item:hover {
    background: var(--burgundy);
    color: var(--white);
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--light-gray);
    background: var(--light-gray);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.total-label {
    color: var(--dark-navy);
}

.total-amount {
    color: var(--primary-blue);
}

.checkout-btn {
    width: 100%;
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.checkout-btn:hover {
    background: var(--burgundy);
    transform: translateY(-1px);
}

.checkout-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .cart-content {
        width: 95%;
        margin: 1rem;
    }

    .cart-header {
        padding: 1rem;
    }

    .cart-items {
        padding: 1rem;
    }

    .cart-footer {
        padding: 1rem;
    }

    .cart-item {
        gap: 0.8rem;
    }

    .cart-item-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

/* Checkou
t Modal */
.checkout-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2100;
    display: none;
}

.checkout-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkout-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.checkout-content {
    position: relative;
    background: var(--white);
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease-out;
}

.checkout-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--light-gray);
    background: var(--primary-blue);
    color: var(--white);
}

.checkout-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
}

.checkout-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--white);
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.checkout-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.checkout-body {
    padding: 1.5rem;
    max-height: calc(90vh - 120px);
    overflow-y: auto;
}

.checkout-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--light-gray);
}

.checkout-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.checkout-section h4 {
    color: var(--primary-blue);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-navy);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.form-group small {
    display: block;
    margin-top: 0.3rem;
    color: var(--burgundy);
    font-size: 0.85rem;
}

.payment-info {
    margin-top: 1rem;
}

.payment-summary {
    background: var(--light-gray);
    padding: 1rem;
    border-radius: 8px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.summary-row:last-child {
    margin-bottom: 0;
}

.total-row {
    border-top: 1px solid #ddd;
    padding-top: 0.5rem;
    margin-top: 0.5rem;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-blue);
}

.checkout-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--light-gray);
}

.btn-secondary,
.btn-primary {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-secondary {
    background: var(--light-gray);
    color: var(--dark-navy);
}

.btn-secondary:hover {
    background: #e0e0e0;
}

.btn-primary {
    background: var(--primary-blue);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--burgundy);
    transform: translateY(-1px);
}

/* M-Pesa Modal */
.mpesa-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2200;
    display: none;
}

.mpesa-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mpesa-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.mpesa-content {
    position: relative;
    background: var(--white);
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    animation: slideUp 0.3s ease-out;
}

.mpesa-header {
    background: #00963A;
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.mpesa-logo {
    height: 30px;
    margin-bottom: 0.5rem;
}

.mpesa-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
}

.mpesa-body {
    padding: 2rem;
}

.mpesa-status {
    text-align: center;
}

.status-icon {
    font-size: 3rem;
    color: #00963A;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.mpesa-status h4 {
    color: var(--dark-navy);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.mpesa-status p {
    color: var(--burgundy);
    margin-bottom: 1.5rem;
}

.payment-details {
    background: var(--light-gray);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.payment-details p {
    margin: 0.3rem 0;
    font-size: 0.95rem;
}

.loading-spinner {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--light-gray);
    border-top: 4px solid #00963A;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.success-icon {
    color: #28a745;
    font-size: 4rem;
    margin-bottom: 1rem;
}

.error-icon {
    color: #dc3545;
    font-size: 4rem;
    margin-bottom: 1rem;
}

/* Mobile Responsive for Checkout */
@media (max-width: 768px) {
    .checkout-content {
        width: 95%;
        margin: 1rem;
    }

    .checkout-header,
    .checkout-body {
        padding: 1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .checkout-actions {
        flex-direction: column;
    }

    .mpesa-content {
        width: 95%;
        margin: 1rem;
    }

    .mpesa-body {
        padding: 1.5rem;
    }
}