/* =====================================================
   SAMBENEW — Clone stylesheet
   ===================================================== */

:root {
    /* Brand — modern indigo */
    --sa-primary: #6366f1;
    --sa-primary-2: #8b5cf6;
    --sa-primary-dark: #4f46e5;
    --sa-primary-soft: #eef2ff;
    --sa-accent: #10b981;
    --sa-accent-dark: #059669;
    --sa-accent-soft: #ecfdf5;
    --sa-amber: #f59e0b;

    /* Neutrals — cool slate */
    --sa-text: #1e293b;
    --sa-muted: #64748b;
    --sa-white: #ffffff;
    --sa-bg: #f6f7fb;
    --sa-card: #ffffff;
    --sa-border: #e5e9f2;
    --sa-navy: #0f172a;
    --sa-header-bg: #0f172a;

    /* Footer */
    --sa-footer-text: #94a3b8;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--sa-text);
    line-height: 1.6;
    background-color: var(--sa-bg);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Sora', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

a {
    color: var(--sa-primary);
    transition: color 0.2s ease;
}

a:hover {
    color: var(--sa-primary);
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* =====================================================
   Buttons
   ===================================================== */
.btn-sa {
    display: inline-block;
    padding: 12px 35px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    color: var(--sa-white);
    background: var(--sa-primary);
    border: 2px solid transparent;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.btn-sa:hover {
    background: var(--sa-primary-2);
    color: var(--sa-white);
    transform: translateY(-2px);
}

.btn-sa-outline {
    background: transparent;
    border-color: var(--sa-white);
    color: var(--sa-white);
}

.btn-sa-outline:hover {
    background: var(--sa-white);
    color: var(--sa-primary);
}

/* =====================================================
   Header / Navbar
   ===================================================== */
.sa-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1030;
    background: rgba(15, 23, 42, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease;
}

.sa-header.scrolled {
    background: rgba(15, 23, 42, 0.98);
}

.sa-header .navbar {
    padding: 12px 0;
}

.sa-header .navbar-brand {
    display: flex;
    align-items: center;
    padding: 0;
}

.navbar-logo {
    width: 160px;
    margin-right: 10px;
}

.navbar-logo img {
    max-height: 50px;
    width: auto;
}

.navbar-brand-text {
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
}

.brand-special {
    color: var(--sa-white);
}

.brand-authority {
    color: var(--sa-amber);
}

.sa-header .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 500;
    font-size: 15px;
    padding: 10px 18px !important;
    transition: color 0.2s ease;
}

.sa-header .navbar-nav .nav-link:hover {
    color: var(--sa-primary) !important;
}

.navbar-toggler {
    border: none;
    padding: 0;
}

.navbar-toggler-icon {
    width: 28px;
    height: 28px;
}

.header-spacer {
    height: 76px;
}

/* =====================================================
   Hero section
   ===================================================== */
.sa-hero {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    padding: 110px 0 130px;
    text-align: center;
    color: var(--sa-white);
}

.sa-hero h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
}

.sa-hero .lead {
    font-size: 20px;
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto 35px;
}

/* =====================================================
   Section titles
   ===================================================== */
.sa-section-title {
    text-align: center;
    padding: 60px 0 45px;
}

.sa-section-title h2,
.sa-section-title h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.sa-section-title p {
    font-size: 17px;
    color: #475569;
    max-width: 800px;
    margin: 0 auto;
}

.sa-section-title.bg-gradient {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: var(--sa-white);
    padding: 90px 0 70px;
}

.sa-section-title.bg-gradient p {
    color: rgba(255, 255, 255, 0.92);
}

/* =====================================================
   Category slider
   ===================================================== */
.sa-slider-section {
    padding: 60px 0 80px;
    background-color: #f6f7fb;
}

.sa-slider {
    position: relative;
    padding: 0 70px;
}

.sa-slide {
    display: none;
    animation: fadeSlide 0.5s ease;
}

.sa-slide.active {
    display: block;
}

@keyframes fadeSlide {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.sa-slide-inner {
    align-items: center;
}

.sa-slide-image {
    text-align: center;
}

.sa-slide-image img {
    max-height: 360px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.sa-slide-content h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 18px;
}

.sa-slide-content p {
    font-size: 17px;
    color: #475569;
    margin-bottom: 25px;
}

.sa-slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 35px;
}

.sa-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: background 0.2s ease;
}

.sa-slider-dot.active {
    background: var(--sa-primary);
}

.sa-slider-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.sa-slider-arrow {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--sa-white);
    border: 2px solid var(--sa-primary);
    color: var(--sa-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    transition: all 0.2s ease;
    font-size: 18px;
}

.sa-slider-arrow:hover {
    background: var(--sa-primary);
    color: var(--sa-white);
    border-color: var(--sa-primary);
}

/* =====================================================
   Features / Why Us
   ===================================================== */
.sa-features {
    padding: 60px 0 80px;
}

.sa-feature-card {
    text-align: center;
    padding: 25px 15px;
    margin-bottom: 30px;
    border-radius: 10px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sa-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.sa-feature-card img {
    max-height: 80px;
    margin-bottom: 18px;
}

.sa-feature-card h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.sa-feature-card p {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

/* =====================================================
   How it works
   ===================================================== */
.sa-howitworks {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    padding: 80px 0 100px;
    color: var(--sa-white);
}

.sa-howitworks .sa-section-title h2,
.sa-howitworks .sa-section-title p {
    color: var(--sa-white);
}

.sa-step {
    text-align: center;
    padding: 30px 20px;
    position: relative;
}

.sa-step-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    font-size: 38px;
    color: var(--sa-white);
}

.sa-step h4 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.sa-step p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

/* =====================================================
   CTA section
   ===================================================== */
.sa-cta {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    padding: 90px 0 100px;
    text-align: center;
    color: var(--sa-white);
}

.sa-cta h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 18px;
}

.sa-cta p {
    font-size: 17px;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* =====================================================
   FAQ
   ===================================================== */
.sa-faq {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    padding: 80px 0 100px;
    color: var(--sa-white);
}

.sa-faq .sa-section-title h2 {
    font-size: 48px;
    font-weight: 700;
}

.sa-faq-item {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--sa-text);
}

.sa-faq-header {
    display: flex;
    align-items: center;
    padding: 18px 22px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
}

.sa-faq-icon {
    width: 24px;
    height: 24px;
    margin-right: 15px;
    position: relative;
    flex-shrink: 0;
}

.sa-faq-icon::before,
.sa-faq-icon::after {
    content: '';
    position: absolute;
    background: var(--sa-primary);
    transition: transform 0.2s ease;
}

.sa-faq-icon::before {
    width: 14px;
    height: 2px;
    top: 11px;
    left: 5px;
}

.sa-faq-icon::after {
    width: 2px;
    height: 14px;
    top: 5px;
    left: 11px;
}

.sa-faq-item.open .sa-faq-icon::after {
    transform: rotate(90deg);
}

.sa-faq-body {
    padding: 0 22px 22px 61px;
    font-size: 15px;
    color: #475569;
    display: none;
}

.sa-faq-item.open .sa-faq-body {
    display: block;
}

/* =====================================================
   Products grid
   ===================================================== */
.sa-products {
    padding: 40px 0 80px;
}

.sa-products .row {
    display: flex;
    flex-wrap: wrap;
}

.sa-products [class*="col-"] {
    display: flex;
    margin-bottom: 30px;
}

.sa-product-card {
    border: 1px solid #e5e9f2;
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    background: var(--sa-white);
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sa-product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
}

.sa-product-icon {
    font-size: 48px;
    color: var(--sa-primary);
    margin-bottom: 18px;
}

.sa-product-image {
    margin-bottom: 18px;
}

.sa-product-image img {
    max-height: 140px;
    border-radius: 8px;
}

.sa-product-title {
    font-size: 17px;
    font-weight: 700;
    color: #4f46e5;
    margin-bottom: 8px;
}

.sa-product-code {
    font-size: 14px;
    font-weight: 700;
    color: var(--sa-text);
    margin-bottom: 10px;
}

.sa-product-desc {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 18px;
    flex-grow: 1;
}

.sa-product-card .btn {
    align-self: center;
}

.sa-product-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--sa-primary);
    margin-bottom: 15px;
}

.sa-product-card .btn {
    border-radius: 25px;
    padding: 8px 28px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
}

/* =====================================================
   Contact page
   ===================================================== */
.sa-contact-info {
    padding: 60px 0;
}

.sa-contact-info h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.sa-contact-info p {
    font-size: 16px;
    color: #475569;
}

.sa-contact-form {
    padding: 60px 0 80px;
    background: #f6f7fb;
}

.sa-contact-form .form-control {
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    padding: 12px 16px;
    font-size: 15px;
}

.sa-contact-form .form-control:focus {
    border-color: var(--sa-primary);
    box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.25);
}

.sa-contact-form label {
    font-weight: 600;
    font-size: 14px;
}

/* =====================================================
   Legal pages
   ===================================================== */
.sa-legal {
    padding: 60px 0 100px;
}

.sa-legal h3 {
    font-size: 22px;
    font-weight: 700;
    margin-top: 35px;
    margin-bottom: 15px;
}

.sa-legal p,
.sa-legal li {
    font-size: 15px;
    color: #334155;
    line-height: 1.7;
}

.sa-legal ul {
    padding-left: 25px;
    margin-bottom: 20px;
}

/* =====================================================
   Buy Now Modal
   ===================================================== */
.buy-product-info {
    text-align: center;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #e5e9f2;
}

.buy-product-info h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
}

.buy-product-price {
    font-size: 26px;
    font-weight: 700;
    color: var(--sa-primary);
    margin: 10px 0 0;
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.payment-method {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 0;
    font-weight: 500;
}

.payment-method:hover {
    border-color: var(--sa-primary);
    background: #f5f7ff;
}

.payment-method input[type="radio"] {
    margin-right: 12px;
}

.payment-method span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.payment-method i {
    font-size: 20px;
    color: var(--sa-primary);
}

.modal-header .close {
    outline: none;
}

/* =====================================================
   Footer
   ===================================================== */
.sa-footer {
    background: var(--sa-white);
    border-top: 1px solid #e5e9f2;
    padding: 25px 0;
}

.footer-copyright p {
    margin: 0;
    font-size: 15px;
    color: var(--sa-footer-text);
}

.footer-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;
    gap: 25px;
}

