:root {
  --brand-brown: #6B4423;
  --brand-brown-dark: #4A2E17;
  --brand-brown-light: #8B5A2B;
  --brand-orange: #F5A623;
  --brand-orange-dark: #DB8F12;
  --brand-red: #E8262B;
  --brand-cream: #FFF8EE;
  --ink: #2B2320;
}

html {
  font-size: 15px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: #fbfaf8;
  margin-bottom: 60px;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.15rem #fff, 0 0 0 0.3rem rgba(245, 166, 35, 0.45);
}

/* ---------- Mobile bottom tab bar ---------- */
@media (max-width: 991.98px) {
  body { padding-bottom: 64px; margin-bottom: 0; }
}
.mobile-tabbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1040;
  background: #fff;
  border-top: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 -4px 16px rgba(0,0,0,.06);
  display: flex;
  justify-content: space-around;
  padding: .35rem 0 max(.35rem, env(safe-area-inset-bottom));
}
.mobile-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .1rem;
  font-size: .65rem;
  color: #8a8a8a;
  text-decoration: none;
  padding: .25rem .4rem;
  flex: 1;
  text-align: center;
}
.mobile-tab-icon { font-size: 1.2rem; position: relative; }
.mobile-tab.active { color: var(--brand-orange-dark); font-weight: 600; }
.mobile-tab-badge {
  position: absolute;
  top: -6px; right: -10px;
  background: var(--brand-red);
  color: #fff;
  font-size: .6rem;
  font-weight: 700;
  min-width: 15px;
  height: 15px;
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 3px;
}

/* ---------- Top bar ---------- */
.topbar {
  background: var(--brand-brown-dark);
  color: #f0e2cf;
  font-size: .8rem;
  padding: .4rem 0;
}

/* ---------- Sub navigation ---------- */
.subnav {
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.subnav a {
  display: inline-block;
  padding: .55rem .9rem;
  color: var(--brand-brown-dark);
  text-decoration: none;
  font-size: .85rem;
  font-weight: 500;
}
.subnav a:hover { color: var(--brand-orange); }

/* ---------- Navbar ---------- */
.bg-success {
  background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-orange-dark) 100%) !important;
}
.navbar.bg-success {
  position: sticky;
  top: 0;
  z-index: 1030;
}

/* ---------- Section headings ---------- */
.section-title {
  font-weight: 700;
  font-size: 1.5rem;
  padding-left: .9rem;
  border-left: 5px solid var(--brand-orange);
  line-height: 1.15;
}

.navbar-brand img {
  height: 42px;
  width: auto;
}

.navbar .nav-link {
  font-weight: 500;
  position: relative;
}

.navbar.navbar-dark .nav-link,
.navbar.navbar-dark .navbar-nav .btn-link.nav-link {
  color: #fff !important;
}

.navbar.navbar-dark .nav-link:hover {
  color: var(--brand-brown-dark) !important;
}
.navbar.navbar-dark .btn-link.nav-link {
  color: rgba(255,255,255,.9) !important;
  text-decoration: none;
}
.navbar.navbar-dark .btn-link.nav-link:hover { color: var(--brand-brown-dark) !important; }

.navbar .badge.bg-warning {
  background: var(--brand-red) !important;
  color: #fff !important;
  font-size: .65rem;
  vertical-align: top;
}

/* ---------- Buttons (brand = orange) ---------- */
.btn-success {
  color: #fff;
  background-color: var(--brand-orange);
  border-color: var(--brand-orange);
  font-weight: 600;
  border-radius: .6rem;
  transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease;
}
.btn-success:hover,
.btn-check:focus + .btn-success, .btn-success:focus {
  background-color: var(--brand-orange-dark);
  border-color: var(--brand-orange-dark);
  color: #fff;
  box-shadow: 0 6px 16px rgba(245, 166, 35, 0.35);
  transform: translateY(-1px);
}

.btn-outline-success {
  color: var(--brand-brown);
  border-color: var(--brand-brown);
  border-radius: .6rem;
  font-weight: 500;
}
.btn-outline-success:hover, .btn-outline-success:focus {
  background-color: var(--brand-brown);
  border-color: var(--brand-brown);
  color: #fff;
}

.text-success { color: var(--brand-brown) !important; }
.border-success { border-color: var(--brand-brown) !important; }

.list-group-item.active {
  background-color: var(--brand-brown) !important;
  border-color: var(--brand-brown) !important;
}

