/* Global Section Styling */
.buy-code-section {
    padding: 3rem 0;
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
}

/* Back Button */
.back-button {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.75rem;
    background: linear-gradient(135deg, #6b7280, #4b5563);
    color: #ffffff;
    border-radius: 10px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.back-button:hover {
    background: linear-gradient(135deg, #4b5563, #374151);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.back-button i {
    margin-right: 0.5rem;
}

/* Title */
.buy-code-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #1e3a8a;
    text-align: center;
    margin-bottom: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1.3;
}

/* Grid Layout */
.buy-code-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.75rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Slider */
.slider-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    padding: 1.75rem;
    margin-bottom: 2rem;
}

.service-slider {
    position: relative;
}

.service-slider .slick-slide {
    padding: 0 10px;
}

.service-slider .service-img-wrap img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.service-slider .service-img-wrap img:hover {
    transform: scale(1.03);
}

.service-slider .slick-prev,
.service-slider .slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    border: none;
    padding: 0.5rem;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.service-slider .slick-prev:hover,
.service-slider .slick-next:hover {
    background: rgba(0, 0, 0, 0.7);
}

.service-slider .slick-prev {
    left: 10px;
}

.service-slider .slick-next {
    right: 10px;
}

.slider-nav-thumbnails .slick-slide {
    padding: 5px;
}

.slider-nav-thumbnails img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border 0.3s ease;
}

.slider-nav-thumbnails .slick-current img {
    border-color: #3b82f6;
}

/* Content Details */
.service_details {
    margin-top: 2rem;
}

.content-details p {
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.content-details a {
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.content-details a:hover {
    color: #2563eb;
    text-decoration: underline;
}

/* Sidebar */
.service-widget {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    padding: 1.75rem;
    transition: all 0.3s ease;
}

.service-widget:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-amt {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.service-amt p {
    font-size: 1rem;
    font-weight: 600;
    color: #1e3a8a;
}

.service-amt h2 {
    font-size: 1.875rem;
    font-weight: 800;
    color: #dc2626;
}

.service-widget ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.service-widget ul li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: #4b5563;
    margin-bottom: 0.75rem;
}

.service-widget ul li i {
    color: #16a34a;
    font-size: 1rem;
}

.service-widget .btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.875rem;
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-widget .btn-primary i {
    margin-right: 0.5rem;
}

.service-widget .btn-primary:hover {
    background: linear-gradient(135deg, #2563eb, #0891b2);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(59, 130, 246, 0.4);
}

/* Buy Box */
.buy-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.buy-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.buy-box i {
    font-size: 1.75rem;
    color: #3b82f6;
    margin-bottom: 0.75rem;
}

.buy-box p {
    font-size: 0.9rem;
    font-weight: 500;
    color: #4b5563;
    margin-bottom: 0.5rem;
}

.buy-box h6 {
    font-size: 1.375rem;
    font-weight: 700;
    color: #1e3a8a;
}

/* Tags Widget */
.tags-widget {
    padding: 1.75rem;
}

.tags-widget h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 1rem;
}

.tags-widget ul.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0;
}

.tags-widget ul.tags li {
    list-style: none;
}

.tags-widget ul.tags li a {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #f1f5f9;
    color: #4b5563;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tags-widget ul.tags li a:hover {
    background: #3b82f6;
    color: #ffffff;
}

/* Seller Widget */
.service-widget.member-widget {
    padding: 1.75rem;
}

.user-details {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.user-img img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e2e8f0;
    transition: transform 0.3s ease;
}

.user-img img:hover {
    transform: scale(1.05);
}

.user-info h5 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e3a8a;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-info .badge {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.user-info .badge.bg-soft-danger {
    background: #fef2f2;
    color: #dc2626;
}

.user-info .badge.bg-soft-success {
    background: #f0fdf4;
    color: #16a34a;
}

.user-info .badge i {
    font-size: 0.7rem;
    margin-right: 0.3rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.member-info {
    list-style: none;
    padding: 0;
    margin-bottom: 1.25rem;
}

.member-info li {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #4b5563;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e7eb;
    transition: color 0.3s ease;
}

.member-info li:hover {
    color: #1e3a8a;
}

.member-info li:last-child {
    border-bottom: none;
}

.member-info li span:last-child {
    font-weight: 600;
    color: #1e3a8a;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    overflow: auto;
}

.lightbox-content {
    max-width: 95%;
    max-height: 95%;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 35px;
    color: #ffffff;
    font-size: 2.25rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: #d1d5db;
}

/* Responsive Adjustments */
@media (max-width: 1280px) {
    .buy-code-title {
        font-size: 2rem;
    }

    .slider-card, .service-widget {
        padding: 1.5rem;
    }

    .service-amt h2 {
        font-size: 1.625rem;
    }

    .buy-box h6 {
        font-size: 1.25rem;
    }

    .user-img img {
        width: 50px;
        height: 50px;
    }

    .user-info h5 {
        font-size: 1.125rem;
    }
}

@media (max-width: 1024px) {
    .buy-code-grid {
        grid-template-columns: 1fr;
    }

    .buy-code-title {
        font-size: 1.75rem;
    }

    .service-slider .service-img-wrap img {
        max-height: 320px;
    }

    .service-amt h2 {
        font-size: 1.5rem;
    }

    .buy-box {
        min-width: 120px;
        max-width: 180px;
    }

    .service-widget {
        padding: 1.25rem;
    }

    .user-img img {
        width: 45px;
        height: 45px;
    }

    .user-info h5 {
        font-size: 1rem;
    }

    .member-info li {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .buy-code-title {
        font-size: 1.5rem;
    }

    .slider-card, .service-widget {
        padding: 1rem;
    }

    .service-amt h2 {
        font-size: 1.25rem;
    }

    .buy-box {
        min-width: 100px;
        max-width: 140px;
    }

    .user-details {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.75rem;
    }

    .user-img img {
        width: 40px;
        height: 40px;
    }

    .user-info h5 {
        font-size: 0.9rem;
    }

    .member-info li {
        font-size: 0.75rem;
    }
}

@media (max-width: 640px) {
    .back-button {
        font-size: 0.7rem;
        padding: 0.5rem 1rem;
    }

    .buy-code-title {
        font-size: 1.25rem;
    }

    .service-slider .service-img-wrap img {
        max-height: 240px;
    }

    .service-amt h2 {
        font-size: 1.125rem;
    }

    .buy-box i {
        font-size: 1.25rem;
    }

    .buy-box p {
        font-size: 0.7rem;
    }

    .buy-box h6 {
        font-size: 1rem;
    }

    .user-img img {
        width: 35px;
        height: 35px;
    }

    .user-info h5 {
        font-size: 0.8rem;
    }

    .member-info li {
        font-size: 0.7rem;
    }

    .service-widget .btn-primary {
        font-size: 0.7rem;
        padding: 0.5rem;
    }
}
.buy-code-content {
    margin: 2rem auto;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.buy-code-content h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #1e40af;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.buy-code-content h3 {
    font-size: 1.5rem;
    font-weight: 500;
    color: #16a34a;
    margin-top: 1.25rem;
    margin-bottom: 0.75rem;
}

.buy-code-content h4 {
    font-size: 1.25rem;
    font-weight: 500;
    color: #16a34a;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.buy-code-content a:not(.wp-element-button) {
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.buy-code-content a:not(.wp-element-button):hover {
    color: #2563eb;
    text-decoration: underline;
}

.buy-code-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.buy-code-images img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.buy-code-images img:hover {
    transform: scale(1.02);
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.4;
}