/* =========================================================
   DELLA GROUP - CONTACT PAGE
   BLACK / DARK THEME
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: auto;
}

html,
body {
    width: 100%;
    overflow-x: hidden;
}

body {
    padding-top: 69px;
    background: #000;
    color: #fff;
    font-family: "Geologica", sans-serif;
}

img {
    display: block;
    max-width: 100%;
}

#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    width: 0%;
    height: 3px;
    background: #4b5320;
    pointer-events: none;
}


/* =========================================================
   NAVBAR
========================================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    height: 69px;
    display: flex;
    align-items: center;
    padding: 0 22px;
    background: #000;
    border-bottom: 1px solid #181818;
    transition:
        transform .28s cubic-bezier(.16,1,.3,1),
        background-color .5s ease;
}

.navbar.nav-hidden {
    transform: translateY(-105%);
    pointer-events: none;
}

.nav-logo {
    flex: 1;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo img {
    width: auto !important;
    height: 29px;
    object-fit: contain;
}

.nav-menu {
    flex: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 27px;
}

.nav-actions {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 36px;
}

.nav-item {
    position: relative;
    height: 69px;
    display: flex;
    align-items: center;
}

.nav-item::after {
    content: "";
    position: absolute;
    top: 100%;
    left: -16px;
    width: calc(100% + 32px);
    height: 24px;
}

.nav-item > a {
    display: inline-flex;
    align-items: center;
    padding: 6px 0;
}

.nav-menu a,
.nav-actions a {
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    white-space: nowrap;
}

.nav-menu > .nav-item > a:hover,
.nav-actions > a:hover,
.company-link:hover {
    color: #808080;
}

.nav-separator {
    width: 2px;
    height: 19px;
    background: #555;
}

.defense-link span {
    color: #778233;
    font-weight: 700;
}

.search-link {
    display: flex;
    align-items: center;
    gap: 6px;
}

.search-link .material-icons {
    font-size: 16px;
}


/* =========================================================
   ICONS
========================================================= */

.list-icon,
.company-icon {
    position: relative;
    width: 11px;
    height: 11px;
    display: inline-block;
    flex-shrink: 0;
}

.icon-plus,
.icon-minus {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    line-height: 1;
    transition:
        opacity .45s ease,
        transform .45s cubic-bezier(.16,1,.3,1);
}

.icon-plus {
    opacity: 1;
    transform: rotate(0);
}

.icon-minus {
    opacity: 0;
    transform: rotate(-90deg);
}


/* =========================================================
   NAV DROPDOWN
========================================================= */

.nav-dropdown {
    position: fixed;
    top: 69px;
    left: 0;
    width: 100%;
    height: 288px;
    display: flex;
    gap: 176px;
    padding: 44px 56px;
    background: #111;
    color: #fff;
    border-top: 1px solid #242424;
    border-bottom: 1px solid #242424;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-28px);
    pointer-events: none;
    transition:
        opacity .35s ease,
        transform .65s cubic-bezier(.16,1,.3,1),
        visibility 0s linear .4s;
}

.nav-item:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    transition:
        opacity .35s ease,
        transform .65s cubic-bezier(.16,1,.3,1),
        visibility 0s;
}

.dropdown-info {
    width: 336px;
    flex-shrink: 0;
}

.dropdown-info h4,
.dropdown-categories h4 {
    margin-bottom: 28px;
    font-size: 13px;
}

.dropdown-info p {
    color: #b5b5b5;
    font-size: 13px;
    line-height: 1.45;
}

.dropdown-categories ul {
    list-style: none;
}

.dropdown-categories li {
    margin-bottom: 5px;
    font-size: 14px;
}

.dropdown-categories li > a {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
}

.dropdown-categories li > a:hover {
    color: #888;
}

.dropdown-categories li:hover .icon-plus,
.consumer-col li:hover .icon-plus,
.company-col li:hover .icon-plus {
    opacity: 0;
    transform: rotate(180deg);
}

.dropdown-categories li:hover .icon-minus,
.consumer-col li:hover .icon-minus,
.company-col li:hover .icon-minus {
    opacity: 1;
    transform: rotate(0);
}


/* =========================================================
   CONSUMER DROPDOWN
========================================================= */

