/* UUS THEME 09.10.2025 */

:root {
  --nav-1-container-height: 95px;
  --nav-2-container-height: 45px;
}

.container.nav:nth-of-type(1) {
  height: var(--nav-1-container-height);
}

.container.nav:nth-of-type(2) {
  height: var(--nav-2-container-height);
}

header hr {
  margin: 0;
  padding: 0;
  height: 2px;
  border: initial;
  background: #051033;
}

.nav__logo {
  width: 162px;
}

header.site-header {
  position: sticky;
  top: var(--admin-bar-height);
  z-index: 100;
}

header.site-header button,
.nav__icons button,
.nav__icons a {
  background-color: transparent !important;
  border: 0 !important;
  color: transparent !important;
  padding: 0 !important;
  line-height: 14px;
}

.container.nav,
.container.bar {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.container.bar .nav__center {
  column-gap: 5px;
}

.nav__icons {
  column-gap: 15px;
}

#content > div > header > div > div.nav__left > nav > ul > li > a,
#content > div > header > div:nth-child(2) > span,
#content > div > header > div:nth-child(2) > div.nav__right > nav > ul > li {
  font-family: "DM Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 18px;
  color: #051033;
}

#content > div > header > div:nth-child(2) {
  border-top: 1px solid #051033;
}

#menu-top-level-menu-primary .sub-menu {
  display: none;
}

#nav__submenu_items {
  position: absolute;
  width: 100%;
  /* 47px is topbar + hr */
  height: calc(
    (
        100dvh -
          (
            42px + var(--nav-1-container-height) + var(--nav-2-container-height) +
              var(--admin-bar-height)
          )
      ) + var(--scroll-y)
  );
}

#nav__submenu_items[inert] {
  display: none;
}

#nav__submenu_items .container {
  height: 100%;
  display: flex;
}

#nav__submenu_items .container::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(-100% + 30px);
  width: 100%;
  background-color: #f4f3ec;
}

#nav__submenu_items .container .nav__submenu_items_root {
  background-color: #f4f3ec;
  height: 100%;
  max-width: 300px;
  width: 100%;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

#nav__submenu_items .container .nav__submenu_items_root .drawer__links {
  padding-left: 0;
  padding-right: 0;
}

#nav__submenu_items .container .nav__submenu_items_root li {
  display: flex;
  column-gap: 5px;
}

#nav__submenu_items .container .nav__submenu_items_root li small {
  font-size: 10px;
  top: 2px;
  position: relative;
}

#filter-drawer .drawer__header {
  padding-bottom: 30px;
}

.drawer__body details[open] {
  padding-bottom: 10px;
}

/* Remove default triangle in all browsers */
.drawer__body details summary {
  list-style: none;
  position: relative;
  padding: 10px 0;
  display: flex;
  align-items: center;
}
.drawer__body details summary::-webkit-details-marker {
  display: none;
}
.drawer__body details summary::marker {
  display: none;
}

/* Add custom arrow (SVG) */
.drawer__body details summary::after {
  content: "";
  position: absolute;
  right: 0;
  width: 25px;
  height: 25px;
  background-image: url("/wp-content/themes/sangar_v2/assets/images/arrow-right.svg");
  background-repeat: no-repeat;
  background-size: contain;
  transition: transform 0.3s ease;
  cursor: pointer;
}

/* Rotate arrow when open */
.drawer__body details[open] summary::after {
  background-image: url("/wp-content/themes/sangar_v2/assets/images/line-horizontal.svg");
}

.noUi-target {
  background-color: #f4f3ec;
}

.noUi-horizontal .noUi-handle {
  width: 2px;
  border: unset;
  right: 0;
  background-color: #051033;
  height: 16px;
  top: 0px;
  box-shadow: unset;
}

.noUi-horizontal .noUi-handle::before,
.noUi-horizontal .noUi-handle::after {
  content: none !important; /* disables pseudo element */
}

.noUi-target {
  border: unset;
}

