/**
* Theme Name: GreenMart Child
* Description: This is a child theme for GreenMart
* Author: Thembay
* Author URI: https://thembay.com/
* Version: 1.0
* Template: greenmart
*/

/*  [ Add your custom css below ]
- - - - - - - - - - - - - - - - - - - - */

/* Hide search button */
.greenmart-ajax-search.searchform .button-search {
  display: none;
}

/* ==============================================
   PRODUCT CATEGORIES TABS — Sidebar Layout
   ============================================== */

.hc-products-tabs.hc-sidebar-layout {
  display: flex;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
}

/* ---- Left Sidebar ---- */
.hc-sidebar-layout .hc-tab-sidebar {
  width: 270px;
  min-width: 200px;
  flex-shrink: 0;
  border-right: 1px solid #ebebeb;
  background: #fff;
  padding: 30px 0;
}

.hc-sidebar-layout .heading-product-category-tabs {
  padding: 0 25px 22px 25px;
  background: transparent;
}

.hc-sidebar-layout .heading-tbay-title {
  margin: 0;
}

.hc-sidebar-layout .heading-tbay-title .title {
  display: block;
  font-weight: 700;
  font-size: 24px;
  line-height: 27px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #16222b;
  position: relative;
  padding-bottom: 14px;
  word-break: break-word;
  text-align: left;
}

.hc-sidebar-layout .heading-tbay-title .title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 3px;
  background: #c9a227;
  border-radius: 2px;
}

.hc-sidebar-layout .heading-tbay-title .subtitle {
  display: block;
  font-size: 13px;
  color: #888;
  margin-top: 6px;
}

/* ---- Vertical Tab List ---- */
.hc-sidebar-layout .product-categories-tabs-title.tabs-list {
  display: block !important;
  border: none !important;
  padding: 0;
  margin: 0;
  list-style: none;
  white-space: normal;
  overflow: visible;
}

.hc-sidebar-layout .product-categories-tabs-title.tabs-list li {
  display: block;
  margin: 0;
}

.hc-sidebar-layout .product-categories-tabs-title.tabs-list li a {
  text-align: left;
  display: block;
  padding: 12px 25px;
  color: #888;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border: none !important;
  border-left: 3px solid transparent !important;
  background: transparent !important;
  border-radius: 0 !important;
  transition:
    color 0.2s,
    background 0.2s,
    border-color 0.2s;
  line-height: 1.4;
}

.hc-sidebar-layout .product-categories-tabs-title.tabs-list li a:hover {
  color: var(--e-global-color-primary);
  background: #f0f5ff !important;
  border-left-color: var(--e-global-color-primary) !important;
}

.hc-sidebar-layout .product-categories-tabs-title.tabs-list li a.active {
  color: var(--e-global-color-primary);
  background: #e8f0fe !important;
  border-left-color: var(--e-global-color-primary) !important;
  font-weight: 600;
}

/* ---- Right Content Area ---- */
.hc-sidebar-layout .hc-tab-main {
  flex: 1;
  min-width: 0;
  padding: 25px 25px 30px 25px;
}

.hc-sidebar-layout .hc-tab-main-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 16px;
}

.hc-sidebar-layout .hc-view-all-link {
  color: var(--e-global-color-primary);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.hc-sidebar-layout .hc-view-all-link:hover {
  color: #0d5dbf;
  text-decoration: none;
}

.tbay-element-product-categories-tabs .heading-tbay-title:not(.hc-products-tabs .heading-tbay-title) {
  display: none;
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
  .hc-sidebar-layout .hc-tab-sidebar {
    width: 200px;
  }
}

@media (max-width: 767px) {
  .hc-products-tabs.hc-sidebar-layout {
    flex-direction: column;
  }

  .hc-sidebar-layout .hc-tab-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #ebebeb;
    padding: 20px 0 0 0;
  }

  .hc-sidebar-layout .product-categories-tabs-title.tabs-list {
    display: flex !important;
    flex-direction: row;
    overflow-x: auto;
    flex-wrap: nowrap;
    gap: 0;
    padding-bottom: 0;
  }

  .hc-sidebar-layout .product-categories-tabs-title.tabs-list li {
    display: inline-block;
    flex-shrink: 0;
  }

  .hc-sidebar-layout .product-categories-tabs-title.tabs-list li a {
    padding: 10px 16px;
    border-left: none !important;
    border-bottom: 3px solid transparent !important;
    white-space: nowrap;
  }

  .hc-sidebar-layout .product-categories-tabs-title.tabs-list li a.active {
    border-bottom-color: var(--e-global-color-primary) !important;
    background: transparent !important;
  }
}

