/**
* Theme Name:     Magazinry Layout
* Theme URI:      https://templatemela.com/
* Author:         TemplateMela
* Author URI:     https://templatemela.com
* Description:    This is a child theme of Avanam, generated by TemplateMela.
* Version:        1.0.0
* License:        GNU General Public License v3.0 (or later)
* License URI:    https://www.gnu.org/licenses/gpl-3.0.html
*/
/*
:root {
    --global-button-height: 42px;
    --global-button-max-height: 42px;
}
// Maximum Button Height
.woocommerce ul.products li.product {

	.product-action-wrap  {
		button,
		a.button,
		.added_to_cart {
			max-height: var(--global-button-max-height);
		}
	}

	&.action-style-default,
	&.action-style-icon_button {
		button {
			max-height: var(--global-button-max-height);
		}
	}
}

.action-style-icon_button {
	.woosc_page .woosc_table .button,
	.woosc-quick-table .woosc-quick-table-products .woosc_table .button {
        max-height: var(--global-button-max-height);
    }
}

.woocommerce div.product div.summary .button.single_add_to_cart_button {
	height: var(--global-button-height);
    line-height: var(--global-button-height);
}
*/
:root {
  --global-gray-400:#e5e5e5;
  --global-button-height: 45px;
  --global-button-max-height: 45px;
}

b,
strong,
.woocommerce form .form-row label {
  font-weight: 600;
}

.woocommerce form .form-row label, .woocommerce table.shop_table tfoot th, .woocommerce table.shop_table th {
  font-weight: 600;
}

.woocommerce table.shop_table tbody th, .woocommerce table.shop_table tfoot td, .woocommerce table.shop_table tfoot th {
  font-weight: 600;
}

.woocommerce form .form-row label, .woocommerce table.shop_table tfoot th, .woocommerce table.shop_table th {
  font-weight: 600;
}

.woocommerce table.shop_table tbody th, .woocommerce table.shop_table tfoot td, .woocommerce table.shop_table tfoot th {
  font-weight: 600;
}

.menu .menu-item .woocommerce ul.products li.product .woocommerce-loop-product__title a, .woocommerce .woocommerce-loop-product__title {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.elementor-post-wrapper .splide__track .column-item {
  width: 33.3333%;
  padding-left: 15px;
  padding-right: 15px;
}

.primary-sidebar.widget-area .widget, #filter-drawer .widget {
  border: 1px solid var(--global-gray-400);
  padding: 20px;
}
.primary-sidebar.widget-area .widget-content, #filter-drawer .widget-content {
  padding: 10px 0px 0px 0px;
  margin-top: 3px;
}
.primary-sidebar.widget-area .wp-widget-group__inner-blocks, #filter-drawer .wp-widget-group__inner-blocks {
  padding: 0 0 15px 0px;
}
.primary-sidebar.widget-area ol, #filter-drawer ol {
  margin: 0;
}
.primary-sidebar.widget-area .widget-title, #filter-drawer .widget-title {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--global-gray-400);
}

.primary-sidebar .widget .wp-block-latest-posts__list li {
  line-height: 1.6;
}

.welcome-newsletter input[type=email] {
  min-height: 45px;
  min-width: 190px;
  max-width: 190px;
  border-radius: 0;
  margin-bottom: 10px;
}

.welcome-newsletter {
  text-align: center;
}

.mobile-navigation .woocommerce ul li a {
  padding: 9px 25px;
}

.woocommerce div.product div.summary form.cart .button.button-buy-now {
  background-color: var(--global-palette2);
  color: var(--global-palette9);
}

