/* ============================================================
   TERMS PAGE (terms.html) styles
   Auto-split from the original single css/style.css
   ============================================================ */


* {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

:root {
  --green: #6B3410;
  --green2: #8A4515;
  --lime: #E0803D;
  --lime2: #F0A868;
  --cream: #FFF8F0;
  --text: #2E1B0E;
  --muted: #8A7058;
  --line: #EFE2D3
}

html {
  scroll-behavior: smooth
}

body {
  font-family: "Nunito Sans", Arial, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
  font-size: 17px
}

a {
  text-decoration: none;
  color: inherit
}

button {
  font: inherit;
  border: 0;
  cursor: pointer
}

.container {
  width: min(1160px, 92%);
  margin: auto
}

.topbar {
  background: var(--green);
  color: #F5E4CE;
  font-size: 16px
}

.topbar-inner {
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between
}

.header {
  height: 86px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 30
}

.header .container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 5px
}

.nav {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 35px
}

.brand {
  display: flex;
  align-items: center;
  width: 205px
}

.brand img {
  width: 100%;
  height: auto;
  display: block
}

#mainNav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto
}

#mainNav a {
  font-size: 20px;
  font-weight: bolder;
  color: #4A3524;
  transition: .2s
}

#mainNav a:hover {
  color: var(--green2)
}

.cart-btn {
  background: var(--green);
  color: #fff;
  border-radius: 999px;
  padding: 11px 15px;
  display: flex;
  gap: 8px;
  align-items: center;
  font-weight: 700;
  font-size: 16px
}

.cart-btn b {
  background: var(--lime);
  color: #4A2A12;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  line-height: 1;
  padding: 0;
  box-sizing: border-box;
  text-align: center
}

.menu-toggle {
  display: none;
  background: #F5EBDC;
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 25px
}

h1,
h2 {
  font-family: "Merriweather", Georgia, serif
}

h1 {
  font-size: clamp(65px, 6vw, 95px);
  line-height: .98;
  letter-spacing: -2px;
  color: var(--green);
  margin-bottom: 22px
}

h1 span {
  color: #D9691F
}

.eyebrow {
  font-size: 15px;
  letter-spacing: 2px;
  font-weight: 900;
  color: #C9531E
}

.cta .eyebrow {
  color: #F0A868
}

footer {
  background: #3A2415;
  color: #D9C3A8;
  padding: 24px 0
}

footer .container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 5px
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px
}

.footer-inner img {
  width: 165px;
  background: #fff;
  border-radius: 14px;
  padding: 8px 12px
}

.footer-inner p,
.footer-inner a {
  font-size: 15px
}

.footer-inner a {
  color: #F0A868;
  font-weight: 700
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding-top: 14px;
  margin-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .1)
}

.footer-links a {
  font-size: 15px;
  color: #D9C3A8;
  font-weight: 500
}

.footer-links a:hover {
  color: #F0A868
}

.footer-links span {
  color: #8A6A4A;
  font-size: 15px
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .38);
  opacity: 0;
  visibility: hidden;
  transition: .25s;
  z-index: 50
}

.overlay.show {
  opacity: 1;
  visibility: visible
}

.cart-panel {
  position: fixed;
  right: 0;
  top: 0;
  width: min(420px, 94vw);
  height: 100vh;
  background: #fff;
  z-index: 60;
  transform: translateX(100%);
  transition: .3s;
  display: flex;
  flex-direction: column;
  box-shadow: -15px 0 50px rgba(0, 0, 0, .12)
}

.cart-panel.open {
  transform: translateX(0)
}

.cart-head {
  padding: 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center
}

.cart-head h3 {
  font-family: "Merriweather", Georgia, serif;
  color: var(--green);
  font-size: 34px
}

.cart-head button {
  background: #F5EBDC;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 20px;
  color: #8A7058;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0;
  cursor: pointer
}

.cart-items {
  padding: 20px;
  overflow: auto;
  flex: 1
}

.empty-cart {
  text-align: center;
  padding: 70px 20px;
  color: #9C8268
}

.empty-cart>span {
  font-size: 51px;
  display: block;
  margin-bottom: 12px
}

.empty-cart b {
  display: block;
  color: var(--green);
  font-size: 20px
}

.empty-cart p {
  font-size: 16px;
  margin-top: 5px
}

