/* agglomerator-styles.css */
:root {
    --primary-color: #4AAF46;
    --secondary-color: #6F6F6E;
    --light-color: #FFFFFF;
    --dark-color: #333333;
    --gray-light: #F8F9FA;
    --shadow: 0 5px 15px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

.product-detail-page {
    padding-top: 20px;
}

/* Breadcrumb */
.breadcrumb {
    background-color: transparent;
    padding: 0;
}

.breadcrumb-item a {
    color: var(--secondary-color);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--primary-color);
}

/* Product Hero Section - Optimized */
.product-hero {
    position: relative;
    overflow: hidden;
    padding: 3rem 0;
}

/* Background Image with Gradient Overlay - Optimized */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(74, 175, 70, 0.4) 100%),
        url('../image/dots.webp') center/cover no-repeat;
    z-index: -1;
}

/* Content styling adjustments */
.product-hero .container {
    position: relative;
    z-index: 1;
}

.product-hero .product-title,
.product-hero .current-price,
.product-hero .product-short-desc,
.product-hero .product-features span {
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.product-hero .price-note {
    color: rgba(255, 255, 255, 0.8);
}

/* Product Images - Fixed size and optimized */
.product-main-image {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: inline-block;
    max-width: 100%;
}

.product-main-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.product-thumbnails {
    margin-top: 12px;
}

.thumbnail {
    width: 70px;
    height: 70px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.9);
}

.thumbnail.active, .thumbnail:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(74, 175, 70, 0.3);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Info - Optimized */
.product-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.product-price {
    display: flex;
    flex-direction: column;
}

.current-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price-note {
    font-size: 0.9rem;
}

.product-short-desc {
    border-left: 3px solid var(--primary-color);
    padding-left: 15px;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 6px;
}

/* Product Actions - Optimized */
.product-actions {
    margin: 2rem 0;
}

.product-actions .action-btn {
    min-width: 180px;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s ease;
    text-align: center;
    display: inline-flex;
    align-items: center;
    border: none;
}

.product-actions .btn-primary {
    background: var(--primary-color);
    box-shadow: 0 4px 12px rgba(74, 175, 70, 0.4);
    color: white;
}

.product-actions .btn-primary:hover {
    background: #3d973a;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(74, 175, 70, 0.5);
}

.product-actions .btn-outline-primary {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.product-actions .btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Product Features - Optimized */
.product-features {
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    padding: 0.6rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.1);
}

.feature-item:hover {
    background: rgba(74, 175, 70, 0.2);
    transform: translateX(5px);
}

.feature-item i {
    color: var(--primary-color);
    margin-right: 10px;
    width: 20px;
    transition: all 0.2s ease;
    font-size: 1.1rem;
}

.feature-item:hover i {
    transform: scale(1.2);
}

.feature-item span {
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .product-hero {
        padding: 2rem 0;
    }
    
    .product-title {
        font-size: 1.8rem;
    }
    
    .current-price {
        font-size: 1.5rem;
    }
    
    .product-actions .action-btn {
        min-width: 100%;
        margin-bottom: 0.8rem;
    }
    
    .product-actions .d-flex {
        flex-direction: column;
    }
    
    .thumbnail {
        width: 60px;
        height: 60px;
    }
    
    .product-main-image {
        padding: 8px;
    }
}

@media (max-width: 576px) {
    .product-title {
        font-size: 1.6rem;
    }
    
    .current-price {
        font-size: 1.3rem;
    }
    
    .product-short-desc {
        padding: 0.8rem;
    }
    
    .feature-item {
        padding: 0.5rem;
    }
}
/* Product Tabs */
.product-tabs-section {
    background-color: white;
    position: relative;
    overflow: hidden;
}

.product-tabs-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: sectionShine 6s infinite linear;
    z-index: 0;
}

@keyframes sectionShine {
    0% { left: -100%; }
    100% { left: 200%; }
}

.navtabs {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    border-bottom: 1px solid #dee2e6;
    z-index: 1;
}

.navtab {
    padding: 1rem 1.5rem;
    cursor: pointer;
    font-weight: 500;
    color: var(--secondary-color);
    transition: var(--transition);
    position: relative;
    background: transparent;
    border: none;
    outline: none;
}

.shine-tab {
    position: relative;
    overflow: hidden;
}

.shine-tab::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(30deg);
    transition: all 0.6s;
    opacity: 0;
    z-index: -1;
}

.shine-tab:hover::before {
    animation: tabShine 1s ease;
}