.noUi-connects,
.noUi-connect {
  background-color: #051033;
  height: 2px;
  top: 7px;
}

.noUi-touch-area {
  width: 30px;
  left: -15px;
  position: relative;
}

.range__values {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.noUi-target {
  padding: 0 2px;
}

.drawer__body .card__row {
  flex-wrap: wrap;
}

.drawer__body details li,
.drawer__body fieldset label {
  padding: 10px 0;
  font-size: 12px;
}

.drawer__body .filter__sorting {
  margin-top: 30px;
}

.drawer__body fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

.drawer__body .fieldset__wrapper {
  max-height: 200px;
  overflow-y: auto;
  overflow-x: hidden;
}

.drawer__body fieldset legend {
  font-weight: 400;
  margin-bottom: 0.5em;
  padding: 0;
}

.drawer__body fieldset label {
  display: flex;
  align-items: center;
  column-gap: 15px;
  position: relative;
}

.drawer__body fieldset label::before {
  width: 20px;
  height: 20px;
  content: "";
  position: absolute;
  border: 1px solid;
}

.drawer__body fieldset input[type="radio"],
.drawer__body fieldset input[type="checkbox"] {
  opacity: 0;
}

.drawer__body fieldset label:has(input:checked)::before {
  background-image: url("/wp-content/themes/sangar_v2/assets/images/check.svg");
  background-repeat: no-repeat;
  background-size: 25px;
  background-position: center;
}
.filter__btns {
  display: flex;
  justify-content: center;
  column-gap: 10px;
  padding-top: 30px;
  padding-bottom: 30px;
}
.filter__btns .btn__view {
  display: flex;
  align-items: flex-start;
  column-gap: 5px;
}

.filter__btns .btn__view[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}
.filter__btns .filtered__count:empty {
  display: none;
}
.filter__btns .filtered__count {
  font-size: 10px;
  color: #fff;
}

.filter__btns .btn {
  width: 90px;
  padding: 8px;
  font-size: 16px;
  border: 1px solid;
}

.drawer__body {
  overflow-y: auto;
}

.drawer__footer {
  justify-content: center;
  margin-top: 20px;
}

.drawer__body,
.fieldset__wrapper {
  scrollbar-width: thin; /* Firefox */
  scrollbar-color: rgba(0, 0, 0, 0.35) transparent; /* thumb + track */
}

/* Chrome, Edge, Safari, Opera */
.drawer__body::-webkit-scrollbar,
.drawer__body .fieldset__wrapper::-webkit-scrollbar {
  width: 5px;
}

.drawer__body::-webkit-scrollbar-track,
.drawer__body .fieldset__wrapper::-webkit-scrollbar-track {
  background: transparent;
}

.drawer__body::-webkit-scrollbar-thumb,
.drawer__body .fieldset__wrapper::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.35);
  border-radius: 999px;
  border: 2px solid transparent; /* spacing illusion */
  background-clip: padding-box;
}

.drawer__body::-webkit-scrollbar-thumb:hover,
.drawer__body .fieldset__wrapper::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0, 0, 0, 0.55);
}

.entry-content .woocommerce::after {
  content: "";
  display: table;
  clear: both;
}

.woocommerce-orders-table.shop_table_responsive {
  width: 100%;
}
.woocommerce-orders-table.shop_table_responsive tr th,
.woocommerce-orders-table.shop_table_responsive tr td {
  text-align: left;
  padding: 7px;
}

.woocommerce-orders-table.shop_table_responsive tr td a {
  color: #051033;
}

.woocommerce-orders-table.shop_table_responsive tr td a:hover {
  background-color: initial;
  text-decoration: underline;
}

.woocommerce-orders-table.shop_table_responsive tr td:before {
  margin-right: 10px;
}

