/**
 * Eon Peptides - Product Page Styles
 * Clinical design inspired by RUO
 */

/* ============================================
   PRODUCT PAGE CONTAINER
   ============================================ */

.eon-single-product {
    background: #F8F9FA;
    padding: 40px 0;
}

.eon-product-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   MAIN PRODUCT SECTION
   ============================================ */

.eon-product-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    background: #FFFFFF;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    align-items: stretch;
    box-sizing: border-box;
}

/* Product Gallery */
.eon-product-gallery {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 48px;
    box-sizing: border-box;
    background: #F8F9FA;
    border-radius: 12px;
    overflow: hidden;
}

.eon-main-image {
    max-width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
}

.eon-no-image {
    color: #999;
    font-size: 14px;
}

/* Product Info */
.eon-product-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Stock Badge */
.eon-stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 50px;
    width: fit-content;
}

.eon-stock-badge.in-stock {
    background: #E8F5E9;
    color: #2E7D32;
}

.eon-stock-badge.out-of-stock {
    background: #FFEBEE;
    color: #C62828;
}

/* Product Title */
.eon-product-title {
    font-size: 32px;
    font-weight: 600;
    color: #1A1A1A;
    margin: 0;
    line-height: 1.2;
}

/* Price */
.eon-product-price {
    font-size: 28px;
    font-weight: 700;
    color: #1A1A1A;
}

.eon-product-price del {
    color: #999;
    font-size: 20px;
    font-weight: 400;
}

.eon-product-price ins {
    text-decoration: none;
}

/* Add to Cart */
.eon-add-to-cart {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 8px 0;
}

.eon-add-to-cart .quantity {
    display: flex;
    align-items: center;
    border: 1px solid #E0E0E0;
    border-radius: 6px;
    overflow: hidden;
}

.eon-add-to-cart .quantity input {
    width: 50px;
    text-align: center;
    border: none;
    font-size: 16px;
    padding: 12px 8px;
}