@keyframes tabShine {
    0% {
        opacity: 0;
        top: -50%;
        left: -50%;
    }
    50% {
        opacity: 0.3;
    }
    100% {
        opacity: 0;
        top: 100%;
        left: 100%;
    }
}

.navtab.active, .navtab:hover {
    color: var(--primary-color);
    transform: translateY(-1px);
}

.navtab.active {
    font-weight: 600;
}

.underline {
    position: absolute;
    bottom: -1px;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
    z-index: 2;
}

.shine-underline {
    box-shadow: 0 0 10px rgba(74, 175, 70, 0.4);
}

.tab-content {
    padding: 2rem 0;
    position: relative;
    z-index: 1;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.tab-pane.active {
    display: block;
}

.shine-content {
    position: relative;
}

.shine-heading {
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.shine-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    animation: headingShine 3s infinite;
}

@keyframes headingShine {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.shine-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.shine-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    transition: all 0.3s ease;
}

.shine-list li:hover {
    transform: translateX(5px);
}

.shine-list li:hover::before {
    text-shadow: 0 0 8px rgba(74, 175, 70, 0.5);
    transform: scale(1.3);
}

.technical-table {
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.shine-table {
    border-collapse: separate;
    border-spacing: 0;
}

.shine-table th, .shine-table td {
    text-align: center;
    vertical-align: middle;
    position: relative;
    transition: all 0.3s ease;
}

.shine-table thead th {
    background-color: var(--primary-color);
    color: white;
    position: relative;
    overflow: hidden;
}

.shine-table thead th::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(30deg);
    animation: headerShine 4s infinite linear;
}

@keyframes headerShine {
    0% { transform: translateX(-100%) rotate(30deg); }
    100% { transform: translateX(100%) rotate(30deg); }
}

.shine-table tbody tr:hover {
    background-color: rgba(74, 175, 70, 0.05);
}

.shine-table tbody td:hover {
    transform: scale(1.02);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.technology-features {
    margin-top: 2rem;
}

.tech-item {
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.shine-tech-item:hover {
    transform: translateY(-5px);
}

.tech-image {
    height: 200px;
    overflow: hidden;
    margin-bottom: 1rem;
    border-radius: 8px;
    position: relative;
}

.shine-tech-image {
    overflow: hidden;
}

.shine-tech-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 50%, rgba(255,255,255,0.1) 100%);
    opacity: 0;
    transition: all 0.5s ease;
}

.shine-tech-image:hover img {
    transform: scale(1.05);
}

.shine-tech-image:hover .image-overlay {
    opacity: 1;
    animation: imageShine 1.5s ease;
}

@keyframes imageShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .navtab {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
    
    .shine-table thead th::after {
        animation: none;
    }
    
    .shine-tech-item {
        margin-bottom: 2.5rem;
    }
}

/* Payment & Returns */
.payment-returns-section {
    position: relative;
    overflow: hidden;
}

.payment-returns-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: paymentShine 8s infinite linear;
    z-index: 0;
}

@keyframes paymentShine {
    0% { left: -100%; }
    100% { left: 200%; }
}

.payment-methods {
    position: relative;
    z-index: 1;
}

.payment-method {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.8rem;
    background: white;
    border-radius: 5px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.shine-payment {
    position: relative;
}

.shine-payment:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.payment-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(30deg);
    opacity: 0;
    transition: all 0.6s;
}

.shine-payment:hover .payment-shine {
    animation: paymentIconShine 1s ease;
}

@keyframes paymentIconShine {
    0% {
        opacity: 0;
        top: -50%;
        left: -50%;
    }
    50% {
        opacity: 0.4;
    }
    100% {
        opacity: 0;
        top: 100%;
        left: 100%;
    }
}

.payment-method i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 1.2rem;
    width: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.shine-payment:hover i {
    transform: scale(1.2);
    text-shadow: 0 0 10px rgba(74, 175, 70, 0.4);
}

.payment-method span {
    font-weight: 500;
    color: var(--dark-color);
    transition: all 0.3s ease;
}

.shine-payment:hover span {
    color: var(--primary-color);
}

.return-policy {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.shine-return {
    position: relative;
}

.shine-return::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(74, 175, 70, 0.1), transparent);
    animation: returnShine 6s infinite linear;
    z-index: 0;
}

@keyframes returnShine {
    0% { left: -100%; }
    100% { left: 200%; }
}

.shine-return:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.shine-return h5 {
    color: var(--primary-color);
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.shine-return h5::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    animation: underlineShine 3s infinite;
}