.woocommerce-MyAccount-content .gift-card-panel-title-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.woocommerce-MyAccount-content input[type="text"],
.woocommerce-MyAccount-content input[type="email"],
.woocommerce-MyAccount-content input[type="password"],
.woocommerce-MyAccount-content input[type="tel"],
.woocommerce-MyAccount-content input[type="date"],
.woocommerce-MyAccount-content textarea,
.woocommerce-MyAccount-content select {
  width: 100%;
  padding: 10px !important;
  border: 1px solid #8a8a8a !important;
  font-size: 16px;
}

.woocommerce-MyAccount-content button:not(.show-password-input) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid #051033;
  padding: 0.6rem 1rem;
  cursor: pointer;
  background: #f4f3ec;
  color: #051033;
}
.woocommerce-MyAccount-content button:not(.show-password-input):hover {
  background: #051033;
  color: #f4f3ec;
}

.password-input {
  position: relative;
}
.show-password-input {
  background-color: transparent;
  border-radius: 0;
  border: 0;
  color: var(--wc-form-color-text, #000);
  cursor: pointer;
  font-size: inherit;
  line-height: inherit;
  margin: 0;
  padding: 0;
  position: absolute;
  right: 0.7em;
  text-decoration: none;
  top: 50%;
  transform: translateY(-50%);
  -moz-osx-font-smoothing: inherit;
  -webkit-appearance: none;
  -webkit-font-smoothing: inherit;
}

.show-password-input::before {
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M17.3 3.3C16.9 2.9 16.2 2.9 15.7 3.3L13.3 5.7C12.2437 5.3079 11.1267 5.1048 10 5.1C6.2 5.2 2.8 7.2 1 10.5C1.2 10.9 1.5 11.3 1.8 11.7C2.6 12.8 3.6 13.7 4.7 14.4L3 16.1C2.6 16.5 2.5 17.2 3 17.7C3.4 18.1 4.1 18.2 4.6 17.7L17.3 4.9C17.7 4.4 17.7 3.7 17.3 3.3ZM6.7 12.3L5.4 13.6C4.2 12.9 3.1 11.9 2.3 10.7C3.5 9 5.1 7.8 7 7.2C5.7 8.6 5.6 10.8 6.7 12.3ZM10.1 9C9.6 8.5 9.7 7.7 10.2 7.2C10.7 6.8 11.4 6.8 11.9 7.2L10.1 9ZM18.3 9.5C17.8 8.8 17.2 8.1 16.5 7.6L15.5 8.6C16.3 9.2 17 9.9 17.6 10.8C15.9 13.4 13 15 9.9 15H9.1L8.1 16C8.8 15.9 9.4 16 10 16C13.3 16 16.4 14.4 18.3 11.7C18.6 11.3 18.8 10.9 19.1 10.5C18.8 10.2 18.6 9.8 18.3 9.5ZM14 10L10 14C12.2 14 14 12.2 14 10Z" fill="%23111111"/></svg>');
  content: "";
  display: block;
  height: 22px;
  width: 22px;
}

.show-password-input:hover {
  background-color: transparent;
}

.woocommerce-mini-cart__totals {
  width: 100%;
  text-align: left;
  padding: 20px 0;
}

.woocommerce-mini-cart__totals tr td:nth-child(2) {
  text-align: right;
}

.woocommerce-mini-cart__totals .woocommerce-mini-cart__total td {
  padding-top: 15px;
}

.btn--bag {
  position: relative;
}

.btn--bag .cart__items_count {
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
}

.woocommerce-breadcrumb {
  margin: 0;
  background: #e5e5e5 !important;
  width: auto;
  display: inline-block;
  padding: 5px 10px !important;
  margin: 20px 0 0 0 !important;
  font-weight: 600;
  font-size: 14px !important;
}

.woocommerce-breadcrumb a:hover {
  text-decoration: underline !important;
}

.card {
  position: relative;
  background: #f4f3ec;
}
.card__media {
  position: relative;
  display: block;
  background: #edebe3;
}
.card__media img {
  display: block;
  width: 100%;
  height: auto;
  padding: 2px;
  aspect-ratio: 3 / 4;
  object-fit: contain;
}

.badge--pill {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #111;
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 0.4rem 0.6rem;
  font-size: 0.75rem;
  letter-spacing: 0.03em;
}

.card__actions--img {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: flex;
  gap: 10px;
}
.btn-icon {
  appearance: none;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  line-height: 1;
  cursor: pointer;
}
.btn-icon:hover {
  border-color: #111;
  background: #edebe3;
}

.card__meta {
  margin-top: 0.25rem;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  .card__meta {
    margin-top: 0.25rem;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    font-family: DM Sans;
    font-weight: 400;
    font-style: Regular;
    font-size: 14px;
    leading-trim: NONE;
    line-height: 100%;
    letter-spacing: 0%;
    vertical-align: middle;
    text-transform: uppercase;
    color: #051033;
  }
}
.swatches {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.35rem;
}
.swatches i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid #ddd;
  display: inline-block;
}

