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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Helvetica', sans-serif;
  background-color: #fafaf8;
  color: #1f2937;
  line-height: 1.5;
}

body.no-scroll {
  overflow: hidden;
}

select,
input,
textarea {
  width: 100%;
  border: 2px solid #fcd34d;
  padding: 0.75rem;
  border-radius: 0.75rem;
  background-color: #ffffff;
  transition: all 0.2s ease;
  font-size: 1rem;
  font-family: inherit;
  color: #1f2937;
}

select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #92400e 50%),
    linear-gradient(135deg, #92400e 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 2px),
    calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.75rem;
}

select:hover,
input:hover,
textarea:hover {
  border-color: #fbbf24;
}

select:focus,
input:focus,
textarea:focus {
  border-color: #f59e0b;
  outline: none;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.12);
}

input::placeholder,
textarea::placeholder {
  color: #9ca3af;
}

button {
  border: 2px solid transparent;
  transition: all 0.2s ease;
  font-weight: 600;
  cursor: pointer;
}

button:hover:not(:disabled) {
  background-color: #fcd34d;
  border-color: #fbbf24;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

button:active:not(:disabled) {
  transform: translateY(0);
}

button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(245, 158, 11, 0.28);
  outline-offset: 2px;
}

button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  box-shadow: none;
}

a {
  transition: color 0.2s ease, opacity 0.2s ease, background-color 0.2s ease;
  text-decoration: none;
}

.hidden {
  display: none !important;
}

.mobile-only {
  display: none;
}

.desktop-only {
  display: inline-flex;
}

.header-button {
  border: 2px solid transparent !important;
  background: transparent;
  color: #4c2b19;
}

.header-button:hover:not(:disabled) {
  background-color: #e3ad08 !important;
  border-color: #d39d00 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.10) !important;
}

.site-header-link {
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  background: transparent;
}

.site-header-link:hover,
.site-header-link:focus-visible {
  background-color: #e3ad08;
  color: #4c2b19 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.10);
  outline: none;
}

/* Header */
.site-main-header {
  position: absolute;
  top: 72px;
  left: 0;
  width: 100%;
  z-index: 50;
}

.site-header-shell {
  width: 100%;
  padding: 0;
}

.site-header-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 560px 1fr;
  align-items: center;
  min-height: 108px;
  width: 100%;
  column-gap: 1rem;
  background: rgba(246, 226, 118, 0.82);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.10);
  overflow: visible;
}

.site-header-logo-highlight {
  display: none;
}

.site-header-nav,
.site-header-actions {
  display: flex;
  align-items: center;
  min-width: 0;
  overflow: visible;
  position: relative;
  z-index: 2;
}

.site-header-nav {
  justify-self: start;
  justify-content: flex-start;
  gap: 0.8rem;
  padding: 0 34px 0 30px;
}

.site-header-actions {
  justify-self: end;
  justify-content: flex-end;
  gap: 0.7rem;
  padding: 0 30px 0 34px;
}

.site-header-center-spacer {
  width: 100%;
  height: 1px;
  position: relative;
  z-index: 1;
}

.site-header-logo-link {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -54%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  line-height: 0;
}

.site-header-logo-frame {
  width: 355px;
  height: 355px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.12));
}

.site-header-logo {
  width: auto;
  height: 355px;
  display: block;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.18));
}

.site-header-nav a,
.site-header-actions a,
.site-header-actions button {
  min-height: 0 !important;
  line-height: 1.12;
  white-space: nowrap;
  font-size: 1.08rem;
  color: #4c2b19;
  font-weight: 800;
}

.site-header-actions button {
  padding-top: 0.25rem !important;
  padding-bottom: 0.25rem !important;
}

.cart-button-wrap {
  flex-shrink: 0;
}

#cartBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 48px;
  line-height: 1;
  overflow: visible;
}

#cartCount {
  z-index: 2;
}
#langToggleBtnMobile {
  display: none !important;
}


.site-mobile-menu {
  display: none;
  position: relative;
  z-index: 5;
}

.site-mobile-menu summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 61;
}

.site-mobile-menu summary::-webkit-details-marker {
  display: none;
}

.site-mobile-menu-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-width: 74px;
  min-height: 42px;
  padding: 0.2rem 0.7rem;
  border-radius: 0.85rem;
}

.site-mobile-menu-button-text {
  font-size: 0.95rem;
  line-height: 1;
  font-weight: 800;
  color: #4c2b19;
}

.site-mobile-menu-icon {
  font-size: 1.18rem;
  line-height: 1;
  font-weight: 800;
  color: #4c2b19;
  flex-shrink: 0;
}