/* ---------- Hero ---------- */
.hero-brand {
  background: linear-gradient(120deg, var(--brand-brown) 0%, var(--brand-brown-light) 55%, var(--brand-orange) 130%);
  color: #fff;
  border-radius: 1.25rem;
  padding: 3.5rem 2rem;
  position: relative;
  overflow: hidden;
}
.hero-brand::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 260px;
  height: 260px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
}
.hero-brand h1 { font-weight: 700; letter-spacing: -.5px; }
.hero-brand .btn-light {
  border-radius: .6rem;
  font-weight: 600;
  color: var(--brand-brown-dark);
}
.hero-brand .btn-light:hover {
  background-color: var(--brand-orange);
  color: #fff;
}

/* ---------- Category pills ---------- */
.category-pill {
  border: 1.5px solid var(--brand-brown);
  color: var(--brand-brown);
  border-radius: 999px;
  padding: .45rem .9rem;
  font-size: .85rem;
  font-weight: 500;
  display: inline-block;
  background: #fff;
  transition: all .15s ease;
}
.category-pill:hover, .category-pill.active {
  background: var(--brand-brown);
  color: #fff;
  text-decoration: none;
}

/* ---------- Banner carousel ---------- */
.banner-carousel {
  border-radius: 1.1rem;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(107,68,35,.16);
}
.banner-carousel .carousel-item {
  position: relative;
}
.banner-carousel .carousel-indicators button {
  background-color: var(--brand-orange);
  width: 8px; height: 8px; border-radius: 50%;
}

