/* ----------index  */
:root {
    --shop-primary: #f36b21;
    --shop-primary-deep: #dd5c16;
    --shop-bg: #f6f7fb;
    --shop-card: #ffffff;
    --shop-text: #20242f;
    --shop-muted: #687082;
    --shop-line: #e6e8ee;
    --shop-shadow: 0 8px 25px rgba(26, 32, 44, 0.08);
}

/* Custom text selection color */
::selection {
    background-color: #ff6a00;
    color: #fff;
}

::-moz-selection {
    background-color: #ff6a00;
    color: #fff;
}

body {
    font-family: 'Roboto', sans-serif;
    background: var(--shop-bg);
    color: var(--shop-text);
}

.shop-shell {
    padding: 1rem 0;
}

.shop-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

.shop-subtitle {
    color: var(--shop-muted);
    margin: 0.35rem 0 0;
}

.filter-toggle-btn {
    border: 1px solid var(--shop-line);
    background: #fff;
    border-radius: 10px;
    padding: 0.55rem 0.9rem;
    font-weight: 600;
    color: var(--shop-text);
}

.shop-sidebar {
    background: var(--shop-card);
    border-radius: 12px;
    border: 1px solid var(--shop-line);
    box-shadow: var(--shop-shadow);
    padding: 1rem;
    position: sticky;
    top: 90px;
    max-height: calc(100vh - 110px);
    overflow: auto;
}

.filter-group {
    border-bottom: 1px solid var(--shop-line);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.filter-group:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.filter-title {
    font-size: 0.98rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.filter-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    border: none;
    background: transparent;
    text-align: left;
    color: #394152;
    padding: 0.35rem 0;
    font-size: 0.93rem;
    transition: color 0.2s ease;
}

.filter-link:hover,
.filter-link.active {
    color: var(--shop-primary);
}

/* Top Sellers */
.top-sellers-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.top-seller-link {
    display: block;
    text-decoration: none;
    color: var(--shop-text);
    padding: 0.75rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.top-seller-link {
    background: rgba(243, 107, 33, 0.05);
    border-color: var(--shop-primary);
    color: var(--shop-primary);
}

.seller-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
    background: #f5f5f5;
}

.shop-main-card {
    background: #fff;
    border: 1px solid var(--shop-line);
    border-radius: 12px;
    box-shadow: var(--shop-shadow);
    padding: 1rem;
}

.product-grid-row {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
}

.product-card {
    background: #fff;
    border: 1px solid var(--shop-line);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(26, 32, 44, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 26px rgba(26, 32, 44, 0.12);
}

.product-image-wrap {
    position: relative;
    overflow: hidden;
    background: #f2f4f8;
}

.product-image {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.product-card:hover .product-image {
    transform: scale(1.08);
}

.wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: #677086;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.wishlist-btn:hover,
.wishlist-btn.active {
    color: #d9265b;
}

.product-body {
    padding: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    flex: 1;
}

.product-name {
    font-size: 0.93rem;
    margin: 0;
    line-height: 1.35;
    min-height: 2.5em;
}

.product-category {
    color: var(--shop-muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.product-price {
    color: var(--shop-primary);
    font-size: 1.07rem;
    font-weight: 700;
    margin: 0;
}

.product-actions {
    margin-top: auto;
    display: flex;
    gap: 0.4rem;
}

.btn-cart {
    flex: 1;
    background: var(--shop-primary);
    border: none;
    color: #fff;
    font-size: 0.84rem;
    font-weight: 600;
    border-radius: 8px;
    padding: 0.5rem 0.55rem;
}

.btn-cart:hover {
    background: var(--shop-primary-deep);
    color: #fff;
}

.btn-view {
    background: linear-gradient(135deg, #ff6a00 0%, #ff8c3a 100%);
    border: none;
    color: #fff;
    font-size: 0.84rem;
    font-weight: 600;
    border-radius: 8px;
    padding: 0.5rem 0.55rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 106, 0, 0.3);
}

.btn-view:hover {
    background: linear-gradient(135deg, #e55a00 0%, #ff7a20 100%);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 106, 0, 0.4);
}

.btn-danger {
    background: linear-gradient(135deg, #ff6a00 0%, #ff8c3a 100%);
    border: none;
    color: #fff;
    font-size: 0.84rem;
    font-weight: 600;
    border-radius: 8px;
    padding: 0.5rem 0.55rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 106, 0, 0.3);
}

.btn-danger:hover {
    background: linear-gradient(135deg, #e55a00 0%, #ff7a20 100%);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 106, 0, 0.4);
}

/* Orange buttons with black text */
.btn-checkout-orange,
.btn-back-orange {
    background: linear-gradient(135deg, #ff6a00 0%, #ff8c3a 100%);
    border: none;
    color: #fff !important;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    padding: 0.6rem 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 106, 0, 0.3);
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

.btn-checkout-orange:hover,
.btn-back-orange:hover {
    background: linear-gradient(135deg, #e55a00 0%, #ff7a20 100%);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 106, 0, 0.4);
}

.btn-checkout-orange:active,
.btn-back-orange:active {
    transform: translateY(0);
}

/* Download and YouTube Section Styles */
.download-section {
    margin-top: 2.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 106, 0, 0.08) 0%, rgba(255, 140, 58, 0.06) 100%);
    border-left: 4px solid #ff6a00;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.download-section h4 {
    margin: 0;
    color: #ff6a00;
    font-weight: 600;
    font-size: 1.1rem;
}

.pdf-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin: 0;
}

.pdf-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 1rem;
    background: #fff;
    border-radius: 6px;
    text-decoration: none;
    color: #ff6a00;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 106, 0, 0.2);
    box-shadow: 0 2px 6px rgba(255, 106, 0, 0.1);
}

.pdf-link:hover {
    background: #fff;
    color: #e55a00;
    border-color: #ff6a00;
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(255, 106, 0, 0.2);
}

.pdf-link i {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.youtube-section {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
}

.youtube-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1.5rem;
    background: linear-gradient(135deg, #ff6a00 0%, #ff8c3a 100%);
    border-radius: 6px;
    text-decoration: none;
    color: #000 !important;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 8px rgba(255, 106, 0, 0.3);
    cursor: pointer;
}

.youtube-link:hover {
    background: linear-gradient(135deg, #e55a00 0%, #ff7a20 100%);
    color: #000 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 106, 0, 0.4);
}

.youtube-link i {
    font-size: 1.2rem;
}

/* Orange danger button */
/* .btn-danger-orange { */
/* background: linear-gradient(135deg, #ff00 0%, #ff00 100%);
            border: none;
            color: #fff;
            font-size: 0.95rem;
            font-weight: 600;
            border-radius: 8px;
            padding: 0.6rem 1.2rem;
            text-decoration: none;
            transition: all 0.3s ease;
            box-shadow: 0 2px 8px rgba(255, 106, 0, 0.3);
            cursor: pointer;
            display: inline-block;
            text-align: center;
        } */

.btn-danger-orange:hover {
    background: linear-gradient(135deg, #20242f 0%, #20242f 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 106, 0, 0.4);
}

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

/* Responsive button styles */
@media (max-width: 576px) {

    .btn-view,
    .btn-danger,
    .btn-checkout-orange,
    .btn-back-orange,
    .btn-danger-orange {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
        border-radius: 6px;
    }

    .product-actions {
        gap: 0.3rem;
    }

    .download-section {
        margin-top: 1.5rem;
        padding: 1rem;
    }

    .download-section h4 {
        font-size: 1rem;
    }

    .pdf-link {
        padding: 0.7rem 0.8rem;
        font-size: 0.9rem;
    }

    .youtube-link {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }
}

.top-seller-link {
    display: block;
    text-decoration: none;
    color: #3f4758;
    font-size: 0.88rem;
    margin-bottom: 0.5rem;
}

.top-seller-link:hover {
    color: var(--shop-primary);
}

.filter-overlay {
    display: none;
}

.mobile-sidebar-header {
    display: none;
}

@media (max-width: 991.98px) {
    .shop-sidebar-col {
        flex: 0;
        max-width: 0;
        padding: 0;
    }

    .shop-sidebar {
        position: fixed;
        top: 0;
        left: -320px;
        width: 300px;
        height: 100vh;
        max-height: none;
        z-index: 1055;
        border-radius: 0;
        transition: left 0.25s ease;
        box-shadow: 0 0 25px rgba(0, 0, 0, 0.2);
    }

    .mobile-sidebar-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 0.8rem;
        position: sticky;
        top: 0;
        background: #fff;
        padding-bottom: 0.6rem;
        z-index: 1;
    }

    body.filters-open .shop-sidebar {
        left: 0;
    }

    body.filters-open .filter-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.35);
        z-index: 1050;
    }
}

@media (max-width: 575.98px) {
    .product-grid-row>div {
        width: 50%;
    }
}

@media (max-width: 420px) {
    .product-grid-row>div {
        width: 100%;
    }
}

/* ----------index end */

/* ------------header */

/* ==================== HEADER STYLES ==================== */

/* TOP BAR SECTION */
.topbar {
    background-color: #f8f9fa;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 0;
    font-size: 14px;
}

.topbar a {
    color: #555;
    margin: 0 15px;
    transition: color 0.3s;
}

.topbar a:hover {
    color: #ff6600;
}

.topbar i {
    margin-right: 5px;
}

/* MAIN HEADER SECTION */
.main-header {
    background-color: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #e9ecef;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: #ff6600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    transition: transform 0.3s, color 0.3s;
}

.logo:hover {
    color: #e55a00;
    transform: scale(1.05);
}

.logo i {
    margin-right: 8px;
    font-size: 32px;
}

/* logo image sizing */
.logo img {
    max-height: 64px;
    width: auto;
    display: block;
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    max-width: 600px;
}

.search-container input {
    border-radius: 25px;
    padding: 10px 20px;
    padding-right: 40px;
    border: 1px solid #dee2e6;
    transition: border-color 0.3s, box-shadow 0.3s;
    width: 100%;
    min-width: 200px;
}

.search-container input:focus {
    border-color: #ff6600;
    box-shadow: 0 0 8px rgba(255, 102, 0, 0.2);
    outline: none;
}

.search-container i {
    position: absolute;
    right: 15px;
    color: #999;
    pointer-events: none;
}

.icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    font-size: 24px;
    color: #333;
    text-decoration: none;
    margin-left: 20px;
    flex-shrink: 0;
    transition: color 0.3s;
}

.icon-badge:hover {
    color: #ff6600;
}

.badge-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #ff6600;
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}


/* Desktop: open dropdowns on hover so click is not required */
@media (min-width: 992px) {
    .navbar-custom .nav-item.dropdown:hover>.dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .topbar {
        padding: 8px 0;
        font-size: 12px;
        margin-bottom: 8px;
    }

    .topbar .col-md-6:first-child {
        flex-basis: 100%;
        margin-bottom: 8px;
    }

    .logo img {
        max-height: 70px;
    }

    .topbar a {
        margin: 0 8px;
    }

    .main-header {
        padding: 15px 0;
    }

    .logo {
        font-size: 24px;
        margin-right: 10px;
    }

    .logo i {
        font-size: 28px;
    }

    .search-container {
        max-width: 400px;
        margin-right: 15px;
    }

    .search-container input {
        padding: 8px 15px;
        padding-right: 35px;
        font-size: 14px;
    }

    .icon-badge {
        font-size: 20px;
        margin-left: 15px;
    }

    .badge-count {
        width: 18px;
        height: 18px;
        font-size: 10px;
    }

    .navbar-custom .nav-link {
        padding: 10px 8px;
        font-size: 15px;
    }

    .dropdown-arrow {
        font-size: 10px;
    }
}

@media (max-width: 576px) {
    .topbar {
        padding: 8px 0;
    }

    .topbar .col-md-6:first-child {
        flex-basis: 100%;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 8px;
    }

    .topbar .col-md-6:last-child {
        flex-basis: 100%;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
        margin-top: 8px;
        flex-wrap: wrap;
    }

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

    .main-header {
        padding: 12px 0;
    }

    .logo {
        font-size: 18px;
        margin-right: 8px;
    }

    .logo i {
        font-size: 24px;
        margin-right: 5px;
    }

    .logo span {
        display: none;
    }

    .search-container {
        flex-basis: 100%;
        max-width: 100%;
        margin-right: 0;
        margin-bottom: 8px;
    }

    .search-container input {
        padding: 8px 12px;
        font-size: 13px;
    }

    .search-container input::placeholder {
        font-size: 12px;
    }

    .icon-badge {
        font-size: 18px;
        margin-left: 10px;
    }

    .topbar-wishlist,
    .topbar-myorders {
        font-size: 12px;
    }

    .topbar-wishlist .wishlist-text,
    .topbar-myorders .myorders-text {
        display: none;
    }

    .navbar-custom {
        padding: 0 0;
    }

    .navbar-custom .nav-link {
        padding: 8px 6px;
        font-size: 14px;
    }

    .navbar-custom .dropdown-menu {
        min-width: auto;
    }
}

/* Login Modal Styles - Higher z-index than navigation */
#loginModal {
    z-index: 10000 !important;
}

#loginModal .modal-backdrop {
    z-index: 9999 !important;
}

#loginModal .modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

#loginModal .modal-header {
    background: linear-gradient(135deg, #ff6600 0%, #ff8c3a 100%);
    border: none;
    padding: 1.5rem 2rem;
    color: #fff;
}

#loginModal .modal-title {
    font-weight: 700;
    font-size: 1.5rem;
    color: #fff;
}

#loginModal .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

#loginModal .modal-body {
    padding: 2rem;
}

