
/* =========================================================
   BASIC RESET
========================================================= */



html,
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #222;
    background: #fff;
}

a,
a:hover,
a:focus,
a:active {
    text-decoration: none !important;
    color: inherit;
}




/* =========================================================
   RESPONSIVE TOP BAR
========================================================= */

.ps-topbar {
    height: 38px;
    width: 100%;

    background: linear-gradient(90deg, #59c8f4, #4e83ed);

    color: #fff;

    display: grid;

    grid-template-columns: 1fr auto 1fr;

    align-items: center;

    padding: 0 8px;

    font-size: 14px;

    white-space: nowrap;

    overflow: hidden;
}


/* =========================================================
   LEFT BUTTONS
========================================================= */

.ps-top-left {
    display: flex;
    align-items: center;

    gap: 5px;

    justify-content: flex-start;

    min-width: 0;
}

.ps-top-left a {
    color: #fff;

    padding: 5px 9px;

    height: 30px;

    display: flex;
    align-items: center;

    border-radius: 2px;

    white-space: nowrap;
}


/* White first button */

.ps-top-left .guest {
    background: #fff;

    color: #2873bd;

    border-radius: 2px;
}


/* Second left button */

.ps-top-left .register {
    background: rgba(255,255,255,.12);
}


/* =========================================================
   CENTER INFORMATION
========================================================= */

.ps-top-center {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    text-align: center;

    overflow: hidden;

    min-width: 0;
}

.ps-phone {
    font-size: 14px;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;
}

.ps-social {
    display: flex;

    align-items: center;

    gap: 13px;

    font-weight: bold;

    margin-right: 5px;
}

.ps-social span {
    cursor: pointer;

    font-size: 19px;

    line-height: 1;

    display: flex;

    align-items: center;

    justify-content: center;
}


/* =========================================================
   RIGHT BUTTONS
========================================================= */

.ps-top-right {
    display: flex;

    align-items: center;

    justify-content: flex-end;

    gap: 5px;

    min-width: 0;
}

.ps-top-right a {
    color: #fff;

    padding: 5px 9px;

    height: 30px;

    display: flex;

    align-items: center;

    border-radius: 2px;

    white-space: nowrap;
}


/* Login button */

.ps-login {
    background: rgba(255,255,255,.12);
}


/* Cart / value button */

.ps-cart {
    background: #fff;

    color: #333;

    padding: 5px 10px;

    height: 30px;

    display: flex;

    align-items: center;

    border-radius: 2px;

    white-space: nowrap;
}

/* =========================================================
   MAIN NAVIGATION
========================================================= */

.ps-navbar {
    height: 85px;
    background: #fff;

    display: flex;
    align-items: center;

    padding: 0 25px;

    position: relative;
    z-index: 1000;

    box-shadow: 0 2px 7px rgba(0,0,0,.08);
}


/* LOGO */

.ps-logo {
    width: 330px;
    flex-shrink: 0;
}

.ps-logo img {
    max-width: 100%;
    min-width:220px;
    height: auto;
    display: block;
}


/*
   If you don't have the logo image yet,
   this text version can be used temporarily.
*/

.ps-logo-text {
    font-size: 38px;
    font-weight: 700;
    letter-spacing: -2px;
}

.ps-logo-text span {
    color: #0ba7dc;
}

.ps-logo-sub {
    font-size: 22px;
    margin-left: 60px;
    margin-top: -5px;
    letter-spacing: 2px;
}


/* =========================================================
   SEARCH
========================================================= */

.ps-search {
    margin-left: auto;
    margin-right: 100px;

    display: flex;

    width: 205px;
}

.ps-search input {
    width: 100%;
    height: 36px;

    border: 1px solid #ddd;
    border-right: 0;

    padding: 0 12px;

    outline: none;
}

.ps-search button {
    width: 42px;

    border: 0;

    background: #43b7a8;
    color: #fff;

    cursor: pointer;
}


/* =========================================================
   NAV LINKS
========================================================= */

.ps-menu {
    height: 100%;

    display: flex;
    align-items: stretch;
}

.ps-menu-item {
    position: relative;

    display: flex;
    align-items: center;
}



.ps-menu-link {
    height: 100%;

    padding: 0 18px;

    display: flex;
    align-items: center;

    font-size: 17px;

    color: #222;

    white-space: nowrap;

    transition: .2s;
}



.ps-menu-link:hover {
    background: #f7f7f7;
    color: #1554a8;
}

.ps-arrow {
    font-size: 12px;
    margin-left: 6px;
}


/* =========================================================
   NORMAL DROPDOWN
========================================================= */

.ps-dropdown {
    position: absolute;

    top: 100%;
    left: 0;

    width: 230px;

    background: #fff;

    border-top: 3px solid #2877d7;

    box-shadow: 0 7px 20px rgba(0,0,0,.16);

    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);

    transition: .2s;

    z-index: 2000;
}

