/**
 * NUCIFERA Commerce Light — shared language with Profile
 * (Favoriler / Sepet / Ödeme / Hesap)
 *
 * White stage · black type · Manrope · hairline borders · no shadow
 */

:root {
  --napp-bg: #ffffff;
  --napp-bg-elev: #ffffff;
  --napp-bg-soft: #f7f7f7;
  --napp-ink: #111111;
  --napp-muted: #666666;
  --napp-line: #e8e8e8;
  --napp-line-strong: #111111;
  --napp-brand: #111111;
  --napp-brand-soft: rgba(17, 17, 17, 0.06);
  --napp-cta: #111111;
  --napp-cta-text: #ffffff;
  --napp-radius: 12px;
  --napp-radius-sm: 8px;
  --napp-shadow: none;
  --napp-font: var(--nucifera-font-body, "Manrope", "Segoe UI", sans-serif);
  --napp-display: var(--nucifera-font-body, "Manrope", "Segoe UI", sans-serif);
}

/* ===== PAGE STAGE ===== */
body.woocommerce-cart,
body.woocommerce-checkout,
body.woocommerce-account,
body.nucifera-account-page,
body.nucifera-profile,
body.nucifera-commerce-light,
.nucifera-wishlist-page,
.nucifera-app {
  background: #ffffff !important;
  color: #111111;
  font-family: var(--napp-font) !important;
}

body.woocommerce-cart .nucifera-main,
body.woocommerce-checkout .nucifera-main,
body.woocommerce-account .nucifera-main,
body.nucifera-commerce-light .nucifera-main,
.nucifera-wishlist-page {
  background: #ffffff !important;
}

body.woocommerce-cart *:not(.ncart__title):not(.ncart-summary__title):not(.ncart-item__name):not(.ncart-promo__title):not(.nucifera-logo),
body.woocommerce-checkout *:not(.nucifera-logo),
body.nucifera-commerce-light *:not(.ncart__title):not(.ncart-summary__title):not(.ncart-item__name):not(.ncart-promo__title):not(.nucifera-logo):not(.ncontact__title):not(.ncontact__form-title):not(.ninfo__title),
.nucifera-wishlist-page *:not(.nucifera-logo),
.nucifera-app.nucifera-commerce *:not(.ncart__title):not(.ncart-summary__title):not(.ncart-item__name):not(.ncart-promo__title):not(.nucifera-logo),
.nucifera-app.nucifera-cart-page *:not(.ncart__title):not(.ncart-summary__title):not(.ncart-item__name):not(.ncart-promo__title):not(.nucifera-logo),
.nucifera-wishlist-page.nucifera-app *:not(.nucifera-logo) {
  font-family: var(--napp-font) !important;
}

body.woocommerce-cart .ncart__title,
body.woocommerce-cart .ncart-summary__title,
body.woocommerce-cart .ncart-item__name,
body.woocommerce-cart .ncart-item__name a,
body.woocommerce-cart .ncart-promo__title {
  font-family: var(--nucifera-premium-display, "Playfair Display", Georgia, serif) !important;
}

/* ===== LIGHT HEADER (match profile) ===== */
body.woocommerce-cart .nucifera-header,
body.woocommerce-checkout .nucifera-header,
body.nucifera-commerce-light .nucifera-header,
body.nucifera-wishlist .nucifera-header {
  background: #ffffff !important;
  color: #111111;
  border-bottom: 1px solid #e8e8e8;
  box-shadow: none;
}

body.woocommerce-cart .nucifera-header__inner,
body.woocommerce-checkout .nucifera-header__inner,
body.nucifera-commerce-light .nucifera-header__inner,
body.nucifera-wishlist .nucifera-header__inner {
  min-height: 4.75rem;
}

body.woocommerce-cart .nucifera-header .nucifera-logo,
body.woocommerce-checkout .nucifera-header .nucifera-logo,
body.nucifera-commerce-light .nucifera-header .nucifera-logo,
body.nucifera-wishlist .nucifera-header .nucifera-logo,
body.woocommerce-account .nucifera-header .nucifera-logo,
body.woocommerce-cart .nucifera-header__brand,
body.woocommerce-checkout .nucifera-header__brand,
body.nucifera-commerce-light .nucifera-header__brand,
body.nucifera-wishlist .nucifera-header__brand,
body.woocommerce-account .nucifera-header__brand {
  color: #111111 !important;
  font-family: var(--nucifera-font-display), "Playfair Display", Georgia, serif !important;
  font-weight: 500 !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
}

