/* ============================================
   GLOBAL STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    font-size: 16px;
    line-height: 1.6;
}

/* 
   TOP BAR STYLING
    */
.top-bar {
    background-color: white;
    padding: 15px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logo-icon {
    width: auto;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    overflow: hidden;  
}

.logo-icon img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.search-container {
    display: flex;
    align-items: center;
    flex: 1;
    max-width: 800px;
    margin: 0 25px;
}

.search-bar {
    display: flex;
    width: 100%;
    border: 2px solid #4a90e2;
    border-radius: 6px;
    overflow: hidden;
}

.search-input {
    flex: 1;
    padding: 12px 18px;
    border: none;
    outline: none;
    font-size: 16px;
}

.category-dropdown {
    padding: 12px 18px;
    border: none;
    border-left: 1px solid #ddd;
    background-color: white;
    cursor: pointer;
    outline: none;
    font-size: 16px;
    min-width: 140px;
}

.search-btn {
    padding: 12px 25px;
    background-color: #4a90e2;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.search-btn:hover {
    background-color: #3afc09;
}

.top-icons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    color: #4d4c4c;
    font-size: 14px;
    transition: color 0.3s;
}

.icon-item:hover {
    color: #0575f5;
}

.icon-item i {
    font-size: 24px;
    margin-bottom: 3px;
}

/* 
   NAVIGATION BAR
    */
.nav-bar {
    background-color: white;
    padding: 12px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #eee;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-item {
    padding: 10px 18px;
    cursor: pointer;
    font-size: 16px;
    color: #333;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.nav-item:hover {
    background-color: #f0f0f0;
}

.nav-item.active {
    background-color: #4a90e2;
    color: white;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
    color: #666;
}

.language-select {
    border: none;
    background: none;
    cursor: pointer;
    font-size: 16px;
    outline: none;
}

.ship-to {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

/* 
   BREADCRUMB NAVIGATION
    */
.breadcrumb-section {
    background-color: #f7f7f7;
    padding: 15px 0;
    border-bottom: 1px solid #e5e7eb;
}

.breadcrumb-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
}

.breadcrumb-link {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 16px;
}

.breadcrumb-link:hover {
    color: #2563eb;
}

.breadcrumb-separator {
    color: #9ca3af;
    font-size: 16px;
}

.breadcrumb-current {
    color: #1f2937;
    font-weight: 500;
    font-size: 16px;
}

/* 
   SECTION A - PRODUCT DETAIL HERO
    */
.product-detail-hero {
    padding: 25px 0;
    background-color: #f9fafb;
}

.product-detail-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 420px 1fr 360px;
    gap: 20px;
}

/* 
   LEFT SIDE - PRODUCT GALLERY
    */
.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.main-product-image {
    width: 100%;
    height: 400px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 15px;
}

.thumbnail-gallery {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 6px;
}

.thumbnail-item {
    width: 100%;
    height: 60px;
    background-color: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumbnail-item:hover {
    border-color: #0e58f8;
}

.thumbnail-item.active {
    border-color: #0e58f8;
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}

/* CENTER - PRODUCT DETAILS */
.product-details {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 20px;
}

.stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background-color: #dcfce7;
    color: #16a34a;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 12px;
}

.stock-badge i {
    font-size: 12px;
}

.product-title {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.product-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e5e7eb;
    font-size: 14px;
}

.rating-stars {
    display: flex;
    align-items: center;
    gap: 6px;
}

.stars {
    color: #f59e0b;
    letter-spacing: 1px;
}

.star-empty {
    color: #d1d5db;
}

.rating-number {
    color: #f59e0b;
    font-weight: 600;
}

.meta-divider {
    color: #d1d5db;
    font-size: 16px;
}

.reviews-count,
.sold-count {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #6b7280;
}

.reviews-count i,
.sold-count i {
    color: #9ca3af;
    font-size: 14px;
}

/* Pricing Section */
.pricing-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 20px;
    background-color: #fef3c7;
    padding: 12px;
    border-radius: 6px;
}