.ps-dropdown a {
    display: block;

    padding: 15px 18px;

    color: #234e91;

    font-size: 15px;

    border-bottom: 1px solid #eee;
}

.ps-dropdown a:hover {
    background: #f1f7ff;
    color: #008fbe;
}


/* Desktop hover */

.ps-menu-item:hover > .ps-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* =========================================================
   MEGA MENU
========================================================= */

.ps-mega {
    position: absolute;

    top: 100%;
    left: 50%;

    width: min(960px, 82vw);

    transform: translate(-50%, 10px);

    background: #fff;

    padding: 25px;

    border-top: 3px solid #2877d7;

    box-shadow: 0 10px 30px rgba(0,0,0,.18);

    opacity: 0;
    visibility: hidden;

    transition: .2s;

    z-index: 3000;
}

.ps-menu-item:hover > .ps-mega {
    opacity: 1;
    visibility: visible;

    transform: translate(-50%, 0);
}


/* =========================================================
   MEGA MENU HEADER
========================================================= */

.ps-mega-header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 20px;

    padding-bottom: 12px;

    border-bottom: 1px solid #ddd;
}

.ps-mega-header h3 {
    margin: 0;

    font-size: 22px;

    font-weight: 400;

    color: #1c55a2;
}

.ps-mega-header a {
    font-size: 14px;
    color: #1688bb;
}


/* =========================================================
   PRODUCT GRID
========================================================= */

.ps-product-grid {
    display: grid;

    grid-template-columns: repeat(6, 1fr);

    gap: 14px;
}


/* PRODUCT CARD */

.ps-product-card {
    display: block;

    background: #fff;

    transition: .2s;

    min-width: 0;
}

.ps-product-card:hover {
    transform: translateY(-3px);
}

.ps-product-image {
    width: 100%;
    height: 115px;

    overflow: hidden;

    background: #eee;
}

.ps-product-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition: .3s;
}

.ps-product-card:hover img {
    transform: scale(1.06);
}

.ps-product-title {
    color: #1e56a3;

    font-size: 15px;

    padding: 10px 2px 5px;

    border-bottom: 1px solid #2867bb;
}


/* =========================================================
   MEGA MENU COLUMNS
========================================================= */

.ps-mega-columns {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 30px;
}

.ps-mega-column h4 {
    margin: 0 0 10px;

    color: #1556a6;

    font-size: 17px;

    border-bottom: 1px solid #ddd;

    padding-bottom: 8px;
}

.ps-mega-column a {
    display: block;

    padding: 7px 0;

    font-size: 14px;

    color: #444;
}

.ps-mega-column a:hover {
    color: #158fc1;
}


/* =========================================================
   MOBILE BUTTON
========================================================= */

