/*
 * Responsive layer for phones and tablets.
 *
 * Loaded after the theme stylesheets so it can correct the fixed-width
 * desktop layout without fragmenting the original rules. Desktop (>1024px)
 * rendering is intentionally left untouched.
 */

/* ------------------------------------------------------------------ */
/* Shared shell                                                        */
/* ------------------------------------------------------------------ */

@media (max-width: 1023px) {
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    img,
    video,
    iframe {
        max-width: 100%;
    }

    .container,
    .container--full,
    .container--n,
    .container--m {
        width: 100% !important;
        max-width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }

    .row {
        margin-left: 0;
        margin-right: 0;
    }

    .table-responsive,
    .table-responsive > table {
        width: 100%;
    }

    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Never allow wide data tables to resize the document. */
    table {
        max-width: 100%;
    }

    h1,
    .h1 {
        font-size: clamp(26px, 6vw, 38px);
        line-height: 1.18;
    }

    h2,
    .h2 {
        font-size: clamp(22px, 4.6vw, 30px);
        line-height: 1.22;
    }

    h3,
    .h3 {
        font-size: clamp(18px, 3.8vw, 24px);
    }
}

/* ------------------------------------------------------------------ */
/* Header / navigation                                                */
/* ------------------------------------------------------------------ */

@media (max-width: 1023px) {
    /* The desktop rule `#topmenu{display:flex}` (ID selector) overrides the
       `.hide` utility, which used to keep the menu permanently painted on
       top of the logo. Re-assert the hidden state for the ID selector. */
    #topmenu.hide {
        display: none !important;
    }

    #site__header {
        position: sticky;
        top: 0;
        z-index: 60;
    }

    .nav-inner {
        min-height: 64px;
        gap: 8px;
        justify-content: flex-start;
        padding-left: 14px;
        padding-right: 10px;
    }

    .brand {
        min-width: 0;
        flex: 1 1 auto;
        gap: 7px;
        overflow: hidden;
    }

    .brand img {
        width: 44px;
        height: 44px;
        flex: 0 0 auto;
    }

    .brand-copy strong {
        font-size: 17px;
        letter-spacing: .5px;
    }

    .brand-copy small {
        font-size: 12px;
        margin-top: 2px;
    }

    .nav-menu {
        display: flex;
        align-items: center;
        flex: 0 0 auto;
    }

    #menubutton {
        display: block !important;
        position: static !important;
        inset: auto !important;
        order: 3;
        margin: 0;
        padding: 10px 8px;
        cursor: pointer;
    }

    #menubutton em {
        width: 22px;
        margin: 4px 0;
        background: #0d4890;
    }

    #menu-close {
        display: none;
        position: fixed !important;
        top: 12px;
        right: 12px;
        left: auto !important;
        z-index: 335999;
        padding: 8px;
    }

    #menu-close.is-active {
        display: block;
    }

    /* Slide-over navigation drawer */
    #topmenu,
    #site__header.spinned #topmenu {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        float: none;
        width: min(86vw, 330px);
        height: 100%;
        margin: 0;
        padding: 64px 0 32px;
        background: #fff;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 334999;
        box-shadow: 0 0 45px rgba(4, 26, 44, .30);
    }

    #topmenu > ul {
        display: block;
        width: 100%;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    #topmenu > ul > li {
        display: block;
        float: none;
        border-bottom: 1px solid #eef2f5;
        position: relative;
    }

    #topmenu > ul > li:last-child {
        border-bottom: 0;
    }

    #topmenu a,
    #topmenu .hassub > span {
        display: block;
        padding: 13px 18px;
        font-size: 14px;
        font-weight: 700;
        line-height: 1.35;
        color: #123b61;
        text-align: left;
    }

    #topmenu .hassub > span {
        cursor: pointer;
        position: relative;
        padding-right: 44px;
    }

    #topmenu .hassub > span::after {
        position: absolute;
        right: 18px;
        top: 50%;
        margin-top: -5px;
    }

    #topmenu .hassub ul {
        display: none;
        position: static;
        width: 100%;
        left: auto;
        top: auto;
        margin: 0;
        padding: 0 0 10px 12px;
        box-shadow: none;
        border: 0;
        background: #f7f9fa;
    }

    #topmenu .hassub ul.active {
        display: block;
    }

    #topmenu .hassub ul li {
        border-bottom: 0;
    }

    #topmenu .hassub ul a {
        padding: 10px 18px;
        font-size: 13px;
        font-weight: 500;
    }

    #topmenu .hassub.twocols ul,
    #topmenu .hassub.twocols ul li {
        width: 100%;
    }

    .nav-action {
        display: flex;
        align-items: center;
        gap: 2px;
        margin-left: 0;
        flex: 0 0 auto;
    }

    /* The gold "tailor-made" CTA does not fit next to the logo on phones. */
    .nav-action > .btn2,
    .nav-action > .btn2-gold {
        display: none !important;
    }

    .nav-action .search__holder {
        display: flex;
        align-items: center;
    }

    #header__search {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        margin: 0;
    }

    #header__search-wrap {
        position: fixed;
        top: 58px;
        left: 12px;
        right: 12px;
        width: auto;
        z-index: 200;
        border: 1px solid #e3e9ed;
        border-radius: 8px;
        padding: 6px 10px;
        box-shadow: 0 14px 30px rgba(4, 26, 44, .16);
    }

    #header__search-wrap.hide {
        display: none !important;
    }

    #header__search-wrap input {
        min-height: 40px;
    }

    #language > span {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 40px;
        height: 40px;
        padding: 0 6px;
        font-size: 12px;
    }

    #language ul {
        left: auto;
        right: 0;
        transform: none;
        min-width: 130px;
        text-align: left;
    }

    .notice .container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 2px 14px;
        padding-top: 5px;
        padding-bottom: 5px;
        font-size: 11px;
        line-height: 1.45;
        text-align: center;
    }

    .float-whatsapp {
        bottom: 14px;
        right: 14px;
        padding: 11px 14px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .brand-copy strong {
        font-size: 15px;
        letter-spacing: .2px;
    }

    .brand-copy small {
        font-size: 10px;
        letter-spacing: 0;
    }

    .brand img {
        width: 38px;
        height: 38px;
    }

    .nav-inner {
        min-height: 58px;
        padding-left: 10px;
    }

    #header__search-wrap {
        top: 54px;
    }

    .notice .container {
        font-size: 10px;
    }
}

