/* Product Styles for Biorganica Landing Page */

/* Animated Background for Product Pages */
.product-main {
    position: relative;
    z-index: 1;
    padding: 2rem 0;
}

.product-main .background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.product-main .gradient-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        #1a202c 0%,
        #2d3748 25%,
        #38a169 50%,
        #48bb78 75%,
        #68d391 100%
    );
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.product-main .pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        radial-gradient(circle at 50% 50%, rgba(72, 187, 120, 0.1) 3px, transparent 3px);
    background-size: 50px 50px, 30px 30px, 80px 80px;
    animation: patternFloat 20s linear infinite;
}

@keyframes patternFloat {
    0% {
        transform: translateX(0) translateY(0);
    }
    100% {
        transform: translateX(-50px) translateY(-50px);
    }
}

/* Enhanced container with backdrop filter for better content visibility */
.product-main .container {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    margin: 2rem auto;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Product Cards Preview on Landing Page */
.products-preview {
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e6fffa 100%);
    border-radius: 20px;
    border: 1px solid #e2e8f0;
}

.products-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1rem;
    text-align: center;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #e2e8f0;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

.product-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.product-info {
    padding: 1.25rem;
}

.product-info h4,
.product-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.product-manufacturer {
    font-size: 0.8rem;
    color: #718096;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.rating-stars {
    display: flex;
    gap: 0.1rem;
}

.star {
    color: #ffd700;
    font-size: 0.9rem;
}

.star.filled {
    color: #ffd700;
}

.star.half {
    color: #ffd700;
}

.star.empty {
    color: #e2e8f0;
}

.rating-count,
.rating-info {
    font-size: 0.75rem;
    color: #718096;
}

.product-price {
    margin-bottom: 1rem;
}

.price-old {
    text-decoration: line-through;
    color: #a0aec0;
    font-size: 0.9rem;
    margin-right: 0.5rem;
}

.price-current {
    font-size: 1.1rem;
    font-weight: 700;
    color: #38a169;
}

.product-link,
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #4299e1, #3182ce);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
}