.cart-row {
  display: grid;
  grid-template-columns: 62px 1fr auto;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 13px 0
}

.cart-thumb {
  width: 62px;
  height: 55px;
  border-radius: 10px;
  background: #FCEBD9;
  overflow: hidden
}

.cart-thumb img {
  width: 145%;
  height: 145%;
  object-fit: contain
}

.cart-row b {
  display: block;
  font-size: 16px;
  color: var(--green)
}

.cart-row small {
  font-size: 15px;
  color: #9C8268
}

.qty {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 6px
}

.qty button {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #FBE9D3;
  color: #A8560F;
  font-weight: 900
}

.qty span {
  font-size: 16px;
  font-weight: 800
}

.remove {
  font-size: 15px;
  color: #b45345;
  margin-top: 4px;
  background: none
}

.cart-foot {
  padding: 20px;
  border-top: 1px solid var(--line);
  background: #FFFBF5
}

.subtotal {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  margin-bottom: 14px
}

.subtotal strong {
  color: var(--green);
  font-size: 25px
}

.checkout {
  width: 100%;
  background: var(--green);
  color: #fff;
  padding: 14px;
  border-radius: 11px;
  font-weight: 800;
  display: block;
  text-align: center
}

.cart-foot small {
  display: block;
  text-align: center;
  color: #9C8268;
  font-size: 15px;
  margin-top: 8px
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 20px);
  background: var(--green);
  color: #fff;
  padding: 11px 17px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transition: .25s;
  z-index: 100
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0)
}

.whatsapp-float {
  position: fixed;
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  right: 22px;
  bottom: 22px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 90;
  transition: transform .2s;
  animation: wa-vibrate 2.5s ease-in-out infinite
}

.whatsapp-float svg {
  width: 64px;
  height: 64px
}

.whatsapp-float:hover {
  animation-play-state: paused;
  transform: translateY(-3px) scale(1.05)
}

/* "Chat with us" tooltip, shown on hover (pointer devices) */
.whatsapp-float::after {
  content: "Chat with us";
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%);
  background: #2E1B0E;
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s, visibility .2s;
  z-index: 91
}

.whatsapp-float::before {
  content: "";
  position: absolute;
  right: calc(100% + 4px);
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: #2E1B0E;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s, visibility .2s;
  z-index: 91
}

.whatsapp-float:hover::after,
.whatsapp-float:hover::before {
  opacity: 1;
  visibility: visible
}

/* Gentle periodic vibrate/shake to draw the eye, pauses on hover above */
@keyframes wa-vibrate {
  0%, 88%, 100% { transform: translate(0, 0) rotate(0deg) }
  89% { transform: translate(-2px, 0) rotate(-6deg) }
  90.5% { transform: translate(2px, 0) rotate(6deg) }
  92% { transform: translate(-2px, 0) rotate(-5deg) }
  93.5% { transform: translate(2px, 0) rotate(5deg) }
  95% { transform: translate(-1px, 0) rotate(-3deg) }
  96.5% { transform: translate(1px, 0) rotate(3deg) }
  98%, 100% { transform: translate(0, 0) rotate(0deg) }
}

.overlay.show~.whatsapp-float {
  opacity: 0;
  visibility: hidden;
  pointer-events: none
}

@media(max-width:680px) {
  .whatsapp-float {
    width: 78px;
    height: 78px;
    right: 16px;
    bottom: 16px
  }

  .whatsapp-float svg {
    width: 54px;
    height: 54px
  }
}

@media(max-width:920px) {
  .header {
    height: auto;
    padding: 14px 0
  }

  .nav {
    height: auto;
    flex-wrap: wrap;
    row-gap: 12px
  }

  .brand {
    order: 1
  }

  .cart-btn {
    order: 2;
    margin-left: auto
  }

  .menu-toggle {
    display: block;
    order: 3;
    margin-left: 0;
    width: 44px
  }

  .account-area {
    order: 4;
    margin-left: auto
  }

  #mainNav {
    order: 5;
    position: absolute;
    top: 100%;
    left: 4%;
    right: 4%;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    box-shadow: 0 15px 30px rgba(0, 0, 0, .08)
  }

  #mainNav.show {
    display: flex
  }

  #mainNav a {
    padding: 12px;
    border-radius: 8px
  }

  .cart-btn span:nth-child(2) {
    display: none
  }
}