.ps-mobile-toggle {
    display: none;

    margin-left: auto;

    width: 42px;
    height: 38px;

    border: 1px solid #ddd;

    background: #fff;

    cursor: pointer;

    font-size: 22px;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 1150px) {

    .ps-navbar {
        height: 75px;
        padding: 0 15px;
    }

    .ps-logo {
        width: 250px;
    }

    .ps-search {
        display: none;
    }

    .ps-mobile-toggle {
        display: block;
    }

    .ps-menu {
        position: absolute;

        top: 75px;
        left: 0;

        width: 100%;

        height: auto;

        background: #fff;

        display: none;

        flex-direction: column;

        box-shadow: 0 8px 20px rgba(0,0,0,.15);
    }

    .ps-menu.ps-open {
        display: flex;
    }

    .ps-menu-item {
        display: block;

        width: 100%;

        border-bottom: 1px solid #eee;
    }

    .ps-menu-link {
        width: 100%;
        height: auto;

        min-height: 52px;

        padding: 14px 20px;

        justify-content: space-between;
    }


    /* Disable desktop hover behaviour */

    .ps-dropdown,
    .ps-mega {
        position: static;

        width: 100%;

        transform: none !important;

        opacity: 1;
        visibility: visible;

        display: none;

        box-shadow: none;

        border-top: 1px solid #ddd;

        padding: 15px;

        transition: none;
    }

    .ps-menu-item.ps-mobile-open > .ps-dropdown,
    .ps-menu-item.ps-mobile-open > .ps-mega {
        display: block;
    }


    /* Mega menu becomes normal mobile panel */

    .ps-product-grid {
        grid-template-columns: repeat(2, 1fr);

        gap: 12px;
    }

    .ps-product-image {
        height: 130px;
    }

    .ps-mega-columns {
        grid-template-columns: 1fr 1fr;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 600px) {


    .ps-navbar {
        height: 65px;
    }

    .ps-logo {
        width: 210px;
    }

    .ps-menu {
        top: 65px;
    }

    .ps-product-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ps-product-image {
        height: 105px;
    }

    .ps-product-title {
        font-size: 14px;
    }

    .ps-mega-columns {
        grid-template-columns: 1fr;
        gap: 15px;
    }

}


/* =========================================================
   MOBILE TOP BAR
========================================================= */

@media (max-width: 600px) {

    .ps-topbar {
        height: 36px;

        padding: 0 5px;

        font-size: 12px;

        grid-template-columns: auto 1fr auto;

        gap: 5px;
    }

    .ps-top-left {
        gap: 3px;
    }

    .ps-top-left a {
        padding: 4px 6px;

        height: 28px;

        font-size: 11px;
    }

    .ps-top-center {
        min-width: 0;

        gap: 0;

        justify-content: center;
    }

    .ps-phone {
        font-size: 11px;

        overflow: hidden;

        text-overflow: ellipsis;
    }

    .ps-social {
        display: none;
    }

    .ps-top-right {
        gap: 3px;
    }

    .ps-top-right a {
        padding: 4px 6px;

        height: 28px;

        font-size: 11px;
    }

    .ps-cart {
        padding: 4px 6px;

        height: 28px;

        font-size: 11px;
    }

}


/* =========================================================
   VERY SMALL SCREENS - BELOW 400px
========================================================= */

@media (max-width: 399px) {

    .ps-topbar {
        grid-template-columns: auto 1fr;

        gap: 5px;
    }

    /*
       Keep the two left buttons
    */

    .ps-top-left {
        gap: 2px;
    }

    .ps-top-left a {
        padding: 4px 5px;

        font-size: 10px;
    }


    /*
       Keep ONLY the phone number in the centre
    */

    .ps-phone {
        font-size: 10px;
    }


    /*
       Hide social icons
    */

    .ps-social {
        display: none;
    }


    /*
       Hide the right-hand buttons
       when screen is extremely narrow
    */

    .ps-top-right {
        display: none;
    }

}


/* =========================================================
   DEMO PAGE CONTENT
========================================================= */

.ps-demo-content {
    min-height: 500px;

    padding: 80px 30px;

    text-align: center;

    background:
        linear-gradient(
            120deg,
            #55c6e8,
            #527cec
        );

    color: #fff;
}

.ps-demo-content h1 {
    font-size: 42px;
    margin-bottom: 10px;
}
