body.theme-color-1 {
    --theme-color: #fac445;
    --theme-color-light: #faca5a;
    --theme-color2: #283a2d;
    --brand-secondary: #283a2d;
    --brand-accent: #929497;
    --brand-primary-gradient: linear-gradient(135deg, #fac445 0%, #faca5a 55%, #fac445 100%);
}

.icon-nav > ul {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

@media (max-width: 1199px) {
    header.shop-header .mobile-fix-option {
        display: none;
    }

    header.shop-header .main-menu {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        position: relative;
        min-height: 64px;
    }

    header.shop-header .main-menu .menu-left {
        display: flex;
        align-items: center;
        flex: 0 0 auto;
    }

    header.shop-header .main-menu .menu-left .navbar {
        padding: 0 12px 0 0 !important;
    }

    header.shop-header .main-menu .brand-logo {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        margin: 0;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    header.shop-header .main-menu .menu-right,
    header.shop-header .main-menu .menu-right > .d-flex {
        display: flex;
        align-items: center;
        flex: 0 0 auto;
        float: none;
        margin-left: auto;
    }

    header.shop-header .main-menu .menu-right #main-nav {
        display: none;
    }

    header.shop-header .main-menu .menu-right .icon-nav,
    header.shop-header .main-menu .menu-right .icon-nav > ul {
        display: flex;
        align-items: center;
        height: auto;
        margin: 0;
        padding: 0;
    }

    header.shop-header .main-menu .menu-right .icon-nav .mobile-cart {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 !important;
        font-size: inherit !important;
        line-height: 1;
    }

    header.shop-header .main-menu .menu-right .icon-nav .mobile-cart > div {
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
    }

    header.shop-header .main-menu .menu-right .icon-nav .mobile-cart i {
        display: block;
        line-height: 1;
    }

    header.shop-header .main-menu .menu-right .icon-nav .mobile-cart .cart_qty_cls {
        top: -6px;
        right: -10px;
    }
}

.darken-layout,
footer.footer-style-1 .darken-layout {
    background-color: var(--brand-secondary) !important;
}

.footer-logo img {
    height: auto;
    max-height: 52px;
    width: auto;
    max-width: min(220px, 55vw);
    object-fit: contain;
}

#shipping-address-list .delivery-address-box,
#billing-address-list .delivery-address-box {
    position: relative;
}

#shipping-address-list .delivery-address-box .form-check-label,
#billing-address-list .delivery-address-box .form-check-label {
    padding-right: 2rem;
}

.address-edit-btn {
    position: absolute;
    top: 8px;
    right: 10px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    appearance: none;
    -webkit-appearance: none;
    color: #fac445;
    cursor: pointer;
    line-height: 1;
    font-size: 18px;
}

.address-edit-btn:hover,
.address-edit-btn:focus {
    background: transparent;
    border: 0;
    box-shadow: none;
    color: #946c0a;
    outline: none;
}

header.shop-header {
    position: sticky;
    top: 0;
    z-index: 1020;
    flex-shrink: 0;
    border-bottom: 1px solid #ececec;
    background: #fff;
}

@media (min-width: 1200px) {
    header.shop-header #main-menu.sm-horizontal {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 2rem;
    }

    header.shop-header #main-menu.sm-horizontal > li {
        float: none;
        margin: 0;
    }

    header.shop-header #main-menu.sm-horizontal > li.mobile-box {
        display: none;
    }

    header.shop-header #main-menu.sm-horizontal > li > a {
        position: relative;
        display: inline-flex;
        align-items: center;
        height: auto;
        color: #222;
        font-weight: 500;
        letter-spacing: 0.04em;
        line-height: 1.3;
        padding: 4px 0 8px;
        white-space: nowrap;
        box-shadow: none;
    }

    header.shop-header #main-menu.sm-horizontal > li > a:hover {
        color: #946c0a;
    }

    header.shop-header #main-menu.sm-horizontal > li.is-active > a {
        color: #946c0a;
    }

    header.shop-header #main-menu.sm-horizontal > li.is-active > a::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 2px;
        height: 2px;
        background: #fac445;
    }

    header.shop-header #main-menu.sm-horizontal > li.header-lang-item > a {
        gap: 0.35rem;
        font-size: 0.875rem;
        font-weight: 600;
        letter-spacing: 0.04em;
    }
}

header.shop-header #mySidenav.sidenav nav,
header.shop-header #mySidenav.sidenav #sub-menu {
    padding: 0;
    margin: 0;
}

header.shop-header #mySidenav.sidenav .sidebar-back {
    padding: 1rem 1.25rem;
    margin-bottom: 0;
    gap: 0.35rem;
}

header.shop-header #mySidenav.sidenav #sub-menu {
    padding: 0.5rem 0 1.25rem;
}

header.shop-header #mySidenav.sidenav #sub-menu > li {
    display: block;
    width: 100%;
    margin: 0;
    float: none;
}

