/**
 * GFX Shop Product Cards - Complete Redesign
 * Minimal, clean design with rounded borders and theme support
 */

/* ========================================
   Product Grid Container
   ======================================== */
.membership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    padding: 0;
    margin: 0;
}

/* ========================================
   Product Card Base
   ======================================== */
.gfx-shop-product-card {
    position: relative;
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    height: 100%;
}

.gfx-shop-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-blue);
}

.gfx-shop-card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* ========================================
   Product Image Section
   ======================================== */
.gfx-shop-product-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--bg-color);
}

.gfx-shop-image-link {
    display: block;
    width: 100%;
    height: 100%;
}

.gfx-shop-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gfx-shop-product-card:hover .gfx-shop-image {
    transform: scale(1.05);
}

.gfx-shop-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--sidebar-bg) 0%, var(--bg-color) 100%);
}

.gfx-shop-placeholder-icon {
    width: 64px;
    height: 64px;
    color: var(--text-muted);
    opacity: 0.3;
}

/* ========================================
   Badges
   ======================================== */
.gfx-shop-category-badge,
.gfx-shop-sale-badge {
    position: absolute;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    backdrop-filter: blur(10px);
    z-index: 2;
}

.gfx-shop-category-badge {
    top: 12px;
    left: 12px;
    background: var(--primary-blue);
    color: white;
}

.gfx-shop-sale-badge {
    top: 12px;
    right: 12px;
    background: #ef4444;
    color: white;
}

.gfx-shop-badge-icon {
    width: 14px;
    height: 14px;
}

/* ========================================
   Product Content
   ======================================== */
.gfx-shop-product-content {
    flex: 1;
    padding: 20px;
}

