.mimi-gallery-main img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
  max-width: 920px;
  max-height: 920px;
  object-position: top;
  aspect-ratio: 1;
}

.mimi-gallery {
  display: flex;
  flex-direction: column;
  gap: 15px;
  position: sticky;
  top: 80px;
}

.mimi-gallery-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 5px;
}

.mimi-gallery-thumbs img {
  width: 100px;
  height: 100px !important;
  border-radius: 10px;
  object-fit: cover;
  cursor: pointer;
  opacity: 0.5;
  transition: 0.2s;
  object-position: top;
}

.mimi-thumb-item {
  cursor: pointer;
  flex-shrink: 0;
}

.mimi-thumb-item.active img,
.mimi-thumb-item:hover img {
  border: 2px solid #c79c7c;
  opacity: 1;
}

.mimi-main-swiper .swiper-slide a {
  display: block;
}

.mimi-main-swiper .swiper-slide img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
  max-height: 920px;
  object-position: top;
  aspect-ratio: 1;
  display: block;
}

.mimi-main-swiper {
  position: relative;
}

.gallery-prev,
.gallery-next {
  position: absolute !important;
  --swiper-navigation-color: #593e3c;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 50% !important;
  width: 36px !important;
  height: 36px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  margin-top: 0 !important;
  z-index: 10;
}

.gallery-prev {
  left: 12px !important;
}

.gallery-next {
  right: 12px !important;
}

.gallery-prev::after,
.gallery-next::after {
  font-size: 14px !important;
}

.mimi-checkbox {
  display: flex;
  align-items: end;
  gap: 10px;
  cursor: pointer;
  margin-bottom: 16px;
  user-select: none;
  padding: 0px;
}

.mimi-checkbox input[type="checkbox"] {
  display: none;
}

/* ОБОЛОНКА */
.mimi-checkbox .box {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 2px solid #c8b4ad; /* бежевий контур */
  background: transparent;
  transition: 0.2s ease;
  position: relative;
}

/* АКТИВНИЙ СТАН */
.mimi-checkbox input[type="checkbox"]:checked + .box {
  /* темно-коричневий */
  border-color: var(--brown);
}

.mimi-checkbox input[type="checkbox"]:checked + .box::after {
  content: "";
  width: 12px;
  height: 12px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
  background: var(--brown);
  border-radius: 2px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  font-size: var(--fs-14);
  color: #593e3c;
  font-weight: 600;
}

.mimi-checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  gap: 10px;
}

.summary-total {
  border-top: 1px solid #eee;
  margin-top: 20px;
  padding-top: 15px;
  font-size: var(--fs-28);
  font-weight: 700;
  color: #634a45;
  margin-bottom: 24px;
}

.mimi-add-related-bundle {
  width: 100%;
  height: 56px;
  border-radius: 50px !important;
  background: #634a45 !important;
  font-family: "Manrope";
  font-size: var(--fs-16);
  font-style: normal;
  font-weight: 600;
}

/* Ізолюємо стилі через батьківський клас .mimi-summary-card */

.mimi-summary-card .mimi-checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
  user-select: none;
  padding-left: 35px; /* Місце під чекбокс */
  min-height: 24px;
}

