/**
 * NCHub - Professional FiveM QBCore Servers
 * Shop Page Styles
 */

/* Shop Hero Section */
.shop-hero {
    padding: 140px 0 60px; /* במקום 160px 0 80px */
    background: linear-gradient(140deg, #f5f7ff 0%, #eef2ff 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.shop-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQ0MCIgaGVpZ2h0PSI5MDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSI3MS41NzQlIiB5MT0iMjcuODE3JSIgeDI9IjEwMCUiIHkyPSIxMDAlIiBpZD0iYSI+PHN0b3Agc3RvcC1jb2xvcj0iIzQzNTNGRiIgc3RvcC1vcGFjaXR5PSIuMDUiIG9mZnNldD0iMCUiLz48c3RvcCBzdG9wLWNvbG9yPSJyZ2JhKDY3LCA4MywgMjU1LCAwKSIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PHBhdGggZD0iTTAgMGgxNDQwdjkwMEgwVjB6IiBmaWxsPSJ1cmwoI2EpIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIG9wYWNpdHk9Ii4zIi8+PC9zdmc+');
    background-size: cover;
    opacity: 0.7;
    z-index: 0;
}

.shop-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.shop-badge {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 16px;
    background-color: rgba(67, 83, 255, 0.1);
    padding: 5px 14px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.shop-title {
    font-size: 2.5rem; /* במקום 3.5rem */
    margin-bottom: 15px; /* במקום 20px */
}

.accent-text {
    color: var(--primary);
    position: relative;
}

.accent-text::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: rgba(67, 83, 255, 0.1);
    border-radius: 2px;
}

.shop-subtitle {
    font-size: 1rem; /* במקום 1.2rem */
    max-width: 650px;
    margin: 0 auto 15px;
}

/* Remove Stats Section */
/* .shop-hero-stats has been removed */

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 30px;
}

.breadcrumb-item {
    font-size: 14px;
    color: #666;
    transition: all 0.3s ease;
}

.breadcrumb-item:hover:not(.active) {
    color: var(--primary);
}

.breadcrumb-separator {
    color: #999;
    margin: 0 5px;
}

.breadcrumb-item.active {
    color: var(--primary);
    font-weight: 500;
}

