﻿.branch-info-item {
    display: flex;
    align-items: flex-start;
    font-size: 14px;
    line-height: 1.6;
}

.branch-info-item i {
    margin-top: 3px;
    flex-shrink: 0;
}

.service-item .contact-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.modal-body iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.star-divider {
    display: inline-flex;
    gap: 10px;
    font-size: 20px;
    color: #ffc107;
}

.star-divider i {
    animation: starPulse 2s ease-in-out infinite;
}

.star-divider i:nth-child(1) {
    animation-delay: 0s;
}

.star-divider i:nth-child(2) {
    animation-delay: 0.1s;
}

.star-divider i:nth-child(3) {
    animation-delay: 0.2s;
}

.star-divider i:nth-child(4) {
    animation-delay: 0.3s;
}

.star-divider i:nth-child(5) {
    animation-delay: 0.4s;
}

@keyframes starPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.category-section {
    margin-bottom: 40px;
}

.category-title {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--theme-color);
    display: inline-block;
}

.product-item {
    position: relative;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
}

.badge-discount {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(238, 90, 111, 0.4);
}

.product-img {
    position: relative;
    overflow: hidden;
    padding-top: 100%;
    /* 1:1 Aspect Ratio */
    background: #f8f9fa;
}

.product-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-item:hover .product-img img {
    transform: scale(1.1);
}

.product-content {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
    min-height: 40px;
}

.product-title a {
    color: #2c3e50;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-title a:hover {
    color: var(--theme-color);
}

.product-price {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: flex-start;
}

.price-old {
    color: #999;
    text-decoration: line-through;
    font-size: 13px;
}

.price-new {
    color: #ee5a6f;
    font-size: 16px;
    font-weight: 700;
}

.price-current {
    color: #2c3e50;
    font-size: 16px;
    font-weight: 700;
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 8px 16px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.6);
    color: #fff;
}

.btn-contact i {
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .category-title {
        font-size: 20px;
    }

    .product-title {
        font-size: 13px;
        min-height: 36px;
    }

    .price-new,
    .price-current {
        font-size: 14px;
    }
}

.service-pricing-area {
    padding: 40px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.section-header {
    margin-bottom: 30px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--theme-color), #ee5a6f);
    border-radius: 2px;
}

.section-subtitle {
    color: #7f8c8d;
    font-size: 16px;
    margin-top: 20px;
}

.pricing-table-wrapper {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.pricing-table {
    width: 100%;
    margin-bottom: 0;
}

.pricing-table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.pricing-table thead th {
    padding: 20px 15px;
    font-weight: 600;
    text-align: center;
    border: none;
    font-size: 16px;
}

.pricing-table thead th i {
    margin-right: 8px;
}

.pricing-table tbody tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid #ecf0f1;
}

.pricing-table tbody tr:hover {
    background: #f8f9fa;
    transform: scale(1.01);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.pricing-table tbody tr:last-child {
    border-bottom: none;
}

.pricing-table tbody td {
    padding: 18px 15px;
    text-align: center;
    vertical-align: middle;
}

.service-name {
    font-weight: 600;
    color: #2c3e50;
    font-size: 15px;
}

.price-range {
    color: #e74c3c;
    font-weight: 700;
    font-size: 15px;
}

.warranty-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.warranty-long {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: #fff;
}

.warranty-medium {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: #fff;
}

.warranty-short {
    background: linear-gradient(135deg, #ffd89b 0%, #19547b 100%);
    color: #fff;
}

.warranty-none {
    background: #95a5a6;
    color: #fff;
}

.pricing-note {
    display: flex;
    gap: 15px;
    padding: 25px;
    background: linear-gradient(135deg, #fff5e6 0%, #ffe8cc 100%);
    border-top: 3px solid #f39c12;
}

.note-icon {
    flex-shrink: 0;
}

.note-icon i {
    font-size: 28px;
    color: #f39c12;
}

.note-content p {
    margin-bottom: 10px;
    color: #2c3e50;
    line-height: 1.6;
}

.note-content a {
    color: var(--theme-color);
    font-weight: 700;
    text-decoration: none;
}

.note-content a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-title {
        font-size: 24px;
    }

    .pricing-table thead {
        display: none;
    }

    .pricing-table tbody tr {
        display: block;
        margin-bottom: 20px;
        border: 1px solid #ecf0f1;
        border-radius: 10px;
        overflow: hidden;
    }

    .pricing-table tbody td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: left;
        padding: 12px 15px;
        border-bottom: 1px solid #ecf0f1;
    }

    .pricing-table tbody td:last-child {
        border-bottom: none;
    }

    .pricing-table tbody td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #7f8c8d;
        flex-shrink: 0;
        width: 100px;
    }

    .pricing-note {
        flex-direction: column;
        text-align: center;
    }
}

