@font-face {
  font-family: "Ubuntu";
  src: url("/font/Ubuntu-Regular.ttf") format("truetype");
}

:root {
  /* Homepage-aligned shop theme: cream surfaces, forest green, gold accent */
  --primary_bg: #F3EEE4;
  --primary: #31501D;
  --primary_light: #5A7F33;
  --secondary: #1B3A23;
  --secondary_dark: #132A19;
  --font_color: #171A16;
  --white: #FFFEFB;
  --logoHeight: 0px;
  --marqueeHeight: 0px;
  --chrome-header-h: 52px;
  --primary_green: #31501D;
  --secondary_gree: #5A7F33;
  --light_green: #8CB03F;
  --dark_green: #0B1710;
  --gold: #C6A24A;
  --muted: #6C6E64;
  --brand-rgb: 49, 80, 29;
  --forest-rgb: 27, 58, 35;

  /* Typography scale */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: 1.0625rem;
  --text-lg: 1.125rem;
  --heading-subsection: clamp(1.25rem, 2.5vw, 1.5rem);
  --heading-section: clamp(1.5rem, 3vw, 2rem);
  --heading-hero: clamp(2rem, 5vw, 2.75rem);
  --leading-body: 1.65;
}

/* TAKE NOTE Set Active Color */
/* APPLY TO OTHER PAGE */
/* header a.homeNav{color: var(--primary);} */

body::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  background-color: #F5F5F5;
}

body::-webkit-scrollbar {
  width: 6px;
  background-color: #F5F5F5;
}

body::-webkit-scrollbar-thumb {
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: var(--primary);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Site-wide: hide mouse-click focus rings; keep keyboard focus visible */
:focus:not(:focus-visible) {
  outline: none;
  box-shadow: none;
}

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

button:focus,
.btn:focus,
.btn:active:focus,
.btn.active:focus,
a:focus,
a.btn:focus,
.page-link:focus {
  outline: none;
  box-shadow: none;
}

button:focus-visible,
.btn:focus-visible,
a:focus-visible,
a.btn:focus-visible,
.page-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  box-shadow: none;
}

/* Form fields: usable keyboard focus without Bootstrap's blue glow */
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
.form-control:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 0;
  box-shadow: 0 0 0 0.2rem rgba(var(--brand-rgb), 0.25);
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Ubuntu", system-ui, -apple-system, sans-serif;
  line-height: 1.5;
  color: var(--font_color);
  background: var(--primary_bg);
}

body > header {
  background: transparent;
  color: inherit;
  text-transform: none;
  position: static;
  top: auto;
  left: auto;
  z-index: auto;
}

body > header .navbar-brand img {
  height: var(--logoHeight);
}

.marquee-container {
  overflow: hidden;
  width: 100%;
  height: var(--marqueeHeight);
  background: var(--secondary_dark);
  color: #F0EDE4;
  display: flex;
  align-items: center;
  text-transform: none;
}

.marquee-content {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  animation: marquee-scroll 18s linear infinite;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.header-left {
  justify-self: start;
}

.header-center {
  justify-self: center;
}

.header-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  text-decoration: none;
  white-space: nowrap;
}

.header-action-btn ion-icon {
  font-size: 1.65rem;
  vertical-align: middle;
}

.header-signin-label {
  display: none;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.header-account {
  position: relative;
}

.header-account > summary {
  list-style: none;
  cursor: pointer;
}

.header-account > summary::-webkit-details-marker,
.header-account > summary::marker {
  display: none;
  content: "";
}

.header-account__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  min-width: 220px;
  padding: 0.5rem 0;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(27, 58, 35, 0.16);
  text-transform: none;
  z-index: 20;
}

.header-account__name {
  margin: 0;
  padding: 0.4rem 1rem 0.65rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--secondary);
  border-bottom: 1px solid rgba(27, 58, 35, 0.12);
}

.header-account__menu a,
.header-account__menu button {
  display: block;
  width: 100%;
  padding: 0.55rem 1rem;
  border: 0;
  background: none;
  color: var(--font_color);
  font-size: 0.875rem;
  font-weight: 500;
  text-align: left;
  text-decoration: none;
  text-transform: none;
  cursor: pointer;
}

.header-account__menu a:hover,
.header-account__menu button:hover {
  background: var(--primary_bg);
  color: var(--font_color);
}

.header-mobile-account {
  border-top: 1px solid rgba(27, 58, 35, 0.18);
  margin-top: 0.35rem;
  padding: 0.35rem 0 0.75rem;
}

