/* success page */
    /* ============================================
       MAIN CONTAINER
       ============================================ */
    .thankyou-container {
        max-width: 1280px;
        margin: 0 auto;
        padding: 0 24px 60px;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        background: #F8FAFC;
    }

    /* ============================================
       HERO SECTION
       ============================================ */
    .thankyou-hero {
        background: linear-gradient(145deg, #1e1b4b 0%, #312e81 50%, #4c1d95 100%);
        border-radius: 24px;
        padding: 56px 48px 48px;
        margin: 24px 0 40px;
        text-align: center;
        position: relative;
        overflow: hidden;
        box-shadow: 0 20px 60px -12px rgba(81, 40, 116, 0.30);
        margin-top: 123px;
    }

    .thankyou-hero::before {
        content: '';
        position: absolute;
        top: -30%;
        right: -10%;
        width: 60%;
        height: 160%;
        background: radial-gradient(ellipse, rgba(124, 58, 237, 0.15) 0%, transparent 70%);
        pointer-events: none;
    }

    .thankyou-hero-inner {
        position: relative;
        z-index: 1;
    }

    /* Success Icon Animation */
    .success-icon-wrapper {
        display: inline-block;
        margin-bottom: 20px;
    }

    .success-icon {
        animation: popIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
    }

    .success-circle {
        stroke-dasharray: 283;
        stroke-dashoffset: 283;
        animation: drawCircle 0.6s ease forwards 0.3s;
    }

    .success-check {
        stroke-dasharray: 80;
        stroke-dashoffset: 80;
        animation: drawCheck 0.4s ease forwards 0.7s;
    }

    @keyframes popIn {
        0% { transform: scale(0); opacity: 0; }
        100% { transform: scale(1); opacity: 1; }
    }

    @keyframes drawCircle {
        to { stroke-dashoffset: 0; }
    }

    @keyframes drawCheck {
        to { stroke-dashoffset: 0; }
    }

    .thankyou-title {
        font-size: 2.8rem;
        font-weight: 700;
        color: #ffffff;
        margin-bottom: 12px;
        letter-spacing: -0.02em;
    }

    .thankyou-subtitle {
        font-size: 1.15rem;
        color: #E2E8F0;
        max-width: 600px;
        margin: 0 auto 28px;
        opacity: 0.9;
    }

    /* Order Summary Card */
    .order-summary-card {
        background: rgba(255, 255, 255, 0.06);
        backdrop-filter: blur(8px);
        border: 1px solid rgba(255, 255, 255, 0.10);
        border-radius: 16px;
        padding: 24px 28px;
        max-width: 700px;
        margin: 0 auto;
        text-align: left;
    }

    .order-summary-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px 32px;
    }

    .summary-item.full-width {
        grid-column: 1 / -1;
    }

    .summary-label {
        display: block;
        font-size: 0.7rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: rgba(255, 255, 255, 0.5);
        font-weight: 600;
    }

    .summary-value {
        display: block;
        font-size: 0.95rem;
        font-weight: 500;
        color: #ffffff;
        margin-top: 2px;
    }

    .summary-value.status-paid {
        color: #22C55E;
    }

    /* ============================================
       GRID
       ============================================ */
    .thankyou-grid {
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: 32px;
        margin-bottom: 40px;
    }

    /* ============================================
       LEFT COLUMN
       ============================================ */
    .thankyou-left {
        display: flex;
        flex-direction: column;
        gap: 28px;
    }

    /* Download Card */
    .download-card,
    .quick-start,
    .timeline-section,
    .resources-section,
    .support-card,
    .recommended-section {
        background: #FFFFFF;
        border-radius: 20px;
        padding: 28px;
        border: 1px solid #E5E7EB;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
        transition: box-shadow 0.3s ease;
    }

    .download-card:hover,
    .quick-start:hover,
    .timeline-section:hover {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
    }

    .download-card-header {
        display: flex;
        align-items: center;
        gap: 16px;
        margin-bottom: 20px;
        flex-wrap: wrap;
    }

    .plugin-thumbnail {
        width: 72px;
        height: 72px;
        border-radius: 16px;
        overflow: hidden;
        background: #F1F5F9;
        flex-shrink: 0;
        border: 1px solid #E5E7EB;
    }

    .plugin-thumbnail img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .plugin-info {
        flex: 1;
    }

    .plugin-info h3 {
        font-size: 1.2rem;
        font-weight: 700;
        color: #111827;
        margin: 0 0 6px 0;
    }

    .plugin-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
    }

    .meta-badge {
        font-size: 0.65rem;
        padding: 2px 10px;
        border-radius: 20px;
        font-weight: 600;
        background: #F1F5F9;
        color: #475569;
    }

    .meta-badge.version-badge {
        background: #EFF6FF;
        color: #1E40AF;
    }

    .meta-badge.license-badge {
        background: #F5F3FF;
        color: #512874;
    }

    .meta-badge.size-badge {
        background: #F8FAFC;
        color: #475569;
    }

    .meta-badge.compat-badge {
        background: #ECFDF5;
        color: #065F46;
    }

    .latest-badge {
        background: #22C55E;
        color: #ffffff;
        font-size: 0.65rem;
        font-weight: 700;
        padding: 4px 14px;
        border-radius: 40px;
        text-transform: uppercase;
        letter-spacing: 0.02em;
        margin-left: auto;
    }

    .download-card-actions {
        display: flex;
        gap: 12px;
        flex-wrap: wrap;
    }

    .btn-primary {
        padding: 12px 28px;
        background: linear-gradient(145deg, #512874, #7C3AED);
        color: #ffffff;
        border: none;
        border-radius: 40px;
        font-weight: 600;
        font-size: 0.95rem;
        cursor: pointer;
        transition: all 0.25s ease;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        box-shadow: 0 4px 16px rgba(81, 40, 116, 0.25);
        font-family: inherit;
        text-decoration: none;
    }

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 28px rgba(81, 40, 116, 0.30);
        color: #ffffff;
        text-decoration: none;
    }

    .btn-secondary {
        padding: 12px 28px;
        background: #FFFFFF;
        color: #111827;
        border: 1.5px solid #E5E7EB;
        border-radius: 40px;
        font-weight: 600;
        font-size: 0.95rem;
        cursor: pointer;
        transition: all 0.2s ease;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-family: inherit;
        text-decoration: none;
    }

    .btn-secondary:hover {
        border-color: #7C3AED;
        background: #F5F3FF;
        transform: translateY(-1px);
        color: #111827;
        text-decoration: none;
    }

    .icon {
        width: 18px;
        height: 18px;
    }

    /* Quick Start */
    .quick-start h4,
    .timeline-section h4,
    .resources-section h4,
    .recommended-section h4 {
        font-size: 1.1rem;
        font-weight: 700;
        color: #111827;
        margin: 0 0 16px 0;
    }

    .quick-start-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .quick-card {
        background: #F8FAFC;
        border: 1px solid #F1F5F9;
        border-radius: 14px;
        padding: 16px;
        transition: all 0.2s ease;
        text-align: center;
    }

    .quick-card:hover {
        border-color: #7C3AED;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(81, 40, 116, 0.06);
    }

    .quick-icon {
        width: 32px;
        height: 32px;
        color: #512874;
        margin-bottom: 8px;
    }

    .quick-card h5 {
        font-size: 0.85rem;
        font-weight: 600;
        color: #111827;
        margin: 0 0 4px 0;
    }

    .quick-card p {
        font-size: 0.75rem;
        color: #6B7280;
        margin: 0 0 10px 0;
    }

    .quick-btn {
        padding: 4px 16px;
        background: #FFFFFF;
        border: 1px solid #E5E7EB;
        border-radius: 20px;
        font-size: 0.7rem;
        font-weight: 600;
        color: #512874;
        cursor: pointer;
        transition: all 0.2s ease;
        font-family: inherit;
    }

    .quick-btn:hover {
        border-color: #512874;
        background: #F5F3FF;
    }

    /* Timeline */
    .timeline {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 8px 0;
    }

    .step {
        display: flex;
        align-items: center;
        gap: 12px;
        width: 100%;
        max-width: 300px;
        padding: 8px 16px;
        background: #F8FAFC;
        border-radius: 40px;
        border: 1px solid #F1F5F9;
        transition: all 0.2s ease;
    }

    .step:hover {
        border-color: #7C3AED;
        background: #F5F3FF;
    }

    .step-number {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background: linear-gradient(145deg, #512874, #7C3AED);
        color: #ffffff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.75rem;
        font-weight: 700;
        flex-shrink: 0;
    }

    .step-text {
        font-size: 0.85rem;
        font-weight: 500;
        color: #111827;
    }

    .step-arrow {
        color: #9CA3AF;
        font-size: 1.2rem;
        padding: 2px 0;
    }

    /* ============================================
       RIGHT COLUMN
       ============================================ */
    .thankyou-right {
        display: flex;
        flex-direction: column;
        gap: 28px;
    }

    /* Support Card */
    .support-card {
        background: linear-gradient(145deg, #1e1b4b, #312e81);
        border: none;
        padding: 32px;
    }

    .support-card-content h4 {
        font-size: 1.3rem;
        font-weight: 700;
        color: #ffffff;
        margin: 0 0 8px 0;
    }

    .support-card-content p {
        color: #E2E8F0;
        font-size: 0.95rem;
        margin: 0 0 20px 0;
    }

    .support-actions {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
    }

    .btn-support {
        padding: 10px 24px;
        background: #7C3AED;
        color: #ffffff;
        border: none;
        border-radius: 40px;
        font-weight: 600;
        font-size: 0.85rem;
        cursor: pointer;
        transition: all 0.2s ease;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-family: inherit;
        text-decoration: none;
        flex: 1;
        justify-content: center;
        min-width: 140px;
    }

    .btn-support:hover {
        background: #8B5CF6;
        transform: translateY(-2px);
        box-shadow: 0 4px 16px rgba(124, 58, 237, 0.30);
        color: #ffffff;
        text-decoration: none;
    }

    .btn-support-whatsapp {
        padding: 10px 24px;
        background: #25D366;
        color: #ffffff;
        border: none;
        border-radius: 40px;
        font-weight: 600;
        font-size: 0.85rem;
        cursor: pointer;
        transition: all 0.2s ease;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-family: inherit;
        text-decoration: none;
        flex: 1;
        justify-content: center;
        min-width: 140px;
    }

    .btn-support-whatsapp:hover {
        background: #1da851;
        transform: translateY(-2px);
        box-shadow: 0 4px 16px rgba(37, 211, 102, 0.30);
        color: #ffffff;
        text-decoration: none;
    }

    /* Resources Grid */
    .resources-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .resource-card {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 12px 16px;
        background: #F8FAFC;
        border: 1px solid #F1F5F9;
        border-radius: 12px;
        transition: all 0.2s ease;
        cursor: pointer;
    }

    .resource-card:hover {
        border-color: #7C3AED;
        background: #F5F3FF;
        transform: translateY(-1px);
    }

    .resource-icon {
        width: 20px;
        height: 20px;
        color: #512874;
        flex-shrink: 0;
    }

    .resource-card span {
        font-size: 0.8rem;
        font-weight: 500;
        color: #111827;
    }

    /* Recommended Plugins */
    .recommended-grid {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .recommended-card {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 14px 16px;
        background: #F8FAFC;
        border: 1px solid #F1F5F9;
        border-radius: 14px;
        transition: all 0.2s ease;
    }

    .recommended-card:hover {
        border-color: #7C3AED;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(81, 40, 116, 0.06);
    }

    .recommended-card img {
        width: 50px;
        height: 50px;
        border-radius: 12px;
        flex-shrink: 0;
    }

    .rec-info {
        flex: 1;
    }

    .rec-info h5 {
        font-size: 0.85rem;
        font-weight: 600;
        color: #111827;
        margin: 0 0 2px 0;
    }

    .rec-info p {
        font-size: 0.7rem;
        color: #6B7280;
        margin: 0 0 4px 0;
    }

    .rec-rating {
        font-size: 0.7rem;
        color: #F59E0B;
        margin: 0 0 6px 0;
    }

    .rec-btn {
        padding: 4px 16px;
        background: #FFFFFF;
        border: 1px solid #E5E7EB;
        border-radius: 20px;
        font-size: 0.7rem;
        font-weight: 600;
        color: #512874;
        cursor: pointer;
        transition: all 0.2s ease;
        font-family: inherit;
    }

    .rec-btn:hover {
        border-color: #512874;
        background: #F5F3FF;
    }

    /* ============================================
       RESPONSIVE
       ============================================ */
    @media (max-width: 1024px) {
        .thankyou-grid {
            grid-template-columns: 1fr;
        }
    }

    @media (max-width: 768px) {
        .thankyou-hero {
            padding: 40px 24px 32px;
        }

        .thankyou-title {
            font-size: 2rem;
        }

        .order-summary-grid {
            grid-template-columns: 1fr;
            gap: 8px;
        }

        .summary-item.full-width {
            grid-column: 1;
        }

        .download-card-header {
            flex-direction: column;
            align-items: flex-start;
        }

        .latest-badge {
            margin-left: 0;
        }

        .quick-start-grid {
            grid-template-columns: 1fr 1fr;
        }

        .resources-grid {
            grid-template-columns: 1fr 1fr;
        }

        .support-actions {
            flex-direction: column;
        }

        .btn-support,
        .btn-support-whatsapp {
            width: 100%;
            justify-content: center;
            flex: none;
        }
    }

    @media (max-width: 480px) {
        .thankyou-container {
            padding: 0 12px 40px;
        }

        .thankyou-hero {
            padding: 32px 16px 24px;
        }

        .thankyou-title {
            font-size: 1.6rem;
        }

        .quick-start-grid {
            grid-template-columns: 1fr;
        }

        .resources-grid {
            grid-template-columns: 1fr;
        }

        .download-card-actions {
            flex-direction: column;
        }

        .btn-primary,
        .btn-secondary {
            width: 100%;
            justify-content: center;
        }

        .order-summary-card {
            padding: 16px;
        }
    }
/* checkout page */
/* ============================================
   MAIN CONTAINER
   ============================================ */
.checkout-page-container {
    width: 100%;
    padding: 0 20px 60px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f8fafc;
    padding-top: 104px;
}

/* WooCommerce Error Styling */
.woocommerce-error-wrapper {
    margin-bottom: 24px;
}

.woocommerce-error-wrapper .woocommerce-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 12px;
    padding: 16px 20px;
    list-style: none;
    margin: 0;
}

.woocommerce-error-wrapper .woocommerce-error li {
    color: #991b1b;
    font-size: 14px;
    padding: 4px 0;
}

.woocommerce-error-wrapper .woocommerce-error li a {
    color: #dc2626;
    text-decoration: none;
    font-weight: 600;
}

.woocommerce-error-wrapper .woocommerce-error li a:hover {
    text-decoration: underline;
}

/* ============================================
   HERO SECTION
   ============================================ */
.checkout-hero {
    background: linear-gradient(145deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    color: #ffffff;
    padding: 64px 48px;
    border-radius: 20px;
    margin: 20px 0 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.checkout-hero::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -20%;
    width: 70%;
    height: 220%;
    background: radial-gradient(ellipse, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.checkout-hero::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -15%;
    width: 50%;
    height: 160%;
    background: radial-gradient(ellipse, rgba(139, 92, 246, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.checkout-hero-content {
    position: relative;
    z-index: 1;
}

.checkout-hero h1 {
    font-size: 2.8rem;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #ffffff;
}

.hero-divider {
    width: 72px;
    height: 3px;
    background: linear-gradient(90deg, #818cf8, #a78bfa);
    margin: 0 auto 20px;
    border-radius: 4px;
}

.hero-subtitle {
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 560px;
    margin: 0 auto;
    opacity: 0.8;
    color: #cbd5e1;
    font-weight: 300;
    letter-spacing: 0.3px;
}

/* ============================================
   CHECKOUT GRID
   ============================================ */
.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 40px;
}

/* ============================================
   LEFT COLUMN
   ============================================ */
.checkout-left {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px;
    border: 1px solid #e9edf2;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Billing Section */
.billing-section {
    padding-bottom: 24px;
    border-bottom: 2px solid #f1f5f9;
}

.billing-section-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.billing-section-title i {
    color: #818cf8;
}

.billing-fields-wrapper .woocommerce-billing-fields__field-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 20px;
}

.billing-fields-wrapper .woocommerce-billing-fields__field-wrapper .form-row {
    margin: 0;
    padding: 0;
}

.billing-fields-wrapper .woocommerce-billing-fields__field-wrapper .form-row-wide {
    grid-column: 1 / -1;
}

.billing-fields-wrapper .form-row label {
    display: block !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    margin-bottom: 5px !important;
    font-size: 13px !important;
}

.billing-fields-wrapper .form-row .required {
    color: #dc2626 !important;
    text-decoration: none !important;
}

.billing-fields-wrapper .form-row input,
.billing-fields-wrapper .form-row select,
.billing-fields-wrapper .form-row textarea {
    width: 100% !important;
    padding: 11px 16px !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    transition: all 0.2s ease !important;
    background: #ffffff !important;
    color: #0f172a !important;
    font-family: inherit !important;
    box-sizing: border-box !important;
}

.billing-fields-wrapper .form-row input:focus,
.billing-fields-wrapper .form-row select:focus,
.billing-fields-wrapper .form-row textarea:focus {
    border-color: #818cf8 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.08) !important;
}

.billing-fields-wrapper .form-row .woocommerce-invalid {
    border-color: #dc2626 !important;
}

/* Additional Information Section */
.additional-section {
    padding-bottom: 0;
}

.additional-section-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.additional-section-title i {
    color: #818cf8;
}

.additional-fields-wrapper .woocommerce-additional-fields__field-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.additional-fields-wrapper .woocommerce-additional-fields__field-wrapper .form-row {
    margin: 0;
    padding: 0;
}

.additional-fields-wrapper .form-row label {
    display: block !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    margin-bottom: 5px !important;
    font-size: 13px !important;
}

.additional-fields-wrapper .form-row .required {
    color: #dc2626 !important;
    text-decoration: none !important;
}

.additional-fields-wrapper .form-row input,
.additional-fields-wrapper .form-row select,
.additional-fields-wrapper .form-row textarea {
    width: 100% !important;
    padding: 11px 16px !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    transition: all 0.2s ease !important;
    background: #ffffff !important;
    color: #0f172a !important;
    font-family: inherit !important;
    box-sizing: border-box !important;
}

.additional-fields-wrapper .form-row input:focus,
.additional-fields-wrapper .form-row select:focus,
.additional-fields-wrapper .form-row textarea:focus {
    border-color: #818cf8 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.08) !important;
}

.no-additional-fields {
    color: #94a3b8;
    font-size: 0.95rem;
    margin: 0;
    padding: 8px 0;
}

/* ============================================
   RIGHT COLUMN
   ============================================ */
.checkout-right {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px;
    border: 1px solid #e9edf2;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Order Summary */
.order-summary {
    padding-bottom: 24px;
    border-bottom: 2px solid #f1f5f9;
}

.order-summary h2 {
    font-size: 1.35rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 20px 0;
    letter-spacing: -0.3px;
}

.order-items {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 20px;
    padding-right: 4px;
}

.order-items::-webkit-scrollbar {
    width: 5px;
}

.order-items::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.order-items::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.order-item {
    display: flex;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.2s ease;
}

.order-item:hover {
    background: #fafcff;
    margin: 0 -8px;
    padding: 14px 8px;
    border-radius: 8px;
}

.order-item:last-child {
    border-bottom: none;
}

.order-item-image {
    width: 55px;
    height: 55px;
    flex-shrink: 0;
    background: #f8fafc;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #e9edf2;
}

.order-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-placeholder {
    font-size: 1.2rem;
}

.order-item-details {
    flex: 1;
    min-width: 0;
}

.order-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.order-item-header h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
    line-height: 1.3;
}

.order-item-price {
    font-weight: 600;
    color: #0f172a;
    white-space: nowrap;
    font-size: 0.9rem;
}

.order-item-meta {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 5px;
}

.meta-tag {
    font-size: 0.6rem;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.meta-tag.version {
    background: #eef2ff;
    color: #4338ca;
}

.meta-tag.type {
    background: linear-gradient(135deg, #818cf8, #a78bfa);
    color: #ffffff;
}

.meta-tag.category {
    background: #ecfdf5;
    color: #065f46;
}

.meta-tag.qty {
    background: #f1f5f9;
    color: #475569;
}

/* Coupon Section */
.coupon-section {
    margin: 0 0 20px;
    padding: 14px 18px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e9edf2;
}

.coupon-field {
    display: flex;
    gap: 10px;
}

.coupon-input {
    flex: 1;
    padding: 9px 14px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 13px;
    font-family: inherit;
    background: #ffffff;
    color: #0f172a;
    transition: all 0.2s ease;
}

.coupon-input:focus {
    border-color: #818cf8;
    outline: none;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.08);
}

.coupon-input::placeholder {
    color: #94a3b8;
}

.coupon-btn {
    padding: 9px 20px;
    background: linear-gradient(135deg, #818cf8, #7c3aed);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 13px;
    letter-spacing: 0.3px;
}

.coupon-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.30);
}

.coupon-btn:active {
    transform: translateY(0);
}

#coupon-message {
    margin-top: 8px;
    font-size: 12px;
    font-weight: 500;
}

#coupon-message.success {
    color: #059669;
}

#coupon-message.error {
    color: #dc2626;
}

/* Order Totals */
.order-totals {
    border-top: 2px solid #f1f5f9;
    padding-top: 16px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    font-size: 14px;
    color: #475569;
}

.total-row.discount {
    color: #059669;
}

.total-row.coupon-applied {
    color: #6366f1;
    font-weight: 600;
}

.total-row.grand-total {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    border-top: 2px solid #f1f5f9;
    padding-top: 12px;
    margin-top: 4px;
}

.grand-total-amount {
    color: #0f172a;
    font-size: 20px;
}

/* Empty Cart */
.empty-cart {
    text-align: center;
    padding: 40px 20px;
}

.empty-cart i {
    font-size: 2.5rem;
    color: #cbd5e1;
    display: block;
    margin-bottom: 14px;
}

.empty-cart p {
    font-size: 1rem;
    color: #475569;
    margin-bottom: 16px;
}

.btn-continue-shopping {
    display: inline-block;
    padding: 10px 28px;
    background: linear-gradient(135deg, #818cf8, #7c3aed);
    color: #ffffff;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-continue-shopping:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.30);
    color: #ffffff;
    text-decoration: none;
}

/* Payment Section */
.payment-section-wrapper h2 {
    font-size: 1.35rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 4px 0;
    letter-spacing: -0.3px;
}

.checkout-form-subtitle {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 20px;
    font-weight: 400;
}

/* Payment Methods */
.woocommerce-checkout-payment {
    background: #f8fafc;
    padding: 20px;
    border-radius: 12px;
    margin-top: 0;
    border: 1px solid #e9edf2;
}

.woocommerce-checkout-payment .payment_methods {
    padding: 0;
    list-style: none;
    margin: 0;
}

.woocommerce-checkout-payment .payment_methods li {
    margin-bottom: 8px;
    padding: 10px 14px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #e9edf2;
    transition: all 0.2s ease;
}

.woocommerce-checkout-payment .payment_methods li:hover {
    border-color: #818cf8;
}

.woocommerce-checkout-payment .payment_methods li label {
    cursor: pointer;
    font-weight: 600;
    color: #0f172a;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.woocommerce-checkout-payment .payment_methods li label img {
    max-height: 24px !important;
    width: auto !important;
}

.woocommerce-checkout-payment .payment_methods li input[type="radio"] {
    margin-right: 10px;
    accent-color: #818cf8;
}

.woocommerce-checkout-payment .payment_box {
    padding: 14px 16px;
    background: #f8fafc;
    border-radius: 8px;
    margin-top: 10px;
    border: 1px solid #e9edf2;
}

/* Submit Button */
#place_order.checkout-btn {
    width: 100%;
    padding: 16px 32px;
    background: linear-gradient(135deg, #818cf8, #7c3aed);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.25);
    font-family: inherit;
    letter-spacing: 0.3px;
     display: block;
    margin: 0 auto;
}

#place_order.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(99, 102, 241, 0.35);
}

#place_order.checkout-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Card Logos */
.card-logos {
    display: flex;
    gap: 14px;
    margin-top: 16px;
    font-size: 1.6rem;
    color: #94a3b8;
    justify-content: center;
}

.card-logos i {
    transition: color 0.2s ease;
    cursor: default;
}

.card-logos i:hover {
    color: #0f172a;
}

/* Secure Badges */
.secure-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.secure-badges span {
    font-size: 11px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}

.secure-badges i {
    color: #059669;
}

.woocommerce-account-fields {
    display: none;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .checkout-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    
    .checkout-hero h1 {
        font-size: 2.4rem;
    }

    .billing-fields-wrapper .woocommerce-billing-fields__field-wrapper {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .checkout-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .checkout-hero {
        padding: 40px 24px;
        border-radius: 16px;
    }
    
    .checkout-hero h1 {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }
    
    .checkout-left,
    .checkout-right {
        padding: 24px;
    }

    .checkout-page-container {
        padding: 0 16px 40px;
        padding-top: 104px;
    }

    .card-logos {
        font-size: 1.4rem;
        gap: 10px;
    }

    .secure-badges {
        gap: 12px;
    }

    .billing-fields-wrapper .woocommerce-billing-fields__field-wrapper {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .order-items {
        max-height: 250px;
    }
}

@media (max-width: 480px) {
    .checkout-hero {
        padding: 32px 16px;
        margin: 12px 0 28px;
    }

    .checkout-hero h1 {
        font-size: 1.4rem;
        letter-spacing: 1px;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .checkout-left,
    .checkout-right {
        padding: 16px;
    }

    .order-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .order-item-image {
        width: 50px;
        height: 50px;
    }

    .order-item-header h4 {
        font-size: 0.85rem;
    }

    .order-item-price {
        font-size: 0.85rem;
    }

    .coupon-field {
        flex-direction: column;
    }

    .coupon-btn {
        width: 100%;
        padding: 12px;
    }

    #place_order.checkout-btn {
        font-size: 16px;
        padding: 14px 20px;
    }

    .secure-badges {
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }

    .checkout-form-subtitle {
        font-size: 0.85rem;
    }

    .card-logos {
        justify-content: center;
    }

    .billing-section-title {
        font-size: 0.95rem;
    }

    .additional-section-title {
        font-size: 0.95rem;
    }

    .order-summary h2 {
        font-size: 1.15rem;
    }

    .woocommerce-error-wrapper .woocommerce-error {
        padding: 12px 16px;
    }
    
    .woocommerce-error-wrapper .woocommerce-error li {
        font-size: 13px;
    }
    
    .order-items {
        max-height: 200px;
    }
}

/* Ensure WooCommerce errors don't duplicate */
.woocommerce-error li[data-id^="billing_"] {
    list-style: none;
}
/* Single product page */
/* ----- Reset & Base ----- */
.single-product-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 120px 24px 80px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: #f6f9fc;
    color: #1e293b;
}

.single-product-wrapper {
    background: #ffffff;
    border-radius: 24px;
    padding: 48px ;
    box-shadow: 0 20px 60px -12px rgba(0, 20, 30, 0.12), 0 4px 18px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(226, 232, 240, 0.6);
    transition: box-shadow 0.25s ease;
}

/* ----- Breadcrumb ----- */
.product-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eef2f6;
    font-size: 0.875rem;
    font-weight: 500;
    color: #64748b;
}

.product-breadcrumb a {
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.2s;
}

.product-breadcrumb a:hover {
    color: #2563eb;
    text-decoration: underline;
}

.product-breadcrumb .separator {
    color: #cbd5e1;
}

.product-breadcrumb .current {
    color: #0f172a;
    font-weight: 600;
}

/* ----- Main Grid (Image + Info) ----- */
.product-main-section {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 56px;
    margin-bottom: 56px;
}

/* ----- Gallery ----- */
.product-gallery {
    position: sticky;
    top: 32px;
    align-self: start;
    position: relative;
}

.product-main-image {
    background: #f8fafc;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid #e9edf2;
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s;
    position: relative;
    cursor: pointer;
}

.product-main-image:hover {
    border-color: #b9c7da;
}

.product-main-image:hover .image-overlay {
    opacity: 1;
}

.main-product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-height: 480px;
    min-height: 360px;
    transition: transform 0.3s ease;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 20px;
    pointer-events: none;
}

.image-overlay .zoom-icon {
    font-size: 2.5rem;
    margin-bottom: 8px;
}

.image-overlay .zoom-text {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    background: rgba(0, 0, 0, 0.5);
    padding: 6px 16px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

.product-placeholder {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: #94a3b8;
    background: #f1f5f9;
    padding: 60px 30px;
    border-radius: 16px;
}

.product-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.thumbnail-item {
    background: #f8fafc;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.2s ease;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    position: relative;
}

.thumbnail-item:hover {
    border-color: #94a3b8;
    transform: scale(1.05);
}

.thumbnail-item.active {
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Gallery Navigation Arrows */
.gallery-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 12px;
    pointer-events: none;
    z-index: 10;
}

.gallery-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e2e8f0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    pointer-events: all;
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.gallery-nav-btn:hover {
    background: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.gallery-nav-btn svg {
    color: #1e293b;
    transition: color 0.2s;
}

.gallery-nav-btn:hover svg {
    color: #3b82f6;
}

.gallery-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.gallery-nav-btn:disabled:hover {
    transform: none;
    background: rgba(255, 255, 255, 0.9);
}

/* Image Counter */
.image-counter {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    backdrop-filter: blur(4px);
    z-index: 5;
}

/* ----- Lightbox Modal ----- */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 24px;
    animation: fadeIn 0.3s ease;
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.lightbox-image {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 16px;
    right: 24px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    backdrop-filter: blur(8px);
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-nav svg {
    color: #fff;
}

.lightbox-prev {
    left: 16px;
}

.lightbox-next {
    right: 16px;
}

.lightbox-counter {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    backdrop-filter: blur(4px);
}

/* ----- Product Info ----- */
.product-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Badges */
.product-type-badge {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-bottom: 4px;
}

.type-badge,
.version-badge,
.compatibility-badge,
.license-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 16px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #e2e8f0;
}

.type-badge {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: #fff;
    border: none;
}

.version-badge {
    background: #eef2ff;
    color: #4338ca;
    border-color: #c7d2fe;
}

.compatibility-badge {
    background: #ecfdf5;
    color: #065f46;
    border-color: #a7f3d0;
}

.license-badge {
    background: #fffbeb;
    color: #92400e;
    border-color: #fde68a;
}

/* Title */
.product-title {
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.2;
    color: #0f172a;
    margin: 0;
    letter-spacing: -0.02em;
}

/* Meta */
.product-meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 28px;
    font-size: 0.9rem;
    color: #64748b;
    border-top: 1px solid #eef2f6;
    border-bottom: 1px solid #eef2f6;
    padding: 16px 0;
}

.product-author .author-name {
    color: #1e293b;
    font-weight: 600;
}

.product-updated .updated-date,
.product-size .size-label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Price & Stock */
.product-price-section {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 8px 0 4px;
}

.product-price {
    font-size: 2.2rem;
    font-weight: 700;
    color: #0f172a;
}

.product-price ins {
    background: none;
    color: #0f172a;
    text-decoration: none;
}

.product-price del {
    color: #94a3b8;
    font-size: 1.4rem;
    margin-right: 8px;
}

.product-stock .in-stock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ecfdf5;
    color: #065f46;
    padding: 6px 16px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.8rem;
    border: 1px solid #a7f3d0;
}

/* Description */
.product-description {
    color: #334155;
    line-height: 1.7;
    font-size: 0.95rem;
}

.product-description p {
    margin: 0 0 12px 0;
}

/* Features */
.product-features {
    background: #f8fafc;
    padding: 20px 24px;
    border-radius: 16px;
    border: 1px solid #e9edf2;
}

.product-features h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 14px 0;
    color: #0f172a;
    letter-spacing: -0.01em;
}

.product-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 20px;
}

.product-features ul li {
    color: #1e293b;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.product-features ul li::before {
    content: "✓";
    color: #3b82f6;
    font-weight: 700;
}

/* Tags */
.product-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    padding: 6px 0;
}