.site-header .site-main-header-inner-wrap .main-navigation .primary-menu-container > ul.menu > li.menu-item:first-child > a {
  padding-left: 0;
}
.site-header .site-top-header-inner-wrap .header-contact-item {
  position: relative;
}
.site-header .site-top-header-inner-wrap .header-contact-item::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 17px;
  background-color: #d5d9d8;
  position: absolute;
  right: -18px;
  bottom: 0;
  top: 2px;
}
.site-header .site-top-header-inner-wrap .header-contact-item:last-child::after {
  content: "";
  display: none;
}
.site-header .site-header-section .header-search-bar form input.search-field {
  height: 42px;
  border: 0;
  border-radius: 0;
}
.site-header .site-header-section .header-search-bar .base-svg-iconset {
  color: #000000;
}
.site-header .site-header-section .header-search-bar .base-svg-iconset svg {
  width: 1.5em;
  height: 1.5em;
}
.site-header .header-menu-container ul.menu > li.base-menu-mega-enabled > ul .nav-drop-title-wrap {
  font-weight: 500;
  font-size: 16px;
  color: var(--global-palette3);
}
.site-header .mobile-toggle-open-container .menu-toggle-open .menu-toggle-icon {
  font-size: 24px;
  color: var(--global-palette3);
}
.site-header .mobile-toggle-open-container .menu-toggle-open .menu-toggle-icon:hover {
  color: var(--global-palette1);
}

.site-footer .site-top-footer-wrap .widget-title {
  margin-bottom: 30px;
}
.site-footer .site-top-footer-wrap .newsletter-form input[type=email] {
  background: #fff;
  color: #000000;
  border: 0;
  height: 46px;
  width: 400px;
  border-radius: 0;
  padding: 10px 15px;
}
.site-footer .site-top-footer-wrap .newsletter-form input[type=submit] {
  padding: 10px 28px;
}
.site-footer .site-top-footer-wrap .newsletter-form input[type=submit]:hover {
  background-color: var(--global-palette9);
  color: var(--global-palette3);
}

.blog-title {
  color: var(--global-palette1);
}

.blog-title::before {
  content: "";
  background: var(--global-palette1);
  height: 2px;
  width: 50px;
  display: block;
  position: absolute;
  bottom: -10px;
  top: auto;
}

