/* =========================================
   Top Announcement Bar
   ========================================= */
.sc-announcement-bar {
    width: 100%;
    position: relative;
    z-index: 1000;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    transition: all 0.3s ease;
}

.sc-announcement-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 8px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.sc-announcement-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    text-align: center;
}

.sc-announcement-text {
    letter-spacing: 0.2px;
}

.sc-announcement-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.18);
    padding: 3px 12px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    transition: background 0.2s ease, transform 0.2s ease;
}

.sc-announcement-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(2px);
}

.sc-announcement-close {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 14px;
    opacity: 0.75;
    padding: 4px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
}

.sc-announcement-close:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .sc-announcement-container {
        padding: 8px 36px 8px 12px;
    }
    .sc-announcement-content {
        font-size: 12px;
        gap: 8px;
    }
    .sc-announcement-btn {
        padding: 2px 8px;
        font-size: 11px;
    }
}

.sc-header {
    background: #000000;
    border-bottom: 1px solid #eee;
}

/* =========================================
   Sticky Header
   ========================================= */

.sc-header.sc-sticky-header {
    position: sticky;
    top: 0;
    z-index: 1001;
    box-shadow: none;
    transition: top 0.25s ease;
}

.admin-bar .sc-header.sc-sticky-header {
    top: 32px;
}

.sc-mobile-header.sc-sticky-header {
    position: sticky;
    top: 0;
    z-index: 1001;
    box-shadow: none;
    transition: top 0.25s ease;
}

.admin-bar .sc-mobile-header.sc-sticky-header {
    top: 32px;
}

@media (max-width: 782px) {
    .admin-bar .sc-mobile-header.sc-sticky-header {
        top: 46px;
    }
}

/* Sticky Category / Desktop Menu */
.sc-desktop-menu.sc-sticky-category-menu {
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: none;
    transition: top 0.25s ease;
}

.sc-desktop-menu.sc-sticky-category-menu.sc-has-sticky-main {
    top: 80px;
}

.admin-bar .sc-desktop-menu.sc-sticky-category-menu {
    top: 32px;
}

.admin-bar .sc-desktop-menu.sc-sticky-category-menu.sc-has-sticky-main {
    top: 112px;
}

.header-container {
    max-width: 1400px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    height: 80px;
}

/* Logo */

.sc-logo img,
.sc-mobile-logo img {
    max-width: 180px;
    height: auto;
    display: block;
}