/* Section Header Styles */
.section-header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.feature-badge {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 16px;
    background-color: rgba(67, 83, 255, 0.1);
    padding: 5px 14px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.section-title {
    font-size: 36px;
    margin-bottom: 20px;
    color: #222;
    font-weight: 700;
}

.section-subtitle {
    font-size: 16px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Main Package Section - More Compact */
.main-package-section {
    padding: 40px 0 50px;
    background: #f8f9ff;
}

.main-package-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    max-width: 850px;
    margin: 0 auto;
}

/* More Compact Video Showcase */
.package-video-showcase {
    width: 100%;
    max-width: 700px;
    margin: 0 auto 15px;
}

.package-video {
    position: relative;
    padding-bottom: 52%; /* Slightly smaller aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.package-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Package Details - More Compact */
.package-details {
    flex: 1;
}

.package-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.package-title-section {
    margin-right: 20px;
}

.package-title {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin: 0 0 8px;
}

.package-badges {
    display: flex;
    gap: 8px;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 50px;
}

.badge i {
    margin-right: 5px;
    font-size: 10px;
}

.badge.best-seller {
    background: rgba(255, 155, 78, 0.1);
    color: #ff9b4e;
}

.badge.featured {
    background: rgba(67, 83, 255, 0.1);
    color: var(--primary);
}

.package-price-section {
    padding: 8px 12px;
    background: rgba(67, 83, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(67, 83, 255, 0.05);
    text-align: center;
    margin-bottom: 15px; /* מרווח משמעותי בתחתית */
}

.package-price {
    display: flex;
    flex-direction: column;
}

.price-discount {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 5px;
}

.original-price {
    font-size: 18px;
    color: #999;
    text-decoration: line-through;
    font-weight: 500;
}

.discount-badge {
    background: #81ab8e;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
}

.price-amount {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.price-type {
    font-size: 12px;
    color: #666;
    padding-bottom: 0px; /* מרווח בתחתית הטקסט */
    margin-bottom: 0px; /* מרווח נוסף */
}

.package-description {
    margin-bottom: 20px;
    color: #555;
    line-height: 1.5;
    font-size: 14px;
}

/* Key Features - More Compact */
.key-features {
    margin-bottom: 20px;
    background: rgba(248, 249, 255, 0.5);
    border-radius: 10px;
    padding: 15px;
    border: 1px solid rgba(67, 83, 255, 0.05);
}

.features-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-bullet {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #70a777;
    flex-shrink: 0;
}

.feature-text {
    font-size: 13px;
    color: #444;
}

/* Package Benefits - More Compact */
.package-benefits {
    margin-bottom: 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding: 15px;
    background: rgba(248, 249, 255, 0.5);
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid rgba(67, 83, 255, 0.05);
    height: 100%;
}

.benefit-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    background: white;
}

.benefit-icon {
    width: 40px;
    height: 40px;
    background: rgba(67, 83, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #70a777;
    transition: all 0.3s ease;
}

.benefit-item:hover .benefit-icon {
    transform: scale(1.1);
    background: var(--primary);
    color: white;
}

.benefit-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.benefit-content h5 {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin: 0 0 4px;
}

.benefit-content p {
    font-size: 12px;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

/* Package CTA - More Compact */
.package-cta {
    text-align: center !important;
    margin: 0 auto !important;
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
}

.btn-purchase {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #70a777;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(67, 83, 255, 0.25);
    width: 100%;
    max-width: 250px;
    margin-bottom: 10px;
}

.btn-purchase span {
    margin-right: 10px;
}

.btn-purchase i {
    transition: transform 0.3s ease;
}

.btn-purchase:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(67, 83, 255, 0.3);
}

.btn-purchase:hover i {
    transform: translateX(5px);
}

.secure-payment {
    font-size: 12px;
    color: #777;
    display: flex;
    margin: 0 auto !important;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.secure-payment i {
    color: #55b467;
}

/* Premium Scripts Section */
.premium-scripts-section {
    padding: 60px 0;
    background: white;
    position: relative;
}

/* Scripts Grid */
.scripts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 30px;
}

.script-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    height: 100%;
}

.script-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.script-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.script-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.script-card:hover .script-image img {
    transform: scale(1.1);
}

.script-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    z-index: 1;
}

.script-badge.premium {
    background: linear-gradient(135deg, rgba(67, 83, 255, 0.85), rgba(94, 114, 235, 0.85));
    color: white;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(2px);
    box-shadow: 0 4px 10px rgba(67, 83, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: absolute;
    top: 15px;
    right: 15px;
    transition: all 0.3s ease;
}

.script-badge.premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(67, 83, 255, 0.3);
}


.btn-preview {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: #ed5757;
    color: white;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-preview i {
    margin-right: 5px;
    font-size: 14px;
}

.btn-preview:hover {
    background: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.2);
}


.script-buttons {
    display: flex;
    gap: 10px;
}

.script-content {
    padding: 20px;
}

.script-title {
    font-size: 17px;
    font-weight: 600;
    color: #333;
    margin: 0 0 10px;
}

.script-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 15px;
}

.stars {
    color: #ff9b4e;
    font-size: 14px;
}

.rating-count {
    font-size: 13px;
    color: #777;
}

.script-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.script-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 15px;
}

.script-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

.btn-view-details {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(67, 83, 255, 0.08);
    color: var(--primary);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-view-details:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.view-more-container {
    text-align: center;
    margin-top: 15px;
}

.btn-view-more {
    display: inline-flex;
    align-items: center;
    padding: 12px 25px;
    background: white;
    color: var(--primary);
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid rgba(67, 83, 255, 0.08);
}

.btn-view-more i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.btn-view-more:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(67, 83, 255, 0.15);
}

.btn-view-more:hover i {
    transform: translateX(5px);
}

/* Free Scripts Section */
.free-scripts-section {
    padding: 60px 0;
    background: #f8f9ff;
    position: relative;
}

