/* Reset và base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
}

/* Header Styles */
.header {
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 40px;
    flex: 1;
}

.logo a {
    font-size: 24px;
    font-weight: bold;
    color: #dc3545;
    text-decoration: none;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.logo-icon {
    font-size: 28px;
    color: #0066cc;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: #0066cc;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

.main-nav a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: #dc3545;
}

.search-icon {
    cursor: pointer;
    color: #333;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-shrink: 0;
}

.opening-hours {
    font-size: 14px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 6px;
}

.phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #333;
}

/* Main Content */
.main-content {
    width: 100%;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 50px 30px;
}

/* Customer Care Section */
.customer-care-section {
    padding: 40px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.star-icon {
    color: #dc3545;
    font-size: 32px;
    margin-right: 10px;
}

.section-title h1 {
    display: inline-block;
    font-size: 32px;
    font-weight: bold;
    color: #dc3545;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}

.service-card {
    width: 100%;
}

.card-image {
    width: 100%;
    height: 350px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.card-overlay {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.4);
    padding: 20px 40px;
    border-radius: 4px;
    backdrop-filter: blur(2px);
}

.phone-card {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
}

.tablet-card {
    background: linear-gradient(135deg, #212529 0%, #343a40 100%);
}

.watch-card {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
}

.card-image h2,
.card-overlay h2 {
    color: #ffffff;
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Intro Section */
.intro-section {
    padding: 40px 0;
    background-color: #ffffff;
}

.intro-text {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    text-align: justify;
    max-width: 1000px;
    margin: 0 auto;
}

/* Locations Section */
.locations-section {
    padding: 40px 0;
}

.section-heading {
    font-size: 32px;
    font-weight: bold;
    color: #dc3545;
    text-align: center;
    margin-bottom: 30px;
}

.location-info {
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
}

.location-label {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.location-address {
    font-size: 16px;
    margin-bottom: 15px;
    color: #333;
}

.map-link {
    color: #007bff;
    text-decoration: none;
    margin-left: 5px;
}

.map-link:hover {
    text-decoration: underline;
}

.location-phone {
    font-size: 16px;
    color: #333;
}

.phone-number {
    color: #dc3545;
    font-weight: bold;
}

/* Products Section */
.products-section {
    padding: 40px 0;
    background-color: #f8f9fa;
}

.products-heading {
    font-size: 28px;
    font-weight: bold;
    color: #000;
    text-align: center;
    margin-bottom: 40px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    width: 100%;
}

.product-image {
    width: 100%;
    height: 220px;
    background-color: #343a40;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.product-image:hover {
    transform: translateY(-5px);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.product-overlay {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.5);
    padding: 15px 30px;
    border-radius: 4px;
    backdrop-filter: blur(2px);
}

.product-image h3,
.product-overlay h3 {
    color: #ffffff;
    font-size: 20px;
    font-weight: bold;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Footer */
.footer {
    background-color: #2c2c2c;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 2px, rgba(0,0,0,0.1) 2px, rgba(0,0,0,0.1) 4px);
    padding: 50px 0 20px;
    margin-top: 60px;
    color: #ffffff;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column {
    flex: 1;
}

.footer-title {
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
}

.footer-text {
    color: #ffffff;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: justify;
}

.footer-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-link:hover {
    color: #dc3545;
    text-decoration: underline;
}

.footer-policy-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-policy-list li {
    margin-bottom: 10px;
}

.footer-policy-list a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
    display: block;
}

.footer-policy-list a:hover {
    color: #dc3545;
    padding-left: 5px;
}

.footer-address {
    margin-bottom: 20px;
}

.address-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-size: 14px;
    margin-bottom: 10px;
}

.map-icon {
    font-size: 16px;
}

.map-link {
    color: #ffffff;
    text-decoration: none;
    margin-left: 5px;
    font-size: 14px;
}

.map-link:hover {
    color: #dc3545;
    text-decoration: underline;
}

.footer-contact {
    margin-bottom: 20px;
}

.footer-contact p {
    color: #ffffff;
    font-size: 14px;
    margin-bottom: 8px;
}

.email-link {
    color: #dc3545;
    text-decoration: none;
    font-weight: 500;
}

.email-link:hover {
    text-decoration: underline;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
    background-color: rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.phone-icon {
    background-color: #25D366;
}

.zalo-icon {
    background-color: #0068FF;
}

.messenger-icon {
    background-color: #0084FF;
}

.facebook-icon {
    background-color: #1877F2;
}

.footer-middle {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 20px;
}

.working-hours {
    flex: 1;
}

.working-hours .footer-title {
    margin-bottom: 15px;
}

.working-hours p {
    color: #ffffff;
    font-size: 14px;
    margin-bottom: 5px;
}

.certification-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #0066cc;
    padding: 12px 20px;
    border-radius: 25px;
    color: #ffffff;
    font-size: 12px;
    font-weight: bold;
}

.badge-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #ffffff;
    color: #0066cc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
}

.copyright {
    color: #ffffff;
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .header-left {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .service-cards {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-title h1 {
        font-size: 24px;
    }
    
    .section-heading {
        font-size: 24px;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-middle {
        flex-direction: column;
        gap: 20px;
    }
    
    .certification-badge {
        align-self: flex-start;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* Product Detail Page Styles */
.product-detail-page {
    padding: 30px 0;
    background-color: #f8f9fa;
}

.product-detail-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

.breadcrumbs {
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

.breadcrumbs a {
    color: #0066cc;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs span {
    color: #333;
}

.product-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Product Gallery */
.product-gallery {
    display: flex;
    gap: 15px;
}

.thumbnails {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.3s;
}

.thumbnail.active {
    border-color: #0066cc;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-image-wrapper {
    flex: 1;
    position: relative;
}

.main-image {
    width: 100%;
    aspect-ratio: 1;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    background-color: #f8f9fa;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.fullscreen-icon {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.fullscreen-icon:hover {
    background-color: #ffffff;
}

.fullscreen-icon svg {
    color: #333;
}

/* Product Info */
.product-info {
    padding-left: 20px;
}

.product-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.4;
}

.product-price {
    margin-bottom: 25px;
}

.price {
    font-size: 32px;
    font-weight: bold;
    color: #dc3545;
}

.product-features {
    margin-bottom: 30px;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}

.features-list li:last-child {
    border-bottom: none;
}

.features-list strong {
    color: #333;
}

.product-actions {
    margin-bottom: 30px;
}

.btn-buy-now {
    width: 100%;
    padding: 18px 30px;
    background-color: #dc3545;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    text-transform: uppercase;
}

.btn-buy-now:hover {
    background-color: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.btn-buy-now:active {
    transform: translateY(0);
}

.product-meta {
    margin-bottom: 25px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.meta-item {
    display: flex;
    margin-bottom: 10px;
    font-size: 14px;
}

.meta-label {
    font-weight: 600;
    color: #666;
    margin-right: 10px;
    min-width: 100px;
}

.meta-value {
    color: #333;
}

.social-share {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.share-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.share-icons {
    display: flex;
    gap: 10px;
}

.share-icon {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #ffffff;
    font-size: 12px;
    font-weight: bold;
    transition: transform 0.3s;
}

.share-icon:hover {
    transform: translateY(-3px);
}

.share-icon.facebook {
    background-color: #1877F2;
}

.share-icon.twitter {
    background-color: #1DA1F2;
}

.share-icon.email {
    background-color: #666;
}

.share-icon.pinterest {
    background-color: #BD081C;
}

.share-icon.linkedin {
    background-color: #0077B5;
}

/* Product Tabs */
.product-tabs {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.tabs-header {
    display: flex;
    border-bottom: 2px solid #e0e0e0;
}

.tab-btn {
    flex: 1;
    padding: 18px 30px;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
}

.tab-btn:hover {
    color: #333;
    background-color: #f8f9fa;
}

.tab-btn.active {
    color: #dc3545;
    border-bottom-color: #dc3545;
    background-color: #ffffff;
}

.tabs-content {
    padding: 30px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-title {
    font-size: 24px;
    font-weight: bold;
    color: #dc3545;
    margin-bottom: 20px;
}

.tab-description {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.tab-list {
    list-style: disc;
    padding-left: 25px;
    margin-top: 15px;
}

.tab-list li {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 10px;
}

.no-reviews {
    text-align: center;
    padding: 40px 0;
    color: #999;
    font-size: 16px;
}

/* Additional Description Styles */
.main-service-title {
    text-align: center;
    margin: 30px 0 40px;
}

.main-service-title h3 {
    font-size: 28px;
    font-weight: bold;
    color: #dc3545;
    margin: 0;
}

.service-boxes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 40px 0;
}

.service-box {
    background-color: #f8f9fa;
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #e0e0e0;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.service-box h4 {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.service-box p {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

.description-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 40px 0;
    align-items: center;
}

.iphone-image {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.iphone-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.features-list-detailed {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #dc3545;
    transition: background-color 0.3s;
}

.feature-item:hover {
    background-color: #e9ecef;
}

.feature-icon {
    font-size: 32px;
    flex-shrink: 0;
    line-height: 1;
}

.feature-item span {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    flex: 1;
}

@media (max-width: 968px) {
    .service-boxes {
        grid-template-columns: 1fr;
    }
    
    .description-content {
        grid-template-columns: 1fr;
    }
    
    .iphone-image {
        max-width: 100%;
    }
}

/* Responsive Product Detail */
@media (max-width: 968px) {
    .product-detail-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .product-gallery {
        flex-direction: column;
    }
    
    .thumbnails {
        flex-direction: row;
        order: 2;
    }
    
    .main-image-wrapper {
        order: 1;
    }
    
    .product-info {
        padding-left: 0;
    }
}
