.topbar {
  background: var(--gold);
  color: rgba(255, 255, 255, .8);
  font-size: 12px;
  font-weight: 500;
  padding: 9px 0;
}

.topbar .c {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.topbar a {
  color: #fff;
  transition: color .2s;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.topbar a:hover {
  color: var(--white);
}

.tb-l,
.tb-r {
  display: flex;
  align-items: center;
  gap: 18px;
}

.tb-r a.button-top {
  background:#fff;
  color: var(--gold-l);
  padding: 6px 10px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
}

.topbar-logout-form {
  display: flex;
}

.topbar-logout-btn {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  color: #fff;
  font: inherit;
  cursor: pointer;
  transition: color .2s;
}

.topbar-logout-btn:hover {
  color: var(--white);
  text-decoration: underline;
}

.tb-l span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tb-l span svg {
  width: 24px;
  height: 24px;
}

.tb-l span.tb-deal {
  background: #fff;
  color: var(--gold);
  padding: 8px 17px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  animation: pulse-b 2.5s ease-in-out infinite;
}

.hdr {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 999;
  filter: drop-shadow(0 2px 20px rgba(44, 24, 16, 0.08));
}

.hdr-i {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  margin-bottom: -40px;
  border-radius: 10px;
  overflow: hidden;
  flex: 0 0 auto;
}

.logo img {
  height: 100px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nv-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 13px;
  border-radius: var(--r-sm);
  font-size: 16px;
  font-weight: 500;
  color: var(--choco-mid);
  transition:
    color 0.2s,
    background 0.2s;
  background: transparent;
  border: none;
}

.nav-link:hover,
.nv-item.active .nav-link {
  color: var(--gold);
  background: var(--gold-pale);
}

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

.icon-btn,
.burger,
.mobile-close,
.t-btn,
.prod-btn {
  transition: all 0.25s;
}

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gray-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  color: var(--gray-txt);
}

.bottom-bat-button.cart,
.icon-btn.cart {
  position: relative;
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  aspect-ratio: 1/1;
  height: 20px;
  padding: 0 5px;
  background: #ff3b30;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  border: 2px solid #fff;
  margin-top: 0 !important;
}

@media (max-width: 700px) {
  .cart-count {
    min-width: 18px;
    height: 18px;
    top: -8px;
    right: -8px;
  }
}

.icon-btn:hover {
  background: var(--gold-pale);
  color: var(--gold);
}

.icon-btn svg,
.burger svg,
.mobile-close svg,
.t-btn svg,
.c-btn svg {
  width: 18px;
  height: 18px;
}

.burger {
  display: none;
  background: none;
  border: none;
  padding: 4px;
  color: var(--choco);
}

.mobile-nav {
  max-width: 350px;
  display: none;
  flex-direction: column;
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 1000;
  overflow-y: auto;
  padding: 24px;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.mobile-close {
  background: var(--gray-soft);
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav a {
  display: block;
  padding: 13px 0;
  font-size: 17px;
  font-weight: 500;
  color: var(--gray-txt);
  border-bottom: 1px solid var(--cream-2);
}

.mobile-nav a:hover {
  color: var(--gold);
}


@keyframes pulse-b {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.75;
  }
}

.mobile-tb {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 18px;
  padding-bottom: 10px;
}

.mobile-tb a.button-top {
  background: var(--gold);
  color: #fff;
  padding: 6px 10px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.mobile-logo {
  display: none;
}

@media (max-width: 1100px) {
  .nav-link {
    font-size: 12px;
    padding: 6px 8px;
  }
}

@media (max-width: 700px) {
  .tb-r {
    display: none;
  }
}


/* Hamburger */

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 5px;
}

.burger span {
  width: 24px;
  height: 2px;
  background: var(--choco);
  border-radius: 5px;
}

/* Search Bar */

.search-box .c {
  position: relative;
  z-index: 2;
}

.search-box {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 0;
  opacity: 0;
  z-index: 111;
  overflow: hidden;
  transition: all 0.4s;
}

.search-box.active::after {
  position: absolute;
  content: "";
  top: 0;
  right: 0;
  width: 100%;
  height: 100dvh;
  background: #0000005c;
  z-index: 1;
}

.search-box.active {
  height: 50px;
  overflow: unset;
  opacity: 1;
  transition: all 0.4s;
}

.search-box-inner {
  background: white;
  padding: 10px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--gold);
  filter: drop-shadow(0 2px 20px rgba(44, 24, 16, 0.08));
}

.search-box-inner input {
  border: none;
  height: 24px;
  width: 100%;
}

/* Suppress the browser's native <input type="search"> clear button — we have our own
   close button (.search-close) and showing both looked like two overlapping X icons. */
.search-box-inner input[type="search"]::-webkit-search-cancel-button,
.search-box-inner input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}

.search-box-inner input[type="search"]::-ms-clear,
.search-box-inner input[type="search"]::-ms-reveal {
  display: none;
  width: 0;
  height: 0;
}

