body#megastore-front {
    --mega-blue: #004ed8;
    --mega-blue-dark: #07357f;
    --mega-ink: #07142f;
    --mega-muted: #667085;
    --mega-line: #e1e8f5;
    --mega-page: #f5f8fd;
    --mega-yellow: #ffd43b;
    --mega-coral: #ff6b4a;
    --mega-mint: #10b981;
    --mega-card: #ffffff;
    color: var(--mega-ink);
    background:
        linear-gradient(180deg, #ffffff 0, #f7faff 420px, var(--mega-page) 100%);
    font-family: Inter, "Roboto-Medium", Arial, sans-serif;
}

body#megastore-front a {
    color: var(--mega-blue);
    transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

body#megastore-front a:hover {
    color: var(--mega-blue-dark);
    text-decoration: none;
}

body#megastore-front .container,
body#megastore-front .container-fluid {
    max-width: 1440px;
}

body#megastore-front .btn,
body#megastore-front button,
body#megastore-front .button {
    border-radius: 8px !important;
}

body#megastore-front .btn-primary,
body#megastore-front .btn-dark,
body#megastore-front .button.alt,
body#megastore-front .checkout-button,
body#megastore-front #place_order,
body#megastore-front .product__add-to-cart,
body#megastore-front .mega-home-hero__cta {
    border-color: var(--mega-blue) !important;
    background: var(--mega-blue) !important;
    color: #fff !important;
    box-shadow: 0 12px 28px rgba(0, 78, 216, .18);
}

body#megastore-front .btn-primary:hover,
body#megastore-front .btn-dark:hover,
body#megastore-front .button.alt:hover,
body#megastore-front .checkout-button:hover,
body#megastore-front #place_order:hover,
body#megastore-front .mega-home-hero__cta:hover {
    background: var(--mega-blue-dark) !important;
    border-color: var(--mega-blue-dark) !important;
    transform: translateY(-1px);
}

body#megastore-front .btn-outline-primary,
body#megastore-front .h-p-bg.btn-outline-primary {
    color: var(--mega-blue) !important;
    border-color: #bad0ff !important;
    background: #f6f9ff !important;
}

body#megastore-front .btn-outline-primary:hover,
body#megastore-front .h-p-bg.btn-outline-primary:hover {
    color: #fff !important;
    background: var(--mega-blue) !important;
    border-color: var(--mega-blue) !important;
}

body#megastore-front #site-header.site-header__v1 {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid rgba(226, 232, 240, .9);
    box-shadow: 0 16px 44px rgba(15, 23, 42, .08);
    backdrop-filter: blur(16px);
}

body#megastore-front #site-header .topbar {
    background: #eef4ff !important;
    border-bottom: 1px solid #dae6fb !important;
}

body#megastore-front #site-header .topbar a,
body#megastore-front #site-header .topbar .nav-link,
body#megastore-front #site-header .topbar span {
    color: #24324b !important;
}

body#megastore-front #site-header .topbar i {
    color: var(--mega-blue);
}

body#megastore-front #site-header .masthead {
    margin-bottom: 0 !important;
    padding: 14px 0 !important;
    border-bottom: 0 !important;
}

body#megastore-front #site-header .site-branding {
    padding: 4px 12px 4px 0;
}

body#megastore-front #site-header .site-branding a {
    display: flex !important;
    align-items: center;
}

body#megastore-front #site-header .site-branding img {
    height: 68px !important;
    max-width: 250px;
    object-fit: contain;
}

body#megastore-front #site-header .site-navigation .nav {
    align-items: center;
    gap: 4px;
}

body#megastore-front #site-header .site-navigation .nav-item {
    border: 0 !important;
}

body#megastore-front #site-header .site-navigation .nav-link {
    position: relative;
    min-height: 42px;
    padding: 10px 14px !important;
    color: #111f3d !important;
    font-size: 15px;
    font-weight: 700 !important;
    border-radius: 8px;
}

body#megastore-front #site-header .site-navigation .nav-link::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 7px;
    height: 3px;
    border-radius: 3px;
    background: var(--mega-yellow);
    opacity: 0;
    transform: scaleX(.35);
    transition: opacity .18s ease, transform .18s ease;
}

body#megastore-front #site-header .site-navigation .active .nav-link,
body#megastore-front #site-header .site-navigation .nav-link:hover {
    color: var(--mega-blue) !important;
    background: #f2f6ff;
}