/* Приховуємо дефолтний інпут саме тут */
.mimi-summary-card .summary-item-check {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Наш кастомний квадрат (прозорий фон, коричневий бордер) */
.mimi-summary-card .mimi-checkbox-custom {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 22px;
  width: 22px;
  background-color: transparent !important;
  border: 1px solid #593e3c;
  border-radius: 6px;
  transition: all 0.2s ease;
}

/* Стан при виборі - фон залишається прозорим */
.mimi-summary-card .summary-item-check:checked ~ .mimi-checkbox-custom {
  background-color: transparent !important;
  border-color: #593e3c;
}

/* Сама галочка - коричнева */
.mimi-summary-card .mimi-checkbox-custom:after {
  content: "";
  position: absolute;
  display: none;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 11px;
  border: solid #593e3c; /* Коричневий колір галочки */
  border-width: 0 1px 1px 0;
  transform: rotate(45deg);
}

/* Показуємо галочку тільки коли checked */
.mimi-summary-card .summary-item-check:checked ~ .mimi-checkbox-custom:after {
  display: block;
}

.summary-top-content h3 {
  color: #593e3c;
  font-family: Manrope;
  font-size: var(--fs-16);
  font-style: normal;
  font-weight: 600;
  line-height: 140%; /* 22.4px */
}

.my-account .woocommerce-message,
.my-account .woocommerce-error {
  display: none;
}

.mimi-stars-pill img {
  background: white;
  border-radius: 50%;
  padding: 4px;
  object-fit: cover;
  width: 31px;
}

.mimi-summary-card.mobile {
  display: none;
}

/* Логіка відображення */
.mobile-only {
  display: none !important;
}
.desktop-only {
  display: block !important;
}

/* ТЕКСТ */
.mimi-checkbox .label {
  font-size: var(--fs-15);
  color: #6a5148;
}

.mimi-color-swatches {
  display: flex;
  gap: 10px;
  margin: 15px 0;
}

.mimi-swatch {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  /*border: 2px solid #ddd;*/
  cursor: pointer;
  transition: 0.2s;
  position: relative;
}
.mimi-swatch.active::after {
  content: "";
  display: block;
  position: absolute;
  width: 30px;
  height: 30px;
  border-radius: 50px;
  background: transparent;
  border: 1px solid #60443c;
  left: -5px;
  top: -5px;
}

.mimi-swatch:hover {
  transform: scale(1.1);
}

.mimi-swatch.active {
  /* border-color: #60443c; /* коричневий */
  transform: scale(1.15);
}
.product-main {
  padding-top: 20px;
  background: var(--biege);
  color: var(--brown) !important;
  display: flex;
  margin-bottom: 120px;
}

.single_variation_wrap .variations select {
  display: none !important;
}

.single_variation_wrap {
  max-width: 71%;

  display: flex;
  flex-wrap: wrap;
  row-gap: 10px;
}

.product-gallery {
  width: 45%;
}

.product-info {
  display: flex;
  flex-direction: column;
  max-width: 40%;
  align-self: flex-start;
  margin: 0 auto;
}

table.variations {
  display: none;
}

/* Hide duplicate variation price — .mimi-price-row is updated via JS instead */
.woocommerce-variation-price {
  display: none !important;
}
.woocommerce-variation-description {
  display: none !important;
}

.woocommerce-variation-add-to-cart {
  display: flex;
  flex-direction: row-reverse;
}

.mimi-title-row,
.mimi-meta-row,
.mimi-cart-row,
.single_variation_wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mimi-title-row {
  margin-top: 24px;
  margin-bottom: 10px;
}

.product_title {
  font-size: var(--fs-40);
  font-family: "Circe";
  font-size: var(--fs-40);
  font-style: normal;
  font-weight: 400;
  line-height: 120%; /* 48px */
  letter-spacing: -0.8px;
}

.mimi-meta-row {
  font-size: var(--fs-14);
  font-weight: 600;
}

.mimi-full-desc p {
  font-size: var(--fs-16);
  margin: 32px 0;
}

.mimi-size-wrapper {
  margin-bottom: 32px;
  position: relative;
}

.mimi-attr-title {
  font-size: var(--fs-16);
  font-weight: 600;
}

.mimi-size-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
  max-width: 65%;
}

.mimi-size-btn {
  width: fit-content;
  padding: 16px;
  font-size: var(--fs-14);
  background: white;
  border-radius: 8px;
  border: none;
  color: var(--brown);
}

.product-main .mimi-size-table-link {
  position: absolute;
  top: 50%;
  right: 0;
  font-size: var(--fs-16);
  padding-bottom: 4px;
  font-weight: 500;
  border-bottom: 1px solid var(--brown);
}

.product-main .woocommerce-Price-amount {
  font-size: var(--fs-40);
  font-family: "Circe";
  color: var(--brown) !important;
  font-style: normal;
  font-weight: 400;
  line-height: 120%; /* 48px */
  letter-spacing: -0.8px;
}

.price {
  display: flex;
  align-items: center;
  justify-content: start;
  margin-right: 20px;
}

.price del {
  opacity: 0.5;

  margin-left: 5px;
  position: relative;
  display: inline-flex;
}
.price del bdi {
  font-size: var(--fs-14);
  text-decoration: line-through;
}

.product-main .price del {
  text-decoration: line-through !important;
  opacity: 0.5 !important;

  margin-left: 24px !important;
  position: relative !important;
}

.product-main .price del bdi {
  font-size: var(--fs-24);
  text-decoration: none;
  color: var(--brown);
  font-style: normal;
  font-weight: 400;
  line-height: 120%; /* 28.8px */
  letter-spacing: -0.48px;
  text-decoration-line: line-through;
}

/* .product-main .price del::after {
  position: absolute !important;
  content: "" !important;
  display: block !important;
  width: 100% !important;
  height: 2px !important;
  background: var(--brown) !important;
  top: 60% !important;
} */

