/* Web shop mega-menu — extends ARNI header mega system */

.od-nav .mega.mega-shop,
.od-float-nav .mega.mega-shop {
  width: min(1180px, calc(100vw - 48px));
  max-width: 1180px;
  padding: 28px 28px 24px;
  background: #fffcf7;
  border: 1px solid rgba(34, 34, 34, 0.08);
  border-radius: 22px;
  box-shadow: 0 20px 52px rgba(5, 64, 63, 0.16);
  transition: opacity 0.26s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.26s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.26s;
}

.mega-shop__grid {
  display: grid;
  gap: 28px 32px;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.05fr) minmax(0, 0.85fr) minmax(220px, 0.95fr);
  align-items: start;
}

.mega-shop__col--narrow {
  padding-right: 4px;
}

.mega-shop__rows {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.mega-shop__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 10px 10px 0;
  text-decoration: none;
  color: var(--ink, #222);
  border-radius: 10px;
  position: relative;
  transition: color 0.2s ease;
}

.mega-shop__row::after {
  content: "";
  position: absolute;
  left: 0;
  right: 28px;
  bottom: 6px;
  height: 1px;
  background: var(--gold, #c8a35c);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
  opacity: 0.7;
}

.mega-shop__row-main {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.mega-shop__row-title {
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.3;
}

.mega-shop__row-meta {
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(34, 34, 34, 0.52);
  line-height: 1.35;
}

.mega-shop__arr {
  flex: 0 0 auto;
  font-style: normal;
  opacity: 0;
  transform: translateX(-4px);
  color: var(--teal-deep, #006666);
  transition: opacity 0.2s ease, transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.mega-shop__row:hover,
.mega-shop__row:focus-visible {
  color: var(--teal-deep, #006666);
  outline: none;
}

.mega-shop__row:hover .mega-shop__row-meta,
.mega-shop__row:focus-visible .mega-shop__row-meta {
  color: rgba(0, 102, 102, 0.7);
}

.mega-shop__row:hover::after,
.mega-shop__row:focus-visible::after {
  transform: scaleX(1);
}

.mega-shop__row:hover .mega-shop__arr,
.mega-shop__row:focus-visible .mega-shop__arr {
  opacity: 1;
  transform: translateX(0);
}

.mega-shop__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 13.5px;
  font-weight: 650;
  color: var(--teal-deep, #006666);
  text-decoration: none;
  border-bottom: 1px solid rgba(200, 163, 92, 0.45);
  padding-bottom: 1px;
}

.mega-shop__more:hover,
.mega-shop__more:focus-visible {
  color: var(--teal, #008080);
  border-bottom-color: var(--gold, #c8a35c);
}

.mega-shop__feat {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 18px 18px;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(0, 128, 128, 0.1), rgba(255, 252, 247, 0.95) 55%, rgba(200, 163, 92, 0.1));
  border: 1px solid rgba(0, 128, 128, 0.12);
  min-height: 100%;
}

.mega-shop__feat-eb {
  margin: 0;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep, #a98435);
}

.mega-shop__feat-title {
  margin: 0;
  font-family: var(--display, "Playfair Display", Georgia, serif);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink, #222);
}

.mega-shop__feat-copy {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(34, 34, 34, 0.68);
}

.mega-shop__feat-media {
  width: 72px;
  height: 72px;
  margin-top: 6px;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.mega-shop__feat-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
  display: block;
}

.mega-shop__feat-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--teal, #008080);
  color: #fff;
  font-size: 13.5px;
  font-weight: 650;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.mega-shop__feat-cta:hover,
.mega-shop__feat-cta:focus-visible {
  background: var(--teal-deep, #006666);
  transform: translateY(-1px);
  color: #fff;
}

/* Cart affordance in header */
.ws-float-cart {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(200, 163, 92, 0.45);
  background: rgba(200, 163, 92, 0.18);
  color: #fffcf7;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 650;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.ws-float-cart:hover,
.ws-float-cart:focus-visible {
  background: rgba(200, 163, 92, 0.32);
  border-color: var(--gold, #c8a35c);
  color: #fff;
}

.ws-float-cart__ico {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.ws-float-cart .ws-cart-badge,
.ws-cart-badge {
  background: var(--gold, #c8a35c);
  color: #1a1a1a;
  border-radius: 999px;
  min-width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 1100px) {
  .mega-shop__grid {
    grid-template-columns: 1fr 1fr;
  }

  .mega-shop__feat {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
  }

  .mega-shop__feat-copy {
    max-width: 28rem;
  }

  .mega-shop__feat-cta {
    margin-top: 0;
    margin-left: auto;
  }
}

@media (max-width: 959px) {
  .od-nav .mega.mega-shop,
  .od-float-nav .mega.mega-shop {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .od-nav .mega.mega-shop,
  .od-float-nav .mega.mega-shop,
  .mega-shop__row,
  .mega-shop__row::after,
  .mega-shop__arr,
  .mega-shop__feat-cta {
    transition: none !important;
  }
}