.editor-section .editor-box .entry-title {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.blog-section .elementor-widget-container .row {
  row-gap: 40px;
}
.blog-section .tech-box .entry-content, .blog-section .latestpost-box .entry-content {
  padding-left: 30px;
}
.blog-section .tech-box .entry-excerpt, .blog-section .news-box .entry-excerpt, .blog-section .latestpost-box .entry-excerpt {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.blog-section .traveling-box .entry-title, .blog-section .news-box .entry-title, .blog-section .recent-post .entry-title {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.blog-section .prolife-box .entry-title, .blog-section .tech-box .entry-title, .blog-section .latestpost-box .entry-title {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
.blog-section .recent-post .elementor-widget-container .row {
  row-gap: 20px;
}
.blog-section .recent-post .post-author, .blog-section .recent-post .posted-on::after {
  display: none;
}

.button-hover .post-button:hover {
  text-decoration: none !important;
}

.color-switch-dark #mobile-drawer .drawer-inner {
  background: var(--global-palette7);
}
.color-switch-dark.woocommerce div.product div.summary form.cart .button.button-buy-now {
  background-color: var(--global-palette-btn-bg);
  color: var(--global-palette-btn);
}
.color-switch-dark.woocommerce div.product div.summary form.cart .button.button-buy-now:hover {
  background-color: var(--global-palette-btn-bg-hover);
  color: var(--global-palette-btn-hover);
}

.woocommerce ul.products:not(.products-list-view) li.product:not(.product-item) {
  text-align: left;
  -webkit-box-shadow: none;
          box-shadow: none;
  border: 0;
  border-radius: 0;
}
.woocommerce ul.products:not(.products-list-view) li.product:not(.product-item) .product-details.entry-content-wrap {
  padding-inline: 0;
}
.woocommerce ul.products:not(.products-list-view) li.product:not(.product-item) .product-details.entry-content-wrap .product-action-wrap.style-button {
  padding-inline: 0;
  bottom: -2.3rem;
  max-width: -webkit-max-content;
  max-width: -moz-max-content;
  max-width: max-content;
  width: 100%;
}
.woocommerce ul.products:not(.products-list-view) li.product:not(.product-item) .product-details.entry-content-wrap .star-rating {
  float: none;
  margin: 10px 0 !important;
}
.woocommerce ul.products:not(.products-list-view) li.product:not(.product-item) .product-details.entry-content-wrap .woocommerce-loop-product__title {
  padding-bottom: 0px;
}
.woocommerce .base-sticky-add-to-cart-action-wrap a.added_to_cart,
.woocommerce div.product div.summary .added_to_cart,
.woocommerce a.added_to_cart:not(.woocommerce .product-action-wrap.style-text a.added_to_cart):not(form.cart .added_to_cart) {
  font-size: 13px;
  font-weight: 600;
  padding: 10px 30px;
  text-transform: uppercase;
  line-height: 2.1em;
  border-radius: 0;
  letter-spacing: 0.3px;
  max-height: 45px;
}
.woocommerce .woocommerce-Price-amount:not(del .woocommerce-Price-amount):not(.tmcore-product-price-filter .woocommerce-Price-amount) {
  color: var(--global-palette1);
  font-weight: 600;
}
.woocommerce .tr-price,
.woocommerce .price,
.woocommerce .woocommerce-grouped-product-list-item__price {
  color: var(--global-palette1);
  font-weight: 600;
}
.woocommerce .tr-price del,
.woocommerce .price del,
.woocommerce .woocommerce-grouped-product-list-item__price del {
  color: var(--global-palette4) !important;
  text-decoration-color: var(--global-palette4);
  font-weight: 400;
}
.woocommerce .related.products > h2, .woocommerce .woosc-quick-table > h2, .woocommerce .up-sells.upsells.products > h2, .woocommerce .cross-sells > h2 {
  text-align: center;
  margin-bottom: 30px;
  text-transform: uppercase;
  font-size: 24px;
}
.woocommerce ul.cart_list li a,
.woocommerce ul.cart_list li .quantity,
.woocommerce ul.product_list_widget li a,
.woocommerce ul.product_list_widget li .quantity {
  font-size: 15px;
  font-weight: 400;
}
.woocommerce table.shop_table {
  font-size: 100%;
}
.woocommerce #cart-drawer h2.side-cart-header {
  font-size: 16px;
}
.woocommerce #reviews #comments h2 {
  font-size: 19px;
  font-weight: 500;
  color: var(--global-palette3);
}
.woocommerce #reviews .comment-reply-title {
  font-size: 20px;
  font-weight: 500;
  color: var(--global-palette3);
}
.woocommerce form .form-row label {
  font-size: 100%;
}
.woocommerce table.shop_table {
  font-size: 100%;
}
.woocommerce span.onsale {
  background-color: var(--global-palette1);
  color: var(--global-palette9);
  font-size: 0.8em;
  padding: 0;
  width: 40px;
  height: 20px;
  font-weight: 600;
  border-radius: 0px;
  line-height: 20px;
}
.woocommerce div.product div.summary .product-onsale span.onsale {
  padding: 1px 10px;
  font-size: 0.8em;
}

.menu .menu-item .woocommerce ul.products li.product .onsale {
  padding: 0;
}

.base-sticky-add-to-cart-title-wrap .base-sticky-add-to-cart-title {
  font-size: 16px;
  font-weight: 500;
}