.product-tags .tags-label {
    font-weight: 600;
    color: #0f172a;
}

.product-tags .tag-item {
    background: #f1f5f9;
    padding: 4px 14px;
    border-radius: 100px;
    font-size: 0.8rem;
    color: #1e293b;
    border: 1px solid #e2e8f0;
    transition: background 0.2s;
}

.product-tags .tag-item:hover {
    background: #e2e8f0;
}

/* Actions */
.product-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 4px;
}

.product-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.add-to-cart-btn,
.buy-now-button {
    flex: 1;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    transition: all 0.25s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.add-to-cart-btn {
    background: #f1f5f9;
    color: #1e293b;
    border: 2px solid #e2e8f0;
}

.add-to-cart-btn:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.buy-now-button {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: #fff;
    border: 2px solid transparent;
}

.buy-now-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.35);
}

.product-extra-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-demo,
.btn-docs,
.btn-video {
    padding: 10px 24px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    text-align: center;
    flex: 1 0 auto;
    min-width: 110px;
    border: 1px solid transparent;
}

.btn-demo {
    background: #f1f5f9;
    color: #1e293b;
    border-color: #e2e8f0;
}

.btn-demo:hover {
    background: #e2e8f0;
    color: #0f172a;
    text-decoration: none;
}

.btn-docs {
    background: #ffffff;
    color: #1e293b;
    border-color: #e2e8f0;
}

