/* =========================================================
   DUNEHOST — HOSTING PRODUCT SELECTOR
   ========================================================= */

body.dh-products-body {
    margin: 0 !important;

    background:
        #050605 !important;

    color:
        #f5f2eb !important;
}


/* ---------------------------------------------------------
   REMOVE STOCK WHMCS PUBLIC SHELL
   --------------------------------------------------------- */

body.dh-products-body #header,
body.dh-products-body #nav {
    display:
        none !important;
}


/* Hide stock WHMCS cart/category sidebars on this route */

body.dh-products-body
#main-body
.sidebar,

body.dh-products-body
#main-body
.cart-sidebar,

body.dh-products-body
.sidebar-collapsed {
    display:
        none !important;
}


/* ---------------------------------------------------------
   PAGE CANVAS
   --------------------------------------------------------- */

body.dh-products-body
#main-body {
    position:
        relative !important;

    min-height:
        calc(100vh - 46px) !important;

    margin:
        0 !important;

    padding:
        0 0 245px !important;

    overflow:
        hidden;

    box-sizing:
        border-box;

    background:
        #050605 !important;
}


/* Dunes */

body.dh-products-body
#main-body::before {
    content:
        "";

    position:
        absolute;

    left:
        0;

    right:
        0;

    bottom:
        0;

    height:
        230px;

    background:
        url("/templates/dunehost/img/dunehost/dunehost-dunes.webp")
        center bottom / 100% auto
        no-repeat;

    filter:
        brightness(1.35)
        saturate(1.08)
        contrast(1.04);

    opacity:
        .98;

    pointer-events:
        none;

    z-index:
        0;

    -webkit-mask-image:
        linear-gradient(
            to bottom,
            transparent 0%,
            rgba(0,0,0,.30) 14%,
            #000 35%,
            #000 100%
        );

    mask-image:
        linear-gradient(
            to bottom,
            transparent 0%,
            rgba(0,0,0,.30) 14%,
            #000 35%,
            #000 100%
        );
}


body.dh-products-body
#main-body > .container {
    position:
        relative;

    z-index:
        1;

    width:
        min(1180px, calc(100% - 48px)) !important;

    max-width:
        none !important;

    margin:
        0 auto !important;

    padding:
        0 !important;
}


body.dh-products-body
#main-body > .container > .row {
    margin:
        0 !important;
}


body.dh-products-body
#main-body .main-content {
    float:
        none !important;

    width:
        100% !important;

    max-width:
        none !important;

    margin:
        0 !important;

    padding:
        0 !important;
}


/* ---------------------------------------------------------
   DUNEHOST TOP BAR
   --------------------------------------------------------- */

.dh-products-topbar {
    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    min-height:
        88px;

    margin-bottom:
        46px;

    padding:
        10px 0;

    border-bottom:
        1px solid
        rgba(255,255,255,.07);
}


.dh-products-logo img {
    display:
        block;

    width:
        auto;

    height:
        64px;
}


.dh-products-topbar-actions {
    display:
        flex;

    align-items:
        center;

    gap:
        26px;
}


.dh-products-topbar-actions a {
    color:
        rgba(255,255,255,.58) !important;

    font-size:
        .84rem;

    text-decoration:
        none !important;
}


.dh-products-topbar-actions a:hover {
    color:
        #e5a02a !important;
}


.dh-products-topbar-actions
.dh-products-cart-link {
    padding:
        10px 16px;

    border:
        1px solid
        rgba(229,160,42,.55);

    border-radius:
        4px;

    color:
        #e5a02a !important;
}


/* ---------------------------------------------------------
   INTRO
   --------------------------------------------------------- */

.dh-products-intro {
    max-width:
        720px;

    margin:
        0 auto 48px;

    text-align:
        center;
}


.dh-products-kicker {
    display:
        block;

    margin-bottom:
        12px;

    color:
        #e5a02a;

    font-size:
        .72rem;

    font-weight:
        600;

    letter-spacing:
        .22em;
}


