﻿:root {
    --yellow: #E8D21A;
    --black: #0F0F0F;
    --yellow-25-opacity: rgba(231, 210, 26, 0.25);
}

#product-hub-hero {
    background: linear-gradient(0deg, rgba(15,15,15,.5)), url("../images/product-hub/product-hub-bg.jpg");
    background-blend-mode: normal;
    background-size: contain;
    background-position: top left;
    background-repeat: no-repeat;
    width: 100vw;
    height: auto;
    position: relative;
    z-index: 2;
}

@media(max-width: 768px) {
    #product-hub-hero {
        height: 500px;
    }
}

.search-form-container {
    width: 650px;
    border: solid 1px white;
    border-radius: 5px;
    display: flex;
    position: relative;
}

@media(max-width: 768px) {
    .search-form-container {
        width: 500px;
    }
}

@media(max-width: 576px) {
    .search-form-container {
        width: 90%;
    }
}

.search-form-container .search-input.form-control, .search-form-container .location-input.form-control {
    border: none !important;
    border-radius: 0px;
    padding-left: 50px!important;
}

.search-form-container .search-input.form-control{
    width: 50%;
}

.search-form-container .location-input.form-control {
    width: 100%;
}

@media(max-width: 768px){
    .search-form-container .search-input.form-control, .search-form-container .location-input.form-control {
        
        padding-left: 25px !important;
    }
}

.search-form-container .search-input.form-control{
    border-right: solid 1px white!important;
}

.input-icon-container{
    position: absolute;
    height: 100%;
    width: 50px;
    top: 0;
    font-size: 1.33rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: lightgray;
}

@media(max-width: 768px) {
    .input-icon-container {
        width: 25px;
    }
}




.input-icon-container.search-icon-container {
    left: 0;
}

.input-icon-container.location-icon-container {
    left: 0%;
}

#picture-carousel-scroller{
    padding: 0px 0px!important;
}

.carousel-img {
    flex: 0 0 auto;
    width: auto;
    height: auto;
    display: grid;
    place-items: center;
    padding: 5px;
}

.carousel-img img {
    height: 400px;
    width: 300px;
    object-fit: cover;
    transition: filter .2s ease;
}

@media(max-width: 786px)
{
    .carousel-img img {
        height: 200px;
        width: 150px;
    }
}

#picture-carousel{
    padding: 0px 0px;
    z-index: 0;
    position: relative;
}

#picture-carousel::after, #picture-carousel::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100px;
    background: var(--black);
    border-radius: 50%;
    z-index: 1;
}

#picture-carousel::after{
    bottom: -50px;
}

#picture-carousel::before{
    top: -50px;
}

@media(max-width: 768px){
    #picture-carousel::after, #picture-carousel::before {
        height: 70px;
    }

    #picture-carousel::after {
        bottom: -35px;
    }

    #picture-carousel::before {
        top: -35px;
    }
}

#picture-carousel .logo-scroller{
    border: none!important;
}

#suppliers-section {
    background: linear-gradient(0deg, rgba(15,15,15,.5) 90%, #0F0F0F), 
        radial-gradient(circle closest-side at 20% 30%, rgba(231, 210, 26, 0.25) 50%, rgba(15,15,15,.5), rgba(15,15,15,0)), 
        radial-gradient(circle closest-corner at 50% 90%, rgba(231, 210, 26, 0.25) 10%, #0F0F0F);
    background-blend-mode: normal;
    background-size: contain;
    background-position: top left;
    background-repeat: no-repeat;
    width: 100vw;
    height: auto;
    position: relative;
    z-index: 2;
}

#supplier-card-carousel-container {
    position: relative;
    overflow: visible;
    width: 100%;
}

#supplier-card-carousel {
    display: flex;
    flex-wrap: nowrap;
    column-gap: 75px;
    transition: transform 0.5s ease-in-out;
    width: max-content;
    justify-content: center;
}

.supplier-card {
    width: 600px;
    min-height: 400px;
    transform: scale(1);
    transition: transform 0.25s ease-in-out;
    border-radius: 15px;
    padding: 1.33em;
}

@media(max-width: 768px) {
    #supplier-card-carousel {
        column-gap: 50px;
    }
    .supplier-card {
        width: 400px;
        min-height: 375px;
    }
}

@media(max-width: 576px)
{
    #supplier-card-carousel {
        column-gap: 20px;
    }
    .supplier-card {
        width: calc(100vw - 70px);
        min-height: 350px;
    }
}