.consumer-dropdown {
    gap: 32px;
    padding: 44px 32px;
    background: #101010;
}

.consumer-col {
    flex: 1;
}

.consumer-col h4 {
    margin-bottom: 10px;
    color: #fff;
    font-size: 13px;
}

.consumer-col p {
    margin-bottom: 20px;
    color: #999;
    font-size: 11px;
    line-height: 1.5;
}

.consumer-col ul {
    list-style: none;
}

.consumer-col li {
    margin-bottom: 5px;
    font-size: 14px;
}

.consumer-col li > a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
}

.consumer-col li > a:hover {
    color: #888;
}

.consumer-separator {
    width: 1px;
    margin: 0 16px;
    background: #343434;
}

.toro {
    color: #f00;
    font-weight: 700;
}


/* =========================================================
   DEFENSE DROPDOWN
========================================================= */

.defense-dropdown {
    background: #3d4519;
    border-color: #535d22;
}

.defense-dropdown .dropdown-info p {
    color: #ddd;
}

.defense-dropdown .dropdown-categories li > a:hover {
    color: #ccc;
}


/* =========================================================
   COMPANY DROPDOWN
========================================================= */

.company-link {
    gap: 6px;
    font-weight: 600;
}

.company-dropdown {
    gap: 96px;
}

.company-social {
    margin-top: 32px;
}

.company-social h4 {
    margin-bottom: 8px;
    font-size: 10px;
}

.company-social .ig {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

.company-grid {
    display: flex;
    gap: 64px;
}

.company-grid .company-col:first-child {
    margin-left: 96px;
}

.company-grid .company-col:nth-child(2) {
    margin-left: 40px;
}

.company-col h4 {
    margin-bottom: 28px;
    font-size: 13px;
}

.company-col ul {
    list-style: none;
}

.company-col li {
    margin-bottom: 5px;
    font-size: 14px;
}

.company-col li > a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
}


/* =========================================================
   PAGE CONTENT
========================================================= */

.page-content {
    width: 100%;
    background: #000;
}

.page-content.blur {
    filter: blur(6px);
    pointer-events: none;
    transition: filter .3s ease;
}


/* =========================================================
   CONTACT HERO
========================================================= */

.contact-hero {
    position: relative;
    width: 100%;
    min-height: clamp(580px, 72vh, 850px);
    display: flex;
    align-items: flex-end;
    padding:
        clamp(75px, 7vw, 115px)
        clamp(24px, 5vw, 80px)
        clamp(65px, 6vw, 95px);
    color: #fff;
    background:
        radial-gradient(
            circle at 80% 22%,
            rgba(255,255,255,.055),
            transparent 30%
        ),
        radial-gradient(
            circle at 18% 80%,
            rgba(61,69,25,.22),
            transparent 30%
        ),
        #050505;
    border-bottom: 1px solid #202020;
}

.contact-hero-inner {
    width: 100%;
    max-width: 1200px;
}

.contact-eyebrow,
.contact-section-label,
.contact-information-header > span {
    display: block;
    margin-bottom: 22px;
    color: #8d8d8d;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.contact-hero h1 {
    max-width: 1050px;
    margin-bottom: 40px;
    color: #fff;
    font-size: clamp(62px,7vw,118px);
    font-weight: 500;
    line-height: .92;
    letter-spacing: -.055em;
}

.contact-hero p {
    width: min(100%,620px);
    margin-left: clamp(0px,22vw,350px);
    color: #a8a8a8;
    font-size: 17px;
    line-height: 1.65;
}


/* =========================================================
   CONTACT MAIN
========================================================= */

.contact-main {
    width: 100%;
    display: grid;
    grid-template-columns:
        minmax(0,1fr)
        minmax(0,1fr);
    background: #090909;
    border-bottom: 1px solid #202020;
}

.contact-intro,
.contact-information {
    min-width: 0;
    padding:
        clamp(75px,6vw,110px)
        clamp(28px,5vw,80px);
}

.contact-intro {
    border-right: 1px solid #262626;
}

.contact-intro h2 {
    max-width: 750px;
    margin-bottom: 32px;
    color: #fff;
    font-size: clamp(42px,4.4vw,74px);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -.045em;
}

.contact-intro-copy {
    max-width: 560px;
    color: #909090;
    font-size: 17px;
    line-height: 1.65;
}


