/* Static clone enhancements v3 */

.is-not-visible,
.is-not-visible :is(.category-bar__item, .industry-slider__title, .industry-slider__subtitle,
  .industry-slider__slides-item, .industry-slider__arrow-wrapper, .dk-teaser__inner,
  .dk-hero__content, .dk-hero__slide, .news-slider__item, .blog-slider__item) {
  opacity: 1 !important;
  translate: none !important;
  transform: none !important;
}

/* Category bar — center product icons like dormakaba */
.category-bar .category-bar__container .max-w-container {
  display: flex;
  justify-content: center;
}

.category-bar .category-bar__container {
  display: flex;
  justify-content: center;
}

.category-bar .category-bar__inner,
.category-bar .category-bar__inner.is-centered,
.category-bar .category-bar__inner.no-scrollbar {
  justify-content: center !important;
  width: max-content;
  max-width: calc(100% - 2rem);
  margin-inline: auto !important;
  padding-inline: 1rem !important;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: none;
}

@media (min-width: 48rem) {
  .category-bar .category-bar__inner {
    max-width: calc(100% - 3rem);
    padding-inline: 1.5rem !important;
  }
}

@media (min-width: 64rem) {
  .category-bar .category-bar__inner {
    max-width: 100%;
    padding-inline: 0 !important;
  }
}

.category-bar__inner::-webkit-scrollbar {
  display: none;
}

.category-bar__item {
  opacity: 1 !important;
  translate: none !important;
  min-width: 6.875rem;
}

.category-bar__icon {
  display: block;
  margin-inline: auto;
  color: #1a1a1a;
}

.category-bar__icon use {
  fill: currentColor;
}

.industry-slider-card__image img,
.dk-background-media-asset__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dk-teaser__image img,
.showcase-fragment__bg-image img {
  width: 100%;
  height: auto;
  min-height: 16rem;
  object-fit: cover;
  display: block;
}

.dk-hero picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dk-hero__asset .dk-background-media-asset__image {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  position: absolute;
  inset: 0;
  min-height: 100%;
}

.dk-hero__asset .dk-background-media-asset {
  position: relative;
  min-height: clamp(420px, 70vh, 820px);
}

.category-bar__text {
  text-align: center;
  width: 100%;
}

/* Logo */
.dk-logo img.brand-logo-img {
  display: block;
  height: 2rem;
  width: auto;
  max-width: 9.5rem;
}

.dk-logo--white img.brand-logo-img {
  filter: brightness(0) invert(1);
}

.dk-logo--country img.brand-logo-img {
  max-width: 8.5rem;
}

/* Mega menu open state */
.dk-navbar--dropdown-open .dk-navbar__inner {
  background: #fff;
  color: #1a1a1a;
}

.dk-navbar--dropdown-open .dk-link.is-dark {
  color: #1a1a1a;
}

.dk-navbar-item a[aria-expanded="true"] {
  opacity: 1;
}

.dk-navbar-dropdown.is-open {
  display: block !important;
}

.dk-navbar-dropdown.is-open .dk-navbar-dropdown__overlay {
  opacity: 1;
  pointer-events: auto;
}

/* Shop page */
.shop-page .dk-section {
  padding-block: 4rem 5rem;
}

.shop-hero {
  margin-bottom: 2.5rem;
  max-width: 48rem;
}

.shop-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 600;
  color: #666;
  margin: 0 0 0.5rem;
}

.shop-hero h1 {
  font-family: family-Bold, sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin: 0 0 0.75rem;
}

.shop-hero p {
  color: #444;
  margin: 0;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

.shop-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e8e8e8;
  transition: box-shadow 0.2s, transform 0.2s;
  color: inherit;
  text-decoration: none;
}

.shop-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.shop-card__img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #f5f5f5;
}

.shop-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-card__ph {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #eee, #ddd);
}

.shop-card__badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(26, 26, 26, 0.82);
  color: #fff;
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
}

.shop-card__body {
  padding: 1rem 1rem 1.25rem;
}

.shop-card__body h3 {
  font-family: family-Semibold, sans-serif;
  font-size: 1rem;
  margin: 0 0 0.35rem;
  line-height: 1.35;
}

.shop-card__price {
  margin: 0;
  font-family: family-Bold, sans-serif;
  font-size: 1.05rem;
}

.shop-card__price--quote {
  color: #666;
  font-family: family-Regular, sans-serif;
  font-size: 0.875rem;
}

.shop-cta {
  margin-top: 3rem;
  padding: 2rem;
  background: #f5f5f5;
  text-align: center;
}

.shop-cta h2 {
  margin: 0 0 0.5rem;
  font-family: family-Bold, sans-serif;
}

.shop-cta p {
  margin: 0 0 1rem;
  color: #555;
}
