/* =========================================================
   SEARCH / CATEGORIES SHEET
   condiviso desktop + mobile
========================================================= */
.vp-search-sheet,
.vp-categories-sheet{
  position:fixed;
  inset:0;
  z-index:1200;
}

.vp-search-sheet__backdrop,
.vp-categories-sheet__backdrop{
  position:absolute;
  inset:0;
  background:rgba(15,23,42,.48);
  backdrop-filter:blur(6px);
}

.vp-search-sheet__panel,
.vp-categories-sheet__panel{
  position:absolute;
  background:linear-gradient(180deg,#fcfcf9 0%,#f4f1ea 100%);
  border:1px solid rgba(15,23,42,.08);
  box-shadow:0 20px 60px rgba(15,23,42,.22);
  overflow:auto;
}

.vp-search-sheet__head,
.vp-categories-sheet__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:14px;
}

.vp-search-sheet__eyebrow,
.vp-categories-sheet__eyebrow{
  font-size:12px;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:#0f4b3a;
}

.vp-search-sheet__title,
.vp-categories-sheet__head h3{
  margin:6px 0 0;
  letter-spacing:-.04em;
}

.vp-search-sheet__close,
.vp-categories-sheet__close{
  border:0;
  border-radius:999px;
  background:#fff;
  box-shadow:0 8px 24px rgba(15,23,42,.10);
  font-size:28px;
  line-height:1;
  cursor:pointer;
}

.vp-search-sheet__text{
  margin:0 0 18px;
  color:#667085;
}

.vp-search-sheet__form{
  margin-top:16px;
}

.vp-search-sheet__input{
  width:100%;
  border-radius:18px;
  border:1px solid rgba(15,23,42,.12);
  background:#fff;
  box-shadow:0 8px 24px rgba(15,23,42,.05) inset;
}

.vp-search-sheet__submit{
  border:0;
  border-radius:18px;
  background:#0f4b3a;
  color:#fff;
  font-weight:900;
  letter-spacing:.01em;
  cursor:pointer;
}

.vp-search-sheet__quick{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:16px;
}

.vp-search-sheet__quick a{
  min-height:42px;
  padding:0 14px;
  border-radius:999px;
  border:1px solid rgba(15,23,42,.09);
  background:#fff;
  color:#111827;
  text-decoration:none;
  font-weight:800;
  font-size:13px;
  display:inline-flex;
  align-items:center;
}

.vp-categories-sheet__grid{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
  margin-top:18px;
}

.vp-categories-sheet__link{
  display:block;
  padding:18px;
  border-radius:22px;
  background:#fff;
  color:#101828;
  text-decoration:none;
  box-shadow:0 8px 24px rgba(15,23,42,.06);
  border:1px solid rgba(15,23,42,.06);
}

.vp-categories-sheet__link strong{
  display:block;
  font-size:18px;
  line-height:1.15;
  margin-bottom:7px;
}

.vp-categories-sheet__link span{
  display:block;
  color:#667085;
  font-size:13px;
  line-height:1.45;
}

.vp-categories-sheet__link--sale{
  background:#0f4b3a;
  color:#fff;
}

.vp-categories-sheet__link--sale span{
  color:rgba(255,255,255,.82);
}

/* =========================================================
   DESKTOP
========================================================= */
@media (min-width: 992px){
  .vp-search-sheet__panel,
  .vp-categories-sheet__panel{
    top:24px;
    left:50%;
    transform:translateX(-50%);
    width:min(760px, calc(100vw - 40px));
    max-height:calc(100vh - 48px);
    border-radius:30px;
    padding:26px;
  }

  .vp-search-sheet__title,
  .vp-categories-sheet__head h3{
    font-size:42px;
    line-height:.96;
  }

  .vp-search-sheet__close,
  .vp-categories-sheet__close{
    width:46px;
    height:46px;
  }

  .vp-search-sheet__text{
    font-size:15px;
    line-height:1.55;
  }

  .vp-search-sheet__form{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:12px;
  }

  .vp-search-sheet__input{
    height:60px;
    padding:0 18px;
    font-size:18px;
  }

  .vp-search-sheet__submit{
    min-height:60px;
    padding:0 24px;
    font-size:16px;
  }

  .vp-bottom-bar{
    display:none !important;
  }
}

/* =========================================================
   MOBILE
========================================================= */
@media (max-width: 991px){
  .vp-search-sheet__panel,
  .vp-categories-sheet__panel{
    inset:0;
    padding:22px 18px calc(var(--vp-bottom-nav-h) + 24px);
  }

  .vp-search-sheet__title,
  .vp-categories-sheet__head h3{
    font-size:32px;
    line-height:.98;
  }

  .vp-search-sheet__close,
  .vp-categories-sheet__close{
    width:44px;
    height:44px;
  }

  .vp-search-sheet__text{
    font-size:14px;
    line-height:1.5;
  }

  .vp-search-sheet__form{
    display:grid;
    gap:12px;
  }

  .vp-search-sheet__input{
    height:58px;
    padding:0 18px;
    font-size:17px;
  }

  .vp-search-sheet__submit{
    min-height:54px;
    width:100%;
    font-size:16px;
  }
}