/* ------------------------------------------------------------------ */
/* Home hero                                                          */
/* ------------------------------------------------------------------ */

@media (max-width: 1023px) {
    .hero {
        min-height: 0;
        padding: 42px 0 34px;
    }

    .hero-fill-dark {
        min-height: 100%;
        top: 0;
        bottom: 0;
    }

    #slideshow,
    .slideshow {
        position: absolute !important;
        inset: 0;
        z-index: 0;
        overflow: hidden;
    }

    #slideshow .slideshow__item,
    #slideshow img {
        height: 100%;
        width: 100%;
    }

    #slideshow img {
        object-fit: cover;
        object-position: center;
    }

    .hero::after {
        height: 45%;
    }

    .hero-kicker {
        font-size: 11px;
        letter-spacing: .6px;
        gap: 10px;
        text-transform: uppercase;
    }

    .hero-kicker::after {
        width: 26px;
    }

    .hero h1 {
        font-size: clamp(29px, 8vw, 42px);
        line-height: 1.12;
        letter-spacing: -.4px;
        max-width: 100%;
        margin: 14px 0 14px;
        text-wrap: balance;
    }

    .hero .hero-lead {
        font-size: 14.5px;
        line-height: 1.6;
        max-width: 100%;
    }

    .search-panel {
        width: 100%;
        margin: 26px 0 0;
        padding: 6px;
        border: 0;
        border-radius: 12px;
        flex-wrap: wrap;
        gap: 6px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, .22);
    }

    .search-panel .magnify {
        display: none;
    }

    .search-panel input {
        flex: 1 1 100%;
        min-height: 44px;
        padding: 11px 14px;
        font-size: 15px;
    }

    .search-panel button {
        flex: 1 1 100%;
        min-height: 46px;
        border-radius: 8px;
        padding: 12px 16px;
        font-size: 14px;
    }

    .hero-features {
        grid-template-columns: 1fr 1fr;
        gap: 16px 12px;
        margin-top: 26px;
    }

    .feature {
        border-right: 0;
        gap: 9px;
        align-items: flex-start;
    }

    .feature-icon {
        font-size: 24px;
        min-width: 28px;
    }

    .feature strong {
        white-space: normal;
        font-size: 10.5px;
        letter-spacing: .3px;
    }

    .feature span {
        font-size: 10px;
        line-height: 1.4;
        margin-top: 3px;
    }
}