.free-scripts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.free-script-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.03);
    height: 100%;
}

.free-script-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.script-icon {
    width: 60px;
    height: 60px;
    background: rgba(67, 83, 255, 0.08);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
    transition: all 0.3s ease;
}

.free-script-card:hover .script-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.script-meta {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 15px 0;
    flex-wrap: wrap;
}

.meta-item {
    font-size: 13px;
    color: #777;
    display: flex;
    align-items: center;
}

.meta-item i {
    margin-right: 5px;
    color: var(--primary);
}

.btn-download {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: var(--primary);
    color: white;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-download i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.btn-download:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(67, 83, 255, 0.2);
}

.btn-download:hover i {
    transform: translateY(-3px);
}

/* Shop CTA Section */
.shop-cta-section {
    padding: 60px 0;
    background: var(--primary);
    position: relative;
    overflow: hidden;
}

.shop-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQ0MCIgaGVpZ2h0PSI5MDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSI3MS41NzQlIiB5MT0iMjcuODE3JSIgeDI9IjEwMCUiIHkyPSIxMDAlIiBpZD0iYSI+PHN0b3Agc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIuMDUiIG9mZnNldD0iMCUiLz48c3RvcCBzdG9wLWNvbG9yPSJyZ2JhKDI1NSwgMjU1LCAyNTUsIDApIiBvZmZzZXQ9IjEwMCUiLz48L2xpbmVhckdyYWRpZW50PjwvZGVmcz48cGF0aCBkPSJNMCAwaDEyMDB2NjAwSDBWMHoiIGZpbGw9InVybCgjYSkiIGZpbGwtcnVsZT0iZXZlbm9kZCIgb3BhY2l0eT0iLjMiLz48L3N2Zz4=');
    background-size: cover;
    opacity: 0.3;
    z-index: 0;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 32px;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
}

.cta-title .accent-text {
    color: white;
}

.cta-title .accent-text::after {
    background-color: rgba(255, 255, 255, 0.3);
}

.cta-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-main-package {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    background: white;
    color: var(--primary);
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-main-package span {
    margin-right: 8px;
}

.btn-main-package i {
    transition: transform 0.3s ease;
}

.btn-main-package:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.btn-main-package:hover i {
    transform: translateX(5px);
}

.btn-contact-sales {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-contact-sales:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* Responsive Styles */
@media screen and (max-width: 1200px) {
    .shop-title {
        font-size: 3rem;
    }
    
    .scripts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .free-scripts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 992px) {
    .main-package-container {
        padding: 20px;
    }
    
    .package-video-showcase {
        margin-bottom: 20px;
    }
    
    .package-header {
        flex-direction: column;
    }
    
    .package-price-section {
        margin-top: 10px;
        width: 100%;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .package-benefits {
        grid-template-columns: repeat(1, 1fr);
    }
    
    .shop-title {
        font-size: 2.5rem;
    }
    
    .cta-title {
        font-size: 28px;
    }
}

@media screen and (max-width: 768px) {
    .shop-hero, 
    .main-package-section, 
    .premium-scripts-section, 
    .free-scripts-section, 
    .shop-cta-section {
        padding: 40px 0;
    }
    
    .shop-hero {
        padding-top: 120px;
    }
    
    .shop-title {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .shop-subtitle {
        font-size: 1rem;
    }
    
    .scripts-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    
    .free-scripts-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
}

@media screen and (max-width: 576px) {
    .shop-hero, 
    .main-package-section, 
    .premium-scripts-section, 
    .free-scripts-section, 
    .shop-cta-section {
        padding: 30px 0;
    }
    
    .shop-hero {
        padding-top: 120px;
    }
    
    .shop-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .shop-subtitle, 
    .section-subtitle, 
    .cta-text {
        font-size: 0.9rem;
    }
    
    .main-package-container {
        padding: 15px;
    }
    
    .package-title {
        font-size: 18px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-title {
        font-size: 15px;
    }
    
    .btn-purchase, 
    .btn-main-package, 
    .btn-contact-sales {
        padding: 12px 20px;
        font-size: 14px;
    }
}