/* Buddha & Karma inspired theme for RedKnot */

body {
  width: 100%;
  min-height: 100%;
  font-family: "Poppins", "Helvetica Neue", Arial, sans-serif;
  background-color: #faf8f5;
  color: #2c2c2c;
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
  color: #1a1a1a;
  font-weight: 600;
  letter-spacing: -0.3px;
}
a {
  color: #8B7355;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: #6b5440;
}
p { line-height: 1.7; }

/* ===== Custom utility classes ===== */
.btn-dark-outline {
  border: 1.5px solid #1f3a5f;
  background: transparent;
  color: #1f3a5f;
  border-radius: 30px;
  padding: 10px 30px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: all 0.3s;
}
.btn-dark-outline:hover {
  background: #1f3a5f;
  color: #fff;
}

/* ===== Form / Label ===== */
.radio-group1 {
  display: flex;
  gap: 20px;
  align-items: center;
}
.radio-item1 {
  display: flex;
  align-items: center;
  cursor: pointer;
}
.radio-item input[type="radio"] {
  margin-right: 8px;
  width: 16px;
  height: 16px;
}
.radio-item img {
  width: 20px;
  height: 20px;
  object-fit: cover;
}
.form-form-label123 {
  font-weight: bold;
  font-size: 15px;
}
legend {
  padding: 7px 0;
  margin-bottom: 20px;
  border-bottom: 1px solid #e5e5e5;
}
label {
  font-size: 13px;
  font-weight: 500;
  color: #555;
}
button:focus { outline: none !important; }

/* ===== Container ===== */
#container {
  width: 100%;
  min-height: 100%;
  position: relative;
  overflow-x: hidden;
}

/* ===== Fixed Header: #top + header + #menu stay at top while scrolling ===== */
/* Ensure ancestors can never "contain" the fixed element. */
html, body, #container {
  transform: none !important;
  filter: none !important;
  perspective: none !important;
  will-change: auto !important;
}
html body #container #site-header-sticky,
#site-header-sticky {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  max-width: 100vw !important;
  z-index: 1030 !important;
  background-color: #faf8f5;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  will-change: transform;
  -webkit-will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
html body #site-header-spacer,
#site-header-spacer { display: block; }
#content, #column-left, #column-right {
  padding-bottom: 20px;
}

/* ===== Alert ===== */
#alert {
  z-index: 9999;
  position: fixed;
  top: 30%;
  left: 50%;
  width: 400px;
  margin-left: -200px;
}
@media (min-width: 992px) {
  #alert { width: 600px; margin-left: -300px; }
}

/* ===== Top Bar ===== */
#top {
  background-color: #faf5ec;
  border-bottom: 1px solid #e5dfd0;
  margin-bottom: 0;
  position: relative;
  padding: 10px 0;
  display: flex;
  align-items: center;
}
#top .list-inline-item > a,
#top .list-inline-item .dropdown > a {
  font-size: 13px;
  color: #6b5440;
  line-height: 1;
  vertical-align: middle;
  padding: 0;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
}
#top .list-inline-item > a:hover,
#top .list-inline-item .dropdown > a:hover {
  color: #8B7355;
}

/* ===== Logo / Header ===== */
header {
  margin-top: 12px;
  margin-bottom: 12px;
}
#logo {
  text-align: center;
  margin: 5px 0;
}
#logo img {
  max-width: 180px;
  max-height: 50px;
  object-fit: contain;
}
@media (min-width: 768px) {
  #logo { text-align: left; }
}

/* ===== Search ===== */
#search { margin-bottom: 12px; }
#search .form-control-lg {
  height: 44px;
  font-size: 14px;
  line-height: 20px;
  padding: 0 16px;
  border: 1.5px solid #e0ddd5;
  border-radius: 30px 0 0 30px;
  background: #fff;
}
#search .btn-lg {
  font-size: 15px;
  line-height: 18px;
  padding: 0 24px;
  border-radius: 0 30px 30px 0;
  background: #1f3a5f;
  border: 1.5px solid #1f3a5f;
  color: #fff;
  text-shadow: none;
  height: 44px;
}
#search .btn-lg:hover {
  background: #16304d;
}

