* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black: #000000;
    --white: #e8e6e1;  /* Ciepłe, stonowane beżowe tło */
    --gray-dark: #d8d6d1;  /* Lekko ciemniejszy odcień */
    --gray-mid: #c8c6c1;  /* Średni odcień */
    --gray-light: #999999;
}

body {
    font-family: 'Bebas Neue', sans-serif;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Work in Progress Banner */
.wip-banner {
    position: fixed;
    top: 25px;
    left: -35px;
    background: #e74c3c;
    color: white;
    padding: 5px 40px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transform: rotate(-45deg);
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Header */
header {
    background: var(--white);
    color: var(--black);
    padding: 2rem 0;
    text-align: center;
    border-bottom: 2px solid var(--black);
}

header h1 {
    font-family: 'Notable', sans-serif;
    font-size: 3.5rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.instagram-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.5rem;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1rem;
    color: var(--black);
    text-decoration: none !important;
    letter-spacing: 0.05em;
    transition: opacity 0.2s;
    -webkit-text-decoration: none;
}

.instagram-link:hover,
.instagram-link:visited,
.instagram-link:active {
    text-decoration: none !important;
    color: var(--black);
}

.instagram-link:hover {
    opacity: 0.7;
}

.instagram-icon {
    width: 18px;
    height: 18px;
    min-width: 18px;
    max-width: 18px;
    flex-shrink: 0;
    vertical-align: middle;
}

/* User Navigation Bar */
.user-nav {
    background: var(--white);
    padding: 0.8rem 0;
}

.user-nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.user-greeting {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1rem;
    color: var(--black);
    text-transform: uppercase;
}

.user-greeting strong {
    font-weight: 400;
}

.user-nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-link {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1rem;
    color: var(--black);
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.2s ease;
    padding: 0.3rem 0.6rem;
    border-radius: 5px;
}

.nav-link:hover {
    background: var(--white);
}

.tagline {
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    opacity: 0.8;
}

/* Info Section */
.info-section {
    background: var(--white);
    padding: 2rem 0;
    margin: 2rem 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.info-item {
    text-align: center;
}

.info-label {
    font-size: 0.85rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.info-value {
    font-size: 1.3rem;
    color: var(--black);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.info-date {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.3rem;
    letter-spacing: 0.05em;
}

/* Products Section */
.products {
    margin: 2rem 0;
}

.products h2 {
    color: var(--black);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-bottom: 1px solid var(--black);
    padding-bottom: 0.5rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.product-card {
    background: var(--gray-dark);
    border: 2px solid var(--black);
    padding: 1rem;
    transition: background 0.2s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    background: var(--gray-mid);
}

.product-card-content {
    flex: 1;
}

.product-icon {
    display: none;
}

.product-card h3 {
    color: var(--black);
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.product-size {
    color: #666;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    font-weight: 400;
}

.product-card p {
    color: var(--black);
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1rem 0;
    gap: 1rem;
}

.product-price {
    font-size: 1.4rem;
    color: var(--black);
    font-weight: 700;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.product-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    border: 2px solid var(--black);
    background: var(--white);
    color: var(--black);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.1s ease;
    font-family: 'Bebas Neue', sans-serif;
}

.quantity-btn:hover {
    background: var(--black);
    color: var(--white);
}

.quantity-btn:active {
    transform: scale(0.95);
}

.quantity-input {
    width: 40px;
    text-align: center;
    border: 2px solid var(--black);
    background: var(--white);
    color: var(--black);
    padding: 0.3rem;
    font-size: 0.9rem;
    font-family: 'Bebas Neue', sans-serif;
    -moz-appearance: textfield;
}

/* Remove spinner arrows for Chrome, Safari, Edge, Opera */
.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Remove spinner arrows for Firefox */
.quantity-input[type=number] {
    -moz-appearance: textfield;
}

/* Buttons */
.btn {
    padding: 0.8rem 1rem;
    border: 2px solid var(--black);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.1s ease;
    font-family: 'Bebas Neue', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.btn-primary {
    background: var(--black);
    color: var(--white);
    width: 100%;
}

.btn-primary:hover {
    background: var(--white);
    color: var(--black);
}

.btn-primary:active {
    transform: scale(0.98);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-secondary {
    background: var(--white);
    color: var(--black);
    width: 100%;
    margin-top: 1rem;
}

.btn-secondary:hover {
    background: var(--gray-mid);
}

.btn-large {
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
}

.add-to-cart-btn {
    background: var(--white);
    color: var(--black);
    width: 100%;
}

.add-to-cart-btn:hover {
    background: var(--black);
    color: var(--white);
}

/* Cart Section */
.cart {
    background: var(--gray-dark);
    padding: 1.5rem;
    border: 2px solid var(--black);
    margin: 2rem 0;
    position: sticky;
    top: 20px;
    z-index: 100;
}

.cart h2 {
    color: var(--black);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--gray-light);
}

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

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.cart-item-quantity {
    color: var(--gray-light);
    font-size: 0.75rem;
}

.cart-item-price {
    font-weight: 700;
    color: var(--black);
    margin: 0 1rem;
    font-size: 0.9rem;
}

.remove-btn {
    background: var(--white);
    color: var(--black);
    border: 1px solid var(--black);
    padding: 0.4rem 0.8rem;
    cursor: pointer;
    font-size: 0.75rem;
    font-family: 'Bebas Neue', sans-serif;
    text-transform: uppercase;
}

.remove-btn:hover {
    background: var(--black);
    color: var(--white);
}

.cart-subtotal,
.cart-delivery {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-size: 0.95rem;
    color: #666;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.3rem;
    color: var(--black);
    margin: 1rem 0 0 0;
    padding-top: 1rem;
    border-top: 2px solid var(--black);
    font-weight: 700;
}

/* Auth Section */
.auth-section {
    background: var(--gray-dark);
    padding: 1.5rem;
    border: 2px solid var(--black);
    margin: 2rem 0;
}

.auth-section h2 {
    color: var(--black);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.auth-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 1.5rem;
    border: 2px solid var(--black);
}

.auth-tab {
    flex: 1;
    padding: 0.8rem;
    background: var(--white);
    color: var(--black);
    border: none;
    border-right: 2px solid var(--black);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.2s ease;
}

.auth-tab:last-child {
    border-right: none;
}

.auth-tab:hover {
    background: var(--gray-mid);
}

.auth-tab.active {
    background: var(--black);
    color: var(--white);
}

.auth-form {
    margin-top: 1rem;
}

.forgot-password-link {
    display: block;
    text-align: center;
    margin-top: 1rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    font-size: 0.9rem;
    color: var(--black);
    text-decoration: underline;
}

.forgot-password-link:hover {
    opacity: 0.7;
}

.reset-info {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

/* Order Form */
.email-verification-required {
    background: var(--gray-dark);
    padding: 2rem;
    border: 2px solid var(--black);
    margin: 2rem 0;
    text-align: center;
}

.email-verification-required h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.verification-message {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

.verification-message p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.verification-message .btn {
    margin: 0.5rem;
}

.order-form {
    background: var(--gray-dark);
    padding: 1.5rem;
    border: 2px solid var(--black);
    margin: 2rem 0;
}

.order-form h2 {
    color: var(--black);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--black);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.6rem;
    border: 2px solid var(--black);
    background: var(--white);
    color: var(--black);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    font-size: 1rem;
    transition: background 0.2s ease;
    text-transform: none;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: var(--gray-mid);
}

.form-group input:disabled,
.form-group textarea:disabled {
    background: var(--gray-dark);
    cursor: not-allowed;
    opacity: 0.8;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.radio-group label {
    display: flex;
    align-items: center;
    font-weight: 400;
    cursor: pointer;
    font-size: 0.85rem;
}

.radio-group input[type="radio"] {
    width: auto;
    margin-right: 0.5rem;
    accent-color: var(--black);
}

/* Order Summary */
.order-summary {
    background: var(--white);
    padding: 1rem;
    border: 2px solid var(--black);
    margin: 1.5rem 0;
}

.order-summary h3 {
    color: var(--black);
    margin-bottom: 1rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.order-summary-item {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--gray-light);
    font-size: 0.85rem;
}

.order-total {
    text-align: right;
    font-size: 1.2rem;
    color: var(--black);
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid var(--black);
    font-weight: 700;
}

/* Success Message */
.success-message {
    background: var(--gray-dark);
    padding: 2rem;
    border: 2px solid var(--black);
    margin: 2rem 0;
    text-align: center;
}

.success-content h2 {
    color: var(--black);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.success-content p {
    font-size: 0.9rem;
    margin: 0.8rem 0;
    line-height: 1.6;
}

/* Profile Section */
.profile-section,
.my-orders-section {
    background: var(--gray-dark);
    padding: 2rem;
    border: 2px solid var(--black);
    margin: 2rem 0;
}

.profile-section h2,
.my-orders-section h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* My Orders List */
.order-card {
    background: var(--white);
    border: 2px solid var(--black);
    padding: 1rem;
    margin-bottom: 1rem;
}

.order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--gray-mid);
}

.order-card-date {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
}

.order-card-status {
    padding: 0.3rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 3px;
}

.order-card-status.pending {
    background: #e63946;
    color: white;
}

.order-card-status.processing {
    background: #f4a261;
    color: white;
}

.order-card-status.completed {
    background: #52b788;
    color: white;
}

.order-card-items {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.order-card-total {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    text-align: right;
}

.no-orders {
    text-align: center;
    padding: 2rem;
    color: var(--gray-light);
}

/* Footer */
footer {
    background: var(--white);
    color: var(--black);
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 3rem;
    border-top: 2px solid var(--black);
}

footer p {
    margin: 0.4rem 0;
    font-size: 0.8rem;
}

footer a {
    color: var(--black);
    text-decoration: underline;
}

footer a:hover {
    color: var(--gray-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 1.8rem;
    }
    
    .user-nav-content {
        flex-direction: column;
        text-align: center;
    }
    
    .user-nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .nav-link {
        font-size: 0.9rem;
    }
    
    .tagline {
        font-size: 0.8rem;
    }
    
    .hero {
        padding: 1.5rem;
    }
    
    .hero h2 {
        font-size: 1rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .cart-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .container {
        padding: 0 1rem;
    }
}

