/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--c-line);
}

.site-header .container {
  display: flex;
  align-items: center;
  height: var(--header-h);
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1;
  color: var(--c-green);
  letter-spacing: 0.01em;
}

.brand__tag {
  font-size: 8px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-body);
  margin-top: 5px;
  font-weight: 600;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: 24px;
}

.main-nav a {
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--c-green);
  padding: 6px 0;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--c-wine);
  transform: scaleX(0);
  transition: transform .2s;
  transform-origin: left;
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
}

.main-nav .spacer {
  width: 12px;
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.currency-switch select {
  height: 34px;
  padding: 0 26px 0 10px;
  border: 1px solid #dfe3da;
  border-radius: 10px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23163428' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 8px center / 12px;
  appearance: none;
  color: var(--c-green);
  font: 600 12px/1 var(--font-body);
  cursor: pointer;
}

.currency-switch select:hover {
  background-color: #f1f3ee;
}

.icon-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  border-radius: 10px;
  color: var(--c-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon-btn svg {
  width: 20px;
  height: 20px;
}

.icon-btn:hover {
  background: #f1f3ee;
}

.icon-btn--user {
  background: var(--c-wine);
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  margin-left: 6px;
}

.icon-btn--user:hover {
  background: var(--c-wine-2);
}

.icon-btn--user svg {
  width: 16px;
  height: 16px;
}

.nav-toggle {
  display: none;
}

.search-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #fff;
  border-bottom: 1px solid var(--c-line);
  box-shadow: var(--shadow-lg);
  display: none;
}

.search-panel.is-open {
  display: block;
}

.search-panel form {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 18px 0;
}

.search-panel input {
  flex: 1;
  height: 48px;
  border: 1px solid var(--c-line-2);
  border-radius: 10px;
  padding: 0 16px;
  font-size: 15px;
  outline: none;
}

.search-panel input:focus {
  border-color: var(--c-green);
}

.search-suggest {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding-bottom: 18px;
}

.search-suggest a {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 8px;
  border-radius: 10px;
  border: 1px solid var(--c-line);
}

.search-suggest a:hover {
  background: var(--c-bg);
}

.search-suggest img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
}

.search-suggest strong {
  display: block;
  font-size: 13px;
  color: var(--c-green);
}

.search-suggest span {
  font-size: 12px;
  color: var(--c-muted);
}

.mobile-nav {
  display: none;
  background: #fff;
  border-bottom: 1px solid var(--c-line);
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--c-line);
  font-weight: 600;
  color: var(--c-green);
}

.mobile-nav a:last-child {
  border: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--c-wine);
  color: #e8dcd8;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 72px 0 60px;
}

.site-footer h4 {
  font-family: var(--font-body);
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.site-footer .brand-foot {
  font-family: var(--font-display);
  color: #fff;
  font-size: 26px;
}

.site-footer .brand-sub {
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 700;
  color: #fff;
  margin: 12px 0 16px;
}

.site-footer p {
  font-size: 13px;
  line-height: 1.6;
  color: #d7c8c4;
  max-width: 250px;
}

.site-footer li {
  margin-bottom: 10px;
}

.site-footer li a {
  font-size: 14px;
  color: #dfd0cb;
}

.site-footer li a:hover {
  color: #fff;
}

.foot-pills {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.foot-pills span {
  border: 1px solid rgba(255, 255, 255, .5);
  color: #fff;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 11px;
}

.foot-desk {
  background: #fff;
  color: var(--c-ink);
  border-radius: 10px;
  padding: 12px 12px;
  margin-top: 14px;
}

.foot-desk small {
  display: block;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--c-terracotta);
}

.foot-desk strong {
  font-size: 14px;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 26px 0 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #dfd0cb;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer__bottom nav {
  display: flex;
  gap: 14px;
  align-items: center;
}

.site-footer__bottom nav i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #dfd0cb;
  display: inline-block;
}

.site-footer__bottom a:hover {
  color: #fff;
}

.newsletter {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.newsletter input {
  flex: 1;
  height: 40px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  padding: 0 12px;
  font-size: 13px;
  outline: 0;
  min-width: 0;
}

.newsletter input::placeholder {
  color: #d7c8c4;
}

.newsletter button {
  height: 40px;
  padding: 0 14px;
  border-radius: 8px;
  background: #fff;
  color: var(--c-wine);
  border: 0;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ---------- Nav dropdowns ---------- */
.main-nav .nav-item { position: relative; }
.main-nav .nav-item > a { display: inline-flex; align-items: center; gap: 6px; }
.main-nav .nav-item > a svg { width: 14px; height: 14px; transition: transform .2s; }
.main-nav .nav-item:hover > a svg { transform: rotate(180deg); }
.nav-menu { position: absolute; top: 100%; left: -12px; min-width: 220px; padding: 10px 8px; margin-top: 14px; background: #fff; border: 1px solid var(--c-line); border-radius: 12px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; z-index: 60; }
.nav-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav-item:hover .nav-menu, .nav-item:focus-within .nav-menu { opacity: 1; visibility: visible; transform: none; }
.nav-menu a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--c-green); white-space: nowrap; }
.nav-menu a::after { display: none; }
.nav-menu a:hover { background: var(--c-bg); }
.nav-menu--products { min-width: 300px; }
.nav-menu--products img { width: 38px; height: 38px; object-fit: contain; border: 1px solid var(--c-line); border-radius: 8px; background: #fff; }
.nav-menu--products span { display: flex; flex-direction: column; line-height: 1.25; }
.nav-menu--products small { font-size: 12px; color: var(--c-muted); font-weight: 500; }
.nav-menu__all { border-top: 1px solid var(--c-line); margin-top: 6px; padding-top: 10px !important; font-size: 12px !important; color: var(--c-blue) !important; }
.announce { font-weight: 600; letter-spacing: .02em; }
