/* Hide These on CHeckout
.shopping-cart-shipping, .shopping-cart-coupons, .shopping-cart-taxrate, .shopping-cart-taxes {
    display: none;
}
*/
#overlay {
    background: #fff;
    border: 1px solid #BDCDBD;
    width: 100%;
    left: 0;
    z-index: 2900;
    display: none;
    padding: 2rem;
    box-sizing: border-box;
    margin-bottom: 4rem;
    text-align: center;
    cursor: pointer;
}

#overlay h2 {
    width: 100%;
    text-align: center;
}

#overlay .item-sku {
    display: block;
    color: #999;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

#overlay .button {
    margin: 0;
}

#overlay em {
    font-style: normal;
    font-size: initial;
    display: block;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

/* Products */
.category-wrap, .product-wrap {
    background: #fff;
    position: relative;
    z-index: 800;
    text-align: center;
    margin-bottom: 0;
    padding: 1rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

body.page-home .cat-prodlist-wrapper {
    padding-left: 1rem;
}

/* Hide Categories After 6th item For Home Page Only */
body.page-home .category-item:nth-of-type(6) ~ .category-item {
    display: none;
}

body.page-home .product-wrap {
    grid-template-columns: none;
}

.page-home .category-description {
    display: none;
}

.category-wrap h2, .product-wrap h2 {
    margin: 0;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.2);
    z-index: 3;
    height: 200px;
    font-weight: 400;
    box-sizing: border-box;
    border-radius: 1rem 1rem 0 0;
    transition: background ease 0.3s;
}

.category-item:hover h2, .product-item:hover h2 {
    background: rgba(0, 0, 0, 0.4);
}

.category-item, .product-item {
    width: 100%;
    box-sizing: border-box;
    display: block;
    transition: all ease 0.5s;
    position: relative;
    cursor: pointer;
    background: #E6EFE7;
    padding: 2rem;
    text-align: left;
    font-size: 1.4rem;
    color: #002200;
    padding-top: 200px;
    border-radius: 1rem;
    text-decoration: none;
}

/* Larger than phablet (also point when grid becomes active) */
@media (min-width: 400px) {
    .category-item, .product-item {
        width: calc(50% - 1rem);
    }
}

/* Larger than phablet (also point when grid becomes active) */
@media (min-width: 1000px) {
    .category-item, .product-item {
        width: calc(33.3% - 1rem);
    }
}

.category-item .bg-image, .main-prodImage {
    position: absolute;
    top: 0;
    display: block;
    left: 0;
    width: 100%;
    height: 200px;
    object-fit: cover;
    background-size: cover;
    background-position: center;
    border-radius: 1rem 1rem 0 0;
}

.category-item-description, .product-item-description {
    margin-top: 2rem;
}

.category-item p, .product-item p {
    margin: 0;
    padding: 0;
}

.category-item h2, .product-item h2 {
    color: #fff;
    font-size: 2rem;
    min-height: 3vw;
    text-shadow: 0px 0px 20px #000;
}

@media (min-width: 800px) {
    .category-item h2, .product-item h2 {
        font-size: 3.5rem;
    }

    .product-item h2 {
        font-size: 2.5rem;
    }
}

.category-item:hover, .product-item:hover {
    color: #fff;
    text-decoration: none;
    background: #006600;
}

/* Product Details */
.product-wrap .item-price {
    font-size: 1.8rem;
    color: #000;
    padding: .25rem 1rem;
}

.origprice {
    display: block;
    font-weight: 400;
    font-size: 1.2rem;
    line-height: 1;
    color: #777;
    text-decoration: line-through;
}

.product-wrap .item-price .msrp {
    font-size: 1.4rem;
    margin-bottom: 0;
}

.item-price .msrp:after {
    content: "(MSRP)";
    padding-left: .5rem;
    font-size: 1.2rem;
}

.product-wrap span.product-status {
    display: block;
}

.ecomPag:after, .ecomPag:before {
    content: "";
    display: table;
    clear: both;
}

.ecomPag {
    width: 100%;
    text-align: center;
    display: none;
}