/* ===== Product page: input-group layout (QTY + Coupon rows) =====
   Both rows must have: same left-addon width, same input length, same button width/style */
.input-group:has(#input-quantity) .input-group-text,
.input-group:has(#input-coupon) .input-group-text {
  min-width: 70px;
  justify-content: center;
}
#input-quantity,
#input-coupon {
  flex: 1 1 auto;
}
#button-cart,
#button-coupon {
  flex: 0 0 180px;
}
/* Make Apply button match Add to Cart button style */
#button-coupon {
  background: #1f3a5f;
  border: 1px solid #1f3a5f;
  color: #fff;
}
#button-coupon:hover {
  background: #16304d;
  color: #fff;
}

/* ===== Cart (drawer style, matching site2) =====
   The cart widget is now rendered as a slide-in drawer triggered by the
   top-nav "Shopping Cart" link (#top-cart-link). The drawer itself is
   position:fixed so it renders correctly regardless of #cart's box. */
#cart { margin-bottom: 0; position: static; width: 0; height: 0; overflow: visible; }
.cart-widget { position: static; width: 0; height: 0; overflow: visible; }

/* Cart icon badge for product count */
.cart-icon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: #e74c3c;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  z-index: 10;
}

/* Top-nav cart link is the drawer trigger */
#top-cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Overlay */
.cart-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1090;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
body.cart-drawer-open {
  overflow: hidden;
}
body.cart-drawer-open .cart-drawer-overlay {
  opacity: 1;
  visibility: visible;
}

/* Drawer container */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  height: 100dvh;
  width: 100%;
  max-width: 420px;
  background: #fff;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}
body.cart-drawer-open .cart-drawer {
  transform: translateX(0);
}
@media (max-width: 480px) {
  .cart-drawer { max-width: 100%; }
}

/* Fixed header */
.cart-drawer__fixed-header {
  flex: 0 0 auto;
  background: #fff;
  border-bottom: 1px solid #eee;
}
.cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
}
.cart-drawer__title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #2a1a10;
}
.cart-drawer__close-button {
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
  color: #2a1a10;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-drawer__close-button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
}

/* Inner scroll area */
.cart-drawer__inner {
  flex: 1 1 auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0;
}
.cart-drawer__cart { padding: 8px 20px 0; }

/* Empty state */
.cart-drawer__empty { padding: 60px 20px; }

/* Product rows */
.ajaxcart__product {
  padding: 16px 0;
  border-bottom: 1px solid #f0e9da;
}
.ajaxcart__product:last-child { border-bottom: none; }
.ajaxcart__row .row { margin: 0; }

.ajaxcart__product-image {
  display: block;
  border: 1px solid #f0e9da;
  border-radius: 6px;
  overflow: hidden;
  background: #faf6ee;
}
.ajaxcart__product-image img { width: 100%; height: auto; display: block; }