/* skeleton for loading */
.product-grid.is-loading {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.skeleton-card {
  height: 320px;
  background: linear-gradient(90deg, #eee 25%, #f5f5f5 37%, #eee 63%);
  background-size: 400% 100%;
  animation: shimmer 1.2s infinite;
}
@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.product-grid article .error-message {
  font-size: 14px;
  text-align: center;
  color: #d55249;
}

.product-grid div.card__row bdi {
  font-family: DM Sans;
  font-weight: 600;
  font-style: SemiBold;
  font-size: 18px;
  line-height: 100%;
  letter-spacing: 0%;
  vertical-align: middle;
  text-transform: uppercase;
}

.m_product__gallery {
  display: flex;
  column-gap: 10px;
  padding: 0 !important;
  --m-gallery-max-height: 600px;
  --m-gallery-item-height: calc(var(--m-gallery-max-height) / 3 - (24px / 3));
}

.m_product__gallery .woocommerce-product-gallery {
  max-width: 80%;
  max-height: var(--m-gallery-max-height);
}

.m_product__gallery .m_product__gallery_wrapper {
  width: 20%;
  max-height: var(--m-gallery-max-height);
}

.m_product__gallery .woocommerce-product-gallery__image img {
  width: 100%;
}

.m_product__gallery .slick-vertical .slick-slide {
  border: 2px solid transparent;
}

.m_product__gallery .slick-vertical .slick-slide {
  margin-bottom: 10px;
}

.m_product__gallery .m_product__gallery_wrapper img {
  aspect-ratio: 4/5;
  object-fit: contain;
  height: 100% !important;
}

.m_product__gallery .m_product__gallery_wrapper video {
  height: 100% !important;
  object-fit: cover;
}

.m_product__gallery .m_product__gallery_wrapper .m_product__gallery_item {
  height: var(--m-gallery-item-height);
}

.m_product__gallery .woocommerce-product-gallery .slick-slide,
.m_product__gallery .woocommerce-product-gallery .slick-slide img {
  max-height: var(--m-gallery-max-height);
  object-fit: contain !important;
  width: 100%;
  text-align: center;
}

.m_product__gallery .woocommerce-product-gallery .slick-slide video {
  max-height: var(--m-gallery-max-height);
  object-fit: cover;
}

.m_product__gallery .m_product__gallery_wrapper .slick-list {
  height: var(--m-gallery-max-height) !important;
}

.m_product__gallery .wpgs-for .slick-arrow.flaticon-back {
  left: 10px;
}

.m_product__gallery .wpgs-for .slick-arrow.flaticon-right-arrow {
  right: 10px;
}

.m_product__gallery
  .m_product__gallery_wrapper
  .m_product__gallery_item_active {
  border-color: #051033;
}

.m_product__content {
  padding-left: 50px !important;
}

.m_product__content .price {
  margin-top: 5px;
  font-size: 28px;
  font-weight: 600;
  line-height: 28px;
}

.m_product__content .price ins {
  text-decoration: none;
}

.m_product__content .best-price-badge,
.m_product__meta-text {
  font-size: 14px;
  background: #051033;
  padding: 2px 7px;
  color: #fff;
  font-weight: 400;
  margin-top: 5px;
  display: inline-block;
  line-height: 16px;
}

.m_product__content .best-price-badge span {
  color: #fff;
  font-weight: 600;
}

#ivpa-content .ivpa-terms {
  margin-top: 0 !important;
}
.woocommerce-variation-description {
  display: none;
}

.m_product__accordion_wrapper {
  margin-top: 30px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  row-gap: 10px;
}

.m_product__description p {
  margin-top: 5px;
  margin-bottom: 0;
}

.m_product__accordion_content {
  padding: 10px !important;
  background: #e5e5e5;
  margin-top: 10px;
}

.m_product__accordion_wrapper details summary::-webkit-details-marker,
.m_product__accordion_wrapper details summary::marker {
  display: none !important;
  content: none;
}

.m_product__accordion_wrapper details summary {
  display: inline-block;
  position: relative;
  border-bottom: 1px solid;
  padding-right: 30px;
  cursor: pointer;
}

.m_product__accordion_wrapper details summary::after {
  content: "";
  position: absolute;
  right: 0;
  width: 20px;
  height: 20px;
  top: 2px;
  background-image: url("/wp-content/themes/sangar_v2/assets/images/arrow-right.svg");
  background-repeat: no-repeat;
  background-size: contain;
  transition: transform 0.3s ease;
}

/* Rotate arrow when open */
.m_product__accordion_wrapper details[open] summary::after {
  background-image: url("/wp-content/themes/sangar_v2/assets/images/line-horizontal.svg");
}

.m_product__related {
  margin-top: 100px;
  margin-bottom: 100px;
}

.m_products__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin: 20px 0;
}

