.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-md-4, .col-md-6 {
    padding: 0 15px;
}

.col-md-4 { flex: 0 0 33.333%; max-width: 33.333%; }
.col-md-6 { flex: 0 0 50%; max-width: 50%; }

.product-image {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: 400px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 15px;
}

.product-summary {
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 15px;
    height: fit-content;
}

.product-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.highlight-badge {
    background: linear-gradient(135deg, #2D5A3F, #4A7C59);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.btn-large {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    margin-top: 1rem;
}

.product-details {
    margin-top: 3rem;
}

.detail-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    height: 100%;
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.detail-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.detail-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    height: 100%;
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
    border-left: 4px solid #2D5A3F;
    background: linear-gradient(135deg, #e8f5e8 0%, #f0f8f0 100%);
}

.detail-card.characteristics {
    animation: slideInLeft 0.6s ease-out;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-left-color: #1976d2;
}

.detail-card.characteristics h3 {
    color: #1976d2;
}

.detail-card.characteristics li:before {
    content: '🔬';
    color: #1976d2;
}

.detail-card.uses {
    animation: slideInUp 0.6s ease-out 0.2s both;
    background: linear-gradient(135deg, #fff8e1 0%, #fff3c4 100%);
    border-left-color: #D4A574;
}

.detail-card.uses h3 {
    color: #B8860B;
}

.detail-card.uses li:before {
    content: '💄';
    color: #D4A574;
}

.detail-card.packaging {
    animation: slideInRight 0.6s ease-out 0.4s both;
}

.detail-card h3 {
    color: #2D5A3F;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.detail-card ul {
    list-style: none;
    padding: 0;
}

.detail-card li {
    padding: 0.5rem 0;
    color: #555;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    position: relative;
    padding-left: 1.5rem;
}

.detail-card li:before {
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.detail-card.characteristics li:before {
    transform: scale(1);
}

.detail-card.uses li:before {
    transform: scale(1);
}

.detail-card.packaging li:before {
    content: '📦';
    color: #D4A574;
}

.detail-card:hover li:before {
    transform: scale(1.2) rotate(10deg);
}

.detail-card li:last-child {
    border-bottom: none;
}

.packaging-options {
    display: grid;
    gap: 0.5rem;
}

.package-item {
    background: rgba(255,255,255,0.7);
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: 500;
    color: #2D5A3F;
    border-left: 3px solid #2D5A3F;
    transition: all 0.3s ease;
}

.package-item:hover {
    background: rgba(45, 90, 63, 0.15);
    transform: translateX(8px) scale(1.02);
    box-shadow: 0 4px 15px rgba(45, 90, 63, 0.2);
}

.seo-content {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 3rem 2rem;
    border-radius: 20px;
    margin-top: 3rem;
    border: 1px solid #e9ecef;
}

.seo-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #e9ecef;
}

.seo-header h2 {
    color: #2D5A3F;
    font-size: 2.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.seo-intro {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
}

.seo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.seo-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.seo-card:hover {
    transform: translateY(-5px);
}

.seo-card.extraction {
    border-left: 4px solid #2D5A3F;
    animation: fadeInUp 0.8s ease-out;
}

.seo-card.composition {
    border-left: 4px solid #2D5A3F;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.seo-card.certifications {
    border-left: 4px solid #2D5A3F;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.seo-card h3 {
    color: #2D5A3F;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.composition-table {
    display: grid;
    gap: 1rem;
}

.comp-item {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    border-left: 4px solid #2D5A3F;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.comp-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #2D5A3F, #4A7C59, #6B9B7C);
}

.comp-item:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(45, 90, 63, 0.2);
    border-left-color: #4A7C59;
}

.comp-item strong {
    color: #2D5A3F;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.5rem;
}

.benefit {
    color: #6B9B7C;
    font-style: italic;
    font-size: 0.95rem;
    background: rgba(107, 155, 124, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    display: inline-block;
    margin-top: 0.5rem;
    font-weight: 500;
}

.cert-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.cert-badge {
    background: linear-gradient(135deg, #2D5A3F, #4A7C59);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.cert-badge:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 12px rgba(45, 90, 63, 0.3);
}

.seo-content h2 {
    color: #2D5A3F;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.seo-content h3 {
    color: #4A7C59;
    margin: 2rem 0 1rem 0;
    font-size: 1.3rem;
}

.seo-content p {
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #555;
}

.composition-list,
.mineral-composition,
.properties-list,
.biochemical-composition {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.composition-list li,
.mineral-composition li,
.properties-list li,
.biochemical-composition li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.composition-list li:last-child,
.mineral-composition li:last-child,
.properties-list li:last-child,
.biochemical-composition li:last-child {
    border-bottom: none;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

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

@media (max-width: 768px) {
    .col-md-4, .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 2rem;
    }
    
    .product-highlights {
        justify-content: center;
    }
    
    .seo-content {
        padding: 2rem 1rem;
    }
    
    .seo-content h2 {
        font-size: 1.5rem;
    }
}