.store-icon-link {
  position: relative;
  display: inline-flex;
}

.store-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--accent-color, #7A8F5A);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  align-items: center;
  justify-content: center;
  display: none;
}

.store-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(20px);
  background: #111;
  color: #fff;
  padding: 12px 18px;
  border-radius: 6px;
  font-size: 14px;
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.store-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.cart-empty-state,
.checkout-empty {
  padding: 40px 20px;
  text-align: center;
}

.cart-empty-state p,
.checkout-empty p {
  margin-bottom: 18px;
  font-size: 18px;
}

.cart-remove-btn {
  border: 0;
  background: transparent;
  color: #888;
  font-size: 13px;
  padding: 0;
  margin-top: 6px;
  text-decoration: underline;
  cursor: pointer;
}

.cart-remove-btn:hover {
  color: #111;
}

.cart-item-title a {
  color: inherit;
  text-decoration: none;
}

.cart-item-title a:hover {
  text-decoration: underline;
}

.navbar-brand img,
.footer-logo img {
  border-radius: 0;
}

.navbar-brand img {
  background: #fff;
}

.footer-logo img {
  background: transparent;
}

.navbar-brand img {
  max-width: 156px;
  width: auto;
  height: auto;
}

.product-item-price,
.product-offer-item-body-content,
.best-offer-save-tag,
.product-item-rating,
.product-item-action,
.testimonial-item-rating,
.flat-discount-body,
.product-category-result-pagination,
.qty-box,
.product-single-action {
  display: none !important;
}

.migo-meta {
  margin: 6px 0 0;
  padding: 0;
  font-size: 13px;
  line-height: 1.35;
  color: #777;
  text-align: left;
}

.product-item-content .migo-meta {
  margin-top: 4px;
}

.product-item-image img,
.best-offer-item-image img,
.product-single-image-slider .swiper-slide figure img,
.product-single-image-item .swiper-slide figure img,
.migo-gallery-item img,
.story-item-video img,
.vision-mission-item-image img,
.approach-item-image img,
.team-item-image img,
.trending-product-item-image img,
.arrivals-item-image img,
.best-seller-item-image img {
  object-fit: contain;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-sizing: border-box;
}

.category-item-image img {
  object-fit: contain;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-sizing: border-box;
}

.category-item-image img.migo-category-fit {
  width: 72%;
  height: 72%;
  margin: 14%;
  padding: 0;
  border: none;
  border-radius: 0;
  object-fit: contain;
}

/* Program circles: Enterijer / Industrial — nearly fill the circle */
.category-item-image img.migo-cat-scale-md {
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: contain;
  border: none;
  padding: 0;
  transform: scale(1.06);
  transform-origin: center;
}

/* Program circles: Garniture / Lounge — edge to edge + zoom */
.category-item-image img.migo-cat-scale-lg {
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: contain;
  border: none;
  padding: 0;
  transform: scale(1.14);
  transform-origin: center;
}

/* Ležaljke — a bit more zoom than lounge */
.category-item-image img.migo-cat-scale-xl {
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: contain;
  border: none;
  padding: 0;
  transform: scale(1.22);
  transform-origin: center;
}

.category-item-image figure:has(.migo-cat-scale-md),
.category-item-image figure:has(.migo-cat-scale-lg),
.category-item-image figure:has(.migo-cat-scale-xl) {
  overflow: hidden;
}

.category-item-image img.migo-category-fit.migo-cat-scale-md {
  width: 100%;
  height: 100%;
  margin: 0;
  transform: scale(1.06);
  transform-origin: center;
}

.category-item-image img.migo-category-fit.migo-cat-scale-lg {
  width: 100%;
  height: 100%;
  margin: 0;
  transform: scale(1.14);
  transform-origin: center;
}

.category-item-image img.migo-category-fit.migo-cat-scale-xl {
  width: 100%;
  height: 100%;
  margin: 0;
  transform: scale(1.22);
  transform-origin: center;
}

.category-item-image figure:has(.migo-category-fill) {
  position: relative;
  isolation: isolate;
  background: transparent;
}