.btn-docs:hover {
    background: #f8fafc;
    border-color: #b9c7da;
    text-decoration: none;
}

.btn-video {
    background: #dc2626;
    color: #ffffff;
    border-color: #dc2626;
}

.btn-video:hover {
    background: #b91c1c;
    border-color: #b91c1c;
    color: #fff;
    text-decoration: none;
}

/* Support Section */
.support-section {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    padding: 20px 24px;
    border-radius: 16px;
    border: 1px solid #e9edf2;
    margin-top: 8px;
}

.support-label {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    color: #0f172a;
    margin-bottom: 12px;
}

.support-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.support-email-btn,
.support-whatsapp-btn {
    flex: 1;
    min-width: 180px;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.25s ease;
    border: 2px solid transparent;
}

.support-email-btn {
    background: #ffffff;
    color: #1e293b;
    border-color: #e2e8f0;
}

.support-email-btn:hover {
    background: #3b82f6;
    color: #ffffff;
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.support-whatsapp-btn {
    background: #25D366;
    color: #ffffff;
    border-color: #25D366;
}

.support-whatsapp-btn:hover {
    background: #1da851;
    border-color: #1da851;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.support-email-btn .icon,
.support-whatsapp-btn .icon {
    font-size: 1.2rem;
}

/* Categories */
.product-categories {
    padding-top: 12px;
    border-top: 1px solid #eef2f6;
    font-size: 0.9rem;
    color: #64748b;
}

.product-categories .label {
    font-weight: 600;
    color: #0f172a;
    margin-right: 6px;
}

/* ----- Tabs ----- */
.product-tabs {
    margin: 56px 0 48px;
    border: 1px solid #e9edf2;
    border-radius: 20px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.tabs-header {
    display: flex;
    background: #fafcff;
    border-bottom: 1px solid #e9edf2;
    flex-wrap: wrap;
    padding: 0 8px;
}

.tab-btn {
    padding: 16px 28px;
    background: transparent;
    border: none;
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    border-radius: 12px 12px 0 0;
}

.tab-btn:hover {
    color: #0f172a;
    background: #f1f5f9;
}

.tab-btn.active {
    color: #3b82f6;
    background: #ffffff;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    right: 20%;
    height: 3px;
    background: #3b82f6;
    border-radius: 10px 10px 0 0;
}

.tabs-content {
    padding: 36px 40px 40px;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0.4; transform: translateY(4px); }
    to   { opacity: 1; transform: translateY(0); }
}

.tab-content-inner h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 20px 0;
    letter-spacing: -0.02em;
}

.features-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 24px;
}