/* ==============================================
   PRODUCT COUNT DOWN — new heading design
   ============================================== */
.tbay-element-product-count-down.product-count-down {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
  padding: 25px;
}

.tbay-element-product-count-down .countdown-section-heading {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin-bottom: 20px;
}

.tbay-element-product-count-down .countdown-heading-title .title {
  display: block;
  font-weight: 700;
  font-size: 24px;
  line-height: 27px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #16222b;
  position: relative;
  padding-bottom: 14px;
  word-break: break-word;
  text-align: left;
}

.tbay-element-product-count-down .countdown-heading-title .title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 3px;
  background: #c9a227;
  border-radius: 2px;
}

.tbay-element-product-count-down .countdown-viewall-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--tb-theme-color);
  text-decoration: none;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.tbay-element-product-count-down .countdown-viewall-link:hover {
  text-decoration: underline;
}

.footer-copy-right .elementor-container.elementor-column-gap-default {
  justify-content: space-between;
}
.product-block.grid .caption {
  background-color: #f5f5f5;
}
.product-block.grid {
  border: 2px solid #f5f5f5;
}
.hc-product-countdown .countdown-viewall-link {
  gap: 8px;
  color: var(--e-global-color-primary);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.silver-filigree-section .onsale .saled {
  display: none !important;
}
.silver-filigree-section .product-block.grid .onsale > span.featured {
  top: 10px !important;
}
.silver-filigree-section .product-block h3 a {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}
.silver-filigree-section .products-grid.product {
  width: 100%;
}
.silver-filigree-section .products-grid.product figure.image a {
  display: flex;
  justify-content: center;
  align-items: center;
}

.silver-filigree-section .products-grid.product figure.image a img {
  max-height: 178px;
  min-height: 178px;
  object-fit: contain;
}
.hc-sidebar-layout .product-categories-tabs-title.tabs-list::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent;
}

.shop-by-category-section .slick-arrow.slick-prev {
  left: 0 !important;
  top: 40% !important;
}
.shop-by-category-section .slick-arrow.slick-next {
  right: 0 !important;
  top: 40% !important;
  left: unset !important;
}
@media (min-width: 767px) {
  .shop-by-category-section .slick-arrow.slick-prev {
    left: -25px !important;
  }
  .shop-by-category-section .slick-arrow.slick-next {
    right: -25px !important;
  }
}
/* form position fix */
form.greenmart-ajax-search.searchform {
  position: relative;
}

/* input padding for left icon */
form.greenmart-ajax-search.searchform input[type="text"] {
  padding-left: 40px !important; /* change from right → left */
  padding-right: 10px !important;
}

/* move icon to LEFT */
form.greenmart-ajax-search.searchform .button-group {
  position: absolute;
  left: 10px; /* change right → left */
  right: auto;
  top: 50%;
  transform: translateY(-50%);
  display: block !important;
}

/* button styling */
form.greenmart-ajax-search.searchform .button-group button {
  display: block !important;
  background: none;
  border: none;
}
.elementor-4535 .elementor-element.elementor-element-a458baf .tbay-search-form .button-search:not(.icon) {
  border: none;
}
.elementor-4535 .elementor-element.elementor-element-a458baf .tbay-search-form .tbay-search {
  border-radius: 8px;
}
form.greenmart-ajax-search.searchform input[type="text"] {
  border-radius: 8px !important;
}

@media (max-width: 767px) {
    body.mobile-hidden-footer #tbay-footer {
        display: block !important;
    }
}
.admin-bar .topbar-device-mobile.active,
.admin-bar .topbar-device-mobile {
  padding: 16px 20px 16px 16px;
}
.topbar-device-mobile {
  padding: 16px 20px 16px 16px;
}
@media (max-width: 768px) {
  .elementor-4860 .elementor-element.elementor-element-8a3906d.elementor-column.elementor-element[data-element_type="column"] > .elementor-widget-wrap.elementor-element-populated {
    padding: 0 !important;
    display: flex;
    justify-content: center;
  }
  body.mobile-hidden-footer #tbay-main-content {
    padding-bottom: 0 !important;
  }
}

/* ── Category-grouped Product Page Layout ── */
#cat-shop-page {
  margin: 0 auto;
  padding: 0px 80px 80px;
}

.cat-frame {
  display: flex;
  align-items: end;
  justify-content: center;
  margin-bottom: 30px;
}