.site-mobile-menu[open]::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.26);
  backdrop-filter: blur(2px);
  z-index: 59;
}

.site-mobile-menu-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: min(88vw, 360px);
  height: 100dvh;
  background: linear-gradient(180deg, rgba(255, 250, 236, 0.99) 0%, rgba(255, 246, 214, 0.99) 100%);
  border-left: 1px solid rgba(146, 64, 14, 0.14);
  box-shadow: -14px 0 34px rgba(0, 0, 0, 0.18);
  padding: max(270px, calc(252px + env(safe-area-inset-top))) 1rem calc(1rem + env(safe-area-inset-bottom));
  z-index: 60;
  overflow-y: auto;
}

.site-mobile-menu-panel-inner {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.site-mobile-menu-main-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.site-mobile-menu-link {
  display: block;
  padding: 1rem 1rem;
  border-radius: 1rem;
  font-weight: 800;
  font-size: 1rem;
  color: #4c2b19;
  line-height: 1.2;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(146, 64, 14, 0.10);
  box-shadow: 0 8px 18px rgba(120, 53, 15, 0.08);
}

.site-mobile-menu-link:hover,
.site-mobile-menu-link:focus-visible {
  background: #f3cf57;
  color: #4c2b19;
  outline: none;
}

.site-mobile-menu-subsection {
  margin-top: 1.15rem;
  padding: 0.25rem 0.1rem 0;
  border-radius: 0;
  background: transparent;
  border: 0;
}

.site-mobile-menu-section-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(76, 43, 25, 0.62);
  margin-bottom: 0.38rem;
}

.site-mobile-menu-subtle-link {
  display: inline-block;
  font-weight: 600;
  font-size: 0.9rem;
  color: #4c2b19;
  line-height: 1.35;
  word-break: break-word;
}

.site-mobile-menu-subtle-link:hover,
.site-mobile-menu-subtle-link:focus-visible {
  color: #7c2d12;
  outline: none;
}

.site-hero .hero-content {
  padding-top: 392px;
}

/* Cart */
#miniCart {
  background-color: white;
  box-shadow: -8px 0 24px rgba(0, 0, 0, 0.14);
  border-left: 1px solid #fcd34d;
  z-index: 50;
  animation: slideInRight 0.3s ease-out;
}

#miniCart h3 {
  font-size: 1.5rem;
  color: #b45309;
}

#miniCartOverlay,
#checkoutOverlay,
#successOverlay,
#contactSuccessOverlay {
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(2px);
  z-index: 40;
  animation: fadeIn 0.2s ease;
}

#cartItems {
  padding-right: 4px;
}

.cart-row {
  padding: 12px 0;
  border-bottom: 1px solid #f3f4f6;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.cart-row-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  flex: 1;
}

.cart-row-name {
  font-weight: 700;
  color: #1f2937;
}

.cart-row-price {
  font-size: 0.95rem;
  color: #6b7280;
}

.cart-row-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.quantity-select {
  min-width: 68px;
  max-width: 80px;
  border-radius: 0.5rem;
  border: 1px solid #d1d5db;
  padding: 0.35rem 1.75rem 0.35rem 0.5rem;
  font-size: 0.95rem;
  background-position:
    calc(100% - 14px) calc(50% - 2px),
    calc(100% - 8px) calc(50% - 2px);
  background-size: 5px 5px, 5px 5px;
}

.remove-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  padding: 0 0.2rem;
  cursor: pointer;
  color: #dc2626;
  min-width: auto;
  min-height: auto;
}

.remove-btn:hover {
  color: #991b1b;
  transform: scale(1.1);
  box-shadow: none !important;
  background: transparent !important;
  border-color: transparent !important;
}

.cart-bottom-safe {
  position: sticky;
  bottom: 0;
  background: #ffffff;
  padding-bottom: calc(1rem + env(safe-area-inset-bottom));
}

#checkoutBtn {
  min-height: 52px;
  position: relative;
  z-index: 2;
}

#discountMessage,
#contactStatus {
  min-height: 20px;
}

#cartItems::-webkit-scrollbar {
  width: 6px;
}

#cartItems::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

#cartItems::-webkit-scrollbar-thumb {
  background: #fcd34d;
  border-radius: 10px;
}

#cartItems::-webkit-scrollbar-thumb:hover {
  background: #fbbf24;
}