.ajaxcart__product-name--wrapper {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 6px;
}
.ajaxcart__product-name {
  font-weight: 600;
  color: #2a1a10;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.3;
}
.ajaxcart__product-name:hover { color: #c8521a; text-decoration: underline; }
.ajaxcart__product-meta {
  font-size: 12px;
  color: #6c6358;
  line-height: 1.4;
}

/* Quantity selector (Shopify-style with +/-) */
.ajaxcart__quantity { display: flex; align-items: center; }
.js-qty__wrapper {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid #d9cdb4;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  max-width: 130px;
}
.js-qty__num {
  width: 44px;
  text-align: center;
  border: none;
  outline: none;
  font-size: 14px;
  padding: 6px 0;
  background: #fff;
  color: #2a1a10;
  -moz-appearance: textfield;
}
.js-qty__num::-webkit-outer-spin-button,
.js-qty__num::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.js-qty__adjust {
  background: #faf6ee;
  border: none;
  width: 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2a1a10;
  transition: background 0.15s ease;
}
.js-qty__adjust:hover { background: #f0e9da; }
.js-qty__adjust svg { width: 12px; height: 12px; }
.js-qty__adjust .icon__fallback-text { display: none; }

.ajaxcart__price {
  font-weight: 600;
  color: #2a1a10;
  font-size: 14px;
  white-space: nowrap;
}
.ajaxcart__remove {
  color: #b86b5b;
  font-size: 12px;
  text-decoration: none;
}
.ajaxcart__remove:hover { color: #8b3a2a; text-decoration: underline; }

/* Fixed footer (subtotal + checkout) */
.cart-drawer__footer {
  margin-top: 12px;
  padding: 16px 0 8px;
  border-top: 2px solid #f0e9da;
  background: #fff;
}
.ajaxcart__subtotal-row { margin: 0 0 4px; }
.ajaxcart__subtotal {
  margin: 0;
  font-weight: 600;
  color: #2a1a10;
  font-size: 14px;
}
.ajaxcart__subtotal-row .ajaxcart__price {
  margin: 0;
  font-size: 14px;
}
.ajaxcart__note {
  margin: 8px 0 14px;
  font-size: 12px;
  color: #6c6358;
  text-align: center;
}

/* Action buttons */
.cart-drawer__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cart-drawer__view-cart,
.cart-drawer__checkout {
  display: block;
  width: 100%;
  padding: 12px 16px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  text-align: center;
  text-decoration: none;
}
.cart-drawer__view-cart {
  background: #fff;
  border: 1.5px solid #c8521a;
  color: #c8521a;
}
.cart-drawer__view-cart:hover {
  background: #fdf6e9;
}
.cart-drawer__checkout {
  background: #1f3a5f;
  border: 1.5px solid #1f3a5f;
  color: #fff;
}
.cart-drawer__checkout:hover {
  background: #16304d;
  border-color: #16304d;
}

/* Icon utility */
.icon { display: inline-block; vertical-align: middle; }
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ===== Menu / Navigation ===== */
#menu {
  background: #1f3a5f;
  border: none;
  border-radius: 0;
  min-height: 48px;
  padding: 0 1rem;
  margin-bottom: 0;
}
#menu .navbar-nav > li > a {
  color: #fff;
  text-shadow: none;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3px;
  background-color: transparent;
  transition: all 0.2s;
}
#menu .navbar-nav > li > a:hover {
  background-color: rgba(255,255,255,0.08);
  color: #C4A661;
}
#menu .dropdown-menu {
  border: none;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 8px 30px rgba(0,0,0,.12);
}
#menu .dropdown-menu.instant-close,
.dropdown-menu.instant-close {
  transition: none !important;
  animation: none !important;
  transform: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
#menu .dropdown-item {
  padding: 10px 20px;
  font-size: 14px;
  color: #2c2c2c;
}
#menu .dropdown-item:hover {
  background: #faf8f5;
  color: #8B7355;
}
#menu .dropdown-inner {
  display: flex;
  flex-direction: column;
}
#menu .dropdown-inner ul {
  width: 100%;
  min-width: 200px;
}
@media (min-width: 960px) {
  #menu .dropdown:hover .dropdown-menu { display: block; }
  #menu .dropdown-inner { flex-direction: row; }
  #menu .nav-item + .nav-item + .nav-item .dropdown-column-3 { left: -200px; }
  #menu .nav-item + .nav-item + .nav-item .dropdown-column-4 { left: -400px; }
  #menu .nav-item + .nav-item + .nav-item + .nav-item .dropdown-column-2 { left: -200px; }
  #menu .nav-item + .nav-item + .nav-item + .nav-item .dropdown-column-3 { left: -400px; }
  #menu .nav-item + .nav-item + .nav-item + .nav-item .dropdown-column-4 { left: -600px; }
}
#category {
  float: left;
  font-size: 14px;
  font-weight: 600;
  line-height: 48px;
  color: #fff;
  text-shadow: none;
}
#menu .navbar-toggler i {
  color: #fff;
  font-size: 1.1em;
}
#menu .navbar-toggler {
  border-color: rgba(255,255,255,0.3);
}