.dh-products-intro h1 {
    margin:
        0 0 14px !important;

    padding:
        0 !important;

    border:
        0 !important;

    color:
        #f5f2eb !important;

    font-size:
        clamp(2.2rem, 4vw, 3.65rem) !important;

    font-weight:
        400 !important;

    line-height:
        1.08 !important;

    letter-spacing:
        -.035em;
}


.dh-products-intro p {
    max-width:
        620px;

    margin:
        0 auto !important;

    color:
        rgba(245,242,235,.57) !important;

    font-size:
        .98rem;

    line-height:
        1.7;
}


/* ---------------------------------------------------------
   GRID
   --------------------------------------------------------- */

body.dh-products-body
#order-standard_cart {
    margin:
        0 !important;

    padding:
        0 !important;

    color:
        inherit !important;

    font-size:
        inherit !important;
}


.dh-products-grid {
    display:
        grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap:
        22px;

    align-items:
        stretch;
}


/* ---------------------------------------------------------
   PLAN CARDS
   --------------------------------------------------------- */

.dh-plan-card {
    position:
        relative;

    display:
        flex;

    flex-direction:
        column;

    min-width:
        0;

    overflow:
        hidden;

    border:
        1px solid
        rgba(229,160,42,.22);

    border-radius:
        7px;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.026),
            rgba(255,255,255,.008)
        ),
        #080908;

    box-shadow:
        0 18px 48px
        rgba(0,0,0,.22);
}


.dh-plan-card-featured {
    border-color:
        rgba(229,160,42,.70);

    box-shadow:
        0 22px 60px
        rgba(0,0,0,.34),
        inset 0 0 0 1px
        rgba(229,160,42,.08);
}


.dh-plan-badge {
    position:
        absolute;

    top:
        0;

    right:
        20px;

    padding:
        7px 12px;

    border-radius:
        0 0 4px 4px;

    background:
        #e5a02a;

    color:
        #070807;

    font-size:
        .64rem;

    font-weight:
        700;

    letter-spacing:
        .11em;
}


/* Header */

.dh-plan-header {
    display:
        flex !important;

    align-items:
        flex-start;

    justify-content:
        space-between;

    gap:
        18px;

    margin:
        0 !important;

    padding:
        28px 26px 22px !important;

    border-bottom:
        1px solid
        rgba(255,255,255,.065);

    background:
        transparent !important;
}


.dh-plan-header h2 {
    margin:
        0 !important;

    color:
        #f5f2eb !important;

    font-size:
        1.5rem;

    font-weight:
        500;

    line-height:
        1.15;
}


.dh-plan-stock {
    display:
        block;

    margin-top:
        7px;

    color:
        rgba(245,242,235,.42);

    font-size:
        .72rem;
}


/* Pricing */

.dh-plan-price {
    flex:
        0 0 auto;

    text-align:
        right;
}


.dh-plan-price strong {
    display:
        block;

    color:
        #e5a02a !important;

    font-size:
        1.35rem;

    font-weight:
        500;

    line-height:
        1.1;
}


.dh-price-prefix,
.dh-price-cycle,
.dh-plan-setup {
    display:
        block;

    margin-top:
        3px;

    color:
        rgba(245,242,235,.42) !important;

    font-size:
        .68rem;
}


/* Body */

.dh-plan-body {
    flex:
        1 1 auto;

    padding:
        24px 26px 18px;
}


.dh-plan-description,
.dh-plan-description p,
.dh-plan-description div {
    margin:
        0 0 20px !important;

    color:
        rgba(245,242,235,.67) !important;

    font-size:
        .83rem !important;

    line-height:
        1.62 !important;
}


.dh-plan-includes {
    margin:
        0 0 15px;

    color:
        rgba(245,242,235,.86);

    font-size:
        .78rem;

    font-weight:
        500;
}


.dh-plan-features {
    display:
        grid;

    gap:
        10px;

    margin:
        0 !important;

    padding:
        0 !important;

    list-style:
        none !important;
}


.dh-plan-features li {
    display:
        flex;

    align-items:
        flex-start;

    gap:
        9px;

    margin:
        0 !important;

    padding:
        0 !important;

    color:
        rgba(245,242,235,.62) !important;

    font-size:
        .78rem;

    line-height:
        1.45;
}