.shipping-badges {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.checkout-shipping-badge {
  width: 100%;
  text-align: left;
  border: 1px solid rgba(245, 158, 11, 0.24) !important;
  background: linear-gradient(180deg, #fffbea 0%, #fff7d6 100%);
  color: #8a4b08;
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  box-shadow: 0 8px 20px rgba(146, 64, 14, 0.08);
}

.checkout-shipping-badge:hover:not(:disabled) {
  background: linear-gradient(180deg, #fde68a 0%, #fcd34d 100%) !important;
  border-color: rgba(217, 119, 6, 0.38) !important;
  box-shadow: 0 10px 22px rgba(146, 64, 14, 0.14) !important;
}

/* Modal */
.site-modal-card {
  border: 1px solid rgba(252, 211, 77, 0.35);
  max-height: calc(100dvh - 1.5rem);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
}

.checkout-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  position: sticky;
  bottom: 0;
  background: #ffffff;
  padding-top: 0.65rem;
  padding-bottom: calc(0.45rem + env(safe-area-inset-bottom));
}

.popup-logo-wrap {
  overflow: visible;
}

.site-popup-logo {
  width: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  overflow: visible;
}

.site-popup-logo-checkout {
  height: 258px;
}

.site-popup-logo-large {
  height: 216px;
}

.site-success-card {
  max-width: 36rem;
}

/* Footer */
.site-main-footer {
  position: relative;
  background: transparent;
  margin-top: 3rem;
  padding-top: 126px;
  padding-bottom: 36px;
}

.site-footer-shell {
  width: 100%;
}

.site-footer-row {
  position: relative;
  width: 100%;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 520px 1fr;
  align-items: center;
  min-height: 102px;
  column-gap: 1rem;
  background: linear-gradient(to right, #78350f, #854d0e);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);
  overflow: visible;
}

.site-footer-side {
  padding: 0 34px;
  color: #fef3c7;
  font-weight: 700;
  font-size: 1rem;
  position: relative;
  z-index: 2;
}

.site-footer-side a {
  color: #fef3c7;
}

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

.site-footer-side-left {
  text-align: left;
}

.site-footer-side-right {
  text-align: right;
}

.site-footer-center-spacer {
  width: 100%;
  height: 1px;
}

.site-footer-logo-wrap {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  line-height: 0;
}

.site-footer-logo-frame {
  width: 286px;
  height: 286px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.14));
}

.site-footer-logo {
  width: auto;
  height: 286px;
  display: block;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.18));
}

.site-footer-copy-wrap {
  text-align: center;
  padding-top: 36px;
  color: #7c5a2a;
}

.site-footer-copy {
  font-size: 0.95rem;
}

/* Toast */
.toast-item {
  pointer-events: none;
  min-width: 180px;
  max-width: 260px;
  border-radius: 0.9rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
  padding: 0.7rem 0.95rem;
  font-size: 0.9rem;
  font-weight: 600;
  animation: popIn 0.2s ease-out;
}

.toast-item.success {
  background: #166534;
  color: #fff;
}

.toast-item.error {
  background: #b91c1c;
  color: #fff;
}

.toast-hide {
  opacity: 0;
  transform: translateY(-4px);
  transition: all 0.2s ease;
}