.eon-add-to-cart .single_add_to_cart_button {
    background: #1A1A1A;
    color: #FFFFFF;
    border: none;
    padding: 14px 28px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.eon-add-to-cart .single_add_to_cart_button:hover {
    background: #333333;
}

/* PASSED Badges */
.eon-passed-badges {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.eon-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #F8F9FA;
    border: 1px solid #E8E8E8;
    border-radius: 8px;
    padding: 16px 20px;
    flex: 1;
}

.eon-check {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.eon-badge-text {
    display: flex;
    flex-direction: column;
}

.eon-badge-text strong {
    font-size: 14px;
    font-weight: 600;
    color: #1A1A1A;
}

.eon-badge-text span {
    font-size: 12px;
    color: #666;
}

/* Research Disclaimer */
.eon-disclaimer {
    display: flex;
    gap: 12px;
    background: #FFF8E1;
    border: 1px solid #FFE082;
    border-radius: 8px;
    padding: 16px;
    margin-top: 16px;
}

.eon-warning-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.eon-disclaimer p {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: #5D4037;
}

/* ============================================
   DESCRIPTION SECTION
   ============================================ */

.eon-product-description {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.eon-section-title {
    font-size: 24px;
    font-weight: 600;
    color: #1A1A1A;
    margin: 0 0 32px 0;
    text-align: center;
}

.eon-description-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

/* COA Card */
.eon-coa-card {
    background: #F8F9FA;
    border: 1px solid #E8E8E8;
    border-radius: 12px;

    display: flex;
    gap: 24px;
}

.eon-coa-preview {
    width: 120px;
    height: 160px;
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.eon-coa-preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.eon-coa-placeholder {
    font-size: 32px;
}

.eon-coa-info {
    flex: 1;
}

.eon-coa-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1A1A1A;
    margin: 0 0 16px 0;
}

.eon-coa-table {
    width: 100%;
    margin-bottom: 16px;
}

.eon-coa-table td {
    padding: 6px 0;
    font-size: 14px;
}

.eon-coa-table td:first-child {
    color: #888;
    width: 120px;
}

.eon-coa-table td:last-child {
    color: #1A1A1A;
}

.eon-coa-buttons {
    display: flex;
    gap: 12px;
}

.eon-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.eon-btn-outline {
    background: transparent;
    border: 1px solid #1D7A5F;
    color: #1D7A5F;
}

.eon-btn-outline:hover {
    background: #1D7A5F;
    color: #FFFFFF;
}

.eon-btn-primary {
    background: #1A1A1A;
    border: 1px solid #1A1A1A;
    color: #FFFFFF;
}

.eon-btn-primary:hover {
    background: #333333;
}

/* Properties Card */
.eon-properties-card {
    background: #F8F9FA;
    border: 1px solid #E8E8E8;
    border-radius: 12px;

}

.eon-properties-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1A1A1A;
    margin: 0 0 16px 0;
}

.eon-properties-table {
    width: 100%;
}

.eon-properties-table tr {
    border-bottom: 1px solid #E8E8E8;
}

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

.eon-properties-table td {
    padding: 12px 0;
    font-size: 14px;
    vertical-align: top;
}

.eon-prop-label {
    color: #1D7A5F;
    font-weight: 500;
    width: 140px;
}

.eon-prop-value {
    color: #1A1A1A;
}

.eon-terms {
    font-size: 12px;
    color: #888 !important;
    font-style: italic;
}

/* 2D Structure Card */
.eon-structure-card {
    background: #F8F9FA;
    border: 1px solid #E8E8E8;
    border-radius: 12px;

    grid-column: span 2;
}

.eon-structure-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1A1A1A;
    margin: 0 0 16px 0;
}

.eon-structure-image {
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.eon-structure-image img {
    max-width: 300px;
    max-height: 200px;
    object-fit: cover;
}

.eon-structure-placeholder {
    color: #999;
    font-size: 14px;
}

/* Long Description */
.eon-long-description {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid #E8E8E8;
}

.eon-long-description h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1A1A1A;
    margin: 0 0 16px 0;
}

.eon-long-description p {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
}

/* ============================================
   RELATED PRODUCTS
   ============================================ */

.eon-related-products {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.eon-related-products h2 {
    font-size: 24px;
    font-weight: 600;
    color: #1A1A1A;
    text-align: center;
    margin-bottom: 32px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 992px) {
    .eon-product-main {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }
    
    .eon-description-grid {
        grid-template-columns: 1fr;
    }
    
    .eon-structure-card {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .eon-product-main {
    
    }
    
    .eon-product-title {
        font-size: 24px;
    }
    
    .eon-product-price {
        font-size: 22px;
    }
    
    .eon-passed-badges {
        flex-direction: column;
    }
    
    .eon-coa-card {
        flex-direction: column;
    }
    
    .eon-coa-preview {
        width: 100%;
        height: 120px;
    }
    
    .eon-coa-buttons {
        flex-direction: column;
    }
}

/* ============================================
   SECTION 1: TABBED NAVIGATION
   ============================================ */

.eon-tabs-section {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 0;
    margin-bottom: 40px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    overflow: hidden;
}

.eon-tabs-nav {
    display: flex;
    align-items: center;
    gap: 0;
    border-bottom: 1px solid #E8E8E8;
    background: #FAFAFA;
    overflow-x: auto;
    position: relative;
}

.eon-tab-btn {
    background: none;
    border: none;
    padding: 20px 24px;
    font-size: 14px;
    font-weight: 500;
    color: #888;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    position: relative;
}

.eon-tab-btn:hover {
    color: #555;
}

.eon-tab-btn.active {
    color: #1A1A1A;
    font-weight: 600;
}

.eon-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #6366F1, #8B5CF6);
    border-radius: 3px 3px 0 0;
}

.eon-tab-indicator {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: linear-gradient(180deg, #6366F1, #8B5CF6);
    border-radius: 2px;
}

.eon-tabs-content {
    padding: 40px;
}

.eon-tab-panel {
    display: none;
}

.eon-tab-panel.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

.eon-overview-content,
.eon-additional-content,
.eon-research-content,
.eon-library-content,
.eon-coa-content,
.eon-storage-content {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
}

.eon-overview-content p,
.eon-research-content p {
    margin: 0;
}

/* Tab: Additional Info */
.eon-attributes-table {
    width: 100%;
    max-width: 600px;
}

.eon-attributes-table tr {
    border-bottom: 1px solid #F0F0F0;
}

.eon-attributes-table td {
    padding: 12px 0;
    font-size: 14px;
}

.eon-attr-label {
    color: #888;
    width: 180px;
}

.eon-attr-value {
    color: #1A1A1A;
    font-weight: 500;
}

/* Tab: Research Library */
.eon-library-cta {
    margin-top: 20px;
}

/* Tab: COA & Testing */
.eon-coa-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.eon-coa-info-block h4,
.eon-testing-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1A1A1A;
    margin: 0 0 16px 0;
}

.eon-coa-detail-table {
    width: 100%;
    margin-bottom: 20px;
}

.eon-coa-detail-table td {
    padding: 8px 0;
    font-size: 14px;
}

.eon-coa-detail-table td:first-child {
    color: #888;
    width: 120px;
}

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

.eon-testing-list li {
    padding: 8px 0;
    font-size: 14px;
    color: #444;
}

/* Tab: Storage & Handling */
.eon-storage-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.eon-storage-block h4,
.eon-handling-block h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1A1A1A;
    margin: 0 0 16px 0;
}

.eon-storage-block ul,
.eon-handling-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.eon-storage-block li,
.eon-handling-block li {
    padding: 8px 0;
    font-size: 14px;
    color: #444;
    padding-left: 20px;
    position: relative;
}

.eon-storage-block li::before,
.eon-handling-block li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #6366F1;
}

