:root {
    --primary-color: #7a6a5f;
    --accent-color: #d4af37;
    --text-color: #2a2a2a;
    --light-bg: #f9f5f0;
    --border-color: #e8e2d6;
}

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

body {
    font-family: 'Cormorant Garamond', serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: #fff;
    margin-top: 50px;
    padding-left: 50px;
    padding-right: 50px;

}
.container {
    display: flex;
    gap: 4rem;
    padding: 3rem 0;
    max-width: 1400px;
    margin: 0 auto;
}

.left-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-image {
    width: 100%;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
    border: 1px solid var(--border-color);
}

.main-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: opacity 0.4s ease;
    display: block;
}

.main-image img.fade-out {
    opacity: 0;
}

.right-section {
    flex: 1;
    padding-top: 2rem;
}

.right-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.price {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 1rem 0;
    font-weight: 600;
}

.right-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #555;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
}

.quantity-control button {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quantity-control button:hover {
    background: var(--primary-color);
    color: white;
}

.quantity-control span {
    font-size: 1.2rem;
    min-width: 30px;
    text-align: center;
}

.buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.buttons button {
    padding: 1rem 2.5rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.buttons button:first-child {
    background: var(--primary-color);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.buttons button:first-child:hover {
    background: #6a5a4f;
    transform: translateY(-2px);
}

.buttons button:last-child {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.buttons button:last-child:hover {
    background: var(--light-bg);
}

.section {
    padding: 3rem 0;
    max-width: 1400px;
    margin: 0 auto;
    border-top: 1px solid var(--border-color);
}

.section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
    position: relative;
}

.section h2::after {
    content: "";
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--accent-color);
}

.section p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #555;
}

.badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.badge {
    background: var(--light-bg);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 1rem;
    color: var(--primary-color);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.badge:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Materials Section */
.materials-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.materials-container {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 1rem 0;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Hide scrollbar for Firefox */
    -ms-overflow-style: none; /* Hide scrollbar for IE/Edge */
}

.materials-container::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome/Safari */
}

.material-card {
    flex: 0 0 auto;
    width: 120px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.material-box {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.material-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.material-card div {
    font-size: 1rem;
    color: var(--primary-color);
}

.arrow {
    font-size: 2rem;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.arrow:hover {
    color: var(--accent-color);
    transform: scale(1.2);
}

@media (max-width: 992px) {
    .container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .right-section {
        padding-top: 0;
    }
    
    .main-image img {
        height: 400px;
    }

    .materials-section {
        padding: 0 1rem;
    }
}

@media (max-width: 768px) {
    body {
        padding: 1rem;
    }

    .buttons {
        flex-direction: column;
    }

    .section {
        padding: 2rem 0;
    }

    .right-section h2 {
        font-size: 2rem;
    }

    .section h2 {
        font-size: 1.8rem;
    }

    .material-card {
        width: 100px;
    }

    .material-box {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .arrow {
        display: none !important;
    }

    .materials-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}