/* Animations */
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes slideUp {
  0% {
    transform: translateY(20px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  0% { transform: translateX(100%); }
  100% { transform: translateX(0); }
}

@keyframes popIn {
  0% {
    transform: scale(0.96) translateY(8px);
    opacity: 0;
  }
  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.animate-fadeIn {
  animation: fadeIn 2s ease-in forwards;
}

.animate-slideUp {
  animation: slideUp 0.6s ease-out forwards;
}

.animate-popIn {
  animation: popIn 0.25s ease-out forwards;
}

@media (max-width: 1200px) {
  .site-main-header {
    top: 58px;
  }

  .site-header-row {
    grid-template-columns: 1fr 470px 1fr;
    min-height: 102px;
  }

  .site-header-nav {
    gap: 0.45rem;
    padding: 0 20px 0 18px;
  }

  .site-header-actions {
    gap: 0.45rem;
    padding: 0 18px 0 20px;
  }

  .site-header-logo-frame {
    width: 318px;
    height: 318px;
  }

  .site-header-logo {
    height: 318px;
  }

  .site-header-nav a,
  .site-header-actions a,
  .site-header-actions button {
    font-size: 0.98rem;
  }

  .site-hero .hero-content {
    padding-top: 362px;
  }

  .site-footer-row {
    grid-template-columns: 1fr 460px 1fr;
    min-height: 98px;
  }

  .site-footer-logo-frame {
    width: 264px;
    height: 264px;
  }

  .site-footer-logo {
    height: 264px;
  }
}

@media (max-width: 1023px) {
  .site-main-header {
    top: 34px;
  }

  .site-header-row {
    grid-template-columns: 1fr 360px 1fr;
    min-height: 92px;
    column-gap: 0.45rem;
  }

  .site-header-nav {
    gap: 0.16rem;
    padding: 0 8px 0 10px;
  }

  .site-header-actions {
    gap: 0.16rem;
    padding: 0 10px 0 8px;
  }

  .site-header-logo-frame {
    width: 246px;
    height: 246px;
  }

  .site-header-logo {
    height: 246px;
  }

  .site-header-nav a,
  .site-header-actions a,
  .site-header-actions button {
    font-size: 0.87rem;
  }

  .site-header-link {
    padding: 0.34rem 0.46rem;
  }

  #langToggleBtn {
    padding-left: 0.35rem !important;
    padding-right: 0.35rem !important;
  }

  #cartBtn {
    min-width: 44px;
    min-height: 44px;
    font-size: 1.45rem;
    padding-left: 0.35rem !important;
    padding-right: 0.35rem !important;
  }

  .site-hero .hero-content {
    padding-top: 308px;
  }

  .site-popup-logo-checkout {
    height: 250px;
  }

  .site-popup-logo-large {
    height: 184px;
  }

  .site-footer-row {
    grid-template-columns: 1fr 360px 1fr;
    min-height: 94px;
  }

  .site-footer-side {
    padding: 0 18px;
    font-size: 0.92rem;
  }

  .site-footer-logo-frame {
    width: 228px;
    height: 228px;
  }

  .site-footer-logo {
    height: 228px;
  }
}

@media (max-width: 767px) {
  .site-main-header {
    top: 40px;
  }

  .site-header-row {
    grid-template-columns: minmax(76px, 1fr) minmax(180px, 214px) minmax(106px, 1fr);
    min-height: 74px;
    padding: 0 8px;
    column-gap: 0;
    position: relative;
    align-items: center;
  }

  .site-header-nav a,
  #navProduct,
  #navOrder,
  #navContact,
  .site-header-actions > .site-header-link,
  .site-header-actions > #langToggleBtn {
    display: none !important;
  }

  .site-header-nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-width: 0;
    overflow: visible;
    z-index: 6;
    padding: 0;
  }

  .site-header-nav-left {
    padding: 0;
  }

  #langToggleBtnMobile {
    display: inline-flex !important;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
    margin-left: 10px;
    font-size: 0.68rem !important;
    font-weight: 800;
    letter-spacing: 0.01em;
    padding: 0.18rem 0.16rem !important;
    line-height: 1;
    white-space: nowrap;
    z-index: 6;
    -webkit-text-stroke: 0.2px currentColor;
    text-shadow: 0 0 0 currentColor;
  }

  .site-header-center-spacer {
    display: block;
    width: 100%;
    height: 100%;
  }

  .site-header-actions {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.32rem;
    padding: 0;
    width: 100%;
    min-width: 0;
    max-width: none;
    justify-self: stretch;
    overflow: visible;
    z-index: 6;
  }

  .cart-button-wrap,
  .site-mobile-menu {
    position: static;
    transform: none;
    z-index: 6;
    flex: 0 0 auto;
  }

  .site-header-actions a,
  .site-header-actions button,
  .site-header-actions details,
  .site-header-nav button {
    flex: 0 0 auto;
  }

  .site-header-nav a,
  .site-header-actions a,
  .site-header-actions button,
  .site-header-nav button {
    font-size: 0.7rem;
    letter-spacing: -0.01em;
  }

  .site-header-link {
    padding: 0.20rem 0.26rem;
  }

  .site-header-logo-link {
    top: 50%;
    transform: translate(-50%, -54%);
    z-index: 8;
    pointer-events: auto;
  }

  .site-header-logo-frame {
    width: 204px;
    height: 204px;
  }

  .site-header-logo {
    height: 204px;
  }

  #cartBtn {
    min-width: 40px;
    min-height: 40px;
    font-size: 1.32rem;
    font-weight: 800;
    padding-left: 0.08rem !important;
    padding-right: 0.08rem !important;
    -webkit-text-stroke: 0.22px currentColor;
    text-shadow: 0 0 0 currentColor;
  }

  .site-mobile-menu {
    display: block;
  }

  .site-mobile-menu-button {
    min-width: 40px;
    min-height: 40px;
    padding: 0.08rem;
  }

  .site-mobile-menu-icon {
    font-size: 1.22rem;
    font-weight: 900;
    -webkit-text-stroke: 0.2px currentColor;
    text-shadow: 0 0 0 currentColor;
  }

  .site-mobile-menu summary {
    z-index: 9;
  }

  .site-mobile-menu[open]::before {
    pointer-events: none;
    z-index: 5;
  }

  .site-mobile-menu[open] ~ .site-header-logo-link {
    pointer-events: none;
  }

  .site-mobile-menu-panel {
    width: min(88vw, 330px);
    padding: max(166px, calc(158px + env(safe-area-inset-top))) 0.9rem calc(0.9rem + env(safe-area-inset-bottom));
    z-index: 7;
  }

  .site-mobile-menu-main-links {
    gap: 0.65rem;
  }

  .site-mobile-menu-link {
    padding: 0.95rem 1rem;
    font-size: 1.02rem;
  }

  .site-mobile-menu-subsection {
    margin-top: 1rem;
  }

  .site-mobile-menu-subtle-link {
    font-size: 0.84rem;
  }

  .site-hero .hero-content {
    padding-top: 296px;
  }

  .checkout-actions {
    grid-template-columns: 1fr;
  }

  .site-popup-logo-checkout {
    height: 210px;
  }

  .site-popup-logo-large {
    height: 162px;
  }

  .site-main-footer {
    padding-top: 92px;
  }

  .site-footer-row {
    grid-template-columns: 1fr 208px 1fr;
    min-height: 78px;
    padding: 0 8px;
    column-gap: 0;
  }

  .site-footer-side {
    padding: 0 4px;
    font-size: 0.70rem;
    line-height: 1.18;
  }

  .site-footer-logo-frame {
    width: 210px;
    height: 210px;
  }

  .site-footer-logo {
    height: 210px;
  }

  .site-footer-copy-wrap {
    padding-top: 24px;
  }
}