/* ============================================
   SECTION 2: RESEARCH INSIGHTS
   ============================================ */

.eon-research-insights {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.eon-section-header {
    margin-bottom: 24px;
}

.eon-section-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: #888;
    text-transform: uppercase;
}

.eon-insights-card {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    background: #F8FAFC;
    border: 1px solid #E8E8E8;
    border-left: 4px solid #6366F1;
    border-radius: 12px;
    padding: 32px;
}

.eon-molecule-viewer {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.eon-3d-container {
    width: 100%;
    height: 240px;
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.eon-molecule-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #999;
}

.eon-molecule-icon {
    font-size: 48px;
    opacity: 0.5;
}

.eon-viewer-controls {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.eon-viewer-btn {
    width: 36px;
    height: 36px;
    border: 1px solid #E0E0E0;
    background: #FFFFFF;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    color: #666;
    transition: all 0.2s ease;
}

.eon-viewer-btn:hover {
    background: #F0F0F0;
    border-color: #CCC;
}

.eon-insights-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.eon-insights-title {
    font-size: 22px;
    font-weight: 600;
    color: #1A1A1A;
    margin: 0 0 12px 0;
}

.eon-insights-desc {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin: 0 0 20px 0;
}

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

.eon-insights-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 0;
    font-size: 15px;
    color: #444;
}

.eon-bullet {
    color: #6366F1;
    font-weight: bold;
    font-size: 18px;
    line-height: 1;
}

/* ============================================
   SECTION 3: PRODUCT SPECIFICATIONS
   ============================================ */

.eon-product-specs {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.eon-product-specs .eon-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 20px;
    border-bottom: 1px solid #E8E8E8;
    margin-bottom: 32px;
}

.eon-section-icon {
    font-size: 18px;
}

.eon-section-title-text {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #1A1A1A;
}

.eon-specs-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.eon-specs-group {
    /* Each specs group */
}

.eon-specs-group-title {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: #6366F1;
    text-transform: uppercase;
    margin: 0 0 20px 0;
}

.eon-specs-table {
    width: 100%;
}

.eon-specs-table tr {
    border-bottom: 1px solid #F0F0F0;
}

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

.eon-specs-table td {
    padding: 14px 0;
    font-size: 14px;
    vertical-align: middle;
}

.eon-spec-label {
    color: #888;
    width: 160px;
}

.eon-spec-value {
    color: #1A1A1A;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.eon-check-icon {
    color: #10B981;
    font-size: 14px;
}

.eon-formula {
    font-family: 'Inter', sans-serif;
}

.eon-formula sub {
    font-size: 0.75em;
    vertical-align: baseline;
    position: relative;
    top: 0.2em;
}

/* ============================================
   RESPONSIVE: NEW SECTIONS
   ============================================ */

@media (max-width: 992px) {
    .eon-tabs-nav {
        padding: 0 10px;
    }
    
    .eon-tab-btn {
        padding: 16px 16px;
        font-size: 13px;
    }
    
    .eon-tab-indicator {
        display: none;
    }
    
    .eon-insights-card {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .eon-molecule-viewer {
        max-width: 320px;
        margin: 0 auto;
    }
    
    .eon-coa-grid,
    .eon-storage-grid,
    .eon-specs-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .eon-tabs-nav {
        gap: 0;
    }
    
    .eon-tab-btn {
        padding: 14px 12px;
        font-size: 12px;
    }
    
    .eon-tabs-content {
    
    }
    
    .eon-research-insights,
    .eon-product-specs {
    
    }
    
    .eon-insights-card {
        padding: 20px;
    }
    
    .eon-3d-container {
        height: 200px;
    }
}

/* ============================================
   PURITY BADGE
   ============================================ */

.eon-purity-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 100%);
    border: 2px solid #22C55E;
    border-radius: 8px;
    padding: 12px 18px;
    width: fit-content;
}