/* ===== Form Defaults ===== */
div.required .col-form-label:before,
div.required .form-label:before {
  content: "* ";
  color: #c0392b;
  font-weight: bold;
}
.form-switch-lg {
  font-size: 20px;
  min-height: 30px;
  line-height: 30px;
}
.nav-tabs {
  margin-bottom: 15px;
  border-bottom: 2px solid #eee;
}
.nav-tabs .nav-link {
  color: #888;
  font-weight: 500;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 10px 20px;
}
.nav-tabs .nav-link.active {
  color: #2c2c2c;
  border-bottom-color: #C4A661;
  background: transparent;
}
.form-check .form-check-input { margin-top: 0.25rem; }
@media (min-width: 768px) {
  .col-form-label { text-align: right; }
}

/* ===== Footer ===== */
footer {
  position: relative;
  width: 100%;
  padding-top: 50px;
  padding-bottom: 30px;
  background-color: #1f3a5f;
  border-top: none;
  color: #b0b0b0;
}
footer hr {
  border-top: none;
  border-bottom: 1px solid #333;
  margin: 30px 0 20px;
}
footer a {
  color: #b0b0b0;
  text-decoration: none;
  transition: color 0.2s;
}
footer a:hover { color: #C4A661; }
footer h5 {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-top: 10px;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}
footer ul li { margin-bottom: 8px; }
footer p {
  color: #777;
  font-size: 13px;
}

/* ===== Breadcrumb ===== */
.breadcrumb {
  margin: 0 0 20px 0;
  padding: 10px 16px;
  border: 1px solid #eee;
  border-radius: 8px;
  background-color: #fff;
}
.breadcrumb i { font-size: 14px; }
.breadcrumb > li.breadcrumb-item {
  text-shadow: none;
  padding: 0 8px;
  position: relative;
  white-space: nowrap;
}
.breadcrumb > li.breadcrumb-item > a { text-decoration: none; color: #888; }
.breadcrumb > li.breadcrumb-item > a:hover { color: #8B7355; }
.breadcrumb > li.breadcrumb-item:after {
  content: "";
  display: block;
  position: absolute;
  top: -3px;
  right: -5px;
  width: 29px;
  height: 29px;
  border-right: 1px solid #eee;
  border-bottom: 1px solid #eee;
  transform: rotate(-45deg);
}
.breadcrumb > li.breadcrumb-item + li:before {
  content: "";
  padding: 0;
}

/* ===== Product Cards ===== */
.product-thumb {
  border: none;
  position: relative;
  height: 100%;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: box-shadow 0.3s, transform 0.3s;
}
.product-thumb:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
  transform: translateY(-3px);
}
.product-thumb .image {
  text-align: center;
  padding: 20px;
}
.product-thumb .image img {
  border-radius: 8px;
}
.product-thumb .image a:hover { opacity: 0.85; }
.product-thumb-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.product-thumb-carousel::-webkit-scrollbar { display: none; }
.product-thumb-carousel-item {
  flex: 0 0 100%;
  scroll-snap-align: start;
}
.product-thumb-carousel-item img { width: 100%; }
.product-thumb .description {
  padding: 0 20px 55px;
  text-align: center;
}
.product-thumb .description h4 {
  font-weight: 600;
  font-size: 15px;
  color: #2c2c2c;
}
.product-thumb .description h4 a {
  color: #2c2c2c;
}
.product-thumb .description h4 a:hover {
  color: #8B7355;
}
.product-thumb .button {
  display: flex;
  position: absolute;
  width: 100%;
  bottom: 0;
}
.product-thumb .button button {
  width: 33.33%;
  border: none;
  border-top: 1px solid #f0ede5;
  background-color: #fff;
  color: #999;
  line-height: 42px;
  text-align: center;
  font-size: 14px;
  transition: all 0.2s;
}
.product-thumb .button button:hover {
  color: #C4A661;
  background-color: #faf8f5;
}
.product-thumb .button button + button {
  border-left: 1px solid #f0ede5;
}
@media (min-width: 960px) {
  .product-list .product-thumb {
    display: flex;
  }
  .product-list .product-thumb .image {
    flex-direction: column;
    margin-bottom: 0;
  }
  .product-list .product-thumb .content {
    flex-direction: column;
    flex: 75%;
    position: relative;
  }
  .product-list .product-thumb .button {
    border-left: 1px solid #f0ede5;
    width: calc(100% - 15px);
    margin-left: 15px;
  }
}

/* ===== Rating ===== */
.rating .fa-stack { width: 20px; }
.rating .fa-star {
  color: #FC0;
  font-size: 14px;
}
.rating .fa-star + .fa-star { color: #E69500; }

/* ===== Price ===== */
.price {
  color: #8B7355;
  font-weight: 600;
  font-size: 16px;
}
.price-new {
  font-weight: 700;
  color: #8B7355;
}
.price-old {
  color: #bbb;
  text-decoration: line-through;
  font-weight: 400;
  font-size: 14px;
}
.price-tax {
  color: #aaa;
  font-size: 12px;
  display: block;
}

/* ===== Blog ===== */
.blog-thumb {
  border: 1px solid #eee;
  margin-bottom: 15px;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.blog-thumb h4 { font-weight: 600; }
.blog-thumb .image { text-align: center; margin-bottom: 15px; }
.blog-thumb .image a:hover { opacity: 0.85; }
.blog-thumb .description { padding: 20px; }

/* ===== Section Headings (Featured, etc.) ===== */
h3 {
  font-size: 24px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 25px;
  position: relative;
}
h3:after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: #C4A661;
  margin: 12px auto 0;
}

/* ===== Review Table (prevent base64/long strings from causing horizontal overflow) ===== */
.table {
  table-layout: fixed;
  word-break: break-word;
  overflow-wrap: break-word;
}
.review-content {
  overflow-wrap: break-word;
  word-break: break-all;
  overflow-x: auto;
  max-width: 100%;
}

/* ===== Cookie ===== */
#cookie {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  opacity: 0.95;
  color: #ecf0f1;
  background: #1f3a5f;
}
#cookie div {
  font-size: 14px;
  color: #fff;
}

/* ===== Bootstrap Button Override ===== */
.btn-primary {
  background: #1f3a5f;
  border-color: #1f3a5f;
  border-radius: 30px;
  padding: 10px 30px;
  font-weight: 500;
}
.btn-primary:hover {
  background: #16304d;
  border-color: #16304d;
}
.btn-outline-secondary {
  border-radius: 30px;
  padding: 10px 30px;
}

/* Brand Value Proposition */
#brand-value-proposition {
  position: relative;
  width: 100%;
  min-height: 280px;
  border-radius: 12px;
  overflow: hidden;
  margin: 24px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-vp-bg {
  position: absolute;
  inset: 0;
  background: url('../../../image/va_bg.png') center/cover no-repeat;
  z-index: 0;
}
.brand-vp-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 48px 24px;
  max-width: 720px;
}
.brand-vp-title {
  font-size: 2.6rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px 0;
  line-height: 1.2;
  letter-spacing: .5px;
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.brand-vp-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,.92);
  margin: 0 0 32px 0;
  line-height: 1.5;
  text-shadow: 0 1px 8px rgba(0,0,0,.4);
}
.brand-vp-cta {
  display: inline-block;
  padding: 14px 36px;
  background: #fff;
  color: #1f3a5f;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
}
.brand-vp-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.3);
  color: #1f3a5f;
}
@media (max-width: 768px) {
  #brand-value-proposition { min-height: 220px; }
  .brand-vp-title { font-size: 1.8rem; }
  .brand-vp-subtitle { font-size: 1rem; }
  .brand-vp-cta { padding: 12px 28px; font-size: 14px; }
}