@media (max-width: 640px) {
  #miniCart {
    width: 100% !important;
    max-height: 100dvh;
    border-radius: 1.2rem 1.2rem 0 0;
    animation: slideUp 0.3s ease-out;
    padding-bottom: calc(0.75rem + env(safe-area-inset-bottom));
  }

  body {
    font-size: 16px;
  }

  button,
  a,
  summary {
    min-height: 44px;
  }

  #toastContainer {
    left: 12px;
    right: 12px;
    top: 12px;
  }

  #toastContainer > div {
    max-width: none;
    min-width: 0;
    width: 100%;
  }

  .cart-row {
    align-items: flex-start;
  }

  .site-main-header {
    top: 36px;
  }

  .site-header-row {
    grid-template-columns: minmax(72px, 1fr) 196px minmax(102px, 1fr);
    min-height: 72px;
    padding: 0 6px;
    column-gap: 0;
    row-gap: 0;
    align-items: center;
    position: relative;
  }

  .site-header-nav {
    justify-content: flex-start;
  }

  .site-header-actions {
    gap: 0.18rem;
    padding: 0;
    width: 100%;
    min-width: 0;
    max-width: none;
    justify-content: flex-end;
  }

  #langToggleBtnMobile {
    margin-left: 10px;
    font-size: 0.6rem !important;
    font-weight: 800;
    padding-left: 0.12rem !important;
    padding-right: 0.12rem !important;
    -webkit-text-stroke: 0.18px currentColor;
    text-shadow: 0 0 0 currentColor;
  }

  .site-header-nav a,
  .site-header-actions a,
  .site-header-actions button,
  .site-header-nav button {
    font-size: 0.6rem;
    letter-spacing: -0.015em;
  }

  .site-header-link {
    padding: 0.10rem 0.16rem;
  }

  .site-header-logo-link {
    top: 50%;
    transform: translate(-50%, -54%);
  }

  .site-header-logo-frame {
    width: 192px;
    height: 192px;
  }

  .site-header-logo {
    height: 192px;
  }

  .site-mobile-menu-button {
    min-width: 38px;
    min-height: 38px;
    padding: 0.04rem;
  }

  .site-mobile-menu-icon {
    font-size: 1.1rem;
    font-weight: 900;
    -webkit-text-stroke: 0.18px currentColor;
    text-shadow: 0 0 0 currentColor;
  }

  .site-mobile-menu-panel {
    width: min(88vw, 320px);
    padding: max(158px, calc(150px + env(safe-area-inset-top))) 0.9rem calc(0.9rem + env(safe-area-inset-bottom));
  }

  #cartBtn {
    min-width: 38px;
    min-height: 38px;
    font-size: 1.24rem;
    font-weight: 800;
    padding-left: 0.04rem !important;
    padding-right: 0.04rem !important;
    -webkit-text-stroke: 0.2px currentColor;
    text-shadow: 0 0 0 currentColor;
  }

  #cartCount {
    font-size: 0.62rem;
    padding: 0.16rem 0.3rem;
    top: -5px;
    right: -5px;
  }

  .site-hero .hero-content {
    padding-top: 282px;
  }

  .site-modal-card {
    max-height: calc(100dvh - 0.75rem);
    padding-bottom: calc(1.1rem + env(safe-area-inset-bottom));
  }

  .site-popup-logo-checkout {
    height: 205px;
  }

  .checkout-actions {
    position: sticky;
    bottom: 0;
  }

  #checkoutBtn {
    min-height: 54px;
  }

  .site-main-footer {
    padding-top: 84px;
  }

  .site-footer-row {
    grid-template-columns: 1fr 190px 1fr;
    min-height: 72px;
    padding: 0 6px;
    column-gap: 0;
  }

  .site-footer-side {
    padding: 0 2px;
    font-size: 0.62rem;
    line-height: 1.14;
  }

  .site-footer-logo-frame {
    width: 194px;
    height: 194px;
  }

  .site-footer-logo {
    height: 194px;
  }

  .site-footer-copy-wrap {
    padding-top: 20px;
  }

  .site-footer-copy {
    font-size: 0.82rem;
  }
}