.single_add_to_cart_button {
  white-space: nowrap !important;
  padding: 22px 40px !important;
  display: block !important;
  background: var(--brown) !important;
  border-radius: 100px !important;
  font-size: var(--fs-16) !important;
  color: white !important;
  transition: background 0.3s ease;
  border: none !important;
}

.single_add_to_cart_button:hover {
  background: var(--brightBrown) !important;
}

.mimi-cart-row {
  margin-top: 32px;
  width: 100%;
}

.product-main .socials span {
  opacity: 0.48;
  white-space: nowrap;
  margin-right: 16px;
}

.product-main .socials {
  align-items: center;
}

.mimi-info-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: white;
  border-radius: 16px;
  padding: 24px 0;
  margin: 32px 0;
}

.mimi-info-box {
  padding: 0 24px;
  font-size: var(--fs-14);
  display: flex;
  flex-direction: column;
  gap: 13px;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.mimi-info-box span {
  max-width: 162px;
  max-height: 40px;
}
.mimi-info-box .mobile {
  display: none;
}

/*модалка*/
.mimi-modal {
  display: none; /* Сховано за замовчуванням */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  align-items: center;
  justify-content: center;
}
/* Коли JS робить display:block, додаємо flex для центрування */
.mimi-modal.active {
  display: flex;
}

.mimi-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
}

.mimi-modal-content {
  position: relative;
  background: #fff;
  padding: 30px;
  width: 90%;
  max-width: 400px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  text-align: center;
  z-index: 2;
  color: var(--brown);
}

.mimi-modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: var(--fs-28);
  cursor: pointer;
  line-height: 1;
  color: #333;
}

.mimi-sizes-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 15px;
}

.mimi-wish-size {
  border: 1px solid #ddd;
  background: #fff;
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: var(--fs-14);
  min-width: 50px;
  transition: all 0.2s;
}
.mimi-wish-size:hover {
  border-color: #000;
  background: #f5f5f5;
}
.mimi-wish-size.loading {
  opacity: 0.6;
  pointer-events: none;
}

.mimi-capsule-card-main {
  display: flex;
}