.gfx-shop-product-title {
    margin: 0 0 12px 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

.gfx-shop-product-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gfx-shop-product-title a:hover {
    color: var(--primary-blue);
}

.gfx-shop-product-excerpt {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ========================================
   Product Footer (Price & Button)
   ======================================== */
.gfx-shop-product-footer {
    padding: 0 20px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
}

.gfx-shop-price-wrapper {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    flex-shrink: 0;
}

/* Currency symbol styling */
.gfx-shop-price-wrapper .woocommerce-Price-currencySymbol {
    font-size: 18px;
    font-weight: 500;
}

/* ========================================
   Add to Cart Button
   ======================================== */
.gfx-shop-add-to-cart {
    padding: 10px 24px;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    display: inline-block;
    min-width: 120px;
}

.gfx-shop-add-to-cart:hover {
    background: var(--button-hover-bg);
    transform: scale(1.02);
    color: white;
}

.gfx-shop-add-to-cart:active {
    transform: scale(0.98);
}

.gfx-shop-add-to-cart.gfx-shop-view-product {
    background: var(--sidebar-hover);
    color: var(--text-dark);
}

.gfx-shop-add-to-cart.gfx-shop-view-product:hover {
    background: var(--border-color);
}

/* Loading state */
.gfx-shop-add-to-cart.loading,
.gfx-shop-add-to-cart.added {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.gfx-shop-add-to-cart.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Added state */
.gfx-shop-add-to-cart.added {
    background: #10b981 !important;
}

.gfx-shop-add-to-cart.added::before {
    content: 'Added!';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: 600;
    width: 100%;
    text-align: center;
}

.gfx-shop-add-to-cart.added {
    color: transparent;
}

/* ========================================
   Theme Color Support - Using Your Theme Variables
   ======================================== */

/* Light Theme (Default) - Already uses --primary-blue */

/* Dark Theme */
[data-theme="dark"] .gfx-shop-category-badge {
    background: var(--primary-blue);
}

/* Sage Light Theme */
[data-theme="sage-light"] .gfx-shop-product-card:hover {
    border-color: var(--primary-blue);
}

[data-theme="sage-light"] .gfx-shop-product-title a:hover {
    color: var(--primary-blue);
}

[data-theme="sage-light"] .gfx-shop-category-badge {
    background: var(--primary-blue);
}

[data-theme="sage-light"] .gfx-shop-add-to-cart {
    background: var(--primary-blue);
}

[data-theme="sage-light"] .gfx-shop-add-to-cart:hover {
    background: var(--button-hover-bg);
}

/* Sage Dark Theme */
[data-theme="sage-dark"] .gfx-shop-product-card:hover {
    border-color: var(--primary-blue);
}

[data-theme="sage-dark"] .gfx-shop-product-title a:hover {
    color: var(--primary-blue);
}

[data-theme="sage-dark"] .gfx-shop-category-badge {
    background: var(--primary-blue);
}

[data-theme="sage-dark"] .gfx-shop-add-to-cart {
    background: var(--primary-blue);
    color: var(--button-text);
}

[data-theme="sage-dark"] .gfx-shop-add-to-cart:hover {
    background: var(--button-hover-bg);
}

/* Night Owl Theme */
[data-theme="night-owl"] .gfx-shop-product-card:hover {
    border-color: var(--primary-blue);
}

[data-theme="night-owl"] .gfx-shop-product-title a:hover {
    color: var(--primary-blue);
}

[data-theme="night-owl"] .gfx-shop-category-badge {
    background: var(--primary-blue);
}

[data-theme="night-owl"] .gfx-shop-add-to-cart {
    background: var(--primary-blue);
    color: var(--button-text) !important;
}

[data-theme="night-owl"] .gfx-shop-add-to-cart:hover {
    background: var(--button-hover-bg);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .membership-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .membership-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 16px;
    }
    
    .gfx-shop-product-card {
        border-radius: 12px;
    }
    
    .gfx-shop-product-content {
        padding: 16px;
    }
    
    .gfx-shop-product-footer {
        padding: 0 16px 16px;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .gfx-shop-price-wrapper {
        text-align: center;
    }
    
    .gfx-shop-add-to-cart {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .membership-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .gfx-shop-product-title {
        font-size: 16px;
    }
    
    .gfx-shop-price-wrapper {
        font-size: 20px;
    }
    
    .gfx-shop-price-wrapper .woocommerce-Price-currencySymbol {
        font-size: 16px;
    }
}

/* ========================================
   Dark Mode Support
   ======================================== */
[data-theme="dark"] .gfx-shop-product-card,
[data-theme="sage-dark"] .gfx-shop-product-card,
[data-theme="night-owl"] .gfx-shop-product-card {
    background: var(--card-bg);
    border-color: var(--border-color);
}

[data-theme="dark"] .gfx-shop-product-card:hover,
[data-theme="sage-dark"] .gfx-shop-product-card:hover,
[data-theme="night-owl"] .gfx-shop-product-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .gfx-shop-image-placeholder,
[data-theme="sage-dark"] .gfx-shop-image-placeholder,
[data-theme="night-owl"] .gfx-shop-image-placeholder {
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--sidebar-bg) 100%);
}

/* ========================================
   Animation & Transitions
   ======================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gfx-shop-product-card {
    animation: fadeIn 0.5s ease-out;
    animation-fill-mode: both;
}

.gfx-shop-product-card:nth-child(1) { animation-delay: 0.05s; }
.gfx-shop-product-card:nth-child(2) { animation-delay: 0.1s; }
.gfx-shop-product-card:nth-child(3) { animation-delay: 0.15s; }
.gfx-shop-product-card:nth-child(4) { animation-delay: 0.2s; }
.gfx-shop-product-card:nth-child(5) { animation-delay: 0.25s; }
.gfx-shop-product-card:nth-child(6) { animation-delay: 0.3s; }

/* ========================================
   Notification System
   ======================================== */
#gfx-shop-notifications {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    pointer-events: none;
}

.gfx-notification {
    min-width: 320px;
    max-width: 500px;
    margin-bottom: 12px;
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    pointer-events: all;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.gfx-notification-show {
    opacity: 1;
    transform: translateX(0);
}

.gfx-notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
}

.gfx-notification-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gfx-notification-icon i {
    width: 24px;
    height: 24px;
}

.gfx-notification-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gfx-notification-message {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-dark);
    margin: 0;
}

.gfx-notification-view-cart {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: var(--primary-blue);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s ease;
    align-self: flex-start;
}

.gfx-notification-view-cart:hover {
    background: var(--button-hover-bg);
    color: white;
    transform: scale(1.02);
}