/* ---------- Composed product banner slides ---------- */
.banner-slide {
  position: relative;
  height: 360px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0 2.5rem;
}
.banner-slide-tea {
  background: linear-gradient(120deg, var(--brand-brown-dark) 0%, var(--brand-brown) 55%, var(--brand-orange) 140%);
}
.banner-slide-jam {
  background: linear-gradient(120deg, #7a1f1f 0%, var(--brand-red) 55%, var(--brand-orange) 140%);
}
.banner-slide::before {
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
}
.banner-slide::after {
  content: "";
  position: absolute;
  right: 120px; bottom: -90px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
}
.banner-slide-text {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 420px;
}
.banner-slide-text h3 {
  font-weight: 700;
  font-size: 1.6rem;
  margin: .5rem 0 .6rem;
  text-shadow: 0 2px 10px rgba(0,0,0,.25);
}
.banner-slide-text p {
  opacity: .92;
  margin-bottom: 1rem;
  font-size: .92rem;
}
.banner-slide-products {
  position: absolute;
  right: 2rem;
  top: 0;
  bottom: 0;
  width: 46%;
  z-index: 1;
}
.banner-slide-products img {
  position: absolute;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 16px 30px rgba(0,0,0,.25);
  object-fit: contain;
  padding: .6rem;
}
.banner-slide-products .bp-1 {
  width: 150px; height: 190px;
  right: 0; top: 50%;
  transform: translateY(-50%) rotate(-4deg);
  z-index: 3;
}
.banner-slide-products .bp-2 {
  width: 130px; height: 165px;
  right: 150px; top: 15%;
  transform: rotate(6deg);
  z-index: 2;
}
.banner-slide-products .bp-3 {
  width: 130px; height: 165px;
  right: 150px; bottom: 8%;
  transform: rotate(-8deg);
  z-index: 2;
}
@media (max-width: 767px) {
  .banner-slide { height: 300px; padding: 0 1.25rem; }
  .banner-slide-products { display: none; }
  .banner-slide-text { max-width: 100%; }
}

.banner-caption {
  position: absolute;
  left: 0; bottom: 0;
  padding: 1.75rem 2rem 2.25rem;
  width: 100%;
  background: linear-gradient(0deg, rgba(43,35,32,.78) 0%, rgba(43,35,32,.35) 55%, rgba(43,35,32,0) 100%);
  color: #fff;
}
.banner-caption-eyebrow {
  display: inline-block;
  background: var(--brand-orange);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .25rem .6rem;
  border-radius: .35rem;
  margin-bottom: .5rem;
}
.banner-caption h3 {
  font-weight: 700;
  margin-bottom: .8rem;
  font-size: 1.4rem;
  text-shadow: 0 2px 8px rgba(0,0,0,.35);
}
.btn-brand-sm {
  background: #fff;
  color: var(--brand-brown-dark);
  border: none;
  border-radius: .5rem;
  padding: .4rem .9rem;
  font-weight: 600;
  font-size: .85rem;
  text-decoration: none;
  display: inline-block;
}
.btn-brand-sm:hover { background: var(--brand-orange); color: #fff; }
@media (max-width: 576px) {
  .banner-carousel img { height: 220px; }
  .banner-caption h3 { font-size: 1.05rem; }
}

/* ---------- Category tiles ---------- */
.category-scroll {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: .9rem;
}
@media (max-width: 991.98px) {
  .category-scroll {
    display: flex;
    overflow-x: auto;
    gap: .7rem;
    padding-bottom: .5rem;
    margin: 0 -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }
  .category-scroll::-webkit-scrollbar { height: 5px; }
  .category-scroll::-webkit-scrollbar-thumb { background: rgba(0,0,0,.15); border-radius: 10px; }
  .category-scroll .category-tile {
    flex: 0 0 110px;
    scroll-snap-align: start;
  }
}
.category-tile {
  display: block;
  text-align: center;
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 1rem;
  padding: 1rem .75rem;
  text-decoration: none;
  color: var(--ink);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  height: 100%;
}
.category-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(107, 68, 35, 0.12);
  border-color: var(--brand-orange);
}
.category-tile img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  margin-bottom: .7rem;
  background: var(--brand-cream);
  border-radius: 50%;
  padding: .6rem;
}
.category-tile:nth-child(6n+2) img { background: #FCE9D8; }
.category-tile:nth-child(6n+3) img { background: #FDEFD3; }
.category-tile:nth-child(6n+4) img { background: #F6E4E1; }
.category-tile:nth-child(6n+5) img { background: #EFE6DC; }
.category-tile:nth-child(6n+6) img { background: #F8ECD9; }
.category-tile-name {
  font-weight: 600;
  font-size: .85rem;
  line-height: 1.2;
  min-height: 2.2em;
}
.category-tile-count {
  font-size: .72rem;
  color: var(--brand-orange-dark);
  font-weight: 500;
}

/* ---------- Perk boxes ---------- */
.perk-box {
  display: flex;
  align-items: center;
  gap: .9rem;
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  height: 100%;
}
.perk-icon {
  font-size: 1.8rem;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-cream);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ---------- WhatsApp support button ---------- */
.whatsapp-support-btn {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  background: linear-gradient(135deg, #25D366 0%, #128C4A 100%);
  color: #fff;
  text-decoration: none;
  padding: .75rem 1.4rem;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
  transition: transform .15s ease, box-shadow .15s ease;
  animation: wa-pulse 2.4s ease-in-out infinite;
}
.whatsapp-support-btn:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(37, 211, 102, 0.45);
}
.whatsapp-support-btn .whatsapp-icon {
  font-size: 1.5rem;
  background: rgba(255,255,255,.2);
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.whatsapp-support-btn strong { display: block; font-size: .95rem; }
.whatsapp-support-btn small { display: block; opacity: .9; font-size: .75rem; font-weight: 400; }
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35); }
  50% { box-shadow: 0 8px 26px rgba(37, 211, 102, 0.6); }
}

/* ---------- Shipping badges (product detail) ---------- */
.shipping-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .8rem;
}
.shipping-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .5rem;
  font-size: .82rem;
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 1rem;
  padding: 1.1rem .7rem;
  box-shadow: 0 3px 10px rgba(43,35,32,.05);
  transition: transform .15s ease, box-shadow .15s ease;
}
.shipping-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(43,35,32,.1);
}
.shipping-badge .fw-bold { font-size: .85rem; color: var(--brand-brown-dark); }
.shipping-badge .text-muted { font-size: .72rem; line-height: 1.3; }
.shipping-badge .icn {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1.4rem;
  color: #fff;
}
.shipping-badge:nth-child(1) .icn { background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-dark)); }
.shipping-badge:nth-child(2) .icn { background: linear-gradient(135deg, var(--brand-brown-light), var(--brand-brown)); }
.shipping-badge:nth-child(3) .icn { background: linear-gradient(135deg, #2e7d32, #1b5e20); }
@media (max-width: 576px) {
  .shipping-badges { grid-template-columns: repeat(3, 1fr); gap: .5rem; }
  .shipping-badge { padding: .8rem .4rem; }
  .shipping-badge .icn { width: 40px; height: 40px; font-size: 1.15rem; }
  .shipping-badge .fw-bold { font-size: .74rem; }
  .shipping-badge .text-muted { display: none; }
}

/* ---------- Cart (card list) ---------- */
.cart-list { display: flex; flex-direction: column; gap: .75rem; }
.cart-card {
  display: flex;
  gap: .8rem;
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 1rem;
  padding: .8rem;
  position: relative;
  box-shadow: 0 2px 8px rgba(0,0,0,.03);
}
.cart-card-img {
  width: 64px; height: 64px;
  object-fit: contain;
  background: var(--brand-cream);
  border-radius: .7rem;
  padding: .3rem;
  flex-shrink: 0;
}
.cart-card-body { flex: 1; min-width: 0; padding-right: 1.6rem; }
.cart-card-name {
  font-weight: 600;
  font-size: .92rem;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.cart-card-price { font-size: .78rem; color: #8a8a8a; }
.cart-card-remove { position: absolute; top: .6rem; right: .6rem; }
.btn-remove {
  border: none;
  background: #f4f0ea;
  color: #a05a3a;
  width: 26px; height: 26px;
  border-radius: 50%;
  font-size: .8rem;
  line-height: 1;
  cursor: pointer;
}
.btn-remove:hover { background: var(--brand-red); color: #fff; }

.cart-summary-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 1rem;
  padding: 1.25rem;
  max-width: 420px;
  margin-left: auto;
  box-shadow: 0 4px 16px rgba(0,0,0,.04);
}
@media (max-width: 767px) {
  .cart-summary-card { max-width: 100%; }
}

/* ---------- Contact tiles ---------- */
.contact-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .3rem;
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 1rem;
  padding: 1.25rem .75rem;
  height: 100%;
  text-decoration: none;
  color: inherit;
  transition: transform .15s ease, box-shadow .15s ease;
}
a.contact-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(107,68,35,.12);
  color: inherit;
}
.contact-tile-icon {
  font-size: 1.6rem;
  width: 52px; height: 52px;
  background: var(--brand-cream);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: .3rem;
}
.contact-tile-wa .contact-tile-icon { background: #e6f9ee; }

/* ---------- Empty state ---------- */
.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  background: #fff;
  border-radius: 1rem;
  border: 1px solid rgba(0,0,0,.06);
}
.empty-state-icon { font-size: 3rem; margin-bottom: .5rem; }

/* ---------- Related products (horizontal scroll on mobile) ---------- */
@media (max-width: 767.98px) {
  .related-scroll {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin: 0 -1rem;
    padding: 0 1rem .5rem;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }
  .related-scroll::-webkit-scrollbar { height: 5px; }
  .related-scroll::-webkit-scrollbar-thumb { background: rgba(0,0,0,.15); border-radius: 10px; }
  .related-scroll > [class*="col-"] {
    flex: 0 0 62%;
    max-width: 62%;
    scroll-snap-align: start;
  }
}

/* ---------- Quantity stepper ---------- */
.qty-stepper {
  display: flex;
  align-items: stretch;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: .5rem;
  overflow: hidden;
  height: 32px;
}
.qty-btn {
  border: none;
  background: var(--brand-cream);
  color: var(--brand-brown-dark);
  width: 30px;
  font-weight: 700;
  font-size: .95rem;
  line-height: 1;
  cursor: pointer;
}
.qty-btn:hover { background: var(--brand-orange); color: #fff; }
.qty-input {
  border: none;
  border-left: 1px solid rgba(0,0,0,.08);
  border-right: 1px solid rgba(0,0,0,.08);
  width: 100%;
  text-align: center;
  font-size: .85rem;
  -moz-appearance: textfield;
}
.qty-input::-webkit-outer-spin-button, .qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none; margin: 0;
}

/* ---------- Product cards ---------- */
.product-card {
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 1rem;
  overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease;
  background: #fff;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(107, 68, 35, 0.15);
}
.product-card .card-img-top {
  transition: transform .25s ease;
  background: var(--brand-cream);
}
.product-card:hover .card-img-top {
  transform: scale(1.04);
}
.discount-ribbon {
  position: absolute;
  top: .6rem;
  left: .6rem;
  background: var(--brand-red);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  padding: .2rem .55rem;
  border-radius: .4rem;
  z-index: 2;
}
.price-current { color: var(--brand-brown-dark); font-weight: 700; }
.price-current.on-sale { color: var(--brand-red); }

/* ---------- Footer ---------- */
footer.footer {
  background: var(--brand-brown-dark) !important;
  color: #e9dfd3 !important;
}
footer.footer a {
  color: #f5d7a8;
  text-decoration: none;
}
footer.footer a:hover { color: var(--brand-orange); }
footer.footer .footer-heading {
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
  margin-bottom: .9rem;
}
footer.footer ul li { margin-bottom: .45rem; }

/* ---------- Admin: campaign product picker ---------- */
.product-picker-group-header {
  background: #f4f0ea;
  padding: .4rem .8rem;
  font-weight: 700;
  font-size: .8rem;
  position: sticky;
  top: 0;
}
.product-picker-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .4rem .8rem;
  cursor: pointer;
  font-size: .85rem;
  border-bottom: 1px solid rgba(0,0,0,.04);
}
.product-picker-item:hover { background: #fafafa; }
.product-picker-item img {
  width: 32px; height: 32px;
  object-fit: contain;
  background: #f8f8f8;
  border-radius: .3rem;
}

/* ---------- Campaign cards ---------- */
.campaign-card {
  display: block;
  border-radius: 1rem;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  transition: transform .15s ease, box-shadow .15s ease;
}
.campaign-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(107,68,35,.14);
  color: inherit;
}
.campaign-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}
.campaign-card-body {
  padding: 1rem 1.1rem;
}
.campaign-card-body strong {
  display: block;
  margin-bottom: .3rem;
  color: var(--brand-brown-dark);
}
.campaign-card-body p {
  margin: 0;
  font-size: .85rem;
  color: #6b6b6b;
}