/* Footer wordmark: same display face, always readable on black */
body.woocommerce-cart .nucifera-footer .nucifera-logo,
body.woocommerce-checkout .nucifera-footer .nucifera-logo,
body.woocommerce-account .nucifera-footer .nucifera-logo,
body.nucifera-commerce-light .nucifera-footer .nucifera-logo,
body.nucifera-wishlist .nucifera-footer .nucifera-logo,
body.woocommerce-cart .nucifera-logo--footer,
body.woocommerce-checkout .nucifera-logo--footer,
body.woocommerce-account .nucifera-logo--footer,
body.nucifera-commerce-light .nucifera-logo--footer,
body.nucifera-wishlist .nucifera-logo--footer {
  font-family: var(--nucifera-font-display), "Playfair Display", Georgia, serif !important;
  color: #f3eee4 !important;
  opacity: 1 !important;
}

body.woocommerce-cart .nucifera-nav a,
body.woocommerce-checkout .nucifera-nav a,
body.nucifera-commerce-light .nucifera-nav a,
body.nucifera-wishlist .nucifera-nav a {
  color: #111111 !important;
  border-bottom-color: transparent;
}

body.woocommerce-cart .nucifera-nav a:hover,
body.woocommerce-checkout .nucifera-nav a:hover,
body.nucifera-commerce-light .nucifera-nav a:hover,
body.nucifera-wishlist .nucifera-nav a:hover,
body.woocommerce-cart .nucifera-nav .current-menu-item > a,
body.woocommerce-checkout .nucifera-nav .current-menu-item > a,
body.nucifera-commerce-light .nucifera-nav .current-menu-item > a,
body.nucifera-wishlist .nucifera-nav .current-menu-item > a {
  color: #111111 !important;
  border-bottom-color: #111111;
}

body.woocommerce-cart .nucifera-icon-btn,
body.woocommerce-checkout .nucifera-icon-btn,
body.nucifera-commerce-light .nucifera-icon-btn,
body.nucifera-wishlist .nucifera-icon-btn {
  color: #111111 !important;
}

body.woocommerce-cart .nucifera-cart-count,
body.woocommerce-checkout .nucifera-cart-count,
body.nucifera-commerce-light .nucifera-cart-count,
body.nucifera-wishlist .nucifera-cart-count {
  background: #111111;
  color: #ffffff;
  min-width: 1.05rem;
  height: 1.05rem;
  font-size: 0.62rem;
  font-weight: 700;
}

body.woocommerce-cart .nucifera-search-panel,
body.woocommerce-checkout .nucifera-search-panel,
body.nucifera-commerce-light .nucifera-search-panel,
body.nucifera-wishlist .nucifera-search-panel {
  background: #ffffff;
  border-top: 1px solid #e8e8e8;
  color: #111111;
}

body.woocommerce-cart .nucifera-bottom-nav,
body.woocommerce-checkout .nucifera-bottom-nav,
body.nucifera-commerce-light .nucifera-bottom-nav,
body.nucifera-wishlist .nucifera-bottom-nav {
  border-top: 0 !important;
}

/* ===== SHARED SHELL ===== */
.ncom-shell,
.nucifera-app__shell {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 48px 56px;
}

.nucifera-app,
.nucifera-paper-page.nucifera-commerce {
  background: #ffffff !important;
  color: #111111;
  padding-block: 0;
}

.nucifera-app__title,
.nucifera-app__title--sm,
.napp-empty__title,
.napp-thanks__title,
.napp-checkout-section > h2,
.nucifera-app #order_review_heading,
.nucifera-app .nucifera-checkout h3,
.nucifera-cart-page .nucifera-cart-totals h2,
.nucifera-cart-page .nucifera-cart-totals__title {
  font-family: var(--napp-font) !important;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #111111;
}

.nucifera-app__lede,
.napp-empty__text,
.nucifera-app__meta {
  color: #666666 !important;
  font-family: var(--napp-font) !important;
}

.nucifera-app__eyebrow {
  color: #666666 !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.68rem;
  font-weight: 650;
}

