/**
 * Spare Part Detail Page - Modern & Futuristic Design
 * Desain modern dengan hero image full width/height
 */

/* ============================================
   PAGE LAYOUT
   ============================================ */
.sparepart-detail-page {
    padding-top: 80px;
    background: #ffffff;
    min-height: 100vh;
}

/* ============================================
   HERO IMAGE SECTION - Product Image with Banner
   ============================================ */
.sparepart-detail-hero {
    position: relative;
    width: 100%;
    margin-bottom: 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    padding: 50px 0;
}

.hero-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Title at top (full width) */
.hero-content-wrapper > .product-title {
    width: 100%;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin-bottom: 0;
}

/* Image and Info wrapper (side by side) */
.hero-image-info-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    width: 100%;
}

.contact-person-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.contact-person-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(47, 128, 237, 0.1);
    transform: translateY(-2px);
}

.btn-buy-sparepart {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 18px 24px;
    background: linear-gradient(135deg, var(--inviro-primary-light, #75C6F1) 0%, var(--inviro-primary, #2F80ED) 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(47, 128, 237, 0.3);
    border: none;
    cursor: pointer;
}

.btn-buy-sparepart:hover {
    background: linear-gradient(135deg, var(--inviro-primary, #2F80ED) 0%, var(--inviro-primary-light, #75C6F1) 100%);
    box-shadow: 0 6px 20px rgba(47, 128, 237, 0.4);
    transform: translateY(-2px);
    color: #ffffff;
}

.btn-buy-sparepart svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    fill: #ffffff;
}

.contact-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(47, 128, 237, 0.1);
    position: relative;
}

.contact-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(135deg, var(--inviro-primary-light, #75C6F1) 0%, var(--inviro-primary, #2F80ED) 100%);
    border-radius: 2px;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    background: #ffffff;
    border: 2px solid rgba(47, 128, 237, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
    font-weight: 600;
}

.contact-item:hover {
    background: linear-gradient(135deg, rgba(47, 128, 237, 0.05) 0%, rgba(117, 198, 241, 0.05) 100%);
    border-color: var(--inviro-primary, #2F80ED);
    transform: translateX(4px);
    color: var(--inviro-primary, #2F80ED);
}

.contact-item svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.contact-wa {
    color: var(--inviro-primary, #2F80ED);
}

.contact-wa:hover {
    background: linear-gradient(135deg, rgba(47, 128, 237, 0.1) 0%, rgba(117, 198, 241, 0.05) 100%);
    border-color: var(--inviro-primary, #2F80ED);
    color: var(--inviro-primary, #2F80ED);
}

.contact-wa svg {
    fill: var(--inviro-primary, #2F80ED) !important;
}

.contact-wa:hover svg {
    fill: var(--inviro-primary, #2F80ED) !important;
}

.contact-email {
    color: var(--inviro-primary, #2F80ED);
}

.contact-email:hover {
    background: linear-gradient(135deg, rgba(47, 128, 237, 0.1) 0%, rgba(117, 198, 241, 0.05) 100%);
    border-color: var(--inviro-primary, #2F80ED);
    color: var(--inviro-primary, #2F80ED);
}

.contact-email svg {
    stroke: var(--inviro-primary, #2F80ED) !important;
    color: var(--inviro-primary, #2F80ED) !important;
}

.contact-email:hover svg {
    stroke: var(--inviro-primary, #2F80ED) !important;
    color: var(--inviro-primary, #2F80ED) !important;
}

.hero-image-info-wrapper .hero-image-wrapper {
    position: relative;
    flex: 1;
    max-width: 655px;
    width: 655px;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-image-wrapper {
    position: relative;
    flex: 1;
    max-width: 655px;
    width: 655px;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-image-info-wrapper .hero-image-wrapper:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(47, 128, 237, 0.1);
    transform: translateY(-4px);
}

.hero-image-wrapper:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(47, 128, 237, 0.1);
    transform: translateY(-4px);
}

/* Info section (price and button) on right */
.hero-info-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
    min-width: 0;
}

.price-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.05);
    width: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.price-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(47, 128, 237, 0.1);
    transform: translateY(-4px);
}

.price-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.price-amount-wrapper {
    margin-bottom: 20px;
}

.price-current {
    font-size: 2rem;
    font-weight: 800;
    color: var(--inviro-primary, #2F80ED);
    line-height: 1.2;
    margin-bottom: 8px;
}

.price-original {
    font-size: 1.2rem;
    font-weight: 600;
    color: #999;
    text-decoration: line-through;
    margin-bottom: 8px;
}

.price-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--inviro-primary-light, #75C6F1) 0%, var(--inviro-primary, #2F80ED) 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(47, 128, 237, 0.3);
}

.hero-image-container {
    position: relative;
    width: 100%;
    height: 655px;
    max-height: 655px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.3s ease;
}

.hero-image {
    width: 100% !important;
    height: 100% !important;
    max-height: 655px !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    object-fit: cover !important;
    object-position: center !important;
    margin: 0 !important;
    padding: 0 !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    background: #ffffff;
}

.hero-image-placeholder {
    width: 100% !important;
    min-height: 400px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #ffffff;
    position: relative;
    padding: 60px 20px;
}

.hero-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--inviro-primary-light, #75C6F1) 0%, var(--inviro-primary, #2F80ED) 100%);
    color: white;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(47, 128, 237, 0.4);
    z-index: 10;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.warranty-badge {
    background: linear-gradient(135deg, var(--inviro-primary-light, #75C6F1) 0%, var(--inviro-primary, #2F80ED) 100%);
    border-radius: 12px;
    width: auto;
    height: auto;
    min-width: 120px;
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(47, 128, 237, 0.4);
}

.warranty-badge .badge-text {
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 2px;
}

.warranty-badge .badge-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.95;
}

.hero-badge .badge-text {
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-badge .badge-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 2px;
    letter-spacing: 0.3px;
    text-align: center;
    line-height: 1.1;
}


.product-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.3;
    letter-spacing: -0.5px;
    text-align: left;
    position: relative;
    padding-bottom: 20px;
}

.product-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--inviro-primary-light, #75C6F1) 0%, var(--inviro-primary, #2F80ED) 100%);
    border-radius: 2px;
}

/* ============================================
   TABS SECTION - Modern Design
   ============================================ */
.sparepart-detail-tabs-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    padding: 50px 0 80px;
    margin-top: 20px;
}

.tabs-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.tabs-nav {
    display: flex;
    gap: 0;
    border-bottom: 3px solid rgba(47, 128, 237, 0.1);
    margin-bottom: 40px;
    background: #ffffff;
    padding: 0;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.tab-button {
    background: transparent;
    border: none;
    padding: 18px 35px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #666;
    cursor: pointer;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 4px solid transparent;
    margin-bottom: -3px;
    letter-spacing: 0.3px;
}

.tab-button::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--inviro-primary-light, #75C6F1) 0%, var(--inviro-primary, #2F80ED) 100%);
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab-button:hover {
    color: var(--inviro-primary, #2F80ED);
    background: linear-gradient(180deg, rgba(47, 128, 237, 0.05) 0%, transparent 100%);
}

.tab-button:hover::before {
    transform: scaleX(1);
}

.tab-button.active {
    color: var(--inviro-primary, #2F80ED);
    background: linear-gradient(180deg, rgba(47, 128, 237, 0.08) 0%, transparent 100%);
}

.tab-button.active::before {
    transform: scaleX(1);
}

.tabs-content {
    background: #ffffff;
    padding: 40px;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(47, 128, 237, 0.1);
    border: 1px solid rgba(47, 128, 237, 0.1);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.tab-content-inner {
    line-height: 1.8;
    color: #333;
}

.tab-content-inner p {
    margin-bottom: 1rem;
}

/* ============================================
   SPESIFIKASI TABLE - Professional Clean Design
   ============================================ */
.specifications-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: #ffffff;
    border: 1px solid #d1d5db;
    font-size: 0.95rem;
}

.specifications-table thead {
    background: #f9fafb;
    border-bottom: 2px solid #d1d5db;
}

.specifications-table th {
    padding: 14px 18px;
    text-align: left;
    font-weight: 600;
    color: #111827;
    border: 1px solid #d1d5db;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.specifications-table th:first-child {
    width: 60px;
    text-align: center;
}

.specifications-table th:nth-child(3),
.specifications-table th:nth-child(4) {
    width: 100px;
    text-align: center;
}

.specifications-table td {
    padding: 14px 18px;
    border: 1px solid #e5e7eb;
    color: #374151;
    font-size: 0.95rem;
    background: #ffffff;
    vertical-align: top;
}

.specifications-table td:first-child {
    text-align: center;
    font-weight: 600;
    color: #111827;
    background: #f9fafb;
}

.specifications-table td:nth-child(3),
.specifications-table td:nth-child(4) {
    text-align: center;
    font-weight: 500;
}

.specifications-table tbody tr:nth-child(even) {
    background: #f9fafb;
}

.specifications-table tbody tr:nth-child(even) td:first-child {
    background: #f3f4f6;
}

.specifications-table tbody tr:hover {
    background: #f3f4f6;
}

.specifications-table tbody tr:hover td:first-child {
    background: #e5e7eb;
}

/* ============================================
   REVIEWS SECTION - Modern Card Design
   ============================================ */
/* Reviews Carousel Container */
.reviews-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 40px;
}

.reviews-list {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s ease-in-out;
    width: 100%;
    padding: 2rem;
}

.reviews-list .testimonial-card {
    flex: 0 0 calc(33.333% - 1.333rem);
    min-width: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(47, 128, 237, 0.15),
                0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    color: #1a1a1a;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.reviews-list .testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--inviro-primary, #2F80ED) 0%, var(--inviro-primary-light, #75C6F1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.reviews-list .testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(47, 128, 237, 0.25),
                0 0 0 1px rgba(255, 255, 255, 0.8) inset,
                0 0 40px rgba(117, 198, 241, 0.3);
    border-color: rgba(117, 198, 241, 0.5);
}

.reviews-list .testimonial-card:hover::before {
    opacity: 1;
}

.reviews-list .testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.reviews-list .testimonial-avatar {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    border: 2px solid var(--inviro-primary-light, #75C6F1);
    box-shadow: 0 2px 8px rgba(47, 128, 237, 0.12),
                0 0 0 1px rgba(255, 255, 255, 0.8) inset;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--inviro-primary-light, #75C6F1) 0%, var(--inviro-primary, #2F80ED) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.reviews-list .testimonial-avatar img {
    display: none !important;
}

.reviews-list .testimonial-avatar::before {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    aspect-ratio: 1 / 1;
}

.reviews-list .testimonial-meta {
    flex: 1;
    min-width: 0;
}

.reviews-list .testimonial-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
    margin: 0 0 0.25rem 0;
}

.reviews-list .testimonial-date {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
    line-height: 1.3;
}

.reviews-list .testimonial-rating {
    margin-bottom: 1rem;
    display: flex;
    gap: 0.25rem;
}

.reviews-list .testimonial-rating .star {
    font-size: 1.2rem;
    color: #ddd;
    transition: all 0.2s ease;
}

.reviews-list .testimonial-rating .star.filled {
    color: #FFD700;
    text-shadow: 0 2px 4px rgba(255, 215, 0, 0.3);
    filter: drop-shadow(0 0 2px rgba(255, 215, 0, 0.5));
}

.reviews-list .testimonial-content {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #475569;
    flex: 1;
}

.reviews-list .testimonial-content p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.no-reviews {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

/* ============================================
   REVIEW FORM - Modern Design
   ============================================ */
.review-form-wrapper {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 3px solid rgba(47, 128, 237, 0.1);
    background: linear-gradient(135deg, rgba(47, 128, 237, 0.02) 0%, rgba(117, 198, 241, 0.02) 100%);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.review-form-wrapper h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #1a1a1a 0%, var(--inviro-primary, #2F80ED) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.review-form {
    max-width: 800px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid rgba(47, 128, 237, 0.2);
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    background: #ffffff;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--inviro-primary, #2F80ED);
    box-shadow: 0 0 0 4px rgba(47, 128, 237, 0.1), 0 4px 12px rgba(47, 128, 237, 0.15);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.rating-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(47, 128, 237, 0.2);
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    background: #ffffff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%232F80ED' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px;
    padding-right: 40px;
}

.rating-select:focus {
    outline: none;
    border-color: var(--inviro-primary, #2F80ED);
    box-shadow: 0 0 0 4px rgba(47, 128, 237, 0.1), 0 4px 12px rgba(47, 128, 237, 0.15);
    transform: translateY(-2px);
}

.rating-select option {
    padding: 12px;
    font-weight: 600;
}

.btn-submit-review {
    background: linear-gradient(135deg, var(--inviro-primary-light, #75C6F1) 0%, var(--inviro-primary-medium, #4FB3E8) 50%, var(--inviro-primary, #2F80ED) 100%);
    color: white;
    border: none;
    padding: 16px 40px;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(47, 128, 237, 0.35), 0 0 0 0 rgba(47, 128, 237, 0.5);
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}

.btn-submit-review::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-submit-review:hover::before {
    left: 100%;
}

.btn-submit-review:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(47, 128, 237, 0.45), 0 0 0 4px rgba(47, 128, 237, 0.1);
}

.btn-submit-review:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.form-message {
    margin-top: 15px;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 0.95rem;
}

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

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

/* Reviews Carousel Controls */
.reviews-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
}

.reviews-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.review-prev,
.review-next {
    background: linear-gradient(135deg, var(--inviro-primary, #2F80ED) 0%, var(--inviro-primary-medium, #4FB3E8) 100%);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(47, 128, 237, 0.3),
                0 0 0 0 rgba(47, 128, 237, 0.4);
    position: relative;
    overflow: hidden;
}

.review-prev::before,
.review-next::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.review-prev:hover,
.review-next:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 28px rgba(47, 128, 237, 0.4),
                0 0 0 4px rgba(47, 128, 237, 0.1);
}

.review-prev:hover::before,
.review-next:hover::before {
    width: 100%;
    height: 100%;
}

.review-prev:active,
.review-next:active {
    transform: translateY(-1px) scale(1.02);
}

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

.reviews-indicators .testimonial-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--inviro-primary, #2F80ED);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    margin: 0;
}

.reviews-indicators .testimonial-indicator:hover {
    background: rgba(47, 128, 237, 0.3);
    transform: scale(1.2);
}

.reviews-indicators .testimonial-indicator.active {
    background: var(--inviro-primary, #2F80ED);
    transform: scale(1.3);
    box-shadow: 0 0 0 3px rgba(47, 128, 237, 0.2);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    .sparepart-detail-page {
        padding-top: 70px;
    }
    
    .sparepart-detail-hero {
        padding: 30px 0;
    }
    
    .hero-content-wrapper {
        flex-direction: column;
        gap: 20px;
        padding: 0 15px;
    }
    
    /* Mobile: Title at top */
    .hero-content-wrapper > .product-title {
        display: block !important;
        order: 1;
        font-size: 1.5rem;
        text-align: left;
        padding: 0;
        margin: 0;
        width: 100%;
    }
    
    .hero-content-wrapper > .product-title::after {
        left: 0;
        transform: none;
    }
    
    /* Mobile: Image and Info wrapper becomes vertical */
    .hero-image-info-wrapper {
        flex-direction: column;
        gap: 20px;
        order: 2;
    }
    
    .hero-image-info-wrapper .hero-image-wrapper {
        order: 1;
        max-width: 100%;
        width: 100%;
    }
    
    .hero-image-info-wrapper .hero-info-section {
        order: 2;
        width: 100%;
    }
    
    .hero-image-info-wrapper .hero-info-section .price-card {
        width: 100%;
    }
    
    .hero-image-info-wrapper .hero-info-section .contact-person-card {
        width: 100%;
    }
    
    .hero-image-container {
        height: 400px;
        max-height: 400px;
    }
    
    .hero-image {
        max-height: 400px !important;
    }
    
    .hero-badge {
        width: 60px;
        height: 60px;
        top: 10px;
        right: 10px;
    }
    
    .hero-badge .badge-text {
        font-size: 1.2rem;
    }
    
    .hero-badge .badge-label {
        font-size: 0.55rem;
        line-height: 1;
    }
    
    .price-card {
        width: 100%;
    }
    
    .price-current {
        font-size: 1.6rem;
    }
    
    .price-original {
        font-size: 1rem;
    }
    
    .product-title {
        font-size: 1.5rem;
        padding: 0 15px;
    }
    
    .sparepart-detail-tabs-section {
        padding: 30px 0 50px;
    }
    
    .tabs-nav {
        padding: 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 0;
    }
    
    .tab-button {
        padding: 14px 24px;
        font-size: 0.9rem;
        white-space: nowrap;
    }
    
    .tabs-content {
        padding: 25px 20px;
        margin: 0 15px;
        border-radius: 0 0 12px 12px;
    }
    
    .review-form-wrapper {
        padding: 25px 20px;
        margin: 0 15px;
    }
    
    .specifications-table {
        font-size: 0.9rem;
    }
    
    .specifications-table th {
        padding: 14px 12px;
        font-size: 0.85rem;
    }
    
    .specifications-table td {
        padding: 14px 12px;
        font-size: 0.9rem;
    }
    
    .specifications-table th:first-child {
        width: 50px;
    }
    
    .specifications-table th:nth-child(3),
    .specifications-table th:nth-child(4) {
        width: 80px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .reviews-list {
        gap: 1rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    
    .reviews-list::-webkit-scrollbar {
        display: none;
    }
    
    .reviews-list .testimonial-card {
        flex: 0 0 calc(100% - 0.5rem);
        scroll-snap-align: start;
        min-height: auto;
        padding: 1.5rem;
    }
    
    .reviews-controls,
    .reviews-indicators {
        display: none !important;
    }
    
    .reviews-list .testimonial-avatar {
        width: 36px;
        height: 36px;
        min-width: 36px;
    }
    
    .reviews-list .testimonial-avatar::before {
        width: 20px;
        height: 20px;
        min-width: 20px;
        min-height: 20px;
    }
    
    .reviews-list .testimonial-name {
        font-size: 0.9rem;
    }
    
    .reviews-list .testimonial-date {
        font-size: 0.75rem;
    }
    
    .reviews-list .testimonial-rating .star {
        font-size: 1rem;
    }
    
    .reviews-list .testimonial-content {
        font-size: 0.85rem;
    }
    
    .reviews-list .testimonial-content p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .product-title {
        font-size: 1.2rem;
    }
    
    .tab-button {
        padding: 10px 15px;
        font-size: 0.85rem;
    }
    
    .specifications-table {
        font-size: 0.85rem;
    }
    
    .specifications-table th {
        padding: 12px 10px;
        font-size: 0.8rem;
    }
    
    .specifications-table td {
        padding: 12px 10px;
        font-size: 0.85rem;
    }
    
    .specifications-table th:first-child {
        width: 45px;
    }
    
    .specifications-table th:nth-child(3),
    .specifications-table th:nth-child(4) {
        width: 70px;
    }
    
    .review-form-wrapper h3 {
        font-size: 1.2rem;
    }
    
    .reviews-list {
        gap: 0.75rem;
    }
    
    .reviews-list .testimonial-card {
        padding: 0.85rem;
        min-height: 160px;
        border-radius: 12px;
    }
    
    .reviews-list .testimonial-avatar {
        width: 36px;
        height: 36px;
        min-width: 36px;
    }
    
    .reviews-list .testimonial-avatar::before {
        width: 20px;
        height: 20px;
        min-width: 20px;
        min-height: 20px;
    }
    
    .reviews-list .testimonial-name {
        font-size: 0.7rem;
    }
    
    .reviews-list .testimonial-date {
        font-size: 0.6rem;
    }
    
    .reviews-list .testimonial-rating .star {
        font-size: 0.75rem;
    }
    
    .reviews-list .testimonial-content {
        font-size: 0.65rem;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
        line-clamp: 4;
    }
    
    .reviews-list .testimonial-content p {
        font-size: 0.65rem;
    }
}