.category-item-image img.migo-category-fill {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: blur(10px);
  transform: scale(1.2);
  border: none;
  background: transparent;
  pointer-events: none;
}

.category-item-image figure.migo-circle-white {
  background: #fff !important;
}

.category-item-image figure.migo-circle-white img {
  background: #fff;
  border: none;
  object-fit: contain;
  object-position: center;
  padding: 8%;
}

.migo-usage-boxes img.migo-usage-kucni {
  object-fit: cover;
  object-position: 48% 58%;
  background: #1a1a1a;
  transform: scale(1.35);
  transform-origin: 48% 58%;
}

.migo-usage-boxes img.migo-usage-lampe {
  object-fit: contain;
  object-position: center;
  background: #fff;
  padding: 8%;
}

.migo-usage-boxes .migo-usage-contain img {
  object-fit: contain;
  object-position: center;
  padding: 8px;
  background: #fff;
}

.category-item-image img.migo-cover-photo {
  position: relative;
  object-fit: contain;
  object-position: center;
  background: transparent;
}

.offer-item-image img,
.migo-cover-photo img,
.migo-salon-item img {
  object-fit: cover;
  background: transparent;
  border: none;
}

.migo-salon-item img {
  height: auto;
}

.migo-usage-boxes .trending-product-item-image img {
  object-fit: cover;
  background: transparent;
  border: none;
}

.migo-usage-boxes .trending-product-item-image img.migo-usage-lampe {
  object-fit: contain;
  object-position: center;
  background: #fff;
  padding: 8%;
  border: none;
}

.our-best-seller .best-seller-item-image img,
.migo-collections .arrivals-item.highlighted-item .arrivals-item-image img,
.testimonials-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: transparent;
  border: none;
}

.our-best-seller .best-seller-item.highlighted-item .best-seller-item-image img {
  object-position: top center;
}

.offer-item-list .offer-item:first-child .offer-item-image img,
.migo-offer-horeca .offer-item-image img {
  object-position: center 22%;
}

/* Keep normal mouse visible; theme magic cursor was hiding it on hover */
.cb-cursor {
  display: none !important;
}

a[data-cursor-text],
figure,
.category-item-link,
.offer-item,
.arrivals-item-image a,
.best-seller-item-image a,
.trending-product-item-image a,
.story-item .story-item-video a,
.intro-video-circle a {
  cursor: pointer !important;
}

/* Program circles: scaled imgs create stacking contexts that cover the green hover overlay.
   Keep image below overlay/label so hover works on every circle, not only the first two. */
.our-categories .category-item-image-box {
  isolation: isolate;
}

.our-categories .category-item-image {
  position: relative;
  z-index: 0;
}

.our-categories .category-item-image-box::before {
  z-index: 1;
}

.our-categories .category-item-info {
  z-index: 2;
}

.our-categories .category-item-image img.migo-cat-scale-md,
.our-categories .category-item-image img.migo-cat-scale-lg,
.our-categories .category-item-image img.migo-cat-scale-xl {
  will-change: auto;
}

.migo-usage-boxes .trending-product-item-content {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.migo-usage-boxes .trending-product-item-content h3 {
  border-right: none;
  padding-right: 0;
  width: 100%;
}

.migo-usage-boxes .trending-product-item-content p {
  width: 100%;
}

.testimonials-image figure {
  overflow: hidden;
}

.migo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
  width: 100%;
}

.migo-gallery-item {
  margin: 0;
  background: #fff;
}

.migo-gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  background: #fff;
  display: block;
}

.migo-gallery-item figcaption {
  padding: 10px 12px 14px;
  font-size: 14px;
}

.migo-gallery-popup .mfp-close {
  position: fixed;
  top: 16px;
  right: 16px;
  width: 48px;
  height: 48px;
  line-height: 48px;
  padding: 0;
  text-align: center;
  font-size: 36px;
  color: #fff;
  opacity: 1;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 4px;
  z-index: 1047;
}

.migo-gallery-popup .mfp-close:hover,
.migo-gallery-popup .mfp-close:focus {
  opacity: 1;
  background: rgba(0, 0, 0, 0.8);
}

