* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', 'PingFang SC', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 32px;
    font-weight: bold;
    background: linear-gradient(135deg, #00bcd4 0%, #4caf50 50%, #ffc107 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.search-bar {
    flex: 1;
    max-width: 500px;
    display: flex;
    border: 2px solid #00bcd4;
    border-radius: 4px;
    overflow: hidden;
}

.search-bar input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    outline: none;
    font-size: 14px;
}

.search-btn {
    background-color: #00bcd4;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 18px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.lang-toggle,
.logout-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    padding: 8px 12px;
}

.lang-toggle:hover,
.logout-btn:hover {
    background-color: #f0f0f0;
    border-radius: 4px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

/* Navigation */
.nav {
    background-color: #e0f7fa;
    padding: 0;
}

.nav-list {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    gap: 0;
}

.nav-list li {
    flex: 1;
    min-width: 120px;
}

.nav-link {
    display: block;
    padding: 12px 15px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    text-align: center;
    white-space: nowrap;
    transition: background-color 0.3s;
}

.nav-link:hover {
    background-color: #b2ebf2;
}

/* Breadcrumb */
.breadcrumb {
    background: #f5f5f5;
    padding: 15px 0;
    font-size: 13px;
    color: #757575;
}

.breadcrumb a {
    color: #00bcd4;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Main Content */
.main-content {
    padding: 40px 0;
}

/* Product Detail Layout */
.product-detail-layout {
    display: flex;
    gap: 50px;
    padding: 40px 0;
}

/* Product Gallery */
.product-gallery {
    display: flex;
    gap: 20px;
    flex: 1;
    max-width: 600px;
}

.thumbnail-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.thumbnail-item {
    width: 80px;
    height: 80px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.3s;
}

.thumbnail-item:hover,
.thumbnail-item.active {
    border-color: #00bcd4;
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-image-container {
    position: relative;
    flex: 1;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background: #fafafa;
}

.main-product-image {
    width: 100%;
    height: auto;
    display: block;
}

.zoom-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.zoom-btn:hover {
    background: white;
}

/* Product Info Section */
.product-info-section {
    flex: 1;
    max-width: 500px;
}

.product-nav-arrows {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 20px;
}

.nav-arrow {
    width: 36px;
    height: 36px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.nav-arrow:hover {
    background: #f5f5f5;
    border-color: #00bcd4;
}

.product-title {
    font-size: 28px;
    font-weight: 400;
    color: #424242;
    margin: 0 0 20px 0;
    line-height: 1.3;
}

.product-price {
    font-size: 24px;
    color: #00bcd4;
    font-weight: 600;
    margin-bottom: 30px;
}

/* Product Actions */
.product-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.quantity-selector {
    display: flex;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.qty-btn {
    width: 40px;
    height: 48px;
    background: white;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: #757575;
    transition: background 0.3s;
}

.qty-btn:hover {
    background: #f5f5f5;
}

.qty-input {
    width: 60px;
    height: 48px;
    border: none;
    border-left: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
    text-align: center;
    font-size: 16px;
    outline: none;
}

.add-to-cart-btn-large {
    flex: 1;
    padding: 12px 30px;
    background: #00bcd4;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

.add-to-cart-btn-large:hover {
    background: #00acc1;
}

/* Product Meta */
.product-meta {
    border-top: 1px solid #e0e0e0;
    padding-top: 20px;
    margin-bottom: 20px;
}

.meta-item {
    display: flex;
    padding: 8px 0;
    font-size: 14px;
}

.meta-label {
    font-weight: 600;
    color: #424242;
    min-width: 60px;
}

.meta-value {
    color: #757575;
}

/* Product Share */
.product-share {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.share-label {
    font-size: 14px;
    font-weight: 600;
    color: #424242;
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.auth-social-icon {
    text-decoration: none;
}

.fa-stack {
    display: inline-block;
    height: 2em;
    line-height: 2em;
    position: relative;
    vertical-align: middle;
    width: 2.5em;
}

.fa-stack-1x, .fa-stack-2x {
    left: 0;
    position: absolute;
    text-align: center;
    width: 100%;
}

.fa-stack-1x {
    line-height: inherit;
}

.fa-stack-2x {
    font-size: 2em;
}

.fa-inverse {
    color: #fff;
}

/* Product Tabs Section */
.product-tabs-section {
    margin-top: 60px;
    border-top: 1px solid #e0e0e0;
    padding-top: 40px;
}

.tabs-nav {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 30px;
}

.tab-btn {
    padding: 15px 30px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 15px;
    color: #757575;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    bottom: -2px;
}

.tab-btn:hover {
    color: #424242;
}

.tab-btn.active {
    color: #00bcd4;
    border-bottom-color: #00bcd4;
    font-weight: 500;
}

.tabs-content {
    min-height: 300px;
}

.tab-pane {
    display: none;
}

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

.tab-content-inner {
    padding: 20px 0;
    line-height: 1.8;
    color: #424242;
}

.tab-content-inner p {
    margin-bottom: 15px;
}

.tab-content-inner h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #424242;
}

.tab-content-inner h4 {
    font-size: 16px;
    margin: 20px 0 10px 0;
    color: #424242;
    font-weight: 600;
}

.tab-content-inner ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.tab-content-inner li {
    margin-bottom: 8px;
}

/* Reviews Section */
.reviews-section {
    max-width: 700px;
}

.no-reviews {
    color: #757575;
    font-style: italic;
    margin-bottom: 30px;
}

.review-form {
    background: #fafafa;
    padding: 30px;
    border-radius: 8px;
    margin-top: 30px;
}

.review-form h4 {
    font-size: 18px;
    margin-bottom: 25px;
    color: #424242;
}

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #424242;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #00bcd4;
}

.star-rating {
    display: flex;
    gap: 5px;
    font-size: 24px;
}

.star-rating .star {
    cursor: pointer;
    color: #ddd;
    transition: color 0.2s;
}

.submit-review-btn {
    padding: 12px 30px;
    background: #00bcd4;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-review-btn:hover {
    background: #00acc1;
}

/* Shipping Info */
.shipping-info ul {
    list-style: disc;
    margin-left: 20px;
}

.shipping-info li {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Footer */
.footer {
    background-color: #b2ebf2;
    padding: 30px 0;
    margin-top: 60px;
}

.footer-content {
    margin-bottom: 20px;
}

.footer-content h3 {
    color: #00796b;
    margin-bottom: 15px;
    font-size: 20px;
}

.footer-content p {
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
}

.footer-icons {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.footer-icon-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    font-size: 24px;
    cursor: pointer;
    transition: transform 0.2s;
}

.email-btn {
    background-color: #00bcd4;
}

.whatsapp-btn {
    background-color: #25d366;
}

.footer-icon-btn:hover {
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .product-detail-layout {
        flex-direction: column;
        gap: 30px;
    }

    .product-gallery,
    .product-info-section {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
    }

    .search-bar {
        order: 3;
        flex-basis: 100%;
        max-width: 100%;
    }

    .menu-toggle {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        display: none;
    }

    .nav-list.active {
        display: flex;
    }

    .nav-list li {
        width: 100%;
    }

    .breadcrumb {
        font-size: 11px;
        padding: 10px 0;
    }

    .product-detail-layout {
        padding: 20px 0;
    }

    .product-gallery {
        flex-direction: column-reverse;
    }

    .thumbnail-list {
        flex-direction: row;
        overflow-x: auto;
    }

    .thumbnail-item {
        flex-shrink: 0;
    }

    .product-title {
        font-size: 22px;
    }

    .product-price {
        font-size: 20px;
    }

    .product-actions {
        flex-direction: column;
    }

    .tabs-nav {
        overflow-x: auto;
    }

    .tab-btn {
        white-space: nowrap;
        padding: 12px 20px;
        font-size: 14px;
    }

    .review-form {
        padding: 20px;
    }

    .footer-icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 24px;
    }

    .header-actions {
        gap: 8px;
    }

    .lang-toggle,
    .logout-btn {
        font-size: 12px;
        padding: 6px 8px;
    }

    .product-nav-arrows {
        gap: 5px;
    }

    .nav-arrow {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
}