/* Overrides on top of the Mioca theme for the Medusa storefront */

/* French text: keep sentence case instead of the theme's Title Case */
.single-link,
.footer-herading,
.hero-slide-content .price,
.feature-content .title,
.breadcrumb-title,
.breadcrumb-item,
.product .content .title a,
.sidebar-widget-category a,
.product-tab-nav .nav-item,
.product-details-content h2,
.hero-slide-content .title-1,
.offcanvas-menu a {
  text-transform: none !important;
}

/* Category tabs: the theme sizes these with a JS slider; lay them out statically */
.product-tab-nav {
  gap: 8px;
}
.product-tab-nav .nav-item {
  margin: 0 6px 20px;
}
.product-tab-nav .nav-item .nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 0;
}
.product-tab-nav .nav-item .nav-link img {
  height: 48px;
  width: auto;
}
.product-tab-nav .nav-item .nav-link span {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 115px;
}

/* Disabled buy buttons */
.add-cart:disabled,
.add-to-cart:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Product page: keep buttons on one line and wrap the row on small screens */
.pro-details-quality {
  flex-wrap: wrap;
  gap: 10px;
}
.pro-details-quality .pro-details-cart {
  margin-left: 0 !important;
}
.pro-details-quality .add-cart {
  white-space: nowrap;
  padding: 0 24px !important;
  width: auto !important;
}
