/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #1a1a1a;
    color: #ffffff;
    line-height: 1.6;
}

/* Login Required Section */
.login-required {
    text-align: center;
    padding: 60px 20px;
    margin: 40px auto;
    max-width: 800px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.login-required h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #ffffff;
}

.login-required p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #cccccc;
    line-height: 1.6;
}

.login-required .login-prompt-btn:hover {
    background-color: #6e0000 !important;
    transform: scale(1.05);
    transition: all 0.3s ease;
}

/* Navigation */
.navbar {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #ffffff;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #8b0000;
}

.login-container {
    position: relative;
}

.login-btn {
    position: relative;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 150px;
    background-color: #2a2a2a;
    border: 1px solid #444;
    border-radius: 4px;
    padding: 10px;
    display: none;
    margin-top: 5px;
    z-index: 10;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Add a pseudo-element to bridge the gap */
.login-container::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 10px;
    background-color: transparent;
}

.user-dropdown-option {
    padding: 8px 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
    color: #ffffff;
}

.user-dropdown-option:hover {
    background-color: #8b0000;
}

.logout-btn {
    background-color: #8b0000;
    color: #ffffff;
}

.logout-btn:hover {
    background-color: #a00000;
}

.cart-icon {
    position: relative;
    cursor: pointer;
    padding: 8px;
    transition: transform 0.3s ease;
}

.cart-icon:hover {
    transform: scale(1.1);
}

.cart-icon i {
    font-size: 1.2rem;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #8b0000;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 0.8rem;
}

.cart-preview {
    position: absolute;
    top: 100%;
    right: -80px;
    width: 300px;
    background-color: #2a2a2a;
    border: 1px solid #444;
    border-radius: 4px;
    padding: 15px;
    display: none;
    margin-top: 5px;
    z-index: 10;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Add a pseudo-element to bridge the gap */
.cart-icon::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 10px;
    background-color: transparent;
}

.cart-icon:hover .cart-preview,
.cart-preview:hover {
    display: block;
}

.cart-preview-items {
    max-height: 250px;
    overflow-y: auto;
}

.cart-preview-item {
    display: flex;
    padding: 8px 0;
    border-bottom: 1px solid #444;
}

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

.cart-preview-item-image {
    width: 50px;
    height: 50px;
    overflow: hidden;
    border-radius: 4px;
    margin-right: 10px;
}

.cart-preview-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-preview-item-info {
    margin-left: 10px;
    flex: 1;
}

.cart-preview-item-name {
    font-size: 0.9rem;
    margin-bottom: 3px;
}

.cart-preview-item-price {
    color: #8b0000;
    font-size: 0.9rem;
}

.cart-preview-footer {
    margin-top: 10px;
    text-align: center;
}

.cart-preview-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-top: 10px;
    border-top: 1px solid #444;
}