.footer-menu a {
    color: var(--sa-footer-text);
    font-size: 15px;
}

.footer-menu a:hover {
    color: var(--sa-primary);
}

/* =====================================================
   Responsive
   ===================================================== */
@media (max-width: 991px) {
    .sa-hero h1 {
        font-size: 38px;
    }

    .sa-slide-content {
        text-align: center;
        margin-top: 30px;
    }

    .sa-slider-arrows {
        display: none;
    }

    .sa-step {
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
    .header-spacer {
        height: 70px;
    }

    .sa-hero {
        padding: 70px 0 90px;
    }

    .sa-hero h1 {
        font-size: 30px;
    }

    .sa-hero .lead {
        font-size: 16px;
    }

    .sa-section-title h2,
    .sa-section-title h1 {
        font-size: 26px;
    }

    .sa-faq .sa-section-title h2 {
        font-size: 34px;
    }

    .footer-menu ul {
        justify-content: flex-start;
        margin-top: 15px;
    }

    .sa-header .navbar-collapse {
        background: rgba(15, 23, 42, 0.98);
        padding: 15px;
        border-radius: 8px;
        margin-top: 10px;
    }
}

/* Dropdown menu */
.sa-header .dropdown-menu {
    background: rgba(15, 23, 42, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-top: 10px;
}

.sa-header .dropdown-item {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    padding: 10px 20px;
    transition: all 0.2s ease;
}

.sa-header .dropdown-item:hover {
    background: var(--sa-primary);
    color: var(--sa-white);
}

.sa-header .dropdown-toggle::after {
    vertical-align: middle;
}

/* =====================================================
   Marketplace — search, category pills, item cards
   ===================================================== */

/* Search bars */
.sa-search-form {
    display: flex;
    align-items: stretch;
    max-width: 720px;
    margin: 0 auto;
}

.sa-search-form .form-control {
    flex: 1 1 auto;
    min-width: 0;
    height: 58px;
    border: none;
    border-radius: 30px 0 0 30px;
    padding: 0 25px;
    font-size: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.sa-search-form .form-control:focus {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.sa-search-form .btn {
    border-radius: 0 30px 30px 0;
    padding: 0 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.sa-search-form .btn:hover {
    transform: none;
}

.sa-navbar-search {
    margin-left: auto;
    margin-right: 15px;
}

.sa-navbar-search .form-control {
    width: 210px;
    height: 40px;
    border-radius: 20px 0 0 20px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-right: none;
    background: rgba(255, 255, 255, 0.12);
    color: var(--sa-white);
    font-size: 14px;
    padding: 0 18px;
}

.sa-navbar-search .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.sa-navbar-search .form-control:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--sa-white);
    box-shadow: none;
}

.sa-navbar-search .btn {
    height: 40px;
    border-radius: 0 20px 20px 0;
    background: var(--sa-primary);
    border: 1px solid var(--sa-primary);
    color: var(--sa-text);
    padding: 0 16px;
    box-shadow: none;
}

.sa-navbar-search .btn:hover {
    background: var(--sa-primary-2);
    border-color: var(--sa-primary-2);
    color: var(--sa-white);
    transform: none;
}

/* Category pills */
.sa-cat-pills-section {
    padding: 50px 0 10px;
}

.sa-cat-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.sa-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 30px;
    border: 2px solid #e5e9f2;
    background: var(--sa-white);
    color: var(--sa-text);
    font-weight: 600;
    font-size: 15px;
    transition: all 0.25s ease;
}

.sa-cat-pill i {
    font-size: 22px;
    color: var(--sa-primary);
}

.sa-cat-pill:hover {
    border-color: var(--sa-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    color: var(--sa-text);
}

.sa-cat-pill:hover i {
    color: var(--sa-primary);
}

.sa-cat-count {
    font-size: 12px;
    font-weight: 500;
    color: #94a3b8;
    background: #eef1f8;
    border-radius: 15px;
    padding: 3px 10px;
}

/* Item card (ThemeForest style) */
.sa-item-card {
    padding: 0;
    overflow: hidden;
    text-align: left;
}

.sa-item-thumb {
    position: relative;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef1f8;
    border-bottom: 1px solid #e5e9f2;
}

.sa-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.sa-item-thumb i {
    font-size: 64px;
    color: var(--sa-primary);
    opacity: 0.85;
}

.sa-item-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    background: var(--sa-primary);
    color: var(--sa-text);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 5px 12px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.sa-item-body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.sa-item-card .sa-product-title {
    color: var(--sa-text);
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sa-item-card .sa-product-code {
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 10px;
}

.sa-item-card .sa-product-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 44px;
    margin-bottom: 12px;
}

.sa-item-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.sa-item-rating {
    color: var(--sa-primary);
    font-size: 13px;
}

.sa-item-sales {
    font-size: 13px;
    color: #94a3b8;
}

.sa-item-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #eef1f6;
    padding-top: 14px;
    margin-top: auto;
}

.sa-item-footer .sa-product-price {
    font-size: 20px;
    margin: 0;
}

.sa-item-footer .btn {
    padding: 7px 22px;
}

/* Featured / view all */
.sa-featured {
    background-color: #f8fafc;
}

.sa-view-all {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 30px;
    margin-top: 25px;
}

.sa-view-all a {
    font-weight: 600;
    font-size: 14px;
}

.sa-view-all a i {
    font-size: 12px;
    margin-left: 5px;
}

/* Category filter bar */
.sa-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 8px;
}

.sa-filter-bar .form-control {
    height: 48px;
    border-radius: 24px;
    border: 2px solid #e5e9f2;
    padding: 0 22px;
    font-size: 15px;
}

.sa-filter-bar #saFilterInput {
    flex: 1 1 300px;
}

.sa-filter-bar #saSortSelect {
    flex: 0 0 auto;
    width: auto;
    min-width: 200px;
    cursor: pointer;
}

.sa-filter-bar .form-control:focus {
    border-color: var(--sa-primary);
    box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.2);
}

.sa-filter-count {
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 25px;
}

/* Footer legal menu */
.footer-menu ul {
    flex-wrap: wrap;
    row-gap: 8px;
}

@media (max-width: 767px) {
    .sa-search-form .form-control {
        height: 50px;
        font-size: 14px;
        padding: 0 18px;
    }

    .sa-search-form .btn {
        padding: 0 22px;
    }

    .sa-filter-bar #saSortSelect {
        flex: 1 1 100%;
    }
}

/* =====================================================
   ThemeForest-style marketplace theme
   ===================================================== */

/* (legacy envato-green vars merged into the main :root block above) */

/* Utility top bar */
.sa-topbar {
    background: var(--sa-navy);
    font-size: 12px;
}

.sa-topbar a {
    color: rgba(255, 255, 255, 0.6);
    padding: 7px 12px;
    display: inline-block;
}

.sa-topbar-left a:first-child {
    padding-left: 0;
}

.sa-topbar a:hover {
    color: var(--sa-white);
}

/* White header */
.sa-header {
    position: static;
    background: var(--sa-white);
    box-shadow: none;
    border-bottom: 1px solid #e5e9f2;
}

.sa-header-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px 15px;
}

.sa-logo {
    flex-shrink: 0;
}

.sa-logo img {
    max-height: 44px;
    width: auto;
}

.sa-header-search {
    flex: 1 1 auto;
    max-width: 640px;
    margin: 0 auto;
}

.sa-header-search .form-control {
    height: 46px;
    border: 2px solid #cbd5e1;
    border-right: none;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
}

.sa-header-search .form-control:focus {
    border-color: var(--sa-primary);
    box-shadow: none;
}

.sa-header-search .btn {
    border-radius: 0 4px 4px 0;
    padding: 0 22px;
}

.sa-header-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sa-btn-green {
    background: var(--sa-primary);
    color: var(--sa-white);
    border: none;
    font-weight: 600;
}

.sa-btn-green:hover {
    background: var(--sa-primary-dark);
    color: var(--sa-white);
}

.sa-btn-join {
    border: 2px solid var(--sa-primary);
    color: var(--sa-primary);
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 18px;
    white-space: nowrap;
}

.sa-btn-join:hover {
    background: var(--sa-primary);
    color: var(--sa-white);
}

.sa-header .navbar-toggler {
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    padding: 8px 10px;
}

.sa-header .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(0, 0, 0, 0.55)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Category navigation */
.sa-catnav {
    background: var(--sa-navy);
}

.sa-catnav .container {
    padding-left: 15px;
    padding-right: 15px;
}

.sa-catnav .navbar-nav {
    flex-direction: row;
}

.sa-catnav-link {
    display: block;
    padding: 13px 20px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    font-size: 14px;
    border-bottom: 3px solid transparent;
}

.sa-catnav-link:hover {
    color: var(--sa-white);
}

.sa-catnav-link.active {
    color: var(--sa-white);
    border-bottom-color: var(--sa-primary);
    background: rgba(255, 255, 255, 0.04);
}

/* Hero */
.sa-hero.sa-hero-market {
    background: linear-gradient(rgba(15, 23, 42, 0.78), rgba(15, 23, 42, 0.65)), url('/assets/images/img_1.jpg') center center / cover no-repeat;
    padding: 110px 0 100px;
    text-align: center;
    color: var(--sa-white);
}

.sa-hero-market h1 {
    color: var(--sa-white);
    font-size: 42px;
    max-width: 900px;
    margin: 0 auto 30px;
}

.sa-search-hero {
    max-width: 760px;
}

