
/* =====================================================
   ONAKE MASALAS — COMPLETE WEBSITE STYLESHEET
   Theme: Ivory + Gold
   Framework: Bootstrap 5
   ===================================================== */

/* ---------- 1. THEME ---------- */

:root {
  --ivory: #f8f1e3;
  --ivory-light: #fffdf8;
  --ivory-dark: #efe3cc;

  --gold: #c28b16;
  --gold-light: #e0b64d;
  --gold-dark: #8b650b;

  --white: #ffffff;
  --line: #e6d6b6;

  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Mulish", system-ui, sans-serif;
  --font-kn: "Noto Sans Kannada", "Nirmala UI", sans-serif;

  --bs-body-font-family: var(--font-body);
  --bs-body-color: var(--gold-dark);
  --bs-body-bg: var(--ivory);
  --bs-link-color: var(--gold-dark);
  --bs-link-hover-color: var(--gold);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 150px;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--gold-dark);
  font-family: var(--font-body);
  line-height: 1.65;
}

h1,
h2,
h3,
.brand-en,
.footer-brand {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--gold-dark);
}

.kn {
  font-family: var(--font-kn);
}

a {
  color: var(--gold-dark);
}

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

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.narrow {
  max-width: 760px;
  margin-inline: auto;
}


/* ---------- 2. BUTTONS ---------- */

.btn {
  font-weight: 700;
  border-radius: 6px;
  transition: background-color 0.2s ease,
              color 0.2s ease,
              border-color 0.2s ease;
}

.btn-maroon,
.btn-turmeric {
  background: var(--gold);
  color: var(--ivory-light);
  border: 2px solid var(--gold);
}

.btn-maroon:hover,
.btn-maroon:focus,
.btn-turmeric:hover,
.btn-turmeric:focus {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white);
}


/* ---------- 3. HEADER ---------- */

.site-header {
  position: relative;
  z-index: 1030;
  background: var(--ivory);
  border-bottom: 3px solid var(--gold);
}

/* Main header row */

.site-header > .container > .row {
  min-height: 136px;
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}

/* Brand link */

.brand {
  min-width: 0;
  gap: 0;
}

/* Official logo */

.brand-logo {
  display: block;
  width: 112px;
  height: 112px;
  object-fit: contain;
  flex-shrink: 0;
  margin-right: 14px;
  border-radius: 12px;
  background: var(--ivory-light);
}

/* Brand text */

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.brand-en {
  color: var(--gold);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  line-height: 1.3;
  white-space: nowrap;
}

.brand-kn {
  color: var(--gold-dark);
  font-size: 1.1rem;
  line-height: 1.6;
  white-space: nowrap;
}

/* Search */

.search-form {
  display: flex;
  width: 100%;
  min-height: 46px;
  border: 2px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--ivory-light);
}

.search-form:focus-within {
  border-color: var(--gold);
}

.search-form .form-control {
  min-width: 0;
  border: 0;
  border-radius: 0;
  background: var(--ivory-light);
  color: var(--gold-dark);
  box-shadow: none;
  padding: 10px 14px;
}

.search-form .form-control::placeholder {
  color: var(--gold-dark);
  opacity: 0.8;
}

.search-form .btn {
  min-width: 44px;
  border: 0;
  border-radius: 0;
  background: var(--gold);
  color: var(--ivory-light);
}

/* Header actions */

.header-actions {
  gap: 6px !important;
}

.icon-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 7px;
  border: 0;
  background: transparent;
  color: var(--gold-dark);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.icon-link:hover,
.icon-link:focus {
  color: var(--gold);
}

.icon-link .bi {
  font-size: 1.4rem;
}

.count-badge {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--gold);
  color: var(--white);
  font-size: 0.7rem;
  line-height: 18px;
  text-align: center;
}

.count-badge[hidden] {
  display: none !important;
}

/* Navigation */

.main-nav {
  background: var(--ivory);
  border-top: 1px solid var(--line);
}

.main-nav .container {
  gap: 2.5rem !important;
}

.main-nav a {
  display: inline-block;
  padding: 12px 8px;
  border-bottom: 3px solid transparent;
  color: var(--gold-dark);
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a.active {
  border-bottom-color: var(--gold);
  color: var(--gold);
}


/* ---------- 4. HERO CAROUSEL ---------- */

/*
   Important:
   Do not set display:flex on every .hero-slide.
   Bootstrap must hide inactive carousel items.
*/

#hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--ivory);
}

