/* GEZICI MOBILE LAYOUT V2 - 2026-09-14 */

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

    /* The desktop category navigation was forced visible by a later global rule. */
    body header nav#categories-menu {
        display: none !important;
    }

    body header .menu-primary {
        margin: 0 0 14px !important;
        padding: 8px !important;
        background: #eef0f1 !important;
        border: 1px solid #c7cccf !important;
        box-sizing: border-box !important;
    }

    body header .menu-primary > .container {
        display: flex !important;
        align-items: stretch !important;
        justify-content: space-between !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        gap: 8px !important;
        box-sizing: border-box !important;
    }

    body header .menu-primary .menu-button {
        display: flex !important;
        float: none !important;
        flex: 1 1 0 !important;
        align-items: center !important;
        justify-content: center !important;
        width: calc(50% - 4px) !important;
        min-width: 0 !important;
        height: 48px !important;
        margin: 0 !important;
        padding: 0 10px !important;
        color: #fff !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        line-height: 18px !important;
        text-align: center !important;
        text-transform: uppercase !important;
        background: linear-gradient(180deg, #596167 0%, #343b40 100%) !important;
        border: 1px solid #2e3438 !important;
        box-sizing: border-box !important;
    }

    body header .menu-primary .menu-button span {
        flex: 0 0 auto !important;
    }

    body header .menu-primary .categories-menu-button span {
        margin-right: 0 !important;
        margin-left: 10px !important;
    }

    body header .menu-primary .primary-navigation-button span {
        margin-right: 10px !important;
        margin-left: 0 !important;
    }

    /* Keep both mmenu drawers above the page instead of squeezing the page sideways. */
    body .mm-menu.mm-offcanvas {
        width: 86vw !important;
        min-width: 260px !important;
        max-width: 380px !important;
        height: 100% !important;
        background: #f4f5f6 !important;
        border-color: #c9ced1 !important;
    }

    body .mm-menu.mm-offcanvas.mm-current {
        z-index: 100002 !important;
    }

    body #mm-blocker {
        z-index: 100001 !important;
        background: rgba(18, 22, 25, .46) !important;
    }

    html.mm-opening .mm-slideout,
    html.mm-right.mm-opening .mm-slideout {
        -webkit-transform: none !important;
        transform: none !important;
    }

    html.mm-opened .mm-page {
        box-shadow: none !important;
    }

    body .mm-menu .mm-navbar {
        height: 48px !important;
        background: linear-gradient(180deg, #ffffff 0%, #e1e4e6 100%) !important;
        border-bottom: 1px solid #c7cccf !important;
    }

    body .mm-menu .mm-navbar .mm-title {
        height: 48px !important;
        color: #252b2f !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        line-height: 48px !important;
        text-transform: uppercase !important;
    }

    body .mm-menu.mm-hasnavbar-top-1 .mm-panels {
        top: 48px !important;
    }

    body .mm-menu .mm-panels > .mm-panel {
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding-right: 16px !important;
        padding-left: 16px !important;
        background: #f4f5f6 !important;
        box-sizing: border-box !important;
    }

    body #mm-categories-menu .mm-hidden {
        display: none !important;
    }

    body #mm-categories-menu .category-drop-list-inner,
    body #mm-categories-menu .mega-content,
    body #mm-categories-menu .mega-content > .menu,
    body #mm-categories-menu .sub-menu.mega-menu {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        box-sizing: border-box !important;
    }

    body #mm-categories-menu .mm-listview > li > a:not(.mm-next),
    body #mm-primary-navigation .mm-listview > li > a:not(.mm-next) {
        min-height: 46px !important;
        padding-top: 12px !important;
        padding-bottom: 12px !important;
        color: #30363a !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        line-height: 22px !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    body #mm-categories-menu .mm-listview > li > a.mm-next,
    body #mm-primary-navigation .mm-listview > li > a.mm-next {
        width: 52px !important;
    }

    body #mm-categories-menu .gezici-category-count {
        float: right !important;
        margin-left: 8px !important;
        color: #697278 !important;
        font-size: 12px !important;
        white-space: nowrap !important;
    }

    body #mm-categories-menu .click-categories,
    body #mm-categories-menu .show-submenu,
    body #mm-categories-menu .more-categories {
        display: none !important;
    }

    /* The separate product-grid patch adds 30px even on narrow screens. */
    body .categories-page .products-categories {
        width: 100% !important;
        max-width: 100% !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    body #section43 > .container > .row {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
        margin: 0 !important;
    }

    body #section43 > .container > .row > [class*="col-"] {
        float: none !important;
        width: 100% !important;
        padding: 0 !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    body #section44.gezici-support-section .gezici-hero-card {
        grid-template-columns: minmax(0, 1fr) !important;
        grid-template-areas:
            "kicker"
            "title"
            "text"
            "buttons"
            "checks" !important;
        width: 100% !important;
        min-height: 0 !important;
        padding: 30px !important;
        column-gap: 0 !important;
    }

    body #section44 .gezici-hero-buttons,
    body #section44 .gezici-hero-checks {
        width: 100% !important;
        max-width: 100% !important;
    }
}