.migo-gallery-popup .mfp-arrow {
  opacity: 1;
  background: rgba(0, 0, 0, 0.35);
  width: 56px;
  height: 80px;
  margin-top: -40px;
}

.migo-gallery-popup .mfp-arrow:hover,
.migo-gallery-popup .mfp-arrow:focus {
  background: rgba(0, 0, 0, 0.55);
}

.migo-gallery-popup .mfp-arrow:before,
.migo-gallery-popup .mfp-arrow:after {
  margin-top: 22px;
}

.migo-gallery-popup .mfp-arrow-left:after {
  margin-left: 16px;
}

.migo-gallery-popup .mfp-arrow-right:after {
  margin-left: 22px;
}

.migo-gallery-popup .mfp-counter {
  top: 24px;
  right: 80px;
  color: #fff;
  font-size: 14px;
}

/* About page */
.migo-about-intro,
.migo-about-focus,
.migo-about-offer,
.migo-about-closing,
.migo-news-section {
  padding: 80px 0;
}

.migo-about-intro-image figure {
  margin: 0;
  overflow: hidden;
}

.migo-about-intro-image img {
  width: 100%;
  height: 520px;
  object-fit: contain;
  background: #fff;
  display: block;
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.migo-about-intro-content .section-title {
  margin-bottom: 24px;
}

.migo-about-intro-content p {
  margin-bottom: 1rem;
  line-height: 1.75;
  color: var(--text-color);
}

.migo-about-intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.migo-about-tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.migo-about-tags li {
  margin: 0;
  padding: 12px 18px;
  background: var(--white-color);
  border: 1px solid var(--divider-color);
  color: var(--primary-color);
  font-size: 15px;
  line-height: 1.3;
}

.migo-about-offer-text p {
  margin-bottom: 1rem;
  line-height: 1.75;
  color: var(--text-color);
}

.migo-about-offer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.migo-about-offer-item {
  background: var(--white-color);
  border: 1px solid var(--divider-color);
  overflow: hidden;
  display: block;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.migo-about-offer-item:hover {
  border-color: var(--accent-color, #c4a574);
  transform: translateY(-2px);
}

.migo-catalog-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.migo-catalog-btns .btn-default {
  margin: 0;
}

.migo-about-offer-item img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  background: #fff;
  display: block;
  border-bottom: 1px solid var(--divider-color);
}

.migo-about-offer-item h3 {
  margin: 0;
  padding: 14px 16px 16px;
  font-size: 16px;
  line-height: 1.35;
  color: var(--primary-color);
}

.migo-about-closing-box {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.migo-about-closing-box p {
  margin-bottom: 1rem;
  font-size: 18px;
  line-height: 1.75;
  color: var(--text-color);
}

.migo-about-closing-box p:last-child {
  margin-bottom: 0;
}

.migo-news-featured {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 56px;
}

.migo-news-card {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
  background: var(--white-color);
  border: 1px solid var(--divider-color);
  overflow: hidden;
}

.migo-news-card:nth-child(even) {
  grid-template-columns: minmax(0, 1fr) 280px;
}

.migo-news-card:nth-child(even) .migo-news-card-image {
  order: 2;
}

.migo-news-card-image {
  min-height: 100%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.migo-news-card-image img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: contain;
  background: #fff;
  display: block;
}

.migo-news-card-body {
  padding: 28px 28px 28px 0;
}

.migo-news-card:nth-child(even) .migo-news-card-body {
  padding: 28px 0 28px 28px;
}

.migo-news-card-body h3 {
  margin: 0 0 14px;
  font-size: 24px;
  line-height: 1.3;
  color: var(--primary-color);
}

.migo-news-card-body p {
  margin: 0 0 12px;
  line-height: 1.7;
  color: var(--text-color);
}

.migo-news-card-body p:last-child {
  margin-bottom: 0;
}

.migo-news-archive {
  padding-top: 12px;
  border-top: 1px solid var(--divider-color);
}

.migo-news-archive-title {
  margin: 0 0 24px;
  font-size: 22px;
  color: var(--primary-color);
}

.migo-news-archive-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.migo-news-archive-item {
  padding: 20px;
  background: var(--secondary-color);
}

.migo-news-archive-item h4 {
  margin: 0 0 10px;
  font-size: 17px;
  line-height: 1.35;
  color: var(--primary-color);
}

.migo-news-archive-item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-color);
}

@media (max-width: 991px) {
  .migo-about-intro,
  .migo-about-focus,
  .migo-about-offer,
  .migo-about-closing,
  .migo-news-section {
    padding: 60px 0;
  }

  .migo-about-intro-image img {
    height: 380px;
  }

  .migo-news-card,
  .migo-news-card:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .migo-news-card:nth-child(even) .migo-news-card-image {
    order: 0;
  }

  .migo-news-card-body,
  .migo-news-card:nth-child(even) .migo-news-card-body {
    padding: 20px;
  }

  .migo-news-archive-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .migo-about-intro-image img {
    height: 280px;
  }

  .migo-about-offer-grid {
    grid-template-columns: 1fr;
  }

  .migo-about-offer-item img {
    height: 200px;
  }

  .migo-news-archive-list {
    grid-template-columns: 1fr;
  }

  .migo-about-closing-box p {
    font-size: 16px;
  }
}

.cart-empty-state {
  padding: 24px 8px 8px;
}

.order-summary-box {
  display: none !important;
}

/* Spa / bazen lista — jedna stavka ispod druge */
.luxury-seller-item-list ul {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 12px;
}

.luxury-seller-item-list ul li {
  width: 100%;
  padding-left: 18px;
}

.luxury-seller-item-list ul li:before {
  top: 0.65em;
  transform: none;
}

/* Kolekcije — 1 veliki + 3 manja (kao original) */
.migo-collections .our-arrivals-item-box {
  align-items: stretch;
}

.migo-collections .arrivals-item.highlighted-item {
  width: calc(50% - 10px);
  min-height: 560px;
}

.migo-collections .arrivals-item-list {
  width: calc(50% - 10px);
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 20px;
}

.migo-collections .arrivals-item-list .arrivals-item {
  width: 100%;
  flex: 1 1 0;
  min-height: 0;
}

.migo-collections .arrivals-item-list .arrivals-item-image,
.migo-collections .arrivals-item-list .arrivals-item-image a,
.migo-collections .arrivals-item-list .arrivals-item-image figure {
  height: 100%;
}

.migo-collections .arrivals-item-list .arrivals-item-image figure img {
  height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  background: #fff;
}

.migo-collections .arrivals-item.highlighted-item .arrivals-item-image figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: transparent;
  border: none;
}