.sa-search-hero .form-control {
    height: 60px;
    border-radius: 4px 0 0 4px;
    border: none;
    padding: 0 22px;
    font-size: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.sa-search-hero .btn {
    border-radius: 0 4px 4px 0;
    padding: 0 32px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.sa-popular-searches {
    margin-top: 18px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
}

.sa-popular-searches a {
    color: var(--sa-white);
    margin-left: 8px;
    text-decoration: underline;
}

/* Value band */
.sa-value-band {
    background: #f6f7fb;
    padding: 40px 0;
    border-bottom: 1px solid #e5e9f2;
}

.sa-value-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.sa-value-item i {
    font-size: 30px;
    color: var(--sa-primary);
    margin-top: 3px;
}

.sa-value-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.sa-value-item p {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

/* Section head */
.sa-section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
}

.sa-section-head h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 6px;
}

.sa-section-head p {
    color: #64748b;
    font-size: 15px;
    margin: 0;
}

.sa-section-head-light h2,
.sa-section-head-light p {
    color: var(--sa-white);
}

.sa-featured {
    background: var(--sa-white);
    padding: 60px 0 55px;
}

.sa-bestsellers {
    background: #f6f7fb;
    padding: 60px 0 70px;
}

/* Product card — ThemeForest style */
.sa-item-card {
    border: none;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
    text-align: left;
}

.sa-item-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.sa-item-thumb {
    position: relative;
    height: 0;
    padding-top: 62.5%;
    overflow: hidden;
    display: block;
    border-bottom: none;
}

.sa-item-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.sa-item-card:hover .sa-item-thumb img {
    transform: scale(1.06);
}

.sa-item-thumb > i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 56px;
    color: rgba(255, 255, 255, 0.95);
    opacity: 1;
}