@keyframes underlineShine {
    0%, 100% { opacity: 0.7; width: 30%; }
    50% { opacity: 1; width: 100%; }
}

.shine-list {
    margin-bottom: 0;
}

.shine-list li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.shine-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.shine-list li:hover {
    transform: translateX(5px);
    color: var(--primary-color);
}

.shine-list li:hover::before {
    text-shadow: 0 0 8px rgba(74, 175, 70, 0.5);
    transform: scale(1.3);
    display: inline-block;
}

.shine-heading {
    position: relative;
    display: inline-block;
    padding-bottom: 0.3rem;
}

.shine-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), transparent, var(--primary-color));
    animation: headingPulse 4s infinite;
}

@keyframes headingPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .payment-returns-section::before {
        animation-duration: 12s;
    }
    
    .shine-return::before {
        animation-duration: 8s;
    }
    
    .shine-payment:hover {
        transform: translateY(-2px);
    }
    
    .shine-return:hover {
        transform: translateY(-2px);
    }
}

/* Contact Info */
.contact-info-section {
    background-color: var(--gray-light);
    position: relative;
    overflow: hidden;
}

.contact-info-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.6), 
        rgba(255, 255, 255, 0.8), 
        rgba(255, 255, 255, 0.6), 
        transparent);
    animation: plasticBackgroundShine 8s infinite linear;
    z-index: 0;
}

@keyframes plasticBackgroundShine {
    0% { left: -100%; }
    100% { left: 200%; }
}

.shine-contact-title {
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
    color: var(--dark-color);
    z-index: 2;
}

.shine-contact-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--primary-color), 
        #3a8c38, 
        var(--primary-color), 
        transparent);
    animation: titlePlasticShine 3s infinite;
    border-radius: 2px;
}

@keyframes titlePlasticShine {
    0%, 100% { 
        opacity: 0.8;
        background-size: 200% 100%;
        background-position: -100% 0;
    }
    50% { 
        opacity: 1;
        background-size: 200% 100%;
        background-position: 200% 0;
    }
}

.plastic-shine-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(74, 175, 70, 0.1);
    height: 100%;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.plastic-shine-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        transparent, 
        rgba(255, 255, 255, 0.5), 
        rgba(255, 255, 255, 0.8), 
        rgba(255, 255, 255, 0.5), 
        transparent);
    transform: rotate(25deg);
    animation: plasticCardShine 6s infinite linear;
    z-index: -1;
}

@keyframes plasticCardShine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(25deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(25deg); }
}

.plastic-shine-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.15),
        0 0 0 2px rgba(74, 175, 70, 0.2);
}

.plastic-shine-card:hover::before {
    animation-duration: 3s;
}

.icon-container {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.plastic-shine-icon {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), #3a8c38);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
    transition: all 0.4s ease;
    filter: drop-shadow(0 2px 4px rgba(74, 175, 70, 0.3));
}

.plastic-shine-card:hover .plastic-shine-icon {
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 4px 8px rgba(74, 175, 70, 0.5));
}

.plastic-shine-heading {
    color: var(--dark-color);
    margin-bottom: 1.2rem;
    font-weight: 600;
    position: relative;
    display: inline-block;
    background: linear-gradient(90deg, #333, #555, #333);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 100%;
    animation: textPlasticShine 4s infinite linear;
}

@keyframes textPlasticShine {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

.plastic-shine-text {
    margin-bottom: 0.8rem;
    color: #555;
    position: relative;
    transition: all 0.3s ease;
}

.plastic-shine-card:hover .plastic-shine-text {
    color: var(--dark-color);
    transform: translateX(3px);
}

.plastic-shine-overlay {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.8), 
        rgba(255, 255, 255, 0.9), 
        rgba(255, 255, 255, 0.8), 
        transparent);
    transform: skewX(-25deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.plastic-shine-card:hover .plastic-shine-overlay {
    left: 150%;
    opacity: 0.7;
    transition: left 0.6s ease, opacity 0.3s ease;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .contact-info-section::before {
        animation-duration: 12s;
    }
    
    .plastic-shine-card {
        margin-bottom: 1.5rem;
    }
    
    .plastic-shine-card:hover {
        transform: translateY(-5px) scale(1.01);
    }
    
    .plastic-shine-icon {
        font-size: 2.2rem;
    }
    
    .shine-contact-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .plastic-shine-card {
        padding: 1.5rem;
    }
    
    .plastic-shine-icon {
        font-size: 2rem;
    }
    
    .plastic-shine-heading {
        font-size: 1.2rem;
    }
}