body#megastore-front #site-header .site-navigation .active .nav-link::after,
body#megastore-front #site-header .site-navigation .nav-link:hover::after {
    opacity: 1;
    transform: scaleX(1);
}

body#megastore-front #site-header .site-search {
    min-width: min(100%, 360px);
}

body#megastore-front #site-header .site-search .input-group {
    min-height: 54px;
    overflow: hidden;
    border: 1px solid var(--mega-line) !important;
    border-radius: 8px !important;
    background: #fff;
    box-shadow: 0 10px 26px rgba(15, 35, 76, .08);
}

body#megastore-front #site-header .site-search input,
body#megastore-front #site-header .site-search .form-control,
body#megastore-front #site-header .site-search .input-group-text {
    min-height: 54px;
    border: 0 !important;
    background: #fff !important;
}

body#megastore-front #site-header .site-search button,
body#megastore-front #site-header .site-search .input-group-append .btn {
    width: 56px;
    min-height: 54px;
    background: var(--mega-blue) !important;
    color: #fff !important;
    border-radius: 0 !important;
}

body#megastore-front .dropdown-menu,
body#megastore-front .dropdown-unfold {
    border: 1px solid var(--mega-line) !important;
    border-radius: 8px !important;
    box-shadow: 0 18px 42px rgba(15, 23, 42, .12) !important;
}

body#megastore-front .dropdown-item {
    color: #17223b !important;
    border-radius: 6px;
}

body#megastore-front .dropdown-item:hover {
    color: var(--mega-blue) !important;
    background: #f2f6ff !important;
}

body#megastore-front .mega-home-hero {
    margin-bottom: 74px;
    background:
        linear-gradient(120deg, #f8fbff 0%, #f8fbff 48%, #dfeaff 48.1%, #edf5ff 100%) !important;
}

body#megastore-front .mega-home-hero__inner {
    max-width: 1500px;
    padding-top: 60px;
}

body#megastore-front .mega-home-hero__kicker {
    color: var(--mega-blue);
    letter-spacing: 7px;
}

body#megastore-front .mega-home-hero h1 {
    color: var(--mega-ink);
}

body#megastore-front .mega-home-hero h1 span,
body#megastore-front .mega-home-hero h1 strong {
    color: var(--mega-blue);
}

body#megastore-front .mega-home-hero__badges i,
body#megastore-front .mega-home-hero__trust i {
    color: var(--mega-blue);
}

body#megastore-front .mega-home-hero__trust {
    border-radius: 8px;
    border-color: var(--mega-line);
}

body#megastore-front section.space-3,
body#megastore-front .site-content,
body#megastore-front main#content {
    background: transparent;
}

body#megastore-front section.space-3 {
    padding-top: 54px !important;
    padding-bottom: 54px !important;
}

body#megastore-front section.space-3:nth-of-type(even) {
    background: linear-gradient(180deg, rgba(255, 255, 255, .68), rgba(239, 246, 255, .36));
}

body#megastore-front section header h2,
body#megastore-front .font-size-7,
body#megastore-front .page-title {
    color: var(--mega-ink);
    font-weight: 800 !important;
}

body#megastore-front section header h2 {
    position: relative;
    padding-left: 18px;
    font-size: 30px !important;
}

body#megastore-front section header h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: .2em;
    bottom: .2em;
    width: 5px;
    border-radius: 5px;
    background: linear-gradient(180deg, var(--mega-blue), var(--mega-yellow));
}

html[lang="ar"] body#megastore-front section header h2 {
    padding-left: 0;
    padding-right: 18px;
}

html[lang="ar"] body#megastore-front section header h2::before {
    left: auto;
    right: 0;
}

body#megastore-front .products {
    margin-left: -8px;
    margin-right: -8px;
}

body#megastore-front .products > .product,
body#megastore-front li.product.product__space,
body#megastore-front .product__space {
    border: 0 !important;
    border-radius: 8px !important;
    background: var(--mega-card);
    box-shadow: 0 10px 28px rgba(15, 35, 76, .07);
    transition: transform .18s ease, box-shadow .18s ease;
}

body#megastore-front .products > .product:hover,
body#megastore-front li.product.product__space:hover,
body#megastore-front .product__space:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 46px rgba(15, 35, 76, .13);
}

body#megastore-front .product__inner {
    border-radius: 8px;
    background: #fff;
}

body#megastore-front .woocommerce-loop-product__thumbnail {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(0, 78, 216, .08), rgba(255, 212, 59, .11)),
        #f8fbff;
}