.m_products__head.w_cat {
  flex-direction: column;
  align-items: flex-start;
  row-gap: 10px;
}

.m_products__head.w_cat .tabs__wrapper {
  width: 100%;
}

.m_products__head.w_cat .shop-filter-btn {
  margin-left: auto;
}

.m_products__head .shop-filter-btn {
  font-size: 16px;
}

.m_products__head .page-title {
  margin: 0;
}

#primary {
  margin-top: 50px;
  margin-bottom: 50px;
}

.marat-cart-layout {
  display: flex;
  column-gap: clamp(50px, 10vw, 240px);
  flex-wrap: wrap;
  justify-content: center;
}

.marat-cart-layout .marat-cart-left {
  max-width: 570px;
  row-gap: 40px;
}

.marat-cart-layout > div {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.marat-cart-layout .checkout-steps {
  display: flex;
  justify-content: space-between;
  font-size: 20px;
  position: relative;
}

.marat-cart-layout .checkout-steps span {
  display: inline-block;
  background: #f4f3ec;
  z-index: 1;
  color: #8a8a8a;
}

.marat-cart-layout .checkout-steps span[data-tab] {
  cursor: pointer;
}

.marat-cart-layout .checkout-steps span:first-child {
  padding-right: 20px;
}

.marat-cart-layout .checkout-steps span:nth-child(2) {
  padding: 0 20px;
}

.marat-cart-layout .checkout-steps span:last-child {
  padding-left: 20px;
}

.marat-cart-layout .checkout-steps::before {
  content: "";
  width: 100%;
  position: absolute;
  height: 1px;
  background: #d9d9d9;
  top: 50%;
  z-index: 0;
}

.marat-cart-layout .checkout-steps span.active {
  color: #051033;
}

.marat-cart-layout button {
  width: 100%;
}

.marat-cart-layout .guest-btn,
.marat-cart-layout h3 {
  font-size: 30px;
  font-weight: 400;
}

.auth-tabs .auth-tab-buttons {
  display: flex;
  column-gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}

.auth-tabs .auth-tab-buttons button,
.auth-tabs .auth-tab-buttons .auth-tab-divider {
  margin: 0;
  padding: 0;
  color: #8a8a8a;
  font-weight: 400;
  text-align: center;
  background: initial;
  border: none;
  font-size: 30px;
  width: auto;
}

.auth-tabs .auth-tab-buttons button.active {
  color: #051033;
}

.marat-cart-layout .or-divider {
  display: flex;
  justify-content: center;
  position: relative;
}

.marat-cart-layout .or-divider::before {
  content: "";
  width: 100%;
  height: 1px;
  background: #d9d9d9;
  position: absolute;
  top: 50%;
  z-index: 0;
}

.marat-cart-layout .or-divider span {
  display: inline-block;
  background: #f4f3ec;
  padding: 0 10px;
  color: #051033;
  font-size: 20px;
  z-index: 1;
}

.auth-tabs .marat-auth-form {
  display: flex;
  flex-direction: column;
  row-gap: 20px;
}

.marat-cart-layout input[type="text"],
.marat-cart-layout input[type="email"],
.marat-cart-layout input[type="password"],
.marat-cart-layout input[type="tel"],
.auth-tabs input[type="text"],
.auth-tabs input[type="email"],
.auth-tabs input[type="password"],
.auth-tabs input[type="tel"],
.marat-cart-layout textarea,
.marat-cart-layout select {
  width: 100%;
  padding: 15px !important;
  border: 1px solid #8a8a8a !important;
  font-size: 20px;
}

.auth-tabs .marat-auth-form a {
  margin-top: -15px;
  text-decoration: underline;
}

.marat-cart-layout button {
  font-size: 30px;
}

.auth-tabs .marat-auth-form p {
  margin: 0;
}

.auth-tabs .marat-auth-form button {
  margin-top: 20px;
}

.marat-cart-layout h2 {
  margin: 0;
  font-size: 40px;
  font-weight: 400;
}

.marat-cart-layout hr {
  display: block;
  height: 1px;
  border: 0;
  background: #d9d9d9;
  margin: 0;
  padding: 0;
}

.marat-cart-layout .woocommerce-notices-wrapper:empty {
  display: none;
}

.marat-cart-layout .marat-cart-right form {
  row-gap: 30px;
  margin-top: -15px;
  display: flex;
  flex-direction: column;
}

.marat-cart-layout .marat-cart-right .cart-items {
  display: flex;
  flex-direction: column;
  row-gap: 30px;
}

.marat-cart-layout .marat-cart-right .cart-items .cart-item {
  display: flex;
  column-gap: 36px;
}

.marat-cart-layout .marat-cart-right .cart-items .cart-item .thumb {
  max-width: 150px;
}

.marat-cart-layout .marat-cart-right .cart-items .cart-item .price {
  margin-left: auto;
  font-size: 20px;
}

.marat-cart-layout .marat-cart-right .cart-items h4 {
  margin: 0;
  font-size: 20px;
  font-weight: 400;
}

.marat-cart-layout .marat-cart-right .cart-items .cart-item .info {
  display: flex;
  flex-direction: column;
  row-gap: 10px;
}

.marat-cart-layout .marat-cart-right .cart-items .cart-item .info .variation {
  margin: 0;
  display: flex;
  column-gap: 10px;
  color: #5a5a5a;
}

.marat-cart-layout .marat-cart-right .cart-items .cart-item .info .variation *,
.marat-cart-layout
  .marat-cart-right
  .cart-items
  .cart-item
  .info
  .quantity-actions {
  margin: 0;
  color: #5a5a5a;
}

.marat-cart-layout
  .marat-cart-right
  .cart-items
  .cart-item
  .info
  .variation:first-of-type {
  margin-top: auto;
}

.marat-cart-layout
  .marat-cart-right
  .cart-items
  .cart-item
  .info
  .quantity-actions {
  display: flex;
  column-gap: 20px;
}

.marat-cart-layout
  .marat-cart-right
  .cart-items
  .cart-item
  .info
  .quantity-actions
  button {
  width: auto;
  border: initial;
  background-color: initial;
  color: initial;
  padding: 0;
  font-size: 16px;
}

.marat-cart-layout
  .marat-cart-right
  .cart-items
  .cart-item
  .info
  .quantity-actions
  button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.marat-cart-layout
  .marat-cart-right
  .cart-items
  .cart-item
  .info
  .quantity-actions
  .quantity {
  margin: 0;
  border: 1px solid #051033;
}

.marat-cart-layout
  .marat-cart-right
  .cart-items
  .cart-item
  .info
  .quantity-actions
  .quantity
  input {
  padding: 0 !important;
  max-width: 30px;
}

/* Chrome, Safari, Edge, Opera */
.marat-cart-layout
  .marat-cart-right
  .cart-items
  .cart-item
  .info
  .quantity-actions
  .quantity
  input::-webkit-inner-spin-button,
.marat-cart-layout
  .marat-cart-right
  .cart-items
  .cart-item
  .info
  .quantity-actions
  .quantity
  input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
.marat-cart-layout
  .marat-cart-right
  .cart-items
  .cart-item
  .info
  .quantity-actions
  .quantity
  input {
  -moz-appearance: textfield;
}

/* Additional fallback */
.marat-cart-layout
  .marat-cart-right
  .cart-items
  .cart-item
  .info
  .quantity-actions
  .quantity
  input {
  appearance: textfield;
}

.marat-cart-layout .coupon button {
  font-size: 18px;
  margin-top: 20px;
}

.marat-cart-layout .enter-discount {
  font-size: 24px;
  text-decoration: underline;
  padding: 0;
  width: fit-content;
}

.marat-cart-layout .marat-cart-right-footer {
  display: flex;
  flex-direction: column;
  row-gap: 20px;
}

.marat-cart-layout .marat-cart-right-footer .cart-totals {
  display: flex;
  justify-content: space-between;
  font-size: 20px;
  font-weight: 400;
}

.marat-cart-layout .marat-cart-right-footer .cart-totals a {
  font-size: 14px;
  text-decoration: underline;
  display: block;
}

.wc-empty-cart-message {
  margin-top: 50px;
}

.woocommerce:has(.woocommerce-message) {
  margin-top: 20px;
}

.marat-cart-layout #tab-info .woocommerce-checkout label {
  display: none !important;
}