@media (min-width: 1900px) {
  .site-header .site-container {
    width: 1900px;
    margin: auto;
  }
}
@media (max-width: 1366px) and (min-width: 1025px) {
  .site-header .site-main-header-inner-wrap .site-header-item-main-navigation .main-navigation .primary-menu-container > ul > li.menu-item > a {
    padding-left: 12px;
    padding-right: 12px;
  }
  .site-header .site-main-header-inner-wrap img.logo {
    height: 40px;
    width: 200px;
  }
}
@media (max-width: 1024px) {
  .archive ul.products:not(.products-list-view):not(.splide__list):not(.products-list ul.products),
  .archive .wp-site-blocks .wc-block-grid:not(.has-2-columns):not(has-1-columns) .wc-block-grid__products, .single-product ul.products:not(.products-list-view):not(.splide__list):not(.products-list ul.products),
  .single-product .wp-site-blocks .wc-block-grid:not(.has-2-columns):not(has-1-columns) .wc-block-grid__products, .woocommerce-cart ul.products:not(.products-list-view):not(.splide__list):not(.products-list ul.products),
  .woocommerce-cart .wp-site-blocks .wc-block-grid:not(.has-2-columns):not(has-1-columns) .wc-block-grid__products {
    -webkit-column-gap: 1em;
       -moz-column-gap: 1em;
            column-gap: 1em;
    row-gap: 1em;
  }
  .woocommerce .base-sticky-add-to-cart-action-wrap a.added_to_cart,
  .woocommerce div.product div.summary .added_to_cart,
  .woocommerce a.added_to_cart:not(.woocommerce .product-action-wrap.style-text a.added_to_cart):not(form.cart .added_to_cart) {
    padding: 9px 25px;
    line-height: 2.2em;
  }
  .blog-section .elementor-widget-container .row {
    row-gap: 35px;
  }
  .blog-section .news-box .entry-title {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
  }
  .blog-section .recent-post .post-inner {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
  }
  .blog-section .recent-post .post-inner .entry-content {
    padding-left: 10px;
    margin-top: 0;
  }
  .blog-section .tech-box .post-inner, .blog-section .latestpost-box .post-inner {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
  }
  .blog-section .tech-box .post-inner img, .blog-section .latestpost-box .post-inner img {
    height: 165px;
  }
  .blog-section .tech-box .post-inner .entry-content, .blog-section .latestpost-box .post-inner .entry-content {
    padding-left: 20px;
    margin-top: 0;
  }
  .site-footer .site-top-footer-wrap .newsletter-form input[type=submit] {
    padding: 9px 28px;
  }
}
@media (max-width: 1024px) and (min-width: 541px) {
  .archive ul.products:not(.products-list-view, .woocommerce.columns-mobile-1 ul.products.grid-cols):not(.splide_list), .single-product ul.products:not(.products-list-view, .woocommerce.columns-mobile-1 ul.products.grid-cols):not(.splide_list), .woocommerce-cart ul.products:not(.products-list-view, .woocommerce.columns-mobile-1 ul.products.grid-cols):not(.splide_list) {
    -ms-grid-columns: (minmax(0, 1fr))[3];
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .site-header .custom-logo-link img, .site-header img.base-dark-mode-logo {
    width: 170px;
  }
  .woocommerce span.onsale {
    font-size: 0.7em;
    width: 35px;
    height: 18px;
    line-height: 18px;
  }
  .woocommerce div.product div.summary .product-onsale span.onsale {
    font-size: 0.7em;
  }
  .site-footer .site-top-footer-wrap .widget-title {
    margin-bottom: 15px;
  }
  .site-footer .site-top-footer-wrap .newsletter-form input[type=submit] {
    margin-top: 15px;
    padding: 10px 28px;
    max-height: 46px;
  }
  .blog-section .tech-box .entry-excerpt, .blog-section .news-box .entry-excerpt, .blog-section .latestpost-box .entry-excerpt {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  .blog-section .tech-box .post-inner, .blog-section .latestpost-box .post-inner {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
  }
  .blog-section .tech-box .post-inner img, .blog-section .latestpost-box .post-inner img {
    height: 165px;
  }
  .blog-section .tech-box .post-inner .entry-content, .blog-section .latestpost-box .post-inner .entry-content {
    padding-left: 10px;
    margin-top: 0;
  }
}
@media (max-width: 540px) {
  .holiday-section .elementor-widget-container .elementor-heading-title {
    font-size: 18px !important;
  }
}