/* === Merged from header.twig <head> inline <style> === */
/* Belt-and-braces: ensure no ancestor can "contain" the fixed element.
   transform/filter/perspective on html/body/#container would force position:fixed
   to be relative to the transformed ancestor (i.e. not fixed to viewport). */
html, body, #container {
  transform: none !important;
  -webkit-transform: none !important;
  filter: none !important;
  perspective: none !important;
  -webkit-perspective: none !important;
  will-change: auto !important;
}
html body #container #site-header-sticky,
#site-header-sticky {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  max-width: 100vw !important;
  z-index: 1030 !important;
  background-color: #faf8f5 !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08) !important;
  transform: translateZ(0) !important;
  -webkit-transform: translateZ(0) !important;
  will-change: transform !important;
  -webkit-will-change: transform !important;
  backface-visibility: hidden !important;
  -webkit-backface-visibility: hidden !important;
  filter: none !important;
}
html body #site-header-spacer,
#site-header-spacer { display: block; }
#top {
  background-color: #1f3a5f !important;
  border-bottom: 1px solid #16304d !important;
  padding: 8px 0 !important;
  display: flex !important;
  align-items: center !important;
}
#top .list-inline { margin-bottom: 0 !important; display: inline-flex !important; align-items: center !important; vertical-align: middle !important; }
#top .list-inline-item { vertical-align: middle !important; display: inline-flex !important; align-items: center !important; }
#top .list-inline-item:not(:last-child) { margin-right: 1.5rem !important; }
#top .list-inline-item > a,
#top .list-inline-item .dropdown > a {
  font-size: 13px !important;
  color: #ccc !important;
  line-height: 1 !important;
  padding: 0 !important;
}
#top form { margin: 0 !important; }
#menu {
  background-color: #fdf6e9 !important;
  border-bottom: 1px solid #e5dfd0 !important;
  padding: 8px 0 !important;
}
#menu,
#menu .nav-link,
#menu .nav-item,
#menu .nav-item > a,
#menu .dropdown-item,
#menu .navbar-nav,
#menu #category {
  color: #1f3a5f !important;
  font-size: 13px !important;
}
#menu .nav-link:hover,
#menu .nav-item > a:hover,
#menu .dropdown-item:hover {
  color: #0f2033 !important;
}
#menu .navbar-toggler {
  color: #1f3a5f !important;
  border-color: #1f3a5f !important;
}
#menu .navbar-toggler i {
  color: #1f3a5f !important;
}
#menu .navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(31, 58, 95, 0.25) !important;
}
header.site-header {
  margin-top: 4px !important;
  margin-bottom: 4px !important;
}
#logo {
  text-align: center !important;
  margin: 0 !important;
}
#logo img {
  max-width: 180px !important;
  max-height: 40px !important;
  object-fit: contain !important;
}
.dropdown-menu.instant-close {
  transition: none !important;
  animation: none !important;
  transform: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
/* === End merged header styles === */

/* ===== Home - Join the Community / Newsletter block ===== */
#home-newsletter .newsletter-inner {
  width: 100%;
  margin: 0 auto;
  padding: 48px 40px;
  background: #faf5ec;
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
  text-align: center;
}
#home-newsletter .newsletter-title {
  margin: 0 0 12px 0;
  font-size: 2.2rem;
  font-weight: 600;
  color: #1a1a2e;
  letter-spacing: 0.5px;
}
#home-newsletter .newsletter-desc {
  max-width: 640px;
  margin: 0 auto 28px auto;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #333;
}
#home-newsletter .newsletter-form-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  max-width: 560px;
  justify-content: center;
  margin: 0 auto;
}
#home-newsletter .newsletter-input {
  flex: 1 1 280px;
  min-width: 220px;
  padding: 12px 16px;
  background: #fff;
  color: #111;
  border: 1px solid #d9d0bd;
  border-radius: 8px;
  font-size: 15px;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}
#home-newsletter .newsletter-input:focus {
  border-color: #b8935a;
  box-shadow: 0 0 0 3px rgba(184, 147, 90, 0.15);
}
#home-newsletter .newsletter-btn {
  padding: 12px 32px;
  background: #1f3a5f;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
#home-newsletter .newsletter-btn:hover {
  background: #16304d;
}
#home-newsletter #home-newsletter-msg {
  margin-top: 14px;
  font-size: 14px;
  min-height: 22px;
}