/**
 * Layout Styles (Cleaned & Optimized)
 * Contains: Grid System, Header, Footer, Sections, Containers
 * Version: 1.1 (Duplicates Removed)
 */

/* ========================================
   Container & Grid System
   ======================================== */
.container,
.container-fluid,
.custom-container {
    width: 100%;
    padding: 0 15px;
    margin: 0 auto;
}

.custom-container {
    max-width: 1650px;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

[class*="col-"] {
    width: 100%;
    padding: 0 15px;
    position: relative;
}

/* ========================================
   Section Spacing
   ======================================== */
.section {
    padding: 80px 0;
}

.section.small_pt {
    padding-top: 50px;
}

.section.small_pb {
    padding-bottom: 50px;
}

.section.pb_70 {
    padding-bottom: 70px;
}

.section.pb_85 {
    padding-bottom: 85px;
}

.section.pb_20 {
    padding-bottom: 20px;
}

.pt_15 {
    padding-top: 15px !important;
}

.large_divider {
    height: 100px;
}

.medium_divider {
    height: 50px;
}

.small_divider {
    height: 25px;
}

/* ========================================
   Header
   ======================================== */
.header_wrap {
    position: relative;
    z-index: 999;
}

.header_wrap.nav-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--color-light);
    box-shadow: var(--shadow-md);
    animation: headerSlideDown .3s ease-in-out;
}

@keyframes headerSlideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

.header_topbar {
    background: var(--color-gray);
    padding: 10px 0;
}

.header_topbar_info {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    padding: 15px 0;
}

.navbar-brand {
    display: inline-block;
    margin-right: 1rem;
    font-size: 1.25rem;
    white-space: nowrap;
}

.navbar-brand img {
    max-width: 150px;
    height: auto;
}

.navbar-nav {
    display: flex;
    flex-direction: row;
    list-style: none;
    padding: 0;
    margin: 0;
}

.navbar-nav .nav-link {
    padding: 10px 15px;
    color: var(--color-dark);
    font-weight: 500;
    transition: var(--transition-fast);
}

.navbar-nav .nav-link:hover {
    color: var(--color-primary);
}

/* ========================================
   Footer / Widgets
   ======================================== */
.footer_top.small_pt {
    padding-top: 50px;
}

.footer_top.small_pb {
    padding-bottom: 50px;
}

.footer_top.pb_20 {
    padding-bottom: 20px;
}

.widget {
    margin-bottom: var(--spacing-xl);
}

.widget_title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    color: var(--color-dark);
}

.widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* ========================================
   Banner Section
   ======================================== */
.banner_section {
    position: relative;
    overflow: hidden;
}

.banner_section.full_screen,
.banner_section.full_screen .carousel-item {
    min-height: 100vh;
}



.banner_section.slide_medium,
.banner_section.slide_medium .banner_content_wrap,
.banner_section.slide_medium .carousel-item {
    height: 500px;
}

.banner_content {
    position: relative;
    z-index: 2;
}

.banner_content h2 {
    font-size: 60px;
    margin-bottom: var(--spacing-lg);
}

.banner_content p {
    font-size: 18px;
    margin-bottom: var(--spacing-xl);
}

/* ========================================
   Shop Container
   ======================================== */
.shop_container {
    /* margin-bottom: var(--spacing-xl); */
}

.sp_20 {
    padding-bottom: 20px;
}

.shop_container .row {
    margin: 0 -10px;
}

.shop_container [class*="col-"] {
    padding: 0 10px;
}

/* ========================================
   Sidebar
   ======================================== */
.sidebar .widget+.widget {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--color-border);
}

/* ========================================
   Modal
   ======================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    display: none;
    width: 100%;
    height: 100%;
}

.modal-dialog {
    margin: 1.75rem auto;
    max-width: 500px;
}

.modal-content {
    display: flex;
    flex-direction: column;
    background: var(--color-light);
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: var(--radius-md);
}

.modal-header,
.modal-body,
.modal-footer {
    padding: 1rem;
}

.modal-header,
.modal-footer {
    display: flex;
    justify-content: space-between;
    border-color: var(--color-border);
}

/* ========================================
   Utilities
   ======================================== */
.padding_eight_all {
    padding: 8%;
}

.padding-30 {
    padding-bottom: 30px !important;
}


/* ========================================
   Dropdown (Merged & Cleaned)
   ======================================== */
.dropdown-toggle::after,
.dropdown-toggler::after {
    display: none;
}

.lng_dropdown .dropdown-toggle,
.top-header .dropdown-toggle {
    color: #333 !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 400;
    cursor: pointer;
    transition: opacity .2s;
}

.lng_dropdown .dropdown-toggle:hover,
.top-header .dropdown-toggle:hover {
    opacity: .8;
}

.dropdown-menu-small {
    min-width: 100px !important;
    padding: 5px 0;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
    font-size: 13px;
    padding: 8px 15px;
    color: #333;
    transition: background .2s;
}

.dropdown-item:hover {
    background: #f8f9fa;
    color: #bb1f2a;
}

.dropdown-menu-right {
    right: 0;
    left: auto;
}

.dropdown-menu li a svg {
    width: 20px;
    vertical-align: middle;
    font-size: 14px;
}

.dropdown-menu.dropdown-menu-right {
    margin-top: 10px !important;
}

.dropdown-menu.dropdown-menu-small {
    margin-top: 10px !important;
}

/* Arrow Tip */
.lng_dropdown .dropdown-menu::before,
.top-header .dropdown-menu::before {
    content: "";
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #fff;
    position: absolute;
    top: -8px;
    left: 20px;
    z-index: 1;
    filter: drop-shadow(0 -1px 1px rgba(0, 0, 0, 0.05));
}

.top-header .dropdown-menu-right::before {
    left: auto;
    right: 20px;
}