@media (max-width: 767px) {
    body .main-content,
    body footer.footer {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    body header.header-style6 .header-mid > .container {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        padding: 12px 15px !important;
        box-sizing: border-box !important;
    }

    body header.header-style6 .header-mid-left,
    body header.header-style6 .header-mid-right {
        float: none !important;
        width: 100% !important;
        margin: 0 !important;
        text-align: center !important;
    }

    body header.header-style6 .header-mid-left > span {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 5px !important;
    }

    body header.header-style6 .header-mid-left a {
        display: block !important;
        max-width: 100% !important;
        margin: 0 !important;
        line-height: 21px !important;
        overflow-wrap: break-word !important;
    }

    body header.header-style6 .header-mid-right {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        margin-top: 10px !important;
    }

    body header.header-style6 .gezici-currency-switcher,
    body header.header-style6 .gezici-language-switcher {
        float: none !important;
        margin: 0 !important;
    }

    body header.header-style6 .header-bottom {
        padding: 18px 0 16px !important;
    }

    body header.header-style6 .header-bottom > .container {
        width: 100% !important;
        max-width: 100% !important;
        padding-right: 15px !important;
        padding-left: 15px !important;
        box-sizing: border-box !important;
    }

    body header.header-style6 .header-bottom-left {
        float: none !important;
        width: 100% !important;
        text-align: center !important;
    }

    body header.header-style6 h1.logo {
        display: block !important;
        width: 100% !important;
        margin: 0 auto 16px !important;
        text-align: center !important;
    }

    body header.header-style6 h1.logo img {
        display: inline-block !important;
        width: auto !important;
        max-width: 100% !important;
        height: auto !important;
    }

    body header.header-style6 .header-search {
        display: block !important;
        float: none !important;
        width: 100% !important;
        max-width: 430px !important;
        min-width: 0 !important;
        margin: 0 auto 16px !important;
    }

    body header.header-style6 .form-search-header {
        display: flex !important;
        flex-wrap: wrap !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    body header.header-style6 .form-search-header > input[type="text"] {
        order: 1 !important;
        width: calc(100% - 54px) !important;
        min-width: 0 !important;
        height: 44px !important;
        margin: 0 !important;
        padding: 0 14px !important;
        border-radius: 4px 0 0 4px !important;
        box-sizing: border-box !important;
    }

    body header.header-style6 .form-search-header > .button-search {
        position: static !important;
        order: 2 !important;
        flex: 0 0 54px !important;
        width: 54px !important;
        height: 44px !important;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 0 4px 4px 0 !important;
    }

    body header.header-style6 .gezici-header-category-picker {
        order: 3 !important;
        flex: 0 0 100% !important;
        width: 100% !important;
        height: 42px !important;
        margin-top: 8px !important;
    }

    body header.header-style6 .gezici-header-category-toggle {
        height: 42px !important;
        line-height: 42px !important;
        border: 1px solid rgba(255, 255, 255, .18) !important;
        border-radius: 4px !important;
    }

    body header.header-style6 .gezici-header-category-menu {
        top: 42px !important;
        right: auto !important;
        left: 0 !important;
        width: 100% !important;
        max-height: 65vh !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        box-sizing: border-box !important;
    }

    body header.header-style6 .gezici-header-category-roots {
        width: 100% !important;
        max-height: 260px !important;
    }

    body header.header-style6 .gezici-header-category-panels {
        position: static !important;
        width: 100% !important;
        max-height: 280px !important;
        border-right: 0 !important;
        border-left: 0 !important;
        box-shadow: none !important;
    }

    body header.header-style6 .gezici-header-category-panel {
        max-height: 278px !important;
    }

    body header.header-style6 .header-bottom-right {
        display: flex !important;
        float: none !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        margin: 0 !important;
        gap: 26px !important;
    }

    body header.header-style6 .header-bottom-right-content {
        float: none !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
    }

    /* Compact, single static image on phones. */
    body .gezici-static-hero,
    body .gezici-static-hero .item-slide {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    body .gezici-static-hero .item-slide {
        height: 320px !important;
        min-height: 320px !important;
        background-position: center center !important;
    }

    /* Four service promises: compact vertical cards instead of oversized boxes. */
    body #section43 {
        margin: 0 !important;
        padding: 12px 0 !important;
    }

    body #section43 > .container,
    body #section43 > .container > .row {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    body #section43 > .container > .row {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 10px !important;
    }

    body #section43 > .container > .row > [class*="col-"] {
        float: none !important;
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body #section43 .icon-box.style5 {
        display: flex !important;
        align-items: center !important;
        width: 100% !important;
        min-height: 94px !important;
        margin: 0 !important;
        padding: 16px 18px !important;
        border: 1px solid #d2d6d9 !important;
        box-sizing: border-box !important;
    }

    body #section43 .icon-box.style5 .icon-box-left {
        float: none !important;
        flex: 0 0 58px !important;
        width: 58px !important;
        margin: 0 !important;
        font-size: 44px !important;
        line-height: 1 !important;
        text-align: center !important;
    }

    body #section43 .icon-box.style5 .icon-box-right {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        padding: 0 0 0 14px !important;
    }

    body #section43 .icon-box.style5 h4 {
        margin: 0 0 5px !important;
        font-size: 17px !important;
        line-height: 1.25 !important;
    }

    body #section43 .icon-box.style5 p {
        margin: 0 !important;
        font-size: 13px !important;
        line-height: 1.35 !important;
    }

    /* Repair the truncated responsive support-card block in style.css. */
    body #section44.gezici-support-section {
        width: 100% !important;
        margin: 0 !important;
        padding: 12px 0 8px !important;
    }

    body #section44.gezici-support-section > .container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    body #section44.gezici-support-section .gezici-hero-card {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        grid-template-areas:
            "kicker"
            "title"
            "text"
            "buttons"
            "checks" !important;
        column-gap: 0 !important;
        row-gap: 13px !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        min-height: 0 !important;
        height: auto !important;
        margin: 0 !important;
        padding: 24px 18px 28px !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    body #section44 .gezici-hero-kicker {
        grid-area: kicker !important;
        align-self: auto !important;
        margin: 0 !important;
        font-size: 12px !important;
        line-height: 1.4 !important;
        overflow-wrap: normal !important;
        word-break: normal !important;
    }

    body #section44 .gezici-hero-card h2 {
        grid-area: title !important;
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        font-size: 28px !important;
        line-height: 1.12 !important;
        letter-spacing: .2px !important;
        overflow-wrap: normal !important;
        word-break: normal !important;
        white-space: normal !important;
    }

    body #section44 .gezici-hero-card h2 span,
    body #section44 .gezici-hero-card h2 strong {
        display: inline !important;
        margin: 0 !important;
    }

    body #section44 .gezici-hero-card p {
        grid-area: text !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        font-size: 15px !important;
        line-height: 1.55 !important;
        overflow-wrap: normal !important;
        word-break: normal !important;
    }

    body #section44 .gezici-hero-buttons {
        grid-area: buttons !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 3px 0 0 !important;
        gap: 10px !important;
    }

    body #section44 .gezici-hero-buttons a,
    body #section44 .gezici-btn {
        display: flex !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        min-height: 50px !important;
        height: auto !important;
        margin: 0 !important;
        padding: 12px 14px !important;
        font-size: 14px !important;
        line-height: 20px !important;
        white-space: normal !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }

    body #section44 .gezici-hero-checks {
        grid-area: checks !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        width: 100% !important;
        margin: 2px 0 0 !important;
        gap: 7px !important;
        position: relative !important;
        z-index: 2 !important;
    }

    body #section44 .gezici-hero-checks span {
        display: block !important;
        width: 100% !important;
        font-size: 14px !important;
        line-height: 20px !important;
        overflow-wrap: normal !important;
        word-break: normal !important;
    }

    /* Product sections stay inside the screen and use the full phone width. */
    body #section47 {
        width: 100% !important;
        margin: 0 !important;
        padding: 12px 0 !important;
    }

    body #section47 > .container,
    body #section47 > .container > .row {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    body #section47 > .container > .row > [class*="col-"] {
        float: none !important;
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body #section47 .better-sales-slide,
    body #section47 .product-tabs.product-tabs-style5 {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 0 0 14px !important;
        padding: 10px !important;
        box-sizing: border-box !important;
    }

    body #section47 .better-sales-slide > .tab-title,
    body #section47 .product-tabs.product-tabs-style5 > .tab-title {
        float: none !important;
        width: 100% !important;
        height: auto !important;
        min-height: 50px !important;
        margin: 0 0 12px !important;
        padding: 12px 14px !important;
        font-size: 18px !important;
        line-height: 1.25 !important;
    }

    body #section47 .better-sales-slide .better-sale-item {
        min-height: 112px !important;
        padding: 10px !important;
    }

    body #section47 .better-sales-slide .better-sale-media {
        flex: 0 0 78px !important;
        width: 78px !important;
        height: 94px !important;
        margin-right: 10px !important;
    }

    body #section47 .better-sales-slide .better-sale-media img {
        max-width: 78px !important;
        max-height: 94px !important;
    }

    body #section47 .better-sales-slide .title-product {
        font-size: 12px !important;
        line-height: 1.4 !important;
        overflow-wrap: break-word !important;
    }

    body #section47 .product-tabs-content,
    body #section47 .tab-pane,
    body #section47 .product-list-content {
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    body #section47 .product-media img {
        max-width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
    }

    /* Newsletter: prevent its input and submit button from overlapping. */
    body footer.footer .afooter-top {
        width: 100% !important;
        margin: 0 !important;
        padding: 18px 14px !important;
        box-sizing: border-box !important;
    }

    body footer.footer .afooter-top > .container {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    body footer.footer .afooter-top .bulten-text {
        margin: 0 0 12px !important;
        font-size: 24px !important;
        line-height: 1.2 !important;
    }

    body footer.footer .afooter-top form.bulten {
        display: flex !important;
        float: none !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        height: 46px !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    body footer.footer .afooter-top .b-box {
        flex: 1 1 auto !important;
        width: auto !important;
        min-width: 0 !important;
        height: 44px !important;
        box-sizing: border-box !important;
    }

    body footer.footer .afooter-top .b-btn {
        flex: 0 0 90px !important;
        width: 90px !important;
        min-width: 90px !important;
        height: 46px !important;
        margin: -1px !important;
    }

    body footer.footer .footer-bottom {
        padding-bottom: 72px !important;
    }

    body a.fixedimg {
        right: auto !important;
        bottom: 10px !important;
        left: 8px !important;
        width: 132px !important;
        height: auto !important;
    }

    body a.fixedimg img {
        display: block !important;
        width: 132px !important;
        max-width: 132px !important;
        height: auto !important;
    }

    body a.backtotop {
        right: 12px !important;
        bottom: 12px !important;
        width: 38px !important;
        height: 38px !important;
        line-height: 38px !important;
    }
}

@media (max-width: 380px) {
    body header .menu-primary .menu-button {
        padding-right: 7px !important;
        padding-left: 7px !important;
        font-size: 13px !important;
    }

    body .gezici-static-hero .item-slide {
        height: 285px !important;
        min-height: 285px !important;
    }

    body #section44 .gezici-hero-card h2 {
        font-size: 25px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    body .mm-menu,
    body .mm-panel,
    body .mm-slideout {
        transition-duration: .01ms !important;
    }
}

/* GEZICI MOBILE POLISH V2.1 - compact floating controls */
@media (max-width: 767px) {
    body a.fixedimg {
        right: auto !important;
        bottom: 7px !important;
        left: 7px !important;
        width: 48px !important;
        min-width: 48px !important;
        max-width: 48px !important;
        height: 48px !important;
        overflow: hidden !important;
        border: 2px solid #ffffff !important;
        border-radius: 50% !important;
        background: #25d366 !important;
        box-shadow: 0 2px 7px rgba(0, 0, 0, .24) !important;
        box-sizing: border-box !important;
        opacity: .96 !important;
    }

    body a.fixedimg img {
        display: block !important;
        width: auto !important;
        min-width: 174px !important;
        max-width: none !important;
        height: 46px !important;
        max-height: 46px !important;
        margin: -1px 0 0 -1px !important;
    }

    body a.backtotop {
        right: 7px !important;
        bottom: 9px !important;
        width: 34px !important;
        height: 34px !important;
        font-size: 8px !important;
        line-height: 34px !important;
        box-shadow: 0 2px 7px rgba(0, 0, 0, .2) !important;
    }

    body a.backtotop i {
        top: auto !important;
        width: 100% !important;
        margin: 0 !important;
        font-size: 13px !important;
        line-height: 34px !important;
        vertical-align: top !important;
    }

    body a.backtotop::after {
        top: -3px !important;
        right: -3px !important;
        bottom: -3px !important;
        left: -3px !important;
    }
}

@media (max-width: 380px) {
    body a.fixedimg {
        width: 44px !important;
        min-width: 44px !important;
        max-width: 44px !important;
        height: 44px !important;
    }

    body a.fixedimg img {
        min-width: 163px !important;
        height: 43px !important;
        max-height: 43px !important;
    }

    body a.backtotop {
        width: 32px !important;
        height: 32px !important;
        line-height: 32px !important;
    }

    body a.backtotop i {
        line-height: 32px !important;
    }
}

/* GEZICI MOBILE PRODUCT LIST V2.3 - same alignment in TR, EN and ES */
@media (max-width: 767px) {
    /* Keep every catalogue page inside one symmetric phone gutter. */
    body .main-content.categories.categories-grid1 > .container {
        width: 100% !important;
        max-width: 100% !important;
        margin-right: auto !important;
        margin-left: auto !important;
        padding-right: 12px !important;
        padding-left: 12px !important;
        box-sizing: border-box !important;
    }

    body .main-content.categories.categories-grid1 > .container > .categories-page,
    body .main-content.categories.categories-grid1 .categories-page > .row,
    body .main-content.categories.categories-grid1 .categories-page > .row > .content,
    body .main-content.categories.categories-grid1 .categories-grid {
        float: none !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        box-sizing: border-box !important;
    }

    body .main-content.categories.categories-grid1 .categories-page > .row,
    body .main-content.categories.categories-grid1 .categories-page > .row > .content {
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    /* Cancel both the theme's -15px gutter and the old +30px grid patch. */
    body .main-content.categories.categories-grid1 .products-categories {
        display: block !important;
        clear: both !important;
        float: none !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin-right: auto !important;
        margin-left: auto !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    body .main-content.categories.categories-grid1 .products-categories .product-box {
        display: block !important;
        float: none !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin-right: auto !important;
        margin-left: auto !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
        box-sizing: border-box !important;
    }

    body .main-content.categories.categories-grid1 .product-box-content {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    body .main-content.categories.categories-grid1 .img-product,
    body .main-content.categories.categories-grid1 .img-product img {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        height: auto !important;
        margin-right: auto !important;
        margin-left: auto !important;
        box-sizing: border-box !important;
    }

    body .main-content.categories.categories-grid1 .product-box-text {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    body .main-content.categories.categories-grid1 .product-name {
        overflow-wrap: anywhere !important;
        word-break: normal !important;
        white-space: normal !important;
    }

    /* Stack and centre view, sorting and pagination controls. */
    body .main-content.categories.categories-grid1 .panel-categories {
        display: block !important;
        clear: both !important;
        float: none !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin: 24px auto 30px !important;
        padding: 10px 0 !important;
        box-sizing: border-box !important;
    }

    body .main-content.categories.categories-grid1 .products-categories + .panel-categories {
        margin-top: 0 !important;
    }

    body .main-content.categories.categories-grid1 .panel-categories > .row {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        gap: 10px !important;
        box-sizing: border-box !important;
    }

    body .main-content.categories.categories-grid1 .panel-categories > .row > [class*="col-"] {
        display: block !important;
        float: none !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }

    body .main-content.categories.categories-grid1 .view-categories {
        display: flex !important;
        float: none !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        margin: 0 !important;
        gap: 8px !important;
    }

    body .main-content.categories.categories-grid1 .view-categories > div {
        float: none !important;
        margin: 0 !important;
    }

    body .main-content.categories.categories-grid1 .select-categories {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        text-align: center !important;
    }

    body .main-content.categories.categories-grid1 .select-categories-content {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin: 0 !important;
        gap: 9px !important;
        box-sizing: border-box !important;
    }

    body .main-content.categories.categories-grid1 .select-categories-content:empty {
        display: none !important;
    }

    body .main-content.categories.categories-grid1 .select-categories-content span {
        float: none !important;
        flex: 0 0 auto !important;
        width: auto !important;
        margin: 0 !important;
        white-space: nowrap !important;
    }

    body .main-content.categories.categories-grid1 .select-categories-content select {
        float: none !important;
        flex: 0 1 240px !important;
        width: 240px !important;
        min-width: 0 !important;
        max-width: calc(100% - 78px) !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    body .main-content.categories.categories-grid1 .page-nav {
        display: flex !important;
        float: none !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        gap: 5px !important;
        box-sizing: border-box !important;
    }

    body .main-content.categories.categories-grid1 .page-nav > a {
        float: none !important;
        flex: 0 0 33px !important;
        margin: 0 !important;
    }

    /* Replace sticky orange touch/hover states with the site's graphite theme. */
    body .main-content.categories.categories-grid1 .view-categories > div:hover,
    body .main-content.categories.categories-grid1 .view-categories > div:focus,
    body .main-content.categories.categories-grid1 .view-categories > div:active,
    body .main-content.categories.categories-grid1 .view-categories > div.color-active {
        color: #ffffff !important;
        border-color: #343b40 !important;
        background: linear-gradient(180deg, #596167 0%, #343b40 100%) !important;
    }

    body .main-content.categories.categories-grid1 .img-product a {
        background-color: rgba(52, 59, 64, .88) !important;
    }

    body .main-content.categories.categories-grid1 .product-box-bottom a:hover,
    body .main-content.categories.categories-grid1 .product-box-bottom a:focus,
    body .main-content.categories.categories-grid1 .product-box-bottom a:active,
    body .main-content.categories.categories-grid1 .page-nav > a:hover,
    body .main-content.categories.categories-grid1 .page-nav > a:focus,
    body .main-content.categories.categories-grid1 .page-nav > a:active,
    body .main-content.categories.categories-grid1 .page-nav > a.active {
        color: #ffffff !important;
        border-color: #343b40 !important;
        background: linear-gradient(180deg, #596167 0%, #343b40 100%) !important;
    }
}

@media (max-width: 380px) {
    body .main-content.categories.categories-grid1 > .container {
        padding-right: 9px !important;
        padding-left: 9px !important;
    }

    body .main-content.categories.categories-grid1 .select-categories-content {
        gap: 7px !important;
    }

    body .main-content.categories.categories-grid1 .select-categories-content select {
        max-width: calc(100% - 68px) !important;
    }
}