header.shop-header #mySidenav.sidenav #sub-menu > li > a {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 48px;
    padding: 0.85rem 1.25rem;
    color: #222;
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1.4;
    white-space: normal;
    box-shadow: none;
}

header.shop-header #mySidenav.sidenav #sub-menu > li > a:hover {
    color: #946c0a;
    background: rgba(250, 196, 69, 0.08);
}

header.shop-header #mySidenav.sidenav #sub-menu > li.is-active > a {
    color: #946c0a;
    background: rgba(250, 196, 69, 0.14);
}

header.shop-header #mySidenav.sidenav #sub-menu > li.is-active > a::after {
    display: none;
}

header.shop-header #mySidenav.sidenav #sub-menu > li.header-lang-item > a {
    gap: 0.5rem;
    font-weight: 600;
}

header.shop-header #mySidenav.sidenav #sub-menu > li.header-lang-item svg {
    display: block;
    flex-shrink: 0;
}

@media (max-width: 1199px) {
    header.shop-header #main-menu.sm-horizontal > li > a {
        display: flex;
        align-items: center;
        width: 100%;
        min-height: 48px;
        padding: 0.85rem 1.25rem;
        color: #222;
        font-weight: 500;
        letter-spacing: 0.02em;
        line-height: 1.4;
        white-space: normal;
        box-shadow: none;
    }

    header.shop-header #main-menu.sm-horizontal > li > a:hover {
        color: #946c0a;
        background: rgba(250, 196, 69, 0.08);
    }

    header.shop-header #main-menu.sm-horizontal > li.is-active > a {
        color: #946c0a;
        background: rgba(250, 196, 69, 0.14);
    }

    header.shop-header #main-menu.sm-horizontal > li.is-active > a::after {
        display: none;
    }

    header.shop-header #main-menu.sm-horizontal > li.header-lang-item > a {
        gap: 0.5rem;
        font-weight: 600;
    }

    header.shop-header #main-menu.sm-horizontal > li.header-lang-item svg {
        display: block;
        flex-shrink: 0;
    }

    header.shop-header #main-menu.sm-horizontal > li.mobile-box .mobile-back {
        padding: 1rem 1.25rem;
    }
}

.main-menu .brand-logo {
    display: inline-flex;
    align-items: center;
    padding-block: calc(6px + (10 - 6) * ((100vw - 320px) / (1920 - 320)));
}

.main-menu .brand-logo a {
    display: flex;
    align-items: center;
}

.main-menu .brand-logo img {
    height: calc(48px + (72 - 48) * ((100vw - 320px) / (1920 - 320)));
    max-height: none;
    width: auto;
    max-width: min(340px, 75vw);
    object-fit: contain;
}

@media (max-width: 480px) {
    .main-menu .brand-logo {
        padding-block: 6px;
    }

    .main-menu .brand-logo img {
        height: 44px;
    }
}

a:hover,
.text-theme,
.product-detail .product-buttons .btn-solid:hover {
    color: var(--theme-color);
}

.btn-solid,
.btn-primary,
.tap-top {
    border-color: var(--theme-color);
}

.text-content,
.footer-style-1 .contact-list li {
    color: var(--brand-accent);
}

.footer-style-1 .contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.footer-style-1 .contact-list li i {
    flex-shrink: 0;
    margin-top: 0.2em;
}

footer.footer-style-1 .footer-social {
    display: block;
}

footer.footer-style-1 .footer-social ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

footer.footer-style-1 .footer-content .footer-social li,
footer.footer-style-1 .footer-social li {
    display: block !important;
    width: 100%;
    padding: 0 !important;
}

footer.footer-style-1 .footer-social li a {
    display: inline-flex !important;
    align-items: center;
    gap: 0.6rem;
    line-height: 1;
    color: rgba(255, 255, 255, 0.9);
}

footer.footer-style-1 .darken-layout .footer-social i,
footer.footer-style-1 .footer-social li a i {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 1.25rem !important;
    height: 1.25rem !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    color: #fac445 !important;
    font-size: 18px;
    line-height: 1 !important;
}

footer.footer-style-1 .footer-social li a span {
    display: inline-flex;
    align-items: center;
    line-height: 1.2;
}

footer.footer-style-1 .footer-social li a:hover,
footer.footer-style-1 .footer-social li a:hover i {
    color: #fff !important;
}

.breadcrumb-section {
    background: var(--brand-primary-gradient) !important;
}

.breadcrumb-section h2,
.breadcrumb-section .breadcrumb,
.breadcrumb-section .theme-breadcrumb .breadcrumb,
.breadcrumb-section .breadcrumb a,
.breadcrumb-section .breadcrumb-item,
.breadcrumb-section .breadcrumb-item.active {
    color: var(--brand-secondary) !important;
}

.breadcrumb-section .breadcrumb-item + .breadcrumb-item::before {
    color: var(--brand-secondary) !important;
}

