.account-dropdown { position: relative; }
.header .account-header-btn {
  display: grid;
  place-items: center;
  list-style: none;
  padding: 0;
  cursor: pointer;
  color: #f1ca94;
  border-color: #f1ca9459;
}
.account-header-btn::-webkit-details-marker { display: none; }
.account-header-btn::marker { content: ""; }
.header .account-dropdown[open] .account-header-btn { background: #f1ca94; color: #35190e; }
.account-dropdown-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 14px);
  width: min(270px, calc(100vw - 32px));
  padding: 12px;
  background: #fffaf3;
  color: #35190e;
  border: 1px solid #dfcdb7;
  border-radius: 12px;
  box-shadow: 0 16px 40px #21100833;
  z-index: 110;
}
.account-dropdown-heading { padding: 10px 12px 16px; border-bottom: 1px solid #e7d9c9; margin-bottom: 8px; }
.account-dropdown-heading span { display: block; text-transform: uppercase; letter-spacing: .14em; font-size: 10px; color: #80603c; margin-bottom: 6px; }
.account-dropdown-heading strong { font: 400 23px/1.2 Georgia, serif; }
.account-dropdown-panel a { display: flex; justify-content: space-between; align-items: center; min-height: 44px; padding: 10px 12px; color: #35190e; text-decoration: none; font-size: 14px; font-weight: 500; border-radius: 5px; }
.account-dropdown-panel a:hover { background: #f0e5d7; }
.account-dropdown-panel .account-dropdown-signin { background: #35190e; color: #fff7eb; margin-bottom: 6px; }
.account-dropdown-panel .account-dropdown-signin:hover { background: #56331e; }
.account-dropdown :is(summary, a):focus-visible { outline: 2px solid #bd8b52; outline-offset: 3px; }
@media (max-width: 600px) {
  .head-actions .search-wrap { display: none; }
  .header .brand img { max-width: min(125px, 25vw) !important; }
  .account-dropdown-panel { right: -48px; }
}

/* Ensure cart and header action buttons are cleanly styled beside profile */
.header .head-actions #cartOpen {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
