:root {
    /* Primary Colors - Red Theme */
    --primary-color: #dc143c;
    --primary-hover: #a00000;
    --primary-light: #ff4757;

    /* Neutral Colors - Black and White */
    --text-primary: #000000;
    --text-secondary: #333333;
    --text-light: #666666;

    /* Background Colors */
    --bg-white: #ffffff;
    --bg-light: #f5f5f5;
    --bg-gray: #e8e8e8;
    --bg-border: #d0d0d0;
    --bg-dark: #000000;

    /* Accent Colors */
    --accent-success: #dc143c;
    --accent-error: #8b0000;
    --accent-warning: #dc143c;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 12px 24px -4px rgba(0, 0, 0, 0.12);

    /* Bootstrap overrides */
    --bs-primary-rgb: #dc143c;
    --bs-btn-bg: #dc143c;
    --bs-pagination-active-bg: #dc143c !important;
    --bs-pagination-active-border-color: #dc143c !important;
    --bs-dark: #000000;
    --bs-dark-rgb: 0, 0, 0;
}

@font-face {
    font-family: Poppins;
    src: url(Poppins-Medium.ttf);
}

html,
body {
    font-family: Poppins, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    overflow-x: hidden;
    color: var(--text-primary);
    background-color: var(--bg-white);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

hr {
    color: var(--bg-border);
    opacity: 1;
    margin: 2rem 0;
}

.fa,
.far,
.fas {
    font-family: "Font Awesome 5 Free";
}

.nav-link {
    padding: 0 !important;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.02em;
    transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link.active {
    color: var(--primary-color) !important;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.dropdown-item {
    font-size: 14px;
    padding: 10px 20px;
    color: var(--text-primary);
    transition: all 100ms ease;
}

.dropdown-item:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

.card-title {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: 0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 92%;
    margin: auto;
    transition: color 150ms ease;
}

.card:hover .card-title {
    color: var(--primary-color);
}

.navbar-nav {
    display: flex;
    gap: 2rem;
}

.navbar-nav .dropdown-menu {
    border-radius: 8px;
    border: 1px solid var(--bg-border);
    box-shadow: var(--shadow-lg);
    padding: 8px;
}

.bg-secondary-subtle {
    background-color: var(--bg-light) !important;
}

.bg-dark {
    background-color: var(--bg-dark) !important;
}

.bg-dark hr {
    border-color: #333333;
    opacity: 0.3;
}

.bg-dark a {
    color: #ffffff;
    transition: color 0.3s ease;
}

.bg-dark a:hover {
    color: var(--primary-color) !important;
}

footer.bg-dark {
    padding-top: 1rem;
}

footer.bg-dark .footer-about,
footer.bg-dark .mt-5 {
    font-weight: 600;
    font-size: 1.1rem;
    color: #ffffff;
}

footer.bg-dark .quick-links ul {
    list-style: none;
    padding-left: 0;
}

footer.bg-dark .quick-links li {
    margin-bottom: 0.5rem;
}

footer.bg-dark .quick-links a {
    padding: 0.25rem 0;
    display: inline-block;
}

footer.bg-dark .bi {
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

footer.bg-dark .bi:hover {
    color: var(--primary-color) !important;
    transform: scale(1.1);
}

footer.bg-dark .dropdown-item {
    color: #ffffff !important;
    padding: 0.25rem 0;
    background: transparent;
}

footer.bg-dark .dropdown-item:hover {
    color: var(--primary-color) !important;
    background: transparent;
}

@media (max-width: 1400px) and (min-width: 991px) {
    .carousel-caption {
        top: 2%;
    }
}

@media (max-width: 1400px) {
    .carousel-item {
        padding: 230px 0 !important;
        background-size: cover;
        background-position: right center;
    }

    .carousel-caption {
        transform: translate(0%, 6.5%);
        top: 9%;
    }

    .carousel-subtitle {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .carousel-title {
        font-size: 5rem;
    }

    .carousel-description {
        font-size: 1.75rem;
    }
}

@media (max-width: 767px) {
    .carousel-item {
        padding: 280px 0 !important;
    }
}

@media (min-width: 1400px) {
    .carousel-caption {
        top: 22%;
    }

    .carousel-title {
        font-size: 8rem;
    }

    .carousel-subtitle {
        font-size: 2rem;
    }

    .carousel-description {
        font-size: 2.5rem;
    }
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.text-success {
    color: var(--primary-color) !important;
}

.bg-success {
    background-color: var(--primary-color) !important;
}

.badge.bg-success {
    background-color: var(--primary-color) !important;
}

.btn-primary {
    --bs-btn-bg: var(--primary-color);
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(220, 20, 60, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(220, 20, 60, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-success {
    --bs-btn-bg: var(--primary-color);
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #ffffff !important;
}

.btn-success:hover {
    background-color: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
}

.card {
    border: 1px solid var(--bg-border);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    background-color: var(--bg-white);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--bg-border);
}

.breadcrumbs span,
.breadcrumbs a {
    color: var(--text-secondary);
    font-size: 14px;
    transition: color 150ms ease;
}

.breadcrumbs a:hover {
    color: var(--primary-color);
}

.breadcrumbs i {
    color: var(--text-light);
    padding: 0 7px;
}

.pagination-container #w0 {
    display: flex;
    justify-content: center;
}

.active>.page-link,
.page-link.active {
    z-index: 3;
    color: #fff;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.page-link {
    color: var(--primary-color);
    border-color: var(--bg-border);
    transition: all 150ms ease;
}

.page-link:hover {
    color: var(--primary-hover);
    background-color: var(--bg-light);
    border-color: var(--bg-border);
}

.btn-primary.btn-lg {
    border: 0;
    padding: 14px 48px;
    font-size: 16px;
    border-radius: 8px;
    font-weight: 500;
}

.contact-icon {
    color: var(--primary-color);
    font-size: 20px;
    transition: all 200ms ease;
}

.contact-icon:hover {
    color: var(--primary-hover);
    transform: scale(1.1);
}

.carousel-item {
    padding: 350px 0;
    position: relative;
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
}

.carousel-item::before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgb(21, 20, 28, 0.5);
    opacity: 0.9;
}

.read-more {
    position: absolute;
    bottom: 18px;
    left: 25px;
    color: #FFF;
}

.products-box::before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgb(21, 20, 28, 0.5);
    opacity: 0.9;
}

.readmore-btn {
    padding: 10px 16px;
    border-radius: 4px;
}

.login-page {
    max-width: 500px;
    margin: auto;
}

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

@media (max-width: 992px) {
    .direction-column-mobile {
        flex-direction: column;
    }

    .footer-margin {
        margin-bottom: 0px !important;
    }

    .footer-about {
        margin-top: 2rem !important;
    }


}

* {
    box-sizing: border-box;
}

.search-box {
    width: fit-content;
    height: fit-content;
    position: relative;
}

.input-search {
    height: 40px;
    width: 40px;
    border-style: none;
    padding: 0px;
    font-size: 16px;
    letter-spacing: 0.5px;
    outline: none;
    border-radius: 25px;
    transition: all 350ms cubic-bezier(0.4, 0, 0.2, 1);
    background-color: var(--bg-light);
    padding-right: 40px;
    color: var(--text-primary);
}

.input-search::placeholder {
    font-size: 14px;
    letter-spacing: 0.3px;
    font-weight: 400;
    color: var(--text-light);
}

.btn-search {
    width: 40px;
    height: 40px;
    border-style: none;
    font-size: 20px;
    font-weight: bold;
    outline: none;
    cursor: pointer;
    border-radius: 50%;
    position: absolute;
    right: 0px;
    color: #ffffff;
    background-color: transparent;
    pointer-events: painted;
}

.btn-search:focus~.input-search {
    width: 300px;
    border-radius: 24px;
    background-color: var(--bg-white);
    border: 2px solid var(--primary-color);
    padding-left: 16px;
    transition: all 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-search:focus .fa-search, :has(.input-search:focus) .fa-search {
    color: var(--primary-color);
}

.input-search:focus {
    width: 300px;
    border-radius: 24px;
    background-color: var(--bg-white);
    border: 2px solid var(--primary-color);
    padding-left: 16px;
    transition: all 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.search-container {
    border-right: 1px solid var(--bg-border);
    padding-right: 1.2rem;
}

@media (min-width: 992px) {
    .m-footer-padding {
        padding-left: 3rem !important;
    }
}

@media (max-width: 992px) {
    .search-container {
        margin-bottom: 2.2rem;
    }
}
#scroll-to-order-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;

}


.overflow-auto::-webkit-scrollbar {
    height: 6px;
}

.overflow-auto::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.overflow-auto::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.overflow-auto::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Active thumbnail highlight */
.thumbnail-img.active {
    border: 3px solid var(--primary-color) !important;
    box-shadow: 0 0 0 1px var(--primary-color);
}

.thumbnail-img {
    border: 2px solid var(--bg-border);
    border-radius: 8px;
    transition: all 200ms ease;
    cursor: pointer;
}

.thumbnail-img:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.h-100{
    height: normal !important;
}

/* Product Cards Styles */
.card .position-relative.overflow-hidden {
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-light);
    transition: background-color 200ms ease;
}

.card:hover .position-relative.overflow-hidden {
    background-color: var(--bg-gray);
}

.product-image {
    object-fit: contain;
    max-height: 100%;
    width: auto !important;
}

.card-title {
    min-height: 2.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Mobile horizontal scroll for products */
@media (max-width: 767px) {
    .row.g-4 {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        padding-bottom: 1rem;
    }

    .row.g-4::-webkit-scrollbar {
        height: 8px;
    }

    .row.g-4::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
    }

    .row.g-4::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 10px;
    }

    .row.g-4::-webkit-scrollbar-thumb:hover {
        background: #555;
    }

    .row.g-4 > div {
        flex: 0 0 85%;
        max-width: 85%;
        scroll-snap-align: start;
    }
}

/* Additional Modern Improvements */

/* Form inputs */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
textarea,
select {
    border: 1px solid var(--bg-border);
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 15px;
    transition: all 150ms ease;
    color: var(--text-primary);
    background-color: var(--bg-white);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 128, 96, 0.1);
}

/* Badges and labels */
.badge {
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* Alerts */
.alert {
    border-radius: 8px;
    border: 1px solid;
    padding: 16px 20px;
}

.alert-success {
    background-color: rgba(0, 128, 96, 0.1);
    border-color: var(--accent-success);
    color: var(--primary-hover);
}

.alert-danger {
    background-color: rgba(215, 44, 13, 0.1);
    border-color: var(--accent-error);
    color: #bf0711;
}

/* Tables */
.table {
    color: var(--text-primary);
}

.table thead th {
    border-bottom: 2px solid var(--bg-border);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.table tbody tr {
    border-bottom: 1px solid var(--bg-border);
    transition: background-color 150ms ease;
}

.table tbody tr:hover {
    background-color: var(--bg-light);
}

/* Modal improvements */
.modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: var(--shadow-lg);
}

.modal-header {
    border-bottom: 1px solid var(--bg-border);
    padding: 20px 24px;
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    border-top: 1px solid var(--bg-border);
    padding: 16px 24px;
}

/* Loading states */
.spinner-border {
    border-color: var(--primary-color);
    border-right-color: transparent;
}

/* Focus states for accessibility */
*:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Price styling */
.price {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 18px;
}

.original-price {
    color: var(--text-light);
    text-decoration: line-through;
    font-size: 14px;
}

/* Product category tags */
.category-tag {
    display: inline-block;
    padding: 6px 14px;
    background-color: var(--bg-light);
    color: var(--text-secondary);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    transition: all 150ms ease;
}

.category-tag:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-1px);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection styling */
::selection {
    background-color: rgba(0, 128, 96, 0.2);
    color: var(--text-primary);
}

/* Creative homepage enhancements */
.home-hero-section {
    background: #fff;
}

.swiper-hero {
    padding-bottom: 0;
}

.hero-hero .hero-slide {
    height: clamp(240px, 48vw, 720px);
    padding: 0;
}

.hero-image-frame {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #fff;
}

.hero-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.category-card { position: relative; overflow: hidden; border-radius: 12px; }
.category-card img{ height:220px; object-fit:cover; width:100%; display:block; border-radius: 12px; }
.category-card .read-more{ position: absolute; bottom: 12px; left: 12px; background: rgba(0,0,0,0.45); padding: 10px 16px; border-radius: 6px; }

.promo-banners{ display:flex; gap:16px; margin-top:32px; }
.promo-banner{ flex:1; background-size:cover; background-position:center; border-radius:12px; padding:40px; color:#fff; position:relative; min-height:180px; display:flex; align-items:center; }
.promo-banner .badge{ background: rgba(255,255,255,0.12); padding:6px 10px; border-radius:6px; font-weight:600; color:#fff; }

.testimonial-card{ background:#fff; border-radius:12px; padding:20px; box-shadow: var(--shadow-sm); min-height:160px; }
.testimonial-name{ font-weight:700; margin-top:12px; }

.newsletter{ background: linear-gradient(90deg,var(--primary-color), var(--primary-light)); color:#fff; padding:40px; border-radius:12px; margin-top:32px; }
.newsletter .form-control{ max-width:420px; display:inline-block; }
.newsletter .btn{ vertical-align:top; }

.add-to-cart{ transition: transform .2s ease, box-shadow .2s ease; }
.add-to-cart.adding{ transform: translateY(-4px); box-shadow: var(--shadow-hover); }

@media (max-width: 767px) {
    .promo-banners{ flex-direction: column; }
    .hero-hero .hero-slide { height: clamp(190px, 58vw, 360px); }
    .carousel-title { font-size: 1.6rem !important; }
}

@media (min-width:768px) and (max-width: 1199px) {
    .hero-hero .hero-slide { height: clamp(320px, 50vw, 560px); }
    .carousel-title { font-size: 2.8rem !important; }
}

@media (min-width:1200px) {
    .carousel-title { font-size: 3.8rem !important; }
}

/* New sections styling */
.list-collections img{ width:64px; height:64px; border-radius:8px; }
.brand-pill{ width:140px; height:60px; border-radius:10px; background:#fff; display:flex; align-items:center; justify-content:center; box-shadow: var(--shadow-sm); font-weight:700; }
.brands-swiper .swiper-slide{ display:flex; align-items:center; justify-content:center; }
.faq-question{ font-weight:600; }
.faq-answer{ border-radius:8px; }
.bg-light{ background-color: #fbfbfc !important; }

/* ===================================================
   PLATFORM POSITIONING SECTION STYLES
   =================================================== */

/* Stats Bar */
.platform-stats-bar {
    background: linear-gradient(135deg, #000000 0%, #dc143c 50%, #a00000 100%);
    color: #fff;
}
.stat-item { padding: 8px 0; }
.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -1px;
    color: #fff;
}
.stat-label {
    font-size: 0.78rem;
    font-weight: 500;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

/* Main Positioning Section */
.platform-positioning {
    background: var(--bg-light);
}
.py-6 { padding-top: 4rem !important; padding-bottom: 4rem !important; }
.mb-6 { margin-bottom: 4rem !important; }

.platform-badge {
    display: inline-block;
    background: linear-gradient(135deg, #dc143c, #a00000);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 50px;
}
.platform-main-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.25;
}
.platform-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 1rem auto 0;
}
.section-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* How It Works Steps */
.step-block {
    padding: 20px 10px;
}
.step-icon-wrap {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #dc143c, #a00000);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 1.6rem;
    color: #fff;
    box-shadow: 0 4px 14px rgba(220,20,60,0.3);
}
.step-icon-success {
    background: linear-gradient(135deg, #000000, #333333) !important;
    box-shadow: 0 4px 14px rgba(0,0,0,0.3) !important;
}
.step-number {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--primary-color);
    text-transform: uppercase;
    margin-bottom: 6px;
}
.step-title {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 6px;
}
.step-desc {
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}
.step-arrow { color: var(--primary-color); min-width: 40px; }

/* Core Feature Cards */
.feature-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px;
    border: 1px solid var(--bg-border);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}
.feature-icon-wrap {
    width: 54px;
    height: 54px;
    background: color-mix(in srgb, var(--icon-color) 15%, transparent);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--icon-color);
    margin-bottom: 16px;
}
.feature-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}
.feature-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Countries Grid */
.countries-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.country-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1.5px solid var(--bg-border);
    border-radius: 50px;
    padding: 8px 18px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.country-pill:hover {
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0,128,96,0.15);
}
.country-flag-img {
    width: 28px;
    height: 20px;
    object-fit: cover;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    flex-shrink: 0;
}

/* Revenue CTA Banner */
.revenue-cta {
    background: linear-gradient(135deg, #000000 0%, #dc143c 60%, #a00000 100%);
    border-radius: 20px;
    padding: 40px 40px;
    color: #fff;
}
.revenue-cta-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}
.revenue-cta-desc {
    font-size: 0.95rem;
    opacity: 0.88;
    max-width: 560px;
    margin: 0;
}
.cta-benefit {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
}
.btn-cta-primary {
    background: #fff;
    color: var(--primary-color);
    border: none;
    font-weight: 700;
    border-radius: 50px;
    padding: 12px 30px;
    transition: background 0.2s, transform 0.2s;
}
.btn-cta-primary:hover {
    background: #ffebee;
    color: var(--primary-hover);
    transform: translateY(-2px);
}
.btn-cta-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.6);
    font-weight: 700;
    border-radius: 50px;
    padding: 12px 30px;
    transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.btn-cta-outline:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.1);
    color: #fff;
    transform: translateY(-2px);
}

/* RTL Support for platform section */
[dir="rtl"] .step-arrow i.bi-arrow-right::before { content: "\f12f"; }
[dir="rtl"] .revenue-cta-desc { max-width: 100%; }

/* Responsive */
@media (max-width: 768px) {
    .platform-main-title { font-size: 1.55rem; }
    .stat-number { font-size: 1.6rem; }
    .revenue-cta { padding: 28px 20px; }
    .revenue-cta-title { font-size: 1.25rem; }
    .step-block { padding: 12px 6px; }
    .feature-card { padding: 20px 16px; }
    .btn-cta-primary, .btn-cta-outline { width: 100%; margin-bottom: 8px; text-align: center; }
}
/* ===== END PLATFORM POSITIONING STYLES ===== */

/* ==========================================================
   REDESIGNED LAYOUT COMPONENTS — 2026 UI/UX UPGRADE
   ========================================================== */

/* ---- Page progress bar ---- */
#page-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    z-index: 9999;
    transition: width 0.1s linear;
    pointer-events: none;
}

/* ---- Site header wrapper ---- */
#site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

#site-header.scrolled .main-navbar {
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    background: rgba(255, 255, 255, 0.88) !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.10);
}