.features-list li {
    padding: 8px 0;
    color: #1e293b;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 10px;
}

.features-list li .feature-icon {
    color: #3b82f6;
    font-weight: 700;
    font-size: 1.1rem;
}

.installation-steps {
    padding-left: 28px;
    line-height: 2.2;
    color: #1e293b;
}

.installation-steps li {
    padding-left: 6px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.faq-item {
    border-bottom: 1px solid #eef2f6;
    padding-bottom: 18px;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    color: #0f172a;
    font-weight: 600;
    margin: 0 0 6px 0;
    font-size: 1rem;
}

.faq-answer {
    color: #475569;
    margin: 0;
    line-height: 1.7;
}

.requirements-section {
    margin-top: 24px;
    background: #f8fafc;
    padding: 20px 24px;
    border-radius: 16px;
}

.requirements-section ul {
    list-style: none;
    padding: 0;
    margin: 6px 0 0;
}

.requirements-section ul li {
    padding: 4px 0;
    color: #1e293b;
}

/* ----- Related Products ----- */
.related-products {
    margin-top: 56px;
}

.section-header {
    text-align: center;
    margin-bottom: 36px;
}

.section-title {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 1px;
    color: #0f172a;
    margin: 0 0 14px 0;
}

.section-divider {
    width: 56px;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    border-radius: 10px;
    margin: 0 auto;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.related-product-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.25s ease;
    border: 1px solid #e9edf2;
    text-align: center;
}

.related-product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px -12px rgba(59, 130, 246, 0.20);
    border-color: #b9c7da;
}

