/* =========================================================
   DEUTSCH GO — COLLECTIONS OVERLAY FINAL V2
   Correct order, descriptions, stronger aura,
   and Navy hover for Shop Now buttons.
========================================================= */

@media (min-width: 769px) {

  .deutschgo-hero__sticky {
    position: sticky;
    top: 0;
    overflow: hidden;
    isolation: isolate;
  }

  .deutschgo-collections-aura {
    position: absolute;
    inset: 0;
    z-index: 13;
    pointer-events: none;
    overflow: hidden;
  }

  .deutschgo-collections-aura::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -18%;
    width: 84vw;
    height: 50vh;
    transform: translateX(-50%);

    background:
      radial-gradient(
        ellipse at center,
        rgba(244, 197, 66, 0.13) 0%,
        rgba(28, 93, 112, 0.09) 30%,
        rgba(18, 59, 74, 0.06) 50%,
        transparent 74%
      );

    filter: blur(20px);
    opacity: 0.9;
  }

  .deutschgo-collections-aura::after {
    content: "";
    position: absolute;
    right: -12vw;
    top: 8%;
    width: 48vw;
    height: 54vh;

    background:
      radial-gradient(
        ellipse at center,
        rgba(244, 197, 66, 0.10) 0%,
        rgba(244, 197, 66, 0.04) 38%,
        transparent 72%
      );

    filter: blur(24px);
    opacity: 0.76;
  }

  .deutschgo-collections {
    position: absolute;
    inset: 0;
    z-index: 16;
    pointer-events: none;

    opacity: 0;
    visibility: hidden;
    transform: translate3d(0, 24px, 0);

    will-change: opacity, transform;
  }

  .deutschgo-collections__header {
    position: absolute;
    top: 8.2%;
    left: 50%;
    transform: translateX(-50%);

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;

    width: min(760px, 80vw);
    text-align: center;
  }

  .deutschgo-collections__heading {
    margin: 0;
    padding: 11px 24px;

    border: 1px solid rgba(255, 248, 241, 0.18);
    border-radius: 999px;

    background:
      linear-gradient(
        135deg,
        rgba(8, 31, 43, 0.86),
        rgba(18, 59, 74, 0.70)
      );

    -webkit-backdrop-filter: blur(10px) saturate(115%);
    backdrop-filter: blur(10px) saturate(115%);

    color: #FFF8F1;

    box-shadow:
      0 14px 34px rgba(8, 31, 43, 0.28),
      inset 0 1px 0 rgba(255,255,255,0.12);

    font-size: clamp(16px, 1.45vw, 24px);
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .deutschgo-collections__heading span {
    color: #F4C542;
  }

  .deutschgo-collections__subheading {
    margin: 0;
    color: rgba(255, 248, 241, 0.78);
    font-size: clamp(12px, 0.9vw, 15px);
    font-weight: 600;
    letter-spacing: 0.04em;
  }

  .deutschgo-collections__grid {
    position: absolute;
    left: 6.5%;
    right: 6.5%;
    bottom: 4.8%;

    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: end;
    gap: 2vw;

    direction: ltr !important;
  }

  .deutschgo-collections__item {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;

    min-height: 118px;
    direction: ltr !important;

    opacity: 0;
    transform: translate3d(0, 20px, 0) scale(0.97);

    will-change: opacity, transform;
  }

  .deutschgo-collections__item::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 76px;

    width: 84%;
    height: 34px;

    transform: translateX(-50%);
    border-radius: 50%;

    background:
      radial-gradient(
        ellipse at center,
        rgba(244, 197, 66, 0.18) 0%,
        rgba(28, 93, 112, 0.10) 42%,
        transparent 74%
      );

    filter: blur(12px);
    opacity: 0.84;
    pointer-events: none;
  }

  .deutschgo-collections__description {
    position: relative;
    z-index: 2;

    max-width: 210px;
    min-height: 34px;
    margin: 0 0 7px;

    color: rgba(255, 248, 241, 0.70);
    font-size: clamp(10px, 0.74vw, 12px);
    font-weight: 500;
    line-height: 1.45;
    text-align: center;

    text-shadow: 0 3px 12px rgba(8, 31, 43, 0.48);
  }

  .deutschgo-collections__name {
    position: relative;
    z-index: 2;

    margin: 0 0 10px;
    color: #FFF8F1;

    font-size: clamp(13px, 1vw, 17px);
    font-weight: 800;
    letter-spacing: 0.01em;
    text-align: center;

    text-shadow:
      0 4px 14px rgba(8, 31, 43, 0.52),
      0 0 18px rgba(244, 197, 66, 0.05);
  }

  .deutschgo-collections__button {
    position: relative;
    z-index: 2;
    pointer-events: auto;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    min-width: 132px;
    padding: 12px 20px;

    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 999px;

    background: #F4C542;
    color: #081F2B;

    text-decoration: none;
    text-transform: uppercase;
    text-align: center;

    font-size: clamp(10px, 0.78vw, 13px);
    font-weight: 900;
    letter-spacing: 0.08em;

    box-shadow:
      0 12px 30px rgba(8, 31, 43, 0.28),
      0 0 22px rgba(244, 197, 66, 0.07),
      inset 0 1px 0 rgba(255,255,255,0.42);

    transition:
      transform 0.22s ease,
      background-color 0.22s ease,
      color 0.22s ease,
      border-color 0.22s ease,
      box-shadow 0.22s ease;
  }

  .deutschgo-collections__button:hover {
    transform: translateY(-3px);

    background: #081F2B;
    color: #FFF8F1;
    border-color: rgba(244, 197, 66, 0.34);

    box-shadow:
      0 18px 40px rgba(8, 31, 43, 0.42),
      0 0 30px rgba(244, 197, 66, 0.10),
      inset 0 1px 0 rgba(255,255,255,0.08);
  }

  .deutschgo-collections__button svg {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
  }
}

@media (min-width: 769px) and (max-width: 1180px) {

  .deutschgo-collections__header {
    top: 7.2%;
  }

  .deutschgo-collections__grid {
    left: 4%;
    right: 4%;
    bottom: 3.8%;
    gap: 1.3vw;
  }

  .deutschgo-collections__description {
    max-width: 180px;
    min-height: 32px;
  }

  .deutschgo-collections__button {
    min-width: 112px;
    padding: 11px 15px;
  }
}

@media (max-width: 768px) {
  .deutschgo-collections,
  .deutschgo-collections-aura {
    display: none !important;
  }
}