.center-frame-wrapper {
  position: relative;
  display: contents;
}

.center-frame-wrapper img {
  display: block;
  max-width: 100%;
}

.frame-title {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
  font-weight: 500;
  color: #191c1f;

  white-space: nowrap;
}
.main .product-count-down .item .product .product-block .product-content .block-inner .image .product-image img {
  height: 200px;
  object-fit: cover;
}
@media (max-width: 576px) {
  .frame-title {
    font-size: 12px;
    top: 95px;
  }
  #cat-shop-page {
    margin-top: -40px;
    padding: 0px 20px;
  }
  .center-frame {
    height: 10px !important;
    object-fit: cover;
  }
  .shadow-none {
    padding: 0 !important;
  }
  .main .product-count-down .item .product .product-block .product-content .block-inner .image .product-image img {
    width: 405px !important;
    height: 250px;
  }
  .cat-frame {
    margin-bottom: 10px !important;
  }
}

/* =====================================================
   CART PAGE — SHG Two-column layout (Cart Details + Card Totals)
   Parent: .woocommerce-page to beat WooCommerce default specificity
   ===================================================== */

/* Wrapper */
.woocommerce-page .shg-cart-wrapper {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.woocommerce-cart .shg-cart-wrapper .wc-proceed-to-checkout a.checkout-button:after {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M3.75 12H20.25' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M13.5 5.25L20.25 12L13.5 18.75' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  line-height: normal;
}
.woocommerce .shg-cart-wrapper .cart_totals table .woocommerce-Price-amount {
  color: #333333;
}
/* Left panel */
.woocommerce-page .shg-cart-details {
  flex: 0 0 calc(68% - 12px);
  max-width: calc(68% - 12px);
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 28px 24px;
  box-sizing: border-box;
}

/* Right panel */
.woocommerce-page .shg-cart-collaterals {
  flex: 0 0 calc(32% - 12px);
  max-width: calc(32% - 12px);
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 28px 24px;
  box-sizing: border-box;
}

/* Override WooCommerce float/width on .cart_totals inside our panel */
.woocommerce-page .shg-cart-collaterals .cart_totals,
.woocommerce .shg-cart-collaterals .cart_totals {
  float: unset;
  width: 100%;
}

/* Section heading */
.woocommerce-page .shg-cart-section-title {
  font-size: 20px;
  font-weight: 600;
  color: #212121;
  margin: 0 0 20px;
  padding: 0;
  border: 0;
}

/* Cart table */
.woocommerce-page .shg-cart-table {
  width: 100%;
  border-collapse: collapse;
  border: none !important;
  margin: 0 !important;
}

.woocommerce-page .shg-cart-table thead tr {
  background-color: #f7f7f7;
}

.woocommerce-page .shg-cart-table thead th {
  font-size: 11px;
  font-weight: 700;
  color: #9e9e9e;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 11px 10px;
  border: none !important;
  border-top: 1px solid #e8e8e8 !important;
  border-bottom: 1px solid #e8e8e8 !important;
  text-align: left;
}

.woocommerce-page .shg-cart-table thead th.product-info {
  text-align: left;
  width: 50%;
}
.woocommerce-page .shg-cart-table thead th.product-price,
.woocommerce-page .shg-cart-table thead th.product-quantity,
.woocommerce-page .shg-cart-table thead th.product-subtotal {
  text-align: center;
}

.woocommerce-page .shg-cart-table tbody tr.cart_item {
  border-bottom: 1px solid #f0f0f0;
}
.woocommerce-page .shg-cart-table tbody tr.cart_item td {
  padding: 16px 10px;
  border: none !important;
  vertical-align: middle;
  font-size: 14px;
}

.woocommerce-page .shg-cart-table td.product-price,
.woocommerce-page .shg-cart-table td.product-quantity,
.woocommerce-page .shg-cart-table td.product-subtotal {
  text-align: center;
}
.woocommerce-page .shg-cart-table td.product-subtotal {
  font-weight: 600;
  color: #1a1a2e;
}

/* Products cell: remove | thumb | name */
.woocommerce-page .shg-product-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.woocommerce-page .shg-remove-wrap {
  flex-shrink: 0;
}

.woocommerce-page a.shg-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ccc !important;
  font-size: 20px;
  line-height: 1;
  text-decoration: none !important;
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  transition: color 0.2s;
}
.woocommerce-page a.shg-remove:hover {
  color: #e0474c !important;
}