.site-title-brand {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Poppins', system-ui, -apple-system, sans-serif;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-decoration: none;
    line-height: 1;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-title-brand:hover {
    opacity: 0.95;
    transform: translateY(-1px);
}

.site-title-primary {
    color: #ffffff;
}

.site-title-accent {
    color: #ef1d25;
}

/* Search */

.sc-search {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    padding: 0 20px;
}

.sc-search-wrap {
    position: relative;
    width: 100%;
    max-width: 580px;
}

.sc-search-form {
    display: flex;
    background: #f1f5f9;
    border: 2px solid transparent;
    border-radius: 10px;
    overflow: hidden;
    width: 100%;
    transition: all 0.25s ease;
}

.sc-search-form:focus-within {
    background: #ffffff;
    border-color: var(--primary-color, #ef1d25);
    box-shadow: 0 0 0 4px rgba(239, 29, 37, 0.12);
}

.sc-search-input-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    position: relative;
}

.sc-search-input {
    width: 100%;
    border: none;
    background: transparent;
    padding: 12px 16px;
    font-size: 14.5px;
    color: #0f172a;
    outline: none;
}

/* Hide WebKit / Blink / Chrome / Safari / Edge browser native clear/cancel button */
.sc-search-input::-webkit-search-decoration,
.sc-search-input::-webkit-search-cancel-button,
.sc-search-input::-webkit-search-results-button,
.sc-search-input::-webkit-search-results-decoration {
    -webkit-appearance: none;
    appearance: none;
    display: none !important;
}

/* Hide Edge / IE native clear button */
.sc-search-input::-ms-clear,
.sc-search-input::-ms-reveal {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* Clear Button & Spinner */
.sc-search-clear-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: #e2e8f0;
    color: #64748b;
    border: none;
    border-radius: 50%;
    margin-right: 8px;
    cursor: pointer;
    font-size: 11px;
    transition: 0.2s ease;
    flex-shrink: 0;
}

.sc-search-clear-btn:hover {
    background: #cbd5e1;
    color: #0f172a;
}

.sc-search-clear-btn.is-active {
    display: inline-flex;
}

.sc-search-spinner {
    display: none;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    color: var(--primary-color, #ef1d25);
    font-size: 13px;
    margin-right: 8px;
    flex-shrink: 0;
}

.sc-search-spinner.is-loading {
    display: inline-flex;
}

.sc-search-submit-btn {
    width: 52px;
    border: none;
    background: var(--primary-color, #ef1d25);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: background 0.2s ease;
    flex-shrink: 0;
}

.sc-search-submit-btn:hover {
    background: #d90000;
}

/* AJAX Search Results Dropdown */
.shopcore-ajax-search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1001;
    display: none;
    max-height: min(540px, 75vh);
    overflow-y: auto;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 16px 40px -4px rgba(15, 23, 42, 0.16), 0 4px 12px rgba(15, 23, 42, 0.04);
    animation: scSearchFadeIn 0.2s ease-out;
}

@keyframes scSearchFadeIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.shopcore-ajax-search-results.is-visible {
    display: block;
}

.shopcore-search-panel-inner {
    padding: 14px 16px;
}

.shopcore-search-group-title {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.shopcore-search-group-title i {
    color: var(--primary-color, #ef1d25);
    font-size: 12px;
}

.shopcore-search-group + .shopcore-search-group {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}

/* Trending Tags on focus */
.shopcore-search-trending-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
    margin-bottom: 4px;
}

.sc-trending-tag-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #f1f5f9;
    color: #334155;
    font-size: 12.5px;
    font-weight: 500;
    border-radius: 20px;
    text-decoration: none;
    transition: 0.2s ease;
}

.sc-trending-tag-item i {
    font-size: 10px;
    color: #94a3b8;
}

.sc-trending-tag-item:hover,
.sc-trending-tag-item.is-selected {
    background: var(--primary-color, #ef1d25);
    color: #ffffff;
}

.sc-trending-tag-item:hover i,
.sc-trending-tag-item.is-selected i {
    color: #ffffff;
}

/* Category Pills at top of search */
.shopcore-search-cats-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

.shopcore-search-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    color: #1e293b;
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s ease;
}

.shopcore-search-cat-pill:hover,
.shopcore-search-cat-pill.is-selected {
    background: var(--primary-color, #ef1d25);
    border-color: var(--primary-color, #ef1d25);
    color: #ffffff;
}

.sc-cat-pill-count {
    font-size: 11px;
    opacity: 0.75;
}

/* Products List */
.shopcore-search-products-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.shopcore-search-product-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none;
    color: #0f172a;
    transition: background 0.15s ease;
}

.shopcore-search-product-item:hover,
.shopcore-search-product-item.is-selected {
    background: #f8fafc;
    outline: none;
}

.sc-search-item-img-wrap {
    position: relative;
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background: #ffffff;
}

.sc-search-item-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sc-search-badge-sale {
    position: absolute;
    top: 2px;
    left: 2px;
    background: var(--primary-color, #ef1d25);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    padding: 1px 4px;
    border-radius: 3px;
    line-height: 1.2;
}

.sc-search-item-info {
    flex: 1;
    min-width: 0;
}

.sc-search-item-cat {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sc-search-item-title {
    font-size: 13.5px;
    font-weight: 600;
    color: #0f172a;
    margin: 2px 0 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.35;
}

.sc-search-item-bottom {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sc-search-item-price {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-color, #ef1d25);
}

.sc-search-item-price del {
    color: #94a3b8;
    font-size: 11.5px;
    font-weight: 400;
    margin-right: 4px;
}

.sc-search-item-price ins {
    text-decoration: none;
}

.sc-search-stock {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 4px;
}

.sc-search-stock.in-stock {
    background: #ecfdf5;
    color: #059669;
}

.sc-search-stock.out-of-stock {
    background: #fef2f2;
    color: #dc2626;
}

.sc-search-item-arrow {
    color: #cbd5e1;
    font-size: 12px;
    transition: transform 0.2s ease, color 0.2s ease;
}

.shopcore-search-product-item:hover .sc-search-item-arrow,
.shopcore-search-product-item.is-selected .sc-search-item-arrow {
    transform: translateX(3px);
    color: var(--primary-color, #ef1d25);
}

/* View All Results button */
.shopcore-search-footer {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
}

.shopcore-search-view-all {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #0f172a;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.shopcore-search-view-all:hover,
.shopcore-search-view-all.is-selected {
    background: var(--primary-color, #ef1d25);
    border-color: var(--primary-color, #ef1d25);
    color: #ffffff;
}

/* No Results State */
.shopcore-search-no-results {
    text-align: center;
    padding: 24px 16px;
}

.sc-no-res-icon {
    font-size: 32px;
    color: #cbd5e1;
    margin-bottom: 8px;
}

.sc-no-res-text {
    font-size: 13.5px;
    color: #1e293b;
    margin-bottom: 4px;
}

.sc-no-res-tip {
    font-size: 12px;
    color: #64748b;
}

/* Actions */

.sc-header-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

.sc-action-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #ffffff;
    font-size: 13px;
}

.sc-action-item i {
    font-size: 22px;
    margin-bottom: 5px;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -12px;
    background: #e11;
    color: #fff;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Desktop Menu */

/* Desktop Menu */

.sc-desktop-menu {
    background: #ffffff;
    position: relative;
    z-index: 1000;
    border-bottom: 1px solid #f1f5f9;
}

.sc-menu-list {
    display: flex;
    align-items: center;
    gap: 35px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.sc-menu-list li {
    position: relative;
}

.sc-menu-list li a {
    color: #1f1f1f;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 18px 0;
    display: block;
    transition: .3s;
}

.sc-menu-list li a:hover {
    color: #000000;
}

/* Active Menu */
.sc-menu-list .current-menu-item>a {
    color: #ff0000;
}

/* Dropdown Arrow */

.sc-menu-list>li.menu-item-has-children>a::after {
    content: "\f107";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-left: 8px;
    font-size: 12px;
    transition: .3s;
}

/* Arrow rotate on hover */
.sc-menu-list>li.menu-item-has-children:hover>a::after {
    transform: rotate(180deg);
}

/* Multi-column Dropdown with 10 Items Per Column */
.sc-menu-list .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 190px;
    padding: 14px 18px;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
    border: 1px solid #e5e7eb;
    border-radius: 0 0 10px 10px;
    z-index: 99999;
    pointer-events: none;

    /* 10 Items per Column Grid Layout */
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(10, minmax(0, auto));
    column-gap: 22px;
    row-gap: 2px;
    width: max-content;
    max-width: 90vw;
}

.sc-menu-list li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.sc-menu-list .sub-menu li {
    min-width: 140px;
    max-width: 220px;
    position: relative;
}

.sc-menu-list .sub-menu li a {
    color: #1e293b;
    padding: 6px 10px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    border-radius: 6px;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.15s ease;
}

.sc-menu-list .sub-menu li a:hover {
    background: #f8fafc;
    color: var(--primary-color, #ef1d25);
    padding-left: 14px;
}

/* Prevent edge overflow for rightmost menu items */
.sc-menu-list > li:last-child .sub-menu,
.sc-menu-list > li:nth-last-child(2) .sub-menu {
    left: auto;
    right: 0;
}

/* 3rd Level Flyout Sub-menu */
.sc-menu-list .sub-menu .sub-menu {
    top: 0;
    left: 100%;
    right: auto;
    display: block;
    grid-auto-flow: row;
    grid-template-rows: auto;
    border-radius: 8px;
    padding: 10px;
}


/* Cart Count================== */
.cart-count {
    position: absolute;
    top: -6px;
    right: -8px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ff3b30;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
}

/*=========================================
    Mobile / Tablet Header
=========================================*/

.sc-mobile-header {
    display: none;
    background: #000000;
    border-bottom: 1px solid #727171;
    position: relative;
    z-index: 999;
}

.sc-mobile-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.sc-menu-toggle {
    width: 40px;
    height: 40px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 24px;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0;
}

.sc-mobile-logo {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex: 1;
}

.sc-mobile-logo img {
    max-height: 30px;
    width: auto;
}

.sc-mobile-cart {
    position: relative;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #ffffff;
    font-size: 22px;
}

.sc-mobile-cart .cart-count {
    position: absolute;
    top: 2px;
    right: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ff3b30;
    color: #fff;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/*=============================
    Search
=============================*/

.sc-mobile-search {
    position: relative;
    width: 100%;
    padding: 0;
    margin-top: 10px;
}

.sc-mobile-search .sc-search-wrap {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0;
}

.sc-mobile-search .sc-search-form {
    display: flex;
    width: 100%;
    box-sizing: border-box;
    border: 2px solid var(--primary-color, #ef1d25);
    border-radius: 8px;
    background: #ffffff;
    overflow: hidden;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.sc-mobile-search .sc-search-form:focus-within {
    border-color: var(--primary-color, #ef1d25);
    box-shadow: 0 0 0 3px rgba(239, 29, 37, 0.18);
}

.sc-mobile-search .sc-search-input-wrap {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    position: relative;
}

.sc-mobile-search .sc-search-input {
    width: 100%;
    flex: 1;
    min-width: 0;
    border: none;
    height: 44px;
    padding: 0 14px;
    font-size: 14.5px;
    color: #0f172a;
    background: transparent;
    outline: none;
    box-sizing: border-box;
}

.sc-mobile-search .sc-search-submit-btn {
    width: 48px;
    height: 44px;
    border: none;
    background: var(--primary-color, #ef1d25);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    transition: background 0.2s ease;
}

.sc-mobile-search .sc-search-submit-btn:hover {
    background: #d90000;
}

.sc-mobile-search .shopcore-ajax-search-results {
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    width: 100%;
    max-height: 65vh;
}

/*=========================================
    Overlay
=========================================*/

.sc-overlay {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .45);
    opacity: 0;
    visibility: hidden;
    transition: .35s;
    z-index: 9998;
}

.sc-overlay.active {
    opacity: 1;
    visibility: visible;
}

/*=========================================
    Offcanvas
=========================================*/

.sc-offcanvas {
    position: fixed;
    top: 0;
    left: -360px;
    width: 320px;
    max-width: calc(100vw - 54px);
    height: 100vh;
    height: 100dvh;
    max-height: 100dvh;
    background: #ffffff;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.28);
    transition: left 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.sc-offcanvas.active {
    left: 0;
    top: 0;
}

/* WP Admin Bar Handling */
body.admin-bar .sc-offcanvas {
    top: 46px;
    height: calc(100vh - 46px);
    height: calc(100dvh - 46px);
    max-height: calc(100dvh - 46px);
}

@media (min-width: 783px) {
    body.admin-bar .sc-offcanvas {
        top: 32px;
        height: calc(100vh - 32px);
        height: calc(100dvh - 32px);
        max-height: calc(100dvh - 32px);
    }
}

/*=============================
Header
=============================*/

.sc-offcanvas-header {
    min-height: 62px;
    background: #0f172a;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
    box-sizing: border-box;
}

.sc-offcanvas-brand {
    display: flex;
    align-items: center;
}

.sc-offcanvas-brand .site-title-brand {
    font-size: 18px;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 4px;
    line-height: 1;
}

.sc-offcanvas-brand .site-title-primary {
    color: #ffffff;
}

.sc-offcanvas-brand .site-title-accent {
    color: #ef1d25;
}

.sc-offcanvas-brand img.custom-logo,
.sc-offcanvas-brand .custom-logo {
    max-height: 32px;
    width: auto;
    object-fit: contain;
}

.sc-close-menu {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    cursor: pointer;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.22s ease;
    padding: 0;
    flex-shrink: 0;
}

.sc-close-menu:hover,
.sc-close-menu:active {
    background: #ef1d25;
    border-color: #ef1d25;
    color: #ffffff;
    transform: rotate(90deg);
}

/*=============================
User Profile Bar
=============================*/

.sc-offcanvas-user-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid #e2e8f0;
    flex-shrink: 0;
    box-sizing: border-box;
}

.sc-offcanvas-user-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ffffff;
    color: #ef1d25;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    flex-shrink: 0;
}

.sc-offcanvas-user-meta {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.sc-offcanvas-greeting {
    font-size: 11px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-weight: 600;
    line-height: 1.2;
}

.sc-offcanvas-username {
    font-size: 14px;
    color: #0f172a;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.sc-offcanvas-user-link {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ffffff;
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.sc-offcanvas-user-link:hover {
    color: #ef1d25;
    background: #fee2e2;
    transform: translateX(2px);
}

/*=============================
Offcanvas Body
=============================*/

.sc-offcanvas-body {
    flex: 1;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 0;
    margin: 0;
}

.sc-offcanvas-section-title {
    padding: 12px 18px 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #94a3b8;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}

/*=============================
Menu Alignment & Styling
=============================*/

.sc-mobile-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    background: #ffffff;
}

.sc-mobile-menu > li {
    border-bottom: 1px solid #f1f5f9;
    position: relative;
    background: #ffffff;
}

.sc-mobile-menu > li:last-child {
    border-bottom: none;
}

.sc-mobile-menu > li > a {
    display: flex;
    align-items: center;
    padding: 13px 18px;
    color: #1e293b;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.18s ease, color 0.18s ease;
    box-sizing: border-box;
    width: 100%;
}

.sc-mobile-menu > li > a:hover,
.sc-mobile-menu > li > a:active {
    color: #ef1d25;
    background: #fef2f2;
}

.sc-mobile-menu > li > a i {
    width: 22px;
    min-width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: #ef1d25;
    margin-right: 12px;
    flex-shrink: 0;
    text-align: center;
}

/* Chevron Dropdown Indicator */
.sc-mobile-menu > li.menu-item-has-children > a::after {
    content: "\f107";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-left: auto;
    font-size: 11px;
    width: 26px;
    min-width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.2s ease, color 0.2s ease;
}

.sc-mobile-menu > li.menu-item-has-children.active > a {
    color: #ef1d25;
    background: #ffffff;
}

.sc-mobile-menu > li.menu-item-has-children.active > a::after {
    transform: rotate(180deg);
    background: #fee2e2;
    color: #ef1d25;
}

/*=============================
Submenu Accordion
=============================*/

.sc-mobile-menu .sub-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
}

.sc-mobile-menu .sub-menu li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.sc-mobile-menu .sub-menu li:last-child {
    border-bottom: none;
}

.sc-mobile-menu .sub-menu li a {
    display: flex;
    align-items: center;
    padding: 10px 18px 10px 52px;
    font-size: 13.5px;
    font-weight: 400;
    color: #475569;
    text-decoration: none;
    transition: all 0.18s ease;
    box-sizing: border-box;
    width: 100%;
}

.sc-mobile-menu .sub-menu li a::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #cbd5e1;
    display: inline-block;
    margin-right: 10px;
    flex-shrink: 0;
    transition: all 0.18s ease;
}

.sc-mobile-menu .sub-menu li a:hover,
.sc-mobile-menu .sub-menu li a:active {
    color: #ef1d25;
    background: #f1f5f9;
    padding-left: 55px;
}

.sc-mobile-menu .sub-menu li a:hover::before,
.sc-mobile-menu .sub-menu li a:active::before {
    background: #ef1d25;
    transform: scale(1.3);
}

/* Submenu "View All" Link */
.sc-mobile-menu .sub-menu li.sc-sub-all-item a {
    font-weight: 600;
    color: #ef1d25;
    background: #fff5f5;
    border-bottom: 1px solid #fee2e2;
}

.sc-mobile-menu .sub-menu li.sc-sub-all-item a::before {
    display: none;
}

.sc-mobile-menu .sub-menu li.sc-sub-all-item a i {
    margin-left: auto;
    font-size: 11px;
    color: #ef1d25;
    margin-right: 0;
}

/*=============================
Extra Menu
=============================*/

.sc-mobile-extra {
    margin: 0;
    padding: 0;
    background: #ffffff;
}

.sc-mobile-extra a {
    display: flex;
    align-items: center;
    padding: 13px 18px;
    text-decoration: none;
    color: #334155;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.18s ease, color 0.18s ease;
    box-sizing: border-box;
    width: 100%;
}

.sc-mobile-extra a i {
    width: 22px;
    min-width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: #ef1d25;
    margin-right: 12px;
    flex-shrink: 0;
    text-align: center;
}

.sc-mobile-extra a:hover,
.sc-mobile-extra a:active {
    color: #ef1d25;
    background: #fef2f2;
}

/*=============================
Offcanvas Footer / Support
=============================*/

.sc-offcanvas-footer {
    padding: 16px 18px 26px;
    margin-top: 8px;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
}

.sc-offcanvas-support-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    text-decoration: none;
    color: #0f172a;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.sc-offcanvas-support-btn:hover {
    border-color: #ef1d25;
    box-shadow: 0 3px 10px rgba(239, 29, 37, 0.12);
}

.sc-offcanvas-support-btn i {
    font-size: 22px;
    color: #ef1d25;
    flex-shrink: 0;
}

.sc-offcanvas-support-btn small {
    display: block;
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sc-offcanvas-support-btn strong {
    display: block;
    font-size: 14px;
    color: #0f172a;
    font-weight: 700;
}






/* Tablet */

@media (max-width:1024px) {

    .desktop-header,
    .sc-desktop-menu {
        display: none;
    }

    .sc-mobile-header {
        padding: 12px 16px 14px;
        display: block;
    }

}

/* Mobile */

@media (max-width:767px) {
    .sc-mobile-header {
        padding: 10px 14px 12px;
    }

    .sc-mobile-logo img {
        max-height: 38px;
    }

}