/* Crafted Section */
.crafted-section {
    padding: 30px 5% 80px;
    clear: both;
}

.crafted-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Top Block - Liora Chair */
.crafted-top-block {
    background-color: #f7f6f2; /* Light beige matching design */
    border-radius: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 50px;
    position: relative;
    overflow: hidden;
}

.crafted-left {
    flex: 1 1 300px;
    max-width: 400px;
    z-index: 2;
}

.crafted-subtitle {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #666;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.crafted-title {
    font-size: 38px;
    line-height: 1.2;
    color: #222;
    margin-bottom: 25px;
    font-family: 'Playfair Display', serif;
}

.crafted-desc {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.crafted-link {
    font-size: 14px;
    color: #222;
    text-decoration: none !important;
    font-weight: 500;
    border-bottom: 1px solid #222;
    padding-bottom: 2px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.crafted-link:hover {
    gap: 15px;
    color: #c5a059;
    border-bottom-color: #c5a059;
}

.crafted-image-center {
    flex: 2 1 400px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.crafted-image-center img {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    transition: transform 0.5s ease;
    mix-blend-mode: multiply; /* Removes white bg from image */
}

.crafted-top-block:hover .crafted-image-center img {
    transform: scale(1.03);
}

.crafted-right {
    flex: 1 1 250px;
    max-width: 300px;
    z-index: 2;
    padding-left: 20px;
}

.crafted-product-title {
    font-size: 24px;
    font-family: 'Playfair Display', serif;
    color: #222;
    margin-bottom: 10px;
}

.crafted-price {
    font-size: 20px;
    color: #c5a059;
    font-weight: 600;
    margin-bottom: 20px;
}

.crafted-product-desc {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.color-swatches {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
}

.color-swatch {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.color-swatch:hover, .color-swatch.active {
    transform: scale(1.2);
    box-shadow: 0 0 0 2px #f7f6f2, 0 0 0 4px #222;
}

.color-1 { background-color: #c5a059; } /* Metallic Gold */
.color-2 { background-color: #d8c3a5; } /* Beige */
.color-3 { background-color: #111111; } /* Rich Onyx */

.btn-primary-custom {
    background-color: #111111; /* Rich Onyx */
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: #c5a059;
    color: #111;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(197, 160, 89, 0.35);
}


/* Bottom Block - Modular Sofa */
.crafted-bottom-block {
    background-color: #111111; /* Rich Onyx background matching logo */
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    height: 380px; /* Shorter height as requested */
}

.crafted-slider {
    width: 100%;
    height: 100%;
}

.crafted-slide {
    display: flex;
    flex-wrap: wrap;
    height: 380px;
}

.crafted-bottom-content {
    flex: 1 1 400px;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
    color: #ffffff !important;
}

.crafted-bottom-subtitle {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #c5a059 !important;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.crafted-bottom-title {
    font-size: 32px;
    line-height: 1.2;
    color: #ffffff !important;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif !important;
}

.crafted-bottom-desc {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 400px;
}

.crafted-bottom-link {
    font-size: 14px;
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    padding-bottom: 2px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.crafted-bottom-link:hover {
    gap: 15px;
    color: #fff;
    border-bottom-color: #fff;
}

.crafted-bottom-image {
    flex: 1.5 1 500px;
    position: relative;
    z-index: 1;
    height: 100%;
}

.crafted-bottom-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.crafted-nav-arrows {
    position: absolute;
    top: 40px;
    right: 40px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.nav-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-arrow:hover {
    background-color: rgba(255,255,255,0.1);
    border-color: #fff;
}


/* Responsive Adjustments */
@media (max-width: 991px) {
    .crafted-top-block {
        padding: 40px 30px;
        flex-direction: column;
        text-align: center;
    }
    
    .crafted-left, .crafted-right {
        max-width: 100%;
        padding-left: 0;
    }
    
    .crafted-subtitle, .crafted-link {
        justify-content: center;
    }
    
    .color-swatches {
        justify-content: center;
    }
    
    .crafted-image-center {
        margin: 40px 0;
    }
    
    .crafted-bottom-block {
        height: auto;
    }
    
    .crafted-slide {
        height: auto;
        flex-direction: column;
    }

    .crafted-bottom-content {
        padding: 40px 30px;
        flex: 1 1 auto;
    }
    
    .crafted-bottom-image {
        min-height: 300px;
        flex: 1 1 300px;
    }
    
    .crafted-nav-arrows {
        top: 20px;
        right: 20px;
    }
}