#hero .carousel-inner {
  width: 100%;
  overflow: hidden;
}

#hero .hero-slide {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  background-color: var(--ivory);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--gold-dark);
}

/* Your three banner images */
#hero .hero-1 {
  background-image: url("/static/images/banner1.png");
}

#hero .hero-2 {
  background-image: url("/static/images/banner2.png");
}

#hero .hero-3 {
  background-image: url("/static/images/banner3.png");
}

/* Soft ivory overlay so text stays readable */

#hero .hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 245, 222, 0.96) 0%,
    rgba(255, 245, 222, 0.88) 30%,
    rgba(255, 245, 222, 0.55) 45%,
    rgba(255, 245, 222, 0.05) 68%,
    transparent 100%
  );
  pointer-events: none;
}


/* Keep slide content inside each slide */
#hero .hero-content {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  max-width: 1140px;
  min-height: 480px;
  padding: 4rem 1.5rem;
}

#hero .hero-content > * {
  max-width: 640px;
}

#hero .hero-slide h1,
#hero .hero-slide h2 {
  position: relative;
  margin: 0 0 1rem;
  color: var(--gold-dark);
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  overflow-wrap: break-word;
}

#hero .hero-slide .display-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

#hero .hero-slide .hero-kn {
  margin: 0 0 1.5rem;
  color: var(--gold-dark);
  font-family: var(--font-kn);
  font-size: clamp(1rem, 2vw, 1.3rem);
  line-height: 1.8;
}

#hero .hero-slide .btn {
  position: relative;
  z-index: 2;
  display: inline-block;
  margin: 0 0.5rem 0.5rem 0;
}

/* Carousel controls */
#hero .carousel-control-prev,
#hero .carousel-control-next {
  z-index: 5;
  width: 8%;
}

#hero .carousel-control-prev-icon,
#hero .carousel-control-next-icon {
  filter: brightness(0) saturate(100%)
    invert(49%) sepia(83%) saturate(541%)
    hue-rotate(8deg) brightness(92%);
}

#hero .carousel-indicators {
  z-index: 6;
}

#hero .carousel-indicators [data-bs-target] {
  background-color: var(--gold);
}

/* Mobile layout */
@media (max-width: 991.98px) {
  #hero .hero-slide,
  #hero .hero-content {
    min-height: 440px;
  }
}

@media (max-width: 575.98px) {
  #hero .hero-slide,
  #hero .hero-content {
    min-height: 400px;
  }

  #hero .hero-content {
    padding: 3rem 1.5rem;
  }

  #hero .hero-slide h1,
  #hero .hero-slide h2 {
    font-size: 2rem;
  }

  #hero .hero-slide::before {
    background: rgba(248, 241, 227, 0.82);
  }
}


/* ---------- 5. GENERAL SECTIONS ---------- */

.section {
  padding: 4.5rem 0;
  background: var(--ivory);
}

.section-cream {
  background: var(--ivory-dark);
}

.section-head {
  margin-bottom: 2.5rem;
  text-align: center;
}

.section-head h2,
.section-title {
  color: var(--gold-dark);
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
}

.section-head p {
  margin: 0.25rem 0 0;
  color: var(--gold-dark);
  font-size: 1.1rem;
}

.section-head::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  margin: 0.9rem auto 0;
  border-radius: 2px;
  background: var(--gold);
}

.lead-kn {
  color: var(--gold-dark);
  font-family: var(--font-kn);
  font-size: 1.15rem;
}

.page-hero {
  padding: 3rem 0;
  border-bottom: 4px solid var(--gold);
  background: var(--ivory-dark);
  color: var(--gold-dark);
  text-align: center;
}

.page-hero h1 {
  margin: 0;
  color: var(--gold-dark);
}

.page-hero p {
  color: var(--gold-dark);
  font-size: 1.15rem;
}

.empty-state {
  padding: 3rem 1rem;
  border: 2px dashed var(--line);
  border-radius: 12px;
  text-align: center;
}


/* ---------- 6. PRODUCT CARDS ---------- */

.product-card {
    display: flex;
    flex-direction: column;
    overflow: visible;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--ivory-light);
    transition: box-shadow 0.2s ease,
                transform 0.2s ease;
}