#loginModal .nav-tabs {
    border-bottom: 2px solid #e9ecef;
    margin-bottom: 1.5rem;
}

#loginModal .nav-tabs .nav-link {
    border: none;
    color: #6c757d;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

#loginModal .nav-tabs .nav-link:hover {
    color: #ff6600;
    border-bottom-color: #ff6600;
    background: none;
}

#loginModal .nav-tabs .nav-link.active {
    color: #ff6600;
    background: none;
    border-bottom-color: #ff6600;
}

#loginModal .form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

#loginModal .form-label .required {
    color: #ff6600;
}

#loginModal .form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: all 0.3s;
}

#loginModal .form-control:focus {
    border-color: #ff6600;
    box-shadow: 0 0 0 0.2rem rgba(255, 102, 0, 0.15);
    outline: none;
}

#loginModal .password-wrapper {
    position: relative;
}

#loginModal .password-wrapper .form-control {
    padding-right: 3rem;
}

#loginModal .password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    font-size: 1.1rem;
    transition: color 0.3s;
}

#loginModal .password-toggle:hover {
    color: #ff6600;
}

#loginModal .btn-login,
#loginModal .btn-register {
    background: linear-gradient(135deg, #ff6600 0%, #ff8c3a 100%);
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    width: 100%;
    color: #fff;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3);
}

#loginModal .btn-login:hover,
#loginModal .btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 102, 0, 0.4);
    background: linear-gradient(135deg, #e55a00 0%, #ff7a20 100%);
}

#loginModal .form-check-input:checked {
    background-color: #ff6600;
    border-color: #ff6600;
}

