/* ============================================
   PRODUCT PAGE STYLES - MODERN & PROFESSIONAL
   ============================================ */

/* Product Container */
.product-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    padding: 40px 0;
    margin-top: 30px;
}

.table-container {
    flex: 1;
    min-width: 300px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.table-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Product Table - Improved Design */
.arete-product-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.arete-product-table thead {
    background: linear-gradient(135deg, #1a73e8 0%, #3498db 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.arete-product-table thead::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0.1) 0%, transparent 50%, rgba(255,255,255,0.1) 100%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.arete-product-table th {
    padding: 20px;
    text-align: left;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    position: relative;
    z-index: 1;
}

.arete-product-table th:first-child {
    border-top-left-radius: 10px;
}

.arete-product-table th:last-child {
    border-top-right-radius: 10px;
}

.arete-product-table tbody tr {
    background: white;
    transition: all 0.3s ease;
}

.arete-product-table tbody tr:nth-child(even) {
    background: #f8fafc;
}

.arete-product-table tbody tr:hover {
    background: linear-gradient(90deg, rgba(52, 152, 219, 0.08) 0%, rgba(26, 115, 232, 0.08) 100%);
    transform: scale(1.01);
    box-shadow: 0 5px 15px rgba(26, 115, 232, 0.1);
}

.arete-product-table td {
    padding: 18px 20px;
    border-bottom: 1px solid #e9ecef;
    font-size: 1rem;
    color: #333;
    position: relative;
}

.arete-product-table td:first-child {
    font-weight: 600;
    color: #2c3e50;
    width: 40%;
    border-right: 2px solid #f1f3f4;
}

.arete-product-table tbody tr:last-child td:first-child {
    border-bottom-left-radius: 10px;
}

.arete-product-table tbody tr:last-child td:last-child {
    border-bottom-right-radius: 10px;
}

/* Product Image Card - Premium Polaroid Style with Blue Theme */
.product-image-card {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    padding: 30px 30px 20px 30px;
    border: 1px solid #e0e0e0;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.product-image-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    border-color: #3498db;
}

/* Blue theme top border */
.product-image-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #1a73e8, #3498db, #1a73e8);
    background-size: 200% 100%;
    animation: gradientMove 3s ease infinite;
}

.product-image-container {
    width: 100%;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    border: 2px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.product-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 30%, rgba(52, 152, 219, 0.03) 70%, transparent 100%);
    pointer-events: none;
}

.product-image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: all 0.5s ease;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
}

.product-image-card:hover .product-image-container img {
    transform: scale(1.05);
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.15));
}

.product-image-label {
    text-align: center;
    width: 100%;
    padding-top: 15px;
    border-top: 2px dashed #e0e0e0;
}

.product-image-label h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.product-image-label p {
    color: #666;
    font-size: 1rem;
    font-weight: 500;
}

/* Page Title Enhancement */
.arete-title {
    font-size: 2.8rem;
    font-weight: 800;
    text-align: center;
    margin: 40px 0 30px;
    background: linear-gradient(135deg, #3498db 0%, #2c3e50 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding-bottom: 20px;
}

.arete-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2c3e50);
    border-radius: 2px;
}

/* Product Subtitle - Center Aligned */
.product-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    font-weight: 400;
    position: relative;
    padding: 0 20px;
}

/* Product Specifications */
.product-specs {
    margin: 50px 0;
    padding: 40px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(52, 152, 219, 0.1);
}

.product-specs h2 {
    color: #2c3e50;
    margin-bottom: 30px;
    font-size: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.product-specs h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #1a73e8);
    border-radius: 2px;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.spec-item {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.spec-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #1a73e8);
    opacity: 0.8;
}

.spec-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: #3498db;
}

.spec-item h4 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

/* Product Features */
.product-features {
    margin: 60px 0;
}

.feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.feature-item {
    flex: 1;
    min-width: 200px;
    background: white;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, #3498db, #1a73e8);
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-color: #3498db;
}