/* Unified checkout popup system */
#checkoutPopup {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
}

#checkoutPopup:not(.hidden) {
  display: flex;
}

.checkout-clean-shell {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  pointer-events: none;
}

.checkout-clean-card {
  width: min(100%, 36rem);
  max-height: calc(100dvh - 0.38rem);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(252, 211, 77, 0.35);
  border-radius: 1rem;
  pointer-events: auto;
}

.checkout-clean-top {
  flex: 0 0 auto;
}

.checkout-clean-logo-row {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 1rem 0;
  margin-top: -14px;
}

.checkout-clean-logo {
  display: block;
  width: auto;
  height: 214px;
  object-fit: contain;
  object-position: center;
}

.checkout-clean-title {
  margin: -1.08rem 0 0;
  text-align: center;
  font-size: 1.95rem;
  line-height: 1.12;
  font-weight: 700;
  color: #1f2937;
}

.checkout-clean-form {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

.checkout-clean-scroll {
  display: flex;
  flex-direction: column;
  gap: 0.34rem;
  min-height: 0;
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 0.06rem 0.92rem 0;
}

.checkout-clean-field {
  display: flex;
  flex-direction: column;
}

.checkout-clean-label {
  display: block;
  margin-bottom: 0.36rem;
  font-size: 0.875rem;
  font-weight: 600;
}

#checkoutTotal {
  display: none !important;
}

.checkout-clean-footer {
  position: sticky;
  bottom: 0;
  z-index: 6;
  margin: 0 -0.92rem;
  padding: 0.24rem 0.92rem calc(0.58rem + env(safe-area-inset-bottom));
  background: #ffffff;
  border-top: 1px solid rgba(252, 211, 77, 0.55);
  box-shadow: 0 -10px 24px rgba(17, 24, 39, 0.08);
  flex: 0 0 auto;
}

.checkout-clean-badges {
  margin-bottom: 0.42rem;
}

.checkout-clean-total-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.36rem;
}

.checkout-clean-total-label {
  font-size: 0.92rem;
  font-weight: 800;
  color: #6b7280;
}

.checkout-clean-total-value {
  font-size: 1.18rem;
  font-weight: 900;
  color: #92400e;
}

.checkout-clean-buttons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
}

.checkout-clean-cancel,
.checkout-clean-submit {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 0.75rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.checkout-clean-cancel {
  background: #d1d5db;
  color: #1f2937;
}

.checkout-clean-submit {
  background: #fef3c7;
  color: #713f12;
}

.checkout-clean-cancel:hover:not(:disabled) {
  background: #9ca3af !important;
  border-color: transparent !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12) !important;
}

.checkout-clean-submit:hover:not(:disabled) {
  background: #fcd34d !important;
  border-color: transparent !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12) !important;
}

@media (min-width: 768px) {
  #checkoutPopup {
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
  }

  .checkout-clean-card {
    max-height: calc(100dvh - 0.26rem);
  }

  .checkout-clean-logo-row {
    margin-top: -38px;
  }

  .checkout-clean-logo {
    height: 250px;
  }

  .checkout-clean-title {
    margin-top: -2.35rem;
    font-size: 2.3rem;
  }

  .checkout-clean-scroll {
    gap: 0.32rem;
    padding: 0.02rem 1.45rem 0;
  }

  .checkout-clean-footer {
    margin: 0;
    padding: 0.24rem 1.45rem calc(0.98rem + env(safe-area-inset-bottom));
  }

  .checkout-clean-buttons {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .checkout-clean-total-value {
    font-size: 1.24rem;
  }
}