/* ===== BUTTONS ===== */
.napp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.85rem;
  padding: 14px 22px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-family: var(--napp-font) !important;
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
  box-shadow: none !important;
}

.napp-btn--primary {
  background: #111111 !important;
  color: #ffffff !important;
  border-color: #111111;
}

.napp-btn--primary:hover {
  background: #2a2a2a !important;
  color: #ffffff !important;
}

.napp-btn--ghost {
  background: transparent !important;
  border-color: #e8e8e8 !important;
  color: #111111 !important;
}

.napp-btn--ghost:hover {
  border-color: #111111 !important;
}

.napp-btn--soft {
  background: #f7f7f7 !important;
  color: #111111 !important;
  border-color: transparent;
}

/* ===== FIELDS ===== */
.napp-input,
.nucifera-app .woocommerce input.input-text,
.nucifera-app .woocommerce select,
.nucifera-app .woocommerce textarea,
.nucifera-checkout input.input-text,
.nucifera-checkout select,
.nucifera-checkout textarea,
.nucifera-cart__coupon .input-text {
  border: 1px solid #e8e8e8 !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  color: #111111 !important;
  box-shadow: none !important;
  font-family: var(--napp-font) !important;
}

.napp-input:focus,
.nucifera-app .woocommerce input.input-text:focus,
.nucifera-checkout input.input-text:focus,
.nucifera-checkout select:focus {
  border-color: #111111 !important;
  box-shadow: none !important;
  outline: none;
}

/* ===== CARDS / PANELS — border only, no shadow ===== */
.napp-cart-panel,
.nucifera-cart-page .nucifera-cart__main,
.nucifera-cart-page .nucifera-cart-totals,
.napp-checkout-card,
.nucifera-app .nucifera-checkout__main,
.nucifera-app .nucifera-checkout__review,
.nucifera-wishlist-page .nucifera-product-card,
.napp-account-panel,
.napp-account-nav {
  background: #ffffff !important;
  border: 1px solid #e8e8e8 !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}

.nucifera-wishlist-page .nucifera-product-card:hover {
  border-color: #111111 !important;
  transform: translateY(-2px);
  box-shadow: none !important;
}

/* ===== WISHLIST ===== */
.nucifera-wishlist-page .nucifera-wishlist-archive {
  padding: 0 0 4rem;
}

.napp-wishlist-head {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e8e8e8;
}

.napp-wishlist-actions .napp-btn {
  min-height: 2.75rem;
  padding: 0.7rem 1.15rem;
  border-radius: 0;
}

.napp-wishlist-actions .napp-btn[hidden] {
  display: none !important;
}

.napp-empty {
  padding: 3rem 0;
}

.nucifera-wishlist-page .napp-empty,
.nucifera-wishlist__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: none;
  width: 100%;
  margin: 0 auto;
  padding: 4.5rem 1rem 5rem;
}