.dh-plan-features strong {
    color:
        rgba(245,242,235,.88);

    font-weight:
        500;
}


.dh-feature-check {
    flex:
        0 0 auto;

    color:
        #e5a02a;

    font-size:
        .72rem;

    line-height:
        1.45;
}


/* Footer/button */

.dh-plan-footer {
    float:
        none !important;

    width:
        auto !important;

    margin:
        0 !important;

    padding:
        0 26px 28px !important;

    text-align:
        left !important;
}


.dh-plan-button {
    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    width:
        100%;

    min-height:
        48px;

    padding:
        0 17px;

    border:
        1px solid
        rgba(229,160,42,.50);

    border-radius:
        4px;

    background:
        transparent;

    color:
        #e5a02a !important;

    font-size:
        .82rem;

    font-weight:
        500;

    text-decoration:
        none !important;

    transition:
        .18s ease;
}


.dh-plan-button:hover {
    border-color:
        #e5a02a;

    background:
        #e5a02a;

    color:
        #070807 !important;
}


.dh-plan-card-featured
.dh-plan-button {
    border-color:
        #e5a02a;

    background:
        #e5a02a;

    color:
        #070807 !important;
}


.dh-plan-card-featured
.dh-plan-button:hover {
    filter:
        brightness(1.08);
}


/* ---------------------------------------------------------
   BOTTOM NOTE
   --------------------------------------------------------- */

.dh-products-note {
    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        24px;

    margin:
        30px 0 0;

    padding:
        18px 20px;

    border-top:
        1px solid
        rgba(255,255,255,.06);

    color:
        rgba(245,242,235,.40);

    font-size:
        .74rem;
}


.dh-products-note a {
    flex:
        0 0 auto;

    color:
        rgba(229,160,42,.78) !important;

    text-decoration:
        none !important;
}


.dh-products-note a:hover {
    color:
        #e5a02a !important;
}


/* ---------------------------------------------------------
   ALERTS
   --------------------------------------------------------- */

body.dh-products-body
.alert-danger {
    border:
        1px solid
        rgba(190,68,68,.50) !important;

    background:
        rgba(112,31,31,.25) !important;

    color:
        #f5dada !important;
}


body.dh-products-body
.alert-info {
    border:
        1px solid
        rgba(229,160,42,.30) !important;

    background:
        rgba(229,160,42,.06) !important;

    color:
        rgba(245,242,235,.75) !important;
}


/* ---------------------------------------------------------
   FOOTER
   --------------------------------------------------------- */

body.dh-products-body
#footer {
    min-height:
        46px !important;

    margin:
        0 !important;

    padding:
        0 !important;

    border-top:
        1px solid
        rgba(255,255,255,.06);

    background:
        #050605 !important;
}


/* ---------------------------------------------------------
   TABLET
   --------------------------------------------------------- */

@media (max-width: 980px) {

    .dh-products-grid {
        grid-template-columns:
            1fr;
    }


    .dh-plan-card {
        max-width:
            680px;

        width:
            100%;

        margin:
            0 auto;
    }

}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 720px) {

    body.dh-products-body
    #main-body > .container {
        width:
            calc(100% - 28px) !important;
    }


    body.dh-products-body
    #main-body {
        padding-bottom:
            200px !important;
    }


    body.dh-products-body
    #main-body::before {
        height:
            190px;

        background-size:
            auto 190px;
    }


    .dh-products-topbar {
        min-height:
            76px;

        margin-bottom:
            34px;
    }


    .dh-products-logo img {
        height:
            50px;
    }


    .dh-products-topbar-actions
    > a:first-child {
        display:
            none;
    }


    .dh-products-intro {
        margin-bottom:
            34px;
    }


    .dh-products-intro h1 {
        font-size:
            2.15rem !important;
    }


    .dh-plan-header {
        padding:
            24px 20px 19px !important;
    }


    .dh-plan-body {
        padding:
            21px 20px 16px;
    }


    .dh-plan-footer {
        padding:
            0 20px 22px !important;
    }


    .dh-products-note {
        display:
            block;

        text-align:
            center;
    }


    .dh-products-note a {
        display:
            block;

        margin-top:
            8px;
    }

}