@media (max-width: 767px) {
  #checkoutPopup {
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    overflow-y: auto;
  }

  .checkout-clean-card {
    width: 100%;
    max-height: calc(100dvh - 0.34rem);
    border-radius: 0.95rem;
  }

  .checkout-clean-logo-row {
    margin-top: -24px;
  }

  .checkout-clean-logo {
    height: 224px;
  }

  .checkout-clean-title {
    margin-top: -1.53rem;
    font-size: 1.95rem;
  }

  .checkout-clean-scroll {
    gap: 0.34rem;
    padding: 0.08rem 0.92rem 0;
  }

  .checkout-clean-footer {
    margin: 0;
    padding: 0.24rem 0.92rem calc(0.58rem + env(safe-area-inset-bottom));
  }
}

@media (max-width: 640px) {
  .checkout-clean-card {
    max-height: calc(100dvh - 0.28rem);
    border-radius: 0.9rem;
  }

  .checkout-clean-logo-row {
    margin-top: -26px;
  }

  .checkout-clean-logo {
    height: 205px;
  }

  .checkout-clean-title {
    margin-top: -1.52rem;
    font-size: 1.8rem;
  }

  .checkout-clean-scroll {
    gap: 0.32rem;
    padding: 0.06rem 0.85rem 0;
  }

  .checkout-clean-footer {
    margin: 0;
    padding: 0.22rem 0.85rem calc(0.5rem + env(safe-area-inset-bottom));
  }

  .checkout-clean-total-value {
    font-size: 1.12rem;
  }

  .checkout-clean-buttons {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .checkout-shipping-badge {
    font-size: 0.88rem;
    padding: 0.78rem 0.85rem;
  }
}


.current-page-link {
  background-color: #e3ad08;
  color: #4c2b19 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.10);
}

.page-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: #fff3c7;
  color: #92400e;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-eyebrow-light {
  background: rgba(255, 255, 255, 0.16);
  color: #fff7d6;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.home-feature-pill {
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  background: #ffffff;
  border: 1px solid rgba(245, 158, 11, 0.15);
  box-shadow: 0 10px 24px rgba(120, 53, 15, 0.06);
  font-weight: 700;
  color: #6b4b1f;
  text-align: center;
}

.site-subpage .site-main-header {
  position: relative;
  top: 0;
}

.site-subpage .site-header-row {
  background: rgba(246, 226, 118, 0.92);
}

.subpage-hero {
  position: relative;
  overflow: hidden;
  padding: 7.5rem 0 4rem;
  background:
    radial-gradient(circle at top left, rgba(255, 243, 199, 0.92), transparent 42%),
    linear-gradient(135deg, #4b2e1f 0%, #8a5a1f 52%, #f3d25e 100%);
}

.subpage-hero-product {
  background:
    radial-gradient(circle at top left, rgba(255, 243, 199, 0.45), transparent 42%),
    linear-gradient(135deg, #422819 0%, #765028 45%, #f4d56a 100%);
}

.subpage-hero-why {
  background:
    radial-gradient(circle at top left, rgba(255, 243, 199, 0.35), transparent 42%),
    linear-gradient(135deg, #3e2418 0%, #6b3a1f 45%, #eabf41 100%);
}

.subpage-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 9, 11, 0.14), rgba(9, 9, 11, 0.18));
}

.subpage-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 2rem;
  align-items: center;
}

.subpage-hero-copy {
  color: #fff;
  max-width: 700px;
}

.subpage-hero-title {
  margin: 1rem 0;
  font-size: clamp(2.5rem, 6vw, 4.6rem);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.subpage-hero-text {
  font-size: clamp(1rem, 1.7vw, 1.24rem);
  line-height: 1.65;
  color: rgba(255, 250, 236, 0.95);
  max-width: 58ch;
}

.subpage-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.subpage-cta-primary,
.subpage-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(0,0,0,0.14);
}

.subpage-cta-primary {
  background: #fff3c7;
  color: #713f12;
}

.subpage-cta-secondary {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.26);
}

.subpage-cta-primary:hover {
  background: #fcd34d;
  color: #713f12;
}

.subpage-cta-secondary:hover {
  background: rgba(255,255,255,0.18);
  color: #fff;
}

.card-glow,
.stacked-panels,
.split-feature-panel {
  display: grid;
  gap: 1rem;
}