.mimi-capsule-card-img {
  max-width: 94px;
  background: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.mimi-capsule-card-img img {
  object-fit: cover;
  height: 100%;
  min-width: 100%;
}

.mimi-capsule-card-content {
  border-radius: 0 8px 8px 0;
  background: white;
  padding: 12px;
  width: 100%;
}
.mimi-capsule-card-header {
  display: flex;
  justify-content: space-between;
  /* margin-bottom: 24px; */
}

.mimi-capsule-attributes {
  display: flex;
}
.mimi-capsule-price {
  display: flex;
  gap: 10px;
}

.mimi-capsule-sizes {
  max-width: 85%;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.mimi-capsule-price bdi {
  font-size: var(--fs-14);
}

.mimi-capsule-price .woocommerce-Price-amount {
  display: flex;
}
.mimi-capsule-list-v3 {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0 0 0;
}

/* Приховуємо стандартний вхід, але залишаємо доступність */
.capsule-check-input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Малюємо власну рамку */
.capsule-card-left {
  position: relative;
  padding-left: 35px; /* Місце під чекбокс */
  cursor: pointer;
  user-select: none;
}

.mimi-checkbox-custom {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 24px;
  width: 24px;
  background-color: transparent; /* Прозорий фон */
  border: 1px solid #593e3c; /* Твій коричневий бордер */
  border-radius: 6px;
  transition: all 0.2s ease;
}

/* Стан, коли чекбокс активний (checked) */
.capsule-check-input:checked ~ .mimi-checkbox-custom {
  background-color: transparent; /* Залишаємо прозорим */
  border-color: #593e3c;
}

/* Малюємо саму галочку всередині */
.mimi-checkbox-custom:after {
  content: "";
  position: absolute;
  display: none;
  left: 7px;
  top: 3px;
  width: 6px;
  height: 11px;
  border: solid #593e3c; /* Колір самої галочки */
  border-width: 0 1px 1px 0;
  transform: rotate(45deg);
}

/* Показуємо галочку при виборі */
.capsule-check-input:checked ~ .mimi-checkbox-custom:after {
  display: block;
}

/* Базовий стиль кнопки розміру */

.capsule-attr-btn {
  background: transparent;
  border: 1px solid transparent;
  color: #593e3c;
  font-size: var(--fs-13);
  font-weight: 500;
  padding: 3px 2px;
  min-width: 33px;
  height: 26px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Стан при наведенні або коли розмір вибрано */
.capsule-attr-btn:hover,
.capsule-attr-btn.active {
  border-color: #593e3c; /* Коричнева рамка з'являється при активності */
}

/* Додатково: якщо хочеш прибрати стандартні обводки браузера */
.capsule-attr-btn:focus {
  outline: none;
}

/* Спільний стиль для ціни всюди (і в бандлах, і в простих) */
.mimi-price-row .price,
.capsule-final-price {
  font-size: var(--fs-32);
  font-weight: 700;
  color: #593e3c; /* var(--brown) */
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Спільний стиль для головної кнопки "Додати в кошик" */
.mimi-cart-row button.button,
#mimi-add-capsule-btn {
  background-color: #593e3c !important;
  color: #fff !important;
  border-radius: 100px; /* Повністю закруглена як на макеті */
  padding: 15px 40px;
  font-size: var(--fs-16);
  font-weight: 600;
  border: none;
  transition: 0.3s;
  cursor: pointer;
}

.mimi-cart-row button.button:hover,
#mimi-add-capsule-btn:hover {
  opacity: 0.9;
}

.mimi-qty-wrap {
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border-radius: 100px;
  border: 1px solid rgba(89, 62, 60, 0.42);
}

.mimi-qty-wrap button {
  width: 30px;
  height: 30px;
  border: none;
  background: var(--biege);
  cursor: pointer;
}

.mimi-qty-wrap input {
  width: 23px;
  border: none;
  text-align: center;
  font-size: var(--fs-16);
  font-weight: bold;
  -moz-appearance: textfield;
  background: transparent;
  color: var(--brown);
}

.mimi-capsule-actions {
  display: flex;
  gap: 25px;
  margin-top: 32px;
}
/* Кнопка "Додати в кошик" */
#mimi-add-capsule-btn,
.single_add_to_cart_button {
  background: #593e3c !important;
  color: #fff !important;
  border-radius: 100px !important; /* Форма пігулки */
  height: 54px;
  padding: 0 40px !important;
  font-weight: 600;
  border: none;
}

/* Блок вибору кількості */
.mimi-qty-wrap,
.quantity {
  display: flex;
  align-items: center;
  border: 1px solid #593e3c;
  border-radius: 100px; /* Така ж форма як у кнопки */
  height: 54px;
  padding: 0 15px;
  background: transparent;
}

.mimi-qty-wrap input,
.quantity input.qty {
  width: 22px;
  text-align: center;
  border: none !important;
  background: transparent;
  color: #593e3c;
  font-weight: 600;
}

.mimi-qty-wrap button,
.mimi-qty-btn {
  background: none;
  border: none;
  color: #593e3c;
  font-size: var(--fs-20);
  cursor: pointer;
  padding: 0 10px;
}

/* Приховуємо стрілочки для Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Приховуємо стрілочки для Firefox */
input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product p.price,
.woocommerce:where(body:not(.woocommerce-uses-block-theme))
  div.product
  span.price {
  color: var(--brown) !important ;
  font-size: initial !important;
}

.mimi-ci__meta {
  color: var(--brown);
}

.mimi-capsule-total-price {
  font-size: var(--fs-40);
  font-family: "Circe";
  color: var(--brown) !important;
  margin-top: 16px;
}

.mimi-summary-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.05);
}

.mimi-swatch {
  border: 1px solid transparent;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  cursor: pointer;
}

.mimi-swatch.active {
  /*border-color: #5b3a2e;*/
}

.mimi-sku {
  color: #593e3c;
  opacity: 0.5;
}

.mimi-stock.in-stock {
  color: #593e3c; /* або твій стандартний */
  opacity: 1;
}

/* Немає в наявності */
.mimi-stock.out-of-stock {
  color: #593e3c !important;
  opacity: 0.48;
}

.woocommerce div.product p.price ins,
.woocommerce div.product span.price ins {
  background: inherit;
  font-weight: 300;
  display: inline-block;
}

.mimi-selection-zone {
  position: relative;
}

.mimi-cart-row form.cart {
  margin-bottom: 0px !important;
}
.mimi-selection-zone form.cart {
  margin-bottom: 0px !important;
}

.mimi-global-product-info {
  margin-top: 32px;
}
.mimi-product-bonus {
  display: flex;
  gap: 7px;
  align-items: center;
  position: absolute;
  right: 0;
  bottom: 6px;
}

.mimi-product-bonus img {
  background: white;
  border-radius: 50%;
  padding: 9px;
}

.mimi-product-bonus a {
  font-size: var(--fs-16);
  text-decoration: underline;
  color: var(--brown);
  max-width: 150px;
  font-weight: 600;
  line-height: 140%;
}