.ecomPag input {
    margin: 0 .5rem;
}

.product-details-wrap.Out.of.Stock .product-addbutton:before {
    content: "Currently Out of Stock";
    font-weight: 700;
    border: 1px solid #ccc;
    padding: 1rem 3rem;
    margin-bottom: 2rem;
    text-align: left;
    display: inline-block;
}

.ecom-message {
    padding: 1rem 2rem;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 600;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    font-size: 1.3rem;
    box-sizing: border-box;
    z-index: 2500;
    box-shadow: 0px 0px 40px rgba(0, 0, 0, 0.2);
}

/* Larger than phablet (also point when grid becomes active) */
@media (min-width: 800px) {
    .ecom-message {
        position: relative;
        font-size: inherit;
        box-shadow: none;
        z-index: 1;
    }
}

.ecom-messagee.default {
    border: 1px solid #555;
    background: #eee;
    color: #555;
}

.ecom-message.warn {
    border: 1px solid rgb(220, 140, 0);
    background: #FCF4E6;
    color: rgb(220, 140, 0);
}

.ecom-message.success {
    border: 1px solid green;
    background: #E6F3E6;
    color: green;
}

.product-details-wrap .pagename {
    margin-bottom: 4rem;
}

h1.pagename .item-sku {
    display: block;
    font-size: 1.5rem;
    color: #999;
    margin-top: 1rem;
}

.product-details-wrap .prod-left {
    min-height: 20px;
}

.product-details-wrap .item-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: calc(100% - 1rem);
    box-sizing: border-box;
    display: block;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    margin: 0 .5rem;
}

.prod-thumbs-wrap {
    margin: 1rem 0;
}

.thumb-image {
    height: 130px;
    width: calc(33.3% - 1rem);
    margin: 0 .5rem;
    overflow: hidden;
    display: inline-block;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    cursor: pointer;
    transition: opacity ease 0.3s;
    border-radius: 1rem;
    opacity: 1;
}

.thumb-selected, .thumb-image:hover {
    opacity: 0.4;
}

.thumb-image.single-thumb {
    display: none;
}

/* Zoom Image */
.photo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    transition: transform .5s ease-out;
    background-color: #fff;
    border-radius: 1rem;
}

/* Pop-up */
.mfp-content .popup-wrap {
    position: relative;
    background: #FFF;
    padding: 20px;
    width: auto;
    max-width: 96%;
    max-width: 800px;
    margin: 20px auto;
    float: none;
    z-index: 2300;
}

.mfp-content .popup-wrap .photo {
    display: none;
}

.mfp-content button.mfp-close {
    overflow: visible;
    cursor: pointer;
    background: #fff;
    border: 0;
    padding: 0;
    top: -14px;
    right: 0px;
    width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius: 10rem;
    -webkit-appearance: none;
    display: block;
    outline: none;
    z-index: 1046;
    -webkit-box-shadow: none;
    box-shadow: none;
    opacity: 1;
    margin: 0;
}