.subpage-hero-visual {
  align-self: stretch;
}

.subpage-hero-image {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  border-radius: 2rem;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.24);
}

.subpage-section {
  padding: 5.5rem 0;
}

.subpage-section-soft {
  background: linear-gradient(180deg, #fff9e8 0%, #fffdf8 100%);
}

.section-intro {
  max-width: 820px;
  margin: 0 auto 2.25rem;
  text-align: center;
}

.section-intro h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  font-weight: 800;
  color: #1f2937;
  margin: 1rem 0 1rem;
}

.section-intro p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #5b6472;
}

.product-page-grid,
.content-story-grid,
.use-case-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.content-card,
.story-card,
.use-case-card,
.mini-highlight {
  background: #fff;
  border-radius: 1.5rem;
  padding: 1.5rem;
  border: 1px solid rgba(146, 64, 14, 0.1);
  box-shadow: 0 14px 30px rgba(120, 53, 15, 0.08);
}

.content-card h3,
.story-card h3,
.use-case-card h3,
.mini-highlight h3 {
  font-size: 1.15rem;
  color: #1f2937;
  margin-bottom: 0.7rem;
}

.content-card p,
.story-card p,
.use-case-card p,
.mini-highlight p {
  color: #5b6472;
  line-height: 1.75;
}

.ingredient-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.ingredient-card {
  background: #fff;
  border-radius: 1.4rem;
  padding: 1.4rem;
  border: 1px solid rgba(245, 158, 11, 0.14);
  box-shadow: 0 14px 30px rgba(120, 53, 15, 0.06);
  text-align: center;
}

.ingredient-card span,
.use-case-card span {
  display: inline-flex;
  font-size: 2rem;
  margin-bottom: 0.8rem;
}

.ingredient-card strong {
  display: block;
  color: #1f2937;
  margin-bottom: 0.45rem;
  font-size: 1.05rem;
}

.ingredient-card p {
  color: #5b6472;
  line-height: 1.65;
}

.split-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 1.4rem;
  align-items: start;
}

.split-feature-copy h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  margin: 1rem 0 1rem;
  color: #1f2937;
}

.split-feature-copy p {
  color: #5b6472;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.styled-list {
  list-style: none;
  display: grid;
  gap: 0.85rem;
  margin: 1.25rem 0;
  padding: 0;
}

.styled-list li {
  position: relative;
  padding-left: 1.6rem;
  color: #374151;
  line-height: 1.75;
}

.styled-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #d97706;
  font-size: 1.15rem;
  font-weight: 800;
}

.cta-band {
  padding-top: 0;
}

.cta-band-inner {
  background: linear-gradient(135deg, #fff7d6 0%, #fff1b4 100%);
  border: 1px solid rgba(245, 158, 11, 0.18);
  border-radius: 2rem;
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 16px 34px rgba(120, 53, 15, 0.08);
}

.cta-band-inner h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.12;
  color: #1f2937;
  margin-top: 0.85rem;
}

@media (max-width: 1200px) {
  .site-header-row {
    grid-template-columns: 1fr 420px 1fr;
  }

  .site-header-nav,
  .site-header-actions {
    gap: 0.32rem;
  }

  .site-header-link {
    padding: 0.45rem 0.72rem;
  }

  .subpage-hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .subpage-hero-image {
    min-height: 360px;
  }
}

@media (max-width: 1023px) {
  .site-header-row {
    grid-template-columns: 1fr 336px 1fr;
  }

  .site-header-nav a,
  .site-header-actions a,
  .site-header-actions button {
    font-size: 0.82rem;
  }

  .site-header-link {
    padding: 0.34rem 0.38rem;
  }

  .product-page-grid,
  .content-story-grid,
  .use-case-grid,
  .ingredient-grid,
  .split-feature {
    grid-template-columns: 1fr 1fr;
  }

  .cta-band-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 767px) {
  .site-subpage .site-main-header {
    position: absolute;
    top: 40px;
  }

  .subpage-hero {
    padding: 16rem 0 3rem;
  }

  .subpage-hero-actions {
    flex-direction: column;
  }

  .product-page-grid,
  .content-story-grid,
  .use-case-grid,
  .ingredient-grid,
  .split-feature {
    grid-template-columns: 1fr;
  }

  .section-intro,
  .split-feature-copy {
    text-align: left;
  }

  .section-intro {
    margin-bottom: 1.5rem;
  }

  .section-intro p {
    font-size: 1rem;
  }

  .subpage-hero-image {
    min-height: 300px;
  }

  .cta-band-inner {
    padding: 1.4rem;
  }
}