.copy-toast {
  position: fixed;
  bottom: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #593e3c;
  color: #fff;
  padding: 10px 18px;
  border-radius: 30px;
  font-size: var(--fs-14);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition: all 0.3s ease;
  z-index: 100;
}

.copy-toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mimi-size-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.mimi-size-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mimi-size-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.mimi-size-content {
  position: relative;
  background: #fff;
  padding: 24px;
  max-width: 95%;
  max-height: 90%;
  overflow: auto;
  border-radius: 20px;
  z-index: 2;
}

.mimi-size-content img {
  max-width: 100%;
  height: auto;
  display: block;
}

.mimi-size-close {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: var(--fs-24);
  background: none;
  border: none;
  cursor: pointer;
}

.color-dot {
  -webkit-appearance: none; /* НЕ unset */
  appearance: none;

  width: 12px;
  height: 12px;
  min-width: 12px;
  max-width: 12px;

  padding: 0;
  border: 0;
  border-radius: 50%;

  display: block; /* ключ */
  flex: 0 0 12px; /* ключ */
  aspect-ratio: 1 / 1; /* 🔥 фикс iOS 17 */

  position: relative;
  cursor: pointer;

  box-sizing: border-box;
}

.color-dot:hover {
  opacity: 0.6;
}
.mimi-capsule-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.mimi-capsule-price {
  text-align: right;
  font-weight: 600;
  font-size: var(--fs-16);
  white-space: nowrap;
}

.mimi-capsule-price .old-price {
  text-decoration: line-through;
  opacity: 0.5;
  margin-right: 6px;
  font-weight: 400;
}

.mimi-capsule-attr-row .attr-label {
  color: #593e3c;
  font-family: Manrope;
  font-size: var(--fs-14);
  font-style: normal;
  font-weight: 300;
  line-height: 140%; /* 19.6px */
  margin-bottom: 7px;
}
/* .complete-look-wrapper,
.upsells-wrapper {
  color: var(--brown);
  padding-top: 140px;
} */
/* .mimi-moments-wrapper {
  padding-top: 140px;
} */

.complete-look-wrapper h2,
.upsells-wrapper h2,
.mimi-moments-wrapper h2,
.recent-products-wrapper h2,
.complete-look-wrapper h2,
.upsells-wrapper h2,
.recent-products-wrapper h2 {
  color: #593e3c;
  font-family: Circe;
  font-size: var(--fs-40);
  font-style: normal;
  font-weight: 400;
  line-height: 120%; /* 48px */
  letter-spacing: -0.8px;
}
.related-swiper {
  width: 80%;
  margin-left: 0px;
}
.related-header-row {
  display: flex;
  justify-content: space-between;
}
.related-header-row,
.mimi-moments-wrapper h2,
.recent-header-row,
.upsells-header-row {
  margin-bottom: 40px;
}

.complete-look-wrapper,
.mimi-moments-wrapper,
.psells-wrapper,
.recent-products-wrapper,
.upsells-wrapper {
  margin-bottom: 160px;
}

.catalog-item-bottom .price span bdi {
  display: flex;
}
/* Десктопна картка в слайдері */
.mimi-summary-card.in-swiper {
  height: 100%;
  background: #f9f9f9; /* легкий фон, щоб виділити */
  border-radius: 16px;
}
.swiper-navigation-controls {
  height: 100%;
  display: flex;
}

.recent-header-row .swiper-button-next,
.recent-header-row .swiper-button-prev,
.upsell-prev,
.related-prev,
.upsell-next,
.related-next {
  background: white;
  /* position: static; */
  margin-top: 0px;
}
.mimi-moments-list {
  display: flex;
  gap: 20px;
  justify-content: space-between;
}
.mimi-moments-list {
  display: flex;
  gap: 20px;
}

.mimi-moments-item {
  width: 19%;
  /* min-height: 640px; */
  border-radius: 16px;
}

.mimi-moments-centre {
  background: var(--brightBrown);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  text-align: center;
  padding: 0 27px;
}

.mimi-moments-centre p {
  font-size: var(--fs-24);
  font-family: "Circe";
}

.mimi-moments-centre img {
  width: 79px;
  height: 78px;
}