.marat-cart-layout
  .select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  padding: 15px !important;
  border: 1px solid #8a8a8a !important;
  font-size: 20px;
}

.marat-cart-layout
  .woocommerce-billing-fields
  .address-field
  .select2-selection__arrow,
.marat-cart-layout
  .woocommerce-shipping-fields
  .address-field
  .select2-selection__arrow {
  top: 50% !important;
  transform: translateY(-50%);
}

.marat-cart-layout #payment .place-order {
  padding: 0;
}

.marat-cart-layout #order_review {
  width: 100% !important;
}

.marat-cart-layout #order_review_heading {
  float: none !important;
}

.marat-cart-layout #order_review .shop_table {
  margin-bottom: 0;
  width: 100%;
}

table th {
  text-align: left;
  background-color: initial !important;
}

.marat-cart-layout #order_review .shop_table td {
  text-align: right;
}

.card__media .yith-wcwl-add-to-wishlist-button__label {
  display: none;
}

.product-grid > .error-message {
  grid-column: span 4;
}

.mini-coupon__note {
  font-size: 14px;
  padding: 5px;
}

.mini-coupon__note.failed {
  background: #ffd4d4;
  color: #954d4d;
}

.mini-coupon__note.success {
  background: #d4ffd6;
  color: #3b833e;
}