.related-product-card a {
    text-decoration: none;
    display: block;
    padding: 24px 20px 20px;
}

.related-product-image {
    background: #f8fafc;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 14px;
}

.related-product-image img {
    max-width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    object-fit: contain;
}

.related-product-title {
    font-size: 1rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.related-product-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
}

/* ----- Responsive ----- */
@media (max-width: 1024px) {
    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .single-product-wrapper {
        padding: 32px;
    }
}

@media (max-width: 820px) {
    .product-main-section {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .product-gallery {
        position: relative;
        top: 0;
    }
    .product-main-image {
        min-height: 280px;
    }
    .main-product-image {
        min-height: 280px;
        max-height: 380px;
    }
    .product-title {
        font-size: 2rem;
    }
    .product-features ul {
        grid-template-columns: 1fr;
    }
    .features-list {
        grid-template-columns: 1fr;
    }
    .tabs-content {
        padding: 24px 20px;
    }
    .support-buttons {
        flex-direction: column;
    }
    .support-email-btn,
    .support-whatsapp-btn {
        min-width: auto;
        width: 100%;
    }
    .gallery-nav-btn {
        width: 36px;
        height: 36px;
    }
    .gallery-nav-btn svg {
        width: 20px;
        height: 20px;
    }
    .lightbox-nav {
        width: 40px;
        height: 40px;
    }
    .lightbox-nav svg {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 600px) {
    .single-product-container {
        padding: 16px 12px 60px;
    }
    .single-product-wrapper {
        padding: 20px 16px;
    }
    .product-title {
        font-size: 1.6rem;
    }
    .product-price {
        font-size: 1.8rem;
    }
    .product-meta-info {
        flex-direction: column;
        gap: 8px;
    }
    .related-products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .product-extra-actions {
        flex-direction: column;
    }
    .btn-demo,
    .btn-docs,
    .btn-video {
        width: 100%;
        flex: 1;
    }
    .tab-btn {
        padding: 12px 16px;
        font-size: 0.8rem;
        flex: 1 0 auto;
    }
    .tabs-header {
        padding: 0 4px;
    }
    .product-thumbnails {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }
    .product-buttons {
        flex-direction: column;
    }
    .product-main-image {
        min-height: 220px;
    }
    .main-product-image {
        min-height: 220px;
        max-height: 300px;
    }
    .gallery-nav-btn {
        width: 32px;
        height: 32px;
    }
    .gallery-nav-btn svg {
        width: 16px;
        height: 16px;
    }
    .image-counter {
        font-size: 0.7rem;
        padding: 2px 10px;
        bottom: 12px;
        right: 12px;
    }
    .lightbox-modal {
        padding: 12px;
    }
    .lightbox-close {
        top: 8px;
        right: 12px;
        width: 36px;
        height: 36px;
        font-size: 1.4rem;
    }
    .lightbox-nav {
        width: 32px;
        height: 32px;
    }
    .lightbox-nav svg {
        width: 18px;
        height: 18px;
    }
    .lightbox-prev {
        left: 8px;
    }
    .lightbox-next {
        right: 8px;
    }
    .lightbox-counter {
        font-size: 0.8rem;
        padding: 4px 12px;
        bottom: 16px;
    }
    .image-overlay .zoom-text {
        font-size: 0.8rem;
        padding: 4px 12px;
    }
    .image-overlay .zoom-icon {
        font-size: 2rem;
    }
}

/* Touch device optimizations */
@media (hover: none) {
    .image-overlay {
        opacity: 1;
        background: rgba(0, 0, 0, 0.1);
    }
    .thumbnail-item:hover {
        transform: none;
    }
    .product-main-image:hover .image-overlay {
        opacity: 1;
    }
}

/* Plugin page */

/* ===== RESET & BASE ===== */
.marketplace-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px 20px 60px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #ffffff;
    min-height: 100vh;
}

/* ===== HERO SECTION - PREMIUM WHITE ===== */
.hero-section {
    background: #f8f9fc;
    color: #1a1a2e;
    padding: 60px 40px 50px;
    border-radius: 20px;
    margin: 0 0 35px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

/* Premium decorative elements */
.hero-section::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -30%;
    width: 70%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(102, 126, 234, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -20%;
    width: 50%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(118, 75, 162, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08), rgba(118, 75, 162, 0.08));
    padding: 8px 28px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #667eea;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 25px;
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
}

.hero-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.1);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    letter-spacing: 3px;
    color: #1a1a2e;
    line-height: 1.2;
}