.mimi-moments-centre a {
  background: white;
  border-radius: 100px;
  font-size: var(--fs-16);
  color: black;
  padding: 22px 40px;
  color: var(--brown);
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

.mimi-moments-centre a:hover,
.mimi-moments-centre a:active {
  background: var(--brown);
  color: white;
}

.mimi-moments-wrapper h2 {
  text-align: center;
  color: var(--brown);
}

.swiper-slide .sumary-absolute {
  max-width: 326px;
}

.complete-look-wrapper {
  position: relative;
}

.sumary-absolute {
  position: absolute;
  top: 0px;
  /* overflow: visible; */
  z-index: 2;
  right: 20px;
  height: calc(100% - 94px);
  width: calc(19% - 16px);
  margin-top: 94px;
}
.summary-card-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* max-height: calc(100% - 160px); */
}
.recent-swiper .swiper-slide .product,
.recent-swiper .swiper-slide .product-card,
.recent-swiper .swiper-slide li {
  width: 100%;
  height: 100%;
}
.summary-top-content {
  overflow: hidden;
}
.summary-items-list {
  margin-top: 24px;
  height: 90%;
  overflow-y: scroll;
  padding-right: 4px;
  margin-right: -4px;
}
/* --------------------------------------------------------------------------------------------------------1470px*/
@media (max-width: 1470px) {
  .product_title {
    font-size: var(--fs-28);
  }
  .product-main .woocommerce-Price-amount {
    font-size: var(--fs-28);
  }
  .product-main .woocommerce-Price-amount {
    font-size: var(--fs-28);
  }
  .mimi-capsule-total-price {
    font-size: var(--fs-28);
  }

  .product-main .price del bdi {
    font-size: var(--fs-18);
  }
  .complete-look-wrapper h2,
  .upsells-wrapper h2,
  .recent-products-wrapper h2 {
    font-size: var(--fs-28);
  }

  .mimi-moments-wrapper h2 {
    margin-bottom: 28px;
    font-size: var(--fs-24);
  }
  .mimi-moments-item {
    max-height: 470px;
  }

  .mimi-moments-centre p {
    font-size: var(--fs-18);
  }

  .mimi-moments-centre a {
    font-size: var(--fs-14);
    padding: 19px 32px;
  }
  .related-header-row,
  .mimi-moments-wrapper h2,
  .recent-header-row,
  .upsells-header-row {
    margin-bottom: 24px;
  }
  .complete-look-wrapper,
  .mimi-moments-wrapper,
  .psells-wrapper,
  .recent-products-wrapper,
  .upsells-wrapper {
    margin-bottom: 120px;
  }
  .recent-header-row .swiper-button-prev {
    background-color: #fff;
    margin-top: 0px;
  }
  .recent-header-row .swiper-button-next,
  .recent-header-row .swiper-button-prev,
  .upsell-prev,
  .related-prev,
  .upsell-next,
  .related-next {
    height: 48px !important;
    width: 48px !important;
    margin-top: 0px;
  }
  .summary-card-inner h3 {
    font-size: var(--fs-14) !important;
  }
  .sumary-absolute {
    height: calc(100% - 70px);

    margin-top: 70px;
  }
  .mimi-summary-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 16px;
  }
  .mimi-summary-card .mimi-checkbox-label {
    padding-left: 28px;
    max-width: 147px;
  }

  .product-info {
    max-width: 43%;
  }
  .mimi-add-related-bundle {
    font-size: var(--fs-14) !important;
  }
}