@media (max-width: 380px) {
    .hero h1 {
        font-size: 27px;
    }

    .hero-features {
        grid-template-columns: 1fr;
    }
}

/* ------------------------------------------------------------------ */
/* Home sections                                                      */
/* ------------------------------------------------------------------ */

@media (max-width: 1023px) {
    section {
        scroll-margin-top: 70px;
    }

    /* The desktop layout deliberately overlaps the hero with the destination
       strip. On phones that overlap hides the hero feature list. */
    .destinations-wrap {
        margin-top: 0;
        padding: 18px 0 8px;
        background: #fff;
        z-index: 1;
    }

    .destination-grid {
        gap: 12px;
    }

    .destination-grid a {
        flex: 0 0 auto;
    }

    .destination-grid img {
        width: 92px;
        height: auto;
    }

    .why-image-wrap {
        padding: 36px 0;
    }

    .whyus__textzone {
        grid-template-columns: 1fr !important;
        gap: 24px;
    }

    .section-topline,
    .section-heading {
        display: block;
        margin-bottom: 20px;
    }

    .section-topline h2,
    .section-heading h2 {
        margin: 8px 0 10px;
    }

    .signature-country-bridge {
        margin-top: 36px;
        padding-top: 26px;
    }

    .signature-subbar {
        display: block;
    }

    .destination-jump {
        margin-top: 14px;
    }

    .country-heading {
        display: block;
    }

    .country-heading .text-link {
        display: inline-block;
        margin-top: 8px;
    }

    .cards-four {
        grid-template-columns: 1fr 1fr !important;
        gap: 16px !important;
    }

    .mini-grid {
        grid-template-columns: 1fr !important;
        gap: 14px;
    }

    .mini-tour {
        grid-template-columns: 40% 60%;
        min-height: 150px;
    }

    .styles-section,
    .finder-section {
        padding: 40px 0;
    }

    .styles-section .cards-four,
    .finder-section .cards-four {
        grid-template-columns: 1fr 1fr !important;
    }

    .award,
    .award-row,
    .awards-row {
        grid-template-columns: 1fr !important;
        text-align: center;
        gap: 22px;
    }

    .partnership-row {
        display: block;
        padding-top: 34px;
        padding-bottom: 34px;
    }

    .partnership-actions {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 18px;
    }

    .partnership-actions .btn2 {
        width: 100%;
        text-align: center;
    }

    .last-cta {
        padding: 38px 0;
    }

    .contact-strip {
        display: flex;
        flex-direction: column;
        gap: 6px;
        align-items: flex-start;
        margin-top: 16px;
        font-size: 13px;
    }

    .footer-cols {
        grid-template-columns: 1fr !important;
        gap: 26px;
    }

    .footer-brand img {
        max-width: 180px;
        height: auto;
    }

    .copyright {
        text-align: center;
        line-height: 1.6;
    }
}