#loginModal .form-check-input:focus {
    border-color: #ff6600;
    box-shadow: 0 0 0 0.2rem rgba(255, 102, 0, 0.15);
}

#loginModal .forgot-link {
    color: #ff6600;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

#loginModal .forgot-link:hover {
    color: #e55a00;
    text-decoration: underline;
}

#loginModal .divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
}

#loginModal .divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e9ecef;
}

#loginModal .divider span {
    background: #fff;
    padding: 0 1rem;
    position: relative;
    color: #6c757d;
    font-size: 0.85rem;
}

#loginModal .btn-social {
    width: 100%;
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: 600;
    margin-bottom: 0.75rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

#loginModal .btn-google {
    background: #fff;
    color: #333;
    border: 2px solid #e9ecef;
}

#loginModal .btn-google:hover {
    background: #f8f9fa;
    border-color: #ff6600;
    transform: translateY(-1px);
}

#loginModal .btn-facebook {
    background: #1877f2;
    color: #fff;
    border: 2px solid #1877f2;
}

#loginModal .btn-facebook:hover {
    background: #0d65d9;
    border-color: #0d65d9;
    transform: translateY(-1px);
}

@media (max-width: 576px) {
    #loginModal .modal-body {
        padding: 1.5rem 1rem;
    }

    #loginModal .nav-tabs .nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    #loginModal .modal-title {
        font-size: 1.25rem;
    }
}

/* Wishlist styling */
.wd-header-my-account {
    display: inline-flex;
    align-items: center;
}

.wd-header-my-account .wd-tools-icon i {
    font-size: 20px;
}

.topbar-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 8px;
}

.topbar-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow-x: auto;
}

.topbar-links .icon-badge {
    margin-left: 0;
}

.topbar-search {
    display: flex;
    justify-content: center;
}

.topbar-search-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.topbar-search .search-container {
    flex: 1 1 auto;
    max-width: none;
    margin: 0;
}

.topbar-search-wrap .icon-badge {
    margin-left: 0;
}

.wd-header-my-account>a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    background: #fff;
    color: #374151;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s;
}

.wd-header-my-account>a:hover {
    color: #ff6600;
    border-color: #ff6600;
}

.wd-header-my-account .wd-tools-icon {
    display: inline-flex;
    align-items: center;
}

.topbar-action-link,
.topbar-wishlist,
.topbar-myorders {
    color: #374151;
    display: inline-flex;
    align-items: center;
    gap: 0;
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    transition: all 0.3s;
    white-space: nowrap;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 0;
    background: #fff;
    width: 36px;
    height: 36px;
    justify-content: center;
}

.topbar-action-link:hover,
.topbar-wishlist:hover,
.topbar-myorders:hover {
    color: #ff6600;
    border-color: #ff6600;
}

.topbar-action-link i,
.topbar-wishlist i,
.topbar-myorders i {
    font-size: 15px;
}

.topbar-action-link .action-text,
.topbar-wishlist .wishlist-text {
    font-size: 14px;
}

.topbar-myorders .myorders-text {
    font-size: 14px;
}

.topbar-action-link {
    white-space: nowrap;
}






.navbar-toggler {
    border-color: #d1d5db;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.15rem rgba(243, 107, 33, 0.2);
}

@media (max-width: 991.98px) {
    .topbar-actions {
        align-items: flex-start;
    }

    .topbar-search-wrap,
    .topbar-search .search-container {
        max-width: 100%;
    }

    .topbar-links {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .topbar-action-link .action-text,
    .topbar-wishlist .wishlist-text,
    .topbar-myorders .myorders-text {
        display: none;
    }

    .navbar-custom .navbar-nav {
        align-items: flex-start;
    }

    .navbar-custom .nav-link {
        margin: 0;
        padding: 10px 0;
    }
}

@media (max-width: 575.98px) {
    .logo img {
        max-height: 52px;
    }

    .topbar-links {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
    }

    .topbar-action-link,
    .icon-badge,
    .topbar-wishlist,
    .topbar-myorders {
        justify-content: center;
        width: 100%;
        margin: 0;
    }

    .wd-header-my-account {
        width: 100%;
    }

    .wd-header-my-account>a {
        width: 100%;
        justify-content: center;
    }
}

/* Uniform 4-action alignment: account, cart, wishlist, my orders */
.topbar-links {
    gap: 12px;
    align-items: center;
}

.topbar-links .wd-header-my-account,
.topbar-links .icon-badge,
.topbar-links .topbar-wishlist,
.topbar-links .topbar-myorders {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #fff;
    color: #374151;
}

.topbar-links .wd-header-my-account>a {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: inherit;
}

.topbar-links .wd-header-my-account:hover,
.topbar-links .icon-badge:hover,
.topbar-links .topbar-wishlist:hover,
.topbar-links .topbar-myorders:hover {
    border-color: #ff6600;
    color: #ff6600;
}

.topbar-links .topbar-wishlist .wishlist-text,
.topbar-links .topbar-myorders .myorders-text,
.topbar-links .topbar-action-link .action-text {
    display: none;
}

/* ----------header end */

/* footer */

.footer {
    background-color: #000;
    color: #fff;
    margin-top: 32px;
}

.footer__widgets {
    padding: 24px 0;
}

.footer__widgets .quickbox {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.footer__widgets h5 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #fff;
}

.footer__widgets ul {
    padding-left: 0;
    margin-bottom: 0;
}

.footer__widgets ul li {
    margin-bottom: 0.6rem;
    color: #fff;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.footer__widgets ul li i {
    margin-right: 8px;
    width: 14px;
}

.footer__widgets ul li a {
    text-decoration: none;
    color: #fff;
}

.footer__widgets ul li a:hover {
    color: #ff6600;
}

.footer-bottom .copyright {
    display: block;
    font-size: 13px;
    color: #fff;
}

.footer-bottom h6 {
    margin-bottom: 0.5rem;
    color: #fff;
}

.footer-bottom {
    background-color: #222533;
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 16px 0;
}

.footer-bottom a {
    color: #ff6600;
    text-decoration: none;
}

.footer__socials a {
    margin: 0 12px;
    display: inline-block;
    font-size: 20px;
    color: #fff;
}

.footer__socials a:hover {
    color: #ff6600;
}

@media (max-width: 768px) {
    .footer__widgets .quickbox {
        margin-bottom: 1.5rem;
    }

    .footer__socials a {
        margin: 0 10px;
    }
}

/* footer */


/* product details */


.breadcrumb-nav {
    background-color: var(--bg-light);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.breadcrumb-nav a {
    color: var(--primary-color);
    text-decoration: none;
    margin: 0 0.5rem;
}

.breadcrumb-nav a:hover {
    text-decoration: underline;
}

.breadcrumb-nav span {
    color: var(--text-light);
    margin: 0 0.5rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.py-4 {
    padding: 2rem 0;
}

.py-5 {
    padding: 3rem 0;
}

/* Product Section */
.product-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

/* details page white background wrapper */
body.details-page .container.py-4 {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shop-shadow);
}

.gallery {
    display: flex;
    flex-direction: column;
}

.gallery-main-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.main-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.main-image:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Gallery Navigation Buttons */
.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 106, 0, 0.85);
    color: white;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.gallery-main-wrapper:hover .gallery-nav-btn {
    opacity: 1;
    visibility: visible;
}

.gallery-nav-btn:hover {
    background: rgba(255, 106, 0, 1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(255, 106, 0, 0.4);
}

.gallery-nav-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.gallery-prev {
    left: 15px;
}

.gallery-next {
    right: 15px;
}

.thumbnails {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
}

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

/* Mobile responsive for gallery */
@media (max-width: 768px) {
    .main-image {
        height: 350px;
    }

    .gallery-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .gallery-prev {
        left: 10px;
    }

    .gallery-next {
        right: 10px;
    }
}

@media (max-width: 576px) {
    .main-image {
        height: 250px;
    }

    .gallery-nav-btn {
        width: 36px;
        height: 36px;
        font-size: 1rem;
        opacity: 0.9;
        background: rgba(255, 106, 0, 0.9);
    }

    .gallery-main-wrapper:hover .gallery-nav-btn {
        opacity: 1;
    }

    .gallery-prev {
        left: 8px;
    }

    .gallery-next {
        right: 8px;
    }

    .thumbnails {
        gap: 0.5rem;
    }

    .thumbnail {
        width: 60px;
        height: 60px;
    }
}

/* Product Info */
.product-info h1 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--text-dark);
    font-weight: 400;
}