/* --------------------------------------------------------------------------------------------------------1025px*/
@media (max-width: 1024px) {
  .product_title {
    font-size: var(--fs-24);
  }

  .product-info {
    max-width: 45%;
  }

  .product-main .woocommerce-Price-amount {
    font-size: var(--fs-24);
  }
  .mimi-capsule-total-price {
    font-size: var(--fs-24);
  }
  .mimi-meta-row {
    font-size: var(--fs-12);
  }
  .mimi-full-desc p {
    font-size: var(--fs-12);
  }
  .mimi-attr-title {
    font-size: var(--fs-14);
  }
  .single_add_to_cart_button {
    padding: 19px 32px !important;

    font-size: var(--fs-16) !important;
  }
  .mimi-product-bonus {
    bottom: 78px;
  }
  .mimi-product-bonus span {
    font-size: var(--fs-12);
  }
  .mimi-product-bonus img {
    padding: 6px;
  }
  .mimi-links-row a {
    font-size: var(--fs-14);
    text-align: center;
    display: flex;
    align-items: flex-end;
  }
  .mimi-links-row {
    gap: 9px;
  }
  .mimi-capsule-card-header .mimi-capsule-name {
    font-size: var(--fs-14);
  }
  .mimi-capsule-attr-row .attr-label {
    font-size: var(--fs-10);
  }
  .quantity,
  .mimi-qty-wrap {
    height: 48px;
  }
  .mimi-qty-btn {
    font-size: var(--fs-14) !important;
  }
  .mimi-qty-wrap input.capsule-qty-visible {
    font-size: var(--fs-14);
    font-weight: 500;
  }
  .quantity input.qty {
    font-size: var(--fs-14);
    font-weight: 500;
  }

  .single_add_to_cart_button {
    padding: 0px 32px !important;
    height: 48px;
    font-size: var(--fs-14) !important;
  }
  .complete-look-wrapper h2,
  .upsells-wrapper h2,
  .recent-products-wrapper h2 {
    font-size: var(--fs-24);
  }

  .mimi-moments-wrapper h2 {
    margin-bottom: 24px;
    font-size: var(--fs-24);
  }

  .woocommerce div.product p.price ins,
  .woocommerce div.product span.price ins {
    background: inherit;
    font-weight: 300;
    display: inline-block;
    font-size: var(--fs-12);
    text-decoration: none;
  }

  .price del bdi {
    font-size: var(--fs-12);
    text-decoration: line-through;
  }
  .catalog-item-bottom .price span {
    font-size: var(--fs-12);
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
  }

  .complete-look-wrapper h2,
  .upsells-wrapper h2,
  .recent-products-wrapper h2 {
    font-size: var(--fs-24);
    margin-bottom: 0px;
  }

  .product-main {
    margin-bottom: 80px;
  }
  .related-header-row,
  .mimi-moments-wrapper h2,
  .recent-header-row,
  .upsells-header-row {
    margin-bottom: 16px;
  }
  .complete-look-wrapper,
  .mimi-moments-wrapper,
  .psells-wrapper,
  .recent-products-wrapper,
  .upsells-wrapper {
    margin-bottom: 80px;
  }
  .mimi-size-options {
    max-width: none;
    width: 100%;
  }
  .product-main .mimi-size-table-link {
    position: static;
    font-size: var(--fs-14);
  }
  .mimi-checkbox-custom:after {
    top: 2px;
    left: calc(50% - 3px);
  }
  .mimi-moments-centre p {
    font-size: var(--fs-14);
    max-width: 136px;
  }
  .mimi-moments-list {
    gap: 10px;
  }

  .mimi-moments-item {
    min-height: 324px;
    max-height: 342px;
    object-fit: cover;
    width: auto;
    min-width: 19%;
  }

  .mimi-moments-centre {
    padding: 7px;
    gap: 13px;
  }

  .mimi-moments-centre img {
    width: 64px;
    height: 59px;
  }
  .mimi-moments-centre a {
    font-size: var(--fs-14);
    padding: 19px 27px;
  }

  /* Сітка товарів на мобільці */
  .mimi-mobile-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
    list-style: none;
    padding: 0;
  }
  .mimi-mobile-grid li.product {
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
  }

  /* Картка під списком */
  .mimi-summary-card.mobile-bottom {
    width: 100%;
    margin-top: 20px;
    display: block;
  }
  .product-main .socials span {
    margin-right: 12px;
  }
  .mimi-info-box {
    width: 100%;
    padding: 0 12px;
  }
  .mimi-info-box img {
    max-width: 20px;
    max-height: 18px;
  }

  .mimi-summary-card {
    border-radius: 12px;
    padding: 10px;
  }
  .summary-top-content h3 {
    font-size: var(--fs-12);

    font-weight: 600;
    line-height: 130%;
  }
  .summary-row {
    font-size: var(--fs-10);
  }
  .mimi-summary-card .mimi-checkbox-label {
    padding-left: 27px;
  }
  .mimi-summary-card.in-swiper {
    border-radius: 12px;
  }
  .summary-items-list {
    margin-top: 0px;
  }
  .summary-total {
    border-top: 1px solid #eee;
    margin-top: 0px;
    padding-top: 10px;
    font-size: var(--fs-16);
    font-weight: 700;
    color: #634a45;
  }
  .summary-items-list {
    max-height: 200px;
  }
  .mimi-summary-card .mimi-checkbox-label {
    min-height: 20px;
    max-width: 115px;
  }
  .sumary-absolute {
    height: calc(100% - 64px);
    width: calc(20% - 20px);
    margin-top: 64px;
  }
  .mimi-summary-card .mimi-checkbox-custom {
    height: 20px;
    width: 20px;

    border-radius: 4px;
  }
  .mimi-summary-card .mimi-checkbox-custom:after {
    left: 7px;
    top: 2px;
    width: 5px;
    height: 10px;
  }
}
/* --------------------------------------------------------------------------------------------------------769px*/

