/*
 =GENERAL
 -------------------------------------*/

.opc-nodisplay {
    display: none;
}
.opc-hidden {
    visibility: hidden;
}

/*
 =PRODUCT SEARCH
 -------------------------------------*/

.opc-product-search {
    margin-bottom: 2rem;
}
.opc-product-search .search-title {
    text-transform: uppercase;
    font-size: 3rem;
    line-height: 3.6rem;
    padding: 0;
    margin: 0 0 1.5rem;
}
@media (min-width: 768px){
    .opc-product-search .search-title {
        font-size: 4rem;
        line-height: 4.8rem;
    }
}
.opc-product-search input[name="product_name"] {
    padding-right: 4rem;
    background-position: calc(100% - 1rem) center;
    background-size: 2.5rem;
    background-repeat: no-repeat;
    border: 1px solid #003e1e;
    border-radius: 4px;
    width: 20rem;
    min-width: 0;
}
@media (min-width: 768px){
    .opc-product-search input[name="product_name"] {
        width: 28rem;
    }
}

.opc-product-search .submitting input[name="product_name"] {
    background-image: url(../img/ajax-loader.svg);
}
.opc-product-search .product_name-input input[name="product_name"], 
.opc-product-search .product_name-input .search-icon {
    display: inline-block;
    vertical-align: middle;
    margin: 0 2rem 0 0;
}
.opc-product-search .product_name-input .search-icon {
    width: 3.2rem;
    height: 3.2rem;
}
.opc-product-search .product_name-input .search-icon svg {
    stroke: currentColor;
    fill: currentColor;
}

.opc-product-search-results {
    padding: 3rem 0 2rem;
}
.opc-product-search-results ul {
    padding: 0;
    margin: 0;
}
.opc-product-search-results li {
    list-style: none !important;
    margin-bottom: 1rem;
}
.opc-product-search-results li .item-link {
    display: block;
    outline: none;
}
.opc-product-search-results li .product-image {
    min-height: 5rem;
    background-position: center;
    background-size: 2.5rem;
    background-repeat: no-repeat;
    background-image: url(../img/ajax-loader.svg);
}
@media (min-width: 768px){
    .opc-product-search-results li .product-image {
        min-height: 10rem;
    }
}
.opc-product-search-results li .product-image img {
    width: 100%;
    height: auto;
}
.opc-product-search-results li .product-title {
    padding: 0.5rem 0;
    margin: 0;
    font-size: 1.4rem;
    line-height: 1.96rem;
    font-weight: bold;
    text-decoration: underline;
}
@media (min-width: 768px){
    .opc-product-search-results li .product-title {
        padding: 1.5rem 0;
        font-size: 1.8rem;
        line-height: 2.52rem;
    }
}

/*
 =PRODUCT SINGLE
 -------------------------------------*/

@media (min-width: 992px){
    .single-opc_product .content {
        max-width: 80%;
        margin: 0 auto;
    }
}

.single-opc_product h1 {
    margin: 0 0 3rem;
    font-size: 3.4rem !important;
    line-height: 4.08rem !important;
    text-transform: none;
}
@media (min-width: 992px){
    .single-opc_product h1 {
        margin: 0 0 4rem;
        font-size: 4.4rem !important;
        line-height: 5.28rem !important;
    }
}

.single-opc_product.full-width-content .content {
    width: auto;
}
.single-opc_product .entry-meta {
    display: none;
}

@media (min-width: 992px){
    .opc-product-content .details-col .e-pad {
        padding-left: 2rem;
    }
}
.opc-product-content .section-title {
    font-size: 2rem;
    line-height: 2.4rem;
    font-weight: bold;
    margin: 0 0 2rem;
}
@media (min-width: 992px){
    .opc-product-content .section-title {
        font-size: 2.6rem;
        line-height: 3.12rem;
    }
}
.opc-product-content .details-section {
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #f2f2f2;
}
.opc-product-content .details-section:last-child {
    border-bottom: none;
}

/*
 =PRODUCT SINGLE. GALLERY
 -------------------------------------*/

