﻿/*
Compile-Minify: true
Compile-Area: product
Compile-OutputGroup: headtag
Compile-Exports: sb-product
Compile-Dependencies: bootstrap, site
*/


/*
    Apply to the product option if you want to hide if only one variant available
    e.g. {{#unless HasMultipleValues}}sb-hide-selector-option{{/unless}}
    Files: sb-productselector-color.hbs, sb-productselector-size.hbs, sb-productselector-radio-button.hbs
*/

.product-page-main-container {
    margin: 0 auto !important;
    /* column-gap: 2.5rem; */
}

.sb-hide-selector-option {
    display: none;
}

.input-number {
    border: none !important;
    outline: none !important;
    background-color: #F2F0EA !important;
    box-shadow: none !important;
}

.thumnail-medium {
    margin-bottom: 10px !important;
}


.sb-product-selector-availability {
    padding: 0 !important;
}

.radio-size {
    border: .063rem solid #949494;
    padding: .75rem 1rem;
    font-size: .875rem !important;
    min-width: 5rem;
}

.radio-size:hover {
    border: .063rem solid #949494;
    /* color: #F2F0EA;
    background-color: #383634; */
}

.btn:active, .btn.active {
    color: #F2F0EA;
    background-color: #4aa629;
    box-shadow: none !important;
}

#item-thumbnails-active {
    display: flex;
    justify-content: center;
    margin: 0 auto;
}

@media screen and (max-width: 768px) {
    .sb-product-selector-primary .sb-selector-form {
        padding: 0;
    }

    .product-price-main {
        font-size: 18px !important;
    }

    #btnProductAddToCart {
        width: 100% !important;
    }
    .sb-product-selector-quantity {
        width: 100% !important;
    }

    #product-amount {
        padding: 20px 30% !important;
    }

    .size-carousel-div {
        display: flex;
        overflow-x: auto;
    }
}

.stock-unavailable {
    color: #ef2424 !important;
}

/*
    In the product page - selector section, if the variant is not available
    display "select your {option name}" in yellow
*/
.row .col-sm-12 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.select-your-option {
    color: #b0971a !important;
}

.sale {
    background-color: #ffb09c;
    width: fit-content;
    margin: 0;
    padding: 10px 13px;
    border-radius: 4px;
}

.product-page-tabs {
    padding-top: 4.5rem !important;
}

.product-page-tabs .nav-tabs {
    justify-content: center;
    gap: 3rem;
}

.product-page-tabs #product-tab-accordion .panel-default {
    background-color: transparent !important;
    border: none !important;
    border-top: .063rem solid #CCCCCC !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    margin-top: 0 !important;
    padding: 0 !important;
}

.product-page-tabs #product-tab-accordion .panel-default .panel-heading {
    background-color: transparent !important;
    padding: 1rem 0 !important;
}

.product-page-tabs #product-tab-accordion .panel-default .panel-heading .panel-title a {
    display: block;
    font-family: 'RefregratorDx', sans-serif;
    font-size: 1.125rem !important;
    font-weight: 800;
    line-height: 120%;
    letter-spacing: .125rem;
    text-transform: uppercase;
    width: 100%;
    text-decoration: none !important;
    color: #000 !important;
}

.tab-content {
    max-width: 46.875rem;
    margin-left: auto;
    margin-right: auto;
}

.tab-content #description {
    font-weight: 400;
    line-height: 160%;
}

/* .nav-tabs li {
    margin-bottom: 1px;
} */

/* .nav-tabs li:active {
    
} */

.main-gallery-container-div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 2.5rem;
    padding-left: 0 !important;
    padding-right: 0 !important;
}


@media (max-width: 768px) {
  .main-gallery-container-div {
    grid-template-columns: 1fr;
  }

  .size-carousel-div {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .stock .availability-text {
    font-size: 1rem !important;
  }
}

#main-gallery-container,
.sb-product-container {
    padding: 0 !important;
}

.sb-product-container {
    height: fit-content;
    position: sticky;
    top: 2rem;
}

#main-gallery-image-link {
    padding: 0 !important;
    width: min(100vh - 15rem, 100%);
    min-width: 21.25rem;
    margin: 0 auto;
    aspect-ratio: 1 / 1;
    height: auto;
}