@media (max-width: 600px) {
    .cards-four,
    .styles-section .cards-four,
    .finder-section .cards-four {
        grid-template-columns: 1fr !important;
    }

    .tour-photo {
        min-height: 190px;
    }

    .cat--grid {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto;
        gap: 12px;
        padding: 4px 2px 14px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .cat--item,
    .cat--item--4 {
        flex: 0 0 44% !important;
        width: 44% !important;
        padding-bottom: 62% !important;
        margin: 0 !important;
        scroll-snap-align: start;
    }

    .cat--item h3 {
        font-size: 14px;
    }

    .mini-tour {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .mini-photo {
        min-height: 150px;
    }
}

/* ------------------------------------------------------------------ */
/* Product, category and checkout pages                               */
/* ------------------------------------------------------------------ */

@media (max-width: 1023px) {
    .product__holder,
    .product__detail,
    .product-info,
    .product-layout,
    .product__content {
        display: block !important;
        width: 100% !important;
        float: none !important;
    }

    .product__image,
    .product__gallery {
        width: 100% !important;
        max-width: 100%;
        margin-bottom: 18px;
    }

    .product__name {
        font-size: clamp(22px, 5vw, 32px) !important;
        line-height: 1.25;
    }

    .booking,
    .booking__wrap,
    .booking-form {
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 18px 0 !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        transform: none !important;
    }

    .booking .row,
    .booking-form .row,
    .booking__row {
        display: block;
    }

    .booking .col,
    .booking__col {
        width: 100% !important;
        float: none !important;
        margin-bottom: 10px;
    }

    .checkout-cart table,
    .cart table,
    .table-bordered {
        min-width: 620px;
    }

    .checkout-cart,
    .cart {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .form-horizontal .control-label {
        text-align: left !important;
        padding-bottom: 6px;
    }

    .form-group {
        margin-bottom: 14px;
    }

    .form-control,
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="password"],
    input[type="number"],
    select,
    textarea {
        width: 100%;
        max-width: 100%;
        font-size: 16px; /* prevents iOS zoom on focus */
    }

    /* Breadcrumb must wrap instead of forcing a scrollbar. */
    .breadcrumb {
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
        padding: 12px 0;
        font-size: 12px;
    }
}

/* ------------------------------------------------------------------ */
/* Affiliate and agency portals (shared OpenCart shell)               */
/* ------------------------------------------------------------------ */

@media (max-width: 1023px) {
    .aff-page {
        padding-bottom: 32px;
    }

    .aff-application-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        margin: 18px auto 36px;
    }

    .aff-intro {
        padding: 8px 0;
    }

    .aff-intro h1,
    .aff-card h1 {
        font-size: clamp(25px, 6vw, 34px);
        margin: 10px 0;
    }

    .aff-card {
        padding: 20px 16px;
        margin: 14px 0;
        box-shadow: 0 8px 26px rgba(18, 59, 97, .06);
    }

    .aff-form-grid {
        grid-template-columns: 1fr !important;
        gap: 14px;
    }

    .aff-stats {
        grid-template-columns: 1fr 1fr !important;
        gap: 10px;
    }

    .aff-stat {
        padding: 14px;
    }

    .aff-stat strong {
        font-size: 19px;
    }

    .aff-dashboard-head {
        display: block;
    }

    .aff-dashboard-head h1 {
        font-size: 27px;
        margin-bottom: 4px;
    }

    .aff-logout {
        display: inline-block;
        margin-top: 6px;
    }

    .aff-portal-nav {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 5px;
        padding: 6px;
    }

    .aff-portal-nav a {
        justify-content: center;
        padding: 8px 7px;
        text-align: center;
        font-size: 11.5px;
    }

    .aff-portal-nav .aff-portal-nav-program,
    .aff-portal-nav .aff-portal-nav-logout {
        margin-left: 0;
    }

    .aff-portal-nav .aff-portal-nav-logout {
        grid-column: 1 / -1;
        color: #9b4a42;
    }

    .aff-actions {
        flex-direction: column;
        gap: 8px;
    }

    .aff-inline {
        width: 100%;
        min-width: 0;
    }

    .aff-reference input,
    .aff-referral input {
        font-size: 13px;
    }

    .aff-profile-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .aff-page table {
        min-width: 560px;
    }

    .aff-page .table-responsive,
    .aff-card > div[style*="overflow-x"] {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 480px) {
    .aff-stats {
        grid-template-columns: 1fr !important;
    }

    .aff-dashboard-head {
        align-items: flex-start;
    }

    .aff-card {
        padding: 16px 12px;
        border-radius: 5px;
    }

    .aff-portal-nav {
        grid-template-columns: 1fr 1fr;
    }
}

/* ------------------------------------------------------------------ */
/* Agency portal pages (inline-styled templates)                      */
/* ------------------------------------------------------------------ */

@media (max-width: 1023px) {
    .agency-page,
    .agency-wrap {
        max-width: 100% !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .agency-page .form-group,
    .agency-wrap .form-group {
        margin-bottom: 14px;
    }

    .agency-page .btn,
    .agency-wrap .btn {
        width: 100%;
    }

    .agency-page h1,
    .agency-wrap h1 {
        font-size: 26px;
        line-height: 1.25;
    }
}

/* ------------------------------------------------------------------ */
/* Print / motion preferences                                         */
/* ------------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
}

/* ------------------------------------------------------------------ */
/* Mobile menu containing block + accessibility                        */
/* ------------------------------------------------------------------ */

@media (max-width: 1023px) {
    /* backdrop-filter creates a containing block for fixed descendants,
       which collapsed the drawer to the height of the header. */
    #site__header,
    #site__header.spinned {
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
    }

    #topmenu,
    #site__header.spinned #topmenu {
        height: 100vh;
        height: 100dvh;
    }

    #fakebg {
        position: fixed !important;
        inset: 0 !important;
    }

    #menubutton {
        min-width: 44px;
        min-height: 44px;
        background: transparent;
        border: 0;
        color: inherit;
    }

    #menu-close {
        min-width: 44px;
        min-height: 44px;
        background: transparent;
        border: 0;
    }

    #language > span {
        min-width: 44px;
        min-height: 44px;
    }

    .notice a {
        display: inline-flex;
        align-items: center;
        min-height: 36px;
        font-size: 11px;
    }
}