/* Product Detail Page Styles */
.product-detail-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.product-detail-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,101.3C1248,85,1344,75,1392,69.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.product-detail-hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: center;
}

.hero-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    line-height: 1.2;
}

.hero-price {
    margin-bottom: 20px;
}

.price-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.price-old-hero {
    font-size: 28px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: line-through;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.price-new-hero,
.price-current-hero {
    font-size: 56px;
    font-weight: 900;
    color: #fff;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
    display: inline-block;
    padding: 15px 40px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 3px solid rgba(255, 255, 255, 0.4);
}

.price-new-hero {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3), rgba(255, 165, 0, 0.3));
    border-color: rgba(255, 215, 0, 0.6);
}

.btn-contact-hero {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(17, 153, 142, 0.4);
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.btn-contact-hero:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(17, 153, 142, 0.6);
    color: #fff;
}

.btn-contact-hero i {
    font-size: 30px;
}

.hero-subtitle {
    font-size: 18px;
    opacity: 0.95;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.3);
    margin-top: 10px;
}

.hero-badge i {
    font-size: 20px;
}

.product-detail-intro {
    padding: 60px 0;
    background: #fff;
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro-content h3 {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.intro-content h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

.intro-content p {
    font-size: 17px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 0;
}

.service-detail-section {
    padding: 50px 0;
    border-bottom: 1px solid #ecf0f1;
}

.service-detail-section:nth-child(even) {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.service-detail-section:last-child {
    border-bottom: none;
}

.service-detail-card {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.service-icon-wrapper {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.service-icon-wrapper:hover {
    transform: translateY(-5px) rotate(5deg);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.service-icon-wrapper i {
    font-size: 48px;
    color: #fff;
}

.service-detail-content {
    flex: 1;
}

.service-detail-content h4 {
    font-size: 26px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.service-detail-content h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

.service-detail-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-detail-content ul li {
    padding: 12px 0;
    padding-left: 35px;
    position: relative;
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.service-detail-content ul li:last-child {
    border-bottom: none;
}

.service-detail-content ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 12px;
    color: #667eea;
    font-size: 14px;
    width: 24px;
    height: 24px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-detail-content ul li strong {
    color: #2c3e50;
    font-weight: 600;
}

.commitment-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.commitment-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.commitment-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.commitment-section .container {
    position: relative;
    z-index: 1;
}

.commitment-section h3 {
    font-size: 32px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 50px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.commitment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.commitment-grid .commitment-item:nth-child(4) {
    grid-column: 1 / 2;
}

.commitment-grid .commitment-item:nth-child(5) {
    grid-column: 2 / 3;
}

.commitment-spacer {
    /* Empty spacer to center last 2 items */
}

.commitment-item {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    text-align: center;
}

.commitment-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.commitment-item i {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.commitment-item h5 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

.commitment-item p {
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    opacity: 0.95;
}

/* Responsive Design for Product Detail */
@media (max-width: 992px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .service-detail-card {
        flex-direction: column;
        text-align: center;
    }

    .service-icon-wrapper {
        margin: 0 auto;
    }

    .service-detail-content h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .commitment-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .commitment-grid .commitment-item:nth-child(4),
    .commitment-grid .commitment-item:nth-child(5) {
        grid-column: auto;
    }

    .commitment-spacer {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 28px;
    }

    .price-old-hero {
        font-size: 20px;
    }

    .price-new-hero,
    .price-current-hero {
        font-size: 36px;
        padding: 12px 25px;
    }

    .btn-contact-hero {
        font-size: 20px;
        padding: 14px 30px;
    }

    .btn-contact-hero i {
        font-size: 22px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .hero-badge {
        font-size: 14px;
        padding: 10px 20px;
    }

    .intro-content h3 {
        font-size: 24px;
    }

    .intro-content p {
        font-size: 15px;
    }

    .service-detail-section {
        padding: 40px 0;
    }

    .service-detail-content h4 {
        font-size: 22px;
    }

    .service-detail-content ul li {
        font-size: 15px;
        padding-left: 30px;
    }

    .commitment-section h3 {
        font-size: 26px;
    }

    .commitment-item {
        padding: 25px;
    }

    .commitment-item i {
        font-size: 40px;
    }

    .commitment-item h5 {
        font-size: 18px;
    }

    .commitment-grid {
        grid-template-columns: 1fr;
    }

    .commitment-spacer {
        display: none;
    }
}