.eon-purity-icon {
    font-size: 18px;
}

.eon-purity-text {
    font-size: 14px;
    font-weight: 700;
    color: #166534;
    letter-spacing: 0.3px;
}

/* ============================================
   SHIPPING INFO
   ============================================ */

.eon-shipping-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 0;
    border-top: 1px solid #E8E8E8;
}

.eon-ship-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #555;
}

.eon-ship-icon {
    font-size: 16px;
}

/* ============================================
   TRUST ICONS
   ============================================ */

.eon-trust-icons {
    display: flex;
    gap: 24px;
    padding: 16px 0;
    border-top: 1px solid #E8E8E8;
    border-bottom: 1px solid #E8E8E8;
}

.eon-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 1;
    text-align: center;
}

.eon-trust-icon-img {
    font-size: 20px;
}

.eon-trust-text {
    font-size: 11px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* ============================================
   COA DOWNLOAD LINK
   ============================================ */

.eon-coa-download-link {
    margin: 16px 0;
}

.eon-coa-download-link a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #1A1A1A;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.eon-coa-download-link a:hover {
    color: #6366F1;
}

/* ============================================
   QUICK SPECS BAR
   ============================================ */

.eon-quick-specs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    background: #FFFFFF;
    border-radius: 16px;
    padding: 20px 40px;
    margin-bottom: 40px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    flex-wrap: wrap;
}

.eon-quick-spec {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.eon-qs-icon {
    font-size: 16px;
}

.eon-qs-label {
    color: #888;
    font-weight: 500;
}

.eon-qs-value {
    color: #1A1A1A;
    font-weight: 600;
}

/* ============================================
   FOOTER DISCLAIMER
   ============================================ */

.eon-footer-disclaimer {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 32px 40px;
    margin-top: 40px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    border-top: 3px solid #F59E0B;
    text-align: center;
}

.eon-footer-disclaimer p {
    font-size: 13px;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

/* ============================================
   RESPONSIVE: NEW ELEMENTS
   ============================================ */

@media (max-width: 768px) {
    .eon-trust-icons {
        flex-direction: column;
        gap: 12px;
    }
    
    .eon-trust-item {
        flex-direction: row;
        justify-content: flex-start;
        gap: 10px;
    }
    
    .eon-quick-specs {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    
    }
    
    .eon-footer-disclaimer {
    
    }
}


/* === MOBILE PADDING FIX — remove this block to revert === */
@media(max-width:600px){
  .eon-single-product{padding:0!important;}
  .eon-product-container{padding:0!important;}
  .eon-product-main{padding:16px!important;    
    align-items: stretch;
}
}
/* === END MOBILE PADDING FIX === */

/* === MOBILE TRUST ICONS ROW — remove this block to revert === */
@media(max-width:600px){
  .eon-trust-icons{display:flex!important;flex-direction:row!important;justify-content:space-between!important;gap:8px!important;}
  .eon-trust-item{flex:1!important;flex-direction:column!important;align-items:center!important;text-align:center!important;font-size:10px!important;}
}
/* === END MOBILE TRUST ICONS ROW === */