a.skpto:focus {
    left: 8px;
    top: 8px;
    width: auto;
    height: auto;
    overflow: visible;
    z-index: 9999;
    background: #fff;
    padding: 10px 14px;
    border-radius: 4px;
    color: #123b61;
    font-weight: 700;
}

/* Breadcrumbs render as a sentence in the legacy templates. */
.breadcrumb {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 0;
    margin: 0;
    padding: 10px 0;
    font-size: 12px;
    color: #607689;
}

.breadcrumb li {
    display: inline-flex;
    align-items: center;
}

.breadcrumb li + li::before {
    content: '›';
    margin: 0 7px 0 3px;
    color: #8a97a3;
}

/* ------------------------------------------------------------------ */
/* Home tour finder                                                   */
/* ------------------------------------------------------------------ */

@media (max-width: 1023px) {
    #tour-finder .finder-inner {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        align-items: start;
    }

    #tour-finder .finder-inner h2 {
        font-size: clamp(26px, 6vw, 36px);
    }

    #tour-finder .finder-inner p {
        max-width: 100%;
    }

    #tour-finder .finder-controls {
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
    }

    #tour-finder .finder-controls label {
        font-size: 11px;
    }

    #tour-finder .finder-submit,
    #tour-finder .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    #tour-finder .finder-controls {
        grid-template-columns: 1fr !important;
    }
}

/* ------------------------------------------------------------------ */
/* Guides + product enhancements                                      */
/* ------------------------------------------------------------------ */