/* =========================================================
   CONTACT INFORMATION
========================================================= */

.contact-information {
    background: #0d0d0d;
}

.contact-information-header {
    margin-bottom: 70px;
}

.contact-information-header h3 {
    max-width: 680px;
    color: #fff;
    font-size: clamp(36px,3.3vw,56px);
    font-weight: 500;
    line-height: 1.06;
    letter-spacing: -.035em;
}

.contact-details {
    width: 100%;
    border-top: 1px solid #333;
}

.contact-detail {
    position: relative;
    padding: 25px 45px 25px 0;
    border-bottom: 1px solid #2c2c2c;
}

.contact-detail > span:first-child {
    display: block;
    margin-bottom: 9px;
    color: #737373;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.1px;
}

.contact-detail a,
.contact-detail p {
    color: #fff;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.55;
    text-decoration: none;
}

.contact-detail a {
    transition: color .25s ease;
}

.contact-detail a:hover {
    color: #9aa654;
}

.contact-arrow {
    position: absolute;
    top: 50%;
    right: 0;
    color: #777;
    font-size: 20px;
    transform: translateY(-50%);
    transition:
        color .25s ease,
        transform .3s cubic-bezier(.16,1,.3,1);
}

.contact-detail:hover .contact-arrow {
    color: #fff;
    transform: translateY(-50%) translate(3px,-3px);
}

.contact-address {
    padding-right: 0;
}


/* =========================================================
   CONTACT CLOSING
========================================================= */

.contact-closing {
    display: grid;
    grid-template-columns: .6fr 1.4fr;
    gap: clamp(50px,7vw,120px);
    padding:
        clamp(85px,7vw,125px)
        clamp(28px,5vw,80px);
    background: #000;
    color: #fff;
    border-bottom: 1px solid #202020;
}

.contact-closing-label {
    color: #777;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.3px;
}

.contact-closing-copy {
    max-width: 1000px;
}

.contact-closing-copy h2 {
    margin-bottom: 32px;
    color: #fff;
    font-size: clamp(44px,5vw,82px);
    font-weight: 500;
    line-height: .98;
    letter-spacing: -.045em;
}

.contact-closing-copy p {
    max-width: 620px;
    color: #777;
    font-size: 17px;
    line-height: 1.65;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    width: 100%;
    min-height: 336px;
    display: grid;
    grid-template-columns: 1.3fr 1.4fr;
    gap: 64px;
    padding: 37px 26px 29px;
    background: #000;
    color: #fff;
    border-top: 1px solid #181818;
}

.footer-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-left > a {
    display: inline-block;
}

.footer-logo {
    width: auto !important;
    height: 26px;
    object-fit: contain;
    margin-bottom: 124px;
}

.footer-address h4 {
    margin-bottom: 8px;
    color: #888;
    font-size: 12px;
}

.footer-address p {
    color: #fff;
    font-size: 11px;
    line-height: 1.5;
}

.footer-line {
    width: 176px;
    height: 1px;
    margin: 14px 0;
    background: #454545;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 72px;
    padding-top: 10px;
}

.footer-col {
    min-width: 0;
}

.footer-toggle {
    display: flex;
    padding: 0;
    margin-bottom: 27px;
    border: 0;
    background: none;
    color: #777;
    font: 700 12px "Geologica",sans-serif;
    pointer-events: none;
}

.footer-toggle .footer-icon {
    display: none;
}

.footer-links {
    display: flex;
    flex-direction: column;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.55;
}

.footer-links a:hover {
    color: #777;
}


/* =========================================================
   SCROLL TO TOP
========================================================= */

.scroll-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 950;
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #414141;
    border-radius: 50%;
    background: rgba(12,12,12,.92);
    color: #fff;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(14px);
    transition:
        opacity .3s ease,
        visibility .3s ease,
        transform .3s ease,
        background-color .25s ease;
}

.scroll-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: #3d4519;
}

.scroll-to-top .material-icons {
    font-size: 24px;
}


/* =========================================================
   MOBILE MENU
========================================================= */

.mobile-menu-btn {
    display: none;
    margin-left: auto;
    padding: 6px;
    border: 0;
    background: none;
    color: #fff;
    cursor: pointer;
}