.migo-collections .arrivals-item-list .arrivals-item-content h3 {
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.migo-collections .arrivals-item.highlighted-item .arrivals-item-content .section-title h2 {
  font-size: 42px;
  margin-bottom: 18px;
  text-transform: uppercase;
}

@media (max-width: 991px) {
  .migo-collections .arrivals-item.highlighted-item,
  .migo-collections .arrivals-item-list {
    width: 100%;
  }

  .migo-collections .arrivals-item.highlighted-item {
    min-height: 420px;
  }

  .migo-collections .arrivals-item-list {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .migo-collections .arrivals-item-list .arrivals-item {
    width: calc(50% - 10px);
    flex: 0 0 calc(50% - 10px);
    min-height: 220px;
  }

  .migo-collections .arrivals-item-list .arrivals-item:last-child {
    width: 100%;
    flex-basis: 100%;
    min-height: 240px;
  }
}

@media (max-width: 575px) {
  .migo-collections .arrivals-item.highlighted-item {
    min-height: 340px;
  }

  .migo-collections .arrivals-item-list .arrivals-item,
  .migo-collections .arrivals-item-list .arrivals-item:last-child {
    width: 100%;
    flex-basis: 100%;
    min-height: 200px;
  }

  .migo-collections .arrivals-item.highlighted-item .arrivals-item-content .section-title h2 {
    font-size: 28px;
  }

  .migo-collections .arrivals-item-list .arrivals-item-content h3 {
    font-size: 18px;
  }
}

/* Catalog toolbar — desktop layout */
.page-products .page-single-sidebar .product-category-filter-title {
  max-width: none;
  flex: 1 1 auto;
  min-width: 0;
}

.page-products .page-single-sidebar .product-category-filter-title h2 {
  font-size: 18px;
  margin: 0;
  white-space: nowrap;
}

.page-products .page-single-sidebar .product-category-filter-clear-btn {
  flex-shrink: 0;
}

.page-products .page-single-sidebar .product-category-filter-clear-btn a {
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.migo-catalog-toolbar {
  align-items: flex-end;
  gap: 16px 24px;
  margin-bottom: 28px !important;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--divider-color, rgba(0, 0, 0, 0.12));
}

.migo-catalog-heading {
  max-width: none !important;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start !important;
  gap: 6px !important;
  min-width: 0;
}

.migo-catalog-heading h2 {
  font-size: 32px !important;
  line-height: 1.2;
  margin: 0;
  color: var(--primary-color, #111);
}

.migo-catalog-count {
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
  color: #666;
  letter-spacing: 0.02em;
}

@media (min-width: 1200px) {
  .migo-catalog-heading h2 {
    font-size: 36px !important;
  }

  .migo-catalog-count {
    font-size: 16px;
  }

  .migo-catalog-toolbar {
    margin-bottom: 36px !important;
    padding-bottom: 24px;
  }
}

@media (max-width: 991px) {
  .migo-catalog-heading h2 {
    font-size: 26px !important;
  }

  .migo-catalog-toolbar {
    margin-bottom: 20px !important;
    padding-bottom: 16px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .page-products > .container > .row {
    display: flex;
    flex-direction: column;
  }

  .page-products > .container > .row > .migo-filter-column {
    order: 2;
    width: 0 !important;
    max-width: 0 !important;
    flex: 0 0 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible;
    min-height: 0;
  }

  .page-products > .container > .row > .col-xl-9 {
    order: 1;
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }

  .page-products .page-single-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(360px, 90vw);
    max-width: 90vw;
    margin: 0 !important;
    padding: 18px 18px 28px;
    background: #fff;
    z-index: 10050;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(-105%);
    transition: transform 0.28s ease;
    box-shadow: 8px 0 32px rgba(0, 0, 0, 0.18);
    border-radius: 0;
  }

  .page-products .page-single-sidebar.is-open {
    transform: translateX(0);
  }

  .migo-filter-backdrop {
    position: fixed;
    inset: 0;
    z-index: 10040;
    background: rgba(22, 22, 22, 0.5);
    border: 0;
    padding: 0;
    cursor: pointer;
  }

  .migo-filter-backdrop[hidden] {
    display: none !important;
  }

  body.migo-filters-open {
    overflow: hidden;
  }
}

.migo-siesta-extras {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--divider-color, rgba(0, 0, 0, 0.12));
}

.migo-siesta-extras h3 {
  font-size: 18px;
  margin: 0 0 12px;
}

.migo-siesta-features ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}

.migo-siesta-features li,
.migo-siesta-feature {
  background: #f3f5f0;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
}

.migo-siesta-color-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.migo-siesta-color-list img,
.migo-siesta-color-swatch img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  display: block;
}

