/* Category Top Content Styles */
.category-top-content {
    background: #ffffff;
    padding: 40px 0;
    margin-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
}

.category-top-content-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 40px;
}

/* Left Content Section */
.category-content-left {
    flex: 1;
    min-width: 0;
}

.category-header-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.2;
}

.category-header-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.3;
}

.category-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 25px;
}

.category-description p {
    margin-bottom: 15px;
}

.category-description p:last-child {
    margin-bottom: 0;
}

/* Right Image Section */
.category-content-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.category-image {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.category-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Social Media Icons */
.category-social-icons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #f5f5f5;
    border-radius: 50%;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

/* Social Media Specific Colors */
.social-facebook:hover {
    background: #1877f2;
    color: #ffffff;
}

.social-twitter:hover {
    background: #1da1f2;
    color: #ffffff;
}

.social-instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #ffffff;
}

.social-linkedin:hover {
    background: #0077b5;
    color: #ffffff;
}

.social-youtube:hover {
    background: #ff0000;
    color: #ffffff;
}

/* Phone Button Styles */
.category-phone-button {
    margin-top: 20px;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 10px;
}

.phone-link:hover {
    text-decoration: underline;
}

.phone-link svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .category-top-content {
        padding: 30px 0;
    }
    
    .category-top-content-inner {
        flex-direction: column;
        gap: 30px;
        padding: 0 15px;
    }
    
    .category-content-left,
    .category-content-right {
        flex: 1 1 100%;
        width: 100%;
    }
    
    .category-header-title {
        font-size: 2rem;
        margin-bottom: 12px;
    }
    
    .category-header-subtitle {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .category-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .category-image {
        max-width: 100%;
    }
    
    .category-social-icons {
        justify-content: center;
    }
    
    .category-phone-button {
        text-align: center;
        margin-top: 15px;
    }
    
    .phone-link {
        font-size: 0.95rem;
        padding: 10px 18px;
    }
}

@media screen and (max-width: 480px) {
    .category-top-content {
        padding: 20px 0;
    }
    
    .category-top-content-inner {
        gap: 20px;
        padding: 0 10px;
    }
    
    .category-header-title {
        font-size: 1.8rem;
    }
    
    .category-header-subtitle {
        font-size: 1.2rem;
    }
    
    .social-icon {
        width: 35px;
        height: 35px;
    }
    
    .social-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .phone-link {
        font-size: 0.9rem;
        padding: 9px 16px;
        width: 100%;
        justify-content: center;
    }
}

/* Tablet Styles */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .category-top-content-inner {
        gap: 30px;
    }
    
    .category-header-title {
        font-size: 2.2rem;
    }
    
    .category-header-subtitle {
        font-size: 1.4rem;
    }
    
    .category-image {
        max-width: 400px;
    }
}

/* Animation for smooth appearance */
.category-top-content {
    animation: fadeInUp 0.6s ease-out;
}

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

/* Ensure compatibility with nasa_shop_description-wrap */
.category-top-content + .nasa_shop_description-wrap {
    margin-top: 0;
}

/* Custom scrollbar for social icons hover effect */
.category-social-icons::-webkit-scrollbar {
    height: 4px;
}

.category-social-icons::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.category-social-icons::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 2px;
}

.category-social-icons::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Topbar Shortcode Styles */
.topbar-social-phone {
    display: flex;
    align-items: center;
    gap: 20px;
}

.topbar-social-phone.topbar-style-horizontal {
    justify-content: flex-start;
}

.topbar-social-phone.topbar-style-vertical {
    align-items: flex-start;
    gap: 15px;
}

/* Topbar Social Icons */
.topbar-social-icons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.topbar-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #f5f5f5;
    border-radius: 50%;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.topbar-social-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.topbar-social-icon svg {
    width: 16px;
    height: 16px;
}

/* Topbar Social Media Specific Colors */
.topbar-social-facebook:hover {
    background: #1877f2;
    color: #ffffff;
}

.topbar-social-twitter:hover {
    background: #1da1f2;
    color: #ffffff;
}

.topbar-social-instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #ffffff;
}

.topbar-social-linkedin:hover {
    background: #0077b5;
    color: #ffffff;
}

.topbar-social-youtube:hover {
    background: #ff0000;
    color: #ffffff;
}

/* Topbar Phone Styles */
.topbar-phone {
    display: flex;
    align-items: center;
}

.topbar-phone-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.topbar-phone-link:hover {
    color: #007cba;
}

.topbar-phone-link svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.topbar-phone-link span {
    white-space: nowrap;
}

/* Responsive Styles for Topbar */
@media screen and (max-width: 768px) {
    .topbar-social-phone {
        gap: 15px;
        justify-content: center;
    }
    
    .topbar-social-icons {
        gap: 8px;
    }
    
    .topbar-social-icon {
        width: 28px;
        height: 28px;
    }
    
    .topbar-social-icon svg {
        width: 14px;
        height: 14px;
    }
    
    .topbar-phone-link {
        font-size: 13px;
        padding: 5px 10px;
    }
    
    .topbar-phone-link svg {
        width: 14px;
        height: 14px;
    }
}

@media screen and (max-width: 480px) {
    .header_social{width:100%}
    .topbar-social-phone {
        gap: 12px;
        text-align: center;
    }
    
    .topbar-social-icons {
        justify-content: center;
    }
    
    .topbar-phone {
        width: 100%;
        justify-content: center;
    }
    
    .topbar-phone-link {
        width: 100%;
        justify-content: center;
        max-width: 200px;
    }
}

/* Compact style for header/topbar usage */
.topbar-social-phone.compact {
    gap: 12px;
}

.topbar-social-phone.compact .topbar-social-icon {
    width: 24px;
    height: 24px;
}

.topbar-social-phone.compact .topbar-social-icon svg {
    width: 12px;
    height: 12px;
}

.topbar-social-phone.compact .topbar-phone-link {
    font-size: 12px;
    padding: 4px 8px;
}

.topbar-social-phone.compact .topbar-phone-link svg {
    width: 12px;
    height: 12px;
}