.mobile-menu-btn .material-icons {
    font-size: 34px;
}

.mobile-menu-panel {
    position: fixed;
    top: 76px;
    left: 0;
    z-index: 999;
    width: 100%;
    height: calc(100dvh - 76px);
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 30px 24px;
    background: #000;
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(100%);
    transition: transform .35s ease;
}

.mobile-menu-panel.active {
    transform: translateX(0);
}

.mobile-menu-panel a {
    color: #fff;
    text-decoration: none;
    font-size: 22px;
    font-weight: 500;
}

.mobile-menu-panel a.active {
    color: #808080;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    body {
        padding-top: 76px;
    }

    .navbar {
        height: 76px;
        padding: 0 22px;
        justify-content: space-between;
    }

    .nav-logo {
        flex: unset;
    }

    .nav-logo img {
        height: 32px;
        max-width: min(72vw,320px);
    }

    .nav-menu,
    .nav-actions {
        display: none;
    }

    .mobile-menu-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .page-content.blur {
        filter: none;
        pointer-events: auto;
    }

    .contact-main {
        grid-template-columns: 1fr;
    }

    .contact-intro {
        border-right: 0;
        border-bottom: 1px solid #262626;
    }

    .contact-hero p {
        margin-left: 20%;
    }

    .footer {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer-logo {
        margin-bottom: 60px;
    }

    .footer-columns {
        grid-template-columns: repeat(3,minmax(0,1fr));
        gap: 38px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    body {
        padding-top: 70px;
    }

    .navbar {
        height: 70px;
        padding: 0 16px;
    }

    .nav-logo img {
        height: 30px;
        max-width: min(70vw,280px);
    }

    .mobile-menu-panel {
        top: 70px;
        height: calc(100dvh - 70px);
        padding: 28px 20px;
    }

    .contact-hero {
        min-height: 590px;
        padding: 90px 20px 45px;
    }

    .contact-eyebrow {
        margin-bottom: 18px;
        font-size: 10px;
    }

    .contact-hero h1 {
        margin-bottom: 28px;
        font-size: clamp(48px,15vw,72px);
        line-height: .94;
        letter-spacing: -.045em;
    }

    .contact-hero p {
        width: 100%;
        margin-left: 0;
        font-size: 14px;
    }

    .contact-intro,
    .contact-information {
        padding: 58px 20px;
    }

    .contact-intro h2 {
        font-size: 42px;
    }

    .contact-intro-copy {
        font-size: 15px;
    }

    .contact-information-header {
        margin-bottom: 48px;
    }

    .contact-information-header h3 {
        font-size: 36px;
    }

    .contact-detail a,
    .contact-detail p {
        font-size: 15px;
    }

    .contact-closing {
        grid-template-columns: 1fr;
        gap: 45px;
        padding: 70px 20px;
    }

    .contact-closing-copy h2 {
        font-size: 46px;
    }

    .contact-closing-copy p {
        font-size: 15px;
    }

    .footer {
        grid-template-columns: 1fr;
        gap: 38px;
        padding: 38px 22px;
    }

    .footer-logo {
        height: 30px;
        margin-bottom: 48px;
    }

    .footer-addresses {
        width: 100%;
        display: grid;
        grid-template-columns: 1.2fr 1px 1fr;
        gap: 18px;
    }

    .footer-line {
        width: 1px;
        height: 100%;
        min-height: 110px;
        margin: 0;
        background: #383838;
    }

    .footer-address h4 {
        font-size: 13px;
    }

    .footer-address p {
        font-size: 13px;
        line-height: 1.55;
    }

    .footer-columns {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding-top: 18px;
    }

    .footer-toggle {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 26px 0;
        margin: 0;
        font-size: 14px;
        pointer-events: auto;
        cursor: pointer;
    }

    .footer-toggle .footer-icon {
        display: inline-flex;
        color: #fff;
        font-size: 28px;
    }

    .footer-links {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        gap: 8px;
        transition:
            max-height .45s cubic-bezier(.16,1,.3,1),
            opacity .35s ease;
    }

    .footer-col.active .footer-links {
        max-height: 280px;
        padding-bottom: 22px;
        opacity: 1;
    }

    .footer-links a {
        font-size: 21px;
        line-height: 1.45;
    }

    .scroll-to-top {
        right: 16px;
        bottom: 16px;
        width: 44px;
        height: 44px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .nav-logo img {
        height: 27px;
        max-width: 68vw;
    }

    .contact-hero {
        min-height: 550px;
        padding: 80px 16px 36px;
    }

    .contact-hero h1 {
        font-size: 48px;
    }

    .contact-intro,
    .contact-information {
        padding-left: 16px;
        padding-right: 16px;
    }

    .contact-intro h2,
    .contact-closing-copy h2 {
        font-size: 36px;
    }

    .contact-information-header h3 {
        font-size: 32px;
    }

    .contact-closing {
        padding-left: 16px;
        padding-right: 16px;
    }

    .footer {
        padding-left: 18px;
        padding-right: 18px;
    }

    .footer-addresses {
        grid-template-columns: 1fr;
    }

    .footer-line {
        width: 100%;
        height: 1px;
        min-height: 1px;
        margin: 16px 0;
    }

    .footer-links a {
        font-size: 19px;
    }

    .scroll-to-top {
        right: 14px;
        bottom: 14px;
        width: 42px;
        height: 42px;
    }

}

/* =========================================================
   GLOBAL SEARCH DROPDOWN
   Controlled by assets/js/search.js
========================================================= */

.search-link {
    cursor: pointer;
}

/* =========================================================
   SEARCH PANEL
========================================================= */

.site-search-panel {
    position: fixed;
    top: 69px;
    left: 0;

    width: 100%;
    max-height: min(620px, calc(100vh - 69px));

    background: #000;
    color: #fff;

    z-index: 999;

    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateY(-24px);

    transition:
        opacity 0.28s ease,
        transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        visibility 0s linear 0.45s;
}


/* OPEN STATE */
.site-search-panel.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform: translateY(0);

    transition:
        opacity 0.28s ease,
        transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        visibility 0s linear 0s;
}


/* =========================================================
   SEARCH INNER CONTAINER
========================================================= */

.site-search-inner {
    width: 100%;

    padding: 34px 42px 32px;

    max-height: min(620px, calc(100vh - 69px));

    overflow-y: auto;

    overscroll-behavior: contain;
}


/* =========================================================
   SEARCH TOP LINE
========================================================= */

.site-search-topline {
    display: flex;
    align-items: center;

    gap: 18px;
}


/* =========================================================
   SEARCH INPUT WRAPPER
========================================================= */

.site-search-field-wrap {
    position: relative;

    flex: 1;

    display: flex;
    align-items: center;

    gap: 14px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.72);
}