/* Product Benefits */
.product-benefits {
    margin: 50px 0;
    padding: 40px;
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    border-radius: 20px;
    color: white;
    position: relative;
    overflow: hidden;
}

.product-benefits::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.1;
    animation: float 20s linear infinite;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
    position: relative;
    z-index: 1;
}

.benefit-item {
    background: rgba(255, 255, 255, 0.15);
    padding: 25px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.benefit-item h4 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* CTA Button */
.product-cta {
    text-align: center;
    margin: 50px 0;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #1a73e8 0%, #3498db 100%);
    color: white;
    padding: 20px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 15px 30px rgba(26, 115, 232, 0.4);
    transition: all 0.3s ease;
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.7s ease;
}

.cta-button:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 40px rgba(26, 115, 232, 0.6);
    border-color: white;
}

.cta-button:hover::before {
    left: 100%;
}

/* Breadcrumb */
.breadcrumb {
    background: #f8f9fa;
    padding: 15px 30px;
    border-radius: 10px;
    margin: 40px auto 20px;
    max-width: 1200px;
    font-size: 0.95rem;
    border: 1px solid #e9ecef;
}

.breadcrumb a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #2c3e50;
    text-decoration: underline;
}

.breadcrumb span {
    color: #666;
}

/* Related Products Buttons */
.related-products-section {
    margin: 60px 0;
    padding: 40px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    border: 1px solid #e0e0e0;
}

.related-products-section h3 {
    text-align: center;
    color: #2c3e50;
    font-size: 2.2rem;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.related-products-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #1a73e8);
    border-radius: 2px;
}

.products-button-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-button {
    display: block;
    background: linear-gradient(135deg, #3498db 0%, #1a73e8 100%);
    color: white;
    padding: 18px 25px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.3);
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

.product-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.7s ease;
}

.product-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(52, 152, 219, 0.4);
    background: linear-gradient(135deg, #1a73e8 0%, #3498db 100%);
    border-color: white;
}

.product-button:hover::before {
    left: 100%;
}

.product-button:nth-child(2n) {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    box-shadow: 0 8px 20px rgba(46, 204, 113, 0.3);
}

.product-button:nth-child(2n):hover {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    box-shadow: 0 15px 30px rgba(46, 204, 113, 0.4);
}

.product-button:nth-child(3n) {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    box-shadow: 0 8px 20px rgba(231, 76, 60, 0.3);
}

.product-button:nth-child(3n):hover {
    background: linear-gradient(135deg, #c0392b 0%, #e74c3c 100%);
    box-shadow: 0 15px 30px rgba(231, 76, 60, 0.4);
}

.product-button:nth-child(4n) {
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
    box-shadow: 0 8px 20px rgba(155, 89, 182, 0.3);
}

.product-button:nth-child(4n):hover {
    background: linear-gradient(135deg, #8e44ad 0%, #9b59b6 100%);
    box-shadow: 0 15px 30px rgba(155, 89, 182, 0.4);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(30px, 30px) rotate(360deg); }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Responsive Design */
@media (max-width: 992px) {
    .product-container {
        flex-direction: column;
    }
    
    .table-container, .product-image-card {
        width: 100%;
    }
    
    .arete-title {
        font-size: 2.2rem;
    }
    
    .products-button-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
    
    .product-image-container {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .arete-title {
        font-size: 1.8rem;
    }
    
    .arete-product-table th,
    .arete-product-table td {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
    
    .products-button-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-button {
        padding: 15px;
        font-size: 0.85rem;
    }
    
    .product-image-card {
        padding: 20px;
    }
    
    .product-image-container {
        height: 250px;
        padding: 15px;
    }
}

@media (max-width: 576px) {
    .arete-title {
        font-size: 1.6rem;
    }
    
    .products-button-grid {
        grid-template-columns: 1fr;
    }
    
    .table-container {
        padding: 20px;
    }
    
    .breadcrumb {
        padding: 12px 20px;
        margin: 30px auto 15px;
    }
    
    .product-image-container {
        height: 200px;
    }
    
    .product-specs,
    .product-benefits {
        padding: 25px;
    }
}