/* CNC Beads Collection Section Styles */
.block-cnc-products {
    position: relative;
}

.block-cnc-products .block-title {
    text-align: center;
    margin-bottom: 60px;
}

.block-cnc-products .block-title h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
    font-family: 'Cormorant Garamond', serif;
    color: #222;
}

.block-cnc-products .block-title .sub-title {
    font-size: 16px;
    color: #666;
    font-style: italic;
}

/* CNC Product Card Styles */
.cnc-product-item {
    padding: 15px;
}

.cnc-product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.cnc-product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* CNC Product Thumbnail */
.cnc-product-thumb {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
}

.cnc-product-thumb::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(212, 175, 55, 0) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.cnc-product-card:hover .cnc-product-thumb::before {
    opacity: 1;
}

.cnc-product-thumb img {
    width: 100%;
    height: auto;
    /* max-height: 200px; */
    object-fit: contain;
    transition: transform 0.4s ease;
    position: relative;
    z-index: 1;
}

.cnc-product-card:hover .cnc-product-thumb img {
    transform: scale(1.15) rotate(5deg);
}

/* CNC Product Content */
.cnc-product-content {
    padding: 25px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cnc-product-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    font-family: 'Cormorant Garamond', serif;
    line-height: 1.3;
}

.cnc-product-title a {
    color: #222;
    text-decoration: none;
    transition: color 0.3s ease;
}

.cnc-product-title a:hover {
    color: #d4af37;
}

.cnc-product-size {
    font-size: 14px;
    color: #999;
    font-style: italic;
    margin-bottom: 10px;
    margin: 0;
}

.cnc-product-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Slider Navigation Customization */
.cnc-products-slider .slick-arrow {
    width: 50px;
    height: 50px;
    background: transparent;
    border: none;
    transition: all 0.3s ease;
    z-index: 10;
}

.cnc-products-slider .slick-arrow:hover {
    background: transparent;
}

.cnc-products-slider .slick-arrow::before {
    color: #222;
    font-size: 30px;
    transition: all 0.3s ease;
    opacity: 1;
}

.cnc-products-slider .slick-arrow:hover::before {
    color: #222;
    transform: scale(1.2);
}

.cnc-products-slider .slick-prev {
    left: -25px;
}

.cnc-products-slider .slick-next {
    right: -25px;
}

/* Slider Dots Customization */
.cnc-products-slider .slick-dots {
    bottom: -50px;
}

.cnc-products-slider .slick-dots li button:before {
    font-size: 12px;
    color: #d4af37;
    opacity: 0.3;
}

.cnc-products-slider .slick-dots li.slick-active button:before {
    opacity: 1;
    color: #d4af37;
}

/* Button Styling */
.block-cnc-products .button-outline {
    border-color: #d4af37;
    color: #d4af37;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.block-cnc-products .button-outline:hover {
    background: #d4af37;
    color: #fff;
    border-color: #d4af37;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .cnc-product-thumb {
        padding: 30px;
        min-height: 250px;
    }
    
    .cnc-product-thumb img {
        max-height: 180px;
    }
}

@media (max-width: 992px) {
    .block-cnc-products .block-title h2 {
        font-size: 36px;
    }
    
    .cnc-product-thumb {
        padding: 25px;
        min-height: 220px;
    }
    
    .cnc-product-thumb img {
        max-height: 160px;
    }
    
    .cnc-product-content {
        padding: 20px;
    }
    
    .cnc-product-title {
        font-size: 18px;
    }
    
    .cnc-products-slider .slick-prev {
        left: -15px;
    }
    
    .cnc-products-slider .slick-next {
        right: -15px;
    }
}

@media (max-width: 768px) {
    .block-cnc-products .block-title h2 {
        font-size: 32px;
    }
    
    .block-cnc-products .block-title {
        margin-bottom: 40px;
    }
    
    .cnc-product-thumb {
        padding: 20px;
        min-height: 200px;
    }
    
    .cnc-product-thumb img {
        max-height: 140px;
    }
    
    .cnc-product-content {
        padding: 18px;
    }
    
    .cnc-product-title {
        font-size: 17px;
    }
    
    .cnc-product-desc {
        font-size: 13px;
    }
    
    .cnc-products-slider .slick-arrow {
        width: 40px;
        height: 40px;
    }
    
    .cnc-products-slider .slick-prev {
        left: 0;
    }
    
    .cnc-products-slider .slick-next {
        right: 0;
    }
}

@media (max-width: 576px) {
    .block-cnc-products .block-title h2 {
        font-size: 28px;
    }
    
    .cnc-product-item {
        padding: 10px;
    }
    
    .cnc-product-thumb {
        padding: 20px;
        min-height: 180px;
    }
    
    .cnc-product-thumb img {
        max-height: 120px;
    }
    
    .m-t-50 {
        margin-top: 40px;
    }
}
