body, h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
    width: 100%;
    font-size: 1rem;
}

h1 {
    font-size: 1.7rem;
    line-height: 2rem;
    font-weight: 600;
}
h2, .h2 {
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 500;
}
h3, .h3 {
    font-size: 1.3rem;
}
h4, .h4 {
    font-size: 1.1rem;
}

.label, .form-label, label {
    color: var(--bs-light);
}

.main {
    background: rgba(50, 194, 255, 0.4);
    text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
    color: var(--bs-light);
}

.jumbotron {
    background-image: url('https://cdn.modyo.cloud/uploads/ba679c1c-6872-4c74-a372-c177a0da3643/original/hero.webp');
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 70vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jumbotron::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.5) 0%,
      rgba(0, 0, 0, 0.3) 100%
    );
    z-index: 1;
}

.jumbotron > * {
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .jumbotron {
      background-attachment: scroll;
      background-image: url('https://cdn.modyo.cloud/uploads/16015016-2048-4bf4-97c3-ef381c15a811/original/hero2.jpg?w=768&q=75&fm=webp');
      min-height: 50vh;
    }
}

#jumbotron:hover {}

/* CONTACT FORM */
.form-snippet h1 {
    margin-top: 1.5rem!important;
    margin-bottom: 1.5rem!important;
}

.form-snippet .btn-primary {
    width: 100%;
}

/* FOOTER */
footer {
    background: var(--bs-primary);
    color: var(--bs-light);
    padding: 1.5em;
}

footer a {
    color: var(--bs-light);
    transition-duration: 0.2s;
}

footer a:hover {
    color: var(--bs-dark);
    text-decoration: none;
}

ul.list-unstyled {
    padding-top: 1rem;
    padding-left: revert;
}

ul.list-unstyled li {
    padding-top: 1rem;
}

/* ====================== */
/* NAVIGATION              */
/* ====================== */

#header {
    z-index: 1030;
}

.navbar-nav .nav-link {
    color: rgb(var(--bs-secondary-rgb));
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 0.5rem 1rem;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.navbar-nav .nav-link:hover {
    color: rgb(var(--bs-primary-rgb));
    border-bottom-color: rgba(var(--bs-primary-rgb), 0.3);
}

.navbar-nav .nav-link.active {
    color: rgb(var(--bs-primary-rgb));
    border-bottom-color: rgb(var(--bs-primary-rgb));
    font-weight: 600;
}

.navbar-nav .dropdown-menu {
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: var(--bs-border-radius);
}

.navbar-nav .dropdown-item:hover {
    background: rgba(var(--bs-primary-rgb), 0.08);
    color: rgb(var(--bs-primary-rgb));
}

.offcanvas .nav-link {
    color: rgb(var(--bs-dark-rgb));
    font-size: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(var(--bs-secondary-rgb), 0.1);
}

.offcanvas .nav-link:hover,
.offcanvas .nav-link.active {
    color: rgb(var(--bs-primary-rgb));
}

.offcanvas .btn-success {
    display: block;
    width: 100%;
    margin-top: 1rem;
    text-align: center;
}

/* ====================== */
/* PRODUCTS PAGE           */
/* ====================== */

.products-title {
    font-weight: 700;
    font-size: 2rem;
}

.breadcrumb-item a {
    color: rgba(var(--bs-dark-rgb), 0.8);
}
.breadcrumb-item.active {
    color: rgba(var(--bs-dark-rgb), 0.6);
}

/* Sidebar */
.product-sidebar {
    background: rgb(var(--bs-light-rgb));
    position: sticky;
    top: 100px;
    color: rgb(var(--bs-dark-rgb));
    text-shadow: none;
}

.sidebar-title {
    color: rgb(var(--bs-dark-rgb));
    font-weight: 600;
    border-bottom: 2px solid rgb(var(--bs-primary-rgb));
    padding-bottom: 0.5rem;
}

.category-link, .category-parent {
    color: rgb(var(--bs-secondary-rgb));
    text-decoration: none;
    transition: all 0.2s;
    font-size: 0.875rem;
}

.category-link:hover, .category-parent:hover {
    color: rgb(var(--bs-primary-rgb));
    background: rgba(var(--bs-primary-rgb), 0.08);
}

.category-link.active,
.category-parent.active {
    color: rgb(var(--bs-primary-rgb));
    background: rgba(var(--bs-primary-rgb), 0.1);
    font-weight: 600;
}

/* Category toggle (chevron) separate from parent link */
.category-toggle {
    color: rgb(var(--bs-secondary-rgb));
    text-decoration: none;
    transition: color 0.2s;
    line-height: 1;
    flex-shrink: 0;
}

.category-toggle:hover {
    color: rgb(var(--bs-primary-rgb));
}

.category-toggle[aria-expanded="true"] .bi-chevron-down {
    transform: rotate(180deg);
}

.category-toggle .bi-chevron-down {
    transition: transform 0.2s;
}

/* Product Cards */
.product-card {
    transition: transform 0.2s, box-shadow 0.2s;
    border-radius: var(--bs-border-radius-lg);
    overflow: hidden;
    color: rgb(var(--bs-dark-rgb));
    text-shadow: none;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1) !important;
}

.product-card-img {
    height: 200px;
    background: rgb(var(--bs-light-rgb));
}

.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-placeholder {
    height: 200px;
    background: rgb(var(--bs-light-rgb));
}

.badge.bg-danger {
    color: #fff !important;
}

/* Product Detail */
.product-detail {
    text-shadow: none;
    color: rgb(var(--bs-dark-rgb));
}

.product-detail-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: rgb(var(--bs-dark-rgb));
}

.product-main-image {
    background: rgb(var(--bs-light-rgb));
}

.product-main-image img {
    max-height: 450px;
    object-fit: contain;
}

.product-thumb {
    width: 70px;
    height: 70px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s;
    overflow: hidden;
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-thumb:hover,
.product-thumb.active {
    border-color: rgb(var(--bs-primary-rgb));
}

.product-specs table th {
    font-weight: 500;
}

/* Pagination */
.pagination {
    justify-content: center;
}

.page-link {
    color: rgb(var(--bs-primary-rgb));
    border-radius: var(--bs-border-radius-sm);
    margin: 0 2px;
}

.page-item.active .page-link {
    background-color: rgb(var(--bs-primary-rgb));
    border-color: rgb(var(--bs-primary-rgb));
}

/* Responsive */
@media (max-width: 768px) {
    .product-sidebar {
        position: static;
    }
    .product-card-img {
        height: 180px;
    }
    .product-detail-title {
        font-size: 1.4rem;
    }
}

/* Notifications CSS */
.notifications_btn .notifications-badge {width: 12px;height: 12px;border-radius: 100%;position: absolute;right: 15px;top: 3px;padding: 0 !important;background: rgba(var(--bs-secondary-rgb), 1);border: var(--bs-btn-bg) 2px solid;transition:.15s;}
.notifications_btn:hover .notifications-badge {border: var(--bs-btn-hover-bg) 2px solid;transition:.15s;}
.avatar {height: 40px;width: 40px;background-size: cover;}
.dropdown_user {min-width: 300px;}
.avatar_big {font-size: 20px;width: 50px !important;height: 50px !important;background-size: cover;}
.notification *:last-child {margin-bottom: 0 !important;}
#notifications.modal.right .modal-dialog,
#menu_panel.modal.right .modal-dialog {max-width: 400px;}