.opc-product-content .product-gallery {
    width: 100%;
    min-height: 20rem;
    background-position: center;
    background-size: 2.5rem;
    background-repeat: no-repeat;
    background-color: #ffffff;
    background-image: url(../img/ajax-loader.svg);
    margin-bottom: 3rem;
}
.opc-product-content .product-gallery ul {
    margin: 0;
    padding: 0;
}
.opc-product-content .product-gallery ul li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.opc-product-content .product-gallery ul.slides li img {
	max-height: 300px;
    width: auto;
    height: inherit;
    margin: auto;
}

@media (min-width: 992px){
	.opc-product-content .product-gallery ul.slides li img {
		max-height: 500px;
	}
}

.opc-product-content .gallery-slider {
    position: relative;
    margin-bottom: 10px;
    border: none;
}

.opc-product-content .gallery-slider .zoom-icon {
    position: absolute;
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 50%;
    top: 2rem;
    right: 2rem;
    background-image: url(../img/search-icon.svg);
    background-color: #ffffff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 1.8rem;
    z-index: 100;
    cursor: pointer;
}

.opc-product-content .gallery-carousel {
    border: none;
}
.opc-product-content .gallery-carousel ul.slides li img {
    opacity: 0.5;
}
.opc-product-content .gallery-carousel ul.slides li.flex-active-slide {
    border-color: #003e1e;
}
.opc-product-content .gallery-carousel ul.slides li.flex-active-slide img {
    opacity: 1;
}

.opc-product-content .product-gallery .flex-direction-nav a {
    width: 40px;
    height: 40px;
    outline: none;
}
.opc-product-content .product-gallery .flex-direction-nav a::before {
    font-size: 40px;
    line-height:40px;
}

.single-opc_product .pswp {
    z-index: 10000;
}

/*
 =PRODUCT SINGLE. SINGLE FEATURED IMAGE
 -------------------------------------*/

.opc-product-content .product-gallery .featured-image {
/*
    border: 3px solid #003e1e;
    border-radius: 4px;
*/
	
}

/*
 =PRODUCT SINGLE. QUICK SUMMARY
 -------------------------------------*/

.product-quick-summary .number-val {
    padding: 1.7rem 0;
}
.product-quick-summary .summary-val {
    display: block;
    font-weight: bold;
    font-size: 4rem;
    line-height: 4.8rem;
    margin-bottom: 0.5rem;
    text-align: center;
    color: #003e1e;
}
.product-quick-summary .summary-name {
    display: block;
    font-weight: bold;
    font-size: 1.4rem;
    line-height: 1.68rem;
    text-transform: uppercase;
    text-align: center;
}
@media (min-width: 992px){
    .product-quick-summary .number-val {
        padding: 2.6rem 0;
    }
    .product-quick-summary .summary-val {
        font-size: 5rem;
        line-height: 6rem;
    }
    .product-quick-summary .summary-name {
        font-size: 1.6rem;
        line-height: 1.92rem;
    }
}

.product-quick-summary .sugar-teaspoons .summary-val {
    text-align: left;
}
.product-quick-summary .summary-val .tspoon-icon {
    display: block;
    display: inline-block;
    vertical-align: middle;
    height: 10.3rem;
    width: 2.25rem;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}
@media (min-width: 992px){
    .product-quick-summary .summary-val .tspoon-icon {
        height: 13.7rem;
        width: 3rem;
    }
}
.product-quick-summary .summary-val .tspoon-full {
    background-image: url(../img/teaspoon-sugar.png);
}
.product-quick-summary .summary-val .tspoon-half {
    background-image: url(../img/teaspoon-sugar-half.png);
}

/*
 =PRODUCT SINGLE. PRODUCT DETAILS
 -------------------------------------*/

.opc-product-content .details-section .detail-name {
    font-size: 1.4rem;
    line-height: 1.92rem;
}
.opc-product-content .details-section .detail-val {
    font-size: 1.4rem;
    line-height: 1.92rem;
    font-weight: bold;
}
@media (min-width: 992px){
    .opc-product-content .details-section .detail-name {
        font-size: 1.8rem;
        line-height: 2.16rem;
    }
    .opc-product-content .details-section .detail-val {
        font-size: 1.8rem;
        line-height: 2.16rem;
        font-weight: bold;
    }
}