.mfp-content .item-image-details {
    height: calc(70vh - 70px);
    max-height: 800px;
    cursor: default;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.mfp-content .prod-thumbs-wrap {
    text-align: center;
}

.mfp-content .thumb-image {
    height: 50px;
    width: 50px;
    overflow: hidden;
    border: 1px solid #ccc;
    margin-right: .5rem;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    cursor: pointer;
    transition: border ease 0.3s;
}

mfp-content
.mfp-content .thumb-image.single-thumb {
    display: inline-block;
}

.product-details-wrap .item-image-details {
    position: relative;
    height: 400px;
}

/* Prevent flash when setting as a BG */
.product-details-wrap .prod-right .details-mainImg-Wrap img {
    display: none;
}

.product-details-wrap .item-image-details .zoom-img-link {
    display: block;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    position: absolute;
}

.other-info h3:empty {
    display: none;
}

.product-details-wrap .product-options {
    border-top: 1px solid #CECFCF;
    padding-top: 1rem;
}

.product-details-wrap .product-options .column span {
    font-weight: bold;
    margin-bottom: 1rem;
    display: block;
}

.product-details-wrap .product-options select {
    width: auto;
}

.product-details-wrap .product-options iframe {
    display: none;
}

.product-details-wrap .product-options h4 {
    margin-bottom: 2rem;
    font-size: 3rem;
}

.product-details-wrap .product-qty {
    padding-top: 1rem;
    padding-bottom: 0;
}

.product-details-wrap.Out.of.Stock .product-qty {
    display: none;
}

.product-details-wrap .qty-wrap {
}

.product-details-wrap .qty-wrap span {
    display: inline-block;
}

.product-details-wrap .qty-wrap .plus-button {
    transition: all ease 0.3s;
    cursor: pointer;
}

.product-details-wrap .qty-wrap .minus-button {
    transition: all ease 0.3s;
    cursor: pointer;
}

.product-details-wrap .qty-wrap .plus-button:hover, .product-details-wrap .qty-wrap .minus-button:hover {
    opacity: 0.5
}

.product-details-wrap .qty-wrap input {
    width: 80px;
    text-align: center;
    padding: 0;
    line-height: 1;
}

.product-details-wrap .prod-right .item-price {
    font-size: 4rem;
    line-height: 1;
    color: #000;
    padding: 2rem 0rem;
}

.item-price .msrp {
    display: block;
    margin-bottom: .5rem;
    font-size: 2rem;
    opacity: 0.5;
}

.item-price .msrp:after {
    content: "(MSRP)";
    padding-left: .5rem;
    font-size: 1.2rem;
}

.product-details-wrap .product-addbutton {
    margin-bottom: 4rem;
}

.product-details-wrap .product-addbutton input {
    margin-bottom: .5rem;
    width: 200px;
    display: block;
}

.product-details-wrap .product-addbutton input:disabled {
    background: #eee;
    color: #ccc;
}

/* GIFT CARD LAYOUT */

/* Gift Card Details */
.gift-card-details .item-image {
    background-size: cover;
    height: auto;
    padding-top: 61%;
    border-radius: 3rem;
    border: 1px solid #ccc;
}

.gift-card-details .item-image .photo {
    display: none;
}

.gift-card-details .thumb-image {
    height: auto;
    padding-top: 15%;
    width: 25%;
    border: 1px solid #ccc;
}

.gift-card-details .product-qty {
    margin-bottom: 2rem;
}

.gift-card-details .gift-price input {
    max-width: auto;
    width: auto;
    min-width: 100px;
    display: block;
    margin: 1rem 0;
}

.store-only {
    display: none;
}

body.store .store-only {
    display: block;
}

.item-sku span {
    margin-bottom: 1rem;
    opacity: 0.5;
}

.item-sku span:before {
    content: "Item #: "
}

.item-sku span:empty {
    display: none;
}

.item-price {
    font-size: 4rem;
    margin-bottom: 2rem;
    display: block;
}

body.store .store-only .product-addbutton {
    margin-bottom: 0rem;
}

/* Gift Card Styles */

/* Gift Card Image Style */
.option-select {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    flex-wrap: wrap;
}

.option-select .optionText {
    flex-basis: 100%;
    font-weight: 600;
}

.option-select:has(#spano99678-1001) div {
    flex-basis: calc(100% / 2 - 1rem);
}

/* Larger than phablet (also point when grid becomes active) */
@media (min-width: 800px) {
    .option-select:has(#spano99678-1001) div {
        flex-basis: calc(100% / 3 - 1rem);
    }
}

.option-select:has(#spano99678-1001) .optiondescription {
    display: none;
}

.option-select:has(#spano99678-1001) img {
    display: block;
    width: 300px;
    aspect-ratio: 16/9;
    border: 2px solid #eee;
    opacity: 0.7;
    transition: all ease 0.3s;
}

.option-select:has(#spano99678-1001) img:hover {
    opacity: 1;
}

.option-select:has(#spano99678-1001) img.ioSelected {
    border: 2px solid #003D00;
    opacity: 1;
    box-shadow: 0px 0px 4px #000;
    filter: grayscale(0%);
}