/* SweetAlert2: admin-themed CSS expects Bootstrap admin variables missing on frontend */
.swal2-container {
    --bs-paper-bg: #fff;
    --bs-modal-bg: #fff;
    --bs-box-shadow-lg: 0 0.625rem 1.25rem rgba(0, 0, 0, 0.15);
    --bs-modal-box-shadow: var(--bs-box-shadow-lg);
}

.swal2-container .swal2-modal.swal2-popup,
.swal2-container .swal2-popup {
    background-color: #fff;
    opacity: 1;
}

.checkout-section-2 .left-sidebar-checkout .checkout-detail-box > ul > li .checkout-box .checkout-detail .delivery-address-box.payment-method-box {
    align-items: center;
}

.checkout-section-2 .left-sidebar-checkout .checkout-detail-box > ul > li .checkout-box .checkout-detail .delivery-address-box.payment-method-box .form-check-input {
    margin-top: 0;
    align-self: center;
}

.checkout-section-2 .left-sidebar-checkout .checkout-detail-box > ul > li .checkout-box .checkout-detail .delivery-address-box .form-check-label.payment-method-label {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    width: calc(100% - 1.75rem);
}

.checkout-section-2 .left-sidebar-checkout .checkout-detail-box > ul > li .checkout-box .checkout-detail .delivery-address-box .payment-method-label .payment-method-name {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    line-height: 1.3;
}

.checkout-section-2 .left-sidebar-checkout .checkout-detail-box > ul > li .checkout-box .checkout-detail .delivery-address-box .payment-method-label .payment-method-icon {
    display: block;
    flex: 0 0 auto;
    width: auto;
    height: 28px;
    max-height: 28px;
    max-width: 96px;
    object-fit: contain;
}

.checkout-section-2 .left-sidebar-checkout .checkout-detail-box > ul > li .checkout-box .checkout-detail .delivery-address-box .payment-method-label .payment-method-icon-creditcard,
.checkout-section-2 .left-sidebar-checkout .checkout-detail-box > ul > li .checkout-box .checkout-detail .delivery-address-box .payment-method-label .payment-method-icon-atome {
    height: 40px;
    max-height: 40px;
    max-width: 120px;
}

.offcanvas.cart-offcanvas {
    top: 0;
    bottom: 0;
    height: 100% !important;
    max-height: 100%;
    height: 100dvh !important;
    max-height: 100dvh;
    display: flex;
    flex-direction: column;
}

.offcanvas.cart-offcanvas .offcanvas-header {
    flex-shrink: 0;
    margin-bottom: 0;
}

.offcanvas.cart-offcanvas .offcanvas-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.offcanvas.cart-offcanvas .offcanvas-body .cart-media {
    flex: 1 1 auto;
    min-height: 0;
    height: auto !important;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding-bottom: 0;
}

.offcanvas.cart-offcanvas .offcanvas-body .cart-product {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

.offcanvas.cart-offcanvas .offcanvas-body .cart_total {
    position: relative !important;
    bottom: auto !important;
    right: auto !important;
    flex-shrink: 0;
    width: 100%;
    max-width: none !important;
    padding: 0 15px calc(16px + env(safe-area-inset-bottom, 0px));
}

.shop-price-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem 0.85rem;
    margin-top: 0.3rem;
    color: #666;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
}

.shop-price-metrics span {
    white-space: nowrap;
}

.product-page .shop-price-metrics,
.home-product-card .shop-price-metrics {
    font-size: 14px;
}

.home-product-card .shop-price-metrics {
    margin: 0.3rem 0 14px;
}

.home-product-card__price {
    margin: 0 0 14px;
    color: #222;
    font-size: 20px;
    font-weight: 700;
}

.dashboard-sidebar .faq-tab .nav-tabs {
    padding: 4px 0 8px;
}

.dashboard-sidebar .faq-tab .nav-tabs > .nav-item:first-child .nav-link {
    padding-left: 16px;
    padding-right: 16px;
}

.dashboard-sidebar .nav-section {
    margin: 16px 0 0;
    padding: 0;
}

.dashboard-sidebar .nav-section-title {
    display: block;
    padding: 10px 4px 8px;
    margin: 0 12px 4px;
    color: #946c0a;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.35;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(148, 108, 10, 0.18);
}

.dashboard-sidebar .nav-section ~ .nav-item:not(.nav-section):not(.logout-cls) .nav-link,
.dashboard-sidebar .nav-section ~ .nav-item:not(.nav-section):not(.logout-cls) .nav-link.disabled {
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 28px;
    padding-right: 16px;
}

.dashboard-sidebar .nav-link.disabled {
    cursor: default;
    opacity: 0.7;
    pointer-events: none;
}

.dashboard-sidebar .faq-tab .nav-tabs .logout-cls {
    margin-top: 12px;
}