.hero-title .highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.hero-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0 0 12px 0;
    color: #2d3748;
    letter-spacing: 1px;
}

.hero-description {
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 650px;
    margin: 0 auto 30px;
    color: #4a5568;
    font-weight: 400;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding-top: 25px;
    border-top: 2px solid #f0f2f5;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.8rem;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.stat-divider {
    width: 1px;
    height: 35px;
    background: #e2e8f0;
}

/* ===== SEARCH SECTION ===== */
.search-section {
    max-width: 650px;
    margin: 0 auto 30px;
    padding: 0;
}

.search-box {
    display: flex;
    justify-content: space-between;
    background: #ffffff;
    border-radius: 60px;
    padding: 4px 4px 4px 24px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.search-box:focus-within {
    border-color: #667eea;
    box-shadow: 0 4px 35px rgba(102, 126, 234, 0.12);
    transform: translateY(-2px);
}

.search-container {
    display: flex;
    align-items: center;
}
.search-icon {
    font-size: 18px;
    color: #a0aec0;
    flex-shrink: 0;
    margin-right: 8px;
}

.search-field {
    flex: 1;
    border: none;
    outline: none;
    padding: 14px 10px;
    font-size: 15px;
    background: transparent;
    font-family: inherit;
    min-width: 100px;
    color: #1a1a2e;
}

.search-field::placeholder {
    color: #a0aec0;
    font-weight: 400;
}

.search-btn {
    padding: 10px 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    font-family: inherit;
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: 0.5px;
}

.search-btn:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 25px rgba(102, 126, 234, 0.35);
}