.product-meta {
    display: block;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.product-category {
    color: var(--primary-color);
    font-weight: 600;
}

.rating {
    color: #ffc107;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: flex-end;
}

.price {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1rem;
}

.product-summary {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    width: fit-content;
}

.quantity-selector input {
    width: 60px;
    border: none;
    text-align: center;
    padding: 0.5rem;
    font-size: 1rem;
}

.quantity-selector button {
    background: var(--bg-light);
    border: none;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.quantity-selector button:hover {
    background: var(--border-color);
}

.btn {
    padding: 5px 14px;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

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

.btn-primary:hover {
    background-color: #e05a0d;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(243, 107, 33, 0.3);
}

.btn-secondary {
    background-color: var(--text-light);
    color: white;
}

.btn-secondary:hover {
    background-color: var(--text-dark);
}

/* Tabs */
.products-tabs-section .tabs {
    margin-bottom: 3rem;
    border-bottom: 2px solid var(--border-color);
}

.products-tabs-section .tab-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: -2px;
}

.products-tabs-section .tab-btn {
    background: none;
    border: none;
    padding: 1rem 0;
    font-size: 1.1rem;
    color: var(--text-light);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    font-weight: 600;
    background: transparent;
    border: 1px solid #f47733;
    padding: 5px 14px;
    margin: 0;
    color: #f47733;
    border-radius: 8px 8px 0 0;
}

.products-tabs-section .tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    background: #f47733;
    border: 1px solid #f47733;
    color: #ffffff;
}

.tab-btn:hover {
    color: var(--primary-color);
}

.tab-content {
    display: none;
    padding: 2rem 0 0;
}

.tab-content.active {
    display: block;
}

.tab-content h3 {
    margin-bottom: 1rem;
}

.tab-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.specs-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.spec-item:before {
    content: "✓";
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.review-item {
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 4px;
    margin-bottom: 1rem;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.review-author {
    font-weight: 600;
    color: var(--text-dark);
}

.review-rating {
    color: #ffc107;
}

.review-text {
    color: var(--text-light);
    line-height: 1.6;
}

.review-title {
    margin: 0.5rem 0;
    color: var(--text-dark);
    font-size: 1rem;
}

.review-date {
    color: var(--muted-color);
    display: block;
    margin-top: 0.5rem;
}

/* Review Modal and Form Styles */
.modal-header {
    background: linear-gradient(135deg, #ff6a00 0%, #ff8c3a 100%);
    color: white;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
}

.modal-title {
    font-weight: 600;
}

.star-rating {
    display: flex;
    gap: 0.5rem;
    font-size: 2rem;
    cursor: pointer;
}

.star-rating .star {
    color: #ddd;
    transition: all 0.2s ease;
    padding: 0.25rem;
    border-radius: 4px;
    user-select: none;
}

.star-rating .star:hover {
    color: #ff6a00;
    transform: scale(1.2);
    background: rgba(255, 106, 0, 0.1);
}

.star-rating .star.active {
    color: #ff6a00;
}

.btn-submit-orange {
    background: linear-gradient(135deg, #ff6a00 0%, #ff8c3a 100%);
    border: none;
    color: #fff !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-submit-orange:hover {
    background: linear-gradient(135deg, #e55a00 0%, #ff7a20 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 106, 0, 0.4);
    color: #fff !important;
}

/* Review Form Modal Responsive */
@media (max-width: 576px) {
    .star-rating {
        font-size: 1.5rem;
        gap: 0.3rem;
    }

    .modal-content {
        border-radius: 8px;
    }

    .review-item {
        padding: 1rem;
    }
}

/* Related Products Slider */
.related-section {
    margin-bottom: 3rem;
}

.related-section h2 {
    margin-bottom: 1.5rem;
}

.related-products {
    display: flex;
    flex-wrap: nowrap;
    gap: 1rem;
    overflow-x: auto;
    padding: 1rem 0;
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
}

.related-products::-webkit-scrollbar {
    height: 6px;
}

.related-products::-webkit-scrollbar-track {
    background: transparent;
}

.related-products::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.related-products::-webkit-scrollbar-thumb:hover {
    background: #999;
}

.related-card {
    flex: 0 0 280px;
    min-width: 280px;
}

.related-slider-wrapper {
    position: relative;
    padding: 0 48px;
}

.related-viewport {
    overflow: hidden;
}

.related-track {
    display: flex;
    align-items: stretch;
    will-change: transform;
}

.related-card {
    flex: 0 0 280px;
    min-width: 280px;
}

.related-card-inner {
    background: #fff;
    border: 1px solid #eef1f4;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    height: 100%;
    padding: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.related-image-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background: #f3f5f7;
}

.related-image {
    width: 100%;
    height: 210px;
    object-fit: cover;
    transition: transform 0.35s ease;
    display: block;
}

.related-card-inner:hover .related-image {
    transform: scale(1.08);
}

.wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
    color: #6f7782;
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1;
}

.wishlist-btn.active {
    color: #e83e5e;
}

.related-title {
    font-size: 1rem;
    margin: 0;
    line-height: 1.35;
}

.related-title a {
    color: var(--text-dark);
    text-decoration: none;
}

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

.related-price {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: auto;
}

.related-actions {
    display: flex;
    gap: 0.5rem;
}

.related-actions .btn {
    flex: 1;
    padding: 0.6rem 0.75rem;
    font-size: 0.9rem;
    text-align: center;
}

.related-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: #fff;
    color: #1d242c;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
    font-size: 1.3rem;
    cursor: pointer;
    z-index: 2;
}

.related-arrow:hover {
    background: var(--primary-color);
    color: #fff;
}

.related-arrow.prev {
    left: 0;
}

.related-arrow.next {
    right: 0;
}

.related-arrow:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.related-dots {
    margin-top: 1.1rem;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.related-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: none;
    background: #cfd6dd;
    cursor: pointer;
    padding: 0;
}

.related-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* Contact Form */
.contact-form {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 8px;
    max-width: 600px;
    margin: 0 auto;
}

.contact-form h3 {
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(243, 107, 33, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
    .product-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .main-image {
        height: 350px;
    }

    .product-info h1 {
        font-size: 1.5rem;
    }

    .price {
        font-size: 1.5rem;
    }

    .product-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .tab-buttons {
        gap: 1rem;
    }

    .tab-btn {
        font-size: 0.95rem;
        padding: 0.75rem 0;
    }

    .specs-list {
        grid-template-columns: 1fr;
    }

    .related-slider-wrapper {
        padding: 0 34px;
    }

    .related-card {
        flex-basis: 33.3333%;
        max-width: 33.3333%;
    }

    .related-image {
        height: 190px;
    }

    .related-arrow {
        width: 34px;
        height: 34px;
    }

    .contact-form {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .related-card {
        flex-basis: 50%;
        max-width: 50%;
    }

    .related-slider-wrapper {
        padding: 0 26px;
    }

    .related-card-inner {
        border-radius: 10px;
        padding: 0.7rem;
    }

    .related-image {
        height: 160px;
    }
}

@media (max-width: 420px) {
    .related-card {
        flex-basis: 100%;
        max-width: 100%;
    }

    .related-slider-wrapper {
        padding: 0 22px;
    }

    .related-arrow {
        width: 30px;
        height: 30px;
        font-size: 1.1rem;
    }
}

/*  */

/* ------------- */

/* Checkout Page Styles */
.text-primary {
    color: #ff6a00 !important;
}

.btn-primary {
    background-color: #ff6a00;
    border-color: #ff6a00;
}

.btn-primary:hover {
    background-color: #e55a00;
    border-color: #e55a00;
}

.btn-warning {
    background-color: #ff6a00 !important;
    border-color: #ff6a00 !important;
}

.btn-warning:hover {
    background-color: #e55a00 !important;
    border-color: #e55a00 !important;
}

.btn-outline-warning {
    color: #ff6a00 !important;
    border-color: #ff6a00 !important;
}

.btn-outline-warning:hover {
    background-color: #ff6a00 !important;
    border-color: #ff6a00 !important;
}

.btn-outline-primary {
    --bs-btn-color: #ff6a00;
    --bs-btn-border-color: #ff6600;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #ff6600;
    --bs-btn-hover-border-color: #ff6600;
    --bs-btn-focus-shadow-rgb: 13, 110, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #ff6600;
    --bs-btn-active-border-color: #ff6600;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #ff6600;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #ff6600;
    --bs-gradient: none;
}

.btn-outline-primary.btn-sm {
    padding: 0.5rem 1rem;
}

.btn-warning.btn-sm {
    padding: 0.5rem 1rem;
}

.form-check-input:checked {
    background-color: #ff6a00;
    border-color: #ff6a00;
}

.form-check-input:focus {
    border-color: #ff6a00;
    box-shadow: 0 0 0 0.25rem rgba(255, 106, 0, 0.25);
}

.badge.bg-primary {
    background-color: #ff6a00 !important;
}

/* ----order sucess */

body {
    background: #f6f7fb;
}

.success-wrap {
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.success-card {
    background: #fff;
    border: 1px solid #e5e7ef;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    padding: 2rem;
}

.success-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #ecfdf3;
    color: #16a34a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.btn-continue {
    background-color: #f36b21;
    border-color: #f36b21;
    color: #fff;
    font-weight: 600;
    padding: 0.6rem 1.3rem;
}

.btn-continue:hover,
.btn-continue:focus {
    background-color: #de5b14;
    border-color: #de5b14;
    color: #fff;
}

/* ---order sucess end-- */

/* ---navigation */
/* Custom text selection color */
::selection {
    background-color: #ff6a00;
    color: #fff;
}

::-moz-selection {
    background-color: #ff6a00;
    color: #fff;
}

.shop-main-nav {
    background: #fff;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 1040;
}

.shop-main-nav .navbar-toggler {
    border-color: #dcdfe4;
}

.shop-main-nav .navbar-toggler:focus {
    box-shadow: none;
}

.shop-main-nav .navbar-nav .nav-link {
    color: #333;
    font-weight: 500;
    padding: 5px 10px;
}

.shop-main-nav .navbar-nav {
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

.shop-main-nav .navbar-nav .nav-link:hover,
.shop-main-nav .navbar-nav .nav-link.active {
    color: #ff6600;
}

.shop-main-nav .dropdown-menu {
    border: 1px solid #e9ecef;
    border-radius: 0.5rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.shop-main-nav .dropdown-item {
    font-size: 0.92rem;
}

.shop-main-nav .dropdown-item:hover,
.shop-main-nav .dropdown-item.active {
    background: #fff4ed;
    color: #ff6600;
}

.shop-main-nav .dropdown-submenu {
    position: relative;
}

.shop-main-nav .dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -0.25rem;
}

.shop-main-nav .dropdown-submenu>.dropdown-item .bi {
    float: right;
    margin-top: 0.2rem;
}

@media (min-width: 992px) {
    .shop-main-nav .dropdown:hover>.dropdown-menu {
        display: block;
    }

    .shop-main-nav .dropdown-submenu:hover>.dropdown-menu {
        display: block;
    }
}

@media (max-width: 991.98px) {
    .shop-main-nav .navbar-nav {
        align-items: stretch;
        gap: 0;
    }

    .shop-main-nav .dropdown-submenu>.dropdown-menu {
        position: static;
        margin-left: 0.75rem;
        margin-top: 0.25rem;
        border-left: 2px solid #f1f1f1;
        box-shadow: none;
    }
}


/* <!-- WhatsApp & Inquiry Widget --> */

.wa-widget-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.wa-widget-button {
    width: 60px;
    height: 60px;
    background-color: #f36b21;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(243, 107, 33, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    outline: none;
}

.wa-widget-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(243, 107, 33, 0.6);
}

.wa-widget-button:active {
    transform: scale(0.98);
}

.wa-widget-button svg {
    width: 28px;
    height: 28px;
}

/* Inquiry Panel */
.wa-widget-panel {
    position: absolute;
    bottom: 90px;
    right: 0;
    width: 400px;
    max-height: 650px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 40px rgba(0, 0, 0, 0.16);
    display: none;
    flex-direction: column;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
}

.wa-widget-panel.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.wa-widget-header {
    background: linear-gradient(135deg, #222a33 0%, #2d3842 100%);
    color: #fff;
    padding: 20px;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.wa-widget-header-content h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.wa-widget-header-content p {
    margin: 0;
    font-size: 0.85rem;
    color: #b0b8c1;
}

.wa-widget-close-btn {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 1.5rem;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.wa-widget-close-btn:hover {
    transform: rotate(90deg);
}

/* Body Section */
.wa-widget-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

.wa-widget-form-group {
    margin-bottom: 12px;
}

.wa-widget-form-group:last-of-type {
    margin-bottom: 0;
}

.wa-widget-form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 6px;
}

.wa-widget-form-group input,
.wa-widget-form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 0.9rem;
    font-family: inherit;
    transition: all 0.2s;
    box-sizing: border-box;
    background-color: #f9f9f9;
}

.wa-widget-form-group input:focus,
.wa-widget-form-group textarea:focus {
    outline: none;
    border-color: #f36b21;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(243, 107, 33, 0.1);
}

.wa-widget-form-group textarea {
    resize: vertical;
    min-height: 90px;
}

/* ==================== ENHANCED PRODUCT STYLING ==================== */

/* Product List Page Enhancements */
.shop-shell {
    background: linear-gradient(135deg, #f8f9fa 0%, #f1f3f8 100%);
}

.shop-title {
    color: #1a202c;
    font-family: 'Roboto', sans-serif;
    letter-spacing: -0.5px;
}

.shop-subtitle {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #687082;
}

/* Product Grid Responsive */
.product-grid-row {
    --bs-gutter-x: 1.2rem;
    --bs-gutter-y: 1.5rem;
    margin-left: calc(var(--bs-gutter-x) * -0.5);
    margin-right: calc(var(--bs-gutter-x) * -0.5);
}

/* Product Item Container */
.product-item {
    padding: calc(var(--bs-gutter-x) * 0.5) calc(var(--bs-gutter-y) * 0.5);
}

/* ==================== ENHANCED PRODUCT CARD ==================== */

.product-card {
    background: var(--shop-card);
    padding: 2px;
    border: 1px solid var(--shop-line);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(26, 32, 44, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card img.product-image,
.product-card:hover img.product-image {
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(243, 107, 33, 0.15);
    border-color: var(--shop-primary);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--shop-primary), #ff8c3a);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover::before {
    opacity: 1;
}

/* Product Image Wrapper */
.product-image-wrap {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fb 0%, #f0f3f9 100%);
    aspect-ratio: 1 / 1;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0.2, 0.2, 1);
}

.product-card:hover .product-image {
    transform: scale(1.1) rotate(1deg);
}

/* Wishlist Button */
.wishlist-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: #867467;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.1rem;
    backdrop-filter: blur(8px);
}

.wishlist-btn:hover {
    background: var(--shop-primary);
    color: #fff;
    transform: scale(1.15) rotate(15deg);
    box-shadow: 0 6px 20px rgba(243, 107, 33, 0.4);
}

.wishlist-btn.active,
.wishlist-btn .bi-heart-fill {
    color: #d9265b;
}

/* Product Body */
.product-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 0.5rem;
}

/* Product Category Tag */
.product-category {
    display: inline-block;
    color: var(--shop-primary);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    background: rgba(243, 107, 33, 0.08);
    padding: 7px 15px;
    border-radius: 4px;
    width: fit-content;
    transition: all 0.2s ease;
    width: 100%;
    margin-bottom: 10px;
}

.certificate_number {
    display: inline-block;
    color: var(--shop-secondary);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    background: rgb(33 243 80 / 8%);
    padding: 7px 15px;
    border-radius: 4px;
    width: fit-content;
    transition: all 0.2s ease;
    width: 100%;
    margin-bottom: 10px;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
}

.product-section .certificate_number {
    padding: 12px 10px;
    margin-bottom: 0px;
    display: inline;
}

.product-details-info .product-category {
    margin-bottom: 0px;
    display: inline-block;
    width: auto;
}

.product-details-info h1 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--text-dark);
    font-weight: 400;
}

.product-card:hover .product-category {
    background: rgba(243, 107, 33, 0.15);
}

/* Product Name */
.product-name {
    font-size: 18px;
    font-weight: 400;
    color: var(--shop-text);
    margin: 0;
    line-height: 28px;
    min-height: 28px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    border-bottom: 1px solid #e6e8ee;
    padding-bottom: 10px;
}

.product-name a {
    color: orange;
    text-decoration: none;
}

.product-name a:hover {
    color: #313131;
}

/* Product Price */
.product-price {
    color: var(--shop-primary);
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0.25rem 0 0 0;
    font-family: 'Roboto Mono', monospace;
}

/* Product Rating */
.product-rating {
    font-size: 0.85rem;
    color: var(--shop-muted);
    letter-spacing: -0.3px;
}

/* Product Actions */
.product-actions {
    margin-top: auto;
    display: flex;
    gap: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--shop-line);
    margin-bottom: 10px;
}

/* Primary Action Button */
.product-actions .btn-primary {
    flex: 1;
    background: linear-gradient(135deg, var(--shop-primary) 0%, #ff8c3a 100%);
    border: none;
    color: #fff !important;
    font-size: 12px;
    font-weight: 600;
    border-radius: 5px;
    padding: 5px 0px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(243, 107, 33, 0.25);
    text-decoration: none;
    width: 100px;
    max-width: 100px;
    margin: auto;
}

.product-actions .btn-primary:hover {
    background: linear-gradient(135deg, var(--shop-primary-deep) 0%, #ff6a00 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(243, 107, 33, 0.35);
}

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

/* ==================== NAVIGATION & HEADER ==================== */

/* Main Navigation */
.navbar {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 0.8rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--shop-primary) !important;
}

.nav-link {
    color: var(--shop-text) !important;
    font-weight: 500;
    transition: color 0.3s ease;
    margin: 0 0.5rem;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: relative;
    bottom: -2px;
    left: 7px;
    width: 6px;
    height: 6px;
    background: transparent;
}

/* Search Bar */
.search-input {
    border: 1px solid var(--shop-line);
    border-radius: 8px;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--shop-primary);
    box-shadow: 0 0 0 3px rgba(243, 107, 33, 0.1);
}

/* ==================== FOOTER STYLING ==================== */

.footer {
    background: #1a202c;
    color: #e2e8f0;
    padding: 3rem 0 0;
    margin-top: auto;
}

.footer.dashboard-footer {
    padding: 15px 0;
}

.footer__widgets {
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer h5 {
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer a {
    color: #cbd5e0;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

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

.footer-bottom {
    background: #0f1419;
    padding: 1.5rem 0;
    font-size: 0.85rem;
}

.copyright {
    color: #a0aec0;
}

.footer-bottom a {
    color: var(--shop-primary);
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Social Links */
.socials {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.socials a {
    width: 12px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-size: 1.1rem;
    margin: 0;
    padding: 0;
}

.socials a:hover {}

/* ==================== FORM ELEMENTS ==================== */

.form-select {
    border: 1px solid var(--shop-line);
    border-radius: 8px;
    padding: 0.6rem 1rem;
    background-color: #fff;
    color: var(--shop-text);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.form-select:focus {
    outline: none;
    border-color: var(--shop-primary);
    box-shadow: 0 0 0 3px rgba(243, 107, 33, 0.1);
}

.form-control {
    border: 1px solid var(--shop-line);
    border-radius: 8px;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--shop-primary);
    box-shadow: 0 0 0 3px rgba(243, 107, 33, 0.1);
}

/* ==================== RESPONSIVE ADJUSTMENTS ==================== */

@media (max-width: 768px) {
    .shop-title {
        font-size: 1.5rem;
    }

    .shop-subtitle {
        font-size: 0.9rem;
    }

    .product-name {
        font-size: 0.9rem;
        min-height: auto;
    }

    .product-price {
        font-size: 1rem;
    }

    .product-body {
        padding: 0.875rem;
    }

    .product-actions {
        gap: 0.4rem;
        padding-top: 0.5rem;
    }

    .product-actions .btn-primary {
        font-size: 0.8rem;
        padding: 0.5rem 0.4rem;
    }

    .product-grid-row {
        --bs-gutter-x: 0.75rem;
        --bs-gutter-y: 1rem;
    }
}

@media (max-width: 576px) {
    .shop-shell {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .shop-title {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }

    .shop-subtitle {
        font-size: 0.85rem;
    }

    .product-grid-row {
        --bs-gutter-x: 0.5rem;
        --bs-gutter-y: 0.75rem;
    }

    .product-body {
        padding: 0.75rem;
        gap: 0.35rem;
    }

    .product-card {
        border-radius: 8px;
    }

    .product-image-wrap {
        border-radius: 8px;
    }

    .footer h5 {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .footer a {
        font-size: 0.85rem;
    }
}

/* ==================== UTILITY CLASSES ==================== */

.gap-2 {
    gap: 0.5rem !important;
}

.gap-3 {
    gap: 1rem !important;
}

.d-flex {
    display: flex !important;
}

.flex-wrap {
    flex-wrap: wrap !important;
}

.justify-content-between {
    justify-content: space-between !important;
}

.align-items-center {
    align-items: center !important;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.text-muted {
    color: var(--shop-muted) !important;
}

.w-100 {
    width: 100% !important;
}

/* ==================== ACCESSIBILITY ==================== */

:focus-visible {
    outline: 2px solid var(--shop-primary);
    outline-offset: 2px;
}

/* High contrast mode */
@media (prefers-contrast: more) {
    .product-card {
        border-width: 2px;
    }

    .btn-primary {
        border-width: 2px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* ==================== DARK MODE PREPARATION ==================== */

@media (prefers-color-scheme: dark) {
    :root {
        --shop-bg: #1a202c;
        --shop-card: #2d3748;
        --shop-text: #e2e8f0;
        --shop-muted: #a0aec0;
        --shop-line: #4a5568;
    }

    body {
        background: var(--shop-bg);
        color: var(--shop-text);
    }

    .product-image-wrap {
        background: #1a202c;
    }
}

font-size: 0.88rem;
line-height: 1.4;


.wa-widget-submit-btn {
    width: 100%;
    padding: 12px 16px;
    background-color: #f36b21;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 0;
    margin-bottom: 0;
}

.wa-widget-submit-btn:hover {
    background-color: #e05a1a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(243, 107, 33, 0.3);
}

.wa-widget-submit-btn:active {
    transform: translateY(0);
}

.wa-widget-whatsapp-btn {
    width: 100%;
    padding: 12px 16px;
    background-color: #25D366;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
}

.wa-widget-whatsapp-btn:hover {
    background-color: #1ead50;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.wa-widget-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    border-bottom: 1px solid #e0e0e0;
}

.wa-widget-tab {
    padding: 10px 12px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    color: #666;
    transition: all 0.2s;
}

.wa-widget-tab.active {
    color: #f36b21;
    border-bottom-color: #f36b21;
}

.wa-widget-tab-content {
    display: none;
}

.wa-widget-tab-content.active {
    display: block;
}

.wa-widget-success-message {
    display: none;
    padding: 16px;
    background-color: #f0f9ff;
    border-left: 4px solid #25D366;
    border-radius: 8px;
    color: #1b5e20;
    font-size: 0.9rem;
}

.wa-widget-success-message.show {
    display: block;
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .wa-widget-panel {
        width: calc(100vw - 40px);
        max-height: 70vh;
        bottom: 90px;
        right: 20px;
    }

    .wa-widget-button {
        width: 56px;
        height: 56px;
    }

    .wa-widget-button svg {
        width: 24px;
        height: 24px;
    }
}



/* ---product right-- */


#sort,
#sort:focus {
    border-color: #f36b21 !important;
    box-shadow: 0 0 0 .2rem rgba(243, 107, 33, .25) !important;
}

#sort option:checked {
    background-color: #f36b21;
    color: #fff;
}

.form-field {
    padding: 15px 20px;
    background-color: #f9f9f9;
    border-radius: 5px;
    margin-bottom: 25px;
}

.form-field label {
    font-weight: 500;
    white-space: nowrap;
    margin-bottom: 0;
}

.form-field .form-select {
    padding: 8px 12px;
    font-size: 14px;
}

.products-header {
    color: #ff6600;
    font-weight: 700;
    font-size: 32px;
    margin-bottom: 0;
}


/* PRODUCT DETAILS MODAL */
/* Modal Styles */
#productModal {
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    overflow: auto;
    padding: 20px 0;
}

.product-modal-content {
    background-color: white;
    margin: 50px auto;
    padding: 0;
    border-radius: 8px;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.product-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #dee2e6;
    background-color: #f8f9fa;
    border-radius: 8px 8px 0 0;
}

.product-modal-header h2 {
    margin: 0;
    color: #333;
    font-size: 1.5rem;
}

.close-modal {
    background: none;
    border: none;
    font-size: 2rem;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #f36b21;
}

.product-modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 30px 25px;
}

.modal-gallery {
    display: flex;
    flex-direction: column;
}

.modal-main-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    margin-bottom: 15px;
}

.modal-thumbnails {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.modal-thumbnail {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border: 2px solid #dee2e6;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-thumbnail:hover,
.modal-thumbnail.active {
    border-color: #f36b21;
    transform: scale(1.05);
}

.modal-info h4 {
    margin: 15px 0 10px 0;
    color: #333;
    font-weight: 600;
}

.modal-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.modal-category {
    color: #f36b21;
    font-weight: 600;
}

.modal-rating {
    color: #ffc107;
}

.modal-price {
    font-size: 1.8rem;
    color: #f36b21;
    font-weight: 700;
    margin-bottom: 15px;
}

.modal-summary {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.modal-specs {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.modal-specs ul {
    margin: 0;
    padding-left: 20px;
    list-style: none;
}

.modal-specs li {
    color: #555;
    margin-bottom: 6px;
    padding-left: 20px;
    position: relative;
}

.modal-specs li:before {
    content: "✓";
    color: #f36b21;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.modal-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    width: fit-content;
}

.quantity-selector input {
    width: 50px;
    border: none;
    text-align: center;
    padding: 0.5rem;
    font-size: 1rem;
}

.quantity-selector button {
    background: #f8f9fa;
    border: none;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    transition: background 0.3s ease;
    font-weight: bold;
    color: #333;
}

.quantity-selector button:hover {
    background: #dee2e6;
}

.btn-add-cart {
    background-color: #f36b21;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-add-cart:hover {
    background-color: #e05a0d;
    transform: translateY(-2px);
}

.btn-view-full {
    background-color: #000;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-view-full:hover {
    background-color: #333;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .product-modal-content {
        width: 95%;
        max-height: 95vh;
    }

    .product-modal-body {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }

    .modal-main-image {
        height: 300px;
    }

    .modal-actions {
        flex-direction: column;
        gap: 10px;
    }

    .btn-add-cart,
    .btn-view-full {
        width: 100%;
        text-align: center;
    }
}

/* ==================== SIDEBAR FILTERS RESPONSIVE ==================== */

/* Desktop - Show sidebar */
@media (min-width: 992px) {
    .shop-sidebar {
        background: #fff;
        border-radius: 12px;
        border: 1px solid var(--shop-line);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        padding: 1.5rem;
        position: sticky;
        top: 90px;
        max-height: calc(100vh - 110px);
        overflow-y: auto;
    }

    .shop-sidebar::-webkit-scrollbar {
        width: 6px;
    }

    .shop-sidebar::-webkit-scrollbar-track {
        background: transparent;
    }

    .shop-sidebar::-webkit-scrollbar-thumb {
        background: var(--shop-primary);
        border-radius: 3px;
    }

    .shop-sidebar::-webkit-scrollbar-thumb:hover {
        background: var(--shop-primary-deep);
    }
}

/* Tablet - Hide sidebar by default */
@media (max-width: 991.98px) {
    .col-lg-3 {
        display: none;
    }

    .col-lg-9 {
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

    .shop-sidebar {
        position: fixed;
        top: 0;
        left: -350px;
        width: 320px;
        height: 100vh;
        max-height: 100vh;
        overflow-y: auto;
        z-index: 1050;
        border-radius: 0;
        box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .shop-sidebar.show {
        left: 0;
    }

    .filter-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1040;
        display: none;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .filter-overlay.show {
        display: block;
        opacity: 1;
    }

    /* Mobile sidebar header */
    .mobile-sidebar-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem;
        border-bottom: 1px solid var(--shop-line);
        margin-bottom: 1rem;
        position: sticky;
        top: 0;
        background: #fff;
        z-index: 1051;
    }

    .mobile-sidebar-header h5 {
        margin: 0;
        font-size: 1.2rem;
        font-weight: 700;
        color: var(--shop-text);
    }

    .mobile-sidebar-close {
        background: none;
        border: none;
        font-size: 1.5rem;
        color: var(--shop-text);
        cursor: pointer;
        padding: 0;
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: all 0.2s ease;
    }

    .mobile-sidebar-close:hover {
        background: rgba(0, 0, 0, 0.05);
        color: var(--shop-primary);
    }

    /* Filter toggle button */
    .filter-toggle-btn {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        margin-bottom: 1rem;
        background: #fff;
        border: 2px solid var(--shop-primary);
        color: var(--shop-primary);
        padding: 0.5rem 1rem;
        border-radius: 8px;
        cursor: pointer;
        font-weight: 600;
        transition: all 0.3s ease;
    }

    .filter-toggle-btn:hover {
        background: var(--shop-primary);
        color: #fff;
    }
}

/* Mobile - Small screens */
@media (max-width: 576px) {
    .shop-sidebar {
        width: 85vw;
        left: -85vw;
    }

    .filter-title {
        font-size: 0.95rem;
    }

    .filter-options .form-check,
    .brand-list .form-check {
        margin-bottom: 0.6rem;
    }

    .filter-options .form-check-label,
    .brand-list .form-check-label {
        font-size: 0.85rem;
    }

    .quick-price-btn {
        font-size: 0.7rem;
        padding: 0.15rem 0.5rem;
    }

    .top-seller-link {
        padding: 0.5rem;
    }

    .seller-img {
        width: 45px;
        height: 45px;
    }

    .product-grid-row {
        --bs-gutter-x: 0.5rem;
        --bs-gutter-y: 0.75rem;
    }
}

/* ==================== FILTER ANIMATIONS ==================== */

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.shop-sidebar.show {
    animation: slideInLeft 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-overlay.show {
    animation: fadeIn 0.3s ease;
}



/* Rating stars for review form */
.orange-light-bg {
    background-color: #fff1e6 !important;
    border: 1px solid #ffc99e;
}

.green-light-bg {
    background-color: #f4fff4 !important;
    border: 1px solid #03fb6f;
}

.blue-light-bg {
    background-color: #f4f9ff !important;
    border: 1px solid #03c4fb;
}

.red-light-bg {
    background-color: #fff9f9 !important;
    border: 1px solid #ff91c0;
}

.white-text {
    color: #ffffff !important;
}

.orange-color {
    color: #faa801 !important;
}

.text-capitalise {
    text-transform: capitalize;
}

.color-red {
    color: red;
}

.color-black {
    color: #000;
}

.bg-primary,
.bg-danger {
    background-color: #fbad03 !important;
}

.rating-stars {
    display: flex;
    gap: 5px;
}

.rating-stars input[type="radio"] {
    display: none;
}

.rating-stars label {
    font-size: 24px;
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s;
}

.rating-stars input[type="radio"]:checked~label {
    color: #ffc107;
}

.rating-stars label:hover,
.rating-stars label:hover~label {
    color: #ffc107;
}


#add-new-product textarea {
    min-height: 120px;
}


/* sidebar-section */
.sidebar-section .card {
    border-radius: 0px;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    -ms-border-radius: 0px;
    -o-border-radius: 0px;
}

.row .col-sm-2.sidebar-section {
    padding: 0px !important;
}

/* nxl-navigation-sidebar.css */
/* Custom sidebar navigation styles for the CMS dashboard */

.nxl-navigation {
    background-color: #ffffff;
    border-right: 0px solid #e9ecef;
    min-height: 100vh;
    width: 100%;
}

.navbar-wrapper {
    padding: 15px 0;
}

.m-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.b-brand {
    display: inline-block;
    text-decoration: none;
}

.logo {
    max-width: 100%;
    height: auto;
}

.navbar-content {
    /* Container for the navigation menu */
}

.nxl-navbar {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nxl-item {
    /* margin-bottom: 0.5rem; */
}

.nxl-item.nxl-hasmenu {
    position: relative;
}

.nxl-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    color: #495057;
    text-decoration: none;
    border-radius: 0px;
    transition: all 0.3s ease;
    font-weight: 500;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    -ms-border-radius: 0px;
    -o-border-radius: 0px;
}

.nxl-link:hover {
    background-color: #e9ecef;
    color: #ff7411;
}

.nxl-micon {
    margin-right: 0.75rem;
    width: 20px;
    text-align: center;
}

.nxl-mtext {
    flex: 1;
}

.nxl-arrow {
    margin-left: auto;
    transition: transform 0.3s ease;
}

.nxl-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 0.5rem;
    margin-left: 1rem;
    display: none;
}

.nxl-submenu .nxl-item {
    margin-bottom: 0.25rem;
}

.nxl-submenu .nxl-link {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 400;
}

.nxl-submenu .nxl-link:hover {
    background-color: #f8f9fa;
}

/* Hover effects for dropdown */
.nxl-item.nxl-hasmenu:hover .nxl-submenu {
    display: block;
}

.nxl-item.nxl-hasmenu.open .nxl-submenu {
    display: block;
}

.nxl-item.nxl-hasmenu:hover .nxl-arrow i {
    transform: rotate(90deg);
}

.nxl-item.nxl-hasmenu.open .nxl-arrow i {
    transform: rotate(90deg);
}

/* Active state */
.nxl-link.active {
    background-color: #ff7411;
    color: white;
}

.nxl-link.active:hover {
    background-color: #0056b3;
    color: white;
}

.emi-readonly-field {
    pointer-events: none;
    background-color: #e9ecef;
    cursor: default;
}

p.small-text {
    font-size: 12px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .nxl-navigation {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        z-index: 1000;
        transition: left 0.3s ease;
    }

    .nxl-navigation.open {
        left: 0;
    }

    .navbar-wrapper {
        padding: 1.5rem;
    }

    .nxl-submenu {
        margin-left: 0.5rem;
    }
}


#projectList tr td {
    font-size: 13px !important;
    text-align: left !important;
}

#projectList tr td .badge {
    font-size: 13px !important;
    padding: 5px 12px;
}

#projectList thead th,
#projectList .text-truncate-1-line {
    font-size: 12px !important;
    line-height: 18px !important;
    /*text-transform: capitalize;*/
}

#projectList tbody td .card-text a {
    font-size: 12px !important;
    line-height: 18px !important;
}

#projectList .badge.result {
    font-size: 8px;
    font-weight: 600;
    padding: 5px 5px;
    border-radius: 3px;
}

.table.table-bordered th {
    background: #4b4b4b;
    padding: 15px 10px;
    color: #f9f9f9;
}

.table.table-bordered th span {
    color: #313131;
    font-size: 14px;
    line-height: 21px;
    padding-right: 6px;
    display: inline-block;
}

.table-responsive .table {
    color: #283c50;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    border-color: #e5e7eb;
    vertical-align: middle;
}

.table-responsive .table p {
    margin-bottom: 0px !important;
}

.table-scroll {
    overflow-x: auto;
    overflow-y: visible;
    cursor: default;
    position: relative;
    scroll-behavior: smooth;
}

.student-info-table {
    position: relative;
}

@media only screen and (min-width: 1025px) {
    .student-info-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

.header-wrapper {
    margin-bottom: 20px;
    background: #fbad03;
}

.header-wrapper h1 {
    font-size: 20px;
    line-height: 36px;
    font-weight: 500;
}

h3.title {
    display: block;
    background: #FFF;
    color: #313131 !important;
    border: 1px solid #FFF;
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 22px;
    width: fit-content;
    padding: 10px 25px;
    border-radius: 15px 15px 0 0;
    border-bottom: 4px solid #fbad03;
    font-weight: 700 !important;
    letter-spacing: 0.5px;
}

.card-body {
    border-radius: 4px !important;
}

.report-overview-cards {}

.report-overview-cards .card-body {
    min-height: 170px !important;
}

.report-overview-cards p.card-text {
    min-height: 60px;
}

.product-price.strikethrough {
    text-decoration: line-through;
    color: #888;
}

.modal.show .modal-dialog {
    transform: none;
    max-width: 800px;
}

.payment-button {
    font-size: 20px;
    line-height: 20px;
    color: #fff;
}