.top {
  background: #fffaf2f7;
  border-bottom: 1px solid #e9dccd;
  box-shadow: 0 5px 20px #3716210b;
}
.top .top-inner { min-height: 80px; }
.top .brand img { width: 90px; height: 72px; }
.top .top-nav { gap: .3rem; }
.top .top-nav a {
  display: grid; place-items: center; min-height: 44px;
  padding: .44rem clamp(.72rem, 1.6vw, 1.2rem); border: 1px solid transparent;
  border-radius: 30px; font-size: .8rem; text-decoration: none; white-space: nowrap;
}
.top .top-nav a:hover { background: #f4e7de; color: var(--wine); }
.top .top-nav a[aria-current="page"] { background: #68233b; color: #fff9ef; }
.top .top-search, .top .bag-action {
  min-height: 44px; border: 1px solid #e9dbce; background: #f8eee4;
  color: #542238; border-radius: 24px;
}
.top .bag-action { min-width: 61px; padding-inline: .68rem; }
.top #cart-count { background: #65253e; color: #fff7ea; font-weight: 700; }
.top .top-search:hover, .top .bag-action:hover { background: #f1e0d5; }

@media (max-width: 740px) {
  .top .top-inner {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: .25rem; min-height: 0; padding-block: .24rem .48rem;
  }
  .top .brand img { width: 78px; height: 62px; }
  .top .top-nav {
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .19rem;
    padding: .2rem; border: 1px solid #eadbc9; border-radius: 26px; background: #f6ece1;
  }
  .top .top-nav a {
    min-height: 34px; padding: .3rem .06rem;
    font-size: clamp(.61rem, 2.85vw, .78rem);
  }
}

@media (max-width: 420px) {
  .top .top-nav a { font-size: clamp(.61rem,2.55vw,.74rem); }
}