.clear-btn {
    background: none;
    border: none;
    color: #a0aec0;
    font-size: 18px;
    cursor: pointer;
    padding: 4px 12px;
    display: none;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.clear-btn:hover {
    color: #e53e3e;
    transform: rotate(90deg);
}

.search-result {
    text-align: center;
    font-size: 14px;
    color: #718096;
    margin-top: 12px;
    min-height: 22px;
    font-weight: 500;
}

.search-result span {
    font-weight: 700;
    color: #1a1a2e;
}

/* ===== CATEGORY FILTER ===== */
.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 35px;
    padding: 8px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    justify-content: center;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.03);
}

.filter-btn {
    padding: 8px 22px;
    border: none;
    background: transparent;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: inherit;
}

.filter-btn:hover {
    background: #f7fafc;
    transform: translateY(-2px);
    color: #1a1a2e;
}

.filter-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.25);
}

.filter-btn .badge {
    background: rgba(0, 0, 0, 0.06);
    padding: 1px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
}

.filter-btn.active .badge {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

/* ===== PRODUCTS GRID ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

/* ===== PRODUCT CARD - PREMIUM ===== */
.product-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.03);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e0;
}

.product-card.hide {
    display: none;
}

.product-card.highlight {
    border-color: #667eea;
    box-shadow: 0 4px 30px rgba(102, 126, 234, 0.12);
}

