* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background: #0f0f0f;
    color: #e5e5e5;
    min-height: 100vh;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.navbar {
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    color: #20d9d2;
    font-weight: 600;
    font-size: 20px;
    letter-spacing: -0.02em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-link {
    color: #a1a1aa;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
    padding: 8px 0;
}

.nav-link:hover,
.nav-link.active {
    color: #20d9d2;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    letter-spacing: -0.01em;
}

.btn-primary {
    background: linear-gradient(135deg, #20d9d2 0%, #1db5db 100%);
    color: #000;
    box-shadow: 0 1px 3px rgba(32, 217, 210, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1db5db 0%, #20d9d2 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(32, 217, 210, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #e5e5e5;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-large {
    padding: 16px 24px;
    font-size: 16px;
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 80px 0 120px;
    text-align: center;
    background: radial-gradient(ellipse at center, rgba(32, 217, 210, 0.05) 0%, transparent 70%);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.hero p {
    font-size: 18px;
    color: #a1a1aa;
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 20px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 14px;
    color: #e5e5e5;
}

.feature-icon {
    font-size: 16px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Sections */
.why-choose, .location {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.why-choose h2, .location h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 48px;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
    transition: all 0.2s ease;
}

.benefit-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(32, 217, 210, 0.3);
    transform: translateY(-2px);
}

.benefit-card h3 {
    color: #20d9d2;
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: 600;
}

.benefit-card p {
    color: #a1a1aa;
    line-height: 1.6;
}

/* Location Section */
.location-info {
    display: flex;
    justify-content: center;
}

.address-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    max-width: 400px;
}

.address-card h3 {
    color: #20d9d2;
    margin-bottom: 16px;
    font-size: 20px;
}

.address-card p {
    color: #a1a1aa;
    margin-bottom: 8px;
}

/* Contact Section */
.contact {
    padding: 80px 0;
}

.contact h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 48px;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.contact-method {
    background: rgba(255, 255, 255, 0.05);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    transition: all 0.2s ease;
}

.contact-method:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(32, 217, 210, 0.3);
}

.contact-method h3 {
    color: #20d9d2;
    margin-bottom: 12px;
    font-size: 18px;
}

.contact-method p {
    color: #a1a1aa;
    margin-bottom: 16px;
    font-size: 14px;
}

.contact-method strong {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
}

/* Products Page */
.products-main {
    padding: 40px 0 80px;
    min-height: calc(100vh - 200px);
}

.products-main h1 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.products-subtitle {
    text-align: center;
    color: #a1a1aa;
    margin-bottom: 48px;
    font-size: 16px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.product-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    transition: all 0.2s ease;
}

.product-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(32, 217, 210, 0.3);
    transform: translateY(-4px);
}

.product-image {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #20d9d2 0%, #1db5db 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}

.product-info {
    padding: 24px;
}

.product-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #ffffff;
}

.product-price {
    font-size: 20px;
    font-weight: 700;
    color: #20d9d2;
    margin-bottom: 20px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.quantity-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #e5e5e5;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.quantity-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(32, 217, 210, 0.5);
}

.quantity-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 8px;
    width: 80px;
    text-align: center;
    font-size: 14px;
}

/* Cart Page */
.cart-main {
    padding: 40px 0 80px;
    min-height: calc(100vh - 200px);
}

.cart-main h1 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.cart-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 32px;
    align-items: start;
}

.cart-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-item-info h3 {
    color: #ffffff;
    margin-bottom: 8px;
    font-size: 16px;
}

.cart-item-details {
    color: #a1a1aa;
    font-size: 14px;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.remove-btn {
    background: #ef4444;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.remove-btn:hover {
    background: #dc2626;
    transform: translateY(-1px);
}

.summary-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 32px;
    position: sticky;
    top: 120px;
}

.summary-card h3 {
    color: #20d9d2;
    margin-bottom: 24px;
    font-size: 20px;
    font-weight: 600;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    color: #a1a1aa;
    font-size: 14px;
}

