/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero-bg.jpeg');
    background-size: cover;
    background-position: center;
    margin-bottom: 2rem;
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
    height: 100%;
}

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

    .btn-primary:hover {
        background-color: #0b5ed7;
        border-color: #0a58ca;
    }

/* Cart badge */
.cart-count {
    position: relative;
    top: -5px;
}

/* Footer styles */
footer a {
    text-decoration: none;
}

    footer a:hover {
        text-decoration: underline;
    }

/* Product card */
.product-card .price {
    font-weight: bold;
    color: #0d6efd;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero {
        padding: 3rem 1rem;
    }

        .hero h1 {
            font-size: 2rem;
        }
}

/* Add these styles to your style.css */
/* Search dropdown styles */
#search-results-container {
    border-radius: 0 0 0.25rem 0.25rem;
    border: 1px solid rgba(0,0,0,.125);
    border-top: none;
}

    #search-results-container .dropdown-item {
        white-space: normal;
        border-bottom: 1px solid #f8f9fa;
    }

        #search-results-container .dropdown-item:hover {
            background-color: #f8f9fa;
        }

/* Search input group */
.input-group {
    width: 300px;
}

@media (max-width: 768px) {
    .input-group {
        width: 200px;
    }
}

/* Search page styles */
#search-results .card {
    transition: transform 0.2s;
}

#search-results .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
/* Add to style.css */
/* State selection styling */
#state, #state-text {
    transition: all 0.3s ease;
}

/* Country/state form group */
.form-select:required:invalid {
    color: #6c757d;
}

.form-select option {
    color: #212529;
}

/* Make the state input full width when visible */
#state-text {
    width: 100%;
}

/* Shipping Policy Specific Styles */
.shipping-method-icon {
    font-size: 1.5rem;
    margin-right: 10px;
    color: #0d6efd;
}

.shipping-policy-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), url('../images/shipping-bg.jpeg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 4rem 0;
    margin-bottom: 2rem;
}

.shipping-table th {
    background-color: #f8f9fa;
}

.accordion-button:not(.collapsed) {
    background-color: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0,0,0,.125);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .shipping-policy-header h1 {
        font-size: 2rem;
    }

    .shipping-policy-header p {
        font-size: 1rem;
    }
}

/* Payment Instructions Styles */
#payment-instructions {
    border-left: 4px solid #0d6efd;
}

    #payment-instructions .card-header {
        background-color: #f8f9fa;
        border-bottom: 1px solid #dee2e6;
    }

.card-icons img {
    opacity: 0.7;
    transition: opacity 0.3s;
}

    .card-icons img:hover {
        opacity: 1;
    }

/* Payment method active state */
.payment-method-active {
    border: 2px solid #0d6efd !important;
    background-color: #f0f7ff !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #payment-instructions {
        margin-top: 20px;
    }
}
