.product-feature-carousel.product-extra-content {
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    background: #fff;
}

#content .product-feature-carousel {
    order: -1;
}

.feature-carousel-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.feature-title {
    flex: 0 0 25%;
    max-width: 25%;
    padding-right: 30px;
}

.feature-title h3 {
    font-size: 18px;
    font-weight: 300;
    letter-spacing: -.0132em;
    color: #333;
    margin: 0;
    line-height: 1.4;
}

.feature-carousel-wrapper {
    flex: 0 0 75%;
    max-width: 75%;
    position: relative;
}

.feature-carousel {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 20px;
    padding: 10px 0;
    cursor: grab;
    scroll-snap-type: x mandatory;
}

.feature-carousel::-webkit-scrollbar {
    display: none;
}

.feature-carousel:active {
    cursor: grabbing;
}

.feature-item {
    flex: 0 0 auto;
    width: 180px;
    min-height: 140px;
    text-align: center;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    scroll-snap-align: start;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background: #fff;
}

.feature-icon {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.feature-image {
    max-height: 110px;
    max-width: 110px;
    object-fit: contain;
}

.feature-title-text {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .0625rem;
    line-height: .75rem;
    text-transform: uppercase;
    color: #333;
    margin: 0 0 5px 0;
}

.feature-description {
    font-size: 12px;
    color: #666;
    margin: 0;
    line-height: 1.4;
    max-height: 3.6em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.carousel-prev,
.carousel-next {
    pointer-events: auto;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    opacity: 1;
    border: none;
    outline: none;
}

.carousel-prev:hover:not(:disabled),
.carousel-next:hover:not(:disabled) {
    background: #f5f5f5;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.carousel-prev:disabled,
.carousel-next:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
}

.carousel-prev svg,
.carousel-next svg {
    stroke: #333;
    stroke-width: 2;
    width: 20px;
    height: 20px;
}

.carousel-prev {
  transform: translateX(-20px) translateY(-50%);
  position: absolute;
  left: 10px;
  top: 50%;
}

.carousel-next {
  transform: translateX(20px) translateY(-50%);
  position: absolute;
  right: 10px;
  top: 50%;
}

.no-features-message {
    padding: 40px 20px;
    text-align: center;
    background: #f9f9f9;
    border-radius: 8px;
    color: #777;
}

/* Responsive */
@media (max-width: 992px) {
    .feature-title,
    .feature-carousel-wrapper {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .feature-title {
        margin-bottom: 20px;
        padding-right: 0;
        text-align: center;
    }

    .carousel-prev {
        transform: translateX(-10px);
    }

    .carousel-next {
        transform: translateX(10px);
    }
}

@media (max-width: 768px) {
    .feature-item {
        width: 160px;
        min-height: 130px;
    }

    .carousel-prev,
    .carousel-next {
        width: 36px;
        height: 36px;
        opacity: 0.8;
    }

    .carousel-prev {
        left: 5px;
    }

    .carousel-next {
        right: 5px;
    }

    .feature-carousel {
        gap: 10px;
        padding-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .feature-item {
        width: 140px;
        min-height: 120px;
        padding: 12px;
    }

    .feature-icon {
        height: 50px;
    }

    .feature-image {
        max-height: 40px;
        max-width: 40px;
    }
}

.product-page .product-feature-carousel {
    margin-bottom: 30px;
}

#product-details .product-feature-carousel {
    order: 1;
}

.product-tabs {
    order: 2;
}

.product-feature-carousel-before-tabs{
      margin: 100px auto;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.carousel-prev,
.carousel-next {
    animation: fadeIn 0.3s ease;
}