.supplier-card.active {
    transform: scale(1.1);
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: rgba(0,0,0,0.5);
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    z-index: 2;
}

#prevBtn {
    left: 10px;
}

#nextBtn {
    right: 10px;
}

#pricing-section {
    background: linear-gradient(180deg, rgba(15,15,15,.5) 50%, rgba(15,15,15,1) 100%), url("../images/product-hub/contact-section-bg.svg");
    background-blend-mode: normal;
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    width: 100vw;
    height: auto;
}

.card-banner {
    width: 100%;
    margin-bottom: 2rem;
}

.card-content {
    width: 100%;
    height: 100%;
}

.card-banner img {
    object-fit: cover;
    object-position: center center;
    width: 100%;
    height: 120px;
}

.company-logo{
    width: 100px;
    height: 100px;
    border-radius: 100%;
}

.company-logo img{
    border-radius: 100%;
    width: 100px;
    height: 100px;
}

@media (max-width: 576px)
{
    .company-logo img {
        width: 75px;
        height: 75px;
    }
}

.company-description{
    min-height: 60px;
    margin-bottom: 2rem;
}

#pricing-card-conatiner{
    display: flex;
    flex-wrap: nowrap;
    column-gap:2%
}

.pricing-card{
    width: 23.5%;
    height: 550px;
    border-radius: 15px;
    padding: 25px 15px;
}

@media(max-width: 991px){
    #pricing-card-conatiner {
        flex-wrap: wrap;
        column-gap: 4%;
        row-gap: 25px;
    }

    .pricing-card {
        width: 48%;
        height: 500px;
    }
}

@media(max-width: 578px){
    #pricing-card-conatiner {
        flex-wrap: wrap;
        row-gap: 25px;
        justify-content: center;
    }

    .pricing-card {
        width: 90%;
        height: 400px;
        padding: 25px;
    }
}

.pricing-card-content{
    width: 100%;
    height: 100%;
}

.plan-tag {
    border-radius: 15px;
    background-color: var(--yellow-25-opacity);
    padding: 5px 7px;
    margin-left: auto;
    text-align: center;
}

.most-popular .plan-tag {
    background-color: var(--yellow);
    color: black;
}

.pricing-btn{
    border-radius: 25px;
    width: 100%;
    position: relative
}

.pricing-btn {
    background-color: darkgray;
    color: white !important;
    border: none;
    transition: background-color .5s ease, color .25s ease-in-out;
}

.pricing-btn:hover, .pricing-btn:active, .pricing-btn:focus {
    background-color: var(--yellow);
    border: none;
    color: black !important;
    box-shadow: none;
}

.pricing-btn span {
    z-index: 2;
    position: relative;
}

.pricing-btn::before, .most-popular .pricing-btn::before  {
    content: "";
    width: 100%;
    height: 100%;
    border-radius: 25px;
    opacity: 1;
    position: absolute;
    top: 0px;
    left: 0px;
    background: linear-gradient(180deg, rgba(0,0,0,0.25), rgba(0,0,0,0.75));
    transition: opacity .25s ease-in-out;
    z-index: 1;
}

.pricing-btn:hover::before, .pricing-btn:active::before, .pricing-btn:focus::before {
    opacity: 0;
}

.most-popular .pricing-btn {
    background-color: var(--yellow);
    color: black !important;
}
.most-popular .pricing-btn::before  {
    background: linear-gradient(180deg, rgba(255,255,255,0.75), rgba(0,0,0,0.25));
}


.most-popular .pricing-btn {
    background-color: var(--yellow);
    color: black !important;
}

.price {
    background: linear-gradient(180deg, lightgrey, darkgrey);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-weight: 900;
    height: 55px;
}

@media(max-width: 578px) {
    #pricing-card-conatiner {
        flex-wrap: wrap;
        row-gap: 25px;
        justify-content: center;
    }

    .price {
        background: linear-gradient(180deg, lightgrey, darkgrey);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        color: transparent;
        font-weight: 900;
        height: auto;
    }
}

#contact-section {
    background: linear-gradient(180deg, rgba(15,15,15,.5) 50%, rgba(15,15,15,1) 100%), url("../images/product-hub/contact-bg.svg");
    background-blend-mode: normal;
    background-size: cover;
    background-position: top left;
    background-repeat: no-repeat;
    width: 100vw;
    min-height: 800px;
    position: relative;
}

