/* Product Detail Page Styles */

/* Navigation Bar */
.product-detail .nav-bar {
    margin-bottom: 2rem;
    padding: 1.5rem 0;
}

.back-link {
    color: #293189;
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: 600;
    transition: color 0.3s ease;
    display: inline-block;
}

.back-link:hover {
    color: #1f2370;
}

/* Back button styling */
.nav-bar .btn {
    height: 16px !important;
    font-family: 'Source Sans Pro', sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    font-size: 1.4rem !important;
    color: #293189 !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    cursor: pointer !important;
    transition: color 0.3s ease !important;
    text-transform: none !important;
    border-radius: 0 !important;
}

.nav-bar .btn:hover {
    transform: none !important;
    color: #1f2370 !important;
    text-decoration: none !important;
}

/* Ensure link functionality */
.nav-bar .btn:active,
.nav-bar .btn:focus {
    outline: none !important;
    text-decoration: none !important;
}

.nav-bar .btn .icon-left {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Main Content */
.main-content {
    padding: 4rem 0;
    background: #fff;
}

.product-detail {
    max-width: 1200px;
    margin: 0 auto;
}

/* Product title now uses standard heading classes from main CSS */

.product-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
}

/* Product Information */
.product-info {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.info-section {
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 12px;
    border-left: 4px solid #293189;
}

.section-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.5rem;
}

.section-text {
    font-size: 1.6rem;
    line-height: 1.7;
    color: #666;
}

.nutrition-list {
    list-style: none;
    padding: 0;
}

.nutrition-list li {
    font-size: 1.6rem;
    color: #666;
    padding: 0.8rem 0;
    border-bottom: 1px solid #e9ecef;
    position: relative;
    padding-left: 2rem;
}

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

.nutrition-list li::before {
    content: '•';
    color: #293189;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Product Image Section */
.product-image-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.product-image {
    width: 100%;
    max-width: 400px;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

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

.order-btn {
    background: #293189;
    color: #fff;
    border: none;
    padding: 1.5rem 3rem;
    font-size: 1.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.order-btn:hover {
    background: #1f2370;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(41, 49, 137, 0.3);
    color: #fff;
    text-decoration: none;
}

/* Footer Styles */
.main-footer {
    background: #293189;
    color: #fff;
    margin-top: 6rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 4rem 0;
    gap: 4rem;
}

.footer-info {
    flex: 1;
}

.company-name {
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    color: #fff;
}

.certification,
.address,
.phone,
.email {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: #e9ecef;
}

.footer-logo {
    flex-shrink: 0;
}

.organic-trust-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
}

.footer-copyright {
    text-align: center;
    padding: 2rem 0;
    border-top: 2px solid #FBC111;
    color: #e9ecef;
    font-size: 1.2rem;
}

/* Responsive Design */
@media only screen and (max-width: 75em) {
    .product-content {
        gap: 4rem;
    }
}

@media only screen and (max-width: 56.25em) {
    .product-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .info-section {
        padding: 2rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2rem;
    }
    
    .back-link {
        font-size: 1.4rem;
    }
}

@media only screen and (max-width: 37.5em) {
    .main-content {
        padding: 2rem 0;
    }
    
    .info-section {
        padding: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-text,
    .nutrition-list li {
        font-size: 1.4rem;
    }
    
    .order-btn {
        padding: 1.2rem 2.5rem;
        font-size: 1.4rem;
        min-width: 180px;
        text-decoration: none;
        display: inline-block;
        text-align: center;
    }
    
    .product-image {
        height: 300px;
    }
    
    .footer-content {
        padding: 3rem 0;
    }
    
    .company-name {
        font-size: 1.8rem;
    }
    
    .certification,
    .address,
    .phone,
    .email {
        font-size: 1.3rem;
    }
    
    .organic-trust-logo {
        width: 100px;
        height: 100px;
    }
    
    .back-link {
        font-size: 1.3rem;
    }
    
    .product-detail .nav-bar {
        padding: 1rem 0;
        margin-bottom: 1.5rem;
    }
}
