* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #fff;
    color: #333;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

.hero, .products, .cart-float {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}

/* Free Shipping Banner */
.free-shipping-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #4a5e3d, #5e774b);
    color: white;
    padding: 6px 16px;
    text-align: center;
    font-weight: 500;
    font-size: 0.85rem;
    z-index: 999;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border-bottom: solid 1px #fff;
}

.free-shipping-banner i {
    margin-right: 6px;
    opacity: 0.9;
}

/* Adjust body to account for banner */
body {
    padding-top: 30px;
}

/* Adjust cart float button to not overlap banner */
.cart-float {
    position: fixed;
    top: max(45px, calc(30px + env(safe-area-inset-top, 15px)));
    right: max(20px, env(safe-area-inset-right, 20px));
    z-index: 1000;
    background: #934100;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 16px;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(147, 65, 0, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

.cart-float:hover, .cart-float:active {
    background: #b8550a;
    transform: scale(1.05);
}

.cart-float:active {
    transform: scale(0.95);
}

.cart-badge {
    background: #fff;
    color: #934100;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: bold;
}

/* Free Shipping Progress in Cart */
.free-shipping-progress {
    background: linear-gradient(135deg, #f8f9fa, #f0f4f0);
    border: 1px solid #d1e7dd;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.progress-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
}

.progress-icon {
    background: #4a5e3d;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.progress-text {
    font-weight: 500;
    color: #2d5a2d;
    font-size: 0.9rem;
    flex: 1;
}

.progress-bar {
    background: #e9ecef;
    height: 6px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    margin-bottom: 0.4rem;
}

.progress-fill {
    background: linear-gradient(135deg, #4a5e3d, #5e774b);
    height: 100%;
    border-radius: 10px;
    transition: width 0.4s ease;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-qualified {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #2d5a2d;
    font-weight: 500;
    font-size: 0.95rem;
    justify-content: center;
    padding: 0.4rem;
    background: rgba(74, 94, 61, 0.08);
    border-radius: 6px;
    margin-top: 0.4rem;
}

.progress-qualified i {
    color: #4a5e3d;
    font-size: 1rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)),
    url('background.png') no-repeat center center/cover;
    width: 100%;
    height: 70vh;
    min-height: 400px;
    max-height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 1rem;
    text-transform: uppercase;
}

.hero h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 10rem;
    text-transform: lowercase;
    margin-bottom: 0.5rem;
    color: #934100;
    text-shadow: -2px -2px 0 #1a1a1a, 2px -2px 0 #1a1a1a, -2px 2px 0 #1a1a1a, 2px 2px 0 #1a1a1a;
    line-height: 0.9;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 0;
    color: #e29a33;
    text-shadow: -1px -1px 0 #1a1a1a, 1px -1px 0 #1a1a1a, -1px 1px 0 #1a1a1a, 1px 1px 0 #1a1a1a;
}

/* Products Section */
.products {
    padding: 3rem 2rem;
    background-color: #fff;
    max-width: 1200px;
    margin: 0 auto;
}

.products h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    text-align: center;
    color: #333;
    margin-bottom: 2rem;
}

