﻿/* ============================================
   PRODUCT FEATURES UNIFIED STYLES
   Enterprise-Grade Design System for GroKarna
   Consolidated from 4 separate CSS files
   ============================================ */



/* ========== 1. HORIZONTAL TABS ========== */
/* Source: horizontal-tabs.css */

/* Horizontal Product Tabs Styles */
.horizontal-tabs-wrapper {
    margin: 40px 0;
    width: 100%;
    padding: 0;
}

/* Horizontal Tab Navigation */
.horizontal-tabs-wrapper .horizontal-tabs {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    border-bottom: 2px solid #e0e0e0;
    gap: 0;
}

.horizontal-tabs-wrapper .horizontal-tabs li {
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    flex-shrink: 0;
}

.horizontal-tabs-wrapper .horizontal-tabs li a.tab-link {
    display: block;
    padding: 15px 30px;
    color: #666;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    background: transparent;
    cursor: pointer;
}

.horizontal-tabs-wrapper .horizontal-tabs li a.tab-link:hover {
    color: #333;
    background-color: #f9f9f9;
}

.horizontal-tabs-wrapper .horizontal-tabs li.active a.tab-link,
.horizontal-tabs-wrapper .horizontal-tabs li a.tab-link.active {
    color: #2c7a4b;
    font-weight: 600;
    border-bottom-color: #2c7a4b;
    background-color: #f0f8f4;
}

/* Tab Content Area */
.horizontal-tabs-wrapper .tab-content-wrapper {
    padding: 30px 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-top: none;
    min-height: 200px;
}