.widget_shopping_cart_content.loading {
  opacity: 0.5;
  pointer-events: none;
}

.woocommerce-shipping-totals .tax_label {
  display: block;
}

.m_product__content .added_to_cart {
  display: inline-block;
  padding: 5px 15px;
  margin-top: 10px;
}

.yith_wcwl_wishlist_footer
  .yith_wcwl_footer_additional_action
  input[type="submit"] {
  color: #051033;
}

.yith_wcwl_wishlist_footer
  .yith_wcwl_footer_additional_action
  input[type="submit"]:hover {
  color: #fff;
}

ul.page-numbers {
  display: flex;
  column-gap: 20px;
  justify-content: center;
  margin-top: 50px;
}

ul.page-numbers li .next,
ul.page-numbers li .prev,
ul.page-numbers li .current {
  padding: 0 7px !important;
  display: inline-block;
  border: 1px solid #051033;
}

ul.page-numbers li .next,
ul.page-numbers li .prev {
  background: #051033 !important;
  color: #fff !important;
}

body.home .page-numbers {
  display: none;
}

.ywgc-recipient-name,
.ywgc-recipient-email,
.ywgc-sender-name {
  display: flex;
  align-items: center;
}

.ywgc-message {
  display: flex;
  flex-direction: column;
  row-gap: 5px;
}