#site-header.scrolled .topbar {
    display: none;
}

/* ---- Top bar ---- */
.topbar {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.85);
    font-size: 12.5px;
    transition: all 0.3s ease;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 36px;
    gap: 12px;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.topbar-item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: rgba(255,255,255,0.75);
    font-size: 12px;
}

.topbar-item i { color: var(--primary-color); font-size: 12px; }

.topbar-divider {
    width: 1px;
    height: 14px;
    background: rgba(255,255,255,0.2);
    display: inline-block;
}

.topbar-socials { display: flex; align-items: center; gap: 10px; }

.topbar-social-link {
    color: rgba(255,255,255,0.65);
    font-size: 13px;
    transition: color 0.2s ease, transform 0.2s ease;
    line-height: 1;
}
.topbar-social-link:hover {
    color: var(--primary-color);
    transform: translateY(-1px);
}

/* ---- Language switcher ---- */
.lang-switcher { display: flex; align-items: center; gap: 5px; }

.lang-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    color: rgba(255,255,255,0.55);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: color 0.2s;
    padding: 2px 4px;
    border-radius: 4px;
}
.lang-btn img { border-radius: 2px; box-shadow: 0 1px 3px rgba(0,0,0,0.3); }
.lang-btn:hover, .lang-btn.lang-active { color: #fff; }
.lang-sep { color: rgba(255,255,255,0.25); font-size: 11px; }

/* ---- Main navbar ---- */
.main-navbar {
    background: #fff;
    padding: 0;
    min-height: 64px;
    transition: background 0.3s ease, box-shadow 0.3s ease, min-height 0.3s ease;
}

.navbar-container {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0;
    padding-top: 0;
    padding-bottom: 0;
    min-height: 64px;
}

/* ---- Site logo ---- */
.site-logo {
    height: 44px;
    width: auto;
    display: block;
    transition: opacity 0.2s;
}
.site-logo:hover { opacity: 0.85; }

/* ---- Mobile navbar row ---- */
.navbar-mobile-row { padding: 10px 0; }
.navbar-brand-mobile { display: flex; align-items: center; }

/* ---- Icon button (cart, etc.) ---- */
.navbar-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1.25rem;
    background: transparent;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
}
.navbar-icon-btn:hover { background: var(--bg-light); color: var(--primary-color); }