body#megastore-front img.attachment-shop_catalog {
    height: 190px !important;
    width: 100%;
    padding: 12px;
    object-fit: contain;
    border-radius: 8px !important;
    background: transparent !important;
    box-shadow: none !important;
}

body#megastore-front .woocommerce-loop-product__body {
    text-align: left !important;
}

html[lang="ar"] body#megastore-front .woocommerce-loop-product__body {
    text-align: right !important;
}

body#megastore-front .product__title,
body#megastore-front .woocommerce-loop-product__title {
    min-height: 44px;
    font-size: 16px !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
}

body#megastore-front .product__title a,
body#megastore-front .woocommerce-loop-product__title a {
    color: var(--mega-ink) !important;
}

body#megastore-front .product__title a:hover,
body#megastore-front .woocommerce-loop-product__title a:hover {
    color: var(--mega-blue) !important;
}

body#megastore-front .price,
body#megastore-front .woocommerce-Price-amount {
    color: var(--mega-coral);
    font-weight: 800;
}

body#megastore-front del .woocommerce-Price-amount,
body#megastore-front del {
    color: #98a2b3 !important;
}

body#megastore-front .badge-primary-green,
body#megastore-front .badge-info,
body#megastore-front .badge-secondary,
body#megastore-front .badge-danger {
    min-width: 42px;
    min-height: 42px;
    border-radius: 8px !important;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(15, 35, 76, .14);
}

body#megastore-front .badge-primary-green {
    background: var(--mega-mint) !important;
}

body#megastore-front .badge-info {
    background: var(--mega-blue) !important;
}

body#megastore-front .badge-secondary {
    background: var(--mega-yellow) !important;
    color: #17223b !important;
}

body#megastore-front .badge-danger {
    background: var(--mega-coral) !important;
}

body#megastore-front .product__hover {
    min-height: 54px;
    margin-top: 12px;
    padding: 10px 0 0;
    border-top: 1px solid var(--mega-line);
}

body#megastore-front .product__hover .addtocart {
    color: var(--mega-blue) !important;
}

body#megastore-front .product__hover .btn,
body#megastore-front .product__hover a:not(.addtocart) {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

body#megastore-front .page-header {
    margin-bottom: 42px !important;
    border: 0 !important;
    background:
        linear-gradient(120deg, rgba(0, 78, 216, .10), rgba(255, 212, 59, .16)),
        #f8fbff;
}

body#megastore-front .page-header .py-4 {
    padding-top: 28px !important;
    padding-bottom: 28px !important;
}

body#megastore-front .page-title {
    font-size: 28px !important;
}

body#megastore-front .woocommerce-breadcrumb {
    color: var(--mega-muted);
}

body#megastore-front .woocommerce-breadcrumb a {
    color: var(--mega-blue);
    font-weight: 700;
}

body#megastore-front .shop-control-bar,
body#megastore-front .widget,
body#megastore-front .p-4d875.border,
body#megastore-front .p-4.border,
body#megastore-front .border {
    border-color: var(--mega-line) !important;
}

body#megastore-front .shop-control-bar {
    padding: 16px 18px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 35, 76, .06);
}

body#megastore-front .widget,
body#megastore-front #widgetAccordion .widget,
body#megastore-front #SidebarAccordion .widget {
    overflow: hidden;
    margin-bottom: 16px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(15, 35, 76, .06);
}

body#megastore-front .widget-title,
body#megastore-front .widget .title {
    color: var(--mega-ink);
    font-weight: 800 !important;
}

body#megastore-front .product-categories a,
body#megastore-front .widget a.text-dark,
body#megastore-front .widget .text-dark {
    color: #24324b !important;
}

body#megastore-front .activecollection,
body#megastore-front .product-categories a:hover,
body#megastore-front .widget a:hover {
    color: var(--mega-blue) !important;
}

body#megastore-front .form-control,
body#megastore-front .input-text,
body#megastore-front select,
body#megastore-front textarea {
    min-height: 46px;
    border-color: var(--mega-line) !important;
    border-radius: 8px !important;
    background: #fff !important;
}

body#megastore-front .form-control:focus,
body#megastore-front .input-text:focus,
body#megastore-front textarea:focus {
    border-color: #9db9ff !important;
    box-shadow: 0 0 0 3px rgba(0, 78, 216, .10) !important;
}

