/* =========================================================
   FLOAT & CAST BAITS
   STORE EXTRA STYLES
========================================================= */


/* =========================================================
   PRODUCT IMAGES
========================================================= */

.catalog-product-image {

    width: 100%;
    height: 100%;

    object-fit: cover;

}

.catalog-placeholder-text {

    color: #898982;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 2px;

}

.product-image,
.shop-product-image,
.product-photo-placeholder {

    overflow: hidden;

}


/* =========================================================
   EMPTY STORE
========================================================= */

.store-empty-message {

    grid-column: 1 / -1;

    text-align: center;

    padding: 80px 20px;

    color: #777971;

}


/* =========================================================
   OUT OF STOCK
========================================================= */

.out-of-stock-label {

    color: #a14232;

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 1px;

    margin-bottom: 15px;

}


/* =========================================================
   PRODUCT PAGE
========================================================= */

.product-page {

    background: #f5f1e7;

    min-height: 700px;

}

.product-detail {

    max-width: 1450px;

    margin: auto;

    padding: 80px 7% 110px;

}

.product-detail-layout {

    display: grid;

    grid-template-columns:
        1.1fr .9fr;

    gap: 70px;

    align-items: start;

}


/* =========================================================
   PRODUCT IMAGE
========================================================= */

.product-detail-image {

    background: #e5e2d8;

    min-height: 650px;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

}

.product-detail-photo {

    width: 100%;
    height: 100%;

    min-height: 650px;

    object-fit: contain;

}

.product-detail-placeholder {

    color: #8b8b83;

    font-size: 12px;

    font-weight: 900;

    letter-spacing: 3px;

}


/* =========================================================
   PRODUCT INFORMATION
========================================================= */

.product-detail-info {

    padding: 25px 0;

}

.product-back-link {

    display: inline-block;

    color: #767871;

    text-decoration: none;

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 1.5px;

    margin-bottom: 40px;

}

.product-back-link:hover {

    color: #ff8a00;

}

.product-detail-category {

    color: #66733b;

    font-size: 11px;

    font-weight: 900;

    letter-spacing: 2px;

    margin-bottom: 12px;

}

.product-detail-info h1 {

    font-size: clamp(
        40px,
        5vw,
        68px
    );

    line-height: .95;

    letter-spacing: -2px;

    margin-bottom: 25px;

}

.product-detail-price {

    font-size: 28px;

    font-weight: 900;

    margin-bottom: 15px;

}

.product-stock {

    display: inline-block;

    font-size: 9px;

    font-weight: 900;

    letter-spacing: 1.5px;

    padding: 8px 12px;

    margin-bottom: 30px;

}

.in-stock {

    background: #66733b;

    color: white;

}

.out-stock {

    background: #9b3e31;

    color: white;

}

.product-detail-description {

    color: #686a64;

    font-size: 15px;

    line-height: 1.8;

    max-width: 600px;

    padding-bottom: 30px;

    margin-bottom: 30px;

    border-bottom:
        1px solid
        #d6d3c9;

}


/* =========================================================
   PRODUCT OPTIONS
========================================================= */

.product-option {

    margin-bottom: 24px;

}

.product-option label {

    display: block;

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 1.5px;

    margin-bottom: 9px;

}

.product-option select {

    width: 100%;

    background: white;

    border:
        1px solid
        #c9c7be;

    padding: 15px;

    outline: none;

    cursor: pointer;

}

.product-option select:focus {

    border-color: #ff8a00;

}


/* =========================================================
   QUANTITY
========================================================= */

.quantity-control {

    width: 150px;

    display: grid;

    grid-template-columns:
        45px 60px 45px;

    border:
        1px solid
        #c9c7be;

    background: white;

}

.quantity-control button {

    background: white;

    border: none;

    cursor: pointer;

    font-size: 20px;

}

.quantity-control button:hover {

    background: #f0ede4;

}

.quantity-control input {

    width: 60px;

    border: none;

    border-left:
        1px solid
        #dedbd1;

    border-right:
        1px solid
        #dedbd1;

    text-align: center;

    outline: none;

    padding: 14px 5px;

}


/* Remove number arrows */

.quantity-control input::-webkit-inner-spin-button,
.quantity-control input::-webkit-outer-spin-button {

    -webkit-appearance: none;

    margin: 0;

}


/* =========================================================
   ADD TO CART
========================================================= */

.add-to-cart-button {

    width: 100%;

    background: #ff8a00;

    color: #10110e;

    border: none;

    padding: 19px;

    cursor: pointer;

    font-size: 11px;

    font-weight: 900;

    letter-spacing: 2px;

    transition: .2s ease;

}

.add-to-cart-button:hover {

    background: #11120f;

    color: white;

}

.add-to-cart-button:disabled {

    background: #aaa9a3;

    color: white;

    cursor: not-allowed;

}

.product-add-message {

    color: #66733b;

    font-size: 12px;

    font-weight: 900;

    margin-top: 14px;

    min-height: 18px;

}


/* =========================================================
   PRODUCT INFO BOX
========================================================= */

.product-information-box {

    border-top:
        1px solid
        #d6d3c9;

    margin-top: 35px;

    padding-top: 25px;

}

.product-information-box strong {

    display: block;

    color: #ff8a00;

    font-size: 10px;

    letter-spacing: 2px;

    margin-bottom: 7px;

}

.product-information-box p {

    color: #777971;

    font-size: 13px;

}


/* =========================================================
   PRODUCT NOT FOUND
========================================================= */

.product-not-found {

    text-align: center;

    padding: 140px 20px;

}

.product-not-found h1 {

    font-size: 50px;

    margin-bottom: 15px;

}

.product-not-found p {

    color: #777971;

    margin-bottom: 40px;

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 900px) {

    .product-detail-layout {

        grid-template-columns: 1fr;

        gap: 30px;

    }

    .product-detail-image {

        min-height: 500px;

    }

    .product-detail-photo {

        min-height: 500px;

    }

}


@media (max-width: 600px) {

    .product-detail {

        padding:
            40px
            20px
            80px;

    }

    .product-detail-image {

        min-height: 380px;

    }

    .product-detail-photo {

        min-height: 380px;

    }

    .product-detail-info h1 {

        font-size: 42px;

    }

}

/* =========================================================
   CART ICON COUNT
   Shows on every page
========================================================= */

.cart-header-button {
    position: relative;
}

.cart-count {
    position: absolute;

    right: 0;
    top: 2px;

    min-width: 18px;
    height: 18px;

    padding: 0 4px;

    border-radius: 50%;

    background: #ff8a00;
    color: #10110e;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 9px;
    font-weight: 900;
}