.product-link:hover,
.btn-primary:hover {
    background: linear-gradient(135deg, #3182ce, #2c5282);
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    background: #f7fafc;
    color: #4a5568;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.btn-secondary:hover {
    background: #edf2f7;
    transform: translateY(-2px);
}

.products-cta {
    text-align: center;
    margin-top: 2rem;
}

.btn-products {
    display: inline-block;
    background: linear-gradient(135deg, #38a169, #2f855a);
    color: white;
    padding: 1rem 2rem;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-products:hover {
    background: linear-gradient(135deg, #2f855a, #276749);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px -5px rgba(56, 161, 105, 0.4);
}

/* Mobile-First Product Header with Background Image */
.product-header {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 60vh;
    display: flex;
    align-items: flex-end;
    position: relative;
    z-index: 1;
}

.product-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.7) 100%);
    z-index: -1;
}

.header-content {
    width: 100%;
    color: white;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.logo {
    align-self: flex-start;
}

.logo-image {
    height: 150px;
    width: auto;
    filter: brightness(0) invert(1);
}

.product-hero-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.product-title-hero {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.product-price-hero {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.price-old-hero {
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
    text-decoration: line-through;
}

.price-current-hero {
    font-size: 1.5rem;
    font-weight: 700;
    color: #48bb78;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.rating-hero {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.rating-stars-hero {
    display: flex;
    gap: 0.1rem;
}

.star-hero {
    font-size: 1rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.star-hero.filled {
    color: #ffd700;
}

.star-hero.half {
    color: #ffd700;
}

.star-hero.empty {
    color: rgba(255,255,255,0.4);
}

.rating-count-hero {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.9);
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* Tablet Styles */
@media (min-width: 768px) {
    .product-header {
        min-height: 70vh;
    }
    
    .header-content {
        padding: 3rem 1rem;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }
    
    .logo-image {
        height: 40px;
    }
    
    .product-title-hero {
        font-size: 2rem;
    }
    
    .price-current-hero {
        font-size: 1.75rem;
    }
    
    .star-hero {
        font-size: 1.1rem;
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    .product-header {
        min-height: 80vh;
    }
    
    .header-content {
        padding: 4rem 2rem;
    }
    
    .logo-image {
        height: 48px;
    }
    
    .product-title-hero {
        font-size: 2.5rem;
        max-width: 60%;
    }
    
    .price-current-hero {
        font-size: 2rem;
    }
    
    .rating-hero {
        gap: 0.75rem;
    }
    
    .star-hero {
        font-size: 1.25rem;
    }
    
    .rating-count-hero {
        font-size: 1rem;
    }
}

/* Product Detail Page */
.product-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.product-image-section {
    position: relative;
}

.product-image-main {
    width: 100%;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

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

.product-image-thumbnails {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
}

.product-thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    object-fit: cover;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.product-thumbnail:hover {
    border-color: #4299e1;
    transform: scale(1.05);
}

.product-info-section {
    padding: 1rem 0;
}

.product-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.product-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.product-manufacturer,
.product-sku {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.manufacturer-label,
.sku-label {
    color: #718096;
    font-weight: 500;
}

.manufacturer-name,
.sku-value {
    color: #1a202c;
    font-weight: 600;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
    padding: 1rem;
    background: #f7fafc;
    border-radius: 10px;
}

.rating-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
}

.product-price {
    margin: 1.5rem 0;
}

.price-old {
    text-decoration: line-through;
    color: #a0aec0;
    font-size: 1.2rem;
    margin-right: 1rem;
}

.price-current {
    font-size: 2rem;
    font-weight: 700;
    color: #38a169;
}

.coming-soon-notice {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #e6fffa, #b2f5ea);
    border-radius: 15px;
    margin: 2rem 0;
    border: 1px solid #81e6d9;
}

.notice-icon {
    font-size: 2rem;
}

.notice-content h3 {
    color: #1a202c;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.notice-content p {
    color: #2d3748;
    line-height: 1.6;
}

.product-social {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.social-label {
    color: #718096;
    font-weight: 500;
}

.social-buttons {
    display: flex;
    gap: 0.5rem;
}

.social-btn {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.social-btn.facebook {
    background: #1877f2;
    color: white;
}

.social-btn.twitter {
    background: #1da1f2;
    color: white;
}

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

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Product Details Tabs */
.product-details {
    margin-top: 3rem;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.tabs {
    display: flex;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 2rem;
    width: 100%;
    max-width: 100%;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tab-button {
    background: none;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #718096;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
    flex: 1;
    min-width: 0;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tab-button.active {
    color: #4299e1;
    border-bottom-color: #4299e1;
}

.tab-button:hover {
    color: #4299e1;
}

.tab-content {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.3s ease;
    width: 100%;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

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

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

.description-content,
.nutrition-content,
.benefits-content,
.reviews-content {
    padding: 1rem 0;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.description-content h3,
.nutrition-content h3,
.benefits-content h3,
.reviews-content h3 {
    color: #1a202c;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.enhanced-description,
.ingredients-section,
.usage-instructions,
.storage-instructions {
    margin-bottom: 2rem;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.product-description {
    width: 100%;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
    line-height: 1.6;
}

.product-description p,
.product-description h3,
.product-description h4,
.product-description strong,
.product-description span {
    width: 100%;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    box-sizing: border-box;
}

.enhanced-description,
.ingredients-section,
.usage-instructions,
.storage-instructions {
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

.ingredients-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.ingredient-tag {
    background: #e6fffa;
    color: #2d3748;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid #81e6d9;
}

.nutrition-table {
    background: #f7fafc;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.nutrition-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.nutrition-row:last-child {
    border-bottom: none;
}

.nutrition-label {
    color: #4a5568;
    font-weight: 500;
}

.nutrition-value {
    color: #1a202c;
    font-weight: 600;
}

.allergens-section,
.certifications-section {
    margin-top: 2rem;
}

.allergens-list,
.certifications-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.allergen-tag {
    background: #fed7d7;
    color: #c53030;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid #fc8181;
}

.certification-tag {
    background: #d4edda;
    color: #155724;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid #c3e6cb;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.benefit-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f0fff4;
    border-radius: 10px;
    border: 1px solid #c6f6d5;
}

.benefit-icon {
    width: 40px;
    height: 40px;
    background: #38a169;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.benefit-text {
    color: #1a202c;
    font-weight: 500;
}

.health-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.health-benefit-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #fef5e7;
    border-radius: 8px;
    border: 1px solid #f6e05e;
}

.health-benefit-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.health-benefit-text {
    color: #1a202c;
    font-size: 0.9rem;
    font-weight: 500;
}

.reviews-summary {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.rating-large {
    text-align: center;
}

.rating-large .rating-value {
    font-size: 3rem;
    font-weight: 700;
    color: #1a202c;
}

.rating-large .rating-stars {
    margin: 0.5rem 0;
}

.rating-large .rating-stars .star {
    font-size: 1.5rem;
    margin: 0 0.1rem;
}

.rating-large .rating-count {
    color: #718096;
    font-size: 0.9rem;
}

.rating-distribution {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.rating-label {
    width: 60px;
    font-size: 0.9rem;
    color: #4a5568;
}

.rating-progress {
    flex: 1;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.rating-fill {
    height: 100%;
    background: #ffd700;
    transition: width 0.3s ease;
}

.rating-bar .rating-count {
    width: 30px;
    text-align: right;
    font-size: 0.9rem;
    color: #4a5568;
}

.reviews-note {
    background: #e6fffa;
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid #81e6d9;
    margin-top: 2rem;
}

.reviews-note h4 {
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.reviews-note p {
    color: #2d3748;
    line-height: 1.6;
}

/* Related Products */
.related-products {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.related-products h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 2rem;
    text-align: center;
}

/* Products Listing Page */
.products-main {
    padding: 2rem 0;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    color: #718096;
    margin-bottom: 2rem;
}

.products-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: #f7fafc;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    min-width: 150px;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #4299e1;
}

.stat-label {
    font-size: 0.9rem;
    color: #718096;
    font-weight: 500;
}

.products-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f7fafc;
    border-radius: 10px;
}

.results-count {
    color: #4a5568;
    font-weight: 500;
}

.sort-form {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sort-form label {
    color: #4a5568;
    font-weight: 500;
}

.sort-form select {
    padding: 0.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: white;
    color: #1a202c;
}

.products-grid-section {
    margin-bottom: 3rem;
}

.no-products {
    text-align: center;
    padding: 3rem;
    color: #718096;
}

.pagination-section {
    margin: 3rem 0;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.pagination-link {
    padding: 0.5rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    text-decoration: none;
    color: #4299e1;
    transition: all 0.3s ease;
}

.pagination-link:hover {
    background: #4299e1;
    color: white;
}

.pagination-current {
    padding: 0.5rem 1rem;
    background: #4299e1;
    color: white;
    border-radius: 6px;
    font-weight: 600;
}

.pagination-ellipsis {
    padding: 0.5rem;
    color: #a0aec0;
}

.pagination-info {
    text-align: center;
    color: #718096;
    font-size: 0.9rem;
}

.coming-soon-section {
    background: linear-gradient(135deg, #e6fffa 0%, #b2f5ea 100%);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    margin-top: 3rem;
}

.coming-soon-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1rem;
}

.coming-soon-content p {
    font-size: 1.1rem;
    color: #2d3748;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.coming-soon-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Footer */
.product-footer {
    background: #1a202c;
    color: white;
    padding: 2rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #a0aec0;
    line-height: 1.6;
}

.footer-section .social-links {
    display: flex;
    gap: 1rem;
}

.footer-section .social-links a {
    color: #4299e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section .social-links a:hover {
    color: #63b3ed;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #2d3748;
    color: #a0aec0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .product-hero {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-title {
        font-size: 1.5rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .products-stats {
        gap: 1rem;
    }
    
    .stat-item {
        min-width: 120px;
    }
    
    .products-controls {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .sort-form {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .reviews-summary {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .health-benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .coming-soon-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    /* Mobile tabs - wrapping layout */
    .tabs {
        gap: 0.25rem;
        padding: 0.5rem 0;
    }
    
    .tab-button {
        padding: 0.6rem 0.75rem;
        font-size: 0.85rem;
        flex: 1;
        min-width: 0;
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    /* Allow tabs to stack on very small screens */
    @media (max-width: 400px) {
        .tabs {
            flex-direction: column;
            gap: 0.25rem;
        }
        
        .tab-button {
            flex: none;
            width: 100%;
            padding: 0.75rem 1rem;
            font-size: 0.9rem;
        }
    }
    
    /* Better spacing for mobile content */
    .product-description {
        line-height: 1.7;
        font-size: 1rem;
        width: 100%;
        max-width: 100%;
        overflow-wrap: break-word;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .product-description p {
        margin-bottom: 1rem;
        width: 100%;
        max-width: 100%;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }
    
    .product-description h3, 
    .product-description h4 {
        margin-top: 1.5rem;
        margin-bottom: 0.75rem;
        color: #1a202c;
        font-weight: 600;
        width: 100%;
        max-width: 100%;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-hero {
        gap: 1rem;
    }
    
    .product-image-main {
        height: 300px;
    }
    
    .product-title {
        font-size: 1.25rem;
    }
    
    .page-title {
        font-size: 1.5rem;
    }
    
    .coming-soon-content h2 {
        font-size: 1.5rem;
    }
    
    .pagination {
        gap: 0.25rem;
    }
    
    .pagination-link,
    .pagination-current {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
} 