.price-box {
    background-color: #ffffff;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    border: 1px solid #e5e7eb;
}

.price-box.price-highlighted {
    background-color: #fef3c7;
    border: 2px solid #f59e0b;
}

.price-amount {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 3px;
}

.price-box.price-highlighted .price-amount {
    color: #dc2626;
}

.price-range {
    font-size: 12px;
    color: #6b7280;
}

/* Product Specifications */
.product-specifications {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.spec-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 12px;
    align-items: start;
}

.spec-label {
    font-size: 16px;
    color: #050608;
    font-weight: 500;
}

.spec-value {
    font-size: 14px;
    color: #080a0e;
}

/* 
   RIGHT SIDE - SUPPLIER & ACTIONS
    */
.supplier-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.supplier-card {
    background-color: #ffffff;
    border: 1px solid #c7ccd8;
    border-radius: 8px;
    padding: 20px;
}

.supplier-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.supplier-avatar {
    width: 45px;
    height: 45px;
    background-color: #76d6e0;
    color: #09aad6;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
    flex-shrink: 0;
}

.supplier-info {
    flex: 1;
}

.supplier-label {
    font-size: 14px;
    color: #9ca3af;
    margin-bottom: 2px;
}

.supplier-name {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
}

.supplier-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.supplier-detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #6b7280;
}

.country-flag {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
    border: 1px solid #e5e7eb;
}

.supplier-detail-item i {
    color: #040507;
    font-size: 15px;
}

.send-inquiry-btn {
    width: 100%;
    padding: 10px 16px;
    background-color: #0e58f8;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 8px;
}

.send-inquiry-btn:hover {
    background-color: #8cf446;
    font-size: 16px;
    color: rgb(244, 0, 0);
}

.seller-profile-btn {
    width: 100%;
    padding: 8px 16px;
    background-color: transparent;
    color: #0e58f8;
    border: 2px solid #e5e7eb;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.seller-profile-btn:hover {
    background-color: #888b8b;
    border-color: #0e58f8;
    font-size: 16px;
    color: #f5f5f5;
}

.save-later-btn {
    width: 100%;
    padding: 10px 16px;
    background-color: #ffffff;
    color: #0e58f8;
    border: 1px solid #e5e7eb;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.save-later-btn:hover {
    background-color: #f9fafb;
    border-color: #00fad4;
}

.save-later-btn i {
    font-size: 14px;
}
/* 
   SECTION B - PRODUCT TABS & RECOMMENDATIONS
    */
.product-tabs-section {
    padding: 25px 0;
    background-color: #f9fafb;
}

.product-tabs-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 20px;
    align-items: start;
}

/* 
   LEFT SIDE - TABS & CONTENT
    */
.tabs-content-wrapper {
    background-color: #ffffff;
    border: 1px solid #d1d4d8;
    border-radius: 8px;
    overflow: hidden;
}

/* Tab Navigation */
.tab-navigation {
    display: flex;
    border-bottom: 2px solid #bbc2d1;
    background-color: #f9fafb;
}

.tab-btn {
    flex: 1;
    padding: 12px 16px;
    background-color: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 14px;
    font-weight: 550;
    color: #0e1420;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.tab-btn:hover {
    color: #0e58f8;
    background-color: #ffffff;
}

.tab-btn.active {
    color: #0e58f8;
    background-color: #e7ece2;
    border-bottom-color: #0e58f8;
}

/* Tab Content */
.tab-content-container {
    padding: 25px;
    min-height: 400px;
}

.tab-content {
    display: none;
}

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

/* Description Tab Styles */
.description-text {
    margin-bottom: 25px;
}

.description-text p {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 12px;
}

/* Specifications Table */
.specifications-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 25px;
    background-color: #f9fafb;
    border-radius: 6px;
    overflow: hidden;
}

.specifications-table tr {
    border-bottom: 1px solid #d6d9df;
}

.specifications-table tr:last-child {
    border-bottom: none;
}