.horizontal-tabs-wrapper .woocommerce-Tabs-panel {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.horizontal-tabs-wrapper .woocommerce-Tabs-panel.active {
    display: block !important;
    opacity: 1;
    animation: fadeIn 0.3s ease-in-out;
}

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

/* Hide inactive tabs */
.horizontal-tabs-wrapper .woocommerce-Tabs-panel:not(.active) {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .horizontal-tabs-wrapper .horizontal-tabs {
        flex-direction: column;
        border-bottom: none;
    }
    
    .horizontal-tabs-wrapper .horizontal-tabs li {
        width: 100%;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .horizontal-tabs-wrapper .horizontal-tabs li a.tab-link {
        padding: 12px 20px;
        border-bottom: none;
        border-left: 3px solid transparent;
    }
    
    .horizontal-tabs-wrapper .horizontal-tabs li.active a.tab-link,
    .horizontal-tabs-wrapper .horizontal-tabs li a.tab-link.active {
        border-left-color: #2c7a4b;
        border-bottom-color: transparent;
    }
    
    .horizontal-tabs-wrapper .tab-content-wrapper {
        padding: 20px 15px;
        border-top: 1px solid #e0e0e0;
    }
}

/* Content Styling */
.horizontal-tabs-wrapper .woocommerce-Tabs-panel h2 {
    margin-top: 0;
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

.horizontal-tabs-wrapper .woocommerce-Tabs-panel p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

/* Additional Information Table */
.horizontal-tabs-wrapper .shop_attributes {
    width: 100%;
    border-collapse: collapse;
}

.horizontal-tabs-wrapper .shop_attributes tr {
    border-bottom: 1px solid #e0e0e0;
}

.horizontal-tabs-wrapper .shop_attributes th,
.horizontal-tabs-wrapper .shop_attributes td {
    padding: 12px;
    text-align: left;
}

.horizontal-tabs-wrapper .shop_attributes th {
    font-weight: 600;
    width: 30%;
    background-color: #f9f9f9;
}

/* Reviews */
.horizontal-tabs-wrapper #reviews .comment-form-rating {
    margin-bottom: 20px;
}

.horizontal-tabs-wrapper #reviews .stars {
    display: inline-block;
    margin-left: 10px;
}


/* ========== 2. REVIEW STYLES ========== */
/* Source: review-styles.css */

/**
 * Modern Review Section Styles
 * Grokarna Theme - Organic Green Color Scheme
 */

/* Main Reviews Container */
.grokarna-modern-reviews {
    padding: 40px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.woocommerce-Reviews-title {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #4CAF50;
}

/* Login Required Card - Modern Design */
.grokarna-login-required-card {
    background: linear-gradient(135deg, #f8fff9 0%, #e8f5e9 100%);
    border: 2px solid #4CAF50;
    border-radius: 16px;
    padding: 50px 40px;
    text-align: center;
    margin: 40px 0;
    box-shadow: 0 10px 40px rgba(76, 175, 80, 0.1);
    transition: all 0.3s ease;
}

.grokarna-login-required-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(76, 175, 80, 0.15);
}

.login-card-icon {
    display: inline-block;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4CAF50 0%, #66BB6A 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.3);
}

.login-card-icon svg {
    color: white;
}

.grokarna-login-required-card h3 {
    font-size: 26px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.grokarna-login-required-card p {
    font-size: 16px;
    color: #546e7a;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Login Button */
.grokarna-login-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4CAF50 0%, #66BB6A 100%);
    color: white !important;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
    border: none;
    cursor: pointer;
}

.grokarna-login-button:hover {
    background: linear-gradient(135deg, #66BB6A 0%, #81C784 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.4);
}

.grokarna-login-button svg {
    color: white;
}

/* ===== COMPACT GUEST REVIEW SECTION ===== */
.grokarna-guest-review-compact {
    background: #f8fff9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px 25px;
    margin: 30px 0;
}

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

.review-text h4 {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 4px 0;
}

.review-text p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.review-login-btn {
    background: #4CAF50;
    color: white !important;
    padding: 10px 30px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.review-login-btn:hover {
    background: #45a049;
    transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 768px) {
    .review-compact-content {
        flex-direction: column;
        text-align: center;
    }
    
    .review-login-btn {
        width: 100%;
    }
}

/* Review Form Wrapper */
.grokarna-review-form-wrapper {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    padding: 40px;
    margin: 40px 0;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

.review-form-header {
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 2px solid #f0f0f0;
}

.review-form-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
}

.review-form-subtitle {
    font-size: 15px;
    color: #78909c;
    margin: 0;
}

/* Form Fields Styling */
.grokarna-form-field {
    margin-bottom: 25px;
}

.grokarna-form-field label {
    display: flex;
    align-items: center;
    font-size: 15px;
    font-weight: 600;
    color: #37474f;
    margin-bottom: 10px;
}

.grokarna-form-field label svg {
    color: #4CAF50;
    margin-right: 8px;
    flex-shrink: 0;
}

.grokarna-form-field label span {
    display: flex;
    align-items: center;
}

.grokarna-form-field.field-focused label {
    color: #4CAF50;
}

.grokarna-form-field input[type="text"],
.grokarna-form-field input[type="email"],
.grokarna-form-field textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    color: #37474f;
    transition: all 0.3s ease;
    background: #fafafa;
    box-sizing: border-box;
}

.grokarna-form-field input[type="text"]:focus,
.grokarna-form-field input[type="email"]:focus,
.grokarna-form-field textarea:focus {
    border-color: #4CAF50;
    background: #ffffff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.1);
}

.grokarna-form-field textarea {
    min-height: 140px;
    resize: vertical;
    font-family: inherit;
}

/* Star Rating Section */
.grokarna-star-rating-wrapper {
    margin-bottom: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #fffef7 0%, #fff8e1 100%);
    border-radius: 12px;
    border: 2px solid #FFB300;
}

.grokarna-star-rating-wrapper label {
    display: flex;
    align-items: center;
    font-size: 15px;
    font-weight: 600;
    color: #37474f;
    margin-bottom: 15px;
}

.grokarna-star-rating-wrapper label svg {
    color: #FFB300;
    margin-right: 5px;
}

.grokarna-stars-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.stars-display {
    display: flex;
    gap: 8px;
}

.stars-display .star {
    font-size: 36px;
    color: #ddd;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stars-display .star:hover {
    transform: scale(1.15);
    color: #FFB300;
}

.stars-display .star.active {
    color: #FFB300;
    text-shadow: 0 2px 8px rgba(255, 179, 0, 0.4);
}

.star-selected-animation {
    animation: starPulse 0.3s ease;
}

@keyframes starPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
}

.rating-text {
    font-size: 14px;
    font-weight: 600;
    color: #546e7a;
    min-height: 20px;
}

/* Error State for Rating */
.grokarna-star-rating-wrapper.error-shake {
    animation: shake 0.5s ease;
    border-color: #e74c3c;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

/* Character Count */
.char-count {
    display: block;
    font-size: 13px;
    color: #78909c;
    margin-top: 8px;
    font-style: italic;
}

.char-count.char-warning {
    color: #FF9800;
    font-weight: 600;
}

/* Submit Button */
.grokarna-submit-review-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4CAF50 0%, #66BB6A 100%);
    color: white !important;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
    margin-top: 10px;
}

.grokarna-submit-review-btn:hover {
    background: linear-gradient(135deg, #66BB6A 0%, #81C784 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.4);
}

.grokarna-submit-review-btn:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(76, 175, 80, 0.3);
}

.grokarna-submit-review-btn svg {
    color: white;
}

/* Required Field Indicator */
.required {
    color: #e74c3c;
    font-weight: bold;
}

/* Review List Styling */
.grokarna-review-list {
    margin: 30px 0;
    padding: 0;
    list-style: none;
}

.grokarna-review-list .comment {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.grokarna-review-list .comment:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

/* Responsive Design */
@media (max-width: 768px) {
    .grokarna-login-required-card {
        padding: 35px 25px;
    }
    
    .grokarna-review-form-wrapper {
        padding: 25px 20px;
    }
    
    .woocommerce-Reviews-title {
        font-size: 24px;
    }
    
    .grokarna-login-required-card h3 {
        font-size: 22px;
    }
    
    .review-form-header h3 {
        font-size: 20px;
    }
    
    .stars-display .star {
        font-size: 32px;
    }
    
    .grokarna-login-button,
    .grokarna-submit-review-btn {
        padding: 14px 32px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .login-card-icon {
        width: 60px;
        height: 60px;
    }
    
    .login-card-icon svg {
        width: 36px;
        height: 36px;
    }
    
    .stars-display .star {
        font-size: 28px;
        gap: 5px;
    }
    
    .grokarna-star-rating-wrapper {
        padding: 20px 15px;
    }
}

/* Animation for form submission success */
@keyframes successPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(76, 175, 80, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
    }
}

/* No Reviews Message */
.woocommerce-noreviews {
    text-align: center;
    padding: 40px;
    color: #78909c;
    font-size: 16px;
    background: #f5f5f5;
    border-radius: 12px;
    margin: 20px 0;
}


/* ========== 3. PRODUCT TRANSPARENCY ========== */
/* Source: transparency.css */


/* Product Transparency Styles */

.gk-product-certifications {
    background: #f8fdf8;
    border: 2px solid #4CAF50;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.gk-cert-title {
    color: #2d5016;
    font-size: 18px;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gk-cert-title:before {
    content: "âœ“";
    display: inline-block;
    width: 24px;
    height: 24px;
    background: #4CAF50;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 24px;
    font-weight: bold;
}

.gk-cert-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
}

.gk-cert-item {
    display: flex;
    gap: 12px;
    background: white;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.gk-cert-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-color: #4CAF50;
}

.gk-cert-badge {
    width: 60px;
    height: 60px;
    object-fit: contain;
    flex-shrink: 0;
}

.gk-cert-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4CAF50, #66BB6A);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    flex-shrink: 0;
}

.gk-cert-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.gk-cert-details strong {
    color: #2d5016;
    font-size: 15px;
}

.gk-cert-details span {
    font-size: 13px;
    color: #666;
    display: block;
}

.gk-cert-verify {
    display: inline-block;
    margin-top: 8px;
    color: #4CAF50;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: color 0.2s ease;
}

.gk-cert-verify:hover {
    color: #388E3C;
    text-decoration: underline;
}

/* Traceability Map */
.gk-product-traceability {
    background: linear-gradient(135deg, #fff8e1 0%, #fffbf0 100%);
    border: 2px solid #FFA726;
    border-radius: 8px;
    padding: 25px;
    margin: 30px 0;
}

.gk-product-traceability h3 {
    color: #E65100;
    font-size: 20px;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gk-product-traceability h3:before {
    content: "ðŸ—ºï¸";
    font-size: 24px;
}

.gk-trace-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.gk-trace-item {
    display: flex;
    gap: 12px;
    background: white;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #FFE0B2;
    align-items: flex-start;
}

.gk-trace-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.gk-trace-item strong {
    display: block;
    color: #E65100;
    font-size: 14px;
    margin-bottom: 4px;
}

.gk-trace-item span {
    color: #555;
    font-size: 14px;
}

.gk-trace-map {
    background: white;
    border: 1px solid #FFE0B2;
    border-radius: 6px;
    overflow: hidden;
    margin-top: 20px;
}

.gk-map-placeholder {
    padding: 40px 20px;
    text-align: center;
}

.gk-map-placeholder p {
    font-size: 24px;
    margin: 0 0 15px 0;
}

.gk-load-map {
    background: #FFA726;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.gk-load-map:hover {
    background: #FB8C00;
}

.gk-ingredient-sources {
    background: white;
    padding: 20px;
    border-radius: 6px;
    border: 1px solid #FFE0B2;
    margin-top: 20px;
}

.gk-ingredient-sources h4 {
    color: #E65100;
    font-size: 16px;
    margin: 0 0 15px 0;
}

.gk-ingredient-sources ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gk-ingredient-sources li {
    padding: 8px 0;
    border-bottom: 1px solid #FFE0B2;
    color: #555;
    font-size: 14px;
}

.gk-ingredient-sources li:last-child {
    border-bottom: none;
}

.gk-ingredient-sources li:before {
    content: "â†’";
    color: #FFA726;
    margin-right: 10px;
    font-weight: bold;
}

/* Farmer Profile */
.gk-farmer-profile {
    background: linear-gradient(135deg, #E8F5E9 0%, #F1F8E9 100%);
    border: 2px solid #66BB6A;
    border-radius: 8px;
    padding: 25px;
    margin: 30px 0;
}

.gk-farmer-profile h3 {
    color: #1B5E20;
    font-size: 20px;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gk-farmer-profile h3:before {
    content: "ðŸ‘¨â€ðŸŒ¾";
    font-size: 24px;
}

.gk-farmer-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 20px;
    border: 1px solid #C8E6C9;
}

.gk-farmer-avatar {
    grid-row: 1 / 3;
}

.gk-farmer-avatar img {
    border-radius: 50%;
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 3px solid #66BB6A;
}

.gk-farmer-info h4 {
    color: #1B5E20;
    font-size: 18px;
    margin: 0 0 10px 0;
}

.gk-farmer-info p {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 10px 0;
}

.gk-farmer-experience {
    background: #F1F8E9;
    padding: 10px;
    border-radius: 4px;
    border-left: 3px solid #66BB6A;
}

.gk-farmer-video {
    margin-top: 15px;
}

.gk-video-link {
    display: inline-block;
    background: #66BB6A;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.3s ease;
}

.gk-video-link:hover {
    background: #4CAF50;
}

.gk-product-story {
    grid-column: 1 / -1;
    background: #F1F8E9;
    padding: 20px;
    border-radius: 6px;
    border-left: 4px solid #66BB6A;
    margin-top: 10px;
}

.gk-product-story h4 {
    color: #1B5E20;
    font-size: 16px;
    margin: 0 0 12px 0;
}

.gk-product-story p {
    color: #555;
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .gk-cert-list {
        grid-template-columns: 1fr;
    }
    
    .gk-trace-info {
        grid-template-columns: 1fr;
    }
    
    .gk-farmer-card {
        grid-template-columns: 1fr;
    }
    
    .gk-farmer-avatar {
        grid-row: auto;
        text-align: center;
    }
}

/* Map styles when loaded */
.gk-trace-map.loaded {
    height: 400px;
}

.gk-trace-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}


/* ========== 4. SUSTAINABILITY METRICS ========== */
/* Source: sustainability.css */

/* Sustainability Metrics Styles */

/* Sustainability Badges */
.gk-sustainability-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 15px 0;
}

.gk-sustain-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.gk-carbon-neutral {
    background: linear-gradient(135deg, #66BB6A, #81C784);
    color: white;
}

.gk-plastic-free {
    background: linear-gradient(135deg, #29B6F6, #4FC3F7);
    color: white;
}

/* Carbon Footprint Section */
.gk-carbon-footprint {
    background: linear-gradient(135deg, #E3F2FD 0%, #F1F8FF 100%);
    border: 2px solid #2196F3;
    border-radius: 8px;
    padding: 25px;
    margin: 30px 0;
}

.gk-carbon-footprint h3 {
    color: #0D47A1;
    font-size: 20px;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gk-carbon-footprint h3:before {
    content: "ðŸŒ";
    font-size: 24px;
}

.gk-carbon-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.gk-carbon-total {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border: 2px solid #2196F3;
}

.gk-carbon-value {
    display: block;
    font-size: 48px;
    font-weight: 700;
    color: #0D47A1;
    line-height: 1;
}

.gk-carbon-unit {
    display: block;
    font-size: 18px;
    color: #666;
    margin-top: 5px;
}

.gk-carbon-label {
    display: block;
    font-size: 14px;
    color: #999;
    margin-top: 5px;
}

.gk-carbon-offset-badge {
    background: linear-gradient(135deg, #66BB6A, #81C784);
    color: white;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    gap: 15px;
    align-items: center;
}

.gk-offset-icon {
    font-size: 40px;
    flex-shrink: 0;
}

.gk-carbon-offset-badge strong {
    display: block;
    font-size: 16px;
    margin-bottom: 5px;
}

.gk-carbon-offset-badge p {
    margin: 0;
    font-size: 14px;
    opacity: 0.95;
}

/* Carbon Breakdown */
.gk-carbon-breakdown {
    background: white;
    padding: 20px;
    border-radius: 8px;
}

.gk-carbon-breakdown h4 {
    color: #0D47A1;
    font-size: 16px;
    margin: 0 0 15px 0;
}

.gk-carbon-bars {
    margin-bottom: 20px;
}

.gk-carbon-bar-item {
    margin-bottom: 15px;
}

.gk-carbon-bar-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    font-size: 14px;
}

.gk-carbon-bar-label span:first-child {
    color: #0D47A1;
    font-weight: 600;
}

.gk-carbon-bar-label span:last-child {
    color: #666;
}

.gk-carbon-bar {
    height: 24px;
    background: #E3F2FD;
    border-radius: 12px;
    overflow: hidden;
}

.gk-carbon-bar-fill {
    height: 100%;
    border-radius: 12px;
    transition: width 0.6s ease;
}

.gk-carbon-bar-fill.gk-production {
    background: linear-gradient(135deg, #FF9800, #FFB74D);
}

.gk-carbon-bar-fill.gk-transport {
    background: linear-gradient(135deg, #F44336, #EF5350);
}

.gk-carbon-bar-fill.gk-packaging {
    background: linear-gradient(135deg, #9C27B0, #BA68C8);
}

.gk-carbon-context {
    background: #F1F8FF;
    padding: 15px;
    border-radius: 6px;
    border-left: 4px solid #2196F3;
}

.gk-carbon-context p {
    margin: 0;
    font-size: 14px;
    color: #555;
}

/* Packaging Info Section */
.gk-packaging-info {
    background: linear-gradient(135deg, #F3E5F5 0%, #FCE4EC 100%);
    border: 2px solid #9C27B0;
    border-radius: 8px;
    padding: 25px;
    margin: 30px 0;
}

.gk-packaging-info h3 {
    color: #6A1B9A;
    font-size: 20px;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gk-packaging-info h3:before {
    content: "ðŸ“¦";
    font-size: 24px;
}

.gk-packaging-materials {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.gk-packaging-materials h4 {
    color: #6A1B9A;
    font-size: 16px;
    margin: 0 0 15px 0;
}

.gk-materials-chart {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gk-material-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gk-material-bar {
    height: 32px;
    background: linear-gradient(135deg, #9C27B0, #BA68C8);
    border-radius: 16px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    color: white;
    font-weight: 600;
    font-size: 13px;
    min-width: 60px;
    transition: width 0.6s ease;
}

.gk-material-name {
    color: #555;
    font-size: 14px;
    font-weight: 500;
}

.gk-packaging-properties {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.gk-pack-prop {
    background: white;
    padding: 15px;
    border-radius: 6px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    border: 1px solid #E1BEE7;
}

.gk-pack-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.gk-pack-prop strong {
    display: block;
    color: #6A1B9A;
    font-size: 14px;
    margin-bottom: 4px;
}

.gk-pack-prop p {
    margin: 0;
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

.gk-disposal-instructions {
    background: white;
    padding: 20px;
    border-radius: 6px;
    border-left: 4px solid #9C27B0;
}

.gk-disposal-instructions h4 {
    color: #6A1B9A;
    font-size: 15px;
    margin: 0 0 12px 0;
}

.gk-disposal-instructions p {
    margin: 0;
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

/* Cart Carbon Footprint */
.gk-cart-carbon td {
    padding: 20px 0 !important;
}

.gk-cart-carbon-box {
    background: linear-gradient(135deg, #E3F2FD, #F1F8FF);
    border: 2px solid #2196F3;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    gap: 15px;
    align-items: center;
}

.gk-carbon-icon {
    font-size: 36px;
    flex-shrink: 0;
}

.gk-cart-carbon-box strong {
    display: block;
    color: #0D47A1;
    font-size: 15px;
    margin-bottom: 5px;
}

.gk-cart-carbon-box .gk-carbon-value {
    display: inline;
    font-size: 24px;
    font-weight: 700;
    color: #0D47A1;
}

.gk-carbon-tip {
    margin-left: auto;
    background: linear-gradient(135deg, #66BB6A, #81C784);
    color: white;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
}

/* Checkout Carbon Display */
.gk-checkout-carbon {
    background: linear-gradient(135deg, #E3F2FD, #F1F8FF);
    border: 2px solid #2196F3;
    border-radius: 8px;
    padding: 25px;
    margin: 20px 0;
}

.gk-checkout-carbon h3 {
    color: #0D47A1;
    font-size: 18px;
    margin: 0 0 15px 0;
}

.gk-checkout-carbon-content {
    display: flex;
    gap: 25px;
    align-items: center;
}

.gk-carbon-display {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    min-width: 140px;
}

.gk-carbon-big {
    display: block;
    font-size: 40px;
    font-weight: 700;
    color: #0D47A1;
    line-height: 1;
}

.gk-carbon-message {
    flex: 1;
}

.gk-carbon-message p {
    margin: 0 0 8px 0;
    font-size: 14px;
    color: #555;
}

.gk-carbon-message p:first-child {
    font-size: 16px;
    color: #66BB6A;
}

/* Order Carbon Display */
.gk-order-carbon {
    background: #F1F8FF;
    padding: 20px;
    border-radius: 6px;
    border-left: 4px solid #2196F3;
    margin-top: 20px;
}

.gk-order-carbon h3 {
    color: #0D47A1;
    font-size: 16px;
    margin: 0 0 12px 0;
}

.gk-offset-label {
    display: inline-block;
    background: #66BB6A;
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    margin-left: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .gk-carbon-summary {
        grid-template-columns: 1fr;
    }
    
    .gk-packaging-properties {
        grid-template-columns: 1fr;
    }
    
    .gk-cart-carbon-box {
        flex-direction: column;
        text-align: center;
    }
    
    .gk-carbon-tip {
        margin-left: 0;
    }
    
    .gk-checkout-carbon-content {
        flex-direction: column;
        text-align: center;
    }
    
    .gk-carbon-display {
        width: 100%;
    }
}

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

.gk-carbon-footprint,
.gk-packaging-info {
    animation: fadeInUp 0.6s ease;
}
