/*!
Theme Name: Esrigin Foods Inc
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: Kadence WP
Author URI: https://www.kadencewp.com/
Description: A child theme for the Kadence Theme.
Version: 1.0.0
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kadence-child
*/

/* Theme customization starts here
-------------------------------------------------------------- */
p{margin-top:0;}
.t-bs {
    margin-left: 30px;
}
.t-bs a {
    background-color: var(--global-palette1);
    color: #fff !important;
    padding: 8px 20px !important;
    text-transform: uppercase;
    font-size: 14px !important;
    font-weight: 600 !important;
    border-radius: 50px;
}
.t-bs a:hover {
    background-color: #603629;
}
#b-slide .swiper-slide-inner {
    display: flex;
    justify-content: center;
    align-items: center;
}
/* Top Bar */
.site-top-header-inner-wrap .site-header-item,
.site-top-header-inner-wrap .header-html,
.site-top-header-inner-wrap .mobile-html {
	width: 100%;
}
.site-top-header-inner-wrap .header-html-inner,
.site-top-header-inner-wrap .mobile-html-inner {    
	display: flex;
    justify-content: space-between;
    gap: 10px;
}
.site-top-header-inner-wrap ul {
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
    list-style: none;
    align-items: center;
}
.site-top-header-inner-wrap ul li a {
    color: #fff;
    text-decoration: none !important;
    font-size: 14px;
}
.site-top-header-inner-wrap ul li a i {
    margin-right: 6px;
    position: relative;
    top: 0px;
    display: inline-block;
}
/* ==== Contact Form ==== */
.cr {
    display: flex;
    flex-wrap: wrap;
    margin: 0px -12px;
}
.cr .cl {
    width: 50%;
    padding: 0px 12px;
}
.cl {
    margin-bottom: 25px;
}
.cl.fbtn {
    margin-bottom: 0px;
}
.cl input:not(.wpcf7-submit), .cl select, .cl textarea {
    width: 100%;
    border-radius: 0px !important;
    padding: 12px 0px !important;
    background-color: transparent !important;
    border: 0px !important;
    border-bottom: 1px solid #333333!important;
}
.cl textarea {
    height: 100px;
}
.cl input:not(.wpcf7-submit):focus, .cl select:focus, .cl textarea:focus {
    border-color: var(--e-global-color-primary)!important;
}
.cl p {
    margin: 0px;
}
.cl br {
    display: none;
}
.cl.fbtn .wpcf7-submit {
    padding: 14px 40px;
}
.cfs .wpcf7 form .wpcf7-response-output {
    margin: 10px 0px 0px 0px!important;
}
.ist .elementor-icon-box-icon {
    background-color: var(--e-global-color-secondary);
    height: 55px;
    width: 55px;
    border-radius: 50px;
    display: flex!important;
    justify-content: center;
    align-items: center;
}
.es-cer .swiper-slide-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    padding: 10px;
    border-radius: 10px;
}
.es-cer .swiper-slide-inner img {
    max-width: 150px;
    height: 110px;
}
.es-cer .swiper-pagination,.es-dots .swiper-pagination {
    bottom: -20px !important;
}
.ars .elementor-swiper-button {
    background-color: #5E3326;
    border-radius: 4px;
    height: 40px;
    width: 28px;
    display: flex !important;
    justify-content: center;
    align-items: center;
}
#b-slide .swiper-slide-inner {
    position: relative;
    padding-top: 140%;
}
#b-slide .swiper-slide-inner img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
/* Gallery */
.es-gallery .gallery-icon {
    position: relative;
    overflow: hidden;
    display: block;
    border-radius: 10px;
}
.es-gallery .gallery-icon img {
    width: 100%;
    height: 170px;
    object-fit: cover;
}
.es-gallery .gallery-icon img {
    width: 100%;
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
}
.es-gallery .gallery-item:hover .gallery-icon img {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
    border-radius: 10px;
}
.es-gallery .gallery-icon a:after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    text-align: center;
    background-color: var(--e-global-color-primary);
    border-radius: 10px;
    -webkit-transition: -webkit-transform 0.4s ease;
    transition: -webkit-transform 0.4s ease;
    transition: transform 0.4s ease;
    transition: transform 0.4s ease, -webkit-transform 0.4s ease;
    -webkit-transform: scale(0, 1);
    -ms-transform: scale(0, 1);
    transform: scale(0, 1);
    -webkit-transform-origin: right center;
    -ms-transform-origin: right center;
    transform-origin: right center;
}
.es-gallery .gallery-item:hover .gallery-icon a:after {
    -webkit-transform: scale(1, 1);
    -ms-transform: scale(1, 1);
    transform: scale(1, 1);
    -webkit-transform-origin: left center;
    -ms-transform-origin: left center;
    transform-origin: left center;
}
.es-gallery .gallery-icon a:before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    display: block;
    height: 33px;
    width: 33px;
    font-size: 33px;
    color: #fff;
    border-radius: 50%;
    background-repeat: no-repeat;
    z-index: 9;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
    content: "\f00e";
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}
.es-gallery .gallery-item:hover .gallery-icon a:before {
    visibility: visible;
    opacity: 1;
}
/* Video */
.elementor-widget-video .elementor-custom-embed-image-overlay {
    position: relative;
}
.elementor-widget-video .elementor-custom-embed-image-overlay:after {
    background: #000;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    content: "";
    opacity: .4;
}
.elementor-custom-embed-play {
    z-index: 6;
}
.elementor-custom-embed-play:before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  display: block;
  width: 60px;
  height: 60px;
  background: var(--e-global-color-primary);
  border-radius: 50%;
  animation: pulse-border 1500ms ease-out infinite;
}
.elementor-custom-embed-play:after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  display: block;
  width: 60px;
  height: 60px;
  background: var(--e-global-color-primary);
  border-radius: 50%;
  transition: all 200ms;
}
.elementor-custom-embed-play:hover:after {
  background-color: darken(#fa183d, 10%);
}
.elementor-custom-embed-play svg {
    z-index: 4;
    position: relative;
    top: 4px;
    left: 2px;
    opacity: 1;
}
@keyframes pulse-border {
  0% {
    transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
    opacity: 0;
  }
}
/* Products Page */
.es-grid .ss-product-grid-layout .ss-product-grid {
    width: 33.33%;
}
.es-grid .ss-product-slide .image-caption,
.es-grid .ss-product-grid .image-caption {
    padding-top: 95%;
}
.es-grid .ss-product-slide .image-caption img,
.es-grid .ss-product-grid .image-caption img {
    padding: 25px 15px 20px 15px !important;
}
.es-grid .p-cat {
    top: 2px;
}
.es-iratio .elementor-widget-image { 
    position: relative;
    padding-top: 95%;
}
.es-iratio .elementor-widget-image img {
    /* aspect-ratio: 3 / 4; */
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top;
}
@media only screen and (max-width: 1024px) {
.t-bs {
    margin-left: 0px !important;
    margin-top: 20px !important;
}
.t-bs a {
    display: inline-block !important;
    width: auto !important;
}
}
@media only screen and (max-width: 991px) {
.es-grid .ss-product-grid-layout .ss-product-grid {
    width: 50%;
}    
}
@media only screen and (max-width: 767px) {
.site-top-header-inner-wrap .mobile-html-inner {
    flex-direction: column;
    align-items: center;
    gap: 5px;
}
ul.en-toplist.v2 {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
}
ul.en-toplist li {
    text-align: center;
}
#b-slide .swiper-slide-inner {
    padding-top: 120%;
}
.es-grid .ss-product-grid-layout .ss-product-grid {
    width: 100%;
}
}