.specifications-table td {
    padding: 12px 15px;
    font-size: 14px;
}

.spec-label {
    color: #0e121a;
    font-weight: 500;
    width: 150px;
}

.spec-value {
    color: #031630;
}

/* Features List */
.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: #4b5563;
}

.features-list li i {
    color: #10b981;
    font-size: 14px;
}

/* Reviews Tab Styles */
.reviews-summary {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #092b06;
}

.reviews-summary h3 {
    font-size: 18px;
    color: #1f2937;
    margin-bottom: 12px;
}

.overall-rating {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rating-number {
    font-size: 32px;
    font-weight: 700;
    color: #1e2b3d;
}

.rating-stars {
    color: #fca208;
    font-size: 20px;
}

.rating-text {
    font-size: 14px;
    color: #05070c;
}

.review-item {
    padding: 15px 0;
    border-bottom: 1px solid #a1a2a3;
}

.review-item:last-child {
    border-bottom: none;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.reviewer-name {
    font-size: 14px;
    font-weight: 600;
    color: #0b0d0f;
}

.review-stars {
    color: #f59e0b;
    font-size: 12px;
}

.review-date {
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 8px;
}

.review-text {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.5;
    margin: 0;
}

/* Shipping Tab Styles */
#shipping h3 {
    font-size: 18px;
    color: #000102;
    margin-bottom: 15px;
}

.shipping-info {
    margin-bottom: 20px;
}

.shipping-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 10px;
}

.shipping-info p {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 8px;
}

.shipping-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.shipping-list li {
    padding: 8px 0;
    font-size: 14px;
    color: #4b5563;
    line-height: 1.5;
}

.shipping-list strong {
    color: #092041;
}

/* About Seller Tab Styles */
#about-seller h3 {
    font-size: 18px;
    color: #0c1118;
    margin-bottom: 15px;
}

.seller-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    margin: 15px 0 10px 0;
}

.seller-info p {
    font-size: 14px;
    color: #0d1013;
    line-height: 1.6;
    margin-bottom: 12px;
}

.seller-list {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
}

.seller-list li {
    padding: 6px 0;
    font-size: 14px;
    color: #070f1b;
}

.business-info {
    background-color: #f9fafb;
    padding: 15px;
    border-radius: 6px;
    margin-top: 12px;
}

.business-info p {
    margin-bottom: 6px;
}

.business-info strong {
    color: #031125;
}

/* 
   RIGHT SIDE - RECOMMENDATIONS
    */
.recommendations-sidebar {
    background-color: hsl(0, 0%, 100%);
    border: 1px solid #d7dadf;
    border-radius: 6px;
    padding: 15px;
    position: sticky;
    top: 15px;
}

.recommendations-title {
    font-size: 16px;
    font-weight: 600;
    color: #152133;
    margin: 0 0 15px 0;
    padding-bottom: 15px;
    border-bottom: 1px solid #e2e4e9;
}

.recommendations-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.recommendation-item {
    display: flex;
    gap: 10px;
    padding: 10px;
    border: 1px solid #dcdee2;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.recommendation-item:hover {
    border-color: #145fff;
    box-shadow: 0 2px 6px rgba(14, 88, 248, 0.1);
}