.ywgc-recipient-name label,
.ywgc-recipient-email label,
.ywgc-sender-name label,
.ywgc-message label {
  width: 75px;
  text-align: left !important;
}

.ywgc-recipient-name input[type="text"],
.ywgc-recipient-email input[type="email"],
.ywgc-sender-name input[type="text"],
.ywgc-message textarea {
  border: 1px solid #8a8a8a !important;
  padding: 5px;
  flex: 1;
  max-width: 100% !important;
}

.ywgc-message textarea {
  width: 100% !important;
}

dl.variation {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 10px;
}

dl.variation p {
  margin: 0;
  padding: 0;
}

@media (max-width: 1024px) {
  .marat-cart-layout {
    flex-direction: column;
    row-gap: 100px;
  }
  .marat-cart-layout .marat-cart-left {
    max-width: 100%;
  }
  .m_product__content {
    margin-top: 50px;
    padding: 20px !important;
  }
}

@media (max-width: 568px) {
  .m_product__gallery {
    flex-direction: column;
  }
  .m_product__gallery .woocommerce-product-gallery,
  .m_product__gallery .m_product__gallery_wrapper {
    max-width: 100%;
    width: 100%;
  }

  .m_product__gallery .m_product__gallery_wrapper {
    margin-top: 10px;
  }

  .m_product__gallery
    .m_product__gallery_wrapper
    .slick-slide:not(:last-child) {
    margin-bottom: 0;
    margin-right: 10px;
  }

  .m_product__gallery .m_product__gallery_wrapper .slick-list {
    height: auto !important;
  }
  .marat-cart-layout .checkout-steps,
  .marat-cart-layout input[type="text"],
  .marat-cart-layout input[type="email"],
  .marat-cart-layout input[type="password"],
  .marat-cart-layout input[type="tel"],
  .auth-tabs input[type="text"],
  .auth-tabs input[type="email"],
  .auth-tabs input[type="password"],
  .auth-tabs input[type="tel"],
  .marat-cart-layout .marat-cart-right .cart-items h4,
  .marat-cart-layout .marat-cart-right .cart-items .cart-item .price,
  .marat-cart-layout .marat-cart-right-footer .cart-totals {
    font-size: 16px;
  }
  .marat-cart-layout button,
  .auth-tabs .auth-tab-buttons button,
  .auth-tabs .auth-tab-buttons .auth-tab-divider,
  .marat-cart-layout button.guest-btn,
  .marat-cart-layout .guest-btn,
  .marat-cart-layout h3 {
    font-size: 20px;
  }
  .marat-cart-layout h2 {
    font-size: 30px;
  }

  body.woocommerce-checkout #main .vc_row,
  body.woocommerce-checkout #main .vc_row .vc_column-inner,
  body.woocommerce-cart #main .vc_row,
  body.woocommerce-cart #main .vc_row .vc_column-inner {
    margin: 0 !important;
    padding: 0 !important;
  }
}