#supplier-page {
    background: linear-gradient(0deg, rgba(15,15,15,.5)), url("../images/product-hub/supplier page bg-01.jpg");
    background-blend-mode: normal;
    background-size: cover;
    background-position: top left;
    background-repeat: no-repeat;
    width: 100vw;
    min-height: 800px;
    position: relative;
}

.main-banner{
    width: 100%;
    height: 250px;
    position: relative
}

.banner-overlay {
    position: absolute;
    top: 0px;
    left: 0px;
    background: linear-gradient(90deg, rgba(15,15,15,1) 5%, rgba(15,15,15,0.75) 50%, rgba(15,15,15,1) 95%);
    width: 100%;
    height: 100%;
}

.main-banner-content {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 66.67%;
    height: 100%;
}

.main-banner-content .company-logo {
    width: 120px;
    height: contain;
    border-radius: 0px;
}

.main-banner-content .nomarc-logo {
    width: 90px;
    height: contain;
    border-radius: 0px;
}

.supplier-details-table{
    border-radius: 15px;
    border: solid 1px var(--yellow);
}



.supplier-details-table th, .supplier-details-table td {
    text-align: center;
    padding: 25px 5px;
    font-weight: 400;
    color: white;
    width: 25%;
}

.supplier-details-table tr {
   border: solid 1px grey;
}

.supplier-details-table th:nth-child(odd), .supplier-details-table td:nth-child(odd) {
    background-color: rgba(255, 255, 255, 0.25);
}

.supplier-details-table th:nth-child(even), .supplier-details-table td:nth-child(even) {
    background-color: var(--yellow-25-opacity);
}


#product-card-carousel-container {
    position: relative;
    overflow: hidden;
    width: 100%;
}

#product-card-carousel {
    display: flex;
    flex-wrap: nowrap;
    column-gap: 25px;
    transition: transform 0.5s ease-in-out;
    width: max-content;
}

.product-card {
    width: 400px;
    min-height: 600px;
    border-radius: 15px;
    padding: 1.33em;
}

@media(max-width: 768px) {
    #product-card-carousel {
        column-gap: 15px;
    }

    .product-card {
        width: 300px;
        min-height: 400px;
    }
}

@media(max-width: 576px) {
    #product-card-carousel {
        column-gap: 10px;
    }

    .product-card {
        width: calc(100vw - 30px);
        min-height: 350px;
    }
}

.product-card.card-content{
    position: relative;
}

.product-availability {
    border-start-start-radius: 15px;
    border-end-end-radius: 15px;
    padding: 5px 10px;
    text-align: center;
    width: auto;
    position: absolute;
    left: 5px;
    top: 5px;
    z-index: 3;
}

.product-availability.available {
    background-color: forestgreen;
    width: 150px;
}

.product-availability.limited {
    background-color: var(--yellow);
    width: 165px;
}

.product-details-table{
    border-radius: 15px;
    border: solid 1px var(--yellow);
}



    .product-details-table th, .product-details-table td {
        text-align: center;
        padding: 25px 5px;
        font-weight: 400;
        color: white;
        width: 25%;
        border-right: solid 1px grey;
    }


.product-details-table td {
    background-color: var(--yellow-25-opacity);
}


.product-details-table th{
   background-color: rgba(255, 255, 255, 0.25);
}

.product-details-table tr {
   border: solid 1px grey;
}

#onboarding-section {
    background: linear-gradient(180deg, rgba(15,15,15,.25) 50%, rgba(15,15,15,1))100%, url("../images/product-hub/contact-bg.jpg");
    background-blend-mode: normal;
    background-size: cover;
    background-position: top left;
    background-repeat: no-repeat;
    width: 100vw;
    min-height: 800px;
    position: relative;
}

#product-hub-form .step {
    width: 40px!important;
    border-radius: 100%;
}

@media(max-width: 992px){
    #product-hub-form .step {
        width: 50px !important;
    }
}

#product-hub-form .line {
    flex-grow: 0;
    min-width: 75px;
}

@media(max-width: 768px) {
    #product-hub-form .line {
        flex-grow: 0;
        min-width: 50px;
    }
}

#product-hub-form .uploadBtn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: solid 1px grey !important;
    background-color: transparent !important;
    padding: 0.375rem 0.75rem;
    border-radius: 4.5px;
    cursor: pointer;
}

#product-hub-form .uploadBtn .uploadText {
    color: lightgrey;
    background-color: transparent !important;
}

#product-hub-form .uploadBtn button {
    display: none;
    margin-left: 10px;
    
    height: 25px;
    padding: 0px!important;

}

.description{
    white-space: pre-line;
}