.summary-line.total {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 16px;
    margin-top: 16px;
}

.delivery-section,
.payment-section {
    margin: 24px 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.delivery-section h4,
.payment-section h4 {
    color: #20d9d2;
    margin-bottom: 16px;
    font-size: 16px;
    font-weight: 600;
}

.address-form {
    margin-top: 16px;
}

.address-form input,
.address-form textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 12px;
    font-family: inherit;
    font-size: 14px;
}

.address-form input:focus,
.address-form textarea:focus {
    outline: none;
    border-color: #20d9d2;
    background: rgba(255, 255, 255, 0.08);
}

.address-form textarea {
    height: 80px;
    resize: vertical;
}

.address-form-buttons {
    display: flex;
    gap: 12px;
}

.saved-address {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
}

.saved-address:hover {
    border-color: rgba(32, 217, 210, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

.saved-address.selected {
    border-color: #20d9d2;
    background: rgba(32, 217, 210, 0.1);
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #a1a1aa;
    cursor: pointer;
    font-size: 14px;
}

.empty-cart {
    text-align: center;
    color: #a1a1aa;
    font-size: 16px;
    padding: 48px;
}

/* Footer */
.footer {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 32px 0;
    text-align: center;
    color: #71717a;
    margin-top: auto;
    font-size: 14px;
}

.footer a {
    color: #20d9d2;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
    }
    
    .cart-content {
        grid-template-columns: 1fr;
    }
    
    .nav-menu {
        gap: 16px;
        font-size: 14px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .nav-container {
        padding: 0 16px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0f0f0f;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Address container with delete button */
.saved-address-container {
    position: relative;
    margin-bottom: 12px;
}

.delete-address-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(239, 68, 68, 0.8);
    color: white;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    opacity: 0;
}

.saved-address-container:hover .delete-address-btn {
    opacity: 1;
}

.delete-address-btn:hover {
    background: #dc2626;
    transform: scale(1.1);
}

/* Update saved-address to accommodate delete button */
.saved-address {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 16px 40px 16px 16px; /* Added right padding for delete button */
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
}

.saved-address:hover {
    border-color: rgba(32, 217, 210, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

.saved-address.selected {
    border-color: #20d9d2;
    background: rgba(32, 217, 210, 0.1);
}

/* Disabled button styling */
.btn-disabled {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #71717a !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
}

.btn-disabled:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Visual feedback for deselectable addresses */
.saved-address {
    position: relative;
}

.saved-address::after {
    content: "Click to deselect";
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    white-space: nowrap;
}

.saved-address.selected:hover::after {
    opacity: 1;
}

/* No products styling - Fixed centering */
.products-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
}

.no-products {
    text-align: center;
    padding: 80px 20px;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.no-products-icon {
    font-size: 64px;
    margin-bottom: 24px;
    opacity: 0.6;
}

.no-products h2 {
    font-size: 28px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
}

.no-products p {
    font-size: 16px;
    color: #a1a1aa;
    line-height: 1.6;
    margin-bottom: 32px;
}

.contact-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Ensure products grid centers content when empty */
.products-grid:has(.no-products) {
    display: flex;
    justify-content: center;
    align-items: center;
    grid-template-columns: none;
}

@media (max-width: 768px) {
    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-buttons .btn {
        width: 200px;
    }
}

/* Logo link styling */
.nav-logo a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.nav-logo a:hover {
    opacity: 0.8;
    transform: translateY(-1px);
}

.nav-logo a h2 {
    margin: 0;
    color: #20d9d2;
    font-weight: 600;
    font-size: 20px;
    letter-spacing: -0.02em;
}

/* Delivery note styling */
.delivery-note {
    background: rgba(32, 217, 210, 0.1);
    border: 1px solid rgba(32, 217, 210, 0.3);
    border-radius: 8px;
    padding: 12px;
    margin: 16px 0;
}

.delivery-note p {
    color: #a1a1aa;
    font-size: 13px;
    margin: 0;
    line-height: 1.4;
}

.delivery-note strong {
    color: #20d9d2;
}