.migo-siesta-color-swatch {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 50%;
}

.migo-siesta-color-swatch.is-active img,
.migo-siesta-color-swatch:focus-visible img {
  outline: 2px solid #222;
  outline-offset: 2px;
}

.migo-siesta-dims-block {
  width: 100%;
  margin: 28px 0 8px;
}

.migo-siesta-dims {
  margin-top: 8px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 18px 16px 16px;
}

.migo-siesta-dims h3 {
  margin: 0 0 14px;
  font-size: 20px;
}

.migo-siesta-dims-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.migo-siesta-dims figure,
.migo-siesta-dim-main {
  margin: 0;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 10px;
  overflow: hidden;
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 0;
}

.migo-siesta-dims img,
.migo-siesta-dim-main img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 280px;
  margin: 0 auto;
  height: auto;
  object-fit: contain;
  background: #fff;
}

.migo-siesta-dims figcaption {
  text-align: center;
  padding: 10px 4px 0;
  font-size: 13px;
  color: #666;
}

@media (max-width: 767px) {
  .migo-siesta-dims-grid {
    grid-template-columns: 1fr;
  }

  .migo-siesta-dims img,
  .migo-siesta-dim-main img {
    max-height: 220px;
  }
}

.product-single-image-item img,
.product-single-image-slider img {
  transition: none !important;
}