.nucifera-wishlist-page .napp-empty__text {
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

/* ===== CART (legacy hooks; primary styles in cart-page.css) ===== */
.napp-trust:not(.napp-trust--icons) li {
  color: #666666;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.nucifera-app .nucifera-checkout__review,
.nucifera-app .nucifera-checkout__aside #order_review {
  border-radius: 0 !important;
}

/* ===== NOTICES (cart + checkout) ===== */
/* Page-level notices: same gutter as ncom-shell when outside shell */
body.woocommerce-cart .woocommerce-notices-wrapper,
body.woocommerce-checkout .woocommerce-notices-wrapper {
  width: min(1440px, 100%);
  margin-left: auto;
  margin-right: auto;
  padding-left: 56px;
  padding-right: 56px;
  box-sizing: border-box;
}

/* Inside checkout shell: no extra outer padding — inherit title alignment */
.ncom-shell .woocommerce-form-coupon-toggle,
.ncom-shell form.checkout_coupon,
.ncom-shell .woocommerce-notices-wrapper,
.ncom-shell .woocommerce-NoticeGroup,
.ncom-shell .woocommerce-NoticeGroup-checkout,
.ncom-shell .woocommerce-info,
.ncom-shell .woocommerce-message,
.ncom-shell .woocommerce-error {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0.95rem !important;
  padding-right: 0.95rem !important;
  box-sizing: border-box;
}

.ncom-shell .woocommerce-form-coupon-toggle {
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin: 0 0 1.25rem !important;
}

.ncom-shell .woocommerce-form-coupon-toggle .woocommerce-info {
  margin: 0 !important;
}

body.woocommerce-cart .woocommerce-message,
body.woocommerce-checkout .woocommerce-message,
body.woocommerce-cart .woocommerce-info,
body.woocommerce-checkout .woocommerce-info,
body.woocommerce-cart .woocommerce-error,
body.woocommerce-checkout .woocommerce-error,
body.woocommerce-cart ul.woocommerce-error,
body.woocommerce-checkout ul.woocommerce-error,
.nucifera-checkout .woocommerce-info,
.nucifera-checkout .woocommerce-error,
.nucifera-checkout .woocommerce-message,
.nucifera-checkout__review .woocommerce-info,
.nucifera-checkout__aside .woocommerce-info {
  width: 100% !important;
  max-width: 100% !important;
  background: #f7f7f7 !important;
  color: #111111 !important;
  border: 1px solid #e8e8e8 !important;
  border-top-color: #e8e8e8 !important;
  border-left-color: #e8e8e8 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  padding: 0.95rem 1.15rem !important;
  margin: 0.85rem 0 !important;
  font-family: var(--napp-font) !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  line-height: 1.5;
  list-style: none !important;
  box-sizing: border-box;
}

/* Nested payment alert stays inside summary card */
.nucifera-checkout__review .woocommerce-info,
.nucifera-checkout__aside .woocommerce-info,
#order_review .woocommerce-info,
.nucifera-checkout .payment_box .woocommerce-info {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0.95rem !important;
  padding-right: 0.95rem !important;
}

@media (max-width: 1100px) {
  body.woocommerce-cart .woocommerce-notices-wrapper,
  body.woocommerce-checkout .woocommerce-notices-wrapper {
    padding-left: 28px;
    padding-right: 28px;
  }
}

@media (max-width: 899px) {
  body.woocommerce-cart .woocommerce-notices-wrapper,
  body.woocommerce-checkout .woocommerce-notices-wrapper {
    padding-left: 20px;
    padding-right: 20px;
  }
}

body.woocommerce-cart .woocommerce-message::before,
body.woocommerce-checkout .woocommerce-message::before,
body.woocommerce-cart .woocommerce-info::before,
body.woocommerce-checkout .woocommerce-info::before,
body.woocommerce-cart .woocommerce-error::before,
body.woocommerce-checkout .woocommerce-error::before {
  display: none !important;
  content: none !important;
}

body.woocommerce-checkout .woocommerce-privacy-policy-text,
.nucifera-checkout .woocommerce-privacy-policy-text,
.nucifera-checkout .woocommerce-terms-and-conditions-wrapper {
  font-family: var(--napp-font) !important;
  font-size: 0.82rem;
  line-height: 1.5;
  color: #666666;
  margin: 0.85rem 0 1rem;
}

body.woocommerce-checkout .woocommerce-privacy-policy-text a,
.nucifera-checkout .woocommerce-privacy-policy-text a {
  color: #111111 !important;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Checkout validation */
body.woocommerce-checkout .form-row.woocommerce-invalid .input-text,
body.woocommerce-checkout .form-row.woocommerce-invalid select,
body.woocommerce-checkout .form-row.woocommerce-invalid .select2-selection,
body.woocommerce-checkout .form-row.woocommerce-invalid-required-field .input-text,
body.woocommerce-checkout .form-row.woocommerce-invalid-required-field select {
  border-color: #111111 !important;
  box-shadow: inset 0 0 0 1px #111111 !important;
  background: #fffdfb !important;
}

body.woocommerce-checkout .form-row .required {
  color: #111111 !important;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none !important;
  border: 0 !important;
}

body.woocommerce-checkout .form-row label .optional {
  display: none;
}

body.woocommerce-checkout .nucifera-notes-count {
  display: block;
  margin-top: 0.35rem;
  font-family: "Manrope", sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #888888;
  text-align: right;
}

body.woocommerce-checkout .nucifera-notes-count.is-limit {
  color: #111111;
  font-weight: 650;
}

/* ===== AUTH / LOGIN ===== */
body.woocommerce-account .nucifera-auth {
  padding-top: clamp(1.5rem, 3.5vw, 2.5rem) !important;
  padding-bottom: clamp(2.75rem, 7vw, 4.75rem) !important;
}

@media (max-width: 899px) {
  /* Avoid double bottom pad (paper-page + auth) → huge gap above footer */
  body.woocommerce-account .nucifera-paper-page.nucifera-commerce:has(.nucifera-auth) {
    padding-bottom: 0 !important;
  }

  body.woocommerce-account .nucifera-auth {
    padding-top: clamp(1.35rem, 4vw, 2rem) !important;
    padding-bottom: 1.25rem !important;
  }
}

body.woocommerce-account .nucifera-auth--narrow {
  max-width: 400px;
  margin-inline: auto;
}

@media (max-width: 520px) {
  body.woocommerce-account .nucifera-auth--narrow,
  body.woocommerce-account .nucifera-auth__grid:not(.has-register) {
    max-width: none;
    width: 100%;
  }

  body.woocommerce-account .nucifera-auth__panel {
    padding: 1.25rem 1rem !important;
  }
}

body.woocommerce-account .nucifera-auth--narrow .nucifera-commerce__header {
  text-align: center;
  margin-bottom: 1.5rem;
}

body.woocommerce-account .nucifera-auth--narrow .nucifera-commerce__rule {
  margin-inline: auto;
}

body.woocommerce-account .nucifera-auth__grid:not(.has-register) {
  max-width: 400px;
  margin-inline: auto;
}

body.woocommerce-account .nucifera-auth__grid.has-register {
  max-width: 820px;
  margin-inline: auto;
}

body.woocommerce-account .nucifera-auth__panel {
  border: 1px solid #e8e8e8 !important;
  border-radius: 0 !important;
  padding: 1.5rem 1.35rem !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

body.woocommerce-account .nucifera-auth__title {
  font-family: "Manrope", sans-serif !important;
  font-size: 1.35rem !important;
  font-weight: 650 !important;
  letter-spacing: -0.02em;
  color: #111111 !important;
}

body.woocommerce-account .nucifera-auth label {
  font-family: "Manrope", sans-serif !important;
  font-size: 0.68rem !important;
  font-weight: 650 !important;
  letter-spacing: 0.1em;
  color: #666666 !important;
}

body.woocommerce-account .nucifera-auth .nucifera-input {
  border: 1px solid #e0e0e0 !important;
  border-radius: 0 !important;
  min-height: 2.75rem;
  background: #ffffff !important;
}

body.woocommerce-account .nucifera-auth .nucifera-input:focus {
  border-color: #111111 !important;
  outline: none !important;
  box-shadow: inset 0 0 0 1px #111111 !important;
}

/* WooCommerce password visibility toggle */
body.woocommerce-account .nucifera-auth .password-input {
  display: block;
  position: relative;
  width: 100%;
}

body.woocommerce-account .nucifera-auth .password-input .nucifera-input {
  padding-right: 2.75rem !important;
}

body.woocommerce-account .nucifera-auth .password-input .show-password-input {
  position: absolute;
  top: 50%;
  right: 0.55rem;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  margin: 0;
  padding: 0;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  cursor: pointer;
  color: #666666;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.woocommerce-account .nucifera-auth .password-input .show-password-input::before {
  content: "";
  width: 1.1rem;
  height: 1.1rem;
  display: block;
  background: center / contain no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23666666' stroke-width='1.6' viewBox='0 0 24 24'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
}

body.woocommerce-account .nucifera-auth .password-input .show-password-input.display-password::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23111111' stroke-width='1.6' viewBox='0 0 24 24'%3E%3Cpath d='M3 3l18 18M10.6 10.6A3 3 0 0012 15a3 3 0 002.4-1.2M9.9 5.1A10.7 10.7 0 0112 5c6.5 0 10 7 10 7a18.4 18.4 0 01-4.2 4.7M6.1 6.1A18.5 18.5 0 002 12s3.5 7 10 7a10.5 10.5 0 003.6-.6'/%3E%3C/svg%3E");
}

body.woocommerce-account .nucifera-auth__remember .woocommerce-form__label-for-checkbox {
  text-transform: none !important;
  letter-spacing: 0.02em !important;
  font-size: 0.8rem !important;
  font-weight: 500 !important;
  color: #666666 !important;
}

body.woocommerce-account .nucifera-auth .nucifera-btn--dark,
body.woocommerce-account .nucifera-auth .nucifera-btn--primary {
  border-radius: 8px !important;
  min-height: 2.85rem;
  font-family: "Manrope", sans-serif !important;
  letter-spacing: 0.1em;
}

body.woocommerce-account .nucifera-auth .lost_password {
  margin: 0;
}

body.woocommerce-account .nucifera-auth .lost_password a {
  color: #666666 !important;
  font-size: 0.8rem;
  text-decoration: none;
}

body.woocommerce-account .nucifera-auth .lost_password a:hover {
  color: #111111 !important;
  text-decoration: underline;
}

body.woocommerce-account .nucifera-auth .nucifera-field-hint {
  color: #111111;
}

/* ===== CHECKOUT ===== */
.napp-checkout-head {
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #e8e8e8;
}

.napp-progress__bar {
  height: 2px;
  border-radius: 0;
  background: #e8e8e8;
}

.napp-progress__step.is-active .napp-progress__bar,
.napp-progress__step.is-done .napp-progress__bar {
  background: #111111;
}

.napp-progress__label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #666666;
  letter-spacing: 0.04em;
}

.napp-progress__step.is-active .napp-progress__label {
  color: #111111;
}

.nucifera-app .nucifera-checkout__main,
.nucifera-app .nucifera-checkout__review {
  padding: 28px;
}

.nucifera-app .wc_payment_method {
  background: #fafafa !important;
  border: 1px solid #e8e8e8 !important;
  border-radius: 10px !important;
}

.nucifera-app .nucifera-checkout #place_order,
.nucifera-app #place_order {
  background: #111111 !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  font-family: var(--napp-font) !important;
  font-weight: 650;
}