.header-mobile-signout {
  width: 100%;
  background: none;
  border: 0;
  text-align: left;
}

@media (min-width: 769px) {
  .header-signin-label {
    display: inline;
  }

  .header-action-btn--signin,
  .header-account > summary.header-action-btn {
    width: auto;
    gap: 0.35rem;
    padding: 0 0.9rem;
  }
}

body > header .navbar-brand {
  display: inline-block;
  margin: 0;
  padding: 0;
}

body > header .nav-link {
  color: var(--font_color);
  font-weight: 500;
  font-size: 0.85rem;
  padding-left: 0.65rem;
  padding-right: 0.65rem;
  cursor: pointer;
}

body > header .nav-link:hover {
  color: var(--primary);
}

body > header .nav-link.active {
  color: var(--primary);
}

body > header .btn-pill {
  background-color: var(--white);
  border-radius: 50px;
  border: 0;
  color: var(--font_color);
}

body > header .btn-pill:hover {
  background-color: var(--font_color);
  color: var(--white);
}

body > header a.btn-pill.header-cart-btn {
  background-color: var(--primary);
  color: var(--white);
}

body > header a.btn-pill.header-cart-btn:hover {
  background-color: var(--primary_light);
  color: var(--white);
}

body > header .btn-pill ion-icon {
  font-size: 1.2em;
  vertical-align: middle;
}

body > header .dropdown-item:hover {
  background-color: var(--white);
  color: var(--font_color);
}

body > header .navbar-toggler {
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
}

body > header .navbar-toggler ion-icon {
  font-size: 2.5em;
  color: var(--font_color);
}

@media (max-width: 768px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .header-center {
    display: none;
  }

  header .navbar-toggler {
    font-size: 1rem;
  }
}

.page-content {
  flex: 1;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  min-height: 60vh;
  padding: calc(var(--logoHeight) + var(--marqueeHeight) + 3rem) 1rem 2rem;
}

footer {
  background: var(--primary_bg);
  border-top: 1px solid rgba(27, 58, 35, 0.2);
  color: var(--font_color);
  margin-top: auto;
}

.site-footer__main {
  padding: 3rem 1rem 2rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 2fr;
  gap: 2rem 2.5rem;
  align-items: start;
}

.site-footer__brand-col {
  max-width: 260px;
}

.site-footer__brand {
  display: inline-block;
  margin-bottom: 1rem;
}

.site-footer__logo {
  max-width: 110px;
  height: auto;
  display: block;
}

.site-footer__tagline {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--secondary);
}

.site-footer__heading {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary_dark);
}

.site-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__links li + li {
  margin-top: 0.625rem;
}

.site-footer__links a,
.site-footer__region-meta a {
  color: var(--font_color);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__links a:hover,
.site-footer__region-meta a:hover {
  color: var(--primary);
}

.site-footer__regions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.site-footer__region {
  background: var(--white);
  border: 1px solid rgba(27, 58, 35, 0.12);
  border-radius: 12px;
  padding: 1rem 1.125rem;
}

.site-footer__country-badge {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: #E9E3D5;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-footer__region-name {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--secondary_dark);
}

.site-footer__region-address,
.site-footer__region-meta {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.55;
  color: var(--secondary);
}

.site-footer__region-meta + .site-footer__region-meta,
.site-footer__region-address + .site-footer__region-meta {
  margin-top: 0.35rem;
}

.site-footer__region-meta a {
  font-weight: 600;
}

.site-footer__bottom {
  border-top: 1px solid rgba(27, 58, 35, 0.15);
  background: rgba(255, 255, 255, 0.45);
}

.site-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1rem;
}

.site-footer__social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  color: var(--font_color);
  text-decoration: none;
  border: 1px solid rgba(27, 58, 35, 0.12);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.site-footer__social a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.site-footer__social i {
  font-size: 1.125rem;
}

.site-footer__copy {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--secondary);
  text-align: right;
}

@media (max-width: 991px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
  }

  .site-footer__brand-col {
    max-width: none;
    grid-column: 1 / -1;
    text-align: center;
  }

  .site-footer__brand {
    margin-left: auto;
    margin-right: auto;
  }

  .site-footer__tagline {
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }

  .site-footer__regions-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .site-footer__main {
    padding: 2.5rem 1rem 1.5rem;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .site-footer__regions {
    grid-template-columns: 1fr;
  }

  .site-footer__bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  .site-footer__copy {
    text-align: center;
  }
}