@media (max-width: 600px) {
    .guides-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 12px;
    }
}

@media (max-width: 400px) {
    .guides-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 768px) {
    .day__details .legend {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        white-space: normal;
    }

    .day__details .legend span {
        white-space: normal;
    }

    .daymain .h3,
    .daymain h3 {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .product__gallery {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

/* ------------------------------------------------------------------ */
/* Booking / checkout                                                 */
/* ------------------------------------------------------------------ */

@media (max-width: 600px) {
    #coupon__apply {
        position: static !important;
        width: 100%;
        margin-top: 8px !important;
        border-radius: 4px !important;
    }

    #coupon {
        padding-right: 12px !important;
    }

    .row:has(#price_sum) {
        display: flex !important;
        flex-wrap: wrap;
        align-items: center;
        gap: 6px;
    }

    .row:has(#price_sum) > .col--3,
    .row:has(#price_sum) > .col--4,
    .row:has(#price_sum) > .col__md--3,
    .row:has(#price_sum) > .col__md--4 {
        width: auto !important;
        float: none !important;
        white-space: nowrap;
        text-align: left !important;
    }

    .row:has(#price_sum) > .col--5,
    .row:has(#price_sum) > .col__md--5 {
        width: 100% !important;
        float: none !important;
    }

    input.datetime,
    input[type="date"],
    input[type="datetime-local"],
    input[type="time"] {
        font-size: 16px !important;
        min-height: 44px;
    }
}

@media (max-width: 480px) {
    .float-whatsapp {
        width: 46px;
        height: 46px;
        padding: 0;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 0;
        overflow: hidden;
    }

    .float-whatsapp::before {
        content: '✆';
        font-size: 20px;
    }
}

/* Checkout summary is a flex item whose intrinsic width is driven by long
   option labels; force it to the viewport width on small screens. */
@media (max-width: 1023px) {
    #checkout-page .row.clear {
        display: block;
    }

    #checkout-page .summary {
        width: 100% !important;
        max-width: 100%;
        min-width: 0;
        position: static !important;
        padding-left: 0;
        padding-right: 0;
        float: none;
    }

    #checkout-page .summary .border {
        width: 100%;
        box-sizing: border-box;
    }

    #checkout-page .summary input,
    #checkout-page .summary select,
    #checkout-page .summary textarea {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    #checkout-page .summary .block {
        white-space: normal;
        overflow-wrap: break-word;
    }

    #checkout-page .strong.relative:has(#coupon) {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    #checkout-page #coupon {
        width: 100% !important;
        box-sizing: border-box;
    }
}

@media (max-width: 380px) {
    .brand img {
        width: 34px;
        height: 34px;
    }

    .brand-copy strong {
        font-size: 13px;
        letter-spacing: 0;
    }

    .brand-copy small {
        font-size: 9px;
        letter-spacing: 0;
    }

    .nav-action {
        gap: 0;
    }

    #language > span {
        min-width: 36px;
        padding: 0 3px;
    }

    #menubutton {
        min-width: 36px;
        min-height: 40px;
        padding: 8px 3px;
    }

    #menubutton em {
        width: 20px;
    }

    #checkout-page {
        padding-bottom: 64px;
    }
}

/* Tablet landscape: the desktop nav is too wide for a 1024px container. */
@media (min-width: 1024px) and (max-width: 1180px) {
    .nav-inner {
        min-height: 72px;
    }

    .brand {
        min-width: 0;
        gap: 6px;
    }

    .brand img {
        width: 56px;
        height: 52px;
    }

    .brand-copy strong {
        font-size: 20px;
    }

    .brand-copy small {
        font-size: 15px;
    }

    #topmenu {
        gap: 6px;
    }

    #topmenu a {
        font-size: 12px;
        padding: 12px 5px;
    }

    .nav-action {
        gap: 8px;
    }

    .nav-action > .btn2 {
        display: none !important;
    }
}