/* ===== THANK YOU / ORDER RECEIVED ===== */
.nucifera-order-received .ncom-shell {
  max-width: 1080px;
}

.napp-thanks {
  max-width: 40rem;
  margin: 0 auto 2rem;
  text-align: center;
  padding: 0.5rem 0 0;
}

.napp-thanks__icon {
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 auto 1rem;
  display: grid;
  place-items: center;
  background: #f5f5f5 !important;
  color: #111111 !important;
  border: 1px solid #e8e8e8;
  border-radius: 999px;
}

.napp-thanks__eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #666666;
}

.napp-thanks__title {
  margin: 0;
  font-family: var(--napp-font) !important;
  font-size: clamp(1.65rem, 3.5vw, 2.15rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #111111;
}

.napp-thanks__lede,
.napp-thanks__order {
  margin: 0.7rem auto 0;
  max-width: 32rem;
  color: #666666 !important;
  font-size: 0.95rem;
  line-height: 1.55;
}

.napp-thanks__steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.35rem;
  margin: 1.6rem auto 1.5rem;
  padding: 0;
  max-width: 28rem;
}

.napp-thanks__steps li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  color: #999999;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.napp-thanks__steps li::before {
  content: "";
  width: 100%;
  height: 2px;
  background: #e8e8e8;
  border-radius: 99px;
}

