* {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

:root {
    --accent: #22c55e;
    --lightaccent: rgb(77, 255, 77);
    --darkbg: #0b1020;
    --cardbg: #111827;
}

/* HEADER */

.hero {
    background-image: url("../components/sora-store-background.jpg");
    min-height: 100vh;
    position: relative;
}

.sora-desc {
    padding: 60px 30px;
    width: 70%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 800px;
}

.sora-desc h5 {
    color: var(--lightaccent);
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.sora-desc h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: white;
    line-height: 1.2;
}

.sora-desc h2 span {
    color: var(--accent);
}

.sora-desc ul {
    list-style: none;
    margin: 10px 0;
}

.sora-desc ul p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.sora-desc ul li {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 8px;
    font-size: 1rem;
}

.sora-desc ul li::before {
    content: "✔";
    color: var(--accent);
    margin-right: 8px;
    font-weight: bold;
}

.sora-desc .bottom-header {
    display: flex;
    flex-direction: row;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.sora-desc .bottom-header div {
    margin-top: 10px;
    padding: 12px 24px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sora-desc .bottom-header div:nth-child(1) {
    background-color: var(--accent);
}

.sora-desc .bottom-header div:nth-child(1):hover {
    background-color: var(--lightaccent);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(34, 197, 94, 0.3);
}

.sora-desc .bottom-header div:nth-child(2) {
    border: 2px solid var(--accent);
    background: transparent;
}

.sora-desc .bottom-header div:nth-child(2):hover {
    background-color: var(--accent);
    transform: translateY(-2px);
}

.sora-desc .bottom-header div:nth-child(2):hover a {
    color: white;
}

.sora-desc .bottom-header div a {
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* CART SLIDE-OUT */
.cart-sidebar {
    position: fixed;
    top: 0;
    left: -400px;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: white;
    z-index: 10000;
    transition: left 0.3s ease;
    display: flex;
    flex-direction: column;
    border-right: 1px solid black;
}

.cart-sidebar.active {
    left: 0;
}

.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: none;
}

.cart-overlay.active {
    display: block;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #E0E0E0;
}

.cart-header h3 {
    color: black;
    font-size: 1.3rem;
}

.cart-close {
    font-size: 28px;
    color: #666;
    cursor: pointer;
    transition: color 0.2s;
}

.cart-close:hover {
    color: black;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.empty-cart {
    color: #333;
    text-align: center;
    padding: 40px 20px;
    font-size: 1rem;
}

.cart-item {
    background: #F5F5F5;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid black;
}

.cart-item-info h4 {
    color: black;
    font-size: 1rem;
    margin-bottom: 5px;
}

.cart-item-price {
    color: #333;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.cart-item-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.qty-control {
    display: flex;
    align-items: center;
    gap: 8px;
}

.qty-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid black;
    background: white;
    color: black;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: black;
    border-color: black;
    color: white;
}

.qty-control input {
    width: 50px;
    height: 32px;
    text-align: center;
    background: white;
    border: 1px solid black;
    border-radius: 8px;
    color: black;
    font-size: 0.95rem;
}

.remove-btn {
    background: transparent;
    color: #666;
    border: none;
    font-size: 0.85rem;
    cursor: pointer;
    padding: 5px;
}

.remove-btn:hover {
    color: #ef4444;
    text-decoration: underline;
}

.cart-item-total {
    color: black;
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 10px;
    text-align: right;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid black;
    background: white;
}

.cart-totals {
    margin-bottom: 15px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    color: #333;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.total-row.delivery-notice {
    color: #22c55e;
    font-size: 0.85rem;
    font-weight: 600;
    justify-content: center;
    padding: 6px 0;
}

.total-row:last-child {
    color: black;
    font-weight: 600;
    font-size: 1.1rem;
    border-top: 1px solid #E0E0E0;
    padding-top: 10px;
    margin-top: 10px;
}

.checkout-btn {
    width: 100%;
    padding: 15px;
    background: black;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkout-btn:hover:not(:disabled) {
    background: #333;
    transform: translateY(-2px);
}

.checkout-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* CHECKOUT MODAL */
.checkout-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    background: white;
    border-radius: 20px;
    z-index: 20000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.checkout-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.checkout-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 19999;
    display: none;
}

.checkout-overlay.active {
    display: block;
}

.checkout-content {
    padding: 25px;
    overflow-y: auto;
    max-height: 90vh;
}

.checkout-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #E0E0E0;
}

.checkout-header h3 {
    color: black;
    font-size: 1.4rem;
}

.checkout-close {
    font-size: 28px;
    color: #666;
    cursor: pointer;
    transition: color 0.2s;
}

.checkout-close:hover {
    color: black;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    color: #333;
    font-size: 0.9rem;
    margin-bottom: 6px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border-radius: 10px;
    border: 1px solid black;
    background: white;
    color: black;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #333;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.order-summary {
    background: #F5F5F5;
    border-radius: 12px;
    padding: 15px;
    margin: 20px 0;
    border: 1px solid black;
}

.order-summary h4 {
    color: black;
    margin-bottom: 12px;
    font-size: 1rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    color: black;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.order-summary-row {
    display: flex;
    justify-content: space-between;
    color: black;
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.order-total {
    display: flex;
    justify-content: space-between;
    color: black;
    font-weight: 700;
    font-size: 1.1rem;
    border-top: 1px solid #E0E0E0;
    padding-top: 10px;
    margin-top: 10px;
}

.submit-order-btn {
    width: 100%;
    padding: 15px;
    background: black;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-order-btn:hover {
    background: #333;
}

.form-note {
    color: #666;
    font-size: 0.85rem;
    text-align: center;
    margin-top: 15px;
}

/* MAIN STORE */
main {
    background: white;
    padding: 60px 20px;
    min-height: 100vh;
}

.store-header {
    max-width: 1200px;
    margin: 0 auto 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 20px;
}

.store-title-section h2 {
    color: black;
    font-size: 2rem;
    margin-bottom: 8px;
}

.store-title-section p {
    color: #333;
    font-size: 1rem;
}

.store-title-section p.delivery-message {
    color: #22c55e;
    font-size: 0.95rem;
    font-weight: 600;
    margin-top: 8px;
}

.store-filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.store-filters select,
.store-filters input {
    padding: 10px 15px;
    border-radius: 10px;
    border: 1px solid black;
    background: white;
    color: black;
    font-size: 0.95rem;
    outline: none;
}

.store-filters select:focus,
.store-filters input:focus {
    border-color: #333;
}

.store-filters input::placeholder {
    color: #666666;
}

/* ADD THESE LINES */

.checkout-btn {
    width: 100%;
    padding: 15px;
    background: black;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer; /* FIXED: pointer when enabled */
    transition: all 0.3s ease;
}

.checkout-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed; /* FIXED: show disabled state */
}

.checkout-btn:hover:not(:disabled) {
    background: #333;
    transform: translateY(-2px);
}

/* REST OF YOUR CSS REMAINS THE SAME */

/* PRODUCT GRID */
.product-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.product-card {
    background: #F5F5F5;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #E0E0E0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card * {
    color: black;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(0, 0, 0, 0.2);
}

.product-image {
    position: relative;
    height: 220px;
    background: rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-content {
    padding: 20px;
}

.product-category {
    color: #333;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    font-weight: 600;
}

.product-name {
    color: black;
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.product-desc {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 12px;
    min-height: 60px;
}

.product-delivery-info {
    color: #22c55e;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
    padding: 6px 0;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.product-price {
    display: flex;
    flex-direction: column;
}

.price-gbp {
    color: black;
    font-size: 1.3rem;
    font-weight: 700;
}

.price-ngn {
    color: #666;
    font-size: 0.85rem;
}

.add-to-cart-btn {
    padding: 12px 24px;
    background: black;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.add-to-cart-btn:hover {
    background: #333;
}

.no-results {
    color: #666;
    text-align: center;
    padding: 60px;
    font-size: 1.1rem;
    grid-column: 1 / -1;
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .sora-desc {
        width: 100%;
        padding: 40px 20px;
    }

    .sora-desc h2 {
        font-size: 2rem;
    }

    .sora-desc .bottom-header {
        flex-direction: row;
        width: 100%;
    }

    .sora-desc .bottom-header div {
        text-align: center;
    }

    .cart-sidebar {
        max-width: 100%;
        left: -100%;
    }

    .checkout-modal {
        width: 95%;
        max-height: 95vh;
    }

    .checkout-content {
        padding: 20px;
    }

    .store-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .store-filters {
        width: 100%;
    }

    .store-filters select,
    .store-filters input {
        flex: 1;
        min-width: 140px;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .add-to-cart-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .sora-desc {
        padding: 30px 15px;
    }

    .sora-desc h2 {
        font-size: 1.6rem;
    }

    .sora-desc ul p {
        font-size: 0.95rem;
    }

    main {
        padding: 40px 15px;
    }

    .product-content {
        padding: 15px;
    }

    .product-name {
        font-size: 1.1rem;
    }
}