@media(max-width:680px) {
  .topbar-inner span:last-child {
    display: none
  }

  .brand {
    width: 170px
  }

  .cart-btn {
    padding: 9px 10px
  }

  .cart-btn span:nth-child(2) {
    display: none
  }

  h1 {
    font-size: 58px
  }

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

  .footer-inner img {
    width: 145px
  }
}

/* ===== Inner pages ===== */
.inner-hero {
  background: linear-gradient(135deg, #FFF6EA, #FDEEDD);
  padding: 72px 0 65px;
  text-align: center;
  border-bottom: 1px solid #EFE2D3
}

.inner-hero .eyebrow {
  display: inline-block
}

.inner-hero h1 {
  font-size: clamp(51px, 6vw, 81px);
  letter-spacing: -1.5px;
  margin: 9px 0 13px
}

.inner-hero p {
  max-width: 650px;
  margin: auto;
  color: #8A7058;
  font-size: 18px
}

.breadcrumb {
  font-size: 15px;
  color: #9C8268;
  margin-top: 16px
}

.breadcrumb a {
  color: #C9531E;
  font-weight: 700
}

.page-section {
  padding: 75px 0
}

/* Legal / Terms page */
.legal-content {
  max-width: 820px;
  margin: 0 auto
}

.legal-content .updated {
  color: #9C8268;
  font-size: 15px;
  margin-bottom: 8px
}

.legal-content h2 {
  color: var(--green);
  font-size: 32px;
  margin: 40px 0 6px;
  font-family: "Merriweather", Georgia, serif
}

.legal-content h2:first-of-type {
  margin-top: 20px
}

.legal-content h3 {
  color: #6B3410;
  font-size: 20px;
  margin: 22px 0 6px
}

.legal-content p,
.legal-content li {
  color: #8A7058;
  font-size: 18px;
  line-height: 1.8
}

.legal-content ul {
  padding-left: 20px;
  margin: 8px 0
}

.legal-content li {
  margin-bottom: 4px
}

@media(max-width:680px) {
  .inner-hero {
    padding: 55px 0 48px
  }

  .page-section {
    padding: 60px 0
  }
}

/* ---------- Account / Login area in header ---------- */
.account-area {
  position: relative;
  display: flex;
  align-items: center
}

.account-link {
  display: flex;
  align-items: center;
  gap: 7px;
  background: #F5EBDC;
  color: var(--green);
  border-radius: 999px;
  padding: 11px 16px;
  font-weight: 700;
  font-size: 14px;
  transition: .2s
}

.account-link:hover {
  background: #F0DABE
}

.account-icon {
  font-size: 15px
}

.account-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #F5EBDC;
  border-radius: 999px;
  padding: 7px 14px 7px 7px;
  cursor: pointer;
  user-select: none
}

.account-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800
}

.account-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--green)
}

.account-caret {
  font-size: 11px;
  color: #8A7058
}

.account-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, .10);
  min-width: 210px;
  padding: 8px;
  display: none;
  z-index: 40
}

.account-dropdown.show {
  display: block
}

.account-dropdown-head {
  padding: 10px 12px 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px
}

.account-dropdown-head b {
  display: block;
  font-size: 14px;
  color: var(--green)
}

.account-dropdown-head small {
  font-size: 12px;
  color: #9C8268;
  word-break: break-all
}

.account-dropdown button {
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 700;
  color: #b45345;
  background: none
}

.account-dropdown button:hover {
  background: #FBEAE6
}

.account-dropdown-link {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 700;
  color: var(--green);
  text-decoration: none;
  margin-bottom: 4px
}

.account-dropdown-link:hover {
  background: #FBEAE6
}

@media(max-width:680px) {
  .account-link span:last-child {
    display: none
  }

  .account-name {
    display: none
  }

  .account-chip {
    padding: 7px
  }
}

.auth-tab.active {
  background: var(--green);
  color: #fff
}

.auth-panel.active {
  display: block
}

.auth-error.show {
  display: block
}

/* ---------- My Account Dashboard ---------- */
.account-avatar {
  overflow: hidden
}

.account-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%
}

.account-tab.active {
  background: var(--green);
  color: #fff
}

.account-panel.active {
  display: block
}

.track-modal.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%)
}