.woocommerce-page .shg-thumb-wrap {
  flex-shrink: 0;
}
.woocommerce table.cart img,
.woocommerce-page table.cart img,
.woocommerce-page .shg-thumb-wrap img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border: 1px solid #f0f0f0;
  border-radius: 4px;
  display: block;
}

.woocommerce-page .shg-name-wrap {
  flex: 1;
  min-width: 0;
  text-align: left;
}
.woocommerce-page .shg-name-wrap a.name {
  font-size: 14px;
  font-weight: 500;
  color: #1a1a2e;
  text-decoration: none;
  display: block;
  line-height: 1.4;
}
.woocommerce-page .shg-name-wrap a.name:hover {
  color: var(--e-global-color-primary);
}

/* Quantity stepper */
.woocommerce-page .shg-cart-table .quantity {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border: 1px solid #ddd !important;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
  padding: 0;
}

.woocommerce-page .shg-cart-table .quantity .qty {
  width: 42px;
  text-align: center;
  border: 0 !important;
  border-left: 1px solid #ddd !important;
  border-right: 1px solid #ddd !important;
  border-radius: 0 !important;
  padding: 6px 4px;
  font-size: 14px;
  font-weight: 500;
  -moz-appearance: textfield;
  outline: none;
}
.woocommerce-page .shg-cart-table .quantity .qty::-webkit-outer-spin-button,
.woocommerce-page .shg-cart-table .quantity .qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.woocommerce-page .shg-cart-table .quantity .minus,
.woocommerce-page .shg-cart-table .quantity .plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  /* height: 34px; */
  border: 0 !important;
  background: #fff;
  cursor: pointer;
  font-size: 16px;
  color: #555;
  flex-shrink: 0;
  transition: background 0.2s;
}
.woocommerce-page .shg-cart-table .quantity .minus:hover,
.woocommerce-page .shg-cart-table .quantity .plus:hover {
  background: #f0f0f0;
}

/* Actions row */
.woocommerce-page .shg-cart-table td.shg-cart-actions {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0 0 0 !important;
  border: none !important;
  border-top: 1px solid #e8e8e8 !important;
  background: transparent !important;
}

.woocommerce-page a.shg-btn-return {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border: 1px solid #bdbdbd !important;
  border-radius: 4px;
  background: #fff !important;
  color: #64686c !important;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none !important;
  transition:
    border-color 0.2s,
    color 0.2s;
  line-height: 1.4;
}
.woocommerce-page a.shg-btn-return svg {
  stroke: #64686c;
}
.woocommerce-page a.shg-btn-return:hover {
  border-color: #888 !important;
  color: #222 !important;
}
.woocommerce-page a.shg-btn-return:hover svg {
  stroke: #222 !important;
}

.woocommerce-page .shg-update-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.woocommerce-page input.shg-btn-update {
  padding: 10px 22px !important;
  border: 1px solid var(--e-global-color-primary) !important;
  border-radius: 4px;
  background: #fff !important;
  color: var(--e-global-color-primary) !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
  line-height: 1.4;
}
.woocommerce-page input.shg-btn-update:hover {
  background: var(--e-global-color-primary) !important;
  color: #fff !important;
}

/* Right panel: Cart totals */
.woocommerce-page .shg-cart-collaterals .cart_totals > h2 {
  font-size: 20px;
  font-weight: 600;
  color: #212121;
  margin: 0 0 20px;
  padding: 0;
  border: 0;
}

.woocommerce-page .shg-cart-collaterals .cart_totals table {
  width: 100%;
  border-collapse: collapse;
  border: none;
}

.woocommerce-page .shg-cart-collaterals .cart_totals table tr th,
.woocommerce-page .shg-cart-collaterals .cart_totals table tr td {
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
  color: #424242;
  vertical-align: middle;
}

.woocommerce-page .shg-cart-collaterals .cart_totals table tr th {
  font-weight: 400;
  text-align: left;
  width: 50%;
}

.woocommerce-page .shg-cart-collaterals .cart_totals table tr td {
  text-align: right;
}

.woocommerce-page .shg-cart-collaterals .cart_totals table .order-total th,
.woocommerce-page .shg-cart-collaterals .cart_totals table .order-total td {
  font-weight: 700;
  font-size: 16px;
  color: #212121;
  border-bottom: 0;
  padding-top: 16px;
}

/* Proceed to checkout button */
.woocommerce-page .shg-cart-collaterals .wc-proceed-to-checkout {
  margin-top: 8px;
}