.sa-thumb-wordpress {
    background: linear-gradient(135deg, #21759B 0%, #175b7a 100%);
}

.sa-thumb-joomla {
    background: linear-gradient(135deg, #d7421f 0%, #a93214 100%);
}

.sa-thumb-drupal {
    background: linear-gradient(135deg, #0678BE 0%, #045a8f 100%);
}

.sa-thumb-magento {
    background: linear-gradient(135deg, #ee672f 0%, #c24e1e 100%);
}

.sa-item-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.sa-badge-value {
    background: var(--sa-primary);
    color: var(--sa-white);
}

.sa-badge-hot {
    background: #f59e0b;
    color: var(--sa-white);
}

.sa-item-body {
    padding: 14px 16px 16px;
}

.sa-item-card .sa-product-title {
    font-size: 15px;
    -webkit-line-clamp: 2;
    min-height: 42px;
    margin-bottom: 4px;
}

.sa-item-author {
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 6px;
}

.sa-item-card .sa-product-code {
    font-size: 11px;
    color: #cbd5e1;
    text-transform: none;
    letter-spacing: 0;
    margin-bottom: 10px;
}

.sa-item-card .sa-product-desc {
    display: none;
}

.sa-item-meta {
    margin-bottom: 0;
}

.sa-item-footer {
    border-top: 1px solid #eef1f6;
    padding-top: 12px;
    margin-top: 12px;
}

.sa-item-footer .sa-product-price {
    background: var(--sa-primary);
    color: var(--sa-white);
    font-size: 15px;
    border-radius: 15px;
    padding: 4px 14px;
    margin: 0;
}

.sa-item-footer .btn {
    background: var(--sa-white);
    color: var(--sa-primary);
    border: 2px solid var(--sa-primary);
    border-radius: 4px;
    padding: 5px 18px;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
}

.sa-item-footer .btn:hover {
    background: var(--sa-primary);
    color: var(--sa-white);
}

/* Horizontal best sellers */
.sa-hscroll {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 5px 2px 15px;
}

.sa-hscroll::-webkit-scrollbar {
    height: 8px;
}

.sa-hscroll::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.sa-hscroll-item {
    flex: 0 0 260px;
    scroll-snap-align: start;
    margin-right: 20px;
}

.sa-hscroll-item:last-child {
    margin-right: 0;
}

.sa-scroll-nav {
    display: flex;
    gap: 8px;
}

.sa-scroll-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #cbd5e1;
    background: var(--sa-white);
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sa-scroll-btn:hover {
    background: var(--sa-primary);
    border-color: var(--sa-primary);
    color: var(--sa-white);
}

/* Featured creator */
.sa-creator {
    background: var(--sa-white);
    padding: 70px 0;
    text-align: center;
    border-top: 1px solid #e5e9f2;
}

.sa-creator-logo img {
    max-height: 60px;
    margin-bottom: 15px;
}

.sa-creator h2 {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: 1px;
}

.sa-creator-tagline {
    max-width: 680px;
    margin: 15px auto 12px;
    color: #64748b;
    font-size: 15px;
}

.sa-creator-since {
    color: #94a3b8;
    font-size: 13px;
    margin-bottom: 22px;
}

.sa-creator-since i {
    color: var(--sa-primary);
}

/* Bundle banner */
.sa-bundle-banner {
    background: linear-gradient(120deg, var(--sa-primary) 0%, #4c1d95 55%, var(--sa-navy) 100%);
    padding: 60px 0;
    color: var(--sa-white);
}

.sa-bundle-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.sa-bundle-inner h2 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 10px;
}

.sa-bundle-inner p {
    max-width: 600px;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

.sa-btn-light {
    background: var(--sa-white);
    color: #333;
    font-weight: 600;
    border-radius: 4px;
    padding: 12px 30px;
    white-space: nowrap;
}

.sa-btn-light:hover {
    background: #eef1f6;
    color: #111;
}

/* Category page sidebar */
.sa-category-intro {
    padding: 35px 0 20px;
}

.sa-category-page {
    padding-top: 20px;
}

.sa-sidebar {
    position: sticky;
    top: 20px;
    margin-bottom: 30px;
}

.sa-sidebar-block {
    background: var(--sa-white);
    border: 1px solid #e5e9f2;
    border-radius: 4px;
    padding: 18px;
    margin-bottom: 20px;
}

.sa-sidebar-block .form-control {
    height: 42px;
    border: 2px solid #cbd5e1;
    border-radius: 4px;
    font-size: 14px;
}

.sa-sidebar-block .form-control:focus {
    border-color: var(--sa-primary);
    box-shadow: none;
}

.sa-sidebar-block h5 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #475569;
    margin-bottom: 12px;
}

.sa-sidebar-cats {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sa-sidebar-cats a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 4px;
    color: #334155;
    font-size: 14px;
}

.sa-sidebar-cats a i {
    width: 18px;
    color: var(--sa-primary);
}

.sa-sidebar-cats a:hover {
    background: #f6f7fb;
    color: #222;
}

.sa-sidebar-cats a.active {
    background: var(--sa-primary);
    color: var(--sa-white);
}

.sa-sidebar-cats a.active i {
    color: var(--sa-white);
}

.sa-price-filter label {
    display: block;
    font-size: 14px;
    color: #334155;
    margin-bottom: 8px;
    cursor: pointer;
}

.sa-price-filter input {
    margin-right: 8px;
}

.sa-category-page .sa-filter-bar {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.sa-category-page .sa-filter-bar .form-control {
    height: 42px;
    border-radius: 4px;
    width: auto;
    min-width: 190px;
    cursor: pointer;
}

.sa-category-page .sa-filter-count {
    margin: 0 0 0 auto;
}

/* Dark footer */
.sa-footer {
    background: var(--sa-navy);
    color: #94a3b8;
    border-top: none;
    padding: 55px 0 0;
}

.sa-footer-cols {
    margin-bottom: 30px;
}

.sa-footer h5 {
    color: var(--sa-white);
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 16px;
}

.sa-footer-cols ul {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
}

.sa-footer-cols li {
    margin-bottom: 9px;
}

.sa-footer-cols a {
    color: #94a3b8;
    font-size: 14px;
}

.sa-footer-cols a:hover {
    color: var(--sa-white);
}

.sa-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 0;
}

.sa-footer-copyright p {
    margin: 0;
    font-size: 13px;
    color: #94a3b8;
}

.sa-payment-icons i {
    font-size: 26px;
    color: #94a3b8;
    margin-left: 10px;
}

.sa-payment-icons i:first-child {
    margin-left: 0;
}

/* Marketplace responsive */
@media (max-width: 991px) {
    .sa-hero-market h1 {
        font-size: 30px;
    }

    .sa-value-item {
        margin-bottom: 25px;
    }

    .sa-catnav .navbar-nav {
        flex-direction: column;
    }

    .sa-catnav-link {
        padding: 10px 15px;
        border-bottom: none;
        border-left: 3px solid transparent;
    }

    .sa-catnav-link.active {
        border-bottom-color: transparent;
        border-left-color: var(--sa-primary);
    }

    .sa-header .navbar-collapse {
        background: transparent;
        padding: 5px 0;
        border-radius: 0;
        margin-top: 0;
    }

    .sa-sidebar {
        position: static;
    }
}

@media (max-width: 767px) {
    .sa-topbar a {
        padding: 7px 8px;
    }

    .sa-hero.sa-hero-market {
        padding: 70px 0 70px;
    }

    .sa-search-hero .form-control {
        height: 50px;
        font-size: 14px;
    }

    .sa-search-hero .btn {
        padding: 0 20px;
    }

    .sa-section-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .sa-bundle-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .sa-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .sa-hscroll-item {
        flex: 0 0 230px;
    }
}

/* =====================================================
   Light minimal ThemeForest look
   ===================================================== */

/* (legacy light-theme vars merged into the main :root block above) */

/* Topbar */
.sa-topbar {
    padding: 4px 0;
}

.sa-topbar-tagline {
    color: var(--sa-white);
    font-size: 12.5px;
    margin-right: 12px;
}

.sa-topbar-btn {
    background: var(--sa-primary);
    color: var(--sa-white);
    border-radius: 20px;
    padding: 3px 14px;
    font-size: 12px;
    font-weight: 600;
}

.sa-topbar-btn:hover {
    background: var(--sa-primary-dark);
    color: var(--sa-white);
}

/* Light category nav */
.sa-catnav {
    background: var(--sa-navy);
    border-bottom: 1px solid #e5e9f2;
}

.sa-catnav-link {
    color: #475569;
    font-size: 13px;
    padding: 11px 18px;
}

.sa-catnav-link:hover {
    color: var(--sa-text);
}

.sa-catnav-link.active {
    color: var(--sa-primary);
    border-bottom-color: var(--sa-primary);
    background: transparent;
    font-weight: 600;
}

/* Light hero */
.sa-hero-light {
    background: var(--sa-white);
    padding: 70px 0 75px;
    text-align: left;
}

.sa-hero-light h1 {
    color: var(--sa-text);
    font-size: 44px;
    font-weight: 800;
    line-height: 1.18;
    margin-bottom: 20px;
}

.sa-hero-sub {
    color: #64748b;
    font-size: 17px;
    max-width: 560px;
    margin-bottom: 26px;
}

.sa-hero-light .sa-search-hero {
    margin: 0;
    max-width: 560px;
}

.sa-hero-light .sa-search-hero .form-control {
    height: 54px;
    border: 2px solid #cbd5e1;
    border-right: none;
    border-radius: 6px 0 0 6px;
    box-shadow: none;
    font-size: 15px;
}

.sa-hero-light .sa-search-hero .form-control:focus {
    border-color: var(--sa-primary);
    box-shadow: none;
}

.sa-hero-light .sa-search-hero .btn {
    border-radius: 0 6px 6px 0;
    box-shadow: none;
}

.sa-hero-light .sa-popular-searches {
    color: #94a3b8;
    text-align: left;
}

.sa-hero-light .sa-popular-searches a {
    color: #64748b;
    text-decoration: underline;
}

.sa-hero-light .sa-popular-searches a:hover {
    color: var(--sa-primary);
}

/* Hero collage */
.sa-hero-collage {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 12px;
}

.sa-collage-card {
    background: var(--sa-white);
    padding: 8px;
    border-radius: 6px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
    transition: transform 0.3s ease;
}

.sa-collage-card img {
    display: block;
    width: 100%;
    border-radius: 4px;
}

.sa-collage-1 {
    transform: rotate(-2deg);
}

.sa-collage-2 {
    transform: rotate(2deg) translateY(16px);
}

.sa-collage-3 {
    transform: rotate(-1.5deg);
}

.sa-collage-4 {
    transform: rotate(2.5deg) translateY(8px);
}

.sa-collage-card:hover {
    transform: rotate(0deg) scale(1.04);
    z-index: 2;
    position: relative;
}

/* Slim value band */
.sa-value-band {
    padding: 26px 0;
}

/* Black promo banner */
.sa-promo {
    background: var(--sa-white);
    padding: 10px 0 60px;
}

.sa-promo-box {
    background: var(--sa-text);
    border-radius: 8px;
    padding: 55px 50px;
    display: flex;
    align-items: center;
    gap: 40px;
    color: var(--sa-white);
    overflow: hidden;
}

.sa-promo-text h2 {
    color: var(--sa-white);
    font-size: 32px;
    font-weight: 800;
    line-height: 1.25;
    max-width: 520px;
    margin-bottom: 14px;
}

.sa-promo-text p {
    color: #94a3b8;
    font-size: 15px;
    max-width: 480px;
    margin-bottom: 24px;
}

.sa-promo-text .btn {
    border-radius: 6px;
    padding: 11px 28px;
}

.sa-promo-fan {
    margin-left: auto;
    flex-shrink: 0;
}

.sa-promo-fan img {
    width: 150px;
    height: 100px;
    object-fit: cover;
    border-radius: 6px;
    border: 3px solid var(--sa-white);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.sa-promo-fan img:nth-child(1) {
    transform: rotate(-9deg) translateX(24px);
}

.sa-promo-fan img:nth-child(2) {
    transform: rotate(-2deg) translateY(-8px);
    position: relative;
    z-index: 2;
}

.sa-promo-fan img:nth-child(3) {
    transform: rotate(6deg) translateX(-24px);
}

/* Category grid */
.sa-catgrid-section {
    background: #f6f7fb;
    padding: 60px 0;
}

.sa-cat-tile {
    position: relative;
    background: var(--sa-white);
    border: 1px solid #e5e9f2;
    border-radius: 8px;
    padding: 22px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sa-cat-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.sa-cat-tile-info h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.sa-cat-tile-info h3 a {
    color: var(--sa-text);
}

.sa-cat-tile-info h3 a:hover {
    color: var(--sa-primary);
}

.sa-cat-tile-info p {
    color: #64748b;
    font-size: 13.5px;
    margin-bottom: 10px;
}

.sa-cat-tile-links a {
    color: var(--sa-primary);
    font-size: 13px;
    margin-right: 14px;
    position: relative;
    z-index: 2;
}

.sa-cat-tile-links a:hover {
    text-decoration: underline;
}

.sa-cat-tile-thumb {
    flex-shrink: 0;
}

.sa-cat-tile-thumb img {
    height: 110px;
    max-width: 175px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #e5e9f2;
}

.sa-view-all-cats {
    text-align: center;
    margin-top: 6px;
}

.sa-view-all-cats .btn {
    border-radius: 6px;
    padding: 12px 34px;
    font-weight: 600;
}

/* Split section */
.sa-split {
    background: var(--sa-white);
    padding: 70px 0;
}

.sa-split-collage {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.sa-split-card {
    background: var(--sa-white);
    padding: 6px;
    border-radius: 6px;
    border: 1px solid #e5e9f2;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.sa-split-card img {
    display: block;
    width: 100%;
    border-radius: 4px;
}

.sa-split-text h2 {
    color: var(--sa-text);
    font-size: 32px;
    font-weight: 800;
    line-height: 1.3;
    max-width: 480px;
    margin-bottom: 18px;
}

.sa-split-text p {
    color: #64748b;
    font-size: 15px;
    max-width: 460px;
    margin-bottom: 26px;
}

.sa-split-text .btn {
    border-radius: 6px;
    padding: 11px 28px;
}

/* Titles and creator on light theme */
.sa-section-head h2 {
    color: var(--sa-text);
}

.sa-creator {
    background: #f6f7fb;
    border-top: none;
}

/* Light-theme responsive */
@media (max-width: 991px) {
    .sa-hero-light {
        padding: 50px 0 55px;
    }

    .sa-hero-light h1 {
        font-size: 32px;
    }

    .sa-hero-collage {
        margin-top: 40px;
    }

    .sa-catnav .navbar-collapse {
        background: var(--sa-white);
        border-bottom: 1px solid #e5e9f2;
    }
}

@media (max-width: 767px) {
    .sa-topbar-tagline {
        display: none;
    }

    .sa-hero-light h1 {
        font-size: 27px;
    }

    .sa-promo-box {
        padding: 40px 25px;
    }

    .sa-promo-text h2 {
        font-size: 24px;
    }

    .sa-split-text h2 {
        font-size: 25px;
    }

    .sa-split-collage {
        margin-bottom: 35px;
    }
}

/* Search buttons: keep icon and label on one line */
.sa-search-form .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    white-space: nowrap;
}

/* =====================================================
   Accounts & new categories
   ===================================================== */

/* 8-category nav scroll */
.sa-catnav-scroll {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.sa-catnav-scroll .sa-catnav-link {
    white-space: nowrap;
}

/* User menu in white header */
.sa-user-menu .dropdown-toggle::after {
    vertical-align: middle;
}

.sa-user-menu .dropdown-menu {
    border: 1px solid #e5e9f2;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    margin-top: 8px;
    min-width: 180px;
}

.sa-user-menu .dropdown-item {
    font-size: 14px;
    padding: 9px 18px;
    color: #334155;
}

.sa-user-menu .dropdown-item i {
    color: var(--sa-primary);
    width: 18px;
}

.sa-user-menu .dropdown-item:hover {
    background: #f6f7fb;
    color: #0f172a;
}

/* Icon tiles for new categories (home grid) */
.sa-cat-tile-icon {
    width: 175px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}

.sa-cat-tile-icon i {
    font-size: 44px;
    color: rgba(255, 255, 255, 0.95);
}

.sa-tile-wordpress-themes {
    background: linear-gradient(135deg, #0f3468 0%, #0a2347 100%);
}

.sa-tile-site-templates {
    background: linear-gradient(135deg, #e34f26 0%, #b53c1a 100%);
}

.sa-tile-email-templates {
    background: linear-gradient(135deg, #0b9e78 0%, #077a5d 100%);
}

.sa-tile-ui-kits {
    background: linear-gradient(135deg, #7c3aed 0%, #5f2bb8 100%);
}

/* Product thumbs for new categories */
.sa-thumb-wordpress-themes {
    background: linear-gradient(135deg, #0f3468 0%, #0a2347 100%);
}

.sa-thumb-site-templates {
    background: linear-gradient(135deg, #e34f26 0%, #b53c1a 100%);
}

.sa-thumb-email-templates {
    background: linear-gradient(135deg, #0b9e78 0%, #077a5d 100%);
}

.sa-thumb-ui-kits {
    background: linear-gradient(135deg, #7c3aed 0%, #5f2bb8 100%);
}

/* Auth pages */
.sa-auth-section {
    background: #f6f7fb;
    padding: 50px 0 90px;
}

.sa-auth-card {
    background: var(--sa-white);
    border: 1px solid #e5e9f2;
    border-radius: 8px;
    max-width: 460px;
    margin: 0 auto;
    padding: 38px;
}

.sa-auth-card h2 {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}

.sa-auth-sub {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 24px;
}

.sa-auth-card .form-control {
    height: 46px;
    border: 2px solid #cbd5e1;
    border-radius: 6px;
    font-size: 14px;
}

.sa-auth-card .form-control:focus {
    border-color: var(--sa-primary);
    box-shadow: none;
}

.sa-auth-card label {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
}

.sa-auth-card .btn {
    border-radius: 6px;
    padding: 12px;
    font-weight: 600;
    margin-top: 8px;
}

.sa-auth-alt {
    text-align: center;
    font-size: 14px;
    color: #64748b;
    margin: 20px 0 0;
}

.sa-auth-card.sa-auth-card-lg {
    max-width: 640px;
}

.sa-auth-card select.form-control {
    height: 46px;
}

/* Two-factor authentication */
.sa-2fa-box {
    background: #f6f7fb;
    border: 1px solid #e5e9f2;
    border-radius: 8px;
    padding: 22px;
    text-align: center;
    margin-bottom: 22px;
}

.sa-2fa-step {
    font-size: 14px;
    color: #1e293b;
    margin-bottom: 14px;
}

.sa-2fa-qr {
    display: flex;
    justify-content: center;
    padding: 12px 0;
}

.sa-2fa-qr img,
.sa-2fa-qr canvas {
    border: 6px solid #fff;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.sa-2fa-manual {
    font-size: 13px;
    color: #64748b;
    margin: 12px 0 0;
}

.sa-2fa-secret {
    font-family: 'Courier New', monospace;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #0f172a;
    word-break: break-all;
}

.sa-2fa-input {
    text-align: center;
    font-size: 22px !important;
    font-weight: 700;
    letter-spacing: 8px;
}

.sa-2fa-cancel {
    color: #64748b;
    font-size: 13px;
    padding: 0;
}

/* Account page */
.sa-account-section {
    background: #f6f7fb;
    padding: 50px 0 90px;
}

.sa-account-card {
    background: var(--sa-white);
    border: 1px solid #e5e9f2;
    border-radius: 8px;
    padding: 28px;
    margin-bottom: 24px;
}

.sa-account-card h3 {
    font-size: 19px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 18px;
}

.sa-account-card h3 i {
    color: var(--sa-primary);
    margin-right: 6px;
}

.sa-account-avatar {
    text-align: center;
    margin-bottom: 12px;
}

.sa-account-avatar i {
    font-size: 64px;
    color: #cbd5e1;
}

.sa-account-card h3 {
    text-align: center;
}

.sa-account-card > .sa-account-email,
.sa-account-card > .sa-account-since {
    text-align: center;
}

.sa-account-email {
    color: #64748b;
    font-size: 14px;
}

.sa-account-since {
    color: #94a3b8;
    font-size: 13px;
}

.sa-account-since i {
    color: var(--sa-primary);
    margin-right: 5px;
}

.sa-orders-table {
    font-size: 14px;
    margin-bottom: 0;
}

.sa-orders-table thead th {
    border-top: none;
    color: #64748b;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sa-order-status {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.sa-status-paid {
    background: rgba(16, 185, 129, 0.15);
    color: var(--sa-primary-dark);
}

.sa-status-pending {
    background: rgba(245, 158, 11, 0.15);
    color: #b45309;
}

.sa-account-empty {
    color: #64748b;
    font-size: 14px;
    margin: 0;
}

/* =====================================================
   Product detail page (/item/{slug})
   ===================================================== */

.sa-item-page {
    background: #f6f7fb;
    padding: 20px 0 80px;
}

.sa-breadcrumb {
    background: transparent;
    padding: 12px 0;
    margin-bottom: 10px;
    font-size: 13px;
}

.sa-breadcrumb .breadcrumb-item a {
    color: #64748b;
}

.sa-breadcrumb .breadcrumb-item.active {
    color: #94a3b8;
}

.sa-item-main {
    background: var(--sa-white);
    border: 1px solid #e5e9f2;
    border-radius: 8px;
    padding: 28px;
}

.sa-item-main h1 {
    font-size: 30px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}

.sa-item-byline {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 20px;
}

.sa-item-byline strong {
    color: #475569;
}

.sa-item-cat {
    margin-left: 15px;
    color: var(--sa-primary);
}

.sa-item-preview {
    position: relative;
    height: 420px;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.sa-item-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sa-item-preview > i {
    font-size: 110px;
    color: rgba(255, 255, 255, 0.95);
}

.sa-item-tabs {
    border-bottom: 2px solid #e5e9f2;
}

.sa-item-tabs .nav-link {
    color: #64748b;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 18px;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}

.sa-item-tabs .nav-link:hover {
    color: #0f172a;
}

.sa-item-tabs .nav-link.active {
    color: var(--sa-primary);
    background: transparent;
    border-bottom-color: var(--sa-primary);
}

.sa-item-tab-content {
    padding: 22px 4px 4px;
    font-size: 15px;
    color: #334155;
    line-height: 1.8;
}

.sa-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    columns: 2;
    column-gap: 30px;
}

.sa-feature-list li {
    break-inside: avoid;
    padding: 7px 0;
    font-size: 14px;
}

.sa-feature-list i {
    color: var(--sa-primary);
    margin-right: 10px;
}

.sa-review {
    border-bottom: 1px solid #e5e9f2;
    padding: 15px 0;
}

.sa-review:last-child {
    border-bottom: none;
}

.sa-review-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
}

.sa-review-name {
    font-weight: 700;
    color: #0f172a;
}

.sa-review-date {
    color: #94a3b8;
    font-size: 12.5px;
    margin-left: auto;
}

.sa-review p {
    margin: 0;
    color: #475569;
}

/* Sticky buy card */
.sa-item-buy-card {
    position: sticky;
    top: 20px;
}

.sa-item-buy-thumb {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sa-item-buy-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sa-item-buy-thumb > i {
    font-size: 60px;
    color: rgba(255, 255, 255, 0.95);
}

.sa-item-buy-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #eef1f6;
    padding-top: 14px;
    margin-top: 12px;
}

.sa-item-buy-price-row .sa-product-price {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    background: none;
    padding: 0;
    border-radius: 0;
}

.sa-item-buy-price-row .btn {
    background: var(--sa-primary);
    color: var(--sa-white);
    border: none;
    border-radius: 6px;
    padding: 10px 28px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
}

.sa-item-buy-price-row .btn:hover {
    background: var(--sa-primary-dark);
    color: var(--sa-white);
}

.sa-item-meta-list {
    list-style: none;
    padding: 16px 0 0;
    margin: 16px 0 0;
    border-top: 1px solid #eef1f6;
}

.sa-item-meta-list li {
    display: flex;
    justify-content: space-between;
    font-size: 13.5px;
    padding: 6px 0;
    color: #64748b;
}

.sa-item-meta-list strong {
    color: #334155;
    font-weight: 600;
    text-align: right;
}

/* Clickable cards (title stretched over card, buy button stays on top) */
.sa-item-card {
    position: relative;
}

.sa-item-card .sa-card-link::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    pointer-events: auto;
    content: "";
}

.sa-item-card .sa-item-footer .btn {
    position: relative;
    z-index: 2;
}

.sa-item-card .sa-product-title a {
    color: inherit;
}

.sa-item-card .sa-product-title a:hover {
    color: var(--sa-primary);
}

/* Centered category menu with separators */
.sa-catnav .navbar-collapse {
    justify-content: center;
}

.sa-catnav .navbar-nav {
    margin-left: auto;
    margin-right: auto;
}

.sa-catnav .nav-item + .nav-item .sa-catnav-link {
    border-left: 1px solid #e5e9f2;
}

/* Item page responsive */
@media (max-width: 991px) {
    .sa-item-buy-card {
        position: static;
        margin-top: 25px;
    }

    .sa-item-preview {
        height: 300px;
    }

    .sa-feature-list {
        columns: 1;
    }
}

@media (max-width: 767px) {
    .sa-item-main {
        padding: 18px;
    }

    .sa-item-main h1 {
        font-size: 23px;
    }

    .sa-item-preview {
        height: 220px;
    }

    .sa-item-preview > i {
        font-size: 70px;
    }
}

.sa-item-buy-card .sa-product-title {
    color: #0f172a;
}

/* =====================================================
   Category grid fixes (cards, meta, sort in sidebar)
   ===================================================== */

.sa-product-card {
    position: relative;
}

.sa-item-card .sa-item-footer {
    flex-wrap: nowrap;
    gap: 8px;
}

.sa-item-card .sa-item-footer .btn {
    white-space: nowrap;
    flex-shrink: 0;
}

.sa-item-card .sa-item-footer .sa-product-price {
    white-space: nowrap;
}

.sa-item-card .sa-item-meta {
    flex-wrap: nowrap;
    white-space: nowrap;
}

.sa-item-card .sa-item-sales {
    white-space: nowrap;
    margin-left: 6px;
}

.sa-item-card .sa-item-rating {
    font-size: 12px;
}

.sa-item-card .sa-product-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
}

.sa-sort-select {
    width: 100%;
    height: 42px;
    border-radius: 4px;
    border: 1px solid #cbd5e1;
    font-size: 14px;
    padding: 0 12px;
    background: #fff;
}

.sa-grid-count {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 18px;
}

.sa-filter-bar {
    display: none;
}

.sa-category-page .col-lg-9 {
    display: block;
}

.sa-grid-count {
    display: block;
    width: 100%;
}

/* Contact page — company information card */
.sa-company-card {
    background: #fff;
    border: 1px solid #e5e9f2;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
}
.sa-company-logo {
    max-width: 200px;
    max-height: 54px;
    margin-bottom: 14px;
}
.sa-company-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--sa-text, #0f172a);
    margin-bottom: 8px;
}
.sa-company-legal {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 20px;
}
.sa-company-details {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
}
.sa-company-details li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #eef1f6;
    font-size: 15px;
    color: #334155;
}
.sa-company-details li:last-child {
    border-bottom: none;
}
.sa-company-details li i {
    color: var(--sa-primary);
    width: 18px;
    text-align: center;
    margin-top: 3px;
}
.sa-company-details a {
    color: var(--sa-primary);
}
.sa-company-details a:hover {
    text-decoration: underline;
}
.sa-company-note {
    font-size: 13px;
    color: #94a3b8;
    background: #f6f7fb;
    border-radius: 6px;
    padding: 12px 14px;
    margin: 0;
}

/* =====================================================
   About / Blog / Careers / FAQ pages
   ===================================================== */

/* Blog grid */
.sa-blog-section {
    background: #f6f7fb;
    padding: 55px 0 80px;
}

.sa-post-card {
    background: var(--sa-white);
    border: 1px solid #e5e9f2;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 28px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sa-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.sa-post-thumb {
    display: block;
    height: 170px;
    background: linear-gradient(135deg, var(--sa-primary) 0%, #4c1d95 100%);
    overflow: hidden;
}

.sa-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sa-post-thumb i {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 48px;
    color: rgba(255, 255, 255, 0.9);
}

.sa-post-body {
    padding: 18px 20px 20px;
}

.sa-post-cat {
    display: inline-block;
    background: rgba(99, 102, 241, 0.12);
    color: var(--sa-primary-dark);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 12px;
    margin-bottom: 10px;
}

.sa-post-body h3 {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 8px;
}

.sa-post-body h3 a {
    color: #0f172a;
}

.sa-post-body h3 a:hover {
    color: var(--sa-primary);
}

.sa-post-excerpt {
    font-size: 13.5px;
    color: #64748b;
    margin-bottom: 14px;
}

.sa-post-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12.5px;
}

.sa-post-date {
    color: #94a3b8;
}

.sa-post-date i {
    margin-right: 5px;
}

.sa-post-more {
    font-weight: 600;
}

.sa-post-more i {
    font-size: 11px;
    margin-left: 4px;
}

/* Blog post */
.sa-blogpost-section {
    background: #f6f7fb;
    padding: 50px 0 80px;
}

.sa-post-meta {
    margin: 0;
}

.sa-post-meta .sa-post-cat {
    margin: 0 12px 0 0;
}

.sa-post-meta .sa-post-date {
    color: rgba(255, 255, 255, 0.85);
}

.sa-blogpost {
    background: var(--sa-white);
    border: 1px solid #e5e9f2;
    border-radius: 8px;
    padding: 30px;
}

.sa-blogpost-image {
    margin: -30px -30px 25px;
}

.sa-blogpost-image img {
    width: 100%;
    border-radius: 8px 8px 0 0;
    max-height: 420px;
    object-fit: cover;
}

.sa-blogpost-content p {
    font-size: 15.5px;
    line-height: 1.85;
    color: #334155;
    margin-bottom: 18px;
}

.sa-related {
    margin-top: 50px;
}

.sa-related h2 {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 22px;
}

.sa-post-card-horizontal {
    display: flex;
}

.sa-post-card-horizontal .sa-post-thumb {
    width: 190px;
    height: auto;
    flex-shrink: 0;
}

.sa-post-card-horizontal .sa-post-body {
    display: flex;
    flex-direction: column;
}

.sa-post-card-horizontal .sa-post-foot {
    margin-top: auto;
}

/* About */
.sa-about-intro,
.sa-careers-intro {
    background: var(--sa-white);
    padding: 60px 0 45px;
}

.sa-about-intro h2,
.sa-careers-intro h2,
.sa-story-section h2 {
    font-size: 26px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 16px;
}

.sa-about-intro p,
.sa-careers-intro p,
.sa-story-section p {
    font-size: 15.5px;
    line-height: 1.85;
    color: #334155;
    margin-bottom: 16px;
}

.sa-stats-band {
    background: #f6f7fb;
    padding: 45px 0;
    border-top: 1px solid #e5e9f2;
    border-bottom: 1px solid #e5e9f2;
}

.sa-stat {
    text-align: center;
    padding: 10px 0;
}

.sa-stat-value {
    display: block;
    font-size: 38px;
    font-weight: 800;
    color: var(--sa-primary);
}

.sa-stat-label {
    font-size: 13.5px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sa-offer-section,
.sa-benefits-section {
    background: var(--sa-white);
    padding: 60px 0;
}

.sa-offer-card,
.sa-benefit-card {
    background: var(--sa-white);
    border: 1px solid #e5e9f2;
    border-radius: 8px;
    padding: 26px 22px;
    margin-bottom: 24px;
    height: calc(100% - 24px);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sa-offer-card:hover,
.sa-benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.sa-offer-card i,
.sa-benefit-card i {
    font-size: 30px;
    color: var(--sa-primary);
    margin-bottom: 14px;
}

.sa-offer-card h4,
.sa-benefit-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.sa-offer-card p,
.sa-benefit-card p {
    font-size: 13.5px;
    color: #64748b;
    margin: 0;
}

.sa-story-section {
    background: #f6f7fb;
    padding: 60px 0;
}

.sa-company-block {
    background: var(--sa-navy);
    padding: 55px 0;
    color: #94a3b8;
}

.sa-company-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.sa-company-inner h3 {
    color: var(--sa-white);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.sa-company-inner p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.8;
}

.sa-company-contact p {
    margin-bottom: 14px;
}

.sa-company-contact i {
    color: var(--sa-primary);
    margin-right: 8px;
}

/* Careers jobs */
.sa-jobs-section {
    background: #f6f7fb;
    padding: 60px 0 80px;
}

.sa-job-card {
    background: var(--sa-white);
    border: 1px solid #e5e9f2;
    border-radius: 8px;
    padding: 26px;
    margin-bottom: 24px;
}

.sa-job-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.sa-job-head h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.sa-job-tags {
    display: inline-flex;
    gap: 8px;
}

.sa-job-tag {
    background: rgba(99, 102, 241, 0.12);
    color: var(--sa-primary-dark);
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 12px;
    white-space: nowrap;
}

.sa-job-card p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 18px;
}

.sa-job-card .btn {
    border-radius: 6px;
    padding: 9px 26px;
    font-weight: 600;
}

/* FAQ page */
.sa-faq-page {
    background: var(--sa-white);
    padding: 55px 0 80px;
}

.sa-faq-group-title {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin: 30px 0 15px;
}

.sa-faq-group-title:first-child {
    margin-top: 0;
}

.sa-faq-page .sa-faq-item {
    background: var(--sa-white);
    border: 1px solid #e5e9f2;
    border-radius: 8px;
    margin-bottom: 12px;
}

.sa-faq-more {
    text-align: center;
    color: #64748b;
    font-size: 14.5px;
    margin-top: 30px;
}

/* Responsive */
@media (max-width: 767px) {
    .sa-post-card-horizontal .sa-post-thumb {
        width: 130px;
    }

    .sa-blogpost {
        padding: 20px;
    }

    .sa-blogpost-image {
        margin: -20px -20px 20px;
    }
}

/* Legal pages — section index and numbered clauses */
.sa-legal-index {
    background: #f6f7fb;
    border: 1px solid #e5e9f2;
    border-radius: 8px;
    padding: 22px 26px;
    margin-bottom: 35px;
}

.sa-legal-index h4 {
    margin-top: 0;
    font-size: 16px;
}

.sa-legal-index ul {
    columns: 2;
    column-gap: 40px;
    margin: 0;
    padding-left: 20px;
}

.sa-legal-index li {
    font-size: 13.5px;
    margin-bottom: 6px;
    break-inside: avoid;
}

.sa-legal p strong {
    color: #0f172a;
}

@media (max-width: 767px) {
    .sa-legal-index ul {
        columns: 1;
    }
}

/* Buy modal — payment note (single payment method) */
.buy-payment-note {
    font-size: 14px;
    color: #475569;
    background: #eef2ff;
    border: 1px solid #dfe5fb;
    border-radius: 6px;
    padding: 10px 14px;
    margin-bottom: 15px;
}
.buy-payment-note i {
    color: var(--sa-primary);
    font-size: 16px;
    margin-right: 6px;
}

/* Footer — legal entity and address */
.sa-footer-address {
    font-size: 12px;
    color: #94a3b8;
    margin: 4px 0 0;
}

/* =====================================================
   SAMBENEW — Theme 2026 refresh: modern indigo
   (final cascade layer — overrides the rules above)
   ===================================================== */

/* ---------- Global ---------- */
::selection {
    background: rgba(99, 102, 241, 0.22);
}

a {
    color: var(--sa-primary);
    font-weight: 500;
}

a:hover {
    color: var(--sa-primary-2);
}

.btn:focus-visible,
a:focus-visible,
button:focus-visible {
    outline: 3px solid rgba(99, 102, 241, 0.45);
    outline-offset: 2px;
}

.form-control:focus {
    border-color: #a5b4fc;
    box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.15);
}

/* ---------- Buttons ---------- */
.btn-sa {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border: none;
    box-shadow: 0 6px 18px rgba(99, 102, 241, 0.35);
}

.btn-sa:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: var(--sa-white);
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(99, 102, 241, 0.45);
}

.btn-sa-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.85);
    color: var(--sa-white);
}

.btn-sa-outline:hover {
    background: var(--sa-white);
    color: var(--sa-primary-dark);
}

.sa-btn-green {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: var(--sa-white);
    border: none;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

.sa-btn-green:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: var(--sa-white);
    box-shadow: 0 8px 22px rgba(99, 102, 241, 0.45);
}

.sa-btn-join {
    border: 2px solid rgba(255, 255, 255, 0.75);
    color: var(--sa-white);
    border-radius: 50px;
}

.sa-btn-join:hover,
.sa-btn-join:focus {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-color: transparent;
    color: var(--sa-white);
}

.btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-color: transparent;
    color: var(--sa-white);
    font-weight: 600;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled).active {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    border-color: transparent;
    color: var(--sa-white);
    box-shadow: 0 6px 18px rgba(99, 102, 241, 0.4);
}

.sa-btn-light {
    background: var(--sa-white);
    color: var(--sa-primary-dark);
    border-radius: 50px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.25);
}

.sa-btn-light:hover {
    background: #eef2ff;
    color: var(--sa-primary-dark);
}

/* ---------- Top bar ---------- */
.sa-topbar {
    background: #0b1120;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sa-topbar-tagline {
    color: rgba(255, 255, 255, 0.72);
}

.sa-topbar-btn {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: var(--sa-white);
    border-radius: 50px;
    font-weight: 600;
}

.sa-topbar-btn:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: var(--sa-white);
}

/* ---------- Header (deep navy, sticky) ---------- */
.sa-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: var(--sa-header-bg);
    border-bottom: none;
    box-shadow: 0 2px 12px rgba(2, 6, 23, 0.25);
}

.sa-header.scrolled {
    background: var(--sa-header-bg);
    box-shadow: 0 8px 28px rgba(2, 6, 23, 0.45);
}

.sa-header-inner {
    padding: 14px 15px;
}

.sa-logo img {
    max-height: 46px;
}

.sa-header-search .form-control {
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.16);
    border-right: none;
    color: var(--sa-white);
    border-radius: 24px 0 0 24px;
}

.sa-header-search .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.sa-header-search .form-control:focus {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(165, 180, 252, 0.85);
    box-shadow: none;
    color: var(--sa-white);
}

.sa-header-search .btn {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border: none;
    color: var(--sa-white);
    border-radius: 0 24px 24px 0;
}

.sa-header-search .btn:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: var(--sa-white);
}

.sa-header .navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 8px;
}

.sa-header .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(255, 255, 255, 0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* User dropdown stays a light card */
.sa-user-menu .dropdown-toggle {
    color: var(--sa-white);
}

.sa-user-menu .dropdown-menu {
    border: 1px solid var(--sa-border);
    border-radius: 12px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
    overflow: hidden;
}

.sa-user-menu .dropdown-item {
    color: var(--sa-text);
    font-weight: 500;
}

.sa-user-menu .dropdown-item i {
    color: var(--sa-primary);
}

.sa-user-menu .dropdown-item:hover {
    background: var(--sa-primary-soft);
    color: var(--sa-primary-dark);
}

/* ---------- Category navigation ---------- */
.sa-catnav {
    background: #0b1120;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sa-catnav-link {
    color: rgba(255, 255, 255, 0.62);
    font-weight: 500;
}

.sa-catnav-link:hover {
    color: var(--sa-white);
}

.sa-catnav-link.active {
    color: var(--sa-white);
    border-bottom-color: #818cf8;
    background: rgba(99, 102, 241, 0.14);
    font-weight: 600;
}

.sa-catnav .nav-item + .nav-item .sa-catnav-link {
    border-left: 1px solid rgba(255, 255, 255, 0.09);
}

.sa-catnav-scroll::-webkit-scrollbar {
    height: 6px;
}

.sa-catnav-scroll::-webkit-scrollbar-thumb {
    background: rgba(129, 140, 248, 0.45);
    border-radius: 3px;
}

@media (max-width: 991px) {
    .sa-catnav .navbar-collapse {
        background: #0b1120;
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 12px;
        padding: 10px;
        margin: 10px 0;
    }

    .sa-catnav .nav-item + .nav-item .sa-catnav-link {
        border-left: none;
    }

    .sa-catnav-link.active {
        border-bottom-color: transparent;
        border-left-color: #818cf8;
        border-radius: 8px;
    }
}

/* ---------- Hero (index) ---------- */
.sa-hero-light {
    background:
        radial-gradient(900px 420px at 85% -10%, rgba(139, 92, 246, 0.45), transparent 60%),
        radial-gradient(700px 400px at -10% 110%, rgba(99, 102, 241, 0.35), transparent 55%),
        linear-gradient(135deg, #1e1b4b 0%, #312e81 40%, #4f46e5 75%, #6d28d9 100%);
    padding: 96px 0 100px;
}

.sa-hero-light h1 {
    color: var(--sa-white);
    font-size: 46px;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 20px rgba(2, 6, 23, 0.25);
}

.sa-hero-sub {
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
}

.sa-hero-light .sa-search-hero .form-control {
    height: 60px;
    background: var(--sa-white);
    border: none;
    border-radius: 30px 0 0 30px;
    box-shadow: 0 14px 36px rgba(2, 6, 23, 0.3);
    font-size: 15px;
}

.sa-hero-light .sa-search-hero .btn {
    border-radius: 0 30px 30px 0;
    box-shadow: 0 14px 36px rgba(2, 6, 23, 0.3);
    padding: 0 34px;
}

.sa-hero-light .sa-popular-searches {
    color: rgba(255, 255, 255, 0.65);
}

.sa-hero-light .sa-popular-searches a {
    color: var(--sa-white);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.sa-hero-light .sa-popular-searches a:hover {
    color: #c7d2fe;
}

.sa-collage-card {
    background: var(--sa-white);
    border-radius: 14px;
    padding: 9px;
    box-shadow: 0 22px 48px rgba(2, 6, 23, 0.38);
}

.sa-collage-card img {
    border-radius: 8px;
}

/* ---------- Page banner (bg-gradient) ---------- */
.sa-section-title.bg-gradient {
    background:
        radial-gradient(800px 320px at 90% -30%, rgba(139, 92, 246, 0.5), transparent 60%),
        linear-gradient(120deg, #312e81 0%, #4f46e5 50%, #7c3aed 100%);
    padding: 84px 0 64px;
}

.sa-section-title.bg-gradient h1,
.sa-section-title.bg-gradient h2 {
    color: var(--sa-white);
    font-weight: 800;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 16px rgba(2, 6, 23, 0.2);
}

.sa-section-title.bg-gradient p {
    color: rgba(255, 255, 255, 0.85);
}

/* Section titles: gradient underline accent */
.sa-section-title h1::after,
.sa-section-title h2::after {
    content: '';
    display: block;
    width: 72px;
    height: 4px;
    border-radius: 2px;
    margin: 14px auto 0;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
}

.sa-section-title p {
    margin-top: 12px;
}

.sa-section-title.bg-gradient h1::after,
.sa-section-title.bg-gradient h2::after {
    background: rgba(255, 255, 255, 0.85);
}

.sa-section-title h1,
.sa-section-title h2,
.sa-category-intro h1 {
    color: #0f172a;
}

.sa-section-head h2::after {
    content: '';
    display: block;
    width: 56px;
    height: 4px;
    border-radius: 2px;
    margin-top: 10px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
}

/* ---------- Value band / promo ---------- */
.sa-value-band {
    background: var(--sa-white);
    border-bottom: 1px solid var(--sa-border);
}

.sa-value-item i {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.sa-value-item h4 {
    color: #0f172a;
}

.sa-promo-box {
    background:
        radial-gradient(600px 260px at 100% 0%, rgba(139, 92, 246, 0.5), transparent 55%),
        linear-gradient(120deg, #0f172a 0%, #312e81 55%, #4f46e5 100%);
    border-radius: 20px;
    box-shadow: 0 26px 60px rgba(30, 27, 75, 0.35);
}

.sa-promo-text p {
    color: rgba(199, 210, 254, 0.9);
}

/* ---------- Category grid & pills ---------- */
.sa-catgrid-section {
    background: var(--sa-bg);
}

.sa-cat-tile {
    border: 1px solid var(--sa-border);
    border-radius: 14px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.sa-cat-tile:hover {
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.1);
    border-color: #c7d2fe;
}

.sa-cat-tile-info h3 a {
    color: #0f172a;
}

.sa-cat-tile-info h3 a:hover {
    color: var(--sa-primary);
}

.sa-cat-tile-thumb img {
    border-radius: 10px;
    border: 1px solid var(--sa-border);
}

.sa-cat-pill {
    border: 2px solid var(--sa-border);
    border-radius: 50px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.sa-cat-pill:hover {
    border-color: var(--sa-primary);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.18);
}

.sa-cat-pill i {
    color: var(--sa-primary);
}

.sa-cat-pill:hover i {
    color: var(--sa-primary-2);
}

.sa-cat-count {
    background: var(--sa-primary-soft);
    color: var(--sa-primary-dark);
    font-weight: 600;
}

/* ---------- Feature / step / CTA / FAQ ---------- */
.sa-features {
    background: var(--sa-white);
}

.sa-feature-card {
    background: var(--sa-card);
    border: 1px solid var(--sa-border);
    border-radius: 14px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.sa-feature-card:hover {
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.1);
    border-color: #c7d2fe;
}

.sa-step-icon {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.sa-cta h2,
.sa-howitworks h2 {
    font-weight: 800;
    letter-spacing: -0.5px;
}

.sa-faq-item {
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(30, 27, 75, 0.18);
}

.sa-faq-icon::before,
.sa-faq-icon::after {
    background: var(--sa-primary);
}

.sa-faq-body {
    color: #475569;
}

/* Slider */
.sa-slider-arrow {
    border: 2px solid var(--sa-primary);
    color: var(--sa-primary);
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.1);
}

.sa-slider-arrow:hover {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-color: transparent;
    color: var(--sa-white);
}

.sa-slider-dot.active {
    background: var(--sa-primary);
}

/* ---------- Product / item cards ---------- */
.sa-product-card,
.sa-item-card {
    background: var(--sa-card);
    border: 1px solid var(--sa-border);
    border-radius: 14px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.sa-item-card:hover,
.sa-product-card:hover {
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
    border-color: #c7d2fe;
}

.sa-item-thumb {
    border-bottom: none;
}

.sa-item-card .sa-product-title a {
    color: #0f172a;
}

.sa-item-card .sa-product-title a:hover {
    color: var(--sa-primary);
}

.sa-item-author,
.sa-item-sales,
.sa-item-card .sa-product-code {
    color: #94a3b8;
}

.sa-item-rating {
    color: var(--sa-amber);
    letter-spacing: 1px;
}

.sa-item-footer {
    border-top: 1px solid #eef1f6;
}

.sa-item-footer .sa-product-price {
    background: var(--sa-primary-soft);
    color: var(--sa-primary-dark);
    font-size: 14px;
    font-weight: 800;
    border-radius: 50px;
    padding: 5px 14px;
}

.sa-item-footer .btn {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border: none;
    color: var(--sa-white);
    border-radius: 50px;
    padding: 7px 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
    transition: all 0.25s ease;
}

.sa-item-footer .btn:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: var(--sa-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.45);
}

.sa-item-badge {
    border-radius: 50px;
    letter-spacing: 0.6px;
}

.sa-badge-value {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: var(--sa-white);
}

.sa-badge-hot {
    background: var(--sa-amber);
    color: var(--sa-white);
}

.sa-product-price {
    color: var(--sa-primary-dark);
}

.sa-product-title {
    color: var(--sa-primary-dark);
}

.sa-product-icon {
    color: var(--sa-primary);
}

.sa-hscroll::-webkit-scrollbar-thumb {
    background: #c7d2fe;
    border-radius: 4px;
}

.sa-scroll-btn:hover {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-color: transparent;
    color: var(--sa-white);
}

.sa-scroll-nav .sa-scroll-btn {
    color: #475569;
}

.sa-creator {
    background: var(--sa-white);
}

.sa-creator h2 {
    color: #0f172a;
    letter-spacing: -0.5px;
}

.sa-creator-since i {
    color: var(--sa-accent);
}

/* Bundle banner */
.sa-bundle-banner {
    padding: 72px 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.sa-bundle-inner h2 {
    font-weight: 800;
    letter-spacing: -0.5px;
}

/* ---------- Sidebar / filters ---------- */
.sa-sidebar-block {
    border: 1px solid var(--sa-border);
    border-radius: 14px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.sa-sidebar-block h5 {
    color: #0f172a;
}

.sa-sidebar-block .form-control {
    border: 2px solid #e2e8f0;
    border-radius: 10px;
}

.sa-sidebar-block .form-control:focus {
    border-color: var(--sa-primary);
    box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.15);
}

.sa-sidebar-cats a {
    border-radius: 10px;
    color: #334155;
}

.sa-sidebar-cats a i {
    color: var(--sa-primary);
}

.sa-sidebar-cats a:hover {
    background: var(--sa-primary-soft);
    color: var(--sa-primary-dark);
}

.sa-sidebar-cats a.active {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: var(--sa-white);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
}

.sa-sidebar-cats a.active i {
    color: var(--sa-white);
}

.sa-price-filter input,
.payment-method input[type="radio"] {
    accent-color: var(--sa-primary);
}

.sa-sort-select {
    border: 1px solid var(--sa-border);
    border-radius: 10px;
}

.sa-grid-count,
.sa-filter-count {
    color: #94a3b8;
}

/* ---------- Auth pages ---------- */
.sa-auth-section {
    background:
        radial-gradient(1000px 480px at 85% -10%, rgba(139, 92, 246, 0.16), transparent 60%),
        radial-gradient(800px 420px at -10% 110%, rgba(99, 102, 241, 0.14), transparent 55%),
        linear-gradient(180deg, #eef2ff 0%, #f6f7fb 100%);
    padding: 64px 0 110px;
}

.sa-auth-card {
    background: var(--sa-card);
    border: none;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.13);
    padding: 42px;
}

.sa-auth-card h2 {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.5px;
}

.sa-auth-sub {
    color: #64748b;
}

.sa-auth-card .form-control {
    height: 48px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
}

.sa-auth-card .form-control:focus {
    border-color: var(--sa-primary);
    box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.15);
}

.sa-auth-card label {
    color: #334155;
}

.sa-auth-card .btn {
    border-radius: 50px;
    padding: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.sa-auth-alt {
    color: #64748b;
}

.sa-auth-alt a {
    color: var(--sa-primary);
    font-weight: 600;
}

.sa-auth-alt a:hover {
    color: var(--sa-primary-2);
}

.sa-2fa-box {
    background: var(--sa-primary-soft);
    border: 1px solid #c7d2fe;
    border-radius: 14px;
}

.sa-2fa-step {
    color: #1e293b;
}

.sa-2fa-secret {
    color: #0f172a;
}

/* ---------- Account ---------- */
.sa-account-section {
    background: var(--sa-bg);
}

.sa-account-card {
    border: 1px solid var(--sa-border);
    border-radius: 14px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.sa-account-card h3 {
    color: #0f172a;
}

.sa-account-card h3 i {
    color: var(--sa-primary);
}

.sa-account-avatar i {
    color: var(--sa-primary);
    background: var(--sa-primary-soft);
    border-radius: 50%;
    padding: 18px;
}

.sa-account-since i {
    color: var(--sa-accent);
}

.sa-orders-table thead th {
    color: #94a3b8;
}

.sa-status-paid {
    background: rgba(16, 185, 129, 0.13);
    color: #047857;
}

.sa-status-pending {
    background: rgba(245, 158, 11, 0.15);
    color: #b45309;
}

.sa-account-empty {
    color: #64748b;
}

/* ---------- Item detail page ---------- */
.sa-item-page {
    background: var(--sa-bg);
}

.sa-breadcrumb .breadcrumb-item a {
    color: #64748b;
}

.sa-breadcrumb .breadcrumb-item a:hover {
    color: var(--sa-primary);
}

.sa-item-main {
    border: 1px solid var(--sa-border);
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.sa-item-main h1 {
    color: #0f172a;
    letter-spacing: -0.5px;
}

.sa-item-cat {
    color: var(--sa-primary);
    font-weight: 600;
}

.sa-item-preview {
    border-radius: 12px;
}

.sa-item-tabs {
    border-bottom: 2px solid #eef1f6;
}

.sa-item-tabs .nav-link {
    color: #64748b;
}

.sa-item-tabs .nav-link:hover {
    color: #0f172a;
}

.sa-item-tabs .nav-link.active {
    color: var(--sa-primary-dark);
    border-bottom-color: var(--sa-primary);
    border-bottom-width: 3px;
}

.sa-item-tab-content {
    color: #334155;
}

.sa-feature-list i {
    color: var(--sa-accent);
}

.sa-review-name {
    color: #0f172a;
}

.sa-item-buy-card {
    border: 1px solid var(--sa-border);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.sa-item-buy-card .sa-product-title {
    color: #0f172a;
}

.sa-item-buy-price-row .sa-product-price {
    color: var(--sa-primary-dark);
}

.sa-item-buy-price-row .btn {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border: none;
    border-radius: 50px;
    padding: 11px 30px;
    box-shadow: 0 6px 18px rgba(99, 102, 241, 0.4);
}

.sa-item-buy-price-row .btn:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(99, 102, 241, 0.5);
}

.sa-item-meta-list li {
    color: #94a3b8;
}

.sa-item-meta-list strong {
    color: #334155;
}

.buy-product-price {
    color: var(--sa-primary-dark);
}

.payment-method {
    border: 1px solid var(--sa-border);
    border-radius: 12px;
}

.payment-method:hover {
    border-color: var(--sa-primary);
    background: var(--sa-primary-soft);
}

.payment-method i {
    color: var(--sa-primary);
}

.buy-payment-note {
    background: var(--sa-primary-soft);
    border: 1px solid #c7d2fe;
    color: #334155;
}

.buy-payment-note i {
    color: var(--sa-primary);
}

/* ---------- Contact ---------- */
.sa-contact-form {
    background: var(--sa-bg);
}

.sa-company-card {
    border: 1px solid var(--sa-border);
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.sa-company-name {
    color: #0f172a;
}

.sa-company-details li i {
    color: var(--sa-primary);
}

.sa-company-details a {
    color: var(--sa-primary);
}

.sa-company-note {
    background: var(--sa-bg);
    color: #64748b;
}

/* ---------- Blog ---------- */
.sa-blog-section,
.sa-blogpost-section {
    background: var(--sa-bg);
}

.sa-post-card {
    border: 1px solid var(--sa-border);
    border-radius: 14px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.sa-post-card:hover {
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.1);
    border-color: #c7d2fe;
}

.sa-post-cat {
    background: var(--sa-primary-soft);
    color: var(--sa-primary-dark);
}

.sa-post-body h3 a {
    color: #0f172a;
}

.sa-post-body h3 a:hover {
    color: var(--sa-primary);
}

.sa-post-excerpt {
    color: #64748b;
}

.sa-post-more {
    color: var(--sa-primary);
}

.sa-blogpost {
    border: 1px solid var(--sa-border);
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.sa-related h2 {
    color: #0f172a;
}

/* ---------- About / careers / FAQ / legal ---------- */
.sa-stats-band {
    background: var(--sa-bg);
    border-top: 1px solid var(--sa-border);
    border-bottom: 1px solid var(--sa-border);
}

.sa-stat-value {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.sa-stat-label {
    color: #64748b;
}

.sa-offer-card,
.sa-benefit-card {
    border: 1px solid var(--sa-border);
    border-radius: 14px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.sa-offer-card:hover,
.sa-benefit-card:hover {
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.1);
    border-color: #c7d2fe;
}

.sa-offer-card i,
.sa-benefit-card i {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.sa-offer-card h4,
.sa-benefit-card h4 {
    color: #0f172a;
}

.sa-offer-card p,
.sa-benefit-card p {
    color: #64748b;
}

.sa-story-section,
.sa-jobs-section {
    background: var(--sa-bg);
}

.sa-company-block {
    background:
        radial-gradient(700px 300px at 90% 0%, rgba(99, 102, 241, 0.25), transparent 60%),
        var(--sa-navy);
}

.sa-company-inner h3 {
    color: var(--sa-white);
}

.sa-company-contact i {
    color: #818cf8;
}

.sa-job-card {
    border: 1px solid var(--sa-border);
    border-radius: 14px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.sa-job-head h3 {
    color: #0f172a;
}

.sa-job-tag {
    background: var(--sa-primary-soft);
    color: var(--sa-primary-dark);
}

.sa-faq-group-title {
    color: #0f172a;
}

.sa-faq-page .sa-faq-item {
    border: 1px solid var(--sa-border);
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.sa-legal-index {
    background: #f8faff;
    border: 1px solid var(--sa-border);
    border-radius: 14px;
}

.sa-legal-index h4 {
    color: #0f172a;
}

.sa-legal h3 {
    color: #0f172a;
}

.sa-legal p strong {
    color: #0f172a;
}

/* ---------- Footer (deep navy) ---------- */
.sa-footer {
    background:
        radial-gradient(900px 300px at 15% 0%, rgba(99, 102, 241, 0.14), transparent 60%),
        var(--sa-navy);
    color: #94a3b8;
    padding: 65px 0 0;
}

.sa-footer h5 {
    color: var(--sa-white);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 18px;
}

.sa-footer-cols a {
    color: #94a3b8;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.sa-footer-cols a:hover {
    color: #c7d2fe;
    padding-left: 3px;
}

.sa-footer-bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.15);
    padding: 22px 0;
}

.sa-footer-copyright p {
    color: #94a3b8;
}

.sa-footer-address {
    color: #64748b;
}

.sa-payment-icons i {
    color: #64748b;
    transition: color 0.2s ease;
}

.sa-payment-icons i:hover {
    color: var(--sa-white);
}

/* ---------- Responsive polish ---------- */
@media (max-width: 991px) {
    .sa-hero-light {
        padding: 64px 0 70px;
    }

    .sa-hero-light h1 {
        font-size: 32px;
    }
}

@media (max-width: 767px) {
    .sa-hero-light {
        padding: 52px 0 60px;
    }

    .sa-hero-light h1 {
        font-size: 27px;
    }

    .sa-auth-section {
        padding: 44px 0 80px;
    }

    .sa-auth-card {
        padding: 30px 22px;
    }

    .sa-section-title.bg-gradient {
        padding: 60px 0 48px;
    }

    .sa-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}