.product-card:hover {
  box-shadow: 0 8px 24px rgba(139, 101, 11, 0.12);
  transform: translateY(-2px);
}

.product-media {
    position: relative;
    overflow: hidden;
    border-radius: 11px 11px 0 0;
    background: var(--ivory-dark);
}

.product-media img {
  display: block;
  width: 100%;
  height: auto;
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1rem;
}

.product-name {
  margin: 0;
  color: var(--gold-dark);
  font-size: 1.05rem;
}

.product-name a {
  color: var(--gold-dark);
  text-decoration: none;
}

.product-name a:hover {
  color: var(--gold);
}

.product-kn {
  margin: 0 0 0.75rem;
  color: var(--gold-dark);
  font-size: 0.95rem;
}

.product-weight {
  color: var(--gold-dark);
  font-size: 0.85rem;
  opacity: 0.85;
}

.product-price {
  color: var(--gold-dark);
  font-size: 1.2rem;
  font-weight: 800;
}

/* Wishlist heart */

.wish-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--ivory-light);
  color: var(--gold-dark);
  box-shadow: 0 2px 6px rgba(139, 101, 11, 0.12);
}

.wish-btn.static {
  position: static;
  border: 2px solid var(--line);
  box-shadow: none;
}

.wish-btn.active {
  background: var(--gold);
  color: var(--white);
}

/* Add to cart and quantity */

.product-actions {
  min-width: 96px;
  text-align: right;
}

.btn-add {
  padding: 0.3rem 1.2rem;
  border: 2px solid var(--gold);
  background: var(--ivory-light);
  color: var(--gold-dark);
}

.btn-add:hover {
  background: var(--gold);
  color: var(--white);
}

.qty-select {
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  background: var(--gold);
  color: var(--white);
}


/* Compact pack-size dropdown */
.weight-select {
    display: inline-block;
    width: 100px;
    min-width: 100px;
    height: 36px;
    padding: 5px 28px 5px 10px;
    border: 1px solid var(--gold);
    border-radius: 6px;
    background-color: var(--ivory-light);
    color: var(--gold-dark);
    font-family: var(--font-body);
    font-size: 0.9rem;
    box-shadow: none;
    cursor: pointer;
    box-sizing: border-box;
}

.weight-select:focus {
    border-color: var(--gold-dark);
    outline: none;
    box-shadow: 0 0 0 2px rgba(194, 139, 22, 0.15);
}

.qty-select button {
  width: 32px;
  height: 34px;
  border: 0;
  background: transparent;
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
}

.qty-select button:hover {
  color: var(--ivory);
}

.qty-value {
  min-width: 26px;
  color: var(--white);
  text-align: center;
  font-weight: 800;
}

.d-none.qty-select {
  display: none !important;
}


/* ---------- 7. WHY ONAKE CARDS ---------- */

.why-card {
  height: 100%;
  padding: 1.75rem 1.4rem;
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: 10px;
  background: var(--ivory-light);
}

.why-card .bi {
  color: var(--gold-dark);
  font-size: 2rem;
}

.why-card h3 {
  margin: 0.6rem 0 0.4rem;
  color: var(--gold-dark);
  font-size: 1.15rem;
}

.why-card p {
  margin: 0;
  color: var(--gold-dark);
  font-size: 0.95rem;
}

/* Traditional process image */

.process-img {
  border: 2px solid var(--gold);
  border-radius: 14px;
}


/* ---------- 8. CUSTOMER REVIEWS ---------- */

.review-card {
  height: 100%;
  margin: 0;
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-left: 5px solid var(--gold);
  border-radius: 10px;
  background: var(--ivory-light);
  box-shadow: 0 4px 16px rgba(139, 101, 11, 0.06);
}

.stars {
  margin-bottom: 0.6rem;
  color: var(--gold);
}

.review-card blockquote {
  margin: 0 0 1rem;
  color: var(--gold-dark);
  font-style: italic;
}

.review-card figcaption {
  color: var(--gold-dark);
  font-size: 0.9rem;
}


/* ---------- 9. CONTACT CTA ---------- */

.cta-band {
  padding: 3.5rem 0;
  background: var(--ivory-dark);
  color: var(--gold-dark);
}

.cta-band h2 {
  color: var(--gold-dark);
}

.cta-band .kn {
  color: var(--gold-dark);
}

.cta-list li {
  padding: 0.2rem 0;
}