.site-search-field-wrap .material-icons {
    flex: 0 0 auto;

    color: #fff;

    font-size: 25px;
}


/* =========================================================
   SEARCH INPUT
========================================================= */

.site-search-input {
    width: 100%;
    height: 62px;

    border: 0;
    outline: 0;

    background: transparent;

    color: #fff;

    font-family: "Geologica", sans-serif;

    font-size: clamp(24px, 2.2vw, 38px);

    font-weight: 400;

    letter-spacing: -0.02em;
}


.site-search-input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}


/* REMOVE DEFAULT SEARCH X */
.site-search-input::-webkit-search-cancel-button {
    display: none;
}


/* =========================================================
   CLOSE BUTTON
========================================================= */

.site-search-close {
    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.25);

    border-radius: 50%;

    background: transparent;

    color: #fff;

    cursor: pointer;

    transition:
        background-color 0.22s ease,
        border-color 0.22s ease,
        transform 0.22s ease;
}


.site-search-close:hover {
    background: rgba(255, 255, 255, 0.10);

    border-color: rgba(255, 255, 255, 0.70);
}


.site-search-close:active {
    transform: scale(0.94);
}


.site-search-close .material-icons {
    font-size: 22px;
}


/* =========================================================
   SEARCH HELPER TEXT
========================================================= */

.site-search-helper {
    margin-top: 14px;

    color: rgba(255, 255, 255, 0.48);

    font-size: 12px;

    line-height: 1.5;
}


/* =========================================================
   SEARCH RESULTS CONTAINER
========================================================= */

.site-search-results {
    margin-top: 26px;
}


/* =========================================================
   SEARCH STATUS
========================================================= */