/* ---- Cart badge ---- */
.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    min-width: 18px;
    height: 18px;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    border: 2px solid #fff;
    line-height: 1;
    animation: badgePop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes badgePop {
    from { transform: scale(0); }
    to   { transform: scale(1); }
}

/* ---- Hamburger toggler ---- */
.navbar-toggler-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    padding: 4px;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.2s;
}
.navbar-toggler-btn:hover { background: var(--bg-light); }
.navbar-toggler-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.25s ease;
}

/* ---- Offcanvas body flex layout ---- */
.offcanvas-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 1.25rem;
}

@media (min-width: 992px) {
    .offcanvas-body {
        flex-direction: row;
        align-items: center;
        padding: 0 0;
        gap: 1.5rem;
    }
    .navbar-container { gap: 0; }
}

/* ---- Nav cart link (desktop) ---- */
.nav-cart-link {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 1.2rem !important;
}

/* ---- Auth section ---- */
.navbar-auth { flex-shrink: 0; }

/* ---- User menu button ---- */
.user-menu-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1.5px solid var(--bg-border);
    border-radius: 50px;
    padding: 5px 12px 5px 5px;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
}
.user-menu-btn:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(220,20,60,0.08);
    background: var(--bg-light);
}

.user-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.user-name {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chevron-icon {
    font-size: 11px;
    color: var(--text-light);
    transition: transform 0.2s;
}
.user-menu-btn[aria-expanded="true"] .chevron-icon { transform: rotate(180deg); }

/* ---- User dropdown menu ---- */
.user-dropdown-menu {
    min-width: 240px;
    border: 1px solid var(--bg-border);
    border-radius: 14px;
    padding: 6px;
    margin-top: 8px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12) !important;
    animation: dropIn 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes dropIn {
    from { opacity: 0; transform: translateY(-8px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.user-info-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px 12px;
}
.user-info-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.user-info-name { font-weight: 600; font-size: 14px; line-height: 1.3; }
.user-info-email { font-size: 12px; color: var(--text-light); margin-top: 1px; }

/* ---- Dropdown items ---- */
.user-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px !important;
    border-radius: 8px;
    font-size: 13.5px;
    color: var(--text-primary);
    transition: background 0.15s;
}
.user-menu-item:hover, .user-menu-item.active {
    background: var(--bg-light);
    color: var(--primary-color);
}
.user-menu-item.active { font-weight: 600; }

.menu-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.wallet-balance {
    font-size: 11px;
    font-weight: 700;
    color: #16a34a;
    display: block;
    margin-top: 1px;
}

.logout-btn {
    background: none;
    border: none;
    width: 100%;
    text-align: start;
    cursor: pointer;
    color: var(--primary-color) !important;
    font-weight: 500;
}
.logout-btn:hover { background: #fff0f3 !important; }

/* ---- Scroll-to-top button ---- */
.scroll-top-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 990;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    border: none;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(16px) scale(0.85);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s;
    box-shadow: 0 4px 16px rgba(220,20,60,0.35);
    pointer-events: none;
}
.scroll-top-btn.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}
.scroll-top-btn:hover {
    background: var(--primary-hover);
    box-shadow: 0 6px 20px rgba(220,20,60,0.45);
    transform: translateY(-2px) scale(1.05);
}

/* ---- Footer ---- */
.site-footer { background: #0d0d0d; color: rgba(255,255,255,0.75); }

/* Newsletter strip */
.footer-newsletter {
    background: linear-gradient(135deg, #1a0a0f 0%, #2d0010 50%, #1a0a0f 100%);
    border-bottom: 1px solid rgba(220,20,60,0.2);
    padding: 32px 0;
}
.newsletter-title {
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
}
.newsletter-sub {
    color: rgba(255,255,255,0.6);
    font-size: 13.5px;
}
.newsletter-form {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.newsletter-input {
    flex: 1;
    min-width: 200px;
    background: rgba(255,255,255,0.08) !important;
    border: 1.5px solid rgba(255,255,255,0.15) !important;
    color: #fff !important;
    border-radius: 8px !important;
    padding: 10px 16px !important;
    font-size: 14px !important;
    transition: border-color 0.2s, background 0.2s !important;
}
.newsletter-input::placeholder { color: rgba(255,255,255,0.4) !important; }
.newsletter-input:focus {
    border-color: var(--primary-color) !important;
    background: rgba(255,255,255,0.12) !important;
    box-shadow: 0 0 0 3px rgba(220,20,60,0.15) !important;
    outline: none;
}
.newsletter-btn {
    white-space: nowrap;
    border-radius: 8px !important;
    padding: 10px 22px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}

/* Footer main body */
.footer-main { padding: 56px 0 40px; }

.footer-brand-link { display: inline-block; margin-bottom: 16px; }
.footer-logo { height: 42px; width: auto; filter: brightness(0) invert(1); opacity: 0.9; }

.footer-about-text {
    font-size: 13.5px;
    color: rgba(255,255,255,0.55);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-socials { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-social {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, transform 0.2s, border-color 0.2s;
}
.footer-social:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

.footer-heading {
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 10px;
}
.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
}
[dir="rtl"] .footer-heading::after { left: auto; right: 0; }

/* Contact list */
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13.5px;
    color: rgba(255,255,255,0.6);
}
.footer-contact-list li i {
    color: var(--primary-color);
    font-size: 14px;
    margin-top: 2px;
    flex-shrink: 0;
}
.footer-contact-list a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-contact-list a:hover { color: var(--primary-color); }

/* Quick links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.footer-links li a {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    padding: 4px 0;
    transition: color 0.2s, gap 0.2s;
}
.footer-links li a i { font-size: 10px; color: var(--primary-color); transition: transform 0.2s; }
.footer-links li a:hover { color: #fff; gap: 10px; }
.footer-links li a:hover i { transform: translateX(3px); }
[dir="rtl"] .footer-links li a:hover i { transform: translateX(-3px); }

/* Footer bottom */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 18px 0;
}
.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}
.footer-copy { font-size: 12.5px; color: rgba(255,255,255,0.4); }
.footer-bottom-links { display: flex; gap: 16px; }
.footer-bottom-links a {
    font-size: 12.5px;
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-bottom-links a:hover { color: var(--primary-color); }

/* ---- RTL adjustments ---- */
[dir="rtl"] .topbar-right { margin-left: 0; margin-right: auto; }
[dir="rtl"] .cart-badge { right: auto; left: -4px; }
[dir="rtl"] .scroll-top-btn { right: auto; left: 28px; }
[dir="rtl"] .user-dropdown-menu { --bs-dropdown-toggle-arrow-color: transparent; }

/* ---- Responsive tweaks ---- */
@media (max-width: 991.98px) {
    .navbar-container { padding-top: 0; padding-bottom: 0; }
    .offcanvas-body { padding: 1rem 1.25rem; }
    .footer-main { padding: 40px 0 28px; }
    .footer-newsletter { padding: 24px 0; }
    .newsletter-form { flex-direction: column; }
    .newsletter-input { min-width: unset; }
    .newsletter-btn { width: 100%; }
}

@media (max-width: 575.98px) {
    .footer-bottom-inner { flex-direction: column; text-align: center; }
    .footer-bottom-links { justify-content: center; }
    .scroll-top-btn { bottom: 18px; right: 18px; }
}


/* ---- Centered navbar search ---- */
.navbar-search-center {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
}

.navbar-search-box {
    position: relative;
    width: 100%;
    max-width: 420px;
}

.navbar-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 13px;
    pointer-events: none;
    transition: color 0.2s;
    z-index: 1;
}
[dir="rtl"] .navbar-search-icon { left: auto; right: 14px; }

.navbar-search-input {
    width: 100%;
    height: 40px;
    border: 1.5px solid var(--bg-border);
    border-radius: 50px;
    padding: 0 16px 0 38px;
    font-size: 14px;
    color: var(--text-primary);
    background: var(--bg-light);
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, width 0.3s ease;
}
[dir="rtl"] .navbar-search-input { padding: 0 38px 0 16px; }

.navbar-search-input::placeholder { color: var(--text-light); }

.navbar-search-input:focus {
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(220, 20, 60, 0.10);
}

.navbar-search-input:focus ~ .navbar-search-icon,
.navbar-search-box:focus-within .navbar-search-icon {
    color: var(--primary-color);
}

@media (max-width: 991.98px) {
    .navbar-search-center {
        padding: 0;
        justify-content: flex-start;
    }
    .navbar-search-box {
        max-width: 100%;
    }
}