.cta-list .bi {
  margin-right: 0.6rem;
  color: var(--gold-dark);
}


/* ---------- 10. FOOTER ---------- */


.site-footer {
  background: #704b08;
  color: #fff2d1;
  border-top: 3px solid #c28b16;
}

.site-footer .footer-brand,
.site-footer .footer-h {
  color: #f3d58a;
}

.site-footer a,
.site-footer p,
.site-footer li {
  color: #fff2d1;
}

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

.site-footer .footer-bottom {
  border-top: 1px solid rgba(255, 242, 209, 0.3);
  color: #fff2d1;
}

.site-footer .social a {
  border-color: rgba(255, 242, 209, 0.4);
}

.footer-logo {
  display: block;
  width: 84px;
  height: 84px;
  object-fit: contain;
  border-radius: 10px;
  background: var(--ivory-light);
}

.footer-brand {
  margin-bottom: 0.5rem;
  color: var(--gold);
  font-size: 1.5rem;
}

.footer-h {
  color: var(--gold-dark);
  font-size: 1rem;
  font-weight: 700;
}

.site-footer a {
  color: var(--gold-dark);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--gold);
}

.site-footer li {
  margin-bottom: 0.4rem;
}

.social a {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  text-align: center;
}


/* ---------- 11. FORMS, CART AND DETAILS ---------- */

.card-form,
.summary-card {
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--ivory-light);
  box-shadow: 0 4px 16px rgba(139, 101, 11, 0.06);
}

.auth-wrap {
  max-width: 460px;
  margin-inline: auto;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.9rem;
}

.contact-list .bi {
  color: var(--gold-dark);
  font-size: 1.2rem;
}

.cart-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.cart-row img {
  border-radius: 8px;
  background: var(--ivory-dark);
}

.cart-name {
  color: var(--gold-dark);
  font-weight: 800;
  text-decoration: none;
}

.cart-sub {
  min-width: 70px;
  text-align: right;
}

.detail-title {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
}

.detail-img {
  border: 1px solid var(--line);
  border-radius: 14px;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 0.2rem rgba(194, 139, 22, 0.2);
}


/* ---------- 12. RESPONSIVE HEADER AND LAYOUT ---------- */

@media (max-width: 1199.98px) {
  .brand-logo {
    width: 90px;
    height: 90px;
  }

  .brand-en {
    font-size: 1.2rem;
  }

  .brand-kn {
    font-size: 1rem;
  }

  .icon-link {
    padding-inline: 5px;
    font-size: 0.9rem;
  }
}

@media (max-width: 991.98px) {
  .site-header > .container > .row {
    min-height: auto;
  }

  .brand-logo {
    width: 72px;
    height: 72px;
    margin-right: 8px;
  }

  .brand-en {
    font-size: 1.05rem;
    letter-spacing: 0;
  }

  .brand-kn {
    font-size: 0.9rem;
  }

  .header-actions {
    gap: 2px !important;
  }

  .main-nav .container {
    gap: 1.5rem !important;
  }

  #hero .hero-content {
    min-height: 460px;
  }

  #hero .hero-slide {
    min-height: 460px;
  }
}

@media (max-width: 575.98px) {
  html {
    scroll-padding-top: 110px;
  }

  .brand-logo {
    width: 50px;
    height: 50px;
    margin-right: 7px;
    border-radius: 7px;
  }

  .brand-en {
    font-size: 0.8rem;
    letter-spacing: 0;
  }

  .brand-kn {
    font-size: 0.72rem;
    line-height: 1.5;
  }

  .icon-link {
    gap: 3px;
    padding: 6px 4px;
  }

  .icon-link .bi {
    font-size: 1.15rem;
  }

  .main-nav .container {
    gap: 1rem !important;
  }

  .main-nav a {
    padding: 9px 4px;
    font-size: 0.9rem;
  }

  #hero .hero-slide,
  #hero .hero-content {
    min-height: 420px;
  }

  #hero .hero-content {
    padding: 3rem 1.5rem;
  }

  #hero .hero-slide h1,
  #hero .hero-slide h2 {
    font-size: 2rem;
  }

  .section {
    padding: 3rem 0;
  }
}


/* ---------- 13. ACCESSIBILITY ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* HEADER SPACING FIX */