#main-gallery-image {
    margin: 0 !important;
}

.nav-tabs > li > a {
    font-family: 'RefregratorDx', 'sans-serif';
    font-size: 2.25rem !important;
    line-height: 120%;
    letter-spacing: .18rem;
    color: #000 !important;
}

.nav-tabs > li.active > a {
    border: none !important;
    font-weight: bolder !important;
    border-bottom: #4aa629 solid .125rem !important;
}

.nav > li > a:hover {
    border: none !important;
    background-color: transparent !important;
    border-bottom: .125rem solid #4aa629 !important;
}

.thumbnail {
    border: none !important;
}

.product-name-main {
    font-family: 'RefregratorDx', 'sans-serif';
    font-size: 2rem !important;
    letter-spacing: .2rem;
    line-height: 120%;
    font-weight: 800;
    color: #000 !important;
    text-transform: uppercase;
}

.mobile-product-name-main.product-name-main {
    font-size: 1.75rem !important;
    padding-bottom: 0 !important;
}

.product-price-main {
    font-size: 2rem !important;
    font-weight: 600;
    line-height: 140%;
    color: #4aa629 !important;
}

.mobile-product-price-main.product-price-main {
    font-size: 1.5rem !important;
    margin: 0 !important;
}

.product-counter {
    width: 35%;
    padding: .69rem .75rem;
    text-align: center;
    height: 3rem;
    border-radius: .313rem;
    border: .063rem solid #949494;
    font-size: 1rem;
    line-height: 120%;
    color: #1c1d1f;
    box-sizing: border-box;
    font-family: Work Sans, sans-serif;
}

.double-arrow-right {
    background-color: #4aa629;
    position: absolute;
    right: 0;
    height: 100%;
    padding: 0 1.25rem;
    display: flex;
    align-items: center;
}

#btnProductAddToCart {
    position: relative;
    width: 50%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background-color: #000 !important;
    height: 3rem;
    padding: .625rem 1.25rem;
    border-radius: .25rem;
}

#btnProductAddToCart #buyButtonText {
    font-family: 'RefregratorDx', sans-serif;
    font-weight: 800;
    font-size: clamp(.8rem, 2vw, 1rem) !important;
    line-height: normal;
    letter-spacing: .11rem;
    text-transform: uppercase;
    text-decoration: none;
}

.col-xs-6 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.control-label {
    width: 100% !important;
    text-align: left !important;
    border-bottom: .063rem solid #CCCCCC;
}

.control-label,
.quantity-label {
    font-weight: 400 !important;
    line-height: 160% !important;
}

.control-label .colorlabel,
.control-label .sizelabel {
    font-weight: 600 !important;
    color: #000 !important;
}

.availability-text {
    font-size: 1.125rem !important;
    font-style: normal;
    font-weight: 600;
    line-height: 140%;
    color: #4aa629;
}

/**/

/* Mobile gallery */
#mobile-gallery-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
}
#mobile-gallery-container::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.mobile-gallery-wrapper {
    display: flex;
    gap: 10px;
    padding: 10px 0;
}

.mobile-gallery-item {
    flex: 0 0 auto;
    width: 100%;
    max-width: 340px;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background-color: #fff;
}

/* Wholesale table styles */
.wholesale-table {
    margin-top: 20px;
}

.wholesale-table .table {
    margin-bottom: 0;
}

.wholesale-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    text-align: center;
    vertical-align: middle;
}

.wholesale-table td {
    text-align: center;
    vertical-align: middle;
    transition: background-color 0.3s ease;
}

.wholesale-table .quantity-input {
    width: 80px;
    text-align: center;
    margin: 0 auto;
}

.wholesale-table .row-selected {
    background-color: #f0f8ff !important;
}

.wholesale-table .row-selected td {
    background-color: #f0f8ff !important;
    border-color: #007bff;
}

.wholesale-table input[type="number"]:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* table thead tr th {
    text-align: left !important;
} */