.gfx-notification-close {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.gfx-notification-close:hover {
    background: var(--border-color);
    color: var(--text-dark);
}

.gfx-notification-close i {
    width: 18px;
    height: 18px;
}

.gfx-notification-progress {
    position: relative;
    height: 3px;
    background: var(--border-color);
}

.gfx-notification-progress-bar {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    transform-origin: left;
    animation: progress-countdown linear forwards;
}

@keyframes progress-countdown {
    from {
        transform: scaleX(1);
    }
    to {
        transform: scaleX(0);
    }
}

/* Success notification */
.gfx-notification-success .gfx-notification-icon {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.gfx-notification-success .gfx-notification-progress-bar {
    background: #10b981;
}

/* Error notification */
.gfx-notification-error .gfx-notification-icon {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.gfx-notification-error .gfx-notification-progress-bar {
    background: #ef4444;
}

/* Warning notification */
.gfx-notification-warning .gfx-notification-icon {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.gfx-notification-warning .gfx-notification-progress-bar {
    background: #f59e0b;
}

/* Info notification */
.gfx-notification-info .gfx-notification-icon {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.gfx-notification-info .gfx-notification-progress-bar {
    background: #3b82f6;
}

/* Dark theme adjustments */
[data-theme="dark"] .gfx-notification,
[data-theme="sage-dark"] .gfx-notification,
[data-theme="night-owl"] .gfx-notification {
    background: var(--card-bg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* Mobile adjustments */
@media (max-width: 640px) {
    #gfx-shop-notifications {
        top: 10px;
        right: 10px;
        left: 10px;
    }
    
    .gfx-notification {
        min-width: auto;
        max-width: none;
        margin-bottom: 10px;
    }
    
    .gfx-notification-content {
        padding: 12px;
    }
    
    .gfx-notification-icon {
        width: 36px;
        height: 36px;
    }
    
    .gfx-notification-icon i {
        width: 20px;
        height: 20px;
    }
}

/* Hide only specific WooCommerce notices - NOT cart elements */
.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-error,
.woocommerce-notices-wrapper .woocommerce-info {
    display: none !important;
}

/* Hide the specific "View cart" link that appears after add to cart */
a.added_to_cart.wc-forward {
    display: none;
}

/* ========================================
   Search Enhancements
   ======================================== */
.search-wrapper {
    position: relative !important;
}

.search-icon,
.search-loading {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
    z-index: 2;
}

.search-loading {
    display: none;
}

.search-spinner {
    animation: spin 1s linear infinite;
    width: 18px;
    height: 18px;
}

@keyframes spin {
    from { transform: translateY(-50%) rotate(0deg); }
    to { transform: translateY(-50%) rotate(360deg); }
}

.shop-search {
    position: relative;
    z-index: 1;
}

.shop-search:focus + .search-icon,
.shop-search:focus + .search-loading {
    color: var(--primary-blue);
}

/* ========================================
   No Products Found Styling
   ======================================== */
.no-products-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    width: 100%;
    grid-column: 1 / -1; /* Span all grid columns */
}

.no-products-card {
    text-align: center;
    padding: 48px 32px;
    background: var(--card-bg);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    max-width: 400px;
    width: 100%;
}

.no-products-card h2 {
    margin: 20px 0 12px 0;
    color: var(--text-dark);
    font-size: 24px;
    font-weight: 600;
}

.no-products-card p {
    margin: 0 0 24px 0;
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.5;
}

.no-products-card .btn-join {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--primary-blue);
    color: white;
    text-decoration: none;
    border-radius: 100px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.no-products-card .btn-join:hover {
    background: var(--button-hover-bg);
    transform: translateY(-2px);
    color: white;
}

/* ========================================
   Product Detail Page - Hide unwanted badges
   ======================================== */
/* Hide any badges that appear above the product content */
.dashboard-content > .social-badge,
.dashboard-content > .category-badge,
.product-content > .social-badge,
.product-content > .category-badge,
.woocommerce-notices-wrapper + .social-badge,
.woocommerce-notices-wrapper + .category-badge {
    display: none !important;
}

/* Hide badges that appear before the single product wrapper */
.single-product-wrapper .social-badge:first-child,
.single-product-wrapper .category-badge:first-child {
    display: none !important;
}

/* ========================================
   Product Detail Page - Status & Badges Section
   ======================================== */
.status-badges-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.status-badges-section .stock-status {
    align-self: flex-start;
}

.status-badges-section .product-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.status-badges-section .category-badge,
.status-badges-section .social-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

/* Badge Color Variants */
.badge-gray { background: rgba(107, 114, 128, 0.1); color: #6b7280; }
.badge-purple { background: rgba(147, 51, 234, 0.1); color: #9333ea; }
.badge-teal { background: rgba(20, 184, 166, 0.1); color: #14b8a6; }
.badge-orange { background: rgba(249, 115, 22, 0.1); color: #f97316; }
.badge-red { background: rgba(239, 68, 68, 0.1); color: #ef4444; }
.badge-pink { background: rgba(236, 72, 153, 0.1); color: #ec4899; }
.badge-blue { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.badge-green { background: rgba(34, 197, 94, 0.1); color: #22c55e; }
.badge-yellow { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }

/* Mobile responsive */
@media (max-width: 768px) {
    .status-badges-section {
        gap: 12px;
        margin-bottom: 20px;
    }
    
    .status-badges-section .product-badges {
        gap: 6px;
    }
    
    .status-badges-section .category-badge,
    .status-badges-section .social-badge {
        padding: 6px 10px;
        font-size: 11px;
    }
}

/* ========================================
   More Products Section Improvements
   ======================================== */
.more-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.more-product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.more-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-blue);
}

.more-product-image {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--bg-color);
}

.more-product-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.more-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.more-product-card:hover .more-product-image img {
    transform: scale(1.05);
}

.more-product-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--sidebar-bg) 0%, var(--bg-color) 100%);
    color: var(--text-muted);
    opacity: 0.5;
}

.more-product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
    gap: 12px;
}

.more-product-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    flex-shrink: 0;
}

.more-product-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.more-product-title a:hover {
    color: var(--primary-blue);
}

.more-product-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-top: auto;
    margin-bottom: 12px;
}

.more-product-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--primary-blue);
    color: white;
    text-decoration: none;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
    margin-top: auto;
    white-space: nowrap;
}

.more-product-btn:hover {
    background: var(--button-hover-bg);
    transform: scale(1.02);
    color: white;
}

.more-product-btn:active {
    transform: scale(0.98);
}

/* Responsive adjustments for more products */
@media (max-width: 1024px) {
    .more-products-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .more-products-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 16px;
    }
    
    .more-product-info {
        padding: 16px;
        gap: 10px;
    }
    
    .more-product-title {
        font-size: 15px;
    }
    
    .more-product-price {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .more-product-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .more-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .more-product-info {
        padding: 12px;
        gap: 8px;
    }
    
    .more-product-title {
        font-size: 14px;
    }
    
    .more-product-price {
        font-size: 15px;
    }
    
    .more-product-btn {
        padding: 8px 12px;
        font-size: 12px;
    }
}

/* ========================================
   Tool Cards - Clickable Links
   ======================================== */
.gfx-tool-card-header-link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.gfx-tool-card-header-link:hover {
    transform: scale(1.02);
}

.gfx-tool-card-header-link:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

.gfx-tool-name-link {
    color: var(--text-dark) !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
    display: block;
    font-weight: 700 !important;
}

.gfx-tool-name-link:hover {
    color: var(--primary-blue) !important;
    text-decoration: none !important;
}

.gfx-tool-name-link:visited {
    color: var(--text-dark) !important;
    text-decoration: none !important;
}

/* More specific targeting for tool card titles */
.gfx-tool-card .gfx-tool-name .gfx-tool-name-link {
    color: var(--text-dark) !important;
    text-decoration: none !important;
    font-weight: 700 !important;
}

.gfx-tool-card .gfx-tool-name .gfx-tool-name-link:hover {
    color: var(--primary-blue) !important;
    text-decoration: none !important;
}

.gfx-tool-card .gfx-tool-name .gfx-tool-name-link:visited {
    color: var(--text-dark) !important;
    text-decoration: none !important;
}

.gfx-tool-name-link:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Ensure tool name maintains its styling */
.gfx-tool-name {
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

/* Add hover effect to entire card when hovering image/title */
.gfx-tool-card:hover .gfx-tool-card-header {
    transform: translateY(-2px);
}

.gfx-tool-card:hover .gfx-tool-name-link {
    color: var(--primary-blue);
}