.site-search-status {
    padding: 12px 0 2px;

    color: rgba(255, 255, 255, 0.55);

    font-size: 13px;
}


/* =========================================================
   SEARCH RESULT GRID
========================================================= */

.site-search-result-list {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 0 34px;
}


/* =========================================================
   INDIVIDUAL SEARCH RESULT
========================================================= */

.site-search-result {
    min-width: 0;

    display: grid;

    grid-template-columns: 1fr auto;

    align-items: center;

    gap: 20px;

    padding: 18px 0;

    border-top: 1px solid rgba(255, 255, 255, 0.12);

    color: #fff;

    text-decoration: none;

    transition:
        opacity 0.2s ease,
        padding-left 0.25s ease;
}


.site-search-result:hover {
    padding-left: 8px;
}


/* =========================================================
   RESULT CONTENT
========================================================= */

.site-search-result-main {
    min-width: 0;
}


/* =========================================================
   RESULT META
========================================================= */

.site-search-result-meta {
    display: flex;
    flex-wrap: wrap;

    align-items: center;

    gap: 8px 12px;

    margin-bottom: 6px;

    color: rgba(255, 255, 255, 0.48);

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: 0.06em;
}


/* PRODUCT ID */
.site-search-result-code {
    color: #aab36a;

    font-weight: 600;
}


/* =========================================================
   RESULT TITLE
========================================================= */

.site-search-result-title {
    color: #fff;

    font-size: 18px;

    font-weight: 500;

    line-height: 1.25;
}


/* =========================================================
   RESULT DESCRIPTION
========================================================= */

.site-search-result-description {
    margin-top: 5px;

    color: rgba(255, 255, 255, 0.58);

    font-size: 12px;

    line-height: 1.4;
}


/* =========================================================
   RESULT ARROW
========================================================= */

.site-search-result-arrow {
    color: rgba(255, 255, 255, 0.72);

    font-size: 23px;

    transition: transform 0.25s ease;
}


.site-search-result:hover .site-search-result-arrow {
    transform: translate(3px, -3px);
}


/* =========================================================
   NO RESULTS
========================================================= */

.site-search-empty {
    padding: 24px 0 4px;

    border-top: 1px solid rgba(255, 255, 255, 0.12);

    color: rgba(255, 255, 255, 0.58);

    font-size: 14px;

    line-height: 1.55;
}


/* =========================================================
   SEARCH OPEN STATE
   Prevent navbar mega menus opening over search
========================================================= */

body.site-search-open .nav-dropdown {
    opacity: 0 !important;

    visibility: hidden !important;

    pointer-events: none !important;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .site-search-panel {
        top: 76px;

        max-height: calc(100vh - 76px);
    }


    .site-search-inner {
        padding: 28px 24px 30px;

        max-height: calc(100vh - 76px);
    }


    .site-search-result-list {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .site-search-panel {
        top: 70px;

        max-height: calc(100svh - 70px);
    }


    .site-search-inner {
        padding: 24px 18px 28px;

        max-height: calc(100svh - 70px);
    }


    .site-search-topline {
        gap: 12px;
    }


    .site-search-field-wrap {
        gap: 10px;
    }


    .site-search-field-wrap .material-icons {
        font-size: 22px;
    }


    .site-search-input {
        height: 56px;

        font-size: 24px;
    }


    .site-search-close {
        width: 38px;
        height: 38px;

        flex-basis: 38px;
    }


    .site-search-helper {
        font-size: 11px;
    }


    .site-search-results {
        margin-top: 20px;
    }


    .site-search-result {
        padding: 16px 0;
    }


    .site-search-result-title {
        font-size: 17px;
    }


    .site-search-result-description {
        font-size: 12px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .site-search-inner {
        padding-left: 15px;
        padding-right: 15px;
    }


    .site-search-input {
        font-size: 21px;
    }


    .site-search-close {
        width: 36px;
        height: 36px;

        flex-basis: 36px;
    }

}

/* =========================================================
   CUSTOM TEXT SELECTION COLOR
========================================================= */

::selection {
    background: #8A9460; /* light olive drab */
    color: #ffffff;
}

/* Firefox */
::-moz-selection {
    background: #8A9460;
    color: #ffffff;
}