/* Main image: fixed square space, but show the photo at its real proportions
   (no cropping) so colors/lifestyle shots that aren't 1:1 aren't cut off. */
.product-single-image-item .swiper-slide figure {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #fff;
  overflow: hidden;
}

.product-single-image-item .swiper-slide figure img {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  background: #fff;
}

/* Compact fixed-size thumbs; scroll when there are many */
.product-single-image-box .product-single-image-slider {
  max-width: 100%;
  margin-top: 10px;
  overflow: hidden;
}

.product-single-image-box .product-single-image-slider .swiper-slide {
  width: 72px !important;
  flex-shrink: 0;
  height: auto;
  padding: 0;
}

.product-single-image-box .product-single-image-slider .swiper-slide figure {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
}

.product-single-image-box .product-single-image-slider .swiper-slide figure img {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  border-radius: 0;
  display: block;
  background: #fff;
}

.product-single-image-box .product-single-image-slider .swiper-slide-thumb-active figure {
  border-color: var(--accent-color, #7a8f5a);
  box-shadow: inset 0 0 0 1px var(--accent-color, #7a8f5a);
}

.migo-siesta-source {
  margin: 12px 0 0;
  font-size: 13px;
  color: #777;
}

.migo-filter-accordions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.migo-filter-accordions .migo-filter-acc.product-category-item {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  background: #fff;
  margin-bottom: 0;
  padding-bottom: 0;
  overflow: hidden;
}

.migo-filter-acc-title {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 !important;
  padding: 14px 16px;
  font-size: 16px !important;
  user-select: none;
}

.migo-filter-acc-title::-webkit-details-marker {
  display: none;
}

.migo-filter-acc-title::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  flex-shrink: 0;
  opacity: 0.55;
}

.migo-filter-acc[open] > .migo-filter-acc-title::after {
  transform: rotate(-135deg);
  margin-top: 4px;
}

.migo-filter-acc-body {
  list-style: none;
  margin: 0 !important;
  padding: 0 16px 14px !important;
}

.migo-filter-accordions .migo-filter-acc-body > li {
  display: block;
  margin: 0 0 10px !important;
  line-height: normal;
}

.migo-filter-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.migo-filter-parent {
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  margin-bottom: 12px !important;
}

.migo-filter-parent:last-child {
  border-bottom: 0;
}

/* Line under the category circle (20px), then subcategories beside it */
.migo-subfilter-list {
  list-style: none;
  display: block;
  margin: 6px 0 0 0 !important;
  padding: 4px 0 2px 14px !important;
  margin-left: 9px !important; /* center of 20px checkbox */
  border-left: 2px solid rgba(122, 143, 90, 0.45);
}

.migo-filter-accordions .migo-subfilter-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px !important;
}

.migo-subfilter-list label {
  font-size: 13px;
  color: #555;
}

.migo-filter-open {
  display: none;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  border: 1px solid var(--divider-color, rgba(0, 0, 0, 0.14));
  background: #fff;
  color: var(--primary-color, #1c2118);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}

.migo-filter-open img {
  width: 16px;
  height: 16px;
  display: block;
}

.migo-filter-badge {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--accent-color, #7a8f5a);
  color: #fff;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.migo-filter-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.migo-filter-close {
  display: none;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #f2f2f2;
  color: #222;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 991px) {
  .migo-filter-open {
    display: inline-flex;
  }

  .migo-filter-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

@media (min-width: 992px) {
  .migo-filter-backdrop,
  .migo-filter-open,
  .migo-filter-close {
    display: none !important;
  }
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9990;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--accent-color, #7A8F5A);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(28, 33, 24, 0.28);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, background 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-color, #1C2118);
}

.back-to-top svg {
  display: block;
}

@media (max-width: 575px) {
  .back-to-top {
    right: 14px;
    bottom: 14px;
    width: 44px;
    height: 44px;
  }
}