body#megastore-front .nav-tab .nav-item {
    border-color: var(--mega-line) !important;
    border-radius: 8px;
    overflow: hidden;
}

body#megastore-front .nav-tab .nav-link.active,
body#megastore-front .nav-tab .nav-link:hover {
    background: var(--mega-blue);
}

body#megastore-front .nav-tab .nav-link.active svg path,
body#megastore-front .nav-tab .nav-link:hover svg path {
    fill: #fff;
}

body#megastore-front .pagination .page-link,
body#megastore-front .page-item .page-link {
    border-color: var(--mega-line);
    color: var(--mega-blue);
    border-radius: 8px !important;
}

body#megastore-front .pagination .active .page-link,
body#megastore-front .page-item.active .page-link {
    background: var(--mega-blue);
    border-color: var(--mega-blue);
    color: #fff;
}

body#megastore-front .site-footer_v2 {
    margin-top: 36px;
    color: #dbeafe;
    background: #07142f;
}

body#megastore-front .site-footer_v2 .bg-primary {
    background:
        linear-gradient(135deg, #07142f 0%, #0b2f6e 72%, #004ed8 100%) !important;
}

body#megastore-front .site-footer_v2 h4 {
    color: #fff !important;
    font-weight: 800 !important;
}

body#megastore-front .site-footer_v2 a,
body#megastore-front .site-footer_v2 p,
body#megastore-front .site-footer_v2 address,
body#megastore-front .site-footer_v2 .text-gray-450 {
    color: #c7d7f2 !important;
}

body#megastore-front .site-footer_v2 a:hover {
    color: var(--mega-yellow) !important;
}

body#megastore-front .site-footer_v2 .space-1 {
    background: #061127;
}

body#megastore-front .back-to-top {
    border: 0 !important;
    background: var(--mega-blue) !important;
    color: #fff !important;
    box-shadow: 0 12px 28px rgba(0, 78, 216, .22);
}

body#megastore-front .u-sidebar__container,
body#megastore-front .u-sidebar__body {
    background: #fff;
}

body#megastore-front .u-sidebar__container {
    box-shadow: -18px 0 44px rgba(15, 23, 42, .16);
}

html[lang="ar"] body#megastore-front .u-sidebar__container {
    box-shadow: 18px 0 44px rgba(15, 23, 42, .16);
}

body#megastore-front .table,
body#megastore-front .shop_table {
    background: #fff;
    border-radius: 8px;
}

body#megastore-front .cart_item,
body#megastore-front .woocommerce-checkout-review-order-table tr {
    border-color: var(--mega-line) !important;
}

body#megastore-front .blog-post,
body#megastore-front .col > .mb-5 {
    border-radius: 8px;
}

body#megastore-front .col > .mb-5 img {
    width: 100%;
    border-radius: 8px;
}

@media (max-width: 1199.98px) {
    body#megastore-front #site-header .site-branding img {
        height: 56px !important;
    }

    body#megastore-front #site-header .site-navigation .nav-link {
        padding-left: 9px !important;
        padding-right: 9px !important;
        font-size: 14px;
    }
}

@media (max-width: 991.98px) {
    body#megastore-front #site-header {
        position: relative;
    }

    body#megastore-front #site-header .masthead {
        padding: 10px 0 !important;
    }

    body#megastore-front .mega-home-hero {
        margin-bottom: 20px;
    }

    body#megastore-front .mega-home-hero__inner {
        padding-top: 38px;
    }

    body#megastore-front section.space-3 {
        padding-top: 34px !important;
        padding-bottom: 34px !important;
    }

    body#megastore-front .shop-control-bar {
        gap: 12px;
    }
}

@media (max-width: 575.98px) {
    body#megastore-front {
        background: #f7faff;
    }

    body#megastore-front #site-header .site-branding img {
        height: 48px !important;
        max-width: 190px;
    }

    body#megastore-front #site-header .site-search {
        min-width: 100%;
    }

    body#megastore-front .mega-home-hero h1 {
        font-size: 36px !important;
    }

    body#megastore-front .mega-home-hero__lead {
        font-size: 16px !important;
    }

    body#megastore-front section header h2 {
        font-size: 24px !important;
    }

    body#megastore-front .woocommerce-loop-product__thumbnail {
        min-height: 180px;
    }

    body#megastore-front img.attachment-shop_catalog {
        height: 160px !important;
    }

    body#megastore-front .product__title,
    body#megastore-front .woocommerce-loop-product__title {
        font-size: 14px !important;
    }
}