.search-close {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: var(--gray-soft);
  color: var(--gray-txt);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.search-close:hover {
  background: var(--gold-pale);
  color: var(--gold);
}

.search-box-inner input:focus-within {
  outline: none;
}

.search-results {
  width: 100%;
  background: white;
  box-shadow: 0px 0px 10px 10px #0000001a;
  border-radius: 0 0 10px 10px;
  max-height: 50dvh;
  overflow-y: auto;
  border: 1px solid var(--gold);
  display: none;
}

.search-results.show {
  display: block;
}

.search-result-item {
  padding: 10px;
  border-bottom: 1px solid var(--gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  transition: all 0.2s;
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-item:hover {
  background: var(--gold-pale);
}

.search-result-empty,
.search-result-loading {
  padding: 16px 10px;
  font-size: 13px;
  color: var(--gray-txt);
  text-align: center;
}

.sri-img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 5px;
  background: var(--gold-pale);
  padding: 5px;
}

.sri-txt {
  margin-left: 10px;
  font-size: 14px;
}

/* Mobile */

@media (max-width:768px) {

  .hdr-i {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .header-actions {
    order: 1;
  }

  .mobile-logo.logo {
    margin: 0;
    display: flex;
  }

  .tb-r,
  .cart,
  .account,
  .dashbord-logo,
  .main-nav {
    display: none;
  }

  .desktop-btn {
    display: none;
  }

  .cart-btn {
    display: none;
  }

  .burger {
    display: flex;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .logo img {
    height: 70px;
  }

  .search-btn {
    margin-right: auto;
  }

  .mobile-nav {
    display: flex;
  }

  .topbar .c {
    justify-content: center;
  }

  .mobile-tb {
    display: flex;
  }
}

.bottom-bar {
  display: none;
  justify-content: space-between;
  border-radius: 20px;
  background: white;
  box-shadow: 0px 0px 10px 10px #0000001a;
  padding: 18px 30px;
  position: fixed;
  bottom: 10px;
  right: 5%;
  width: 90%;
  margin: 0 auto;
  z-index: 10;
}

.bottom-bat-button {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bottom-bat-button-form {
  display: contents;
}

button.bottom-bat-button {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  color: inherit;
}

.bottom-bat-button svg {
  width: 20px;
  height: 20px;
}

.bottom-bat-button span {
  font-size: 14px;
  margin-top: 5px;
  font-weight: 500;
  text-transform: capitalize;
}

@media (max-width: 768px) {
  .bottom-bar {
    display: flex;
    padding: 10px 10px;
  }

  .bottom-bat-button span {
    font-size: 12px;
  }
}

.flotingIcon {
  position: fixed;
  bottom: 200px;
  right: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 10px;
}

.flotingIcon a svg {
  width: 24px;
  height: 24px;
}

/* Footer — shared layout chrome across every v2 page, so it lives here (always
   loaded) rather than in home.css (opt-in per page via $v2PageStyles). Moved from
   home.css on 2026-08-22 after the auth pages shipped with an unstyled footer. */

.ftr {
  background: linear-gradient(180deg, var(--blush) 0%, var(--cream) 100%);
  color: var(--ink-soft);
  padding: 64px 0 24px;
}

.ftr-g {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(41, 44, 129, 0.1);
}

.ftr-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.ftr-logo img {
  height: 80px;
  width: auto;
  transition: transform 0.3s var(--ease);
}

.ftr-logo:hover img {
  transform: translateY(-3px);
}

.ftr-about {
  font-size: 14px;
  line-height: 1.7;
  max-width: 280px;
}

.ftr-col h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--choco-mid);
  margin-bottom: 18px;
}

.ftr-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ftr-links a {
  width: fit-content;
  font-size: 14px;
  transition: color 0.2s;
}

.ftr-links a:hover {
  color: var(--primary);
}

.ftr-ci {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  margin-bottom: 12px;
}

.ftr-ci svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
  flex-shrink: 0;
}

.ftr-bot {
  padding: 20px 24px;
  background: var(--gold);
  border-radius: 20px;
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.ftr-bot p {
  font-size: 14px;
  color: #fff;
}

.ftr-bot-links {
  display: flex;
  gap: 20px;
}

.ftr-bot-links a {
  font-size: 14px;
  color: #fff;
  transition: color 0.2s;
}

.ftr-bot-links a:hover {
  color: var(--gold-l);
}

/* "All Locations" button in the footer's address block */
.btn-p {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--white);
  padding: 13px 28px;
  border-radius: 50px;
  border: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition:
    background 0.25s,
    transform 0.2s,
    box-shadow 0.25s;
}

.btn-p:hover {
  background: var(--choco-mid);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(226, 50, 125, 0.35);
}

.btn-p:disabled {
  background: var(--gray-mid);
  cursor: not-allowed;
  opacity: 0.6;
  box-shadow: none;
  transform: none;
}

.btn-p:disabled:hover {
  background: var(--gray-mid);
  transform: none;
  box-shadow: none;
}

/* Back to top button */

.bktop {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 99;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gold);
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(226, 50, 125, 0.45);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: all 0.3s;
  cursor: pointer;
}

.bktop.vis {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.bktop svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 1100px) {
  .ftr-g {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .bktop {
    bottom: 95px;
  }

  .ftr {
    padding-bottom: 90px;
  }
}

@media (max-width: 700px) {
  .ftr-g {
    grid-template-columns: 1fr;
  }
}

/* Collapse the main nav into the burger menu below 960px on every page. The design
   had this in its global newstyle.css; in v2 it had only landed in home.css, so every
   inner page overflowed (header icons pushed off-screen) at tablet widths. 960 rather
   than the design's 900 because the full nav doesn't fit between ~900 and ~940px. */
@media (max-width: 960px) {
  .main-nav {
    display: none;
  }

  .burger {
    display: flex;
  }
}