.woocommerce-page .shg-cart-collaterals .wc-proceed-to-checkout a.checkout-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: var(--e-global-color-primary) !important;
  color: #fff !important;
  padding: 14px 20px !important;
  border-radius: 4px !important;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none !important;
  border: 0 !important;
  box-sizing: border-box;
}

.woocommerce-page .shg-cart-collaterals .wc-proceed-to-checkout a.checkout-button:hover {
  background: #0d47a1 !important;
}

/* Responsive */
/* @media (max-width: 991px) {
  .woocommerce-page .shg-cart-wrapper {
    flex-direction: column;
  }
  .woocommerce-page .shg-cart-details,
  .woocommerce-page .shg-cart-collaterals {
    flex: 0 0 100%;
    max-width: 100%;
  }
} */
 @media (max-width: 991px) {
  .woocommerce-page .shg-cart-wrapper{
    flex-direction: column;
    width: 100%;
    max-width: 1200px;
  }
  .woocommerce-page .shg-cart-details{
    flex: unset;
    max-width: unset;
    width: 100%;
  }
  .woocommerce table.shop_table_responsive.cart tr.cart_item, .woocommerce-page table.shop_table_responsive.cart tr.cart_item{
    padding-left: unset;
    padding-right: unset;
    width: unset;
  }
  .woocommerce-page .shg-cart-collaterals{
    flex: unset;
    max-width: unset;
  }
  
 }
/* ── Tablet cart table fix (768px) ── */
@media (min-width: 576px) {

  /* Table overflow fix */
  .woocommerce-page .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Actions row — stack buttons vertically */
  .woocommerce-page .shg-cart-table td.shg-cart-actions {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }

  .woocommerce-page a.shg-btn-return,
  .woocommerce-page input.shg-btn-update {
    width: 100% !important;
    justify-content: center !important;
  }

  .woocommerce-page .shg-update-wrap {
    width: 100% !important;
  }
}
@media (max-width: 575px) {
  .woocommerce-page .shg-cart-details,
  .woocommerce-page .shg-cart-collaterals {
    padding: 18px 14px;
  }
  .woocommerce table.cart img,
  .woocommerce-page table.cart img,
  .woocommerce-page .shg-thumb-wrap img {
    width: 55px;
    height: 55px;
  }
  .woocommerce-page .shg-cart-table .cart_item_actions {
    float: left;
    width: 100%;
  }
  .woocommerce-page .shg-update-wrap {
    width: 100%;
  }
  .woocommerce-page .shg-cart-table td.shg-cart-actions {
    flex-direction: column;
    gap: 12px;
  }
  .woocommerce-page a.shg-btn-return,
  .woocommerce-page input.shg-btn-update {
    width: 100%;
    justify-content: center;
  }
  .woocommerce table.shop_table_responsive.shg-cart-table.cart tr.cart_item,
  .woocommerce-page table.shop_table_responsive.cart tr.cart_item {
    padding-left: unset;
  }
}
.product-block.grid .wcfmmp_sold_by_container {
  display: none;
}

/* Container and Table */
#yith-woocompare {
  background: #fff;
  padding: 20px;

  #yith-woocompare-table {
    border-collapse: collapse;
    width: 100%;
  }

  /* Headers and Cells */
  #yith-woocompare-table th,
  #yith-woocompare-table td {
    border: 1px solid #f0f0f0;
    padding: 15px;
    text-align: center;
    vertical-align: middle;
    font-family: sans-serif;
  }

  #yith-woocompare-table th {
    text-align: left;
    background-color: #fafafa;
    font-weight: bold;
    color: #333;
    width: 150px;
  }

  /* Image Styling */
  .image-wrap img {
    border: 1px solid #eee;
    padding: 10px;
  }

  /* Price Styling */
  .price {
    font-weight: bold;
    font-size: 18px;
    color: #000;
  }

  /* Add to Cart Button (The Green Style) */
  #yith-woocompare-table .add_to_cart_button,
  #yith-woocompare-table .button.product_type_simple,
  #yith-woocompare-table .button.read_more {
    background-color: #1e73be !important; /* The Blue from your image */
    color: #fff !important;
    padding: 12px 25px;
    text-transform: uppercase;
    font-size: 12px;
    border-radius: 3px;
    text-decoration: none;
    display: inline-block;
    border: none;
  }

  #yith-woocompare-table .add_to_cart_button:hover {
    background-color: #1e73be !important;
  }

  /* Availability Status */
  .stock.in-stock {
    color: #1e73be;
  }
  .stock.out-of-stock {
    color: #f44336;
  }

  /* Description Styling */
  .description td {
    font-size: 13px;
    line-height: 1.6;
    color: #777;
    text-align: justify;
  }

  table.compare-list td.odd {
    background: #f7f7f7;
  }

  table.compare-list tbody th {
    width: 150px;
    max-width: 150px;
    min-width: 150px;
    overflow: hidden;
    text-align: left;
    color: #333;
    background-color: #f2f2f2;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 14px;
  }
}

