.product-center-container {
    width: 100%;
    max-width: 100%;
}

.product-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

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

.product-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 15px;
    font-size: 14px;
}

.product-breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
}

.product-breadcrumb a:hover {
    color: #fff;
}

.product-breadcrumb .separator {
    color: rgba(255, 255, 255, 0.6);
}

.product-breadcrumb .current {
    color: #fff;
    font-weight: 500;
}

.product-header .page-title {
    font-size: 36px;
    font-weight: 700;
    margin: 0;
    color: #fff;
}

.product-single-container {
    padding: 40px 0;
}

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

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.product-gallery-section {
    position: sticky;
    top: 20px;
    align-self: start;
}

.main-image {
    position: relative;
    aspect-ratio: 1;
    background: #f7fafc;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #a0aec0;
    gap: 10px;
}

.image-placeholder .dashicons {
    font-size: 64px;
}

.image-placeholder p {
    margin: 0;
    font-size: 16px;
}

.product-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.product-badge.featured {
    background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
    color: #fff;
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 15px;
}

.gallery-thumb {
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.gallery-thumb:hover {
    border-color: #667eea;
}

.gallery-thumb.active {
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info-section {
    display: flex;
    flex-direction: column;
}

.product-short-desc {
    font-size: 18px;
    line-height: 1.6;
    color: #4a5568;
    margin: 0 0 25px 0;
}

.product-pricing {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 12px;
}

.price-current {
    display: flex;
    flex-direction: column;
}

.price-current .label {
    font-size: 12px;
    color: #718096;
    margin-bottom: 4px;
}

.price-current .value {
    font-size: 32px;
    font-weight: 700;
    color: #667eea;
}

.price-original {
    display: flex;
    flex-direction: column;
}

.price-original .label {
    font-size: 12px;
    color: #718096;
    margin-bottom: 4px;
}

.price-original .value {
    font-size: 20px;
    color: #a0aec0;
    text-decoration: line-through;
}

.product-features-section {
    margin-bottom: 30px;
}

.product-features-section h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 20px 0;
    color: #1d2327;
}

.features-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    background: #f7fafc;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: #edf2f7;
}

.feature-icon {
    font-size: 24px;
    color: #667eea;
    flex-shrink: 0;
}

.feature-content {
    flex: 1;
}

.feature-title {
    display: block;
    font-weight: 600;
    color: #1d2327;
    margin-bottom: 4px;
}

.feature-desc {
    display: block;
    font-size: 14px;
    color: #718096;
    line-height: 1.5;
}

.product-actions {
    margin-top: auto;
    margin-bottom: 30px;
}

.product-buy-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.product-buy-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.product-buy-button .dashicons {
    font-size: 20px;
}

.product-meta-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    background: #f7fafc;
    border-radius: 8px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.meta-item .dashicons {
    font-size: 18px;
    color: #667eea;
}

.meta-label {
    font-size: 14px;
    color: #718096;
}

.meta-value {
    font-size: 14px;
    color: #1d2327;
    font-weight: 500;
}

.meta-item a.meta-value {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.meta-item a.meta-value:hover {
    color: #764ba2;
}

.product-detail-section {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.detail-tabs {
    width: 100%;
}

.tab-header {
    display: flex;
    border-bottom: 2px solid #e2e8f0;
    background: #f7fafc;
}

.tab-btn {
    flex: 1;
    padding: 18px 24px;
    background: none;
    border: none;
    font-size: 15px;
    font-weight: 500;
    color: #718096;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.tab-btn:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.05);
}

.tab-btn.active {
    color: #667eea;
    background: #fff;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.tab-btn .dashicons {
    font-size: 18px;
}

.tab-content {
    padding: 40px;
}

.tab-pane {
    display: none;
}

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

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

.product-description {
    line-height: 1.8;
    color: #4a5568;
}

.product-description h2,
.product-description h3,
.product-description h4 {
    color: #1d2327;
    margin-top: 30px;
    margin-bottom: 15px;
}

.product-description p {
    margin-bottom: 20px;
}

.product-description ul,
.product-description ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.product-description li {
    margin-bottom: 10px;
}

.features-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.feature-detail-item {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-detail-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.feature-detail-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-detail-icon .dashicons {
    font-size: 30px;
    color: #fff;
}

.feature-detail-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: #1d2327;
}

.feature-detail-desc {
    font-size: 14px;
    color: #718096;
    line-height: 1.6;
    margin: 0;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.related-product-item {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.related-product-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.related-product-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.related-product-thumb {
    aspect-ratio: 1;
    overflow: hidden;
}

.related-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-product-info {
    padding: 15px;
}

.related-product-title {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #1d2327;
    line-height: 1.4;
}

.related-product-price {
    color: #667eea;
    font-weight: 700;
    font-size: 16px;
}

.no-related-products {
    text-align: center;
    color: #718096;
    padding: 40px 20px;
    background: #f7fafc;
    border-radius: 8px;
}

@media (max-width: 992px) {
    .product-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .product-gallery-section {
        position: static;
    }
    
    .product-header .page-title {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .product-header {
        padding: 30px 0;
    }
    
    .product-breadcrumb {
        font-size: 12px;
    }
    
    .product-header .page-title {
        font-size: 24px;
    }
    
    .product-single-container {
        padding: 20px 0;
    }
    
    .product-layout {
        gap: 30px;
    }
    
    .product-pricing {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .product-buy-button {
        width: 100%;
        justify-content: center;
    }
    
    .tab-header {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        flex: 1 1 50%;
        min-width: 50%;
    }
    
    .tab-content {
        padding: 25px 20px;
    }
    
    .features-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .related-products-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}