@media (min-width: 992px) {
  .site-header > .container > .row {
    min-height: 136px;
    column-gap: 0;
  }

  .site-header > .container > .row > div {
    min-width: 0;
  }

  .site-header .search-form {
    max-width: 360px;
    margin-inline: auto;
  }

  .site-header .header-actions {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px !important;
  }

  .site-header .icon-link {
    padding: 8px 6px;
    gap: 5px;
    font-size: 0.88rem;
  }

  .site-header .icon-link .bi {
    font-size: 1.2rem;
  }
}

@media (max-width: 991.98px) {
  .site-header .header-actions {
    flex-wrap: wrap;
    gap: 4px !important;
  }
}


/* Traditional masala promotional banner below the hero */
.masala-highlight {
  width: 100%;
  background: #704b08;
  color: #fff;
  padding: 20px 16px;
  text-align: center;
}

.masala-highlight-title {
  margin: 0;
  color: #fff;
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 700;
  line-height: 1.5;
}

.masala-highlight-subtitle {
  margin-top: 5px;
  color: #fff2d1;
  font-size: 14px;
  line-height: 1.7;
}

@media (max-width: 576px) {
  .masala-highlight {
    padding: 16px 12px;
  }
}

/* Video inside The Traditional Process section */
.process-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
}


/* Footer text visibility fix */
.site-footer,
.site-footer p,
.site-footer li,
.site-footer span,
.site-footer address,
.site-footer a,
.site-footer .icon-link {
  color: #fff2d1 !important;
}

.site-footer .footer-brand,
.site-footer .footer-h {
  color: #ffe09a !important;
}

.site-footer a:hover {
  color: #ffffff !important;
}

.site-footer .social a {
  color: #ffe09a !important;
  border-color: #c9a45b !important;
}

.site-footer .footer-bottom {
  color: #fff2d1 !important;
  border-top-color: rgba(255, 242, 209, 0.35) !important;
}


/* Registered trademark symbol beside brand name */

.registered-mark {
  display: inline-block;
  font-family: Arial, sans-serif;
  font-size: 0.42em;
  font-weight: 700;
  vertical-align: super;
  line-height: 0;
  margin-left: 3px;
}

@media (max-width: 575.98px) {
  .registered-mark {
    font-size: 0.48em;
    margin-left: 2px;
  }
}

/* Parent company attribution */
.site-footer .company-attribution {
  margin: 6px 0 0;
  color: #fff2d1;
  font-size: 0.82rem;
  text-align: center;
}


/* Sticky bottom cart bar */
.sticky-cart-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 24px;
  background: #fffaf0;
  border-top: 2px solid #c58b18;
  box-shadow: 0 -4px 18px rgba(70, 45, 10, 0.16);
}

.sticky-cart-bar[hidden] {
  display: none !important;
}

.sticky-cart-message,
.sticky-cart-summary,
.sticky-cart-total {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sticky-cart-message {
  min-width: 0;
}

.sticky-cart-check {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e4f3e5;
  color: #278044;
  font-weight: bold;
}

.sticky-cart-message strong,
.sticky-cart-message small {
  display: block;
}

.sticky-cart-message strong {
  color: #493319;
}

.sticky-cart-message small {
  margin-top: 3px;
  color: #78664d;
}

.sticky-cart-total {
  color: #704b08;
  white-space: nowrap;
}

.sticky-cart-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 8px;
  background: #c58b18;
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}

.sticky-cart-button:hover {
  background: #a8710c;
}

@media (max-width: 576px) {
  .sticky-cart-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 10px 14px;
    padding-bottom: max(10px, env(safe-area-inset-bottom));
  }

  .sticky-cart-message {
    padding-bottom: 8px;
    border-bottom: 1px solid #eadcc2;
  }

  .sticky-cart-summary {
    justify-content: space-between;
    gap: 8px;
  }

  .sticky-cart-total {
    gap: 8px;
    font-size: 14px;
  }

  .sticky-cart-button {
    justify-content: center;
    padding: 10px 14px;
  }

  body {
    padding-bottom: 0;
  }

  body:has(.sticky-cart-bar:not([hidden])) {
      padding-bottom: 100px;
  }
}

/* Fix unwanted horizontal spacing on mobile */
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* Account sidebar navigation */
.account-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.account-nav a,
.account-nav-logout {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 14px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--gold-dark);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.account-nav a:hover,
.account-nav-logout:hover {
    background: var(--ivory-dark);
    color: var(--gold);
}

.account-nav form {
    margin: 0;
}