﻿/* Media Query for tablet */
@media (max-width: 992px) {

    html, body {
        overflow-x: hidden;
    }

    .show-tablet {
        display: flex !important;
    }

    .hide-tablet {
        display: none !important;
    }

    .search-btn {
        width: 150px;
        height: 50px;
    }

    .filter-text-label {
        font-size: 15px;
    }

    .filter-label {
        font-size: 15px;
    }

    h1 {
        font-size: 40px;
    }

    h2 {
        font-size: 30px;
    }

    h3 {
        font-size: 20px;
    }

    .diamond-card-details .col-6 {
        font-size: 14px
    }

    .btn-secondary {
        font-size: 16px
    }

    .top-header-items {
        font-size: 12px !important;
    }

    .header-nav .nav-link {
        font-size: 16px !important;
    }
}


/* Media Query for mobile */
@media (max-width: 767px) {

    .dialog_title_header {
        font-size: 24px;
    }

    .dialog_title_description {
        margin-top: 10px;
        font-size: 16px;
    }

    .gift-card-input-label {
        font-size: 18px;
        margin-top: 30px;
    }

    .gift-card-pin-input, .gift-card-number-input {
        font-size: 14px;
        height: 40px;
    }

    .mud-dialog {
        margin: 18px;
    }

    .mud-dialog-content {
        padding-left: 30px !important;
        padding-right: 30px !important;
        padding-bottom: 20px !important;
    }

    .amount-currency, .gift-card-number {
        font-size: 14px !important;
    }

    .gift-card-header {
        font-size: 20px !important;
    }


    .diamond-card-details .col- {
        font-size: 14px
    }

    html, body {
        font-size: 16px;
    }

    .container-fluid {
        padding-right: 0;
        padding-left: 0;
    }

    .main-header {
        padding-left: 0;
        padding-right: 0;
    }

    .footer {
        margin-left: 0;
        margin-right: 0;
    }

    .show-mobile {
        display: flex !important;
    }

    .hide-mobile {
        display: none !important;
    }

    .h1-default {
        font-size: 22px;
    }

    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 22px;
    }

    h3 {
        font-size: 20px;
    }

    h4 {
        font-size: 16px;
    }


    p {
        font-size: 16px;
    }

    li span {
        font-size: 16px;
    }

    .btn {
        font-size: 16px;
        padding: 8px 16px;
    }

    .mobile-x-padding {
        padding-left: 40px;
        padding-right: 40px;
    }

    .mobile-menu-overlay {
        position: fixed; /* Fix the menu to the viewport */
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1000;
        background-color: #fff;
        overflow-y: auto;
        margin-top: 88px; /* Ensure it doesn't overlap the fixed header */
    }

    /* Hamburger Menu */
    .hamburger-menu {
        background: none;
        border: none;
        color: #fff;
        font-size: 30px;
        cursor: pointer;
        display: block; /* Show hamburger menu */
        position: relative;
        z-index: 1001; /* Keep above the menu overlay */
    }

    .header {
        padding: 15px 20px; /* Adjusted padding for smaller screens */
    }

    .header-right {
        display: flex; /* Keep the container visible */
        justify-content: flex-end;
        align-items: end;
    }

    .logo {
        max-width: 200px;
        height: auto;
        margin-left: 15px;
    }

    .row .menu-item:first-child {
        border-top: 1px solid #000000; /* Add a top border to the first item */
        margin-top: 60px;
    }

    /* Menu Items */
    .menu-item {
        position: relative; /* Ensure positioning for the ::after pseudo-element */
        font-family: 'Barlow', sans-serif;
        font-size: 20px;
        color: #000000;
        padding: 20px 12px; /* Space between items */
        border-bottom: 1px solid #000000; /* Divider */
        margin: 0 40px;
        width: calc(100% - 80px) !important;
    }

        .menu-item::after {
            content: '';
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0;
            height: 0px; /* Border thickness */
            background-color: #000000; /* Line color */
            margin: 0; /* Align perfectly with the item */
        }

        .menu-item a {
            text-decoration: none;
            color: #000000;
            display: flex;
            justify-content: space-between; /* Align text and arrow icon */
            align-items: center;
        }

        /* Icon alignment for menu arrows */
        .menu-item i {
            font-size: 18px; /* Arrow icon size */
            color: #000000;
        }

        /* Remove or hide pseudo-element when submenu is expanded */
        .menu-item.expandable::after {
            display: none; /* Hide line for expandable menu items */
        }

    /* Submenu Styling */
    .submenu {
        margin-left: 20px;
        border-top: 1px solid transparent; /* Prevent pseudo-line interference */
    }

        .submenu a {
            display: block;
            font-size: 16px;
            margin-top: 10px;
            color: #000000;
        }

    /* Logout Button */
    .logout-button {
        width: calc(100% - 60px); /* Adjust for side margins */
        margin: 30px 30px 10px 30px; /* Space from the last menu item */
        background-color: #8cd4ba;
        font-family: 'Barlow', sans-serif;
        font-size: 14px;
        color: #000;
        border: none;
        padding: 15px 0;
        text-align: center;
        cursor: pointer;
        text-transform: uppercase;
    }

    .bli-kund-mob {
        margin-bottom: 90px;
    }

    .header-right-top,
    .header-nav {
        display: none; /* Hide desktop-specific content */
    }

    /* Other Items Section */
    .other-items {
        /*margin: 0 40px;*/ /* Align with the menu items' margins */
        padding: 0;
    }

    .other-item {
        display: flex; /* Align icon and text horizontally */
        align-items: center; /* Center-align icon and text vertically */
        padding-top: 10px; /* Add spacing between items */
        font-size: 16px; /* Smaller font size */
        color: #000000; /* Text color */
        margin: 0 40px; /* Align with the menu items' margins */
    }

        .other-item i {
            font-size: 20px; /* Icon size */
            margin-right: 20px; /* Space between icon and text */
            color: #000000; /* Icon color */
        }

    .other-item-text {
        font-family: 'Barlow', sans-serif; /* Ensure consistency */
        font-size: 16px; /* Smaller font size for text */
        font-weight: normal; /* Match design weight */
        color: #000000; /* Text color */
        text-transform: uppercase;
        padding-left: 14px;
    }

    .list-group-item {
        font-size: 16px !important;
    }

    .error-code {
        font-size: 100px;
        font-weight: 600;
    }

    .mobile-text-center {
        text-align: center;
    }

    .mobile-width-100 {
        width: 100% !important;
    }

    .filter-btn {
        padding: 4px 10px;
        font-size: 16px;
    }

    .favorites-global-dialog {
        padding-right: 10px;
        padding-left: 10px;
        padding-top: 0;
    }

    .form-check-label {
        font-size: 16px;
    }

    .complete-order-btn {
        text-transform: uppercase;
        margin: 0 20px 20px 20px;
    }

    .order-confirm-page-mobile {
        margin-left: 50px;
        margin-right: 50px;
        margin-bottom: 50px;
    }

    .kaplans-brdtext {
        font-size: 20px !important;
        font-weight: normal;
        font-stretch: normal;
        font-style: normal;
        line-height: 1.61;
        letter-spacing: normal;
        color: #000000;
    }

        .kaplans-brdtext:hover {
            text-decoration: underline;
        }

    .show-inline {
        display: block;
    }

    /* Override the inline sizes on the slide container in the gallery of the DiamondDetails page */
    .fancybox__content[style] {
        width: 70vw !important; /* nearly full viewport width */
        height: 30vh !important; /* most of the viewport height */
        max-width: none !important;
        max-height: none !important;
    }

    /* Force the image itself to scale up to fill that container od the gallery in the DiaondsDetails page*/
    .fancybox__image {
        width: auto !important;
        height: auto !important;
        max-width: 100% !important;
        max-height: 100% !important;
    }
}
