/* Base styles */
:root {
    --background: #f0e6c0;
    --text: #2d1c1a;
    --border: maroon;
    --shop-pay: #5469d4;
}

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

body {
    font-family: 'Cinzel', serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.5;
}

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

/* Header styles */

/* 

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}



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

.nav-links a {
    color: var(--text);
    text-decoration: none;
}

.nav-icons {
    display: flex;
    gap: 1rem;
}

.icon {
    text-decoration: none;
    font-size: 1.2rem; */
    nav a {
        color: #4a1c2b;
        text-decoration: none;
        margin: 0 15px;
    }
    
    .icons {
        display: flex;
        gap: 15px;
    }
    
    .icon {
        position: relative;
    }
    
    .cart-count {
        position: absolute;
        top: -5px;
        right: -5px;
        background-color: #8b1e4b;
        color: white;
        border-radius: 50%;
        width: 18px;
        height: 18px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 12px;
    }

/* Product layout */
.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 2rem 0;
}

/* Gallery styles */
.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.main-image {
    border-radius: 0.5rem;
    overflow: hidden;
}

.main-image img {
    width: 100%;
    height: auto;
    display: block;
}

.gallery-thumbnails {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.thumbnail-container {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    scrollbar-width: none;
}

.thumbnail-container img {
    width: 80px;
    height: 80px;
    border-radius: 0.25rem;
    cursor: pointer;
    border: 2px solid transparent;
}

.thumbnail-container img.active {
    border-color: var(--text);
}

.gallery-nav {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0 0.5rem;
}

/* Product info styles */
.product-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.brand {
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    color: #666;
}

h1 {
    font-family: serif;
    font-size: 2.5rem;
    font-weight: normal;
    line-height: 1.2;
}

.price {
    font-size: 1.25rem;
}

.shipping-info {
    font-size: 0.875rem;
}

.shipping-info a {
    color: inherit;
    text-decoration: underline;
}

/* Quantity selector */
.quantity-selector {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.quantity-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    width: fit-content;
}

.quantity-btn {
    background: none;
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
}

#quantity {
    width: 3rem;
    text-align: center;
    border: none;
    background: none;
    -moz-appearance: textfield;
}

#quantity::-webkit-outer-spin-button,
#quantity::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Purchase buttons */
.purchase-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}



.shop-pay {
    background-color: var(--shop-pay);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 1rem;
}

.more-options {
    background: none;
    border: none;
    color: var(--text);
    text-decoration: underline;
    cursor: pointer;
    padding: 0.5rem;
}

/* Responsive design */
@media (max-width: 768px) {
    .product-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    h1 {
        font-size: 2rem;
    }

    .nav-links {
        display: none;
    }
}
.quantity-wrapper {
    display: flex;
    align-items: center;
    border-bottom: 4px solid  #792c2c;
    border-left: 2px solid #792c2c;
    border-right: 2px solid  #792c2c;
    border-radius: 8px;
    border-top: 2px solid  #792c2c;
    width: fit-content;
    background: var(--background);
    padding: 2px;
}

.quantity-btn {
    background: none;
    border: none;
    color: var(--border-color);
    font-size: 20px;
    padding: 8px 16px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.quantity-btn:hover {
    opacity: 0.7;
}

.quantity-input {
    width: 40px;
    text-align: center;
    border: none;
    background: none;
    font-size: 16px;
    color: var(--text-color);
    -moz-appearance: textfield;
}

.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.add-to-cart {
    display: block;
    width: 100%;
    padding: 16px;
    margin-top: 16px ;
    background: var(--background);
    border-bottom: 4px solid  #792c2c;
    border-top: 2px solid  #792c2c;
    border-radius: 50px;
    color: var(--text-color);
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}



/* Optional: Add focus styles for accessibility */
.quantity-btn:focus,
.quantity-input:focus,
.add-to-cart:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--background), 0 0 0 4px var(--border-color);
}
.top-banner {
    background-color:#f0e6c0;
    color: #4a1c2b;
    text-align: center;
    padding: 10px 0;
    font-size: 18px;
}

.shipping-banner {
    background-color: #8b1e4b;
    color: white;
    text-align: center;
    padding: 5px 0;
    font-size: 14px;
}

header {
    background-color: #f0e6c0;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}
h2 {
    font-size: 20px;
    margin-bottom: 20px;
    font-family: 'Cinzel', serif;
}

.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.product {
    display: flex;
    flex-direction: column;
}

.image-container {
    border: 2px solid #4a1c2b;
    border-radius: 10px;
    overflow: hidden;
}

.product img {
    width: 100%;
    height: auto;
    display: block;
}

.product-info {
    padding: 15px 0;
    text-align: left;
}

.product-title {
    font-size: 18px;
    margin-bottom: 10px;
}

.product-price {
    color: #792c2c;
    font-weight: bold;
}
footer {
    background-color: #8b1e4b;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}
.shipping-accordion {
    max-width: 600px;
    margin: 0 auto;
    background-color: #f0e6c0;
}

.accordion-item {
    border-bottom: 1px solid black;
}

.accordion-toggle {
    display: none;
}

.accordion-trigger {
    display: flex;
    align-items: center;
    padding: 15px 0;
    cursor: pointer;
    color: #792c2c;
    font-size: 18px;
    font-weight: 500;
}

.accordion-icon {
    margin-right: 12px;
    flex-shrink: 0;
}

.chevron {
    margin-left: auto;
    transition: transform 0.3s ease;
}

.accordion-toggle:checked + .accordion-trigger .chevron {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-toggle:checked + .accordion-trigger + .accordion-content {
    max-height: 1000px;
}

.accordion-content p {
    margin: 0;
    padding: 15px 0;
    color: #792c2c;
    line-height: 1.6;
}
#cart-dropdown {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #f0e6c0;
    border: 1px solid #4a0e0e;
    padding: 20px;
    display: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    max-width: 300px;
}

.close-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: none;
    border: none;
    font-size: 1.2em;
    cursor: pointer;
    color: #4a0e0e;
}

.cart-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.cart-item img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
    object-fit: cover;
    border-radius: 4px;
}

.cart-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cart-buttons button {
    padding: 10px;
    margin-top: 16px ;
    background: var(--background);
    border-bottom: 4px solid  #792c2c;
    border-top: 2px solid  #792c2c;
    border-radius: 50px;
}

.cart-buttons button:last-child {
    margin-top: 16px ;
    color: white;
    background: #8b1e4b;
    border-bottom: 4px solid  #1c0909;
    border-left: black;
    border-right: black;
    
    border-radius: 50px;

}
h3{
    font-size: 15px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    margin: 10px auto;
    max-width: 600px;
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
}
.button {
    background-color: #9b2242;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    

}
.button:hover {
    background-color: #6f162e;
    justify-content: center;
}
.Your-Cart{
    font-size: 50px;
    justify-items: center;

   
    
}
.cart-things{
    display: center;
    justify-content: center;
    align-items: center;
}
.cart-items{
    justify-items: center;
    align-items: center;
}
.continue-shopping-btn{
    background-color: #9b2242;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    
}