.napp-thanks__steps li.is-done {
  color: #111111;
}

.napp-thanks__steps li.is-done::before {
  background: #111111;
}

.napp-thanks__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}

/* Receipt card */
.napp-receipt {
  margin: 0 auto;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  background: #ffffff;
  overflow: hidden;
}

.napp-receipt__head {
  padding: 1.35rem 1.5rem 1.15rem;
  border-bottom: 1px solid #e8e8e8;
  background: #fafafa;
}

.napp-receipt__head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.napp-receipt__title {
  margin: 0;
  font-family: var(--napp-font) !important;
  font-size: 1.1rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: #111111;
}

.napp-receipt__status {
  display: inline-flex;
  align-items: center;
  min-height: 1.7rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: #f0f0f0;
  color: #111111;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.napp-receipt__status--processing,
.napp-receipt__status--on-hold {
  background: #111111;
  color: #ffffff;
}

.napp-receipt__status--shipped {
  background: #dbeafe;
  color: #1e3a8a;
}

.napp-receipt__status--completed {
  background: #eaf6ef;
  color: #14532d;
}

.napp-receipt__status--cancelled,
.napp-receipt__status--failed,
.napp-receipt__status--refunded {
  background: #f5f5f5;
  color: #666666;
}

.napp-receipt__back {
  width: 100%;
  margin-top: 0.15rem;
}

.napp-receipt__note {
  margin: 0.45rem 0 0;
  color: #666666;
  font-size: 0.88rem;
  line-height: 1.45;
}

.napp-receipt__meta {
  list-style: none;
  margin: 0;
  padding: 1.15rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  border-bottom: 1px solid #e8e8e8;
}

.napp-receipt__meta li {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  min-width: 0;
}

.napp-receipt__meta span {
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888888;
}

.napp-receipt__meta strong {
  font-size: 0.92rem;
  font-weight: 650;
  color: #111111;
  word-break: break-word;
}

.napp-receipt__body {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(16rem, 0.85fr);
  gap: 0;
}

.napp-receipt__items {
  padding: 1.35rem 1.5rem 1.5rem;
  border-right: 1px solid #e8e8e8;
}

.napp-receipt__aside {
  padding: 1.35rem 1.25rem 1.5rem;
  background: #fafafa;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.napp-receipt__section-title {
  margin: 0 0 0.85rem;
  font-family: var(--napp-font) !important;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #666666;
}

.napp-receipt__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.napp-receipt__row {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr) auto;
  gap: 0.85rem;
  align-items: center;
}