/* ---------- Payment method selection ---------- */
.payment-options {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.payment-option {
  display: flex;
  align-items: center;
  gap: .8rem;
  border: 1.5px solid rgba(0,0,0,.12);
  border-radius: .7rem;
  padding: .7rem .9rem;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.payment-option:has(input:checked) {
  border-color: var(--brand-orange);
  background: var(--brand-cream);
}
.payment-option input { margin: 0; }
.payment-option-icon { font-size: 1.3rem; }
.payment-option strong { display: block; font-size: .9rem; }
.payment-option small { color: #7a7a7a; font-size: .75rem; }

/* ---------- Auth pages (split: left promo / right form) ---------- */
.auth-split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 560px;
  margin: 2rem auto;
  max-width: 1000px;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(107,68,35,.14);
}
.auth-promo {
  background: linear-gradient(150deg, var(--brand-brown) 0%, var(--brand-brown-dark) 65%, #3a2412 100%);
  color: #fff;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.auth-promo::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(245,166,35,.18);
}
.auth-promo img.auth-logo {
  height: 40px;
  background: #fff;
  border-radius: .5rem;
  padding: .35rem .6rem;
  margin-bottom: 2rem;
  align-self: flex-start;
}
.auth-promo h2 { font-weight: 700; font-size: 1.6rem; margin-bottom: .9rem; }
.auth-promo p { opacity: .9; margin-bottom: 1.75rem; }
.auth-promo ul { list-style: none; padding: 0; margin: 0; position: relative; z-index: 1; }
.auth-promo ul li {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .9rem;
  font-size: .92rem;
}
.auth-promo ul li .icn {
  background: rgba(245,166,35,.22);
  color: var(--brand-orange);
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.auth-form-side {
  background: #fff;
  padding: 3rem 2.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.auth-form-side h3 { margin-bottom: .3rem; }
.auth-form-side .form-label { font-weight: 500; font-size: .9rem; }
.auth-form-side .form-control { border-radius: .6rem; padding: .6rem .8rem; }
.auth-form-side a { color: var(--brand-brown); font-weight: 500; text-decoration: none; }
.auth-form-side a:hover { color: var(--brand-orange); text-decoration: underline; }

@media (max-width: 860px) {
  .auth-split { grid-template-columns: 1fr; margin: 1rem; min-height: 0; }
  .auth-promo { padding: 2rem 1.75rem; }
  .auth-promo ul { display: none; }
  .auth-form-side { padding: 2rem 1.75rem; }
}

/* ---------- Admin ---------- */
.admin-sidebar {
  background: linear-gradient(180deg, var(--brand-brown-dark) 0%, #2f1c0e 100%) !important;
}
.admin-sidebar a.active, .admin-sidebar a:hover {
  background: rgba(245, 166, 35, 0.18) !important;
  color: var(--brand-orange) !important;
}