.view-cart-btn {
    background-color: #8b0000;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

.view-cart-btn:hover {
    background-color: #a00000;
}

.empty-cart-message {
    text-align: center;
    padding: 10px 0;
    color: #cccccc;
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.auth-btn {
    background-color: transparent;
    border: 1px solid #8b0000;
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-btn:hover {
    background-color: #8b0000;
}

/* Hero Section and Carousel */
.hero {
    margin-top: 0;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

.carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-container {
    display: flex;
    width: 300%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    width: 33.333%;
    height: 100%;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
}

.carousel-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    width: 80%;
    max-width: 800px;
}

.carousel-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
    backdrop-filter: blur(5px);
}

.carousel-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

/* Categories Section */
.categories {
    padding: 4rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.categories h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    color: #ffffff;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.category-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    aspect-ratio: 16/9;
    height: 200px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: inherit;
    display: block;
}

.category-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.category-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-item:hover img {
    transform: scale(1.1);
}

.category-item h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    text-align: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.category-item:hover h3 {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    padding-bottom: 1.2rem;
}

/* Footer */
footer {
    background-color: #000000;
    padding: 3rem 5% 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #8b0000;
    margin-bottom: 1rem;
}

.footer-section p {
    margin-bottom: 0.8rem;
    line-height: 1.5;
    font-size: 0.95rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ffffff;
    text-decoration: none;
}

.footer-section a:hover {
    color: #8b0000;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
}

/* Responsive Design */
@media (max-width: 768px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .category-item {
        height: 180px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .category-item {
        height: 160px;
    }
    
    .nav-links {
        display: none;
    }
}

/* Category Header */
.category-header {
    text-align: center;
    padding: 6rem 2rem 2rem;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
                url('https://images.unsplash.com/photo-1608042314453-ae338d80c427?fm=jpg&q=60&w=3000&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxzZWFyY2h8MTF8fGpld2Vscnl8ZW58MHx8MHx8fDA%3D');
    background-size: cover;
    background-position: center;
    color: white;
}

.category-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.category-header p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Products Section */
.products {
    padding: 4rem 5%;
    background-color: #1a1a1a;
}

/* Gender Filter Styles */
.gender-filter {
    display: flex;
    justify-content: center;
    margin-bottom: 2.5rem;
    gap: 1rem;
}

.filter-btn {
    background-color: #2a2a2a;
    color: #ffffff;
    border: 1px solid #444;
    padding: 0.8rem 2rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background-color: #3a3a3a;
    border-color: #8b0000;
}

.filter-btn.active {
    background-color: #8b0000;
    border-color: #8b0000;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

/* Hide all products by default */
.product-card {
    display: none;
}

/* Show products based on active filter */
.product-card[data-gender="men"] {
    display: block;
}

/* Show women's products only when women's filter is active */
.filter-btn[data-gender="women"].active ~ .product-grid .product-card[data-gender="women"] {
    display: block;
}

/* Show unisex products only when unisex filter is active */
.filter-btn[data-gender="unisex"].active ~ .product-grid .product-card[data-gender="unisex"] {
    display: block;
}

/* Hide men's products when women's filter is active */
.filter-btn[data-gender="women"].active ~ .product-grid .product-card[data-gender="men"] {
    display: none;
}

/* Hide men's products when unisex filter is active */
.filter-btn[data-gender="unisex"].active ~ .product-grid .product-card[data-gender="men"] {
    display: none;
}

/* Hide women's products when men's filter is active */
.filter-btn[data-gender="men"].active ~ .product-grid .product-card[data-gender="women"] {
    display: none;
}

/* Hide women's products when unisex filter is active */
.filter-btn[data-gender="unisex"].active ~ .product-grid .product-card[data-gender="women"] {
    display: none;
}

/* Hide unisex products when men's filter is active */
.filter-btn[data-gender="men"].active ~ .product-grid .product-card[data-gender="unisex"] {
    display: none;
}

/* Hide unisex products when women's filter is active */
.filter-btn[data-gender="women"].active ~ .product-grid .product-card[data-gender="unisex"] {
    display: none;
}

.product-card {
    background-color: #2a2a2a;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.product-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.product-info {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-info h3 {
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.price {
    font-size: 1.2rem;
    color: #8b0000;
    margin-bottom: 0.5rem;
}

.product-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.summary-btn {
    background-color: #2c2c2c;
    color: #fff;
    border: 1px solid #444;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.summary-btn:hover {
    background-color: #444;
    border-color: #666;
}

.description {
    margin-top: 15px;
    padding: 15px;
    background-color: #2c2c2c;
    border-radius: 4px;
    border: 1px solid #444;
    display: none;
}

.description.show {
    display: block;
}

.add-to-cart {
    background-color: #8b0000;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: auto;
    width: 100%;
}

.add-to-cart:hover {
    background-color: #a00000;
}

.size-selector {
    width: 100%;
    padding: 8px;
    margin: 10px 0;
    background-color: #2a2a2a;
    border: 1px solid #444;
    border-radius: 4px;
    color: #ffffff;
    font-size: 0.9rem;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.size-selector:hover {
    border-color: #8b0000;
}

.size-selector:focus {
    outline: none;
    border-color: #8b0000;
    box-shadow: 0 0 0 2px rgba(139, 0, 0, 0.2);
}

.size-selector option {
    background-color: #2a2a2a;
    color: #ffffff;
}

.cart-preview-item-size {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 3px;
}

/* Responsive Design for Product Pages */
@media (max-width: 768px) {
    .category-header {
        padding: 5rem 1rem 1.5rem;
    }

    .category-header h1 {
        font-size: 2.5rem;
    }

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

@media (max-width: 480px) {
    .category-header h1 {
        font-size: 2rem;
    }

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

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    overflow: auto;
}

.modal-content {
    background-color: #1a1a1a;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #333;
    width: 80%;
    max-width: 600px;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: #ffffff;
}

.close:hover {
    color: #8b0000;
}

.modal-content h2 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-align: center;
}

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

.form-group label {
    display: block;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.form-group input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #444;
    border-radius: 4px;
    background-color: #1a1a1a;
    color: #ffffff;
}

.form-group input:focus {
    outline: none;
    border-color: #8b0000;
}

.submit-btn {
    width: 100%;
    padding: 0.8rem;
    background-color: #8b0000;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #a00000;
}

.switch-form {
    text-align: center;
    margin-top: 1rem;
    color: #ffffff;
}

.switch-form a {
    color: #8b0000;
    text-decoration: none;
}

.switch-form a:hover {
    text-decoration: underline;
}

/* Cart Page Styles */
.cart-page {
    padding: 4rem 5%;
    background-color: #1a1a1a;
    min-height: 60vh;
}

.cart-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.cart-items {
    flex: 2;
    background-color: #2a2a2a;
    border-radius: 12px;
    padding: 1.5rem;
    min-height: 300px;
}

.cart-items-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #444;
}

.cart-items-header h2 {
    margin-bottom: 0;
}

.remove-all-btn-small {
    background-color: transparent;
    color: #999;
    border: 1px solid #8b0000;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.remove-all-btn-small i {
    font-size: 0.8rem;
}

.remove-all-btn-small:hover {
    background-color: #8b0000;
    color: #ffffff;
}

.cart-summary {
    flex: 1;
    background-color: #2a2a2a;
    border-radius: 12px;
    padding: 1.5rem;
    position: sticky;
    top: 100px;
    height: fit-content;
}

.cart-summary h2 {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #444;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid #333;
}

.summary-row.total {
    margin-top: 1rem;
    font-weight: bold;
    font-size: 1.2rem;
    border-bottom: none;
}

.checkout-btn, .place-order-btn, .continue-shopping-btn {
    background-color: #8b0000;
    color: white;
    border: none;
    width: 100%;
    padding: 1rem;
    border-radius: 6px;
    margin-top: 1.5rem;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.checkout-btn:hover, .place-order-btn:hover, .continue-shopping-btn:hover {
    background-color: #a00000;
}

.continue-shopping-btn {
    display: block;
    text-align: center;
    text-decoration: none;
    margin-bottom: 0.5rem;
    background-color: #8b0000;
    margin-top: 1rem;
}

.continue-shopping-btn:hover {
    background-color: #a00000;
}

.remove-all-btn {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid #8b0000;
    width: 100%;
    padding: 1rem;
    border-radius: 6px;
    margin-top: 1rem;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.remove-all-btn:hover {
    background-color: #8b0000;
}

.cart-item {
    display: flex;
    padding: 1.5rem 0;
    border-bottom: 1px solid #444;
    cursor: pointer;
}

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

.cart-item-image {
    width: 100px;
    height: 100px;
    overflow: hidden;
    border-radius: 8px;
    margin-right: 1.5rem;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.cart-item-name {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.cart-item-price {
    color: #8b0000;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.cart-item-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.quantity-btn {
    background-color: #444;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.quantity-btn:hover {
    background-color: #555;
}

.quantity {
    margin: 0 10px;
}

.remove-btn {
    background-color: transparent;
    color: #999;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.remove-btn:hover {
    color: #8b0000;
}

.empty-cart-message {
    text-align: center;
    padding: 3rem 0;
    color: #999;
    font-size: 1.2rem;
}

/* Checkout Form Styles */
.checkout-form {
    max-width: 800px;
    margin: 2rem auto;
    background-color: #2a2a2a;
    border-radius: 12px;
    padding: 2rem;
    display: none;
}

.checkout-form h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.checkout-security {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4CAF50;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.checkout-security i {
    margin-right: 0.5rem;
}

.payment-icons {
    margin-left: 1rem;
    display: flex;
    gap: 0.5rem;
    font-size: 1.5rem;
}

.form-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #444;
}

.form-section h3 {
    margin-bottom: 1.5rem;
    color: #ddd;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-row .form-group {
    flex: 1;
}

select {
    width: 100%;
    padding: 0.8rem;
    background-color: #1a1a1a;
    color: #fff;
    border: 1px solid #444;
    border-radius: 4px;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
}

.card-input-container {
    position: relative;
}

.card-input-container i {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
}

.cvv-container {
    position: relative;
}

.cvv-container i {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
    cursor: help;
}

.order-review {
    background-color: #222;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.order-review h3 {
    margin-bottom: 1rem;
}

/* Order Confirmation Styles */
.order-confirmation {
    max-width: 600px;
    margin: 2rem auto;
    background-color: #2a2a2a;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    display: none;
}

.confirmation-icon {
    font-size: 4rem;
    color: #4CAF50;
    margin-bottom: 1.5rem;
}

.order-details {
    background-color: #222;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    text-align: left;
}

.order-details p {
    margin-bottom: 0.5rem;
}

#orderNumber {
    font-weight: bold;
    color: #8b0000;
}

/* Responsive Styles for Cart Page */
@media (max-width: 768px) {
    .cart-container {
        flex-direction: column;
    }
    
    .cart-item {
        flex-direction: column;
    }
    
    .cart-item-image {
        width: 100%;
        height: 200px;
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Product Image Modal Styles */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    overflow-y: auto;
}

.image-modal-content {
    position: relative;
    margin: 50px auto;
    padding: 20px;
    width: 80%;
    max-width: 800px;
    background-color: #2a2a2a;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.full-image {
    width: 100%;
    max-height: 60vh;
    object-fit: contain;
    margin-bottom: 20px;
}

.image-modal-caption {
    color: #ffffff;
    padding: 20px;
    text-align: left;
}

.image-modal-caption h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #ffffff;
}

.image-modal-caption p {
    font-size: 1rem;
    line-height: 1.5;
    color: #ccc;
    white-space: pre-line;
}

.close-image-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    transition: color 0.3s;
}

.close-image-modal:hover {
    color: #8b0000;
}

/* Make product cards indicate they are clickable */
.product-card {
    cursor: pointer;
}

/* Make cart items indicate they are clickable */
.cart-item {
    cursor: pointer;
}

/* Responsive adjustments for the image modal */
@media (max-width: 768px) {
    .image-modal-content {
        padding: 10px;
    }
    
    .full-image {
        max-height: 60vh;
    }
    
    .image-modal-caption {
        padding: 10px 15px;
    }
    
    .image-modal-caption h3 {
        font-size: 1.2rem;
    }
    
    .close-image-modal {
        top: 10px;
        right: 15px;
        font-size: 28px;
    }
}

/* Contact Modal Styles */
.contact-info {
    margin-top: 1.5rem;
}

#contactForm {
    margin-top: 1rem;
}

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

#contactForm label {
    display: block;
    margin-bottom: 0.5rem;
    color: #cccccc;
    font-size: 0.95rem;
}

#contactForm input,
#contactForm textarea {
    width: 100%;
    padding: 0.8rem;
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid #444;
    color: #ffffff;
    border-radius: 4px;
    font-family: inherit;
}

#contactForm textarea {
    resize: vertical;
    min-height: 120px;
}

#contactForm input:focus,
#contactForm textarea:focus {
    outline: none;
    border-color: #8b0000;
}

#contactForm .submit-btn {
    margin-top: 0.5rem;
    width: 100%;
    padding: 0.8rem 1.5rem;
    background-color: #8b0000;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#contactForm .submit-btn:hover {
    background-color: #a50000;
}

.social-link {
    display: inline-block;
    color: #8b0000;
    text-decoration: none;
    margin-top: 0.3rem;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #ffffff;
} 