.recommendation-image {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    background-color: #fafbf9;
    border-radius: 5px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.recommendation-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recommendation-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.recommendation-name {
    font-size: 14px;
    font-weight: 500;
    color: #051935;
    margin: 0 0 4px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recommendation-price {
    font-size: 13px;
    color: #82858b;
    margin: 0;
}

/* 
   SECTION C - RELATED PRODUCTS
    */
.related-products-section {
    padding: 30px 0;
    background-color: #f9fafb;
}

.related-products-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

.related-products-heading {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 20px 0;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.related-product-card {
    background-color: #ffffff;
    border: 1px solid #d4cfd4;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.related-product-card:hover {
    border-color: #135eff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.related-product-image {
    width: 100%;
    height: 140px;
    background-color: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.related-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
    transition: transform 0.3s;
}

.related-product-card:hover .related-product-image img {
    transform: scale(1.05);
}

.related-product-info {
    padding: 12px;
    background-color: #fafafa;
}

.related-product-name {
    font-size: 14px;
    font-weight: 550;
    color: #283446;
    margin: 0 0 6px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 35px;
}

.related-product-price {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
    font-weight: 500;
}

/* 
   SECTION D - DISCOUNT BANNER
    */
.discount-banner-section {
    padding: 30px 0;
    background-color: #f9fafb;
}

.discount-banner-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

.discount-banner {
    background: linear-gradient(90deg, #0761f1 50%, #1163e6 50%);
    border-radius: 8px;
    padding: 25px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
    color: white;
}

.discount-banner::before {
    content: "";
    position: absolute;
    left: 45%;       
    top: 0;
    width: 60%;     
    height: 100%;
    background: #4b79fa;  
    transform: skewX(-50deg); 
    z-index: 0;
}

.banner-content {
    position: relative;
}

.banner-title {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.banner-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.banner-btn {
    padding: 12px 25px;
    background-color: #fb923c;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 10px rgba(251, 146, 60, 0.4);
}

.banner-btn:hover {
    background-color: #16f947;
    transform: translateY(-2px);
    color: #bd0c0c;
    font-weight: 700;
    box-shadow: 0 6px 12px rgba(251, 146, 60, 0.5);
}

/* 
   FOOTER STYLES)
    */
.footer-main {
    padding: 40px 0;
    background-color: #ffffff;
    border-top: 1px solid #e5e7eb;
}

.footer-main-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1.2fr;
    gap: 40px;
}

.footer-brand {
    max-width: 280px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.footer-logo img {
    width: auto;
    height: auto;
    max-width: 100%;
}

.footer-brand-desc {
    font-size: 16px;
    color: #000000;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #ebe8e5;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.social-icon:hover {
    background-color: #67e460fa;
}

.social-icon img {
    width: 18px;
    height: 18px;
}

.footer-column {
    min-width: 0;
}

.footer-column-title {
    font-size: 18px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 15px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 14px;
    color: #5c687e;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #004ff8;
}

.footer-app {
    min-width: 0;
}

.app-download {
    display: block;
    margin-bottom: 12px;
}

.app-download img {
    width: 140px;
    height: auto;
    border-radius: 6px;
    transition: transform 0.3s;
}

.app-download:hover img {
    transform: translateY(-2px);
}

.footer-bottom {
    padding: 20px 0;
    background-color: #d3d7da;
    border-top: 1px solid #9096a3;
}

.footer-bottom-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    font-size: 16px;
    color: #1c2331;
    margin: 0;
}

.footer-language {
    position: relative;
}

.language-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background-color: white;
    border: 1px solid #195abb;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    color: #1f2937;
    transition: border-color 0.3s;
}

.language-btn:hover {
    border-color: #9ca3af;
}

.language-flag {
    width: 24px;
    height: 18px;
    object-fit: cover;
    border: 1px solid #e5e7eb;
}

.language-arrow {
    width: 14px;
    height: 14px;
    color: #6b7280;
}

.language-dropdown {
    position: absolute;
    bottom: 100%;
    right: 0;
    margin-bottom: 8px;
    background-color: white;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    min-width: 160px;
    display: none;
    overflow: hidden;
}

.footer-language:hover .language-dropdown {
    display: block;
}

.language-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    font-size: 14px;
    color: #1f2937;
    text-decoration: none;
    transition: background-color 0.3s;
}

.language-option:hover {
    background-color: #f3f4f6;
}

/* 
   RESPONSIVE DESIGN
    */
@media (max-width: 1200px) {
    .product-detail-container {
        grid-template-columns: 380px 1fr 320px;
        gap: 15px;
    }
    
    .product-tabs-container {
        grid-template-columns: 1fr 280px;
    }
    
    .related-products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .footer-main-container {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 30px;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
        max-width: 100%;
    }
}

@media (max-width: 992px) {
    .product-detail-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-gallery,
    .supplier-section {
        max-width: 450px;
        margin: 0 auto;
        width: 100%;
    }
    
    .product-tabs-container {
        grid-template-columns: 1fr;
    }

    .recommendations-sidebar {
        position: static;
        max-width: 450px;
        margin: 0 auto;
    }

    .recommendations-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .related-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-main {
        padding: 30px 0;
    }
    
    .footer-main-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .footer-app {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .product-detail-hero {
        padding: 15px 0;
    }

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

    .pricing-section {
        grid-template-columns: 1fr;
    }

    .spec-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .spec-label {
        font-weight: 600;
        color: #6b7280;
    }

    .thumbnail-gallery {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .product-tabs-section {
        padding: 15px 0;
    }

    .tab-navigation {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

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

    .tab-content-container {
        padding: 15px;
    }

    .specifications-table td {
        padding: 10px 12px;
        font-size: 12px;
    }

    .spec-label {
        width: 100px;
    }

    .recommendations-list {
        grid-template-columns: 1fr;
    }
    
    .related-products-section {
        padding: 20px 0;
    }

    .related-products-heading {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .related-product-image {
        height: 120px;
    }

    .related-product-info {
        padding: 10px;
    }

    .related-product-name {
        font-size: 12px;
        min-height: auto;
    }

    .related-product-price {
        font-size: 11px;
    }
    
    .discount-banner-section {
        padding: 20px 0;
    }

    .discount-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        gap: 15px;
    }

    .banner-title {
        font-size: 18px;
    }

    .banner-text {
        font-size: 12px;
        margin-bottom: 4px;
    }

    .banner-btn {
        width: 100%;
        padding: 10px 20px;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .main-product-image {
        height: 250px;
    }

    .thumbnail-gallery {
        grid-template-columns: repeat(3, 1fr);
    }

    .product-meta {
        flex-wrap: wrap;
    }
    
    .product-tabs-container {
        padding: 0 10px;
    }

    .tab-btn {
        padding: 8px 10px;
        font-size: 12px;
    }

    .tab-content-container {
        padding: 12px;
    }

    .specifications-table {
        font-size: 11px;
    }

    .spec-label {
        width: 80px;
    }

    .recommendation-item {
        padding: 8px;
    }

    .recommendation-image {
        width: 50px;
        height: 50px;
    }

    .recommendation-name {
        font-size: 12px;
    }

    .recommendation-price {
        font-size: 11px;
    }
    
    .related-products-container {
        padding: 0 10px;
    }

    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .related-product-image {
        height: 100px;
    }

    .related-product-info {
        padding: 8px;
    }
    
    .discount-banner-container {
        padding: 0 10px;
    }

    .discount-banner {
        padding: 15px;
    }

    .banner-title {
        font-size: 16px;
    }

    .banner-text {
        font-size: 11px;
    }

    .banner-btn {
        font-size: 12px;
    }
    
    .footer-main-container {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   ANIMATIONS & UTILITIES
   ============================================ */
.tab-content {
    animation: fadeIn 0.3s ease-in-out;
}

.related-product-card {
    animation: fadeInUp 0.5s ease-in-out;
}

.discount-banner {
    animation: slideInUp 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.related-product-card:nth-child(1) { animation-delay: 0.1s; }
.related-product-card:nth-child(2) { animation-delay: 0.2s; }
.related-product-card:nth-child(3) { animation-delay: 0.3s; }
.related-product-card:nth-child(4) { animation-delay: 0.4s; }
.related-product-card:nth-child(5) { animation-delay: 0.5s; }
.related-product-card:nth-child(6) { animation-delay: 0.6s; }

.tab-navigation::-webkit-scrollbar {
    height: 3px;
}

.tab-navigation::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.tab-navigation::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.tab-navigation::-webkit-scrollbar-thumb:hover {
    background: #555;
}