.accordion-item {
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.accordion-button {
    width: 100%;
    background: linear-gradient(135deg, #1a1a1a, #333);
    color: #fff;
    padding: 1.2rem;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    text-align: left;
    border: none;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 60px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

.accordion-button:hover, .accordion-button:active {
    background: linear-gradient(135deg, #333, #555);
}

.accordion-button:active {
    transform: scale(0.98);
}

.accordion-button::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free', serif;
    font-weight: 900;
    transition: transform 0.3s ease;
}

.accordion-button.active::after {
    transform: rotate(180deg);
}

.accordion-content {
    display: none;
    padding: 2rem;
    background: linear-gradient(135deg, #f9f9f9, #ffffff);
    border-top: 3px solid #934100;
}

.accordion-content.active {
    display: block;
    animation: slideDownContent 0.3s ease;
}

@keyframes slideDownContent {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.product-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-height: 300px;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(147, 65, 0, 0.2);
    border-color: #e29a33;
}

.product-card h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.4rem;
    color: #934100;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-card .price {
    font-weight: bold;
    font-size: 1.3rem;
    color: #4a5e3d;
    background: #e8f5e8;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
}

.product-card p {
    margin: 0.8rem 0;
    color: #555;
    line-height: 1.5;
    flex-grow: 1;
}

.product-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: auto;
    flex-wrap: wrap;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f5f5f5;
    border-radius: 25px;
    padding: 0.3rem;
}

.quantity-btn {
    background: #934100;
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.2s ease;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

.quantity-btn:hover, .quantity-btn:active {
    background: #b8550a;
    transform: scale(1.1);
}

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

.quantity-display {
    min-width: 40px;
    text-align: center;
    font-weight: bold;
    font-size: 1.1rem;
}

.add-to-cart {
    background: linear-gradient(135deg, #C65D32, #E67B47);
    color: #fff;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 120px;
    min-height: 44px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

.add-to-cart:hover, .add-to-cart:active {
    background: linear-gradient(135deg, #B85429, #D66B3F);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(198, 93, 50, 0.4);
}

.add-to-cart:active {
    transform: translateY(0) scale(0.98);
}

.add-to-cart:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* FIXED CART MODAL - Key fix for bottom positioning */
.cart-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    display: none;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    /* Key fix: Use flexbox with column direction and justify-content: flex-end */
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
}

.cart-modal.active {
    display: flex !important;
    animation: fadeIn 0.3s ease;
}

.cart-content {
    background: white;
    border-radius: 15px 15px 0 0;
    width: 100%;
    max-width: 600px;
    max-height: 85vh;
    position: relative;
    animation: slideUp 0.3s ease;
    /* Remove overflow and padding from this container */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    /* Add safe area padding for mobile devices */
    padding-bottom: calc(0px + env(safe-area-inset-bottom, 0px));
    margin: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    border-bottom: 2px solid #eee;
    flex-shrink: 0; /* Prevent header from shrinking */
}

.cart-header h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    color: #934100;
    margin: 0;
}

.close-cart {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
    transition: color 0.2s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-cart:hover {
    color: #934100;
}

/* New scrollable container */
.cart-scrollable {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    -webkit-overflow-scrolling: touch;
    /* Custom scrollbar styling for webkit browsers */
    scrollbar-width: thin;
    scrollbar-color: #934100 #f1f1f1;
    /* Add padding bottom for safe area */
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
}

/* Custom scrollbar styling for webkit browsers */
.cart-scrollable::-webkit-scrollbar {
    width: 8px;
}

.cart-scrollable::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.cart-scrollable::-webkit-scrollbar-thumb {
    background: #934100;
    border-radius: 10px;
}

.cart-scrollable::-webkit-scrollbar-thumb:hover {
    background: #b8550a;
}

.cart-items {
    margin-bottom: 1.5rem;
}

.cart-item {
    display: flex;
    flex-direction: column;
    padding: 1.2rem;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 0.8rem;
    background: #fafafa;
    gap: 1rem;
}

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

.cart-item-name {
    font-weight: bold;
    color: #934100;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.cart-item-price {
    color: #4a5e3d;
    font-weight: bold;
    font-size: 0.95rem;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.cart-item-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cart-item-total {
    font-weight: bold;
    color: #333;
    font-size: 1.1rem;
    min-width: 80px;
    text-align: right;
}

.remove-item {
    background: #dc3545;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.remove-item:hover {
    background: #c82333;
}

/* Coupon Section Styles */
.coupon-section {
    margin: 1rem 0;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.coupon-input-container {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.coupon-input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.coupon-input:focus {
    outline: none;
    border-color: #934100;
    box-shadow: 0 0 0 2px rgba(147, 65, 0, 0.1);
}

.coupon-btn {
    padding: 0.75rem 1rem;
    background: #934100;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.2s;
}

.coupon-btn:hover {
    background: #7a3500;
}

.coupon-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.applied-coupons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.coupon-tag {
    background: #e8f5e8;
    border: 1px solid #28a745;
    color: #155724;
    padding: 0.25rem 0.5rem;
    border-radius: 15px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.coupon-tag .remove-coupon {
    background: none;
    border: none;
    color: #155724;
    cursor: pointer;
    padding: 0;
    font-size: 0.9rem;
    line-height: 1;
}

.coupon-error {
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    padding: 0.25rem;
    background: #f8d7da;
    border-radius: 4px;
}

/* Cart Summary Styles */
.cart-summary {
    border-top: 1px solid #eee;
    padding-top: 1rem;
    margin-top: 1rem;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.total-line {
    border-top: 1px solid #ddd;
    padding-top: 0.5rem;
    margin-top: 0.5rem;
    font-size: 1rem;
}

/* Enhanced Discount Line Styles */
.discount-line {
    color: #15803d !important;
    font-size: 0.85rem !important;
    font-style: italic;
    padding: 0.2rem 0.5rem;
    margin: 0.2rem 0 0.2rem 1.5rem !important;
    background: linear-gradient(90deg, #f0f9f0 0%, transparent 100%);
    border-left: 3px solid #15803d;
    border-radius: 0 4px 4px 0;
    position: relative;
}

.discount-line span:first-child {
    font-weight: 500;
}

.discount-line span:last-child {
    font-weight: 600;
    color: #15803d;
}

/* Make sure regular summary lines don't inherit discount styles */
.summary-line:not(.discount-line) {
    background: none;
    border: none;
    padding: 0;
    margin: 0 0 0.5rem 0;
    color: inherit;
    font-style: normal;
}

.checkout-section {
    text-align: center;
    padding-top: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.paypal-container {
    margin-top: 1rem;
    min-height: 50px;
    width: 100%;
    max-width: 300px;
}

#paypal-button-container {
    margin: 1rem auto 0 auto;
    min-height: 50px;
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.checkout-loading {
    display: none;
    color: #666;
    font-style: italic;
    margin-top: 1rem;
}

.empty-cart {
    text-align: center;
    color: #999;
    font-style: italic;
    padding: 2rem;
}

.specials {
    padding: 3rem 2rem;
    text-align: center;
    font-weight: bold;
    font-size: 1.2em;
    color: #66B2FF;
    text-transform: uppercase;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.footer {
    padding: 2rem;
    background: linear-gradient(135deg, #1a1a1a, #333);
    color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    color: #e29a33;
    margin: 0;
}

.footer a {
    color: #934100;
    font-size: 1.5em;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    margin: 0;
}

.footer a:hover {
    color: #e29a33;
}

.phone {
    margin: 0;
    text-transform: uppercase;
}

.footer-address {
    margin: 0;
    line-height: 1.6;
}

.footer-publisher {
    margin: 0;
    font-size: 0.9rem;
    color: #ccc;
}

/* Footer Logo Styles */
.footer-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin: 1rem 0;
}

.footer-logo-link {
    display: inline-block;
    transition: all 0.3s ease;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

.footer-logo-link:hover {
    transform: scale(1.1) translateY(-3px);
    filter: brightness(1.2);
}

.footer-logo {
    height: 65px;
    width: auto;
    transition: all 0.3s ease;
}

.footer-logo-link:hover .footer-logo {
    transform: rotate(3deg);
}

/* Update existing footer img style to work with new structure */
.footer img:not(.footer-logo) {
    width: 65px;
    height: auto;
    transition: transform 0.3s ease;
    margin: 0;
}

.footer img:not(.footer-logo):hover {
    transform: scale(1.1);
}

.asterisk {
    color: #934100;
    font-weight: bold;
}

.product-note {
    font-style: italic;
    color: #666;
    font-size: 0.9rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.payment-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
    text-align: center;
}

.payment-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
    text-align: center;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Media Queries */
@media (max-width: 768px) {
    .free-shipping-banner {
        font-size: 0.75rem;
        padding: 5px 12px;
    }

    body {
        padding-top: 28px;
    }

    .cart-float {
        top: max(40px, calc(28px + env(safe-area-inset-top, 12px)));
        right: max(15px, env(safe-area-inset-right, 15px));
        padding: 10px 14px;
        font-size: 0.9rem;
    }

    .hero {
        height: 60vh;
        min-height: 350px;
        padding: 0 1rem;
    }

    .hero h1 {
        font-size: 4rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .products {
        padding: 2rem 1rem;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .cart-content {
        width: 100%;
        max-width: none;
        padding: 1rem;
        border-radius: 20px 20px 0 0;
        max-height: 90vh;
    }

    .cart-item {
        padding: 1rem;
        margin-bottom: 1rem;
        gap: 0.8rem;
    }

    .cart-item-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 0.8rem;
    }

    .cart-item-left {
        justify-content: center;
    }

    .cart-item-total {
        text-align: center;
        padding: 0.5rem;
        background: #f0f8f0;
        border-radius: 6px;
        margin: 0.3rem 0;
        min-width: auto;
    }

    .remove-item {
        width: 100%;
        padding: 0.6rem;
        font-size: 1rem;
        border-radius: 8px;
    }

    .product-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0.8rem;
    }

    .quantity-controls {
        justify-content: center;
        padding: 0.5rem;
    }

    .accordion-button {
        padding: 1rem;
        font-size: 1.3rem;
    }

    .product-card {
        padding: 1.2rem;
    }

    .paypal-container {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    #paypal-button-container {
        padding: 0 1rem;
    }

    /* Free shipping progress adjustments */
    .free-shipping-progress {
        padding: 0.8rem;
        margin-bottom: 1rem;
    }

    .progress-header {
        gap: 0.5rem;
        margin-bottom: 0.5rem;
    }

    .progress-icon {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }

    .progress-text {
        font-size: 0.85rem;
    }

    /* Responsive footer logos */
    .footer-logos {
        gap: 1.5rem;
    }

    .footer-logo {
        height: 50px;
    }
}

@media (max-width: 480px) {
    .free-shipping-banner {
        font-size: 0.7rem;
        padding: 4px 10px;
    }

    body {
        padding-top: 25px;
    }

    .cart-float {
        top: max(35px, calc(25px + env(safe-area-inset-top, 10px)));
    }

    .hero h1 {
        font-size: 4rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .quantity-btn {
        width: 40px;
        height: 40px;
    }

    .cart-content {
        padding: 1rem 0.8rem;
        max-height: 95vh;
    }

    .product-card h3 {
        font-size: 1.2rem;
    }

    .product-card .price {
        font-size: 1.1rem;
    }

    .cart-item-name {
        font-size: 1rem;
    }

    .cart-item-controls {
        gap: 0.6rem;
    }

    .progress-text {
        font-size: 0.8rem;
    }

    .progress-qualified {
        font-size: 0.9rem;
    }
}

@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        height: 80vh;
        min-height: 300px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .cart-content {
        max-height: 85vh;
    }

    .free-shipping-progress {
        padding: 0.8rem;
        margin-bottom: 1rem;
    }
}

/* Add this to your existing styles.css */

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.95);
    color: white;
    padding: 1rem;
    z-index: 10000;
    backdrop-filter: blur(10px);
    border-top: 2px solid #934100;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-content p {
    margin: 0;
    font-size: 0.9rem;
    flex: 1;
    min-width: 200px;
}

.cookie-content a {
    color: #e29a33;
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.accept-btn, .decline-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.accept-btn {
    background: #934100;
    color: white;
}

.accept-btn:hover {
    background: #b8550a;
}

.decline-btn {
    background: #666;
    color: white;
}

.decline-btn:hover {
    background: #888;
}

/* Legal Links in Footer */
.legal-links {
    text-align: center;
    margin: 1rem 0;
}

.legal-links a {
    display: inline;
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.8rem;
}

.legal-links a:hover {
    color: #e29a33;
}

/* Mobile responsiveness for cookie banner */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }

    .accept-btn, .decline-btn {
        flex: 1;
        max-width: 120px;
    }
}

.paypal-order-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    margin: 1rem 0;
    border: 1px solid #e3e3e3;
}

.paypal-order-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(2px);
}

.loading-content {
    background: white;
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 300px;
    width: 90%;
}

.loading-spinner-large {
    width: 48px;
    height: 48px;
    border: 4px solid #e3e3e3;
    border-top: 4px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem auto;
}

.loading-text-large {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.loading-subtext {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


.address-form .form-row {
    display: flex;
    flex-direction: column; /* Change to column for all screen sizes */
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.address-form .form-row:last-child {
    margin-bottom: 1.5rem;
}

.address-form input {
    height: 48px; /* Fixed height for all inputs */
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    line-height: 1.2; /* Consistent line height */
    transition: border-color 0.2s ease;
    width: 100%;
    box-sizing: border-box;
    display: block; /* Ensure block display */
}

.address-form input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

/* Remove the specific flex sizing for state and zip since they're now stacked */
.address-form input[id="state"] {
    text-transform: uppercase;
}

/* Address Submit Button Styling - Add this to your styles.css */

.address-submit-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    height: 48px; /* Match input height */
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.address-submit-btn:hover {
    background: #0056b3;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.3);
}

.address-submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 123, 255, 0.3);
}

.address-submit-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.address-submit-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

/* Address form section styling */
.address-form-section {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.address-form-section h3 {
    margin: 0 0 1rem 0;
    color: #333;
    font-size: 1.2rem;
}

/* Address loading styles */
.address-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.address-loading .loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.address-loading .loading-text {
    color: #666;
    font-size: 0.9rem;
}

/* Address error and success messages */
.address-error {
    color: #dc3545;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    padding: 0.75rem;
    border-radius: 4px;
    margin-top: 1rem;
}

.address-success {
    color: #155724;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    padding: 0.75rem;
    border-radius: 4px;
    margin-top: 1rem;
}

/* Enhanced state input validation styling */

/* State input specific styling */
.address-form input[id="state"] {
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Validation states for state input */
.address-form input[id="state"].valid-state {
    border-color: #28a745;
    background-color: #f8fff9;
    box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.25);
}

.address-form input[id="state"].invalid-state {
    border-color: #dc3545;
    background-color: #fff8f8;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.25);
}

/* State error message styling */
.state-error {
    color: #dc3545;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    padding: 0.5rem;
    border-radius: 4px;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    display: none;
}

/* ZIP code validation styling (bonus) */
.address-form input[id="zipcode"] {
    font-family: monospace;
    letter-spacing: 0.5px;
}

/* Improved placeholder styling */
.address-form input[id="state"]::placeholder {
    text-transform: none;
    font-weight: normal;
    letter-spacing: normal;
}

/* Focus state improvements */
.address-form input[id="state"]:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

/* Autocomplete styling (if using datalist) */
.address-form input[id="state"]::-webkit-calendar-picker-indicator {
    display: none;
}

/* Mobile responsive adjustments for state input */
@media (max-width: 768px) {
    .address-form input[id="state"] {
        font-size: 1.1rem; /* Slightly larger on mobile for better readability */
    }
}