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

body {
    font-family: 'Georgia', serif;
    line-height: 1.6;
    color: #333;
    background-color: #faf8f5;
}

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

/* Navigation */
.navbar {
    background-color: #8b4513;
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand h1 {
    font-size: 1.5rem;
}

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

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.nav-menu a:hover {
    opacity: 0.8;
}

.cart-link {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.cart-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    opacity: 1 !important;
}

/* Main Content */
main {
    min-height: calc(100vh - 200px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #d4a574 0%, #8b4513 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.3rem;
}

/* Slideshow */
.slideshow-section {
    padding: 4rem 0;
    background-color: white;
}

.slideshow-section h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #8b4513;
}

.slideshow {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.slide-container {
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

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

.slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(139, 69, 19, 0.7);
    color: white;
    border: none;
    padding: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.slide-btn:hover {
    background-color: rgba(139, 69, 19, 0.9);
}

.slide-btn.prev {
    left: 10px;
}

.slide-btn.next {
    right: 10px;
}

.slide-dots {
    text-align: center;
    margin-top: 1rem;
}

.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: #8b4513;
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    text-align: center;
    background-color: #f5e6d3;
}

.cta-section h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #8b4513;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s;
}

.btn-primary {
    background-color: #8b4513;
    color: white;
}

.btn-primary:hover {
    background-color: #6d3410;
}

/* Shop Page */
.shop-header {
    background-color: #8b4513;
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.shop-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.shop-content {
    padding: 3rem 0;
}

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

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

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

.product-info {
    padding: 1.5rem;
}

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

.product-description {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.product-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #8b4513;
    margin-bottom: 1rem;
}

.product-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.qty-btn {
    background-color: #8b4513;
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 5px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.qty-btn:hover {
    background-color: #6d3410;
}

.qty-input {
    width: 60px;
    height: 35px;
    text-align: center;
    border: 2px solid #8b4513;
    border-radius: 5px;
    font-size: 1rem;
}

.cart-message {
    min-height: 30px;
    margin-top: 0.5rem;
}

.alert {
    padding: 0.75rem;
    border-radius: 5px;
    text-align: center;
    animation: fadeIn 0.3s;
}

.alert.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

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

/* About Page */
.about-header {
    background-color: #8b4513;
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.about-header h2 {
    font-size: 2.5rem;
}

.about-content {
    padding: 3rem 0;
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.about-text h3 {
    color: #8b4513;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.about-text h3:first-child {
    margin-top: 0;
}

.about-text p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* Footer */
footer {
    background-color: #8b4513;
    color: white;
    padding: 2rem 0;
    text-align: center;
    margin-top: 4rem;
}

/* Cart Page */
.cart-header {
    background-color: #8b4513;
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.cart-header h2 {
    font-size: 2.5rem;
}

.cart-content {
    padding: 3rem 0;
}

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

.cart-item {
    display: grid;

    .cart-item {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cart-item-image {
        margin: 0 auto;
    }

    .cart-summary {
        max-width: 100%;
    }
    grid-template-columns: 150px 2fr 1fr 1fr auto;
    gap: 1.5rem;
    align-items: center;
    background: white;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.cart-item-image {
    width: 150px;
    height: 150px;
    overflow: hidden;
    border-radius: 8px;
}

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

.cart-item-details h3 {
    color: #8b4513;
    margin-bottom: 0.5rem;
}

.cart-item-description {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.cart-item-price {
    color: #8b4513;
    font-weight: 600;
}

.cart-item-quantity,
.cart-item-subtotal {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.quantity-label,
.subtotal-label,
.total-label {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.25rem;
}

.quantity-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: #8b4513;
}

.subtotal-value {
    font-size: 1.3rem;
    font-weight: bold;
    color: #8b4513;
}

.btn-remove {
    background-color: #dc3545;
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-remove:hover {
    background-color: #c82333;
}

.cart-summary {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    max-width: 500px;
    margin-left: auto;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 2px solid #8b4513;
    margin-bottom: 1.5rem;
}

.total-value {
    font-size: 2rem;
    font-weight: bold;
    color: #8b4513;
}

.checkout-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-checkout {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
    text-align: center;
}

.btn-secondary:hover {
    background-color: #5a6268;
}

.empty-cart {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 10px;
}

.empty-cart h3 {
    color: #8b4513;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.empty-cart p {
    color: #666;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.checkout-success {
    text-align: center;
    padding: 2rem;
    background: #d4edda;
    border: 2px solid #c3e6cb;
    border-radius: 10px;
}

.checkout-success h3 {
    color: #155724;
    margin-bottom: 1rem;
}

.checkout-success p {
    color: #155724;
    margin-bottom: 1rem;
}

.alert.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .slide-container {
        height: 300px;
    }

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

    .about-layout {
        grid-template-columns: 1fr;
    }
}