#yith-quick-view-content .rating-text-wrap {
  display: flex;
  flex-wrap: wrap;
}
/* .block-inner .image .product-image img {
  width: 405px;
  object-fit: cover;
  height: 300px;
} */
:where(.woocommerce) .select2-container .select2-selection--single .select2-selection__arrow b {
  width: 0 !important;
}
/* #tbay-breadscrumb {
  display: none !important;
} */
.home .mm-page #tbay-main-content .tbay-breadscrumb{
  display: none !important;
}
.elementor-widget-tbay-nav-menu .tbay-horizontal .navbar-nav>li.menu-item-has-children .dropdown-menu>li.menu-item-has-children .caret { 
    display: inline-block !important;
    width: 0;
    height: 0;
    margin-left: 5px;
    vertical-align: middle;

    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 4px solid; 
}

.elementor-widget-tbay-nav-menu .tbay-horizontal .navbar-nav>li.menu-item-has-children .dropdown-menu>li>a {
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.elementor-widget-tbay-nav-menu .tbay-horizontal .navbar-nav .dropdown-menu>li>a:hover {
    color: #5F6C72 !important;
    background : #E4E7E9 !important;
}
@media (max-width: 576px){
  .admin-bar .wrapper-container{
    top: 50px;
  }
  .wcgs-carousel{
    margin-bottom: 20px !important;
  }
  .woo-after-single-content{
    margin-top: -20px !important;
  }
  .related {
    margin-bottom: -20px !important;
  }
}

@media (max-width: 1199px) {
    .wrapper-container {
        padding-top: 78px !important;
    }
}

/* .elementor-4860 .elementor-element.elementor-element-4aad3a7 {
    margin-top: 50px !important;
} */

.archive .product-block.grid .product-content {
    justify-content: space-between;
}

.archive .product-block .image img {
  width: 100%;
  max-height: 200px;
}

@media (min-width: 578px) {
  .archive .product-block.grid .name {
      min-height: 38px;
  }
}

.archive .product-block.grid .image {

  max-height: 200px;
  justify-content: center;
  display: flex;

}

.archive .product-block.grid .price {
    width: 100% !important;
}

@media only screen and (min-width: 320px) and (max-width: 600px) {

    .archive .product-block.grid .image img {
        max-height: 160px;
        min-height: 160px;
        object-fit: contain;
    }
    .archive .product-block .tbay-subtitle {
        min-height: 38px;
    }
    /* .archive .product-block.grid .product-content {
        justify-content: unset;
    } */
    .archive .product-block.grid .caption {
      min-height: 167px;
    }
    .archive .product-block.grid .price {
      min-height: 38px;
    }
    /* .archive .product-block.grid .name-subtitle h3{
        min-height: 38px;
    } */
}


.custom-lang-nav .elementor-shortcode{
  display: flex;
  justify-content: end;
}

@media (max-width: 600px) {
    .wrapper-container {
        padding-top: 110px !important;
    }
}

@media (max-width: 600px) {
    .home .wrapper-container {
        padding-top: 68px !important;
    }
}
.topbar-device-mobile .active-mobile {
  max-width: 21px;
}

@media (min-width: 1199px) {
  .elementor-4860 .elementor-element.elementor-element-4aad3a7 {
      margin-top: 50px !important;
  }
}

@media (min-width: 576px) and (max-width: 767.5px) {
    .container{
        max-width: 100%;
    }
}

 /* newsletter */

.woocommerce form .hostinger-reach-optin.form-row{
  display: none;
}

@media (max-width: 767.5px) {

  .footer-copyrights .elementor-widget-wrap{
      justify-content: center !important;
  }
}

.woocommerce-view-order  h2, .woocommerce-view-order form {
    display: none !important;
}
.woocommerce-order-details h2{
  display: block !important;
}
.woocommerce-table__product-name.product-name, .woocommerce-table__product-table.product-total{
      border: 1px solid #eee !important;
}
.owl-carousel:not(.slick-slider)[data-mobileslick="1"][data-unslick="1"]>div:nth-child(n+2){
  display: block;
}