/* ==========================================================================
   EuroAmanet - UI tweaks, loaded after main.css
   1. side menu (mobile offcanvas #sidebarHeader1)
   2. tighter corners site-wide (4px instead of the theme's 9-32px)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. side menu
   -------------------------------------------------------------------------- */
.ea-menu-wrap .u-header-sidebar__content {
  padding: 0 0 1.5rem;
}
/* one scrollbar only: the panel scrolls natively in .u-sidebar__scroller,
   the inner body no longer gets the theme's custom scrollbar */
.ea-menu-wrap .u-sidebar__scroller {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.ea-menu-wrap .u-header-sidebar__footer-offset {
  padding-bottom: 0;
}
.ea-menu-wrap .mCSB_scrollTools {
  display: none !important;
}
.ea-menu__brand {
  display: block;
  padding: 1.1rem 4rem .9rem 1.5rem;
  border-bottom: 1px solid #efefef;
}
.ea-menu__brand img {
  max-width: 132px;
  height: auto;
}
.ea-menu__search {
  position: relative;
  margin: 1rem 1.25rem .25rem;
}
.ea-menu__search .ec {
  position: absolute;
  left: .9rem;
  top: 50%;
  transform: translateY(-50%);
  color: #9aa3ab;
  font-size: 1rem;
  pointer-events: none;
}
.ea-menu__search input {
  width: 100%;
  height: 2.75rem;
  padding: 0 1rem 0 2.6rem;
  border: 1px solid #e3e3e3;
  background: #f7f7f7;
  border-radius: 4px;
  font-size: .875rem;
  color: #333e48;
}
.ea-menu__search input:focus {
  outline: 0;
  border-color: #fed700;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(254, 215, 0, .18);
}
.ea-menu__title {
  margin: 1.35rem 1.5rem .35rem;
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
  color: #9aa3ab;
}
.ea-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ea-menu__list a {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .65rem 1.5rem;
  color: #333e48;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.ea-menu__list a:hover,
.ea-menu__list a:focus {
  background: #fffbe6;
  border-left-color: #fed700;
  color: #1e2022;
  text-decoration: none;
}
.ea-menu__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 2.1rem;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 4px;
  background: #f2f3f5;
  color: #6c757d;
  font-size: .85rem;
  transition: background .15s ease, color .15s ease;
}
.ea-menu__list a:hover .ea-menu__icon,
.ea-menu__list a:focus .ea-menu__icon {
  background: #fed700;
  color: #1e2022;
}
.ea-menu__label {
  flex: 1 1 auto;
  line-height: 1.2;
}
.ea-menu__chev {
  font-size: .6rem;
  color: #c3c3c3;
}
.ea-menu__list--plain a {
  font-weight: 500;
  padding-top: .5rem;
  padding-bottom: .5rem;
  border-left: 0;
}
.ea-menu__list--plain a > i {
  width: 1.4rem;
  text-align: center;
  color: #9aa3ab;
}
.ea-menu__contact {
  margin: 1.6rem 1.25rem 0;
  padding: 1rem;
  background: #333e48;
  border-radius: 4px;
  color: #fff;
}
.ea-menu__contact a {
  display: flex;
  align-items: center;
  gap: .55rem;
  color: #fff;
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
}
.ea-menu__contact a + a {
  margin-top: .55rem;
}
.ea-menu__contact a .fa-phone-alt {
  color: #fed700;
}
.ea-menu__contact .ea-menu__wa .fa-whatsapp {
  color: #25d366;
  font-size: 1.1rem;
}
.ea-menu__contact a:hover {
  color: #fed700;
}
.ea-menu__hours {
  display: block;
  margin-top: .65rem;
  font-size: .68rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #aab2ba;
}

/* --------------------------------------------------------------------------
   2. tighter corners everywhere (the theme uses up to 2rem = 32px)
   -------------------------------------------------------------------------- */
.btn:not(.rounded-circle):not(.btn-add-cart),
.btn-lg,
.btn-sm,
.btn-xs,
.form-control,
.form-control-sm,
.form-control-lg,
.form-select,
.custom-select,
.input-group-text,
.input-group-pill,
.input-group-pill > .form-control:first-child,
.input-group-pill > .form-control:last-child,
.input-group-pill .input-group-prepend > .btn,
.input-group-pill .input-group-prepend > .input-group-text,
.input-group-pill .input-group-append > .btn,
.input-group-pill .input-group-append > .input-group-text,
.card,
.alert,
.dropdown-menu,
.modal-content,
.popover,
.toast,
.list-group-item,
.page-link,
.pagination-shop .page-link,
.nav-pills .nav-link,
.breadcrumb-item + .breadcrumb-item a,
.borders-radius-6,
.borders-radius-9,
.borders-radius-17,
.borders-radius-20,
.rounded-pill,
.rounded-left-pill,
.rounded-right-pill,
.rounded-top-lg,
.badge,
.u-go-to,
.chosen-container,
.chosen-container-single .chosen-single,
.chosen-container .chosen-drop,
.ui-datepicker,
.ui-datepicker .ui-datepicker-header,
.bootstrap-select > .dropdown-toggle,
.filter-sidebar,
.ea-menu__icon,
.ea-menu__contact,
.ea-menu__search input {
  border-radius: 4px !important;
}

/* product cards / category tiles keep a small, consistent corner */
li.product-item img.img-fluid,
.product-item:hover .product-item__inner:not(.remove-prodcut-hover),
.product-item__inner,
.product-item__card {
  border-radius: 4px !important;
}

/* keep the few places that ask for square corners square */
.rounded-0 {
  border-radius: 0 !important;
}

/* the page behind an open side menu must not scroll (prevents two scrollbars) */
html.ea-nav-open,
body.ea-nav-open {
  overflow: hidden;
}