@media (max-width: 768px) {
  .mimi-info-box .desktop {
    display: none;
  }
  .mimi-info-box .mobile {
    display: block;
  }

  /* .mimi-stock {
    color: #bfb1af;
  } */

  .mimi-links-row a {
    font-size: var(--fs-12);
  }

  .mimi-links-row {
    justify-content: center;
    margin-bottom: 24px;
  }

  .product-main .woocommerce-breadcrumb {
    margin-bottom: 25px;
    margin-right: auto;
  }

  .socials a svg {
    width: 48px;
    height: 48px;
    display: block;
  }
  .product-main {
    margin-bottom: 60px !important;
  }

  .mimi-gallery {
    display: flex;
    flex-direction: column;
  }

  .product-gallery {
    width: 100%;
  }
  .product-info {
    display: flex;
    flex-direction: column;
    width: 100%;
    /* margin: 0px; */
    max-width: none;
  }

  .mimi-size-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .product-main .mimi-size-table-link {
    position: relative;
    width: fit-content;
  }

  .mimi-moments-list {
    overflow-x: auto;
    gap: 10px;
    margin: 0 auto;
    justify-content: center;
  }

  .mimi-moments-item {
    width: 95%;
    min-width: 200px;
  }

  .mimi-moments-centre {
    min-width: 308px;
  }

  .product-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 50px !important;
  }

  .product-main .woocommerce-breadcrumb {
    position: absolute;
    top: 20px;
  }
  .mimi-moments-centre {
    min-width: 200px;
  }
  .mimi-mobile-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .mimi-gallery {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }
  .mimi-gallery-thumbs {
    flex-direction: column;
  }
  .mimi-gallery-main {
    width: 80%;
  }
  .mimi-gallery-thumbs {
    width: 15%;
  }
  /* .desktop-only {
    display: none !important;
  }
  .mobile-only {
    display: block !important;
  } */

  .sumary-absolute {
    height: calc(100% - 77px);
    width: calc(50% - 57px);
    margin-top: 77px;
  }
  .related-swiper {
    width: 54%;
    margin-left: 0px;
  }
  .summary-items-list {
    padding-right: 15px;
    margin-right: -1px;
  }
  .summary-row {
    font-size: var(--fs-12);
  }
  .mimi-summary-card .mimi-checkbox-label {
    max-width: 80%;
  }
  .mimi-product-bonus span {
    max-width: 83px;
  }
}
/* --------------------------------------------------------------------------------------------------------600px*/

@media (max-width: 600px) {
  .sumary-absolute {
    height: 335px;
    width: 100%;
    margin-top: 0px;
    position: static;
  }
  .related-swiper {
    width: 100%;
    margin: 0 0 10px 0;
  }
  .mimi-gallery {
    padding-top: 20px;
  }
}

/* --------------------------------------------------------------------------------------------------------425px*/

@media (max-width: 425px) {
  .mimi-gallery {
    flex-direction: column;
    width: 100%;
    padding-top: 10px;
  }
  .product-main {
    margin-bottom: 80px !important;
  }
  .mimi-gallery-thumbs {
    display: none;
  }
  .mimi-gallery-main {
    width: 100%;
  }
  .mimi-gallery-main img {
    min-height: 472px;
    width: 100%;
  }
  .mimi-full-desc p {
    font-size: var(--fs-14);
    margin: 24px 0;
  }
  .mimi-attr-title {
    font-size: var(--fs-14);
    margin-bottom: 15px;
    width: 100%;
  }
  .mimi-size-wrapper {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .mimi-color-swatches {
    margin: 0px 0px 15px 0px;
  }
  .mimi-size-options {
    margin-top: 0px;
  }
  .mimi-size-wrapper {
    gap: 0px;
  }
  .mimi-product-bonus span {
    font-size: var(--fs-12);
    max-width: 92px;
  }
  .product-main .socials span {
    font-size: var(--fs-12);
  }
  .mimi-info-box {
    padding: 0 10px;
  }
  .mimi-mobile-grid {
    grid-template-columns: 1fr 1fr;
  }
  .sumary-absolute {
    height: 335px;
    width: 100%;
    margin-top: 0px;
    position: static;
  }
  .related-swiper {
    width: 100%;
    margin: 0 0 10px 0;
  }
  .product-main {
    margin-bottom: 40px !important;
  }
  .complete-look-wrapper,
  .mimi-moments-wrapper,
  .psells-wrapper,
  .recent-products-wrapper,
  .upsells-wrapper {
    margin-bottom: 60px;
  }

  .mimi-gallery-main {
    width: 100%;
  }
  .mimi-gallery-thumbs {
    display: none;
  }
  .product-main .price del {
    margin-left: 0px !important;
  }
}