.napp-receipt__thumb {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 8px;
  overflow: hidden;
  background: #f0f0f0;
  border: 1px solid #e8e8e8;
}

.napp-receipt__thumb img,
.napp-receipt__thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.napp-receipt__thumb-fallback {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f0f0f0, #e4e4e4);
}

.napp-receipt__item-name {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 650;
  color: #111111;
  line-height: 1.3;
}

.napp-receipt__item-meta {
  margin: 0.2rem 0 0;
  font-size: 0.8rem;
  color: #888888;
}

.napp-receipt__item-price {
  font-size: 0.92rem;
  font-weight: 650;
  color: #111111;
  white-space: nowrap;
}

.napp-receipt__totals {
  margin: 1.25rem 0 0;
  padding: 1rem 0 0;
  border-top: 1px solid #e8e8e8;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.napp-receipt__totals > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
  color: #555555;
}

.napp-receipt__totals dt,
.napp-receipt__totals dd {
  margin: 0;
}

.napp-receipt__totals-grand {
  margin-top: 0.35rem;
  padding-top: 0.7rem;
  border-top: 1px solid #e8e8e8;
  color: #111111 !important;
  font-size: 1.05rem !important;
  font-weight: 700;
}

.napp-receipt__card {
  padding: 1rem 1.05rem;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  background: #ffffff;
}

.napp-receipt__card--soft {
  background: #ffffff;
}

.napp-receipt__card .napp-receipt__section-title {
  margin-bottom: 0.55rem;
}

.napp-receipt__address {
  margin: 0;
  font-style: normal;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #333333;
}

.napp-receipt__pay {
  margin: 0;
  font-size: 0.95rem;
  color: #111111;
}

.napp-receipt__pay-hint {
  margin: 0.4rem 0 0;
  font-size: 0.82rem;
  color: #666666;
  line-height: 1.45;
}

/* Hide default WC leftover blocks on thank-you if a plugin re-injects them */
.nucifera-order-received .woocommerce-order-details,
.nucifera-order-received .woocommerce-customer-details,
.nucifera-order-received .woocommerce-thankyou-order-details,
.nucifera-order-received .woocommerce-notice--success {
  display: none !important;
}

@media (max-width: 899px) {
  .napp-receipt__meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .napp-receipt__body {
    grid-template-columns: 1fr;
  }

  .napp-receipt__items {
    border-right: 0;
    border-bottom: 1px solid #e8e8e8;
  }
}

@media (max-width: 767px) {
  .napp-thanks__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem 0.5rem;
  }
}

@media (max-width: 520px) {
  .napp-thanks__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem 0.5rem;
  }

  .napp-receipt__meta {
    grid-template-columns: 1fr;
  }

  .napp-thanks__actions {
    flex-direction: column;
  }

  .napp-thanks__actions .napp-btn {
    width: 100%;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .ncom-shell,
  .nucifera-app__shell {
    padding: 36px 28px;
  }
}

@media (max-width: 899px) {
  .ncom-shell,
  .nucifera-app__shell {
    padding: 20px;
  }

  .nucifera-wishlist-page,
  .nucifera-cart-page.nucifera-app,
  .nucifera-paper-page.nucifera-commerce {
    padding-bottom: 3rem;
  }
}