/* Card Image */
.card-image {
    position: relative;
    background: #f8f9fc;
    padding: 35px 20px;
    text-align: center;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #f0f2f5;
}

.product-img {
    max-width: 110px;
    height: auto;
    border-radius: 10px;
    transition: transform 0.4s ease;
}

.product-card:hover .product-img {
    transform: scale(1.08);
}

.no-image {
    font-size: 55px;
    background: rgba(102, 126, 234, 0.06);
    padding: 30px;
    border-radius: 14px;
    transition: transform 0.4s ease;
}

.product-card:hover .no-image {
    transform: scale(1.1) rotate(-5deg);
}

/* Badges */
.card-badges {
    position: absolute;
    top: 14px;
    left: 14px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.badge {
    padding: 4px 14px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(4px);
}

.badge.v {
    background: rgba(235, 248, 255, 0.95);
    color: #2b6cb0;
    border: 1px solid rgba(43, 108, 176, 0.1);
}

.badge.t {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
}

/* Rating */
.card-rating {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

/* Card Body */
.card-body {
    padding: 20px 22px 22px;
}

.card-title {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 6px 0;
    color: #1a202c;
    line-height: 1.3;
}

.card-desc {
    font-size: 13px;
    color: #4a5568;
    line-height: 1.6;
    margin: 0 0 14px 0;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-top: 1px solid #f0f2f5;
    border-bottom: 1px solid #f0f2f5;
    margin-bottom: 12px;
}

.card-price {
    font-size: 20px;
    font-weight: 700;
    color: #48bb78;
}

.card-price .amount {
    color: #48bb78;
}

.card-downloads {
    font-size: 13px;
    color: #718096;
    font-weight: 500;
}

/* Tags */
.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.tag {
    font-size: 11px;
    color: #4a5568;
    background: #f0f2f5;
    padding: 3px 12px;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tag:hover {
    background: #e2e8f0;
    transform: translateY(-1px);
}

/* Actions */
.card-actions {
    display: flex;
    gap: 10px;
}

.btn {
    flex: 1;
    padding: 11px 16px;
    text-align: center;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn.view {
    background: #f0f2f5;
    color: #1a202c;
}

.btn.view:hover {
    background: #e2e8f0;
    text-decoration: none;
    color: #1a202c;
    transform: translateY(-2px);
}

.btn.buy {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.btn.buy:hover {
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.35);
    transform: translateY(-2px);
    text-decoration: none;
    color: #ffffff;
}

/* No Products */
.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: #ffffff;
    border-radius: 18px;
    border: 2px dashed #e2e8f0;
    color: #718096;
}

/* No Search Results */
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px 20px;
    background: #ffffff;
    border-radius: 18px;
    border: 2px dashed #e2e8f0;
}

.no-results p {
    margin: 0;
    color: #718096;
    font-size: 15px;
}

.no-results .suggestion {
    font-size: 13px;
    color: #a0aec0;
    margin-top: 6px;
}

.highlight-text {
    background: #fefcbf;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 600;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    }
}

@media (max-width: 768px) {
    .marketplace-wrapper {
        padding: 15px 15px 40px;
    }
    
    .hero-section {
        padding: 40px 25px 35px;
        border-radius: 16px;
        margin-bottom: 30px;
    }
    
    .hero-title {
        font-size: 2.2rem;
        letter-spacing: 2px;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .hero-stats {
        gap: 20px;
        flex-wrap: wrap;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-divider {
        display: none;
    }
    
    .search-section {
        max-width: 100%;
        padding: 0;
    }
    
    .search-box {
        border-radius: 30px;
        padding: 3px 3px 3px 18px;
        flex-wrap: wrap;
    }
    
    .search-field {
        padding: 12px 10px;
        font-size: 14px;
        min-width: 100px;
    }
    
    .search-btn {
        padding: 8px 22px;
        font-size: 13px;
        flex: 1;
    }
    
    .clear-btn {
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        position: absolute;
    }
    
    .clear-btn:hover {
        transform: translateY(-50%) rotate(90deg);
    }
    
    .category-filter {
        gap: 6px;
        padding: 6px;
        overflow-x: auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
        border-radius: 12px;
    }
    
    .filter-btn {
        padding: 6px 16px;
        font-size: 13px;
        white-space: nowrap;
    }
    
    .filter-btn .badge {
        display: none;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 18px;
    }
    
    .card-image {
        min-height: 150px;
        padding: 22px;
    }
    
    .product-img {
        max-width: 85px;
    }
    
    .no-image {
        font-size: 42px;
        padding: 22px;
    }
    
    .card-body {
        padding: 16px 18px 18px;
    }
    
    .card-title {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .marketplace-wrapper {
        padding: 10px 10px 30px;
    }
    
    .hero-section {
        padding: 30px 20px 25px;
        border-radius: 12px;
        margin-bottom: 25px;
    }
    
    .hero-title {
        font-size: 1.6rem;
        letter-spacing: 1px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 0.85rem;
    }
    
    .hero-badge {
        font-size: 0.65rem;
        padding: 4px 18px;
    }
    
    .hero-stats {
        gap: 15px;
    }
    
    .stat-number {
        font-size: 1.2rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .search-box {
        border-radius: 25px;
        padding: 2px 2px 2px 14px;
    }
    
    .search-field {
        padding: 10px 8px;
        font-size: 13px;
        width: full;
    }
    
    .search-btn {
        padding: 6px 16px;
        font-size: 12px;
    }
    
    .search-icon {
        font-size: 15px;
        margin-right: 4px;
    }
    
    .clear-btn {
        font-size: 16px;
        padding: 4px 8px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .card-image {
        min-height: 130px;
        padding: 18px;
    }
    
    .product-img {
        max-width: 75px;
    }
    
    .no-image {
        font-size: 38px;
        padding: 18px;
    }
    
    .card-price {
        font-size: 17px;
    }
    
    .card-actions {
        flex-direction: column;
    }
}