@media (max-width: 767px) {
  .nucifera-wishlist-page,
  .nucifera-cart-page.nucifera-app,
  .nucifera-paper-page.nucifera-commerce {
    padding-bottom: calc(3rem + env(safe-area-inset-bottom, 0px) + var(--nucifera-bottom-nav-h, 4.5rem));
  }
}

/* Beat main.css mobile cream/dark header rules (≤767px) */
@media (max-width: 767px) {
  body.woocommerce-cart,
  body.woocommerce-checkout,
  body.woocommerce-account,
  body.nucifera-commerce-light,
  body.nucifera-wishlist,
  body.nucifera-profile,
  body.woocommerce-cart .nucifera-main,
  body.woocommerce-checkout .nucifera-main,
  body.woocommerce-account .nucifera-main,
  body.nucifera-commerce-light .nucifera-main,
  body.nucifera-wishlist .nucifera-main,
  body.nucifera-profile .nucifera-main,
  body.woocommerce-cart .nucifera-paper-page,
  body.woocommerce-checkout .nucifera-paper-page,
  body.woocommerce-cart .nucifera-app,
  body.woocommerce-checkout .nucifera-app,
  body.nucifera-wishlist .nucifera-wishlist-page,
  body.nucifera-wishlist .nucifera-shop {
    background: #ffffff !important;
    color: #111111 !important;
  }

  body.woocommerce-cart .nucifera-header,
  body.woocommerce-checkout .nucifera-header,
  body.woocommerce-account .nucifera-header,
  body.nucifera-commerce-light .nucifera-header,
  body.nucifera-wishlist .nucifera-header,
  body.nucifera-profile .nucifera-header,
  body:not(.home):not(.single-product):not(.woocommerce-shop):not(.post-type-archive-product):not(.tax-product_cat):not(.tax-product_tag):not(.tax-product_collection):not(.nucifera-catalog).woocommerce-cart .nucifera-header,
  body:not(.home):not(.single-product):not(.woocommerce-shop):not(.post-type-archive-product):not(.tax-product_cat):not(.tax-product_tag):not(.tax-product_collection):not(.nucifera-catalog).woocommerce-checkout .nucifera-header,
  body:not(.home):not(.single-product):not(.woocommerce-shop):not(.post-type-archive-product):not(.tax-product_cat):not(.tax-product_tag):not(.tax-product_collection):not(.nucifera-catalog).woocommerce-account .nucifera-header,
  body:not(.home):not(.single-product):not(.woocommerce-shop):not(.post-type-archive-product):not(.tax-product_cat):not(.tax-product_tag):not(.tax-product_collection):not(.nucifera-catalog).nucifera-commerce-light .nucifera-header,
  body:not(.home):not(.single-product):not(.woocommerce-shop):not(.post-type-archive-product):not(.tax-product_cat):not(.tax-product_tag):not(.tax-product_collection):not(.nucifera-catalog).nucifera-wishlist .nucifera-header {
    background: #ffffff !important;
    color: #111111 !important;
    border-bottom: 1px solid #e8e8e8 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
  }

  body.woocommerce-cart .nucifera-header .nucifera-logo,
  body.woocommerce-checkout .nucifera-header .nucifera-logo,
  body.woocommerce-account .nucifera-header .nucifera-logo,
  body.nucifera-commerce-light .nucifera-header .nucifera-logo,
  body.nucifera-wishlist .nucifera-header .nucifera-logo,
  body.woocommerce-cart .nucifera-header .nucifera-icon-btn,
  body.woocommerce-checkout .nucifera-header .nucifera-icon-btn,
  body.woocommerce-account .nucifera-header .nucifera-icon-btn,
  body.nucifera-commerce-light .nucifera-header .nucifera-icon-btn,
  body.nucifera-wishlist .nucifera-header .nucifera-icon-btn {
    color: #111111 !important;
  }

  body.woocommerce-cart .nucifera-footer .nucifera-logo,
  body.woocommerce-checkout .nucifera-footer .nucifera-logo,
  body.woocommerce-account .nucifera-footer .nucifera-logo,
  body.nucifera-commerce-light .nucifera-footer .nucifera-logo,
  body.nucifera-wishlist .nucifera-footer .nucifera-logo {
    color